]> git.saurik.com Git - wxWidgets.git/blob - configure
(Blind) compilation fix for Sun compiler.
[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.1.
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.1'
273 PACKAGE_STRING='wxWindows 2.5.1'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 ac_subdirs_all="$ac_subdirs_all src/expat"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
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.1 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.1:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
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-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035 Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-opengl use OpenGL (or Mesa)
1052 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1053 --with-regex enable support for wxRegEx class
1054 --with-zlib use zlib for LZW compression
1055 --with-odbc use the IODBC and wxODBC classes
1056 --with-expat enable XML support using expat parser
1057 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1058 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1059 --with-x use the X Window System
1060 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1061
1062 Some influential environment variables:
1063 CC C compiler command
1064 CFLAGS C compiler flags
1065 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1066 nonstandard directory <lib dir>
1067 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1068 headers in a nonstandard directory <include dir>
1069 CPP C preprocessor
1070 CXX C++ compiler command
1071 CXXFLAGS C++ compiler flags
1072 CXXCPP C++ preprocessor
1073
1074 Use these variables to override the choices made by `configure' or to help
1075 it to find libraries and programs with nonstandard names/locations.
1076
1077 Report bugs to <wx-dev@lists.wxwindows.org>.
1078 _ACEOF
1079 fi
1080
1081 if test "$ac_init_help" = "recursive"; then
1082 # If there are subdirs, report their specific --help.
1083 ac_popdir=`pwd`
1084 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1085 test -d $ac_dir || continue
1086 ac_builddir=.
1087
1088 if test "$ac_dir" != .; then
1089 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1090 # A "../" for each directory in $ac_dir_suffix.
1091 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1092 else
1093 ac_dir_suffix= ac_top_builddir=
1094 fi
1095
1096 case $srcdir in
1097 .) # No --srcdir option. We are building in place.
1098 ac_srcdir=.
1099 if test -z "$ac_top_builddir"; then
1100 ac_top_srcdir=.
1101 else
1102 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1103 fi ;;
1104 [\\/]* | ?:[\\/]* ) # Absolute path.
1105 ac_srcdir=$srcdir$ac_dir_suffix;
1106 ac_top_srcdir=$srcdir ;;
1107 *) # Relative path.
1108 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1109 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110 esac
1111 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1112 # absolute.
1113 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1114 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1115 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1116 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1117
1118 cd $ac_dir
1119 # Check for guested configure; otherwise get Cygnus style configure.
1120 if test -f $ac_srcdir/configure.gnu; then
1121 echo
1122 $SHELL $ac_srcdir/configure.gnu --help=recursive
1123 elif test -f $ac_srcdir/configure; then
1124 echo
1125 $SHELL $ac_srcdir/configure --help=recursive
1126 elif test -f $ac_srcdir/configure.ac ||
1127 test -f $ac_srcdir/configure.in; then
1128 echo
1129 $ac_configure --help
1130 else
1131 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 fi
1133 cd $ac_popdir
1134 done
1135 fi
1136
1137 test -n "$ac_init_help" && exit 0
1138 if $ac_init_version; then
1139 cat <<\_ACEOF
1140 wxWindows configure 2.5.1
1141 generated by GNU Autoconf 2.57
1142
1143 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1144 Free Software Foundation, Inc.
1145 This configure script is free software; the Free Software Foundation
1146 gives unlimited permission to copy, distribute and modify it.
1147 _ACEOF
1148 exit 0
1149 fi
1150 exec 5>config.log
1151 cat >&5 <<_ACEOF
1152 This file contains any messages produced by compilers while
1153 running configure, to aid debugging if configure makes a mistake.
1154
1155 It was created by wxWindows $as_me 2.5.1, which was
1156 generated by GNU Autoconf 2.57. Invocation command line was
1157
1158 $ $0 $@
1159
1160 _ACEOF
1161 {
1162 cat <<_ASUNAME
1163 ## --------- ##
1164 ## Platform. ##
1165 ## --------- ##
1166
1167 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1168 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1169 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1170 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1171 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1172
1173 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1174 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1175
1176 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1177 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1178 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1179 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1180 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1181 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1182 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1183
1184 _ASUNAME
1185
1186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1187 for as_dir in $PATH
1188 do
1189 IFS=$as_save_IFS
1190 test -z "$as_dir" && as_dir=.
1191 echo "PATH: $as_dir"
1192 done
1193
1194 } >&5
1195
1196 cat >&5 <<_ACEOF
1197
1198
1199 ## ----------- ##
1200 ## Core tests. ##
1201 ## ----------- ##
1202
1203 _ACEOF
1204
1205
1206 # Keep a trace of the command line.
1207 # Strip out --no-create and --no-recursion so they do not pile up.
1208 # Strip out --silent because we don't want to record it for future runs.
1209 # Also quote any args containing shell meta-characters.
1210 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_configure_args=
1212 ac_configure_args0=
1213 ac_configure_args1=
1214 ac_sep=
1215 ac_must_keep_next=false
1216 for ac_pass in 1 2
1217 do
1218 for ac_arg
1219 do
1220 case $ac_arg in
1221 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1224 continue ;;
1225 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1226 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1227 esac
1228 case $ac_pass in
1229 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1230 2)
1231 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1232 if test $ac_must_keep_next = true; then
1233 ac_must_keep_next=false # Got value, back to normal.
1234 else
1235 case $ac_arg in
1236 *=* | --config-cache | -C | -disable-* | --disable-* \
1237 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1238 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1239 | -with-* | --with-* | -without-* | --without-* | --x)
1240 case "$ac_configure_args0 " in
1241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1242 esac
1243 ;;
1244 -* ) ac_must_keep_next=true ;;
1245 esac
1246 fi
1247 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1248 # Get rid of the leading space.
1249 ac_sep=" "
1250 ;;
1251 esac
1252 done
1253 done
1254 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1255 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1256
1257 # When interrupted or exit'd, cleanup temporary files, and complete
1258 # config.log. We remove comments because anyway the quotes in there
1259 # would cause problems or look ugly.
1260 # WARNING: Be sure not to use single quotes in there, as some shells,
1261 # such as our DU 5.0 friend, will then `close' the trap.
1262 trap 'exit_status=$?
1263 # Save into config.log some information that might help in debugging.
1264 {
1265 echo
1266
1267 cat <<\_ASBOX
1268 ## ---------------- ##
1269 ## Cache variables. ##
1270 ## ---------------- ##
1271 _ASBOX
1272 echo
1273 # The following way of writing the cache mishandles newlines in values,
1274 {
1275 (set) 2>&1 |
1276 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1277 *ac_space=\ *)
1278 sed -n \
1279 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1280 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1281 ;;
1282 *)
1283 sed -n \
1284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ;;
1286 esac;
1287 }
1288 echo
1289
1290 cat <<\_ASBOX
1291 ## ----------------- ##
1292 ## Output variables. ##
1293 ## ----------------- ##
1294 _ASBOX
1295 echo
1296 for ac_var in $ac_subst_vars
1297 do
1298 eval ac_val=$`echo $ac_var`
1299 echo "$ac_var='"'"'$ac_val'"'"'"
1300 done | sort
1301 echo
1302
1303 if test -n "$ac_subst_files"; then
1304 cat <<\_ASBOX
1305 ## ------------- ##
1306 ## Output files. ##
1307 ## ------------- ##
1308 _ASBOX
1309 echo
1310 for ac_var in $ac_subst_files
1311 do
1312 eval ac_val=$`echo $ac_var`
1313 echo "$ac_var='"'"'$ac_val'"'"'"
1314 done | sort
1315 echo
1316 fi
1317
1318 if test -s confdefs.h; then
1319 cat <<\_ASBOX
1320 ## ----------- ##
1321 ## confdefs.h. ##
1322 ## ----------- ##
1323 _ASBOX
1324 echo
1325 sed "/^$/d" confdefs.h | sort
1326 echo
1327 fi
1328 test "$ac_signal" != 0 &&
1329 echo "$as_me: caught signal $ac_signal"
1330 echo "$as_me: exit $exit_status"
1331 } >&5
1332 rm -f core core.* *.core &&
1333 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1334 exit $exit_status
1335 ' 0
1336 for ac_signal in 1 2 13 15; do
1337 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1338 done
1339 ac_signal=0
1340
1341 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1342 rm -rf conftest* confdefs.h
1343 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1344 echo >confdefs.h
1345
1346 # Predefined preprocessor variables.
1347
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_NAME "$PACKAGE_NAME"
1350 _ACEOF
1351
1352
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1355 _ACEOF
1356
1357
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1360 _ACEOF
1361
1362
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_STRING "$PACKAGE_STRING"
1365 _ACEOF
1366
1367
1368 cat >>confdefs.h <<_ACEOF
1369 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1370 _ACEOF
1371
1372
1373 # Let the site file select an alternate cache file if it wants to.
1374 # Prefer explicitly selected file to automatically selected ones.
1375 if test -z "$CONFIG_SITE"; then
1376 if test "x$prefix" != xNONE; then
1377 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1378 else
1379 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1380 fi
1381 fi
1382 for ac_site_file in $CONFIG_SITE; do
1383 if test -r "$ac_site_file"; then
1384 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1385 echo "$as_me: loading site script $ac_site_file" >&6;}
1386 sed 's/^/| /' "$ac_site_file" >&5
1387 . "$ac_site_file"
1388 fi
1389 done
1390
1391 if test -r "$cache_file"; then
1392 # Some versions of bash will fail to source /dev/null (special
1393 # files actually), so we avoid doing that.
1394 if test -f "$cache_file"; then
1395 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1396 echo "$as_me: loading cache $cache_file" >&6;}
1397 case $cache_file in
1398 [\\/]* | ?:[\\/]* ) . $cache_file;;
1399 *) . ./$cache_file;;
1400 esac
1401 fi
1402 else
1403 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1404 echo "$as_me: creating cache $cache_file" >&6;}
1405 >$cache_file
1406 fi
1407
1408 # Check that the precious variables saved in the cache have kept the same
1409 # value.
1410 ac_cache_corrupted=false
1411 for ac_var in `(set) 2>&1 |
1412 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1413 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1414 eval ac_new_set=\$ac_env_${ac_var}_set
1415 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1416 eval ac_new_val="\$ac_env_${ac_var}_value"
1417 case $ac_old_set,$ac_new_set in
1418 set,)
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1422 ,set)
1423 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1424 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1425 ac_cache_corrupted=: ;;
1426 ,);;
1427 *)
1428 if test "x$ac_old_val" != "x$ac_new_val"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1432 echo "$as_me: former value: $ac_old_val" >&2;}
1433 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1434 echo "$as_me: current value: $ac_new_val" >&2;}
1435 ac_cache_corrupted=:
1436 fi;;
1437 esac
1438 # Pass precious variables to config.status.
1439 if test "$ac_new_set" = set; then
1440 case $ac_new_val in
1441 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1442 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1443 *) ac_arg=$ac_var=$ac_new_val ;;
1444 esac
1445 case " $ac_configure_args " in
1446 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1447 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1448 esac
1449 fi
1450 done
1451 if $ac_cache_corrupted; then
1452 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1453 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1454 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1455 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1456 { (exit 1); exit 1; }; }
1457 fi
1458
1459 ac_ext=c
1460 ac_cpp='$CPP $CPPFLAGS'
1461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1494 ac_aux_dir=
1495 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1496 if test -f $ac_dir/install-sh; then
1497 ac_aux_dir=$ac_dir
1498 ac_install_sh="$ac_aux_dir/install-sh -c"
1499 break
1500 elif test -f $ac_dir/install.sh; then
1501 ac_aux_dir=$ac_dir
1502 ac_install_sh="$ac_aux_dir/install.sh -c"
1503 break
1504 elif test -f $ac_dir/shtool; then
1505 ac_aux_dir=$ac_dir
1506 ac_install_sh="$ac_aux_dir/shtool install -c"
1507 break
1508 fi
1509 done
1510 if test -z "$ac_aux_dir"; then
1511 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1512 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1513 { (exit 1); exit 1; }; }
1514 fi
1515 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1516 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1517 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1518
1519 # Make sure we can run config.sub.
1520 $ac_config_sub sun4 >/dev/null 2>&1 ||
1521 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1522 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1523 { (exit 1); exit 1; }; }
1524
1525 echo "$as_me:$LINENO: checking build system type" >&5
1526 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1527 if test "${ac_cv_build+set}" = set; then
1528 echo $ECHO_N "(cached) $ECHO_C" >&6
1529 else
1530 ac_cv_build_alias=$build_alias
1531 test -z "$ac_cv_build_alias" &&
1532 ac_cv_build_alias=`$ac_config_guess`
1533 test -z "$ac_cv_build_alias" &&
1534 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1535 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1536 { (exit 1); exit 1; }; }
1537 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1538 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1539 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1540 { (exit 1); exit 1; }; }
1541
1542 fi
1543 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1544 echo "${ECHO_T}$ac_cv_build" >&6
1545 build=$ac_cv_build
1546 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1547 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1548 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1549
1550
1551 echo "$as_me:$LINENO: checking host system type" >&5
1552 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1553 if test "${ac_cv_host+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 else
1556 ac_cv_host_alias=$host_alias
1557 test -z "$ac_cv_host_alias" &&
1558 ac_cv_host_alias=$ac_cv_build_alias
1559 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1560 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1561 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1562 { (exit 1); exit 1; }; }
1563
1564 fi
1565 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1566 echo "${ECHO_T}$ac_cv_host" >&6
1567 host=$ac_cv_host
1568 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1569 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1570 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1571
1572
1573 echo "$as_me:$LINENO: checking target system type" >&5
1574 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1575 if test "${ac_cv_target+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 else
1578 ac_cv_target_alias=$target_alias
1579 test "x$ac_cv_target_alias" = "x" &&
1580 ac_cv_target_alias=$ac_cv_host_alias
1581 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1582 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1583 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1584 { (exit 1); exit 1; }; }
1585
1586 fi
1587 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1588 echo "${ECHO_T}$ac_cv_target" >&6
1589 target=$ac_cv_target
1590 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1591 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1592 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1593
1594
1595 # The aliases save the names the user supplied, while $host etc.
1596 # will get canonicalized.
1597 test -n "$target_alias" &&
1598 test "$program_prefix$program_suffix$program_transform_name" = \
1599 NONENONEs,x,x, &&
1600 program_prefix=${target_alias}-
1601
1602
1603
1604 WX_MAJOR_VERSION_NUMBER=2
1605 WX_MINOR_VERSION_NUMBER=5
1606 WX_RELEASE_NUMBER=1
1607
1608 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1609 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1610
1611 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1612
1613 WX_CURRENT=1
1614 WX_REVISION=0
1615 WX_AGE=0
1616
1617
1618
1619 USE_UNIX=1
1620 USE_OS2=0
1621 USE_WIN32=0
1622 USE_DOS=0
1623 USE_BEOS=0
1624 USE_MAC=0
1625
1626 USE_AIX=
1627 USE_BSD= USE_DARWIN= USE_FREEBSD=
1628 USE_GNU= USE_HPUX=
1629 USE_LINUX=
1630 USE_NETBSD=
1631 USE_OPENBSD=
1632 USE_OSF= USE_SGI=
1633 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1634 USE_ULTRIX=
1635 USE_UNIXWARE=
1636
1637 USE_ALPHA=
1638
1639 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1640
1641 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1642
1643 DEFAULT_wxUSE_COCOA=0
1644 DEFAULT_wxUSE_GTK=0
1645 DEFAULT_wxUSE_MAC=0
1646 DEFAULT_wxUSE_MGL=0
1647 DEFAULT_wxUSE_MICROWIN=0
1648 DEFAULT_wxUSE_MOTIF=0
1649 DEFAULT_wxUSE_MSW=0
1650 DEFAULT_wxUSE_PM=0
1651 DEFAULT_wxUSE_X11=0
1652
1653 DEFAULT_DEFAULT_wxUSE_COCOA=0
1654 DEFAULT_DEFAULT_wxUSE_GTK=0
1655 DEFAULT_DEFAULT_wxUSE_MAC=0
1656 DEFAULT_DEFAULT_wxUSE_MGL=0
1657 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1658 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1659 DEFAULT_DEFAULT_wxUSE_MSW=0
1660 DEFAULT_DEFAULT_wxUSE_PM=0
1661 DEFAULT_DEFAULT_wxUSE_X11=0
1662
1663 PROGRAM_EXT=
1664 SO_SUFFIX=so
1665 SAMPLES_RPATH_FLAG=
1666 SAMPLES_RPATH_POSTLINK=
1667
1668 case "${host}" in
1669 *-hp-hpux* )
1670 USE_HPUX=1
1671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1672 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1673 SO_SUFFIX=sl
1674 cat >>confdefs.h <<\_ACEOF
1675 #define __HPUX__ 1
1676 _ACEOF
1677
1678 ;;
1679 *-*-linux* )
1680 USE_LINUX=1
1681 cat >>confdefs.h <<\_ACEOF
1682 #define __LINUX__ 1
1683 _ACEOF
1684
1685 TMP=`uname -m`
1686 if test "x$TMP" = "xalpha"; then
1687 USE_ALPHA=1
1688 cat >>confdefs.h <<\_ACEOF
1689 #define __ALPHA__ 1
1690 _ACEOF
1691
1692 fi
1693 DEFAULT_DEFAULT_wxUSE_GTK=1
1694 ;;
1695 *-*-gnu* )
1696 USE_GNU=1
1697 cat >>confdefs.h <<\_ACEOF
1698 #define __GNU__ 1
1699 _ACEOF
1700
1701 TMP=`uname -m`
1702 if test "x$TMP" = "xalpha"; then
1703 USE_ALPHA=1
1704 cat >>confdefs.h <<\_ACEOF
1705 #define __ALPHA__ 1
1706 _ACEOF
1707
1708 fi
1709 DEFAULT_DEFAULT_wxUSE_GTK=1
1710 ;;
1711 *-*-irix5* | *-*-irix6* )
1712 USE_SGI=1
1713 USE_SVR4=1
1714 cat >>confdefs.h <<\_ACEOF
1715 #define __SGI__ 1
1716 _ACEOF
1717
1718 cat >>confdefs.h <<\_ACEOF
1719 #define __SVR4__ 1
1720 _ACEOF
1721
1722 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1723 ;;
1724 *-*-solaris2* )
1725 USE_SUN=1
1726 USE_SOLARIS=1
1727 USE_SVR4=1
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __SUN__ 1
1730 _ACEOF
1731
1732 cat >>confdefs.h <<\_ACEOF
1733 #define __SOLARIS__ 1
1734 _ACEOF
1735
1736 cat >>confdefs.h <<\_ACEOF
1737 #define __SVR4__ 1
1738 _ACEOF
1739
1740 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1741 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1742 ;;
1743 *-*-sunos4* )
1744 USE_SUN=1
1745 USE_SUNOS=1
1746 USE_BSD=1
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __SUN__ 1
1749 _ACEOF
1750
1751 cat >>confdefs.h <<\_ACEOF
1752 #define __SUNOS__ 1
1753 _ACEOF
1754
1755 cat >>confdefs.h <<\_ACEOF
1756 #define __BSD__ 1
1757 _ACEOF
1758
1759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1760 ;;
1761 *-*-freebsd*)
1762 USE_BSD=1
1763 USE_FREEBSD=1
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __FREEBSD__ 1
1766 _ACEOF
1767
1768 cat >>confdefs.h <<\_ACEOF
1769 #define __BSD__ 1
1770 _ACEOF
1771
1772 DEFAULT_DEFAULT_wxUSE_GTK=1
1773 ;;
1774 *-*-openbsd*)
1775 USE_BSD=1
1776 USE_OPENBSD=1
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __OPENBSD__ 1
1779 _ACEOF
1780
1781 cat >>confdefs.h <<\_ACEOF
1782 #define __BSD__ 1
1783 _ACEOF
1784
1785 DEFAULT_DEFAULT_wxUSE_GTK=1
1786 ;;
1787 *-*-netbsd*)
1788 USE_BSD=1
1789 USE_NETBSD=1
1790 cat >>confdefs.h <<\_ACEOF
1791 #define __NETBSD__ 1
1792 _ACEOF
1793
1794 cat >>confdefs.h <<\_ACEOF
1795 #define __BSD__ 1
1796 _ACEOF
1797
1798 DEFAULT_DEFAULT_wxUSE_GTK=1
1799 ;;
1800 *-*-osf* )
1801 USE_ALPHA=1
1802 USE_OSF=1
1803 cat >>confdefs.h <<\_ACEOF
1804 #define __ALPHA__ 1
1805 _ACEOF
1806
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __OSF__ 1
1809 _ACEOF
1810
1811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1812 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1813 ;;
1814 *-*-dgux5* )
1815 USE_ALPHA=1
1816 USE_SVR4=1
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __ALPHA__ 1
1819 _ACEOF
1820
1821 cat >>confdefs.h <<\_ACEOF
1822 #define __SVR4__ 1
1823 _ACEOF
1824
1825 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1826 ;;
1827 *-*-sysv5* )
1828 USE_SYSV=1
1829 USE_SVR4=1
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __SYSV__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __SVR4__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1839 ;;
1840 *-*-aix* )
1841 USE_AIX=1
1842 USE_SYSV=1
1843 USE_SVR4=1
1844 SO_SUFFIX=a
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __AIX__ 1
1847 _ACEOF
1848
1849 cat >>confdefs.h <<\_ACEOF
1850 #define __SYSV__ 1
1851 _ACEOF
1852
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __SVR4__ 1
1855 _ACEOF
1856
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1858 ;;
1859
1860 *-*-*UnixWare*)
1861 USE_SYSV=1
1862 USE_SVR4=1
1863 USE_UNIXWARE=1
1864 cat >>confdefs.h <<\_ACEOF
1865 #define __UNIXWARE__ 1
1866 _ACEOF
1867
1868 ;;
1869
1870 *-*-cygwin* | *-*-mingw32* )
1871 SO_SUFFIX=dll
1872 PROGRAM_EXT=".exe"
1873 RESCOMP=windres
1874 DEFAULT_DEFAULT_wxUSE_MSW=1
1875 ;;
1876
1877 *-pc-msdosdjgpp )
1878 USE_UNIX=0
1879 USE_DOS=1
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __DOS__ 1
1882 _ACEOF
1883
1884 PROGRAM_EXT=".exe"
1885 DEFAULT_DEFAULT_wxUSE_MGL=1
1886 LIBS="$LIBS -lstdc++"
1887 ;;
1888
1889 *-pc-os2_emx | *-pc-os2-emx )
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __EMX__ 1
1892 _ACEOF
1893
1894 USE_OS2=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __OS2__ 1
1897 _ACEOF
1898
1899 PROGRAM_EXT=".exe"
1900 DEFAULT_DEFAULT_wxUSE_PM=1
1901 CXX=gcc
1902 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1903 ac_executable_extensions=".exe"
1904 export ac_executable_extensions
1905 ac_save_IFS="$IFS"
1906 IFS='\\'
1907 ac_TEMP_PATH=
1908 for ac_dir in $PATH; do
1909 IFS=$ac_save_IFS
1910 if test -z "$ac_TEMP_PATH"; then
1911 ac_TEMP_PATH="$ac_dir"
1912 else
1913 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1914 fi
1915 done
1916 export PATH="$ac_TEMP_PATH"
1917 unset ac_TEMP_PATH
1918 ;;
1919
1920 powerpc-*-darwin* )
1921 USE_BSD=1
1922 USE_DARWIN=1
1923 SO_SUFFIX=dylib
1924 cat >>confdefs.h <<\_ACEOF
1925 #define __BSD__ 1
1926 _ACEOF
1927
1928 cat >>confdefs.h <<\_ACEOF
1929 #define __DARWIN__ 1
1930 _ACEOF
1931
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __POWERPC__ 1
1934 _ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937 #define TARGET_CARBON 1
1938 _ACEOF
1939
1940 DEFAULT_DEFAULT_wxUSE_MAC=1
1941 ;;
1942
1943 *-*-beos* )
1944 USE_BEOS=1
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __BEOS__ 1
1947 _ACEOF
1948
1949 ;;
1950
1951 *)
1952 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1953 echo "$as_me: error: unknown system type ${host}." >&2;}
1954 { (exit 1); exit 1; }; }
1955 esac
1956
1957
1958
1959
1960 wx_arg_cache_file="configarg.cache"
1961 echo "loading argument cache $wx_arg_cache_file"
1962 rm -f ${wx_arg_cache_file}.tmp
1963 touch ${wx_arg_cache_file}.tmp
1964 touch ${wx_arg_cache_file}
1965
1966
1967 DEBUG_CONFIGURE=0
1968 if test $DEBUG_CONFIGURE = 1; then
1969 DEFAULT_wxUSE_UNIVERSAL=no
1970 DEFAULT_wxUSE_STL=no
1971
1972 DEFAULT_wxUSE_NANOX=no
1973
1974 DEFAULT_wxUSE_THREADS=yes
1975
1976 DEFAULT_wxUSE_SHARED=yes
1977 DEFAULT_wxUSE_OPTIMISE=no
1978 DEFAULT_wxUSE_PROFILE=no
1979 DEFAULT_wxUSE_NO_DEPS=no
1980 DEFAULT_wxUSE_NO_RTTI=no
1981 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1982 DEFAULT_wxUSE_PERMISSIVE=no
1983 DEFAULT_wxUSE_DEBUG_FLAG=yes
1984 DEFAULT_wxUSE_DEBUG_INFO=yes
1985 DEFAULT_wxUSE_DEBUG_GDB=yes
1986 DEFAULT_wxUSE_MEM_TRACING=no
1987 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1988 DEFAULT_wxUSE_DMALLOC=no
1989 DEFAULT_wxUSE_APPLE_IEEE=no
1990
1991 DEFAULT_wxUSE_EXCEPTIONS=no
1992 DEFAULT_wxUSE_LOG=yes
1993 DEFAULT_wxUSE_LOGWINDOW=no
1994 DEFAULT_wxUSE_LOGGUI=no
1995 DEFAULT_wxUSE_LOGDIALOG=no
1996
1997 DEFAULT_wxUSE_GUI=yes
1998 DEFAULT_wxUSE_CONTROLS=no
1999
2000 DEFAULT_wxUSE_REGEX=no
2001 DEFAULT_wxUSE_XML=no
2002 DEFAULT_wxUSE_EXPAT=no
2003 DEFAULT_wxUSE_ZLIB=no
2004 DEFAULT_wxUSE_LIBPNG=no
2005 DEFAULT_wxUSE_LIBJPEG=no
2006 DEFAULT_wxUSE_LIBTIFF=no
2007 DEFAULT_wxUSE_ODBC=no
2008 DEFAULT_wxUSE_OPENGL=no
2009
2010 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2011 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2012 DEFAULT_wxUSE_STD_IOSTREAM=no
2013 DEFAULT_wxUSE_CMDLINE_PARSER=no
2014 DEFAULT_wxUSE_DATETIME=no
2015 DEFAULT_wxUSE_TIMER=no
2016 DEFAULT_wxUSE_STOPWATCH=no
2017 DEFAULT_wxUSE_FILE=no
2018 DEFAULT_wxUSE_FFILE=no
2019 DEFAULT_wxUSE_TEXTBUFFER=no
2020 DEFAULT_wxUSE_TEXTFILE=no
2021 DEFAULT_wxUSE_WAVE=no
2022 DEFAULT_wxUSE_INTL=no
2023 DEFAULT_wxUSE_CONFIG=no
2024 DEFAULT_wxUSE_FONTMAP=no
2025 DEFAULT_wxUSE_STREAMS=no
2026 DEFAULT_wxUSE_SOCKETS=no
2027 DEFAULT_wxUSE_OLE=no
2028 DEFAULT_wxUSE_DATAOBJ=no
2029 DEFAULT_wxUSE_DIALUP_MANAGER=no
2030 DEFAULT_wxUSE_JOYSTICK=no
2031 DEFAULT_wxUSE_DYNLIB_CLASS=no
2032 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2033 DEFAULT_wxUSE_LONGLONG=no
2034 DEFAULT_wxUSE_GEOMETRY=no
2035
2036 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2037 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2038 DEFAULT_wxUSE_POSTSCRIPT=no
2039
2040 DEFAULT_wxUSE_CLIPBOARD=no
2041 DEFAULT_wxUSE_TOOLTIPS=no
2042 DEFAULT_wxUSE_DRAG_AND_DROP=no
2043 DEFAULT_wxUSE_DRAGIMAGE=no
2044 DEFAULT_wxUSE_SPLINES=no
2045
2046 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2047 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2048 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2049
2050 DEFAULT_wxUSE_RESOURCES=no
2051 DEFAULT_wxUSE_CONSTRAINTS=no
2052 DEFAULT_wxUSE_IPC=no
2053 DEFAULT_wxUSE_HELP=no
2054 DEFAULT_wxUSE_MS_HTML_HELP=no
2055 DEFAULT_wxUSE_WXHTML_HELP=no
2056 DEFAULT_wxUSE_TREELAYOUT=no
2057 DEFAULT_wxUSE_METAFILE=no
2058 DEFAULT_wxUSE_MIMETYPE=no
2059 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2060 DEFAULT_wxUSE_PROTOCOL=no
2061 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2062 DEFAULT_wxUSE_PROTOCOL_FTP=no
2063 DEFAULT_wxUSE_PROTOCOL_FILE=no
2064 DEFAULT_wxUSE_URL=no
2065
2066 DEFAULT_wxUSE_COMMONDLGS=no
2067 DEFAULT_wxUSE_CHOICEDLG=no
2068 DEFAULT_wxUSE_COLOURDLG=no
2069 DEFAULT_wxUSE_DIRDLG=no
2070 DEFAULT_wxUSE_FILEDLG=no
2071 DEFAULT_wxUSE_FINDREPLDLG=no
2072 DEFAULT_wxUSE_FONTDLG=no
2073 DEFAULT_wxUSE_MSGDLG=no
2074 DEFAULT_wxUSE_NUMBERDLG=no
2075 DEFAULT_wxUSE_TEXTDLG=no
2076 DEFAULT_wxUSE_SPLASH=no
2077 DEFAULT_wxUSE_STARTUP_TIPS=no
2078 DEFAULT_wxUSE_PROGRESSDLG=no
2079 DEFAULT_wxUSE_WIZARDDLG=no
2080
2081 DEFAULT_wxUSE_MENUS=no
2082 DEFAULT_wxUSE_MINIFRAME=no
2083 DEFAULT_wxUSE_HTML=no
2084 DEFAULT_wxUSE_FILESYSTEM=no
2085 DEFAULT_wxUSE_FS_INET=no
2086 DEFAULT_wxUSE_FS_ZIP=no
2087 DEFAULT_wxUSE_BUSYINFO=no
2088 DEFAULT_wxUSE_ZIPSTREAM=no
2089 DEFAULT_wxUSE_GZSTREAM=no
2090 DEFAULT_wxUSE_VALIDATORS=no
2091
2092 DEFAULT_wxUSE_ACCEL=no
2093 DEFAULT_wxUSE_BUTTON=no
2094 DEFAULT_wxUSE_BMPBUTTON=no
2095 DEFAULT_wxUSE_CALCTRL=no
2096 DEFAULT_wxUSE_CARET=no
2097 DEFAULT_wxUSE_CHECKBOX=no
2098 DEFAULT_wxUSE_CHECKLST=no
2099 DEFAULT_wxUSE_CHOICE=no
2100 DEFAULT_wxUSE_COMBOBOX=no
2101 DEFAULT_wxUSE_DISPLAY=no
2102 DEFAULT_wxUSE_GAUGE=no
2103 DEFAULT_wxUSE_GRID=no
2104 DEFAULT_wxUSE_IMAGLIST=no
2105 DEFAULT_wxUSE_LISTBOOK=no
2106 DEFAULT_wxUSE_LISTBOX=no
2107 DEFAULT_wxUSE_LISTCTRL=no
2108 DEFAULT_wxUSE_NOTEBOOK=no
2109 DEFAULT_wxUSE_RADIOBOX=no
2110 DEFAULT_wxUSE_RADIOBTN=no
2111 DEFAULT_wxUSE_SASH=no
2112 DEFAULT_wxUSE_SCROLLBAR=no
2113 DEFAULT_wxUSE_SLIDER=no
2114 DEFAULT_wxUSE_SPINBTN=no
2115 DEFAULT_wxUSE_SPINCTRL=no
2116 DEFAULT_wxUSE_SPLITTER=no
2117 DEFAULT_wxUSE_STATBMP=no
2118 DEFAULT_wxUSE_STATBOX=no
2119 DEFAULT_wxUSE_STATLINE=no
2120 DEFAULT_wxUSE_STATTEXT=no
2121 DEFAULT_wxUSE_STATUSBAR=yes
2122 DEFAULT_wxUSE_TABDIALOG=no
2123 DEFAULT_wxUSE_TEXTCTRL=no
2124 DEFAULT_wxUSE_TOGGLEBTN=no
2125 DEFAULT_wxUSE_TOOLBAR=no
2126 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2127 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2128 DEFAULT_wxUSE_TREECTRL=no
2129 DEFAULT_wxUSE_POPUPWIN=no
2130 DEFAULT_wxUSE_TIPWINDOW=no
2131
2132 DEFAULT_wxUSE_UNICODE=no
2133 DEFAULT_wxUSE_UNICODE_MSLU=no
2134 DEFAULT_wxUSE_WCSRTOMBS=no
2135
2136 DEFAULT_wxUSE_PALETTE=no
2137 DEFAULT_wxUSE_IMAGE=no
2138 DEFAULT_wxUSE_GIF=no
2139 DEFAULT_wxUSE_PCX=no
2140 DEFAULT_wxUSE_PNM=no
2141 DEFAULT_wxUSE_IFF=no
2142 DEFAULT_wxUSE_XPM=no
2143 DEFAULT_wxUSE_ICO_CUR=no
2144 DEFAULT_wxUSE_ACCESSIBILITY=no
2145
2146 DEFAULT_wxUSE_MONOLITHIC=no
2147 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2148 else
2149 DEFAULT_wxUSE_UNIVERSAL=no
2150 DEFAULT_wxUSE_STL=no
2151
2152 DEFAULT_wxUSE_NANOX=no
2153
2154 DEFAULT_wxUSE_THREADS=yes
2155
2156 DEFAULT_wxUSE_SHARED=yes
2157 DEFAULT_wxUSE_OPTIMISE=yes
2158 DEFAULT_wxUSE_PROFILE=no
2159 DEFAULT_wxUSE_NO_DEPS=no
2160 DEFAULT_wxUSE_NO_RTTI=no
2161 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2162 DEFAULT_wxUSE_PERMISSIVE=no
2163 DEFAULT_wxUSE_DEBUG_FLAG=no
2164 DEFAULT_wxUSE_DEBUG_INFO=no
2165 DEFAULT_wxUSE_DEBUG_GDB=no
2166 DEFAULT_wxUSE_MEM_TRACING=no
2167 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2168 DEFAULT_wxUSE_DMALLOC=no
2169 DEFAULT_wxUSE_APPLE_IEEE=yes
2170
2171 DEFAULT_wxUSE_EXCEPTIONS=yes
2172 DEFAULT_wxUSE_LOG=yes
2173 DEFAULT_wxUSE_LOGWINDOW=yes
2174 DEFAULT_wxUSE_LOGGUI=yes
2175 DEFAULT_wxUSE_LOGDIALOG=yes
2176
2177 DEFAULT_wxUSE_GUI=yes
2178
2179 DEFAULT_wxUSE_REGEX=yes
2180 DEFAULT_wxUSE_XML=yes
2181 DEFAULT_wxUSE_EXPAT=yes
2182 DEFAULT_wxUSE_ZLIB=yes
2183 DEFAULT_wxUSE_LIBPNG=yes
2184 DEFAULT_wxUSE_LIBJPEG=yes
2185 DEFAULT_wxUSE_LIBTIFF=yes
2186 DEFAULT_wxUSE_ODBC=no
2187 DEFAULT_wxUSE_OPENGL=no
2188
2189 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2190 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2191 DEFAULT_wxUSE_STD_IOSTREAM=no
2192 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2193 DEFAULT_wxUSE_DATETIME=yes
2194 DEFAULT_wxUSE_TIMER=yes
2195 DEFAULT_wxUSE_STOPWATCH=yes
2196 DEFAULT_wxUSE_FILE=yes
2197 DEFAULT_wxUSE_FFILE=yes
2198 DEFAULT_wxUSE_TEXTBUFFER=yes
2199 DEFAULT_wxUSE_TEXTFILE=yes
2200 DEFAULT_wxUSE_WAVE=no
2201 DEFAULT_wxUSE_INTL=yes
2202 DEFAULT_wxUSE_CONFIG=yes
2203 DEFAULT_wxUSE_FONTMAP=yes
2204 DEFAULT_wxUSE_STREAMS=yes
2205 DEFAULT_wxUSE_SOCKETS=yes
2206 DEFAULT_wxUSE_OLE=yes
2207 DEFAULT_wxUSE_DATAOBJ=yes
2208 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2209 DEFAULT_wxUSE_JOYSTICK=yes
2210 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2211 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2212 DEFAULT_wxUSE_LONGLONG=yes
2213 DEFAULT_wxUSE_GEOMETRY=yes
2214
2215 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2216 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2217 DEFAULT_wxUSE_POSTSCRIPT=yes
2218
2219 DEFAULT_wxUSE_CLIPBOARD=yes
2220 DEFAULT_wxUSE_TOOLTIPS=yes
2221 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2222 DEFAULT_wxUSE_DRAGIMAGE=yes
2223 DEFAULT_wxUSE_SPLINES=yes
2224
2225 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2226 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2227 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2228
2229 DEFAULT_wxUSE_RESOURCES=no
2230 DEFAULT_wxUSE_CONSTRAINTS=yes
2231 DEFAULT_wxUSE_IPC=yes
2232 DEFAULT_wxUSE_HELP=yes
2233 DEFAULT_wxUSE_MS_HTML_HELP=yes
2234 DEFAULT_wxUSE_WXHTML_HELP=yes
2235 DEFAULT_wxUSE_TREELAYOUT=yes
2236 DEFAULT_wxUSE_METAFILE=yes
2237 DEFAULT_wxUSE_MIMETYPE=yes
2238 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2239 DEFAULT_wxUSE_PROTOCOL=yes
2240 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2241 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2242 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2243 DEFAULT_wxUSE_URL=yes
2244
2245 DEFAULT_wxUSE_COMMONDLGS=yes
2246 DEFAULT_wxUSE_CHOICEDLG=yes
2247 DEFAULT_wxUSE_COLOURDLG=yes
2248 DEFAULT_wxUSE_DIRDLG=yes
2249 DEFAULT_wxUSE_FILEDLG=yes
2250 DEFAULT_wxUSE_FINDREPLDLG=yes
2251 DEFAULT_wxUSE_FONTDLG=yes
2252 DEFAULT_wxUSE_MSGDLG=yes
2253 DEFAULT_wxUSE_NUMBERDLG=yes
2254 DEFAULT_wxUSE_TEXTDLG=yes
2255 DEFAULT_wxUSE_SPLASH=yes
2256 DEFAULT_wxUSE_STARTUP_TIPS=yes
2257 DEFAULT_wxUSE_PROGRESSDLG=yes
2258 DEFAULT_wxUSE_WIZARDDLG=yes
2259
2260 DEFAULT_wxUSE_MENUS=yes
2261 DEFAULT_wxUSE_MINIFRAME=yes
2262 DEFAULT_wxUSE_HTML=yes
2263 DEFAULT_wxUSE_FILESYSTEM=yes
2264 DEFAULT_wxUSE_FS_INET=yes
2265 DEFAULT_wxUSE_FS_ZIP=yes
2266 DEFAULT_wxUSE_BUSYINFO=yes
2267 DEFAULT_wxUSE_ZIPSTREAM=yes
2268 DEFAULT_wxUSE_GZSTREAM=yes
2269 DEFAULT_wxUSE_VALIDATORS=yes
2270
2271 DEFAULT_wxUSE_ACCEL=yes
2272 DEFAULT_wxUSE_BUTTON=yes
2273 DEFAULT_wxUSE_BMPBUTTON=yes
2274 DEFAULT_wxUSE_CALCTRL=yes
2275 DEFAULT_wxUSE_CARET=yes
2276 DEFAULT_wxUSE_CHECKBOX=yes
2277 DEFAULT_wxUSE_CHECKLST=yes
2278 DEFAULT_wxUSE_CHOICE=yes
2279 DEFAULT_wxUSE_COMBOBOX=yes
2280 DEFAULT_wxUSE_DISPLAY=no
2281 DEFAULT_wxUSE_GAUGE=yes
2282 DEFAULT_wxUSE_GRID=yes
2283 DEFAULT_wxUSE_IMAGLIST=yes
2284 DEFAULT_wxUSE_LISTBOOK=yes
2285 DEFAULT_wxUSE_LISTBOX=yes
2286 DEFAULT_wxUSE_LISTCTRL=yes
2287 DEFAULT_wxUSE_NOTEBOOK=yes
2288 DEFAULT_wxUSE_RADIOBOX=yes
2289 DEFAULT_wxUSE_RADIOBTN=yes
2290 DEFAULT_wxUSE_SASH=yes
2291 DEFAULT_wxUSE_SCROLLBAR=yes
2292 DEFAULT_wxUSE_SLIDER=yes
2293 DEFAULT_wxUSE_SPINBTN=yes
2294 DEFAULT_wxUSE_SPINCTRL=yes
2295 DEFAULT_wxUSE_SPLITTER=yes
2296 DEFAULT_wxUSE_STATBMP=yes
2297 DEFAULT_wxUSE_STATBOX=yes
2298 DEFAULT_wxUSE_STATLINE=yes
2299 DEFAULT_wxUSE_STATTEXT=yes
2300 DEFAULT_wxUSE_STATUSBAR=yes
2301 DEFAULT_wxUSE_TABDIALOG=no
2302 DEFAULT_wxUSE_TEXTCTRL=yes
2303 DEFAULT_wxUSE_TOGGLEBTN=yes
2304 DEFAULT_wxUSE_TOOLBAR=yes
2305 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2306 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2307 DEFAULT_wxUSE_TREECTRL=yes
2308 DEFAULT_wxUSE_POPUPWIN=yes
2309 DEFAULT_wxUSE_TIPWINDOW=yes
2310
2311 DEFAULT_wxUSE_UNICODE=no
2312 DEFAULT_wxUSE_UNICODE_MSLU=yes
2313 DEFAULT_wxUSE_WCSRTOMBS=no
2314
2315 DEFAULT_wxUSE_PALETTE=yes
2316 DEFAULT_wxUSE_IMAGE=yes
2317 DEFAULT_wxUSE_GIF=yes
2318 DEFAULT_wxUSE_PCX=yes
2319 DEFAULT_wxUSE_IFF=no
2320 DEFAULT_wxUSE_PNM=yes
2321 DEFAULT_wxUSE_XPM=yes
2322 DEFAULT_wxUSE_ICO_CUR=yes
2323 DEFAULT_wxUSE_ACCESSIBILITY=no
2324
2325 DEFAULT_wxUSE_MONOLITHIC=no
2326 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2327 fi
2328
2329
2330
2331 for toolkit in `echo $ALL_TOOLKITS`; do
2332 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2333 if test "x$LINE" != "x" ; then
2334 has_toolkit_in_cache=1
2335 eval "DEFAULT_$LINE"
2336 eval "CACHE_$toolkit=1"
2337 fi
2338 done
2339
2340
2341
2342 enablestring=
2343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2344 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2345 no_cache=0
2346 # Check whether --enable-gui or --disable-gui was given.
2347 if test "${enable_gui+set}" = set; then
2348 enableval="$enable_gui"
2349
2350 if test "$enableval" = yes; then
2351 ac_cv_use_gui='wxUSE_GUI=yes'
2352 else
2353 ac_cv_use_gui='wxUSE_GUI=no'
2354 fi
2355
2356 else
2357
2358 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2361 else
2362 no_cache=1
2363 fi
2364
2365 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2366
2367 fi;
2368
2369 eval "$ac_cv_use_gui"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2372 fi
2373
2374 if test "$wxUSE_GUI" = yes; then
2375 echo "$as_me:$LINENO: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2377 else
2378 echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2380 fi
2381
2382
2383 enablestring=
2384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2385 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2386 no_cache=0
2387 # Check whether --enable-monolithic or --disable-monolithic was given.
2388 if test "${enable_monolithic+set}" = set; then
2389 enableval="$enable_monolithic"
2390
2391 if test "$enableval" = yes; then
2392 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2393 else
2394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2395 fi
2396
2397 else
2398
2399 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x ; then
2401 eval "DEFAULT_$LINE"
2402 else
2403 no_cache=1
2404 fi
2405
2406 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2407
2408 fi;
2409
2410 eval "$ac_cv_use_monolithic"
2411 if test "$no_cache" != 1; then
2412 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2413 fi
2414
2415 if test "$wxUSE_MONOLITHIC" = yes; then
2416 echo "$as_me:$LINENO: result: yes" >&5
2417 echo "${ECHO_T}yes" >&6
2418 else
2419 echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6
2421 fi
2422
2423
2424 if test "$wxUSE_GUI" = "yes"; then
2425
2426
2427 enablestring=
2428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2429 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2430 no_cache=0
2431 # Check whether --enable-universal or --disable-universal was given.
2432 if test "${enable_universal+set}" = set; then
2433 enableval="$enable_universal"
2434
2435 if test "$enableval" = yes; then
2436 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2437 else
2438 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2439 fi
2440
2441 else
2442
2443 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2444 if test "x$LINE" != x ; then
2445 eval "DEFAULT_$LINE"
2446 else
2447 no_cache=1
2448 fi
2449
2450 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2451
2452 fi;
2453
2454 eval "$ac_cv_use_universal"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2457 fi
2458
2459 if test "$wxUSE_UNIVERSAL" = yes; then
2460 echo "$as_me:$LINENO: result: yes" >&5
2461 echo "${ECHO_T}yes" >&6
2462 else
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2465 fi
2466
2467
2468 # Check whether --with-gtk or --without-gtk was given.
2469 if test "${with_gtk+set}" = set; then
2470 withval="$with_gtk"
2471 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2472 fi;
2473
2474 # Check whether --with-motif or --without-motif was given.
2475 if test "${with_motif+set}" = set; then
2476 withval="$with_motif"
2477 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2478 fi;
2479
2480 # Check whether --with-mac or --without-mac was given.
2481 if test "${with_mac+set}" = set; then
2482 withval="$with_mac"
2483 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2484 fi;
2485
2486 # Check whether --with-cocoa or --without-cocoa was given.
2487 if test "${with_cocoa+set}" = set; then
2488 withval="$with_cocoa"
2489 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2490 fi;
2491
2492 # Check whether --with-wine or --without-wine was given.
2493 if test "${with_wine+set}" = set; then
2494 withval="$with_wine"
2495 wxUSE_WINE="$withval" CACHE_WINE=1
2496 fi;
2497
2498 # Check whether --with-msw or --without-msw was given.
2499 if test "${with_msw+set}" = set; then
2500 withval="$with_msw"
2501 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2502 fi;
2503
2504 # Check whether --with-pm or --without-pm was given.
2505 if test "${with_pm+set}" = set; then
2506 withval="$with_pm"
2507 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2508 fi;
2509
2510 # Check whether --with-mgl or --without-mgl was given.
2511 if test "${with_mgl+set}" = set; then
2512 withval="$with_mgl"
2513 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2514 fi;
2515
2516 # Check whether --with-microwin or --without-microwin was given.
2517 if test "${with_microwin+set}" = set; then
2518 withval="$with_microwin"
2519 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2520 fi;
2521
2522 # Check whether --with-x11 or --without-x11 was given.
2523 if test "${with_x11+set}" = set; then
2524 withval="$with_x11"
2525 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2526 fi;
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-nanox or --disable-nanox was given.
2533 if test "${enable_nanox+set}" = set; then
2534 enableval="$enable_nanox"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_nanox='wxUSE_NANOX=yes'
2538 else
2539 ac_cv_use_nanox='wxUSE_NANOX=no'
2540 fi
2541
2542 else
2543
2544 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2552
2553 fi;
2554
2555 eval "$ac_cv_use_nanox"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_NANOX" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569
2570 enablestring=
2571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2572 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2573 no_cache=0
2574 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2575 if test "${enable_gtk2+set}" = set; then
2576 enableval="$enable_gtk2"
2577
2578 if test "$enableval" = yes; then
2579 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2580 else
2581 ac_cv_use_gtk2='wxUSE_GTK2=no'
2582 fi
2583
2584 else
2585
2586 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2594
2595 fi;
2596
2597 eval "$ac_cv_use_gtk2"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test "$wxUSE_GTK2" = yes; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2605 else
2606 echo "$as_me:$LINENO: result: no" >&5
2607 echo "${ECHO_T}no" >&6
2608 fi
2609
2610
2611
2612 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2613 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2614 no_cache=0
2615
2616 # Check whether --with-libpng or --without-libpng was given.
2617 if test "${with_libpng+set}" = set; then
2618 withval="$with_libpng"
2619
2620 if test "$withval" = yes; then
2621 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2622 elif test "$withval" = no; then
2623 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2624 elif test "$withval" = sys; then
2625 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2626 elif test "$withval" = builtin; then
2627 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2628 else
2629 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2630 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2631 { (exit 1); exit 1; }; }
2632 fi
2633
2634 else
2635
2636 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2637 if test "x$LINE" != x ; then
2638 eval "DEFAULT_$LINE"
2639 else
2640 no_cache=1
2641 fi
2642
2643 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2644
2645 fi;
2646
2647 eval "$ac_cv_use_libpng"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2650 fi
2651
2652 if test "$wxUSE_LIBPNG" = yes; then
2653 echo "$as_me:$LINENO: result: yes" >&5
2654 echo "${ECHO_T}yes" >&6
2655 elif test "$wxUSE_LIBPNG" = no; then
2656 echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6
2658 elif test "$wxUSE_LIBPNG" = sys; then
2659 echo "$as_me:$LINENO: result: system version" >&5
2660 echo "${ECHO_T}system version" >&6
2661 elif test "$wxUSE_LIBPNG" = builtin; then
2662 echo "$as_me:$LINENO: result: builtin version" >&5
2663 echo "${ECHO_T}builtin version" >&6
2664 else
2665 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2666 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2667 { (exit 1); exit 1; }; }
2668 fi
2669
2670
2671 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2672 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2673 no_cache=0
2674
2675 # Check whether --with-libjpeg or --without-libjpeg was given.
2676 if test "${with_libjpeg+set}" = set; then
2677 withval="$with_libjpeg"
2678
2679 if test "$withval" = yes; then
2680 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2681 elif test "$withval" = no; then
2682 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2683 elif test "$withval" = sys; then
2684 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2685 elif test "$withval" = builtin; then
2686 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2687 else
2688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2689 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2690 { (exit 1); exit 1; }; }
2691 fi
2692
2693 else
2694
2695 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x ; then
2697 eval "DEFAULT_$LINE"
2698 else
2699 no_cache=1
2700 fi
2701
2702 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2703
2704 fi;
2705
2706 eval "$ac_cv_use_libjpeg"
2707 if test "$no_cache" != 1; then
2708 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2709 fi
2710
2711 if test "$wxUSE_LIBJPEG" = yes; then
2712 echo "$as_me:$LINENO: result: yes" >&5
2713 echo "${ECHO_T}yes" >&6
2714 elif test "$wxUSE_LIBJPEG" = no; then
2715 echo "$as_me:$LINENO: result: no" >&5
2716 echo "${ECHO_T}no" >&6
2717 elif test "$wxUSE_LIBJPEG" = sys; then
2718 echo "$as_me:$LINENO: result: system version" >&5
2719 echo "${ECHO_T}system version" >&6
2720 elif test "$wxUSE_LIBJPEG" = builtin; then
2721 echo "$as_me:$LINENO: result: builtin version" >&5
2722 echo "${ECHO_T}builtin version" >&6
2723 else
2724 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2725 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2726 { (exit 1); exit 1; }; }
2727 fi
2728
2729
2730 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2731 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2732 no_cache=0
2733
2734 # Check whether --with-libtiff or --without-libtiff was given.
2735 if test "${with_libtiff+set}" = set; then
2736 withval="$with_libtiff"
2737
2738 if test "$withval" = yes; then
2739 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2740 elif test "$withval" = no; then
2741 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2742 elif test "$withval" = sys; then
2743 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2744 elif test "$withval" = builtin; then
2745 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2746 else
2747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2748 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2749 { (exit 1); exit 1; }; }
2750 fi
2751
2752 else
2753
2754 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x ; then
2756 eval "DEFAULT_$LINE"
2757 else
2758 no_cache=1
2759 fi
2760
2761 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2762
2763 fi;
2764
2765 eval "$ac_cv_use_libtiff"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2768 fi
2769
2770 if test "$wxUSE_LIBTIFF" = yes; then
2771 echo "$as_me:$LINENO: result: yes" >&5
2772 echo "${ECHO_T}yes" >&6
2773 elif test "$wxUSE_LIBTIFF" = no; then
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2776 elif test "$wxUSE_LIBTIFF" = sys; then
2777 echo "$as_me:$LINENO: result: system version" >&5
2778 echo "${ECHO_T}system version" >&6
2779 elif test "$wxUSE_LIBTIFF" = builtin; then
2780 echo "$as_me:$LINENO: result: builtin version" >&5
2781 echo "${ECHO_T}builtin version" >&6
2782 else
2783 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2784 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2785 { (exit 1); exit 1; }; }
2786 fi
2787
2788
2789 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2790 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2791 no_cache=0
2792
2793 # Check whether --with-opengl or --without-opengl was given.
2794 if test "${with_opengl+set}" = set; then
2795 withval="$with_opengl"
2796
2797 if test "$withval" = yes; then
2798 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2799 else
2800 ac_cv_use_opengl='wxUSE_OPENGL=no'
2801 fi
2802
2803 else
2804
2805 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x ; then
2807 eval "DEFAULT_$LINE"
2808 else
2809 no_cache=1
2810 fi
2811
2812 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2813
2814 fi;
2815
2816 eval "$ac_cv_use_opengl"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2819 fi
2820
2821 if test "$wxUSE_OPENGL" = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6
2824 else
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2827 fi
2828
2829
2830 fi
2831
2832
2833 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2834 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2835 no_cache=0
2836
2837 # Check whether --with-dmalloc or --without-dmalloc was given.
2838 if test "${with_dmalloc+set}" = set; then
2839 withval="$with_dmalloc"
2840
2841 if test "$withval" = yes; then
2842 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2843 else
2844 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2845 fi
2846
2847 else
2848
2849 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x ; then
2851 eval "DEFAULT_$LINE"
2852 else
2853 no_cache=1
2854 fi
2855
2856 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2857
2858 fi;
2859
2860 eval "$ac_cv_use_dmalloc"
2861 if test "$no_cache" != 1; then
2862 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2863 fi
2864
2865 if test "$wxUSE_DMALLOC" = yes; then
2866 echo "$as_me:$LINENO: result: yes" >&5
2867 echo "${ECHO_T}yes" >&6
2868 else
2869 echo "$as_me:$LINENO: result: no" >&5
2870 echo "${ECHO_T}no" >&6
2871 fi
2872
2873
2874 echo "$as_me:$LINENO: checking for --with-regex" >&5
2875 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2876 no_cache=0
2877
2878 # Check whether --with-regex or --without-regex was given.
2879 if test "${with_regex+set}" = set; then
2880 withval="$with_regex"
2881
2882 if test "$withval" = yes; then
2883 ac_cv_use_regex='wxUSE_REGEX=yes'
2884 elif test "$withval" = no; then
2885 ac_cv_use_regex='wxUSE_REGEX=no'
2886 elif test "$withval" = sys; then
2887 ac_cv_use_regex='wxUSE_REGEX=sys'
2888 elif test "$withval" = builtin; then
2889 ac_cv_use_regex='wxUSE_REGEX=builtin'
2890 else
2891 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2892 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2893 { (exit 1); exit 1; }; }
2894 fi
2895
2896 else
2897
2898 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x ; then
2900 eval "DEFAULT_$LINE"
2901 else
2902 no_cache=1
2903 fi
2904
2905 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2906
2907 fi;
2908
2909 eval "$ac_cv_use_regex"
2910 if test "$no_cache" != 1; then
2911 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2912 fi
2913
2914 if test "$wxUSE_REGEX" = yes; then
2915 echo "$as_me:$LINENO: result: yes" >&5
2916 echo "${ECHO_T}yes" >&6
2917 elif test "$wxUSE_REGEX" = no; then
2918 echo "$as_me:$LINENO: result: no" >&5
2919 echo "${ECHO_T}no" >&6
2920 elif test "$wxUSE_REGEX" = sys; then
2921 echo "$as_me:$LINENO: result: system version" >&5
2922 echo "${ECHO_T}system version" >&6
2923 elif test "$wxUSE_REGEX" = builtin; then
2924 echo "$as_me:$LINENO: result: builtin version" >&5
2925 echo "${ECHO_T}builtin version" >&6
2926 else
2927 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2928 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2929 { (exit 1); exit 1; }; }
2930 fi
2931
2932
2933 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2934 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2935 no_cache=0
2936
2937 # Check whether --with-zlib or --without-zlib was given.
2938 if test "${with_zlib+set}" = set; then
2939 withval="$with_zlib"
2940
2941 if test "$withval" = yes; then
2942 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2943 elif test "$withval" = no; then
2944 ac_cv_use_zlib='wxUSE_ZLIB=no'
2945 elif test "$withval" = sys; then
2946 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2947 elif test "$withval" = builtin; then
2948 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2949 else
2950 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2951 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2952 { (exit 1); exit 1; }; }
2953 fi
2954
2955 else
2956
2957 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x ; then
2959 eval "DEFAULT_$LINE"
2960 else
2961 no_cache=1
2962 fi
2963
2964 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2965
2966 fi;
2967
2968 eval "$ac_cv_use_zlib"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2971 fi
2972
2973 if test "$wxUSE_ZLIB" = yes; then
2974 echo "$as_me:$LINENO: result: yes" >&5
2975 echo "${ECHO_T}yes" >&6
2976 elif test "$wxUSE_ZLIB" = no; then
2977 echo "$as_me:$LINENO: result: no" >&5
2978 echo "${ECHO_T}no" >&6
2979 elif test "$wxUSE_ZLIB" = sys; then
2980 echo "$as_me:$LINENO: result: system version" >&5
2981 echo "${ECHO_T}system version" >&6
2982 elif test "$wxUSE_ZLIB" = builtin; then
2983 echo "$as_me:$LINENO: result: builtin version" >&5
2984 echo "${ECHO_T}builtin version" >&6
2985 else
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2987 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2989 fi
2990
2991
2992 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2993 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2994 no_cache=0
2995
2996 # Check whether --with-odbc or --without-odbc was given.
2997 if test "${with_odbc+set}" = set; then
2998 withval="$with_odbc"
2999
3000 if test "$withval" = yes; then
3001 ac_cv_use_odbc='wxUSE_ODBC=yes'
3002 elif test "$withval" = no; then
3003 ac_cv_use_odbc='wxUSE_ODBC=no'
3004 elif test "$withval" = sys; then
3005 ac_cv_use_odbc='wxUSE_ODBC=sys'
3006 elif test "$withval" = builtin; then
3007 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3008 else
3009 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3010 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3011 { (exit 1); exit 1; }; }
3012 fi
3013
3014 else
3015
3016 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x ; then
3018 eval "DEFAULT_$LINE"
3019 else
3020 no_cache=1
3021 fi
3022
3023 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3024
3025 fi;
3026
3027 eval "$ac_cv_use_odbc"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3030 fi
3031
3032 if test "$wxUSE_ODBC" = yes; then
3033 echo "$as_me:$LINENO: result: yes" >&5
3034 echo "${ECHO_T}yes" >&6
3035 elif test "$wxUSE_ODBC" = no; then
3036 echo "$as_me:$LINENO: result: no" >&5
3037 echo "${ECHO_T}no" >&6
3038 elif test "$wxUSE_ODBC" = sys; then
3039 echo "$as_me:$LINENO: result: system version" >&5
3040 echo "${ECHO_T}system version" >&6
3041 elif test "$wxUSE_ODBC" = builtin; then
3042 echo "$as_me:$LINENO: result: builtin version" >&5
3043 echo "${ECHO_T}builtin version" >&6
3044 else
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3046 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3048 fi
3049
3050
3051 echo "$as_me:$LINENO: checking for --with-expat" >&5
3052 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3053 no_cache=0
3054
3055 # Check whether --with-expat or --without-expat was given.
3056 if test "${with_expat+set}" = set; then
3057 withval="$with_expat"
3058
3059 if test "$withval" = yes; then
3060 ac_cv_use_expat='wxUSE_EXPAT=yes'
3061 elif test "$withval" = no; then
3062 ac_cv_use_expat='wxUSE_EXPAT=no'
3063 elif test "$withval" = sys; then
3064 ac_cv_use_expat='wxUSE_EXPAT=sys'
3065 elif test "$withval" = builtin; then
3066 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3067 else
3068 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3069 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3070 { (exit 1); exit 1; }; }
3071 fi
3072
3073 else
3074
3075 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3076 if test "x$LINE" != x ; then
3077 eval "DEFAULT_$LINE"
3078 else
3079 no_cache=1
3080 fi
3081
3082 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3083
3084 fi;
3085
3086 eval "$ac_cv_use_expat"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3089 fi
3090
3091 if test "$wxUSE_EXPAT" = yes; then
3092 echo "$as_me:$LINENO: result: yes" >&5
3093 echo "${ECHO_T}yes" >&6
3094 elif test "$wxUSE_EXPAT" = no; then
3095 echo "$as_me:$LINENO: result: no" >&5
3096 echo "${ECHO_T}no" >&6
3097 elif test "$wxUSE_EXPAT" = sys; then
3098 echo "$as_me:$LINENO: result: system version" >&5
3099 echo "${ECHO_T}system version" >&6
3100 elif test "$wxUSE_EXPAT" = builtin; then
3101 echo "$as_me:$LINENO: result: builtin version" >&5
3102 echo "${ECHO_T}builtin version" >&6
3103 else
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3105 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3107 fi
3108
3109
3110
3111
3112 enablestring=
3113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3114 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3115 no_cache=0
3116 # Check whether --enable-shared or --disable-shared was given.
3117 if test "${enable_shared+set}" = set; then
3118 enableval="$enable_shared"
3119
3120 if test "$enableval" = yes; then
3121 ac_cv_use_shared='wxUSE_SHARED=yes'
3122 else
3123 ac_cv_use_shared='wxUSE_SHARED=no'
3124 fi
3125
3126 else
3127
3128 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3129 if test "x$LINE" != x ; then
3130 eval "DEFAULT_$LINE"
3131 else
3132 no_cache=1
3133 fi
3134
3135 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3136
3137 fi;
3138
3139 eval "$ac_cv_use_shared"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3142 fi
3143
3144 if test "$wxUSE_SHARED" = yes; then
3145 echo "$as_me:$LINENO: result: yes" >&5
3146 echo "${ECHO_T}yes" >&6
3147 else
3148 echo "$as_me:$LINENO: result: no" >&5
3149 echo "${ECHO_T}no" >&6
3150 fi
3151
3152
3153 enablestring=
3154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3155 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3156 no_cache=0
3157 # Check whether --enable-optimise or --disable-optimise was given.
3158 if test "${enable_optimise+set}" = set; then
3159 enableval="$enable_optimise"
3160
3161 if test "$enableval" = yes; then
3162 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3163 else
3164 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3165 fi
3166
3167 else
3168
3169 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x ; then
3171 eval "DEFAULT_$LINE"
3172 else
3173 no_cache=1
3174 fi
3175
3176 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3177
3178 fi;
3179
3180 eval "$ac_cv_use_optimise"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3183 fi
3184
3185 if test "$wxUSE_OPTIMISE" = yes; then
3186 echo "$as_me:$LINENO: result: yes" >&5
3187 echo "${ECHO_T}yes" >&6
3188 else
3189 echo "$as_me:$LINENO: result: no" >&5
3190 echo "${ECHO_T}no" >&6
3191 fi
3192
3193
3194 enablestring=
3195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3197 no_cache=0
3198 # Check whether --enable-debug or --disable-debug was given.
3199 if test "${enable_debug+set}" = set; then
3200 enableval="$enable_debug"
3201
3202 if test "$enableval" = yes; then
3203 ac_cv_use_debug='wxUSE_DEBUG=yes'
3204 else
3205 ac_cv_use_debug='wxUSE_DEBUG=no'
3206 fi
3207
3208 else
3209
3210 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x ; then
3212 eval "DEFAULT_$LINE"
3213 else
3214 no_cache=1
3215 fi
3216
3217 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3218
3219 fi;
3220
3221 eval "$ac_cv_use_debug"
3222 if test "$no_cache" != 1; then
3223 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3224 fi
3225
3226 if test "$wxUSE_DEBUG" = yes; then
3227 echo "$as_me:$LINENO: result: yes" >&5
3228 echo "${ECHO_T}yes" >&6
3229 else
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3232 fi
3233
3234
3235 enablestring=
3236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3237 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3238 no_cache=0
3239 # Check whether --enable-stl or --disable-stl was given.
3240 if test "${enable_stl+set}" = set; then
3241 enableval="$enable_stl"
3242
3243 if test "$enableval" = yes; then
3244 ac_cv_use_stl='wxUSE_STL=yes'
3245 else
3246 ac_cv_use_stl='wxUSE_STL=no'
3247 fi
3248
3249 else
3250
3251 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x ; then
3253 eval "DEFAULT_$LINE"
3254 else
3255 no_cache=1
3256 fi
3257
3258 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3259
3260 fi;
3261
3262 eval "$ac_cv_use_stl"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3265 fi
3266
3267 if test "$wxUSE_STL" = yes; then
3268 echo "$as_me:$LINENO: result: yes" >&5
3269 echo "${ECHO_T}yes" >&6
3270 else
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3273 fi
3274
3275
3276 if test "$wxUSE_DEBUG" = "yes"; then
3277 DEFAULT_wxUSE_DEBUG_FLAG=yes
3278 DEFAULT_wxUSE_DEBUG_INFO=yes
3279 BUILD=debug
3280 elif test "$wxUSE_DEBUG" = "no"; then
3281 DEFAULT_wxUSE_DEBUG_FLAG=no
3282 DEFAULT_wxUSE_DEBUG_INFO=no
3283 BUILD=release
3284 fi
3285
3286
3287 enablestring=
3288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3289 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3290 no_cache=0
3291 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3292 if test "${enable_debug_flag+set}" = set; then
3293 enableval="$enable_debug_flag"
3294
3295 if test "$enableval" = yes; then
3296 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3297 else
3298 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3299 fi
3300
3301 else
3302
3303 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3304 if test "x$LINE" != x ; then
3305 eval "DEFAULT_$LINE"
3306 else
3307 no_cache=1
3308 fi
3309
3310 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3311
3312 fi;
3313
3314 eval "$ac_cv_use_debug_flag"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3317 fi
3318
3319 if test "$wxUSE_DEBUG_FLAG" = yes; then
3320 echo "$as_me:$LINENO: result: yes" >&5
3321 echo "${ECHO_T}yes" >&6
3322 else
3323 echo "$as_me:$LINENO: result: no" >&5
3324 echo "${ECHO_T}no" >&6
3325 fi
3326
3327
3328 enablestring=
3329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3330 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3331 no_cache=0
3332 # Check whether --enable-debug_info or --disable-debug_info was given.
3333 if test "${enable_debug_info+set}" = set; then
3334 enableval="$enable_debug_info"
3335
3336 if test "$enableval" = yes; then
3337 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3338 else
3339 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3340 fi
3341
3342 else
3343
3344 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3352
3353 fi;
3354
3355 eval "$ac_cv_use_debug_info"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_DEBUG_INFO" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 else
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 fi
3367
3368
3369 enablestring=
3370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3371 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3372 no_cache=0
3373 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3374 if test "${enable_debug_gdb+set}" = set; then
3375 enableval="$enable_debug_gdb"
3376
3377 if test "$enableval" = yes; then
3378 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3379 else
3380 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3381 fi
3382
3383 else
3384
3385 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x ; then
3387 eval "DEFAULT_$LINE"
3388 else
3389 no_cache=1
3390 fi
3391
3392 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3393
3394 fi;
3395
3396 eval "$ac_cv_use_debug_gdb"
3397 if test "$no_cache" != 1; then
3398 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3399 fi
3400
3401 if test "$wxUSE_DEBUG_GDB" = yes; then
3402 echo "$as_me:$LINENO: result: yes" >&5
3403 echo "${ECHO_T}yes" >&6
3404 else
3405 echo "$as_me:$LINENO: result: no" >&5
3406 echo "${ECHO_T}no" >&6
3407 fi
3408
3409
3410 enablestring=
3411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3412 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3413 no_cache=0
3414 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3415 if test "${enable_debug_cntxt+set}" = set; then
3416 enableval="$enable_debug_cntxt"
3417
3418 if test "$enableval" = yes; then
3419 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3420 else
3421 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3422 fi
3423
3424 else
3425
3426 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x ; then
3428 eval "DEFAULT_$LINE"
3429 else
3430 no_cache=1
3431 fi
3432
3433 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3434
3435 fi;
3436
3437 eval "$ac_cv_use_debug_cntxt"
3438 if test "$no_cache" != 1; then
3439 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3440 fi
3441
3442 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3443 echo "$as_me:$LINENO: result: yes" >&5
3444 echo "${ECHO_T}yes" >&6
3445 else
3446 echo "$as_me:$LINENO: result: no" >&5
3447 echo "${ECHO_T}no" >&6
3448 fi
3449
3450
3451 enablestring=
3452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3453 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3454 no_cache=0
3455 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3456 if test "${enable_mem_tracing+set}" = set; then
3457 enableval="$enable_mem_tracing"
3458
3459 if test "$enableval" = yes; then
3460 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3461 else
3462 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3463 fi
3464
3465 else
3466
3467 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3470 else
3471 no_cache=1
3472 fi
3473
3474 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3475
3476 fi;
3477
3478 eval "$ac_cv_use_mem_tracing"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3481 fi
3482
3483 if test "$wxUSE_MEM_TRACING" = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485 echo "${ECHO_T}yes" >&6
3486 else
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3489 fi
3490
3491
3492 enablestring=
3493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3494 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3495 no_cache=0
3496 # Check whether --enable-profile or --disable-profile was given.
3497 if test "${enable_profile+set}" = set; then
3498 enableval="$enable_profile"
3499
3500 if test "$enableval" = yes; then
3501 ac_cv_use_profile='wxUSE_PROFILE=yes'
3502 else
3503 ac_cv_use_profile='wxUSE_PROFILE=no'
3504 fi
3505
3506 else
3507
3508 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3509 if test "x$LINE" != x ; then
3510 eval "DEFAULT_$LINE"
3511 else
3512 no_cache=1
3513 fi
3514
3515 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3516
3517 fi;
3518
3519 eval "$ac_cv_use_profile"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3522 fi
3523
3524 if test "$wxUSE_PROFILE" = yes; then
3525 echo "$as_me:$LINENO: result: yes" >&5
3526 echo "${ECHO_T}yes" >&6
3527 else
3528 echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6
3530 fi
3531
3532
3533 enablestring=
3534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3535 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3536 no_cache=0
3537 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3538 if test "${enable_no_rtti+set}" = set; then
3539 enableval="$enable_no_rtti"
3540
3541 if test "$enableval" = yes; then
3542 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3543 else
3544 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3545 fi
3546
3547 else
3548
3549 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3550 if test "x$LINE" != x ; then
3551 eval "DEFAULT_$LINE"
3552 else
3553 no_cache=1
3554 fi
3555
3556 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3557
3558 fi;
3559
3560 eval "$ac_cv_use_no_rtti"
3561 if test "$no_cache" != 1; then
3562 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3563 fi
3564
3565 if test "$wxUSE_NO_RTTI" = yes; then
3566 echo "$as_me:$LINENO: result: yes" >&5
3567 echo "${ECHO_T}yes" >&6
3568 else
3569 echo "$as_me:$LINENO: result: no" >&5
3570 echo "${ECHO_T}no" >&6
3571 fi
3572
3573
3574 enablestring=
3575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3576 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3577 no_cache=0
3578 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3579 if test "${enable_no_exceptions+set}" = set; then
3580 enableval="$enable_no_exceptions"
3581
3582 if test "$enableval" = yes; then
3583 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3584 else
3585 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3586 fi
3587
3588 else
3589
3590 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x ; then
3592 eval "DEFAULT_$LINE"
3593 else
3594 no_cache=1
3595 fi
3596
3597 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3598
3599 fi;
3600
3601 eval "$ac_cv_use_no_exceptions"
3602 if test "$no_cache" != 1; then
3603 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3604 fi
3605
3606 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3607 echo "$as_me:$LINENO: result: yes" >&5
3608 echo "${ECHO_T}yes" >&6
3609 else
3610 echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6
3612 fi
3613
3614
3615 enablestring=
3616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3617 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3618 no_cache=0
3619 # Check whether --enable-permissive or --disable-permissive was given.
3620 if test "${enable_permissive+set}" = set; then
3621 enableval="$enable_permissive"
3622
3623 if test "$enableval" = yes; then
3624 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3625 else
3626 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3627 fi
3628
3629 else
3630
3631 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x ; then
3633 eval "DEFAULT_$LINE"
3634 else
3635 no_cache=1
3636 fi
3637
3638 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3639
3640 fi;
3641
3642 eval "$ac_cv_use_permissive"
3643 if test "$no_cache" != 1; then
3644 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3645 fi
3646
3647 if test "$wxUSE_PERMISSIVE" = yes; then
3648 echo "$as_me:$LINENO: result: yes" >&5
3649 echo "${ECHO_T}yes" >&6
3650 else
3651 echo "$as_me:$LINENO: result: no" >&5
3652 echo "${ECHO_T}no" >&6
3653 fi
3654
3655
3656 enablestring=
3657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3658 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3659 no_cache=0
3660 # Check whether --enable-no_deps or --disable-no_deps was given.
3661 if test "${enable_no_deps+set}" = set; then
3662 enableval="$enable_no_deps"
3663
3664 if test "$enableval" = yes; then
3665 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3666 else
3667 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3668 fi
3669
3670 else
3671
3672 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3673 if test "x$LINE" != x ; then
3674 eval "DEFAULT_$LINE"
3675 else
3676 no_cache=1
3677 fi
3678
3679 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3680
3681 fi;
3682
3683 eval "$ac_cv_use_no_deps"
3684 if test "$no_cache" != 1; then
3685 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3686 fi
3687
3688 if test "$wxUSE_NO_DEPS" = yes; then
3689 echo "$as_me:$LINENO: result: yes" >&5
3690 echo "${ECHO_T}yes" >&6
3691 else
3692 echo "$as_me:$LINENO: result: no" >&5
3693 echo "${ECHO_T}no" >&6
3694 fi
3695
3696
3697
3698 enablestring=
3699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3700 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3701 no_cache=0
3702 # Check whether --enable-compat22 or --disable-compat22 was given.
3703 if test "${enable_compat22+set}" = set; then
3704 enableval="$enable_compat22"
3705
3706 if test "$enableval" = yes; then
3707 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3708 else
3709 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3710 fi
3711
3712 else
3713
3714 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x ; then
3716 eval "DEFAULT_$LINE"
3717 else
3718 no_cache=1
3719 fi
3720
3721 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3722
3723 fi;
3724
3725 eval "$ac_cv_use_compat22"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3728 fi
3729
3730 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3731 echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6
3733 else
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3736 fi
3737
3738
3739 enablestring=disable
3740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3741 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3742 no_cache=0
3743 # Check whether --enable-compat24 or --disable-compat24 was given.
3744 if test "${enable_compat24+set}" = set; then
3745 enableval="$enable_compat24"
3746
3747 if test "$enableval" = yes; then
3748 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3749 else
3750 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3751 fi
3752
3753 else
3754
3755 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3763
3764 fi;
3765
3766 eval "$ac_cv_use_compat24"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 else
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 fi
3778
3779
3780 # Check whether --enable-rpath or --disable-rpath was given.
3781 if test "${enable_rpath+set}" = set; then
3782 enableval="$enable_rpath"
3783 wxRPATH_DIR="$enableval"
3784 fi;
3785
3786 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3787 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3788 fi
3789
3790
3791
3792
3793 enablestring=
3794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3795 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3796 no_cache=0
3797 # Check whether --enable-intl or --disable-intl was given.
3798 if test "${enable_intl+set}" = set; then
3799 enableval="$enable_intl"
3800
3801 if test "$enableval" = yes; then
3802 ac_cv_use_intl='wxUSE_INTL=yes'
3803 else
3804 ac_cv_use_intl='wxUSE_INTL=no'
3805 fi
3806
3807 else
3808
3809 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3810 if test "x$LINE" != x ; then
3811 eval "DEFAULT_$LINE"
3812 else
3813 no_cache=1
3814 fi
3815
3816 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3817
3818 fi;
3819
3820 eval "$ac_cv_use_intl"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3823 fi
3824
3825 if test "$wxUSE_INTL" = yes; then
3826 echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6
3828 else
3829 echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6
3831 fi
3832
3833
3834 enablestring=
3835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3836 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3837 no_cache=0
3838 # Check whether --enable-config or --disable-config was given.
3839 if test "${enable_config+set}" = set; then
3840 enableval="$enable_config"
3841
3842 if test "$enableval" = yes; then
3843 ac_cv_use_config='wxUSE_CONFIG=yes'
3844 else
3845 ac_cv_use_config='wxUSE_CONFIG=no'
3846 fi
3847
3848 else
3849
3850 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x ; then
3852 eval "DEFAULT_$LINE"
3853 else
3854 no_cache=1
3855 fi
3856
3857 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3858
3859 fi;
3860
3861 eval "$ac_cv_use_config"
3862 if test "$no_cache" != 1; then
3863 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3864 fi
3865
3866 if test "$wxUSE_CONFIG" = yes; then
3867 echo "$as_me:$LINENO: result: yes" >&5
3868 echo "${ECHO_T}yes" >&6
3869 else
3870 echo "$as_me:$LINENO: result: no" >&5
3871 echo "${ECHO_T}no" >&6
3872 fi
3873
3874
3875
3876 enablestring=
3877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3878 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3879 no_cache=0
3880 # Check whether --enable-protocols or --disable-protocols was given.
3881 if test "${enable_protocols+set}" = set; then
3882 enableval="$enable_protocols"
3883
3884 if test "$enableval" = yes; then
3885 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3886 else
3887 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3888 fi
3889
3890 else
3891
3892 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x ; then
3894 eval "DEFAULT_$LINE"
3895 else
3896 no_cache=1
3897 fi
3898
3899 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3900
3901 fi;
3902
3903 eval "$ac_cv_use_protocols"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3906 fi
3907
3908 if test "$wxUSE_PROTOCOL" = yes; then
3909 echo "$as_me:$LINENO: result: yes" >&5
3910 echo "${ECHO_T}yes" >&6
3911 else
3912 echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6
3914 fi
3915
3916
3917 enablestring=
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3919 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3920 no_cache=0
3921 # Check whether --enable-ftp or --disable-ftp was given.
3922 if test "${enable_ftp+set}" = set; then
3923 enableval="$enable_ftp"
3924
3925 if test "$enableval" = yes; then
3926 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3927 else
3928 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3929 fi
3930
3931 else
3932
3933 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3936 else
3937 no_cache=1
3938 fi
3939
3940 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3941
3942 fi;
3943
3944 eval "$ac_cv_use_ftp"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3947 fi
3948
3949 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3950 echo "$as_me:$LINENO: result: yes" >&5
3951 echo "${ECHO_T}yes" >&6
3952 else
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3955 fi
3956
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-http or --disable-http was given.
3963 if test "${enable_http+set}" = set; then
3964 enableval="$enable_http"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3968 else
3969 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3982
3983 fi;
3984
3985 eval "$ac_cv_use_http"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998
3999 enablestring=
4000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4001 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4002 no_cache=0
4003 # Check whether --enable-fileproto or --disable-fileproto was given.
4004 if test "${enable_fileproto+set}" = set; then
4005 enableval="$enable_fileproto"
4006
4007 if test "$enableval" = yes; then
4008 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4009 else
4010 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4011 fi
4012
4013 else
4014
4015 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4016 if test "x$LINE" != x ; then
4017 eval "DEFAULT_$LINE"
4018 else
4019 no_cache=1
4020 fi
4021
4022 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4023
4024 fi;
4025
4026 eval "$ac_cv_use_fileproto"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4029 fi
4030
4031 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4032 echo "$as_me:$LINENO: result: yes" >&5
4033 echo "${ECHO_T}yes" >&6
4034 else
4035 echo "$as_me:$LINENO: result: no" >&5
4036 echo "${ECHO_T}no" >&6
4037 fi
4038
4039
4040 enablestring=
4041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4042 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4043 no_cache=0
4044 # Check whether --enable-sockets or --disable-sockets was given.
4045 if test "${enable_sockets+set}" = set; then
4046 enableval="$enable_sockets"
4047
4048 if test "$enableval" = yes; then
4049 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4050 else
4051 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4052 fi
4053
4054 else
4055
4056 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x ; then
4058 eval "DEFAULT_$LINE"
4059 else
4060 no_cache=1
4061 fi
4062
4063 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4064
4065 fi;
4066
4067 eval "$ac_cv_use_sockets"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4070 fi
4071
4072 if test "$wxUSE_SOCKETS" = yes; then
4073 echo "$as_me:$LINENO: result: yes" >&5
4074 echo "${ECHO_T}yes" >&6
4075 else
4076 echo "$as_me:$LINENO: result: no" >&5
4077 echo "${ECHO_T}no" >&6
4078 fi
4079
4080
4081 enablestring=
4082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4083 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4084 no_cache=0
4085 # Check whether --enable-ole or --disable-ole was given.
4086 if test "${enable_ole+set}" = set; then
4087 enableval="$enable_ole"
4088
4089 if test "$enableval" = yes; then
4090 ac_cv_use_ole='wxUSE_OLE=yes'
4091 else
4092 ac_cv_use_ole='wxUSE_OLE=no'
4093 fi
4094
4095 else
4096
4097 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x ; then
4099 eval "DEFAULT_$LINE"
4100 else
4101 no_cache=1
4102 fi
4103
4104 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4105
4106 fi;
4107
4108 eval "$ac_cv_use_ole"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4111 fi
4112
4113 if test "$wxUSE_OLE" = yes; then
4114 echo "$as_me:$LINENO: result: yes" >&5
4115 echo "${ECHO_T}yes" >&6
4116 else
4117 echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4119 fi
4120
4121
4122 enablestring=
4123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4124 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4125 no_cache=0
4126 # Check whether --enable-dataobj or --disable-dataobj was given.
4127 if test "${enable_dataobj+set}" = set; then
4128 enableval="$enable_dataobj"
4129
4130 if test "$enableval" = yes; then
4131 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4132 else
4133 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4134 fi
4135
4136 else
4137
4138 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x ; then
4140 eval "DEFAULT_$LINE"
4141 else
4142 no_cache=1
4143 fi
4144
4145 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4146
4147 fi;
4148
4149 eval "$ac_cv_use_dataobj"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4152 fi
4153
4154 if test "$wxUSE_DATAOBJ" = yes; then
4155 echo "$as_me:$LINENO: result: yes" >&5
4156 echo "${ECHO_T}yes" >&6
4157 else
4158 echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6
4160 fi
4161
4162
4163
4164 enablestring=
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-ipc or --disable-ipc was given.
4169 if test "${enable_ipc+set}" = set; then
4170 enableval="$enable_ipc"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_ipc='wxUSE_IPC=yes'
4174 else
4175 ac_cv_use_ipc='wxUSE_IPC=no'
4176 fi
4177
4178 else
4179
4180 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4188
4189 fi;
4190
4191 eval "$ac_cv_use_ipc"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_IPC" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205
4206 enablestring=
4207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4208 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4209 no_cache=0
4210 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4211 if test "${enable_apple_ieee+set}" = set; then
4212 enableval="$enable_apple_ieee"
4213
4214 if test "$enableval" = yes; then
4215 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4216 else
4217 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4218 fi
4219
4220 else
4221
4222 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4223 if test "x$LINE" != x ; then
4224 eval "DEFAULT_$LINE"
4225 else
4226 no_cache=1
4227 fi
4228
4229 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4230
4231 fi;
4232
4233 eval "$ac_cv_use_apple_ieee"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4236 fi
4237
4238 if test "$wxUSE_APPLE_IEEE" = yes; then
4239 echo "$as_me:$LINENO: result: yes" >&5
4240 echo "${ECHO_T}yes" >&6
4241 else
4242 echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6
4244 fi
4245
4246
4247 enablestring=
4248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4249 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4250 no_cache=0
4251 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4252 if test "${enable_catch_segvs+set}" = set; then
4253 enableval="$enable_catch_segvs"
4254
4255 if test "$enableval" = yes; then
4256 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4257 else
4258 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4259 fi
4260
4261 else
4262
4263 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x ; then
4265 eval "DEFAULT_$LINE"
4266 else
4267 no_cache=1
4268 fi
4269
4270 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4271
4272 fi;
4273
4274 eval "$ac_cv_use_catch_segvs"
4275 if test "$no_cache" != 1; then
4276 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4277 fi
4278
4279 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4280 echo "$as_me:$LINENO: result: yes" >&5
4281 echo "${ECHO_T}yes" >&6
4282 else
4283 echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6
4285 fi
4286
4287
4288 enablestring=
4289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4290 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4291 no_cache=0
4292 # Check whether --enable-cmdline or --disable-cmdline was given.
4293 if test "${enable_cmdline+set}" = set; then
4294 enableval="$enable_cmdline"
4295
4296 if test "$enableval" = yes; then
4297 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4298 else
4299 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4300 fi
4301
4302 else
4303
4304 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x ; then
4306 eval "DEFAULT_$LINE"
4307 else
4308 no_cache=1
4309 fi
4310
4311 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4312
4313 fi;
4314
4315 eval "$ac_cv_use_cmdline"
4316 if test "$no_cache" != 1; then
4317 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4318 fi
4319
4320 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4321 echo "$as_me:$LINENO: result: yes" >&5
4322 echo "${ECHO_T}yes" >&6
4323 else
4324 echo "$as_me:$LINENO: result: no" >&5
4325 echo "${ECHO_T}no" >&6
4326 fi
4327
4328
4329 enablestring=
4330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4331 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4332 no_cache=0
4333 # Check whether --enable-datetime or --disable-datetime was given.
4334 if test "${enable_datetime+set}" = set; then
4335 enableval="$enable_datetime"
4336
4337 if test "$enableval" = yes; then
4338 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4339 else
4340 ac_cv_use_datetime='wxUSE_DATETIME=no'
4341 fi
4342
4343 else
4344
4345 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x ; then
4347 eval "DEFAULT_$LINE"
4348 else
4349 no_cache=1
4350 fi
4351
4352 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4353
4354 fi;
4355
4356 eval "$ac_cv_use_datetime"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4359 fi
4360
4361 if test "$wxUSE_DATETIME" = yes; then
4362 echo "$as_me:$LINENO: result: yes" >&5
4363 echo "${ECHO_T}yes" >&6
4364 else
4365 echo "$as_me:$LINENO: result: no" >&5
4366 echo "${ECHO_T}no" >&6
4367 fi
4368
4369
4370 enablestring=
4371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4373 no_cache=0
4374 # Check whether --enable-dialupman or --disable-dialupman was given.
4375 if test "${enable_dialupman+set}" = set; then
4376 enableval="$enable_dialupman"
4377
4378 if test "$enableval" = yes; then
4379 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4380 else
4381 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4382 fi
4383
4384 else
4385
4386 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4389 else
4390 no_cache=1
4391 fi
4392
4393 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4394
4395 fi;
4396
4397 eval "$ac_cv_use_dialupman"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4400 fi
4401
4402 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4403 echo "$as_me:$LINENO: result: yes" >&5
4404 echo "${ECHO_T}yes" >&6
4405 else
4406 echo "$as_me:$LINENO: result: no" >&5
4407 echo "${ECHO_T}no" >&6
4408 fi
4409
4410
4411 enablestring=
4412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4414 no_cache=0
4415 # Check whether --enable-dynlib or --disable-dynlib was given.
4416 if test "${enable_dynlib+set}" = set; then
4417 enableval="$enable_dynlib"
4418
4419 if test "$enableval" = yes; then
4420 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4421 else
4422 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4423 fi
4424
4425 else
4426
4427 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x ; then
4429 eval "DEFAULT_$LINE"
4430 else
4431 no_cache=1
4432 fi
4433
4434 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4435
4436 fi;
4437
4438 eval "$ac_cv_use_dynlib"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4441 fi
4442
4443 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4444 echo "$as_me:$LINENO: result: yes" >&5
4445 echo "${ECHO_T}yes" >&6
4446 else
4447 echo "$as_me:$LINENO: result: no" >&5
4448 echo "${ECHO_T}no" >&6
4449 fi
4450
4451
4452 enablestring=
4453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4454 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4455 no_cache=0
4456 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4457 if test "${enable_dynamicloader+set}" = set; then
4458 enableval="$enable_dynamicloader"
4459
4460 if test "$enableval" = yes; then
4461 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4462 else
4463 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4464 fi
4465
4466 else
4467
4468 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4476
4477 fi;
4478
4479 eval "$ac_cv_use_dynamicloader"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4482 fi
4483
4484 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4485 echo "$as_me:$LINENO: result: yes" >&5
4486 echo "${ECHO_T}yes" >&6
4487 else
4488 echo "$as_me:$LINENO: result: no" >&5
4489 echo "${ECHO_T}no" >&6
4490 fi
4491
4492
4493 enablestring=
4494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4495 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4496 no_cache=0
4497 # Check whether --enable-exceptions or --disable-exceptions was given.
4498 if test "${enable_exceptions+set}" = set; then
4499 enableval="$enable_exceptions"
4500
4501 if test "$enableval" = yes; then
4502 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4503 else
4504 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4505 fi
4506
4507 else
4508
4509 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x ; then
4511 eval "DEFAULT_$LINE"
4512 else
4513 no_cache=1
4514 fi
4515
4516 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4517
4518 fi;
4519
4520 eval "$ac_cv_use_exceptions"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4523 fi
4524
4525 if test "$wxUSE_EXCEPTIONS" = yes; then
4526 echo "$as_me:$LINENO: result: yes" >&5
4527 echo "${ECHO_T}yes" >&6
4528 else
4529 echo "$as_me:$LINENO: result: no" >&5
4530 echo "${ECHO_T}no" >&6
4531 fi
4532
4533
4534 enablestring=
4535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4536 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4537 no_cache=0
4538 # Check whether --enable-ffile or --disable-ffile was given.
4539 if test "${enable_ffile+set}" = set; then
4540 enableval="$enable_ffile"
4541
4542 if test "$enableval" = yes; then
4543 ac_cv_use_ffile='wxUSE_FFILE=yes'
4544 else
4545 ac_cv_use_ffile='wxUSE_FFILE=no'
4546 fi
4547
4548 else
4549
4550 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x ; then
4552 eval "DEFAULT_$LINE"
4553 else
4554 no_cache=1
4555 fi
4556
4557 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4558
4559 fi;
4560
4561 eval "$ac_cv_use_ffile"
4562 if test "$no_cache" != 1; then
4563 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4564 fi
4565
4566 if test "$wxUSE_FFILE" = yes; then
4567 echo "$as_me:$LINENO: result: yes" >&5
4568 echo "${ECHO_T}yes" >&6
4569 else
4570 echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6
4572 fi
4573
4574
4575 enablestring=
4576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4577 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4578 no_cache=0
4579 # Check whether --enable-file or --disable-file was given.
4580 if test "${enable_file+set}" = set; then
4581 enableval="$enable_file"
4582
4583 if test "$enableval" = yes; then
4584 ac_cv_use_file='wxUSE_FILE=yes'
4585 else
4586 ac_cv_use_file='wxUSE_FILE=no'
4587 fi
4588
4589 else
4590
4591 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x ; then
4593 eval "DEFAULT_$LINE"
4594 else
4595 no_cache=1
4596 fi
4597
4598 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4599
4600 fi;
4601
4602 eval "$ac_cv_use_file"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4605 fi
4606
4607 if test "$wxUSE_FILE" = yes; then
4608 echo "$as_me:$LINENO: result: yes" >&5
4609 echo "${ECHO_T}yes" >&6
4610 else
4611 echo "$as_me:$LINENO: result: no" >&5
4612 echo "${ECHO_T}no" >&6
4613 fi
4614
4615
4616 enablestring=
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-filesystem or --disable-filesystem was given.
4621 if test "${enable_filesystem+set}" = set; then
4622 enableval="$enable_filesystem"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4626 else
4627 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4628 fi
4629
4630 else
4631
4632 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4640
4641 fi;
4642
4643 eval "$ac_cv_use_filesystem"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test "$wxUSE_FILESYSTEM" = yes; then
4649 echo "$as_me:$LINENO: result: yes" >&5
4650 echo "${ECHO_T}yes" >&6
4651 else
4652 echo "$as_me:$LINENO: result: no" >&5
4653 echo "${ECHO_T}no" >&6
4654 fi
4655
4656
4657 enablestring=
4658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4660 no_cache=0
4661 # Check whether --enable-fontmap or --disable-fontmap was given.
4662 if test "${enable_fontmap+set}" = set; then
4663 enableval="$enable_fontmap"
4664
4665 if test "$enableval" = yes; then
4666 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4667 else
4668 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4669 fi
4670
4671 else
4672
4673 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x ; then
4675 eval "DEFAULT_$LINE"
4676 else
4677 no_cache=1
4678 fi
4679
4680 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4681
4682 fi;
4683
4684 eval "$ac_cv_use_fontmap"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4687 fi
4688
4689 if test "$wxUSE_FONTMAP" = yes; then
4690 echo "$as_me:$LINENO: result: yes" >&5
4691 echo "${ECHO_T}yes" >&6
4692 else
4693 echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6
4695 fi
4696
4697
4698 enablestring=
4699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4701 no_cache=0
4702 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4703 if test "${enable_fs_inet+set}" = set; then
4704 enableval="$enable_fs_inet"
4705
4706 if test "$enableval" = yes; then
4707 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4708 else
4709 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4710 fi
4711
4712 else
4713
4714 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x ; then
4716 eval "DEFAULT_$LINE"
4717 else
4718 no_cache=1
4719 fi
4720
4721 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4722
4723 fi;
4724
4725 eval "$ac_cv_use_fs_inet"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4728 fi
4729
4730 if test "$wxUSE_FS_INET" = yes; then
4731 echo "$as_me:$LINENO: result: yes" >&5
4732 echo "${ECHO_T}yes" >&6
4733 else
4734 echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6
4736 fi
4737
4738
4739 enablestring=
4740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4741 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4742 no_cache=0
4743 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4744 if test "${enable_fs_zip+set}" = set; then
4745 enableval="$enable_fs_zip"
4746
4747 if test "$enableval" = yes; then
4748 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4749 else
4750 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4751 fi
4752
4753 else
4754
4755 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x ; then
4757 eval "DEFAULT_$LINE"
4758 else
4759 no_cache=1
4760 fi
4761
4762 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4763
4764 fi;
4765
4766 eval "$ac_cv_use_fs_zip"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4769 fi
4770
4771 if test "$wxUSE_FS_ZIP" = yes; then
4772 echo "$as_me:$LINENO: result: yes" >&5
4773 echo "${ECHO_T}yes" >&6
4774 else
4775 echo "$as_me:$LINENO: result: no" >&5
4776 echo "${ECHO_T}no" >&6
4777 fi
4778
4779
4780 enablestring=
4781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4782 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4783 no_cache=0
4784 # Check whether --enable-geometry or --disable-geometry was given.
4785 if test "${enable_geometry+set}" = set; then
4786 enableval="$enable_geometry"
4787
4788 if test "$enableval" = yes; then
4789 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4790 else
4791 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4792 fi
4793
4794 else
4795
4796 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x ; then
4798 eval "DEFAULT_$LINE"
4799 else
4800 no_cache=1
4801 fi
4802
4803 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4804
4805 fi;
4806
4807 eval "$ac_cv_use_geometry"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4810 fi
4811
4812 if test "$wxUSE_GEOMETRY" = yes; then
4813 echo "$as_me:$LINENO: result: yes" >&5
4814 echo "${ECHO_T}yes" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4818 fi
4819
4820
4821 enablestring=
4822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4824 no_cache=0
4825 # Check whether --enable-log or --disable-log was given.
4826 if test "${enable_log+set}" = set; then
4827 enableval="$enable_log"
4828
4829 if test "$enableval" = yes; then
4830 ac_cv_use_log='wxUSE_LOG=yes'
4831 else
4832 ac_cv_use_log='wxUSE_LOG=no'
4833 fi
4834
4835 else
4836
4837 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x ; then
4839 eval "DEFAULT_$LINE"
4840 else
4841 no_cache=1
4842 fi
4843
4844 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4845
4846 fi;
4847
4848 eval "$ac_cv_use_log"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4851 fi
4852
4853 if test "$wxUSE_LOG" = yes; then
4854 echo "$as_me:$LINENO: result: yes" >&5
4855 echo "${ECHO_T}yes" >&6
4856 else
4857 echo "$as_me:$LINENO: result: no" >&5
4858 echo "${ECHO_T}no" >&6
4859 fi
4860
4861
4862 enablestring=
4863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4864 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4865 no_cache=0
4866 # Check whether --enable-longlong or --disable-longlong was given.
4867 if test "${enable_longlong+set}" = set; then
4868 enableval="$enable_longlong"
4869
4870 if test "$enableval" = yes; then
4871 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4872 else
4873 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4874 fi
4875
4876 else
4877
4878 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x ; then
4880 eval "DEFAULT_$LINE"
4881 else
4882 no_cache=1
4883 fi
4884
4885 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4886
4887 fi;
4888
4889 eval "$ac_cv_use_longlong"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4892 fi
4893
4894 if test "$wxUSE_LONGLONG" = yes; then
4895 echo "$as_me:$LINENO: result: yes" >&5
4896 echo "${ECHO_T}yes" >&6
4897 else
4898 echo "$as_me:$LINENO: result: no" >&5
4899 echo "${ECHO_T}no" >&6
4900 fi
4901
4902
4903 enablestring=
4904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
4905 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
4906 no_cache=0
4907 # Check whether --enable-mimetype or --disable-mimetype was given.
4908 if test "${enable_mimetype+set}" = set; then
4909 enableval="$enable_mimetype"
4910
4911 if test "$enableval" = yes; then
4912 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4913 else
4914 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4915 fi
4916
4917 else
4918
4919 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4920 if test "x$LINE" != x ; then
4921 eval "DEFAULT_$LINE"
4922 else
4923 no_cache=1
4924 fi
4925
4926 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4927
4928 fi;
4929
4930 eval "$ac_cv_use_mimetype"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4933 fi
4934
4935 if test "$wxUSE_MIMETYPE" = yes; then
4936 echo "$as_me:$LINENO: result: yes" >&5
4937 echo "${ECHO_T}yes" >&6
4938 else
4939 echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6
4941 fi
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-mslu or --disable-mslu was given.
4949 if test "${enable_mslu+set}" = set; then
4950 enableval="$enable_mslu"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4954 else
4955 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4956 fi
4957
4958 else
4959
4960 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4968
4969 fi;
4970
4971 eval "$ac_cv_use_mslu"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_UNICODE_MSLU" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985 enablestring=
4986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
4988 no_cache=0
4989 # Check whether --enable-snglinst or --disable-snglinst was given.
4990 if test "${enable_snglinst+set}" = set; then
4991 enableval="$enable_snglinst"
4992
4993 if test "$enableval" = yes; then
4994 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
4995 else
4996 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
4997 fi
4998
4999 else
5000
5001 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5002 if test "x$LINE" != x ; then
5003 eval "DEFAULT_$LINE"
5004 else
5005 no_cache=1
5006 fi
5007
5008 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5009
5010 fi;
5011
5012 eval "$ac_cv_use_snglinst"
5013 if test "$no_cache" != 1; then
5014 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5015 fi
5016
5017 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5018 echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5023 fi
5024
5025
5026 enablestring=
5027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5028 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5029 no_cache=0
5030 # Check whether --enable-streams or --disable-streams was given.
5031 if test "${enable_streams+set}" = set; then
5032 enableval="$enable_streams"
5033
5034 if test "$enableval" = yes; then
5035 ac_cv_use_streams='wxUSE_STREAMS=yes'
5036 else
5037 ac_cv_use_streams='wxUSE_STREAMS=no'
5038 fi
5039
5040 else
5041
5042 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5043 if test "x$LINE" != x ; then
5044 eval "DEFAULT_$LINE"
5045 else
5046 no_cache=1
5047 fi
5048
5049 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5050
5051 fi;
5052
5053 eval "$ac_cv_use_streams"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5056 fi
5057
5058 if test "$wxUSE_STREAMS" = yes; then
5059 echo "$as_me:$LINENO: result: yes" >&5
5060 echo "${ECHO_T}yes" >&6
5061 else
5062 echo "$as_me:$LINENO: result: no" >&5
5063 echo "${ECHO_T}no" >&6
5064 fi
5065
5066
5067 enablestring=
5068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5070 no_cache=0
5071 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5072 if test "${enable_std_iostreams+set}" = set; then
5073 enableval="$enable_std_iostreams"
5074
5075 if test "$enableval" = yes; then
5076 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5077 else
5078 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5079 fi
5080
5081 else
5082
5083 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x ; then
5085 eval "DEFAULT_$LINE"
5086 else
5087 no_cache=1
5088 fi
5089
5090 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5091
5092 fi;
5093
5094 eval "$ac_cv_use_std_iostreams"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5097 fi
5098
5099 if test "$wxUSE_STD_IOSTREAM" = yes; then
5100 echo "$as_me:$LINENO: result: yes" >&5
5101 echo "${ECHO_T}yes" >&6
5102 else
5103 echo "$as_me:$LINENO: result: no" >&5
5104 echo "${ECHO_T}no" >&6
5105 fi
5106
5107
5108 enablestring=
5109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5111 no_cache=0
5112 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5113 if test "${enable_stopwatch+set}" = set; then
5114 enableval="$enable_stopwatch"
5115
5116 if test "$enableval" = yes; then
5117 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5118 else
5119 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5120 fi
5121
5122 else
5123
5124 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x ; then
5126 eval "DEFAULT_$LINE"
5127 else
5128 no_cache=1
5129 fi
5130
5131 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5132
5133 fi;
5134
5135 eval "$ac_cv_use_stopwatch"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5138 fi
5139
5140 if test "$wxUSE_STOPWATCH" = yes; then
5141 echo "$as_me:$LINENO: result: yes" >&5
5142 echo "${ECHO_T}yes" >&6
5143 else
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5146 fi
5147
5148
5149 enablestring=
5150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5151 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5152 no_cache=0
5153 # Check whether --enable-system_options or --disable-system_options was given.
5154 if test "${enable_system_options+set}" = set; then
5155 enableval="$enable_system_options"
5156
5157 if test "$enableval" = yes; then
5158 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5159 else
5160 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5161 fi
5162
5163 else
5164
5165 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5166 if test "x$LINE" != x ; then
5167 eval "DEFAULT_$LINE"
5168 else
5169 no_cache=1
5170 fi
5171
5172 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5173
5174 fi;
5175
5176 eval "$ac_cv_use_system_options"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5179 fi
5180
5181 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5182 echo "$as_me:$LINENO: result: yes" >&5
5183 echo "${ECHO_T}yes" >&6
5184 else
5185 echo "$as_me:$LINENO: result: no" >&5
5186 echo "${ECHO_T}no" >&6
5187 fi
5188
5189
5190 enablestring=
5191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5192 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5193 no_cache=0
5194 # Check whether --enable-textbuf or --disable-textbuf was given.
5195 if test "${enable_textbuf+set}" = set; then
5196 enableval="$enable_textbuf"
5197
5198 if test "$enableval" = yes; then
5199 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5200 else
5201 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5202 fi
5203
5204 else
5205
5206 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x ; then
5208 eval "DEFAULT_$LINE"
5209 else
5210 no_cache=1
5211 fi
5212
5213 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5214
5215 fi;
5216
5217 eval "$ac_cv_use_textbuf"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5220 fi
5221
5222 if test "$wxUSE_TEXTBUFFER" = yes; then
5223 echo "$as_me:$LINENO: result: yes" >&5
5224 echo "${ECHO_T}yes" >&6
5225 else
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5228 fi
5229
5230
5231 enablestring=
5232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5233 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5234 no_cache=0
5235 # Check whether --enable-textfile or --disable-textfile was given.
5236 if test "${enable_textfile+set}" = set; then
5237 enableval="$enable_textfile"
5238
5239 if test "$enableval" = yes; then
5240 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5241 else
5242 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5243 fi
5244
5245 else
5246
5247 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5248 if test "x$LINE" != x ; then
5249 eval "DEFAULT_$LINE"
5250 else
5251 no_cache=1
5252 fi
5253
5254 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5255
5256 fi;
5257
5258 eval "$ac_cv_use_textfile"
5259 if test "$no_cache" != 1; then
5260 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test "$wxUSE_TEXTFILE" = yes; then
5264 echo "$as_me:$LINENO: result: yes" >&5
5265 echo "${ECHO_T}yes" >&6
5266 else
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5269 fi
5270
5271
5272 enablestring=
5273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5275 no_cache=0
5276 # Check whether --enable-timer or --disable-timer was given.
5277 if test "${enable_timer+set}" = set; then
5278 enableval="$enable_timer"
5279
5280 if test "$enableval" = yes; then
5281 ac_cv_use_timer='wxUSE_TIMER=yes'
5282 else
5283 ac_cv_use_timer='wxUSE_TIMER=no'
5284 fi
5285
5286 else
5287
5288 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x ; then
5290 eval "DEFAULT_$LINE"
5291 else
5292 no_cache=1
5293 fi
5294
5295 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5296
5297 fi;
5298
5299 eval "$ac_cv_use_timer"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$wxUSE_TIMER" = yes; then
5305 echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6
5307 else
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5310 fi
5311
5312
5313 enablestring=
5314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5316 no_cache=0
5317 # Check whether --enable-unicode or --disable-unicode was given.
5318 if test "${enable_unicode+set}" = set; then
5319 enableval="$enable_unicode"
5320
5321 if test "$enableval" = yes; then
5322 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5323 else
5324 ac_cv_use_unicode='wxUSE_UNICODE=no'
5325 fi
5326
5327 else
5328
5329 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x ; then
5331 eval "DEFAULT_$LINE"
5332 else
5333 no_cache=1
5334 fi
5335
5336 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5337
5338 fi;
5339
5340 eval "$ac_cv_use_unicode"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$wxUSE_UNICODE" = yes; then
5346 echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6
5348 else
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5351 fi
5352
5353
5354 enablestring=
5355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5357 no_cache=0
5358 # Check whether --enable-wave or --disable-wave was given.
5359 if test "${enable_wave+set}" = set; then
5360 enableval="$enable_wave"
5361
5362 if test "$enableval" = yes; then
5363 ac_cv_use_wave='wxUSE_WAVE=yes'
5364 else
5365 ac_cv_use_wave='wxUSE_WAVE=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5378
5379 fi;
5380
5381 eval "$ac_cv_use_wave"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5384 fi
5385
5386 if test "$wxUSE_WAVE" = yes; then
5387 echo "$as_me:$LINENO: result: yes" >&5
5388 echo "${ECHO_T}yes" >&6
5389 else
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5392 fi
5393
5394
5395 enablestring=
5396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5398 no_cache=0
5399 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5400 if test "${enable_wxprintfv+set}" = set; then
5401 enableval="$enable_wxprintfv"
5402
5403 if test "$enableval" = yes; then
5404 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5405 else
5406 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5407 fi
5408
5409 else
5410
5411 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x ; then
5413 eval "DEFAULT_$LINE"
5414 else
5415 no_cache=1
5416 fi
5417
5418 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5419
5420 fi;
5421
5422 eval "$ac_cv_use_wxprintfv"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5425 fi
5426
5427 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5428 echo "$as_me:$LINENO: result: yes" >&5
5429 echo "${ECHO_T}yes" >&6
5430 else
5431 echo "$as_me:$LINENO: result: no" >&5
5432 echo "${ECHO_T}no" >&6
5433 fi
5434
5435
5436 enablestring=
5437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5438 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5439 no_cache=0
5440 # Check whether --enable-zipstream or --disable-zipstream was given.
5441 if test "${enable_zipstream+set}" = set; then
5442 enableval="$enable_zipstream"
5443
5444 if test "$enableval" = yes; then
5445 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5446 else
5447 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5448 fi
5449
5450 else
5451
5452 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x ; then
5454 eval "DEFAULT_$LINE"
5455 else
5456 no_cache=1
5457 fi
5458
5459 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5460
5461 fi;
5462
5463 eval "$ac_cv_use_zipstream"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5466 fi
5467
5468 if test "$wxUSE_ZIPSTREAM" = yes; then
5469 echo "$as_me:$LINENO: result: yes" >&5
5470 echo "${ECHO_T}yes" >&6
5471 else
5472 echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6
5474 fi
5475
5476
5477 enablestring=
5478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5480 no_cache=0
5481 # Check whether --enable-gzstream or --disable-gzstream was given.
5482 if test "${enable_gzstream+set}" = set; then
5483 enableval="$enable_gzstream"
5484
5485 if test "$enableval" = yes; then
5486 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5487 else
5488 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5489 fi
5490
5491 else
5492
5493 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x ; then
5495 eval "DEFAULT_$LINE"
5496 else
5497 no_cache=1
5498 fi
5499
5500 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5501
5502 fi;
5503
5504 eval "$ac_cv_use_gzstream"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5507 fi
5508
5509 if test "$wxUSE_GZSTREAM" = yes; then
5510 echo "$as_me:$LINENO: result: yes" >&5
5511 echo "${ECHO_T}yes" >&6
5512 else
5513 echo "$as_me:$LINENO: result: no" >&5
5514 echo "${ECHO_T}no" >&6
5515 fi
5516
5517
5518
5519 enablestring=
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5522 no_cache=0
5523 # Check whether --enable-url or --disable-url was given.
5524 if test "${enable_url+set}" = set; then
5525 enableval="$enable_url"
5526
5527 if test "$enableval" = yes; then
5528 ac_cv_use_url='wxUSE_URL=yes'
5529 else
5530 ac_cv_use_url='wxUSE_URL=no'
5531 fi
5532
5533 else
5534
5535 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x ; then
5537 eval "DEFAULT_$LINE"
5538 else
5539 no_cache=1
5540 fi
5541
5542 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5543
5544 fi;
5545
5546 eval "$ac_cv_use_url"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5549 fi
5550
5551 if test "$wxUSE_URL" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553 echo "${ECHO_T}yes" >&6
5554 else
5555 echo "$as_me:$LINENO: result: no" >&5
5556 echo "${ECHO_T}no" >&6
5557 fi
5558
5559
5560 enablestring=
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5562 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5563 no_cache=0
5564 # Check whether --enable-protocol or --disable-protocol was given.
5565 if test "${enable_protocol+set}" = set; then
5566 enableval="$enable_protocol"
5567
5568 if test "$enableval" = yes; then
5569 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5570 else
5571 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5572 fi
5573
5574 else
5575
5576 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x ; then
5578 eval "DEFAULT_$LINE"
5579 else
5580 no_cache=1
5581 fi
5582
5583 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5584
5585 fi;
5586
5587 eval "$ac_cv_use_protocol"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5590 fi
5591
5592 if test "$wxUSE_PROTOCOL" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594 echo "${ECHO_T}yes" >&6
5595 else
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5598 fi
5599
5600
5601 enablestring=
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5603 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5604 no_cache=0
5605 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5606 if test "${enable_protocol_http+set}" = set; then
5607 enableval="$enable_protocol_http"
5608
5609 if test "$enableval" = yes; then
5610 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5611 else
5612 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5613 fi
5614
5615 else
5616
5617 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x ; then
5619 eval "DEFAULT_$LINE"
5620 else
5621 no_cache=1
5622 fi
5623
5624 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5625
5626 fi;
5627
5628 eval "$ac_cv_use_protocol_http"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5631 fi
5632
5633 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635 echo "${ECHO_T}yes" >&6
5636 else
5637 echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5639 fi
5640
5641
5642 enablestring=
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5645 no_cache=0
5646 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5647 if test "${enable_protocol_ftp+set}" = set; then
5648 enableval="$enable_protocol_ftp"
5649
5650 if test "$enableval" = yes; then
5651 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5652 else
5653 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5654 fi
5655
5656 else
5657
5658 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x ; then
5660 eval "DEFAULT_$LINE"
5661 else
5662 no_cache=1
5663 fi
5664
5665 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5666
5667 fi;
5668
5669 eval "$ac_cv_use_protocol_ftp"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5672 fi
5673
5674 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676 echo "${ECHO_T}yes" >&6
5677 else
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5680 fi
5681
5682
5683 enablestring=
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5686 no_cache=0
5687 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5688 if test "${enable_protocol_file+set}" = set; then
5689 enableval="$enable_protocol_file"
5690
5691 if test "$enableval" = yes; then
5692 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5693 else
5694 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5695 fi
5696
5697 else
5698
5699 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5702 else
5703 no_cache=1
5704 fi
5705
5706 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5707
5708 fi;
5709
5710 eval "$ac_cv_use_protocol_file"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5713 fi
5714
5715 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717 echo "${ECHO_T}yes" >&6
5718 else
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5721 fi
5722
5723
5724
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-threads or --disable-threads was given.
5732 if test "${enable_threads+set}" = set; then
5733 enableval="$enable_threads"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_threads='wxUSE_THREADS=yes'
5737 else
5738 ac_cv_use_threads='wxUSE_THREADS=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5751
5752 fi;
5753
5754 eval "$ac_cv_use_threads"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_THREADS" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768 if test "$wxUSE_GUI" = "yes"; then
5769
5770
5771
5772 enablestring=
5773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5774 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5775 no_cache=0
5776 # Check whether --enable-docview or --disable-docview was given.
5777 if test "${enable_docview+set}" = set; then
5778 enableval="$enable_docview"
5779
5780 if test "$enableval" = yes; then
5781 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5782 else
5783 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5784 fi
5785
5786 else
5787
5788 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x ; then
5790 eval "DEFAULT_$LINE"
5791 else
5792 no_cache=1
5793 fi
5794
5795 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5796
5797 fi;
5798
5799 eval "$ac_cv_use_docview"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5802 fi
5803
5804 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5805 echo "$as_me:$LINENO: result: yes" >&5
5806 echo "${ECHO_T}yes" >&6
5807 else
5808 echo "$as_me:$LINENO: result: no" >&5
5809 echo "${ECHO_T}no" >&6
5810 fi
5811
5812
5813 enablestring=
5814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5816 no_cache=0
5817 # Check whether --enable-help or --disable-help was given.
5818 if test "${enable_help+set}" = set; then
5819 enableval="$enable_help"
5820
5821 if test "$enableval" = yes; then
5822 ac_cv_use_help='wxUSE_HELP=yes'
5823 else
5824 ac_cv_use_help='wxUSE_HELP=no'
5825 fi
5826
5827 else
5828
5829 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5830 if test "x$LINE" != x ; then
5831 eval "DEFAULT_$LINE"
5832 else
5833 no_cache=1
5834 fi
5835
5836 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5837
5838 fi;
5839
5840 eval "$ac_cv_use_help"
5841 if test "$no_cache" != 1; then
5842 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5843 fi
5844
5845 if test "$wxUSE_HELP" = yes; then
5846 echo "$as_me:$LINENO: result: yes" >&5
5847 echo "${ECHO_T}yes" >&6
5848 else
5849 echo "$as_me:$LINENO: result: no" >&5
5850 echo "${ECHO_T}no" >&6
5851 fi
5852
5853
5854 enablestring=
5855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5857 no_cache=0
5858 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5859 if test "${enable_mshtmlhelp+set}" = set; then
5860 enableval="$enable_mshtmlhelp"
5861
5862 if test "$enableval" = yes; then
5863 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5864 else
5865 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5866 fi
5867
5868 else
5869
5870 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5871 if test "x$LINE" != x ; then
5872 eval "DEFAULT_$LINE"
5873 else
5874 no_cache=1
5875 fi
5876
5877 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5878
5879 fi;
5880
5881 eval "$ac_cv_use_mshtmlhelp"
5882 if test "$no_cache" != 1; then
5883 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5884 fi
5885
5886 if test "$wxUSE_MS_HTML_HELP" = yes; then
5887 echo "$as_me:$LINENO: result: yes" >&5
5888 echo "${ECHO_T}yes" >&6
5889 else
5890 echo "$as_me:$LINENO: result: no" >&5
5891 echo "${ECHO_T}no" >&6
5892 fi
5893
5894
5895 enablestring=
5896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5897 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5898 no_cache=0
5899 # Check whether --enable-html or --disable-html was given.
5900 if test "${enable_html+set}" = set; then
5901 enableval="$enable_html"
5902
5903 if test "$enableval" = yes; then
5904 ac_cv_use_html='wxUSE_HTML=yes'
5905 else
5906 ac_cv_use_html='wxUSE_HTML=no'
5907 fi
5908
5909 else
5910
5911 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5912 if test "x$LINE" != x ; then
5913 eval "DEFAULT_$LINE"
5914 else
5915 no_cache=1
5916 fi
5917
5918 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5919
5920 fi;
5921
5922 eval "$ac_cv_use_html"
5923 if test "$no_cache" != 1; then
5924 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5925 fi
5926
5927 if test "$wxUSE_HTML" = yes; then
5928 echo "$as_me:$LINENO: result: yes" >&5
5929 echo "${ECHO_T}yes" >&6
5930 else
5931 echo "$as_me:$LINENO: result: no" >&5
5932 echo "${ECHO_T}no" >&6
5933 fi
5934
5935
5936 enablestring=
5937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5939 no_cache=0
5940 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5941 if test "${enable_htmlhelp+set}" = set; then
5942 enableval="$enable_htmlhelp"
5943
5944 if test "$enableval" = yes; then
5945 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5946 else
5947 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5948 fi
5949
5950 else
5951
5952 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5953 if test "x$LINE" != x ; then
5954 eval "DEFAULT_$LINE"
5955 else
5956 no_cache=1
5957 fi
5958
5959 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5960
5961 fi;
5962
5963 eval "$ac_cv_use_htmlhelp"
5964 if test "$no_cache" != 1; then
5965 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5966 fi
5967
5968 if test "$wxUSE_WXHTML_HELP" = yes; then
5969 echo "$as_me:$LINENO: result: yes" >&5
5970 echo "${ECHO_T}yes" >&6
5971 else
5972 echo "$as_me:$LINENO: result: no" >&5
5973 echo "${ECHO_T}no" >&6
5974 fi
5975
5976
5977 enablestring=
5978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5979 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5980 no_cache=0
5981 # Check whether --enable-constraints or --disable-constraints was given.
5982 if test "${enable_constraints+set}" = set; then
5983 enableval="$enable_constraints"
5984
5985 if test "$enableval" = yes; then
5986 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5987 else
5988 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5989 fi
5990
5991 else
5992
5993 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5994 if test "x$LINE" != x ; then
5995 eval "DEFAULT_$LINE"
5996 else
5997 no_cache=1
5998 fi
5999
6000 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6001
6002 fi;
6003
6004 eval "$ac_cv_use_constraints"
6005 if test "$no_cache" != 1; then
6006 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6007 fi
6008
6009 if test "$wxUSE_CONSTRAINTS" = yes; then
6010 echo "$as_me:$LINENO: result: yes" >&5
6011 echo "${ECHO_T}yes" >&6
6012 else
6013 echo "$as_me:$LINENO: result: no" >&5
6014 echo "${ECHO_T}no" >&6
6015 fi
6016
6017
6018 enablestring=
6019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6020 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6021 no_cache=0
6022 # Check whether --enable-printarch or --disable-printarch was given.
6023 if test "${enable_printarch+set}" = set; then
6024 enableval="$enable_printarch"
6025
6026 if test "$enableval" = yes; then
6027 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6028 else
6029 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6030 fi
6031
6032 else
6033
6034 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6035 if test "x$LINE" != x ; then
6036 eval "DEFAULT_$LINE"
6037 else
6038 no_cache=1
6039 fi
6040
6041 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6042
6043 fi;
6044
6045 eval "$ac_cv_use_printarch"
6046 if test "$no_cache" != 1; then
6047 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6048 fi
6049
6050 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6051 echo "$as_me:$LINENO: result: yes" >&5
6052 echo "${ECHO_T}yes" >&6
6053 else
6054 echo "$as_me:$LINENO: result: no" >&5
6055 echo "${ECHO_T}no" >&6
6056 fi
6057
6058
6059 enablestring=
6060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6061 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6062 no_cache=0
6063 # Check whether --enable-mdi or --disable-mdi was given.
6064 if test "${enable_mdi+set}" = set; then
6065 enableval="$enable_mdi"
6066
6067 if test "$enableval" = yes; then
6068 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6069 else
6070 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6071 fi
6072
6073 else
6074
6075 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6076 if test "x$LINE" != x ; then
6077 eval "DEFAULT_$LINE"
6078 else
6079 no_cache=1
6080 fi
6081
6082 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6083
6084 fi;
6085
6086 eval "$ac_cv_use_mdi"
6087 if test "$no_cache" != 1; then
6088 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6089 fi
6090
6091 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6092 echo "$as_me:$LINENO: result: yes" >&5
6093 echo "${ECHO_T}yes" >&6
6094 else
6095 echo "$as_me:$LINENO: result: no" >&5
6096 echo "${ECHO_T}no" >&6
6097 fi
6098
6099
6100 enablestring=
6101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6102 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6103 no_cache=0
6104 # Check whether --enable-loggui or --disable-loggui was given.
6105 if test "${enable_loggui+set}" = set; then
6106 enableval="$enable_loggui"
6107
6108 if test "$enableval" = yes; then
6109 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6110 else
6111 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6112 fi
6113
6114 else
6115
6116 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x ; then
6118 eval "DEFAULT_$LINE"
6119 else
6120 no_cache=1
6121 fi
6122
6123 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6124
6125 fi;
6126
6127 eval "$ac_cv_use_loggui"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6130 fi
6131
6132 if test "$wxUSE_LOGGUI" = yes; then
6133 echo "$as_me:$LINENO: result: yes" >&5
6134 echo "${ECHO_T}yes" >&6
6135 else
6136 echo "$as_me:$LINENO: result: no" >&5
6137 echo "${ECHO_T}no" >&6
6138 fi
6139
6140
6141 enablestring=
6142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6143 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6144 no_cache=0
6145 # Check whether --enable-logwin or --disable-logwin was given.
6146 if test "${enable_logwin+set}" = set; then
6147 enableval="$enable_logwin"
6148
6149 if test "$enableval" = yes; then
6150 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6151 else
6152 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6153 fi
6154
6155 else
6156
6157 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6160 else
6161 no_cache=1
6162 fi
6163
6164 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6165
6166 fi;
6167
6168 eval "$ac_cv_use_logwin"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6171 fi
6172
6173 if test "$wxUSE_LOGWINDOW" = yes; then
6174 echo "$as_me:$LINENO: result: yes" >&5
6175 echo "${ECHO_T}yes" >&6
6176 else
6177 echo "$as_me:$LINENO: result: no" >&5
6178 echo "${ECHO_T}no" >&6
6179 fi
6180
6181
6182 enablestring=
6183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6184 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6185 no_cache=0
6186 # Check whether --enable-logdialog or --disable-logdialog was given.
6187 if test "${enable_logdialog+set}" = set; then
6188 enableval="$enable_logdialog"
6189
6190 if test "$enableval" = yes; then
6191 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6192 else
6193 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6194 fi
6195
6196 else
6197
6198 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6199 if test "x$LINE" != x ; then
6200 eval "DEFAULT_$LINE"
6201 else
6202 no_cache=1
6203 fi
6204
6205 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6206
6207 fi;
6208
6209 eval "$ac_cv_use_logdialog"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6212 fi
6213
6214 if test "$wxUSE_LOGDIALOG" = yes; then
6215 echo "$as_me:$LINENO: result: yes" >&5
6216 echo "${ECHO_T}yes" >&6
6217 else
6218 echo "$as_me:$LINENO: result: no" >&5
6219 echo "${ECHO_T}no" >&6
6220 fi
6221
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-postscript or --disable-postscript was given.
6229 if test "${enable_postscript+set}" = set; then
6230 enableval="$enable_postscript"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6234 else
6235 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6248
6249 fi;
6250
6251 eval "$ac_cv_use_postscript"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_POSTSCRIPT" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265
6266
6267
6268 enablestring=
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6271 no_cache=0
6272 # Check whether --enable-prologio or --disable-prologio was given.
6273 if test "${enable_prologio+set}" = set; then
6274 enableval="$enable_prologio"
6275
6276 if test "$enableval" = yes; then
6277 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6278 else
6279 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6280 fi
6281
6282 else
6283
6284 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6287 else
6288 no_cache=1
6289 fi
6290
6291 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6292
6293 fi;
6294
6295 eval "$ac_cv_use_prologio"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6298 fi
6299
6300 if test "$wxUSE_PROLOGIO" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6303 else
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6306 fi
6307
6308
6309 enablestring=
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6312 no_cache=0
6313 # Check whether --enable-resources or --disable-resources was given.
6314 if test "${enable_resources+set}" = set; then
6315 enableval="$enable_resources"
6316
6317 if test "$enableval" = yes; then
6318 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6319 else
6320 ac_cv_use_resources='wxUSE_RESOURCES=no'
6321 fi
6322
6323 else
6324
6325 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6328 else
6329 no_cache=1
6330 fi
6331
6332 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6333
6334 fi;
6335
6336 eval "$ac_cv_use_resources"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_RESOURCES" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6344 else
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6347 fi
6348
6349
6350
6351
6352 enablestring=
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6354 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6355 no_cache=0
6356 # Check whether --enable-clipboard or --disable-clipboard was given.
6357 if test "${enable_clipboard+set}" = set; then
6358 enableval="$enable_clipboard"
6359
6360 if test "$enableval" = yes; then
6361 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6362 else
6363 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6364 fi
6365
6366 else
6367
6368 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 else
6372 no_cache=1
6373 fi
6374
6375 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6376
6377 fi;
6378
6379 eval "$ac_cv_use_clipboard"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6382 fi
6383
6384 if test "$wxUSE_CLIPBOARD" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386 echo "${ECHO_T}yes" >&6
6387 else
6388 echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6
6390 fi
6391
6392
6393 enablestring=
6394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6395 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6396 no_cache=0
6397 # Check whether --enable-dnd or --disable-dnd was given.
6398 if test "${enable_dnd+set}" = set; then
6399 enableval="$enable_dnd"
6400
6401 if test "$enableval" = yes; then
6402 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6403 else
6404 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6405 fi
6406
6407 else
6408
6409 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6410 if test "x$LINE" != x ; then
6411 eval "DEFAULT_$LINE"
6412 else
6413 no_cache=1
6414 fi
6415
6416 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6417
6418 fi;
6419
6420 eval "$ac_cv_use_dnd"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6423 fi
6424
6425 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6426 echo "$as_me:$LINENO: result: yes" >&5
6427 echo "${ECHO_T}yes" >&6
6428 else
6429 echo "$as_me:$LINENO: result: no" >&5
6430 echo "${ECHO_T}no" >&6
6431 fi
6432
6433
6434 enablestring=
6435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6436 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6437 no_cache=0
6438 # Check whether --enable-metafile or --disable-metafile was given.
6439 if test "${enable_metafile+set}" = set; then
6440 enableval="$enable_metafile"
6441
6442 if test "$enableval" = yes; then
6443 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6444 else
6445 ac_cv_use_metafile='wxUSE_METAFILE=no'
6446 fi
6447
6448 else
6449
6450 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x ; then
6452 eval "DEFAULT_$LINE"
6453 else
6454 no_cache=1
6455 fi
6456
6457 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6458
6459 fi;
6460
6461 eval "$ac_cv_use_metafile"
6462 if test "$no_cache" != 1; then
6463 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6464 fi
6465
6466 if test "$wxUSE_METAFILE" = yes; then
6467 echo "$as_me:$LINENO: result: yes" >&5
6468 echo "${ECHO_T}yes" >&6
6469 else
6470 echo "$as_me:$LINENO: result: no" >&5
6471 echo "${ECHO_T}no" >&6
6472 fi
6473
6474
6475
6476
6477
6478 enablestring=
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6481 no_cache=0
6482 # Check whether --enable-controls or --disable-controls was given.
6483 if test "${enable_controls+set}" = set; then
6484 enableval="$enable_controls"
6485
6486 if test "$enableval" = yes; then
6487 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6488 else
6489 ac_cv_use_controls='wxUSE_CONTROLS=no'
6490 fi
6491
6492 else
6493
6494 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x ; then
6496 eval "DEFAULT_$LINE"
6497 else
6498 no_cache=1
6499 fi
6500
6501 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6502
6503 fi;
6504
6505 eval "$ac_cv_use_controls"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6508 fi
6509
6510 if test "$wxUSE_CONTROLS" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6513 else
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6516 fi
6517
6518
6519 if test "$wxUSE_CONTROLS" = "yes"; then
6520 DEFAULT_wxUSE_ACCEL=yes
6521 DEFAULT_wxUSE_BMPBUTTON=yes
6522 DEFAULT_wxUSE_BUTTON=yes
6523 DEFAULT_wxUSE_CALCTRL=no
6524 DEFAULT_wxUSE_CARET=yes
6525 DEFAULT_wxUSE_COMBOBOX=yes
6526 DEFAULT_wxUSE_CHECKBOX=yes
6527 DEFAULT_wxUSE_CHECKLISTBOX=yes
6528 DEFAULT_wxUSE_CHOICE=yes
6529 DEFAULT_wxUSE_GAUGE=yes
6530 DEFAULT_wxUSE_GRID=yes
6531 DEFAULT_wxUSE_IMAGLIST=yes
6532 DEFAULT_wxUSE_LISTBOOK=yes
6533 DEFAULT_wxUSE_LISTBOX=yes
6534 DEFAULT_wxUSE_LISTCTRL=yes
6535 DEFAULT_wxUSE_NOTEBOOK=yes
6536 DEFAULT_wxUSE_RADIOBOX=yes
6537 DEFAULT_wxUSE_RADIOBTN=yes
6538 DEFAULT_wxUSE_SASH=yes
6539 DEFAULT_wxUSE_SCROLLBAR=yes
6540 DEFAULT_wxUSE_SLIDER=yes
6541 DEFAULT_wxUSE_SPINBTN=yes
6542 DEFAULT_wxUSE_SPINCTRL=yes
6543 DEFAULT_wxUSE_SPLITTER=yes
6544 DEFAULT_wxUSE_STATBMP=yes
6545 DEFAULT_wxUSE_STATBOX=yes
6546 DEFAULT_wxUSE_STATLINE=yes
6547 DEFAULT_wxUSE_STATUSBAR=yes
6548 DEFAULT_wxUSE_TAB_DIALOG=yes
6549 DEFAULT_wxUSE_TOGGLEBTN=yes
6550 DEFAULT_wxUSE_TOOLBAR=yes
6551 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6552 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6553 DEFAULT_wxUSE_TOOLTIPS=yes
6554 DEFAULT_wxUSE_TREECTRL=yes
6555 DEFAULT_wxUSE_POPUPWIN=yes
6556 DEFAULT_wxUSE_TIPWINDOW=yes
6557 elif test "$wxUSE_CONTROLS" = "no"; then
6558 DEFAULT_wxUSE_ACCEL=no
6559 DEFAULT_wxUSE_BMPBUTTON=no
6560 DEFAULT_wxUSE_BUTTON=no
6561 DEFAULT_wxUSE_CALCTRL=no
6562 DEFAULT_wxUSE_CARET=no
6563 DEFAULT_wxUSE_COMBOBOX=no
6564 DEFAULT_wxUSE_CHECKBOX=no
6565 DEFAULT_wxUSE_CHECKLISTBOX=no
6566 DEFAULT_wxUSE_CHOICE=no
6567 DEFAULT_wxUSE_GAUGE=no
6568 DEFAULT_wxUSE_GRID=no
6569 DEFAULT_wxUSE_IMAGLIST=no
6570 DEFAULT_wxUSE_LISTBOOK=no
6571 DEFAULT_wxUSE_LISTBOX=no
6572 DEFAULT_wxUSE_LISTCTRL=no
6573 DEFAULT_wxUSE_NOTEBOOK=no
6574 DEFAULT_wxUSE_RADIOBOX=no
6575 DEFAULT_wxUSE_RADIOBTN=no
6576 DEFAULT_wxUSE_SASH=no
6577 DEFAULT_wxUSE_SCROLLBAR=no
6578 DEFAULT_wxUSE_SLIDER=no
6579 DEFAULT_wxUSE_SPINBTN=no
6580 DEFAULT_wxUSE_SPINCTRL=no
6581 DEFAULT_wxUSE_SPLITTER=no
6582 DEFAULT_wxUSE_STATBMP=no
6583 DEFAULT_wxUSE_STATBOX=no
6584 DEFAULT_wxUSE_STATLINE=no
6585 DEFAULT_wxUSE_STATUSBAR=no
6586 DEFAULT_wxUSE_TAB_DIALOG=no
6587 DEFAULT_wxUSE_TOGGLEBTN=no
6588 DEFAULT_wxUSE_TOOLBAR=no
6589 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6590 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6591 DEFAULT_wxUSE_TOOLTIPS=no
6592 DEFAULT_wxUSE_TREECTRL=no
6593 DEFAULT_wxUSE_POPUPWIN=no
6594 DEFAULT_wxUSE_TIPWINDOW=no
6595 fi
6596
6597 ## FIXME: This is a blatant hack
6598 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6599 wxUSE_PRINTING_ARCHITECTURE=no
6600 wxUSE_DRAG_AND_DROP=no
6601 # Generic notebook requires tab dialog
6602 DEFAULT_wxUSE_TABDIALOG=yes
6603 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6604 DEFAULT_wxUSE_SCROLLBAR=no
6605 DEFAULT_wxUSE_TOOLTIPS=no
6606 DEFAULT_wxUSE_DRAGIMAGE=no
6607 fi
6608
6609
6610 enablestring=
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6613 no_cache=0
6614 # Check whether --enable-accel or --disable-accel was given.
6615 if test "${enable_accel+set}" = set; then
6616 enableval="$enable_accel"
6617
6618 if test "$enableval" = yes; then
6619 ac_cv_use_accel='wxUSE_ACCEL=yes'
6620 else
6621 ac_cv_use_accel='wxUSE_ACCEL=no'
6622 fi
6623
6624 else
6625
6626 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6634
6635 fi;
6636
6637 eval "$ac_cv_use_accel"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test "$wxUSE_ACCEL" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6
6645 else
6646 echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6
6648 fi
6649
6650
6651 enablestring=
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6654 no_cache=0
6655 # Check whether --enable-button or --disable-button was given.
6656 if test "${enable_button+set}" = set; then
6657 enableval="$enable_button"
6658
6659 if test "$enableval" = yes; then
6660 ac_cv_use_button='wxUSE_BUTTON=yes'
6661 else
6662 ac_cv_use_button='wxUSE_BUTTON=no'
6663 fi
6664
6665 else
6666
6667 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x ; then
6669 eval "DEFAULT_$LINE"
6670 else
6671 no_cache=1
6672 fi
6673
6674 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6675
6676 fi;
6677
6678 eval "$ac_cv_use_button"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_BUTTON" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6686 else
6687 echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6
6689 fi
6690
6691
6692 enablestring=
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6695 no_cache=0
6696 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6697 if test "${enable_bmpbutton+set}" = set; then
6698 enableval="$enable_bmpbutton"
6699
6700 if test "$enableval" = yes; then
6701 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6702 else
6703 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6704 fi
6705
6706 else
6707
6708 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x ; then
6710 eval "DEFAULT_$LINE"
6711 else
6712 no_cache=1
6713 fi
6714
6715 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6716
6717 fi;
6718
6719 eval "$ac_cv_use_bmpbutton"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_BMPBUTTON" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6
6727 else
6728 echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6
6730 fi
6731
6732
6733 enablestring=
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6736 no_cache=0
6737 # Check whether --enable-calendar or --disable-calendar was given.
6738 if test "${enable_calendar+set}" = set; then
6739 enableval="$enable_calendar"
6740
6741 if test "$enableval" = yes; then
6742 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6743 else
6744 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6745 fi
6746
6747 else
6748
6749 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6752 else
6753 no_cache=1
6754 fi
6755
6756 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6757
6758 fi;
6759
6760 eval "$ac_cv_use_calendar"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_CALCTRL" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6768 else
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6771 fi
6772
6773
6774 enablestring=
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6777 no_cache=0
6778 # Check whether --enable-caret or --disable-caret was given.
6779 if test "${enable_caret+set}" = set; then
6780 enableval="$enable_caret"
6781
6782 if test "$enableval" = yes; then
6783 ac_cv_use_caret='wxUSE_CARET=yes'
6784 else
6785 ac_cv_use_caret='wxUSE_CARET=no'
6786 fi
6787
6788 else
6789
6790 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6798
6799 fi;
6800
6801 eval "$ac_cv_use_caret"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_CARET" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6809 else
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6812 fi
6813
6814
6815 enablestring=
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6818 no_cache=0
6819 # Check whether --enable-checkbox or --disable-checkbox was given.
6820 if test "${enable_checkbox+set}" = set; then
6821 enableval="$enable_checkbox"
6822
6823 if test "$enableval" = yes; then
6824 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6825 else
6826 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6827 fi
6828
6829 else
6830
6831 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6839
6840 fi;
6841
6842 eval "$ac_cv_use_checkbox"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_CHECKBOX" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6850 else
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6853 fi
6854
6855
6856 enablestring=
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6859 no_cache=0
6860 # Check whether --enable-checklst or --disable-checklst was given.
6861 if test "${enable_checklst+set}" = set; then
6862 enableval="$enable_checklst"
6863
6864 if test "$enableval" = yes; then
6865 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6866 else
6867 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6868 fi
6869
6870 else
6871
6872 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 else
6876 no_cache=1
6877 fi
6878
6879 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6880
6881 fi;
6882
6883 eval "$ac_cv_use_checklst"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test "$wxUSE_CHECKLST" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6891 else
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6894 fi
6895
6896
6897 enablestring=
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6900 no_cache=0
6901 # Check whether --enable-choice or --disable-choice was given.
6902 if test "${enable_choice+set}" = set; then
6903 enableval="$enable_choice"
6904
6905 if test "$enableval" = yes; then
6906 ac_cv_use_choice='wxUSE_CHOICE=yes'
6907 else
6908 ac_cv_use_choice='wxUSE_CHOICE=no'
6909 fi
6910
6911 else
6912
6913 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6916 else
6917 no_cache=1
6918 fi
6919
6920 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6921
6922 fi;
6923
6924 eval "$ac_cv_use_choice"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_CHOICE" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6932 else
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6935 fi
6936
6937
6938 enablestring=
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6941 no_cache=0
6942 # Check whether --enable-combobox or --disable-combobox was given.
6943 if test "${enable_combobox+set}" = set; then
6944 enableval="$enable_combobox"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6948 else
6949 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6950 fi
6951
6952 else
6953
6954 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6962
6963 fi;
6964
6965 eval "$ac_cv_use_combobox"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_COMBOBOX" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6973 else
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6976 fi
6977
6978
6979 enablestring=
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6982 no_cache=0
6983 # Check whether --enable-display or --disable-display was given.
6984 if test "${enable_display+set}" = set; then
6985 enableval="$enable_display"
6986
6987 if test "$enableval" = yes; then
6988 ac_cv_use_display='wxUSE_DISPLAY=yes'
6989 else
6990 ac_cv_use_display='wxUSE_DISPLAY=no'
6991 fi
6992
6993 else
6994
6995 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
6998 else
6999 no_cache=1
7000 fi
7001
7002 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7003
7004 fi;
7005
7006 eval "$ac_cv_use_display"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_DISPLAY" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7014 else
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7017 fi
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-gauge or --disable-gauge was given.
7025 if test "${enable_gauge+set}" = set; then
7026 enableval="$enable_gauge"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7030 else
7031 ac_cv_use_gauge='wxUSE_GAUGE=no'
7032 fi
7033
7034 else
7035
7036 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7044
7045 fi;
7046
7047 eval "$ac_cv_use_gauge"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_GAUGE" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 enablestring=
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7064 no_cache=0
7065 # Check whether --enable-grid or --disable-grid was given.
7066 if test "${enable_grid+set}" = set; then
7067 enableval="$enable_grid"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_grid='wxUSE_GRID=yes'
7071 else
7072 ac_cv_use_grid='wxUSE_GRID=no'
7073 fi
7074
7075 else
7076
7077 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7085
7086 fi;
7087
7088 eval "$ac_cv_use_grid"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_GRID" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7096 else
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7099 fi
7100
7101
7102 enablestring=
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7105 no_cache=0
7106 # Check whether --enable-imaglist or --disable-imaglist was given.
7107 if test "${enable_imaglist+set}" = set; then
7108 enableval="$enable_imaglist"
7109
7110 if test "$enableval" = yes; then
7111 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7112 else
7113 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7114 fi
7115
7116 else
7117
7118 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7121 else
7122 no_cache=1
7123 fi
7124
7125 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7126
7127 fi;
7128
7129 eval "$ac_cv_use_imaglist"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_IMAGLIST" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7137 else
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7140 fi
7141
7142
7143 enablestring=
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7146 no_cache=0
7147 # Check whether --enable-listbook or --disable-listbook was given.
7148 if test "${enable_listbook+set}" = set; then
7149 enableval="$enable_listbook"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7153 else
7154 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7155 fi
7156
7157 else
7158
7159 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7167
7168 fi;
7169
7170 eval "$ac_cv_use_listbook"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_LISTBOOK" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7178 else
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7181 fi
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-listbox or --disable-listbox was given.
7189 if test "${enable_listbox+set}" = set; then
7190 enableval="$enable_listbox"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7194 else
7195 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7196 fi
7197
7198 else
7199
7200 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7208
7209 fi;
7210
7211 eval "$ac_cv_use_listbox"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_LISTBOX" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-listctrl or --disable-listctrl was given.
7230 if test "${enable_listctrl+set}" = set; then
7231 enableval="$enable_listctrl"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7235 else
7236 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7237 fi
7238
7239 else
7240
7241 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7249
7250 fi;
7251
7252 eval "$ac_cv_use_listctrl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_LISTCTRL" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-notebook or --disable-notebook was given.
7271 if test "${enable_notebook+set}" = set; then
7272 enableval="$enable_notebook"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7276 else
7277 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7278 fi
7279
7280 else
7281
7282 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7290
7291 fi;
7292
7293 eval "$ac_cv_use_notebook"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_NOTEBOOK" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-radiobox or --disable-radiobox was given.
7312 if test "${enable_radiobox+set}" = set; then
7313 enableval="$enable_radiobox"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7317 else
7318 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7319 fi
7320
7321 else
7322
7323 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7331
7332 fi;
7333
7334 eval "$ac_cv_use_radiobox"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_RADIOBOX" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7353 if test "${enable_radiobtn+set}" = set; then
7354 enableval="$enable_radiobtn"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7358 else
7359 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7360 fi
7361
7362 else
7363
7364 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7372
7373 fi;
7374
7375 eval "$ac_cv_use_radiobtn"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_RADIOBTN" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389 enablestring=
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7392 no_cache=0
7393 # Check whether --enable-sash or --disable-sash was given.
7394 if test "${enable_sash+set}" = set; then
7395 enableval="$enable_sash"
7396
7397 if test "$enableval" = yes; then
7398 ac_cv_use_sash='wxUSE_SASH=yes'
7399 else
7400 ac_cv_use_sash='wxUSE_SASH=no'
7401 fi
7402
7403 else
7404
7405 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7413
7414 fi;
7415
7416 eval "$ac_cv_use_sash"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_SASH" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7424 else
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7427 fi
7428
7429
7430 enablestring=
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7433 no_cache=0
7434 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7435 if test "${enable_scrollbar+set}" = set; then
7436 enableval="$enable_scrollbar"
7437
7438 if test "$enableval" = yes; then
7439 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7440 else
7441 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7442 fi
7443
7444 else
7445
7446 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7454
7455 fi;
7456
7457 eval "$ac_cv_use_scrollbar"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7460 fi
7461
7462 if test "$wxUSE_SCROLLBAR" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7465 else
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7468 fi
7469
7470
7471 enablestring=
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7474 no_cache=0
7475 # Check whether --enable-slider or --disable-slider was given.
7476 if test "${enable_slider+set}" = set; then
7477 enableval="$enable_slider"
7478
7479 if test "$enableval" = yes; then
7480 ac_cv_use_slider='wxUSE_SLIDER=yes'
7481 else
7482 ac_cv_use_slider='wxUSE_SLIDER=no'
7483 fi
7484
7485 else
7486
7487 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7495
7496 fi;
7497
7498 eval "$ac_cv_use_slider"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_SLIDER" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7506 else
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7509 fi
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7517 if test "${enable_spinbtn+set}" = set; then
7518 enableval="$enable_spinbtn"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7522 else
7523 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7536
7537 fi;
7538
7539 eval "$ac_cv_use_spinbtn"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_SPINBTN" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7558 if test "${enable_spinctrl+set}" = set; then
7559 enableval="$enable_spinctrl"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7563 else
7564 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7577
7578 fi;
7579
7580 eval "$ac_cv_use_spinctrl"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_SPINCTRL" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594 enablestring=
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7597 no_cache=0
7598 # Check whether --enable-splitter or --disable-splitter was given.
7599 if test "${enable_splitter+set}" = set; then
7600 enableval="$enable_splitter"
7601
7602 if test "$enableval" = yes; then
7603 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7604 else
7605 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7606 fi
7607
7608 else
7609
7610 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7618
7619 fi;
7620
7621 eval "$ac_cv_use_splitter"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7624 fi
7625
7626 if test "$wxUSE_SPLITTER" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7629 else
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7632 fi
7633
7634
7635 enablestring=
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7638 no_cache=0
7639 # Check whether --enable-statbmp or --disable-statbmp was given.
7640 if test "${enable_statbmp+set}" = set; then
7641 enableval="$enable_statbmp"
7642
7643 if test "$enableval" = yes; then
7644 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7645 else
7646 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7647 fi
7648
7649 else
7650
7651 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7659
7660 fi;
7661
7662 eval "$ac_cv_use_statbmp"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_STATBMP" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7670 else
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7673 fi
7674
7675
7676 enablestring=
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7679 no_cache=0
7680 # Check whether --enable-statbox or --disable-statbox was given.
7681 if test "${enable_statbox+set}" = set; then
7682 enableval="$enable_statbox"
7683
7684 if test "$enableval" = yes; then
7685 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7686 else
7687 ac_cv_use_statbox='wxUSE_STATBOX=no'
7688 fi
7689
7690 else
7691
7692 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 else
7696 no_cache=1
7697 fi
7698
7699 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7700
7701 fi;
7702
7703 eval "$ac_cv_use_statbox"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7706 fi
7707
7708 if test "$wxUSE_STATBOX" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7711 else
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7714 fi
7715
7716
7717 enablestring=
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7720 no_cache=0
7721 # Check whether --enable-statline or --disable-statline was given.
7722 if test "${enable_statline+set}" = set; then
7723 enableval="$enable_statline"
7724
7725 if test "$enableval" = yes; then
7726 ac_cv_use_statline='wxUSE_STATLINE=yes'
7727 else
7728 ac_cv_use_statline='wxUSE_STATLINE=no'
7729 fi
7730
7731 else
7732
7733 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7736 else
7737 no_cache=1
7738 fi
7739
7740 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7741
7742 fi;
7743
7744 eval "$ac_cv_use_statline"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7747 fi
7748
7749 if test "$wxUSE_STATLINE" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7752 else
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7755 fi
7756
7757
7758 enablestring=
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7761 no_cache=0
7762 # Check whether --enable-stattext or --disable-stattext was given.
7763 if test "${enable_stattext+set}" = set; then
7764 enableval="$enable_stattext"
7765
7766 if test "$enableval" = yes; then
7767 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7768 else
7769 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7770 fi
7771
7772 else
7773
7774 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 else
7778 no_cache=1
7779 fi
7780
7781 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7782
7783 fi;
7784
7785 eval "$ac_cv_use_stattext"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test "$wxUSE_STATTEXT" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7793 else
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7796 fi
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-statusbar or --disable-statusbar was given.
7804 if test "${enable_statusbar+set}" = set; then
7805 enableval="$enable_statusbar"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7809 else
7810 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7811 fi
7812
7813 else
7814
7815 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7823
7824 fi;
7825
7826 eval "$ac_cv_use_statusbar"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_STATUSBAR" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7845 if test "${enable_tabdialog+set}" = set; then
7846 enableval="$enable_tabdialog"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7850 else
7851 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7852 fi
7853
7854 else
7855
7856 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7864
7865 fi;
7866
7867 eval "$ac_cv_use_tabdialog"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_TABDIALOG" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-textctrl or --disable-textctrl was given.
7886 if test "${enable_textctrl+set}" = set; then
7887 enableval="$enable_textctrl"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7891 else
7892 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7905
7906 fi;
7907
7908 eval "$ac_cv_use_textctrl"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_TEXTCTRL" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 enablestring=
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7925 no_cache=0
7926 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7927 if test "${enable_togglebtn+set}" = set; then
7928 enableval="$enable_togglebtn"
7929
7930 if test "$enableval" = yes; then
7931 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7932 else
7933 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7934 fi
7935
7936 else
7937
7938 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x ; then
7940 eval "DEFAULT_$LINE"
7941 else
7942 no_cache=1
7943 fi
7944
7945 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7946
7947 fi;
7948
7949 eval "$ac_cv_use_togglebtn"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7952 fi
7953
7954 if test "$wxUSE_TOGGLEBTN" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956 echo "${ECHO_T}yes" >&6
7957 else
7958 echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7960 fi
7961
7962
7963 enablestring=
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7965 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7966 no_cache=0
7967 # Check whether --enable-toolbar or --disable-toolbar was given.
7968 if test "${enable_toolbar+set}" = set; then
7969 enableval="$enable_toolbar"
7970
7971 if test "$enableval" = yes; then
7972 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7973 else
7974 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7975 fi
7976
7977 else
7978
7979 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x ; then
7981 eval "DEFAULT_$LINE"
7982 else
7983 no_cache=1
7984 fi
7985
7986 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7987
7988 fi;
7989
7990 eval "$ac_cv_use_toolbar"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7993 fi
7994
7995 if test "$wxUSE_TOOLBAR" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997 echo "${ECHO_T}yes" >&6
7998 else
7999 echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6
8001 fi
8002
8003
8004 enablestring=
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8007 no_cache=0
8008 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8009 if test "${enable_tbarnative+set}" = set; then
8010 enableval="$enable_tbarnative"
8011
8012 if test "$enableval" = yes; then
8013 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8014 else
8015 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8016 fi
8017
8018 else
8019
8020 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x ; then
8022 eval "DEFAULT_$LINE"
8023 else
8024 no_cache=1
8025 fi
8026
8027 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8028
8029 fi;
8030
8031 eval "$ac_cv_use_tbarnative"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8034 fi
8035
8036 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038 echo "${ECHO_T}yes" >&6
8039 else
8040 echo "$as_me:$LINENO: result: no" >&5
8041 echo "${ECHO_T}no" >&6
8042 fi
8043
8044
8045 enablestring=
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8047 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8048 no_cache=0
8049 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8050 if test "${enable_tbarsmpl+set}" = set; then
8051 enableval="$enable_tbarsmpl"
8052
8053 if test "$enableval" = yes; then
8054 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8055 else
8056 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8057 fi
8058
8059 else
8060
8061 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x ; then
8063 eval "DEFAULT_$LINE"
8064 else
8065 no_cache=1
8066 fi
8067
8068 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8069
8070 fi;
8071
8072 eval "$ac_cv_use_tbarsmpl"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8075 fi
8076
8077 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079 echo "${ECHO_T}yes" >&6
8080 else
8081 echo "$as_me:$LINENO: result: no" >&5
8082 echo "${ECHO_T}no" >&6
8083 fi
8084
8085
8086 enablestring=
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8088 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8089 no_cache=0
8090 # Check whether --enable-treectrl or --disable-treectrl was given.
8091 if test "${enable_treectrl+set}" = set; then
8092 enableval="$enable_treectrl"
8093
8094 if test "$enableval" = yes; then
8095 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8096 else
8097 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8098 fi
8099
8100 else
8101
8102 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8105 else
8106 no_cache=1
8107 fi
8108
8109 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8110
8111 fi;
8112
8113 eval "$ac_cv_use_treectrl"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test "$wxUSE_TREECTRL" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120 echo "${ECHO_T}yes" >&6
8121 else
8122 echo "$as_me:$LINENO: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8124 fi
8125
8126
8127 enablestring=
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8130 no_cache=0
8131 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8132 if test "${enable_tipwindow+set}" = set; then
8133 enableval="$enable_tipwindow"
8134
8135 if test "$enableval" = yes; then
8136 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8137 else
8138 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8139 fi
8140
8141 else
8142
8143 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 else
8147 no_cache=1
8148 fi
8149
8150 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8151
8152 fi;
8153
8154 eval "$ac_cv_use_tipwindow"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test "$wxUSE_TIPWINDOW" = yes; then
8160 echo "$as_me:$LINENO: result: yes" >&5
8161 echo "${ECHO_T}yes" >&6
8162 else
8163 echo "$as_me:$LINENO: result: no" >&5
8164 echo "${ECHO_T}no" >&6
8165 fi
8166
8167
8168 enablestring=
8169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8170 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8171 no_cache=0
8172 # Check whether --enable-popupwin or --disable-popupwin was given.
8173 if test "${enable_popupwin+set}" = set; then
8174 enableval="$enable_popupwin"
8175
8176 if test "$enableval" = yes; then
8177 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8178 else
8179 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8180 fi
8181
8182 else
8183
8184 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8185 if test "x$LINE" != x ; then
8186 eval "DEFAULT_$LINE"
8187 else
8188 no_cache=1
8189 fi
8190
8191 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8192
8193 fi;
8194
8195 eval "$ac_cv_use_popupwin"
8196 if test "$no_cache" != 1; then
8197 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8198 fi
8199
8200 if test "$wxUSE_POPUPWIN" = yes; then
8201 echo "$as_me:$LINENO: result: yes" >&5
8202 echo "${ECHO_T}yes" >&6
8203 else
8204 echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6
8206 fi
8207
8208
8209
8210
8211 enablestring=
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8214 no_cache=0
8215 # Check whether --enable-commondlg or --disable-commondlg was given.
8216 if test "${enable_commondlg+set}" = set; then
8217 enableval="$enable_commondlg"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8221 else
8222 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8223 fi
8224
8225 else
8226
8227 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8235
8236 fi;
8237
8238 eval "$ac_cv_use_commondlg"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_COMMONDLGS" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8246 else
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8249 fi
8250
8251
8252 enablestring=
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8255 no_cache=0
8256 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8257 if test "${enable_choicedlg+set}" = set; then
8258 enableval="$enable_choicedlg"
8259
8260 if test "$enableval" = yes; then
8261 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8262 else
8263 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8264 fi
8265
8266 else
8267
8268 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 else
8272 no_cache=1
8273 fi
8274
8275 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8276
8277 fi;
8278
8279 eval "$ac_cv_use_choicedlg"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8282 fi
8283
8284 if test "$wxUSE_CHOICEDLG" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8287 else
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8290 fi
8291
8292
8293 enablestring=
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8296 no_cache=0
8297 # Check whether --enable-coldlg or --disable-coldlg was given.
8298 if test "${enable_coldlg+set}" = set; then
8299 enableval="$enable_coldlg"
8300
8301 if test "$enableval" = yes; then
8302 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8303 else
8304 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8305 fi
8306
8307 else
8308
8309 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x ; then
8311 eval "DEFAULT_$LINE"
8312 else
8313 no_cache=1
8314 fi
8315
8316 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8317
8318 fi;
8319
8320 eval "$ac_cv_use_coldlg"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8323 fi
8324
8325 if test "$wxUSE_COLOURDLG" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8328 else
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8331 fi
8332
8333
8334 enablestring=
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8337 no_cache=0
8338 # Check whether --enable-filedlg or --disable-filedlg was given.
8339 if test "${enable_filedlg+set}" = set; then
8340 enableval="$enable_filedlg"
8341
8342 if test "$enableval" = yes; then
8343 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8344 else
8345 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8346 fi
8347
8348 else
8349
8350 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8353 else
8354 no_cache=1
8355 fi
8356
8357 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8358
8359 fi;
8360
8361 eval "$ac_cv_use_filedlg"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8364 fi
8365
8366 if test "$wxUSE_FILEDLG" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8369 else
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8372 fi
8373
8374
8375 enablestring=
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8378 no_cache=0
8379 # Check whether --enable-finddlg or --disable-finddlg was given.
8380 if test "${enable_finddlg+set}" = set; then
8381 enableval="$enable_finddlg"
8382
8383 if test "$enableval" = yes; then
8384 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8385 else
8386 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8387 fi
8388
8389 else
8390
8391 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x ; then
8393 eval "DEFAULT_$LINE"
8394 else
8395 no_cache=1
8396 fi
8397
8398 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8399
8400 fi;
8401
8402 eval "$ac_cv_use_finddlg"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8405 fi
8406
8407 if test "$wxUSE_FINDREPLDLG" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8410 else
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8413 fi
8414
8415
8416 enablestring=
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8419 no_cache=0
8420 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8421 if test "${enable_fontdlg+set}" = set; then
8422 enableval="$enable_fontdlg"
8423
8424 if test "$enableval" = yes; then
8425 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8426 else
8427 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8428 fi
8429
8430 else
8431
8432 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8435 else
8436 no_cache=1
8437 fi
8438
8439 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8440
8441 fi;
8442
8443 eval "$ac_cv_use_fontdlg"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8446 fi
8447
8448 if test "$wxUSE_FONTDLG" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8451 else
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8454 fi
8455
8456
8457 enablestring=
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8460 no_cache=0
8461 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8462 if test "${enable_dirdlg+set}" = set; then
8463 enableval="$enable_dirdlg"
8464
8465 if test "$enableval" = yes; then
8466 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8467 else
8468 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8469 fi
8470
8471 else
8472
8473 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x ; then
8475 eval "DEFAULT_$LINE"
8476 else
8477 no_cache=1
8478 fi
8479
8480 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8481
8482 fi;
8483
8484 eval "$ac_cv_use_dirdlg"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8487 fi
8488
8489 if test "$wxUSE_DIRDLG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8492 else
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8495 fi
8496
8497
8498 enablestring=
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8501 no_cache=0
8502 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8503 if test "${enable_msgdlg+set}" = set; then
8504 enableval="$enable_msgdlg"
8505
8506 if test "$enableval" = yes; then
8507 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8508 else
8509 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8510 fi
8511
8512 else
8513
8514 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8517 else
8518 no_cache=1
8519 fi
8520
8521 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8522
8523 fi;
8524
8525 eval "$ac_cv_use_msgdlg"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8528 fi
8529
8530 if test "$wxUSE_MSGDLG" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8533 else
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8536 fi
8537
8538
8539 enablestring=
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8542 no_cache=0
8543 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8544 if test "${enable_numberdlg+set}" = set; then
8545 enableval="$enable_numberdlg"
8546
8547 if test "$enableval" = yes; then
8548 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8549 else
8550 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8551 fi
8552
8553 else
8554
8555 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8558 else
8559 no_cache=1
8560 fi
8561
8562 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8563
8564 fi;
8565
8566 eval "$ac_cv_use_numberdlg"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8569 fi
8570
8571 if test "$wxUSE_NUMBERDLG" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8574 else
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8577 fi
8578
8579
8580 enablestring=
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8583 no_cache=0
8584 # Check whether --enable-splash or --disable-splash was given.
8585 if test "${enable_splash+set}" = set; then
8586 enableval="$enable_splash"
8587
8588 if test "$enableval" = yes; then
8589 ac_cv_use_splash='wxUSE_SPLASH=yes'
8590 else
8591 ac_cv_use_splash='wxUSE_SPLASH=no'
8592 fi
8593
8594 else
8595
8596 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x ; then
8598 eval "DEFAULT_$LINE"
8599 else
8600 no_cache=1
8601 fi
8602
8603 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8604
8605 fi;
8606
8607 eval "$ac_cv_use_splash"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8610 fi
8611
8612 if test "$wxUSE_SPLASH" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8615 else
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8618 fi
8619
8620
8621 enablestring=
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8624 no_cache=0
8625 # Check whether --enable-textdlg or --disable-textdlg was given.
8626 if test "${enable_textdlg+set}" = set; then
8627 enableval="$enable_textdlg"
8628
8629 if test "$enableval" = yes; then
8630 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8631 else
8632 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8633 fi
8634
8635 else
8636
8637 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x ; then
8639 eval "DEFAULT_$LINE"
8640 else
8641 no_cache=1
8642 fi
8643
8644 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8645
8646 fi;
8647
8648 eval "$ac_cv_use_textdlg"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8651 fi
8652
8653 if test "$wxUSE_TEXTDLG" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8656 else
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8659 fi
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8667 if test "${enable_tipdlg+set}" = set; then
8668 enableval="$enable_tipdlg"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8672 else
8673 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8674 fi
8675
8676 else
8677
8678 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8686
8687 fi;
8688
8689 eval "$ac_cv_use_tipdlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_STARTUP_TIPS" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703 enablestring=
8704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8705 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8706 no_cache=0
8707 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8708 if test "${enable_progressdlg+set}" = set; then
8709 enableval="$enable_progressdlg"
8710
8711 if test "$enableval" = yes; then
8712 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8713 else
8714 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8715 fi
8716
8717 else
8718
8719 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8720 if test "x$LINE" != x ; then
8721 eval "DEFAULT_$LINE"
8722 else
8723 no_cache=1
8724 fi
8725
8726 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8727
8728 fi;
8729
8730 eval "$ac_cv_use_progressdlg"
8731 if test "$no_cache" != 1; then
8732 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8733 fi
8734
8735 if test "$wxUSE_PROGRESSDLG" = yes; then
8736 echo "$as_me:$LINENO: result: yes" >&5
8737 echo "${ECHO_T}yes" >&6
8738 else
8739 echo "$as_me:$LINENO: result: no" >&5
8740 echo "${ECHO_T}no" >&6
8741 fi
8742
8743
8744 enablestring=
8745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8747 no_cache=0
8748 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8749 if test "${enable_wizarddlg+set}" = set; then
8750 enableval="$enable_wizarddlg"
8751
8752 if test "$enableval" = yes; then
8753 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8754 else
8755 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8756 fi
8757
8758 else
8759
8760 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8761 if test "x$LINE" != x ; then
8762 eval "DEFAULT_$LINE"
8763 else
8764 no_cache=1
8765 fi
8766
8767 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8768
8769 fi;
8770
8771 eval "$ac_cv_use_wizarddlg"
8772 if test "$no_cache" != 1; then
8773 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8774 fi
8775
8776 if test "$wxUSE_WIZARDDLG" = yes; then
8777 echo "$as_me:$LINENO: result: yes" >&5
8778 echo "${ECHO_T}yes" >&6
8779 else
8780 echo "$as_me:$LINENO: result: no" >&5
8781 echo "${ECHO_T}no" >&6
8782 fi
8783
8784
8785
8786
8787 enablestring=
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8790 no_cache=0
8791 # Check whether --enable-menus or --disable-menus was given.
8792 if test "${enable_menus+set}" = set; then
8793 enableval="$enable_menus"
8794
8795 if test "$enableval" = yes; then
8796 ac_cv_use_menus='wxUSE_MENUS=yes'
8797 else
8798 ac_cv_use_menus='wxUSE_MENUS=no'
8799 fi
8800
8801 else
8802
8803 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8806 else
8807 no_cache=1
8808 fi
8809
8810 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8811
8812 fi;
8813
8814 eval "$ac_cv_use_menus"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8817 fi
8818
8819 if test "$wxUSE_MENUS" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821 echo "${ECHO_T}yes" >&6
8822 else
8823 echo "$as_me:$LINENO: result: no" >&5
8824 echo "${ECHO_T}no" >&6
8825 fi
8826
8827
8828 enablestring=
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8831 no_cache=0
8832 # Check whether --enable-miniframe or --disable-miniframe was given.
8833 if test "${enable_miniframe+set}" = set; then
8834 enableval="$enable_miniframe"
8835
8836 if test "$enableval" = yes; then
8837 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8838 else
8839 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8840 fi
8841
8842 else
8843
8844 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x ; then
8846 eval "DEFAULT_$LINE"
8847 else
8848 no_cache=1
8849 fi
8850
8851 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8852
8853 fi;
8854
8855 eval "$ac_cv_use_miniframe"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8858 fi
8859
8860 if test "$wxUSE_MINIFRAME" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8863 else
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8866 fi
8867
8868
8869 enablestring=
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8872 no_cache=0
8873 # Check whether --enable-tooltips or --disable-tooltips was given.
8874 if test "${enable_tooltips+set}" = set; then
8875 enableval="$enable_tooltips"
8876
8877 if test "$enableval" = yes; then
8878 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8879 else
8880 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8881 fi
8882
8883 else
8884
8885 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x ; then
8887 eval "DEFAULT_$LINE"
8888 else
8889 no_cache=1
8890 fi
8891
8892 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8893
8894 fi;
8895
8896 eval "$ac_cv_use_tooltips"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8899 fi
8900
8901 if test "$wxUSE_TOOLTIPS" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8904 else
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8907 fi
8908
8909
8910 enablestring=
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8913 no_cache=0
8914 # Check whether --enable-splines or --disable-splines was given.
8915 if test "${enable_splines+set}" = set; then
8916 enableval="$enable_splines"
8917
8918 if test "$enableval" = yes; then
8919 ac_cv_use_splines='wxUSE_SPLINES=yes'
8920 else
8921 ac_cv_use_splines='wxUSE_SPLINES=no'
8922 fi
8923
8924 else
8925
8926 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x ; then
8928 eval "DEFAULT_$LINE"
8929 else
8930 no_cache=1
8931 fi
8932
8933 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8934
8935 fi;
8936
8937 eval "$ac_cv_use_splines"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8940 fi
8941
8942 if test "$wxUSE_SPLINES" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8945 else
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8948 fi
8949
8950
8951 enablestring=
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8954 no_cache=0
8955 # Check whether --enable-validators or --disable-validators was given.
8956 if test "${enable_validators+set}" = set; then
8957 enableval="$enable_validators"
8958
8959 if test "$enableval" = yes; then
8960 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8961 else
8962 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8963 fi
8964
8965 else
8966
8967 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x ; then
8969 eval "DEFAULT_$LINE"
8970 else
8971 no_cache=1
8972 fi
8973
8974 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8975
8976 fi;
8977
8978 eval "$ac_cv_use_validators"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8981 fi
8982
8983 if test "$wxUSE_VALIDATORS" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8986 else
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8989 fi
8990
8991
8992 enablestring=
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8995 no_cache=0
8996 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8997 if test "${enable_busyinfo+set}" = set; then
8998 enableval="$enable_busyinfo"
8999
9000 if test "$enableval" = yes; then
9001 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9002 else
9003 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9004 fi
9005
9006 else
9007
9008 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x ; then
9010 eval "DEFAULT_$LINE"
9011 else
9012 no_cache=1
9013 fi
9014
9015 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9016
9017 fi;
9018
9019 eval "$ac_cv_use_busyinfo"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9022 fi
9023
9024 if test "$wxUSE_BUSYINFO" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9027 else
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9030 fi
9031
9032
9033 enablestring=
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9036 no_cache=0
9037 # Check whether --enable-joystick or --disable-joystick was given.
9038 if test "${enable_joystick+set}" = set; then
9039 enableval="$enable_joystick"
9040
9041 if test "$enableval" = yes; then
9042 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9043 else
9044 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9045 fi
9046
9047 else
9048
9049 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x ; then
9051 eval "DEFAULT_$LINE"
9052 else
9053 no_cache=1
9054 fi
9055
9056 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9057
9058 fi;
9059
9060 eval "$ac_cv_use_joystick"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9063 fi
9064
9065 if test "$wxUSE_JOYSTICK" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9068 else
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9071 fi
9072
9073
9074 enablestring=
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9077 no_cache=0
9078 # Check whether --enable-metafile or --disable-metafile was given.
9079 if test "${enable_metafile+set}" = set; then
9080 enableval="$enable_metafile"
9081
9082 if test "$enableval" = yes; then
9083 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9084 else
9085 ac_cv_use_metafile='wxUSE_METAFILE=no'
9086 fi
9087
9088 else
9089
9090 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9098
9099 fi;
9100
9101 eval "$ac_cv_use_metafile"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9104 fi
9105
9106 if test "$wxUSE_METAFILE" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9109 else
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9112 fi
9113
9114
9115 enablestring=
9116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9118 no_cache=0
9119 # Check whether --enable-dragimage or --disable-dragimage was given.
9120 if test "${enable_dragimage+set}" = set; then
9121 enableval="$enable_dragimage"
9122
9123 if test "$enableval" = yes; then
9124 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9125 else
9126 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9127 fi
9128
9129 else
9130
9131 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9132 if test "x$LINE" != x ; then
9133 eval "DEFAULT_$LINE"
9134 else
9135 no_cache=1
9136 fi
9137
9138 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9139
9140 fi;
9141
9142 eval "$ac_cv_use_dragimage"
9143 if test "$no_cache" != 1; then
9144 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9145 fi
9146
9147 if test "$wxUSE_DRAGIMAGE" = yes; then
9148 echo "$as_me:$LINENO: result: yes" >&5
9149 echo "${ECHO_T}yes" >&6
9150 else
9151 echo "$as_me:$LINENO: result: no" >&5
9152 echo "${ECHO_T}no" >&6
9153 fi
9154
9155
9156 enablestring=
9157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9158 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9159 no_cache=0
9160 # Check whether --enable-accessibility or --disable-accessibility was given.
9161 if test "${enable_accessibility+set}" = set; then
9162 enableval="$enable_accessibility"
9163
9164 if test "$enableval" = yes; then
9165 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9166 else
9167 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9168 fi
9169
9170 else
9171
9172 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9173 if test "x$LINE" != x ; then
9174 eval "DEFAULT_$LINE"
9175 else
9176 no_cache=1
9177 fi
9178
9179 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9180
9181 fi;
9182
9183 eval "$ac_cv_use_accessibility"
9184 if test "$no_cache" != 1; then
9185 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9186 fi
9187
9188 if test "$wxUSE_ACCESSIBILITY" = yes; then
9189 echo "$as_me:$LINENO: result: yes" >&5
9190 echo "${ECHO_T}yes" >&6
9191 else
9192 echo "$as_me:$LINENO: result: no" >&5
9193 echo "${ECHO_T}no" >&6
9194 fi
9195
9196
9197
9198
9199 enablestring=
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9202 no_cache=0
9203 # Check whether --enable-palette or --disable-palette was given.
9204 if test "${enable_palette+set}" = set; then
9205 enableval="$enable_palette"
9206
9207 if test "$enableval" = yes; then
9208 ac_cv_use_palette='wxUSE_PALETTE=yes'
9209 else
9210 ac_cv_use_palette='wxUSE_PALETTE=no'
9211 fi
9212
9213 else
9214
9215 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9218 else
9219 no_cache=1
9220 fi
9221
9222 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9223
9224 fi;
9225
9226 eval "$ac_cv_use_palette"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9229 fi
9230
9231 if test "$wxUSE_PALETTE" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6
9234 else
9235 echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6
9237 fi
9238
9239
9240 enablestring=
9241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9242 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9243 no_cache=0
9244 # Check whether --enable-image or --disable-image was given.
9245 if test "${enable_image+set}" = set; then
9246 enableval="$enable_image"
9247
9248 if test "$enableval" = yes; then
9249 ac_cv_use_image='wxUSE_IMAGE=yes'
9250 else
9251 ac_cv_use_image='wxUSE_IMAGE=no'
9252 fi
9253
9254 else
9255
9256 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x ; then
9258 eval "DEFAULT_$LINE"
9259 else
9260 no_cache=1
9261 fi
9262
9263 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9264
9265 fi;
9266
9267 eval "$ac_cv_use_image"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9270 fi
9271
9272 if test "$wxUSE_IMAGE" = yes; then
9273 echo "$as_me:$LINENO: result: yes" >&5
9274 echo "${ECHO_T}yes" >&6
9275 else
9276 echo "$as_me:$LINENO: result: no" >&5
9277 echo "${ECHO_T}no" >&6
9278 fi
9279
9280
9281 enablestring=
9282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9283 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9284 no_cache=0
9285 # Check whether --enable-gif or --disable-gif was given.
9286 if test "${enable_gif+set}" = set; then
9287 enableval="$enable_gif"
9288
9289 if test "$enableval" = yes; then
9290 ac_cv_use_gif='wxUSE_GIF=yes'
9291 else
9292 ac_cv_use_gif='wxUSE_GIF=no'
9293 fi
9294
9295 else
9296
9297 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x ; then
9299 eval "DEFAULT_$LINE"
9300 else
9301 no_cache=1
9302 fi
9303
9304 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9305
9306 fi;
9307
9308 eval "$ac_cv_use_gif"
9309 if test "$no_cache" != 1; then
9310 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9311 fi
9312
9313 if test "$wxUSE_GIF" = yes; then
9314 echo "$as_me:$LINENO: result: yes" >&5
9315 echo "${ECHO_T}yes" >&6
9316 else
9317 echo "$as_me:$LINENO: result: no" >&5
9318 echo "${ECHO_T}no" >&6
9319 fi
9320
9321
9322 enablestring=
9323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9324 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9325 no_cache=0
9326 # Check whether --enable-pcx or --disable-pcx was given.
9327 if test "${enable_pcx+set}" = set; then
9328 enableval="$enable_pcx"
9329
9330 if test "$enableval" = yes; then
9331 ac_cv_use_pcx='wxUSE_PCX=yes'
9332 else
9333 ac_cv_use_pcx='wxUSE_PCX=no'
9334 fi
9335
9336 else
9337
9338 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x ; then
9340 eval "DEFAULT_$LINE"
9341 else
9342 no_cache=1
9343 fi
9344
9345 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9346
9347 fi;
9348
9349 eval "$ac_cv_use_pcx"
9350 if test "$no_cache" != 1; then
9351 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9352 fi
9353
9354 if test "$wxUSE_PCX" = yes; then
9355 echo "$as_me:$LINENO: result: yes" >&5
9356 echo "${ECHO_T}yes" >&6
9357 else
9358 echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6
9360 fi
9361
9362
9363 enablestring=
9364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9366 no_cache=0
9367 # Check whether --enable-iff or --disable-iff was given.
9368 if test "${enable_iff+set}" = set; then
9369 enableval="$enable_iff"
9370
9371 if test "$enableval" = yes; then
9372 ac_cv_use_iff='wxUSE_IFF=yes'
9373 else
9374 ac_cv_use_iff='wxUSE_IFF=no'
9375 fi
9376
9377 else
9378
9379 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x ; then
9381 eval "DEFAULT_$LINE"
9382 else
9383 no_cache=1
9384 fi
9385
9386 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9387
9388 fi;
9389
9390 eval "$ac_cv_use_iff"
9391 if test "$no_cache" != 1; then
9392 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9393 fi
9394
9395 if test "$wxUSE_IFF" = yes; then
9396 echo "$as_me:$LINENO: result: yes" >&5
9397 echo "${ECHO_T}yes" >&6
9398 else
9399 echo "$as_me:$LINENO: result: no" >&5
9400 echo "${ECHO_T}no" >&6
9401 fi
9402
9403
9404 enablestring=
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9407 no_cache=0
9408 # Check whether --enable-pnm or --disable-pnm was given.
9409 if test "${enable_pnm+set}" = set; then
9410 enableval="$enable_pnm"
9411
9412 if test "$enableval" = yes; then
9413 ac_cv_use_pnm='wxUSE_PNM=yes'
9414 else
9415 ac_cv_use_pnm='wxUSE_PNM=no'
9416 fi
9417
9418 else
9419
9420 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 else
9424 no_cache=1
9425 fi
9426
9427 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9428
9429 fi;
9430
9431 eval "$ac_cv_use_pnm"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9434 fi
9435
9436 if test "$wxUSE_PNM" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9439 else
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9442 fi
9443
9444
9445 enablestring=
9446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9448 no_cache=0
9449 # Check whether --enable-xpm or --disable-xpm was given.
9450 if test "${enable_xpm+set}" = set; then
9451 enableval="$enable_xpm"
9452
9453 if test "$enableval" = yes; then
9454 ac_cv_use_xpm='wxUSE_XPM=yes'
9455 else
9456 ac_cv_use_xpm='wxUSE_XPM=no'
9457 fi
9458
9459 else
9460
9461 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x ; then
9463 eval "DEFAULT_$LINE"
9464 else
9465 no_cache=1
9466 fi
9467
9468 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9469
9470 fi;
9471
9472 eval "$ac_cv_use_xpm"
9473 if test "$no_cache" != 1; then
9474 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9475 fi
9476
9477 if test "$wxUSE_XPM" = yes; then
9478 echo "$as_me:$LINENO: result: yes" >&5
9479 echo "${ECHO_T}yes" >&6
9480 else
9481 echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6
9483 fi
9484
9485
9486 enablestring=
9487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9489 no_cache=0
9490 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9491 if test "${enable_ico_cur+set}" = set; then
9492 enableval="$enable_ico_cur"
9493
9494 if test "$enableval" = yes; then
9495 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9496 else
9497 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9498 fi
9499
9500 else
9501
9502 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x ; then
9504 eval "DEFAULT_$LINE"
9505 else
9506 no_cache=1
9507 fi
9508
9509 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9510
9511 fi;
9512
9513 eval "$ac_cv_use_ico_cur"
9514 if test "$no_cache" != 1; then
9515 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9516 fi
9517
9518 if test "$wxUSE_ICO_CUR" = yes; then
9519 echo "$as_me:$LINENO: result: yes" >&5
9520 echo "${ECHO_T}yes" >&6
9521 else
9522 echo "$as_me:$LINENO: result: no" >&5
9523 echo "${ECHO_T}no" >&6
9524 fi
9525
9526
9527 fi
9528
9529
9530
9531 enablestring=
9532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9534 no_cache=0
9535 # Check whether --enable-official_build or --disable-official_build was given.
9536 if test "${enable_official_build+set}" = set; then
9537 enableval="$enable_official_build"
9538
9539 if test "$enableval" = yes; then
9540 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9541 else
9542 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9543 fi
9544
9545 else
9546
9547 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9550 else
9551 no_cache=1
9552 fi
9553
9554 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9555
9556 fi;
9557
9558 eval "$ac_cv_use_official_build"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9564 echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6
9566 else
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9569 fi
9570
9571 # Check whether --enable-vendor or --disable-vendor was given.
9572 if test "${enable_vendor+set}" = set; then
9573 enableval="$enable_vendor"
9574 VENDOR="$enableval"
9575 fi;
9576 if test "x$VENDOR" = "x"; then
9577 VENDOR="custom"
9578 fi
9579
9580 case "${host}" in
9581 *-pc-os2_emx | *-pc-os2-emx )
9582 PATH_IFS=';'
9583 ;;
9584 *)
9585 PATH_IFS=':'
9586 ;;
9587 esac
9588
9589
9590
9591 echo "saving argument cache $wx_arg_cache_file"
9592 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9593
9594
9595
9596 echo "$as_me:$LINENO: checking for toolkit" >&5
9597 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9598
9599 # In Wine, we need to default to MSW, not GTK or MOTIF
9600 if test "$wxUSE_WINE" = "yes"; then
9601 DEFAULT_DEFAULT_wxUSE_GTK=0
9602 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9603 DEFAULT_DEFAULT_wxUSE_MSW=1
9604 fi
9605
9606 if test "$wxUSE_GUI" = "yes"; then
9607
9608 if test "$USE_BEOS" = 1; then
9609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9610 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9611 { (exit 1); exit 1; }; }
9612 fi
9613
9614 if test "$TOOLKIT_GIVEN" = 1; then
9615 for toolkit in `echo $ALL_TOOLKITS`; do
9616 var=wxUSE_$toolkit
9617 eval "value=\$${var}"
9618 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9619 done
9620 else
9621 for toolkit in `echo $ALL_TOOLKITS`; do
9622 if test "$has_toolkit_in_cache" != 1; then
9623 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9624 else
9625 var=DEFAULT_wxUSE_$toolkit
9626 fi
9627 eval "wxUSE_$toolkit=\$${var}"
9628 done
9629 fi
9630
9631 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9632 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9633 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9634
9635 case "${host}" in
9636 *-pc-os2_emx | *-pc-os2-emx )
9637 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9638 esac
9639
9640 case "$NUM_TOOLKITS" in
9641 1)
9642 ;;
9643 0)
9644 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9645 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9646 { (exit 1); exit 1; }; }
9647 ;;
9648 *)
9649 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9650 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9651 { (exit 1); exit 1; }; }
9652 esac
9653
9654 for toolkit in `echo $ALL_TOOLKITS`; do
9655 var=wxUSE_$toolkit
9656 eval "value=\$${var}"
9657 if test "x$value" != x; then
9658 cache_var=CACHE_$toolkit
9659 eval "cache=\$${cache_var}"
9660 if test "$cache" = 1; then
9661 echo "$var=$value" >> ${wx_arg_cache_file}
9662 fi
9663 if test "$value" = 1; then
9664 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9665 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9666 echo "${ECHO_T}$toolkit_echo" >&6
9667 fi
9668 fi
9669 done
9670 else
9671 if test "x$host_alias" != "x"; then
9672 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9673 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9674 else
9675 echo "$as_me:$LINENO: result: base only" >&5
9676 echo "${ECHO_T}base only" >&6
9677 fi
9678 fi
9679
9680 wants_win32=0
9681 doesnt_want_win32=0
9682 case "${host}" in
9683 *-*-cygwin*)
9684 if test "$wxUSE_MSW" = 1 ; then
9685 wants_win32=1
9686 else
9687 doesnt_want_win32=1
9688 fi
9689 ;;
9690 *-*-mingw*)
9691 wants_win32=1
9692 ;;
9693 esac
9694
9695 if test "$wxUSE_WINE" = "yes"; then
9696 wants_win32=1
9697 CC=winegcc
9698 CXX=wineg++
9699 RESCOMP=wrc
9700 fi
9701
9702 if test "$wants_win32" = 1 ; then
9703 USE_UNIX=0
9704 USE_WIN32=1
9705 cat >>confdefs.h <<\_ACEOF
9706 #define __WIN32__ 1
9707 _ACEOF
9708
9709 cat >>confdefs.h <<\_ACEOF
9710 #define __WIN95__ 1
9711 _ACEOF
9712
9713 cat >>confdefs.h <<\_ACEOF
9714 #define __WINDOWS__ 1
9715 _ACEOF
9716
9717 cat >>confdefs.h <<\_ACEOF
9718 #define __GNUWIN32__ 1
9719 _ACEOF
9720
9721 cat >>confdefs.h <<\_ACEOF
9722 #define STRICT 1
9723 _ACEOF
9724
9725 cat >>confdefs.h <<\_ACEOF
9726 #define WINVER 0x0400
9727 _ACEOF
9728
9729 fi
9730 if test "$doesnt_want_win32" = 1 ; then
9731 USE_UNIX=1
9732 USE_WIN32=0
9733 fi
9734
9735 if test "$USE_UNIX" = 1 ; then
9736 wxUSE_UNIX=yes
9737 cat >>confdefs.h <<\_ACEOF
9738 #define __UNIX__ 1
9739 _ACEOF
9740
9741 fi
9742
9743
9744 cat >confcache <<\_ACEOF
9745 # This file is a shell script that caches the results of configure
9746 # tests run on this system so they can be shared between configure
9747 # scripts and configure runs, see configure's option --config-cache.
9748 # It is not useful on other systems. If it contains results you don't
9749 # want to keep, you may remove or edit it.
9750 #
9751 # config.status only pays attention to the cache file if you give it
9752 # the --recheck option to rerun configure.
9753 #
9754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9756 # following values.
9757
9758 _ACEOF
9759
9760 # The following way of writing the cache mishandles newlines in values,
9761 # but we know of no workaround that is simple, portable, and efficient.
9762 # So, don't put newlines in cache variables' values.
9763 # Ultrix sh set writes to stderr and can't be redirected directly,
9764 # and sets the high bit in the cache file unless we assign to the vars.
9765 {
9766 (set) 2>&1 |
9767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9768 *ac_space=\ *)
9769 # `set' does not quote correctly, so add quotes (double-quote
9770 # substitution turns \\\\ into \\, and sed turns \\ into \).
9771 sed -n \
9772 "s/'/'\\\\''/g;
9773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9774 ;;
9775 *)
9776 # `set' quotes correctly as required by POSIX, so do not add quotes.
9777 sed -n \
9778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9779 ;;
9780 esac;
9781 } |
9782 sed '
9783 t clear
9784 : clear
9785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9786 t end
9787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9788 : end' >>confcache
9789 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9790 if test -w $cache_file; then
9791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9792 cat confcache >$cache_file
9793 else
9794 echo "not updating unwritable cache $cache_file"
9795 fi
9796 fi
9797 rm -f confcache
9798
9799 if test "$build" != "$host" ; then
9800 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9801 CC=$host_alias-gcc
9802 CXX=$host_alias-c++
9803 AR=$host_alias-ar
9804 RANLIB=$host_alias-ranlib
9805 DLLTOOL=$host_alias-dlltool
9806 RESCOMP=$host_alias-windres
9807 LD=$host_alias-ld
9808 NM=$host_alias-nm
9809 STRIP=$host_alias-strip
9810 else
9811 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9812 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9813 { (exit 1); exit 1; }; }
9814 fi
9815 fi
9816
9817 CFLAGS=${CFLAGS:=}
9818 ac_ext=c
9819 ac_cpp='$CPP $CPPFLAGS'
9820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9823 if test -n "$ac_tool_prefix"; then
9824 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9825 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9826 echo "$as_me:$LINENO: checking for $ac_word" >&5
9827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9828 if test "${ac_cv_prog_CC+set}" = set; then
9829 echo $ECHO_N "(cached) $ECHO_C" >&6
9830 else
9831 if test -n "$CC"; then
9832 ac_cv_prog_CC="$CC" # Let the user override the test.
9833 else
9834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9835 for as_dir in $PATH
9836 do
9837 IFS=$as_save_IFS
9838 test -z "$as_dir" && as_dir=.
9839 for ac_exec_ext in '' $ac_executable_extensions; do
9840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9841 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9843 break 2
9844 fi
9845 done
9846 done
9847
9848 fi
9849 fi
9850 CC=$ac_cv_prog_CC
9851 if test -n "$CC"; then
9852 echo "$as_me:$LINENO: result: $CC" >&5
9853 echo "${ECHO_T}$CC" >&6
9854 else
9855 echo "$as_me:$LINENO: result: no" >&5
9856 echo "${ECHO_T}no" >&6
9857 fi
9858
9859 fi
9860 if test -z "$ac_cv_prog_CC"; then
9861 ac_ct_CC=$CC
9862 # Extract the first word of "gcc", so it can be a program name with args.
9863 set dummy gcc; ac_word=$2
9864 echo "$as_me:$LINENO: checking for $ac_word" >&5
9865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9866 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9868 else
9869 if test -n "$ac_ct_CC"; then
9870 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9871 else
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873 for as_dir in $PATH
9874 do
9875 IFS=$as_save_IFS
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9879 ac_cv_prog_ac_ct_CC="gcc"
9880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9881 break 2
9882 fi
9883 done
9884 done
9885
9886 fi
9887 fi
9888 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9889 if test -n "$ac_ct_CC"; then
9890 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9891 echo "${ECHO_T}$ac_ct_CC" >&6
9892 else
9893 echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6
9895 fi
9896
9897 CC=$ac_ct_CC
9898 else
9899 CC="$ac_cv_prog_CC"
9900 fi
9901
9902 if test -z "$CC"; then
9903 if test -n "$ac_tool_prefix"; then
9904 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9905 set dummy ${ac_tool_prefix}cc; ac_word=$2
9906 echo "$as_me:$LINENO: checking for $ac_word" >&5
9907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9908 if test "${ac_cv_prog_CC+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910 else
9911 if test -n "$CC"; then
9912 ac_cv_prog_CC="$CC" # Let the user override the test.
9913 else
9914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9915 for as_dir in $PATH
9916 do
9917 IFS=$as_save_IFS
9918 test -z "$as_dir" && as_dir=.
9919 for ac_exec_ext in '' $ac_executable_extensions; do
9920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9921 ac_cv_prog_CC="${ac_tool_prefix}cc"
9922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 break 2
9924 fi
9925 done
9926 done
9927
9928 fi
9929 fi
9930 CC=$ac_cv_prog_CC
9931 if test -n "$CC"; then
9932 echo "$as_me:$LINENO: result: $CC" >&5
9933 echo "${ECHO_T}$CC" >&6
9934 else
9935 echo "$as_me:$LINENO: result: no" >&5
9936 echo "${ECHO_T}no" >&6
9937 fi
9938
9939 fi
9940 if test -z "$ac_cv_prog_CC"; then
9941 ac_ct_CC=$CC
9942 # Extract the first word of "cc", so it can be a program name with args.
9943 set dummy cc; ac_word=$2
9944 echo "$as_me:$LINENO: checking for $ac_word" >&5
9945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 else
9949 if test -n "$ac_ct_CC"; then
9950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9951 else
9952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9953 for as_dir in $PATH
9954 do
9955 IFS=$as_save_IFS
9956 test -z "$as_dir" && as_dir=.
9957 for ac_exec_ext in '' $ac_executable_extensions; do
9958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9959 ac_cv_prog_ac_ct_CC="cc"
9960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9961 break 2
9962 fi
9963 done
9964 done
9965
9966 fi
9967 fi
9968 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9969 if test -n "$ac_ct_CC"; then
9970 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9971 echo "${ECHO_T}$ac_ct_CC" >&6
9972 else
9973 echo "$as_me:$LINENO: result: no" >&5
9974 echo "${ECHO_T}no" >&6
9975 fi
9976
9977 CC=$ac_ct_CC
9978 else
9979 CC="$ac_cv_prog_CC"
9980 fi
9981
9982 fi
9983 if test -z "$CC"; then
9984 # Extract the first word of "cc", so it can be a program name with args.
9985 set dummy cc; ac_word=$2
9986 echo "$as_me:$LINENO: checking for $ac_word" >&5
9987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9988 if test "${ac_cv_prog_CC+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 else
9991 if test -n "$CC"; then
9992 ac_cv_prog_CC="$CC" # Let the user override the test.
9993 else
9994 ac_prog_rejected=no
9995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9996 for as_dir in $PATH
9997 do
9998 IFS=$as_save_IFS
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10003 ac_prog_rejected=yes
10004 continue
10005 fi
10006 ac_cv_prog_CC="cc"
10007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 break 2
10009 fi
10010 done
10011 done
10012
10013 if test $ac_prog_rejected = yes; then
10014 # We found a bogon in the path, so make sure we never use it.
10015 set dummy $ac_cv_prog_CC
10016 shift
10017 if test $# != 0; then
10018 # We chose a different compiler from the bogus one.
10019 # However, it has the same basename, so the bogon will be chosen
10020 # first if we set CC to just the basename; use the full file name.
10021 shift
10022 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10023 fi
10024 fi
10025 fi
10026 fi
10027 CC=$ac_cv_prog_CC
10028 if test -n "$CC"; then
10029 echo "$as_me:$LINENO: result: $CC" >&5
10030 echo "${ECHO_T}$CC" >&6
10031 else
10032 echo "$as_me:$LINENO: result: no" >&5
10033 echo "${ECHO_T}no" >&6
10034 fi
10035
10036 fi
10037 if test -z "$CC"; then
10038 if test -n "$ac_tool_prefix"; then
10039 for ac_prog in cl
10040 do
10041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10043 echo "$as_me:$LINENO: checking for $ac_word" >&5
10044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10045 if test "${ac_cv_prog_CC+set}" = set; then
10046 echo $ECHO_N "(cached) $ECHO_C" >&6
10047 else
10048 if test -n "$CC"; then
10049 ac_cv_prog_CC="$CC" # Let the user override the test.
10050 else
10051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10052 for as_dir in $PATH
10053 do
10054 IFS=$as_save_IFS
10055 test -z "$as_dir" && as_dir=.
10056 for ac_exec_ext in '' $ac_executable_extensions; do
10057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10058 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10060 break 2
10061 fi
10062 done
10063 done
10064
10065 fi
10066 fi
10067 CC=$ac_cv_prog_CC
10068 if test -n "$CC"; then
10069 echo "$as_me:$LINENO: result: $CC" >&5
10070 echo "${ECHO_T}$CC" >&6
10071 else
10072 echo "$as_me:$LINENO: result: no" >&5
10073 echo "${ECHO_T}no" >&6
10074 fi
10075
10076 test -n "$CC" && break
10077 done
10078 fi
10079 if test -z "$CC"; then
10080 ac_ct_CC=$CC
10081 for ac_prog in cl
10082 do
10083 # Extract the first word of "$ac_prog", so it can be a program name with args.
10084 set dummy $ac_prog; ac_word=$2
10085 echo "$as_me:$LINENO: checking for $ac_word" >&5
10086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10088 echo $ECHO_N "(cached) $ECHO_C" >&6
10089 else
10090 if test -n "$ac_ct_CC"; then
10091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10092 else
10093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10094 for as_dir in $PATH
10095 do
10096 IFS=$as_save_IFS
10097 test -z "$as_dir" && as_dir=.
10098 for ac_exec_ext in '' $ac_executable_extensions; do
10099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10100 ac_cv_prog_ac_ct_CC="$ac_prog"
10101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10102 break 2
10103 fi
10104 done
10105 done
10106
10107 fi
10108 fi
10109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10110 if test -n "$ac_ct_CC"; then
10111 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10112 echo "${ECHO_T}$ac_ct_CC" >&6
10113 else
10114 echo "$as_me:$LINENO: result: no" >&5
10115 echo "${ECHO_T}no" >&6
10116 fi
10117
10118 test -n "$ac_ct_CC" && break
10119 done
10120
10121 CC=$ac_ct_CC
10122 fi
10123
10124 fi
10125
10126
10127 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10128 See \`config.log' for more details." >&5
10129 echo "$as_me: error: no acceptable C compiler found in \$PATH
10130 See \`config.log' for more details." >&2;}
10131 { (exit 1); exit 1; }; }
10132
10133 # Provide some information about the compiler.
10134 echo "$as_me:$LINENO:" \
10135 "checking for C compiler version" >&5
10136 ac_compiler=`set X $ac_compile; echo $2`
10137 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10138 (eval $ac_compiler --version </dev/null >&5) 2>&5
10139 ac_status=$?
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }
10142 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10143 (eval $ac_compiler -v </dev/null >&5) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }
10147 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10148 (eval $ac_compiler -V </dev/null >&5) 2>&5
10149 ac_status=$?
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }
10152
10153 cat >conftest.$ac_ext <<_ACEOF
10154 #line $LINENO "configure"
10155 /* confdefs.h. */
10156 _ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160
10161 int
10162 main ()
10163 {
10164
10165 ;
10166 return 0;
10167 }
10168 _ACEOF
10169 ac_clean_files_save=$ac_clean_files
10170 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10171 # Try to create an executable without -o first, disregard a.out.
10172 # It will help us diagnose broken compilers, and finding out an intuition
10173 # of exeext.
10174 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10175 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10176 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10177 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10178 (eval $ac_link_default) 2>&5
10179 ac_status=$?
10180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10181 (exit $ac_status); }; then
10182 # Find the output, starting from the most likely. This scheme is
10183 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10184 # resort.
10185
10186 # Be careful to initialize this variable, since it used to be cached.
10187 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10188 ac_cv_exeext=
10189 # b.out is created by i960 compilers.
10190 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10191 do
10192 test -f "$ac_file" || continue
10193 case $ac_file in
10194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10195 ;;
10196 conftest.$ac_ext )
10197 # This is the source file.
10198 ;;
10199 [ab].out )
10200 # We found the default executable, but exeext='' is most
10201 # certainly right.
10202 break;;
10203 *.* )
10204 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10205 # FIXME: I believe we export ac_cv_exeext for Libtool,
10206 # but it would be cool to find out if it's true. Does anybody
10207 # maintain Libtool? --akim.
10208 export ac_cv_exeext
10209 break;;
10210 * )
10211 break;;
10212 esac
10213 done
10214 else
10215 echo "$as_me: failed program was:" >&5
10216 sed 's/^/| /' conftest.$ac_ext >&5
10217
10218 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10219 See \`config.log' for more details." >&5
10220 echo "$as_me: error: C compiler cannot create executables
10221 See \`config.log' for more details." >&2;}
10222 { (exit 77); exit 77; }; }
10223 fi
10224
10225 ac_exeext=$ac_cv_exeext
10226 echo "$as_me:$LINENO: result: $ac_file" >&5
10227 echo "${ECHO_T}$ac_file" >&6
10228
10229 # Check the compiler produces executables we can run. If not, either
10230 # the compiler is broken, or we cross compile.
10231 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10232 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10233 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10234 # If not cross compiling, check that we can run a simple program.
10235 if test "$cross_compiling" != yes; then
10236 if { ac_try='./$ac_file'
10237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 (eval $ac_try) 2>&5
10239 ac_status=$?
10240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10241 (exit $ac_status); }; }; then
10242 cross_compiling=no
10243 else
10244 if test "$cross_compiling" = maybe; then
10245 cross_compiling=yes
10246 else
10247 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10248 If you meant to cross compile, use \`--host'.
10249 See \`config.log' for more details." >&5
10250 echo "$as_me: error: cannot run C compiled programs.
10251 If you meant to cross compile, use \`--host'.
10252 See \`config.log' for more details." >&2;}
10253 { (exit 1); exit 1; }; }
10254 fi
10255 fi
10256 fi
10257 echo "$as_me:$LINENO: result: yes" >&5
10258 echo "${ECHO_T}yes" >&6
10259
10260 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10261 ac_clean_files=$ac_clean_files_save
10262 # Check the compiler produces executables we can run. If not, either
10263 # the compiler is broken, or we cross compile.
10264 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10265 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10266 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10267 echo "${ECHO_T}$cross_compiling" >&6
10268
10269 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10270 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10272 (eval $ac_link) 2>&5
10273 ac_status=$?
10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); }; then
10276 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10277 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10278 # work properly (i.e., refer to `conftest.exe'), while it won't with
10279 # `rm'.
10280 for ac_file in conftest.exe conftest conftest.*; do
10281 test -f "$ac_file" || continue
10282 case $ac_file in
10283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10284 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10285 export ac_cv_exeext
10286 break;;
10287 * ) break;;
10288 esac
10289 done
10290 else
10291 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10292 See \`config.log' for more details." >&5
10293 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10294 See \`config.log' for more details." >&2;}
10295 { (exit 1); exit 1; }; }
10296 fi
10297
10298 rm -f conftest$ac_cv_exeext
10299 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10300 echo "${ECHO_T}$ac_cv_exeext" >&6
10301
10302 rm -f conftest.$ac_ext
10303 EXEEXT=$ac_cv_exeext
10304 ac_exeext=$EXEEXT
10305 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10306 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10307 if test "${ac_cv_objext+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 else
10310 cat >conftest.$ac_ext <<_ACEOF
10311 #line $LINENO "configure"
10312 /* confdefs.h. */
10313 _ACEOF
10314 cat confdefs.h >>conftest.$ac_ext
10315 cat >>conftest.$ac_ext <<_ACEOF
10316 /* end confdefs.h. */
10317
10318 int
10319 main ()
10320 {
10321
10322 ;
10323 return 0;
10324 }
10325 _ACEOF
10326 rm -f conftest.o conftest.obj
10327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10328 (eval $ac_compile) 2>&5
10329 ac_status=$?
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }; then
10332 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10333 case $ac_file in
10334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10335 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10336 break;;
10337 esac
10338 done
10339 else
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5
10342
10343 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10344 See \`config.log' for more details." >&5
10345 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10346 See \`config.log' for more details." >&2;}
10347 { (exit 1); exit 1; }; }
10348 fi
10349
10350 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10351 fi
10352 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10353 echo "${ECHO_T}$ac_cv_objext" >&6
10354 OBJEXT=$ac_cv_objext
10355 ac_objext=$OBJEXT
10356 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10357 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10358 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 else
10361 cat >conftest.$ac_ext <<_ACEOF
10362 #line $LINENO "configure"
10363 /* confdefs.h. */
10364 _ACEOF
10365 cat confdefs.h >>conftest.$ac_ext
10366 cat >>conftest.$ac_ext <<_ACEOF
10367 /* end confdefs.h. */
10368
10369 int
10370 main ()
10371 {
10372 #ifndef __GNUC__
10373 choke me
10374 #endif
10375
10376 ;
10377 return 0;
10378 }
10379 _ACEOF
10380 rm -f conftest.$ac_objext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10383 ac_status=$?
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10389 ac_status=$?
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_compiler_gnu=yes
10393 else
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.$ac_ext >&5
10396
10397 ac_compiler_gnu=no
10398 fi
10399 rm -f conftest.$ac_objext conftest.$ac_ext
10400 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10401
10402 fi
10403 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10404 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10405 GCC=`test $ac_compiler_gnu = yes && echo yes`
10406 ac_test_CFLAGS=${CFLAGS+set}
10407 ac_save_CFLAGS=$CFLAGS
10408 CFLAGS="-g"
10409 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10410 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10411 if test "${ac_cv_prog_cc_g+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10413 else
10414 cat >conftest.$ac_ext <<_ACEOF
10415 #line $LINENO "configure"
10416 /* confdefs.h. */
10417 _ACEOF
10418 cat confdefs.h >>conftest.$ac_ext
10419 cat >>conftest.$ac_ext <<_ACEOF
10420 /* end confdefs.h. */
10421
10422 int
10423 main ()
10424 {
10425
10426 ;
10427 return 0;
10428 }
10429 _ACEOF
10430 rm -f conftest.$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>&5
10433 ac_status=$?
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try='test -s conftest.$ac_objext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10439 ac_status=$?
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10442 ac_cv_prog_cc_g=yes
10443 else
10444 echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.$ac_ext >&5
10446
10447 ac_cv_prog_cc_g=no
10448 fi
10449 rm -f conftest.$ac_objext conftest.$ac_ext
10450 fi
10451 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10453 if test "$ac_test_CFLAGS" = set; then
10454 CFLAGS=$ac_save_CFLAGS
10455 elif test $ac_cv_prog_cc_g = yes; then
10456 if test "$GCC" = yes; then
10457 CFLAGS="-g -O2"
10458 else
10459 CFLAGS="-g"
10460 fi
10461 else
10462 if test "$GCC" = yes; then
10463 CFLAGS="-O2"
10464 else
10465 CFLAGS=
10466 fi
10467 fi
10468 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10469 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10470 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 else
10473 ac_cv_prog_cc_stdc=no
10474 ac_save_CC=$CC
10475 cat >conftest.$ac_ext <<_ACEOF
10476 #line $LINENO "configure"
10477 /* confdefs.h. */
10478 _ACEOF
10479 cat confdefs.h >>conftest.$ac_ext
10480 cat >>conftest.$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10482 #include <stdarg.h>
10483 #include <stdio.h>
10484 #include <sys/types.h>
10485 #include <sys/stat.h>
10486 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10487 struct buf { int x; };
10488 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10489 static char *e (p, i)
10490 char **p;
10491 int i;
10492 {
10493 return p[i];
10494 }
10495 static char *f (char * (*g) (char **, int), char **p, ...)
10496 {
10497 char *s;
10498 va_list v;
10499 va_start (v,p);
10500 s = g (p, va_arg (v,int));
10501 va_end (v);
10502 return s;
10503 }
10504 int test (int i, double x);
10505 struct s1 {int (*f) (int a);};
10506 struct s2 {int (*f) (double a);};
10507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10508 int argc;
10509 char **argv;
10510 int
10511 main ()
10512 {
10513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10514 ;
10515 return 0;
10516 }
10517 _ACEOF
10518 # Don't try gcc -ansi; that turns off useful extensions and
10519 # breaks some systems' header files.
10520 # AIX -qlanglvl=ansi
10521 # Ultrix and OSF/1 -std1
10522 # HP-UX 10.20 and later -Ae
10523 # HP-UX older versions -Aa -D_HPUX_SOURCE
10524 # SVR4 -Xc -D__EXTENSIONS__
10525 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10526 do
10527 CC="$ac_save_CC $ac_arg"
10528 rm -f conftest.$ac_objext
10529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10530 (eval $ac_compile) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } &&
10534 { ac_try='test -s conftest.$ac_objext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10537 ac_status=$?
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_prog_cc_stdc=$ac_arg
10541 break
10542 else
10543 echo "$as_me: failed program was:" >&5
10544 sed 's/^/| /' conftest.$ac_ext >&5
10545
10546 fi
10547 rm -f conftest.$ac_objext
10548 done
10549 rm -f conftest.$ac_ext conftest.$ac_objext
10550 CC=$ac_save_CC
10551
10552 fi
10553
10554 case "x$ac_cv_prog_cc_stdc" in
10555 x|xno)
10556 echo "$as_me:$LINENO: result: none needed" >&5
10557 echo "${ECHO_T}none needed" >&6 ;;
10558 *)
10559 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10560 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10561 CC="$CC $ac_cv_prog_cc_stdc" ;;
10562 esac
10563
10564 # Some people use a C++ compiler to compile C. Since we use `exit',
10565 # in C++ we need to declare it. In case someone uses the same compiler
10566 # for both compiling C and C++ we need to have the C++ compiler decide
10567 # the declaration of exit, since it's the most demanding environment.
10568 cat >conftest.$ac_ext <<_ACEOF
10569 #ifndef __cplusplus
10570 choke me
10571 #endif
10572 _ACEOF
10573 rm -f conftest.$ac_objext
10574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10575 (eval $ac_compile) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -s conftest.$ac_objext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10582 ac_status=$?
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 for ac_declaration in \
10586 '' \
10587 'extern "C" void std::exit (int) throw (); using std::exit;' \
10588 'extern "C" void std::exit (int); using std::exit;' \
10589 'extern "C" void exit (int) throw ();' \
10590 'extern "C" void exit (int);' \
10591 'void exit (int);'
10592 do
10593 cat >conftest.$ac_ext <<_ACEOF
10594 #line $LINENO "configure"
10595 /* confdefs.h. */
10596 _ACEOF
10597 cat confdefs.h >>conftest.$ac_ext
10598 cat >>conftest.$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10600 $ac_declaration
10601 #include <stdlib.h>
10602 int
10603 main ()
10604 {
10605 exit (42);
10606 ;
10607 return 0;
10608 }
10609 _ACEOF
10610 rm -f conftest.$ac_objext
10611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10612 (eval $ac_compile) 2>&5
10613 ac_status=$?
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try='test -s conftest.$ac_objext'
10617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10618 (eval $ac_try) 2>&5
10619 ac_status=$?
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); }; }; then
10622 :
10623 else
10624 echo "$as_me: failed program was:" >&5
10625 sed 's/^/| /' conftest.$ac_ext >&5
10626
10627 continue
10628 fi
10629 rm -f conftest.$ac_objext conftest.$ac_ext
10630 cat >conftest.$ac_ext <<_ACEOF
10631 #line $LINENO "configure"
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 $ac_declaration
10638 int
10639 main ()
10640 {
10641 exit (42);
10642 ;
10643 return 0;
10644 }
10645 _ACEOF
10646 rm -f conftest.$ac_objext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10648 (eval $ac_compile) 2>&5
10649 ac_status=$?
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try='test -s conftest.$ac_objext'
10653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10654 (eval $ac_try) 2>&5
10655 ac_status=$?
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then
10658 break
10659 else
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.$ac_ext >&5
10662
10663 fi
10664 rm -f conftest.$ac_objext conftest.$ac_ext
10665 done
10666 rm -f conftest*
10667 if test -n "$ac_declaration"; then
10668 echo '#ifdef __cplusplus' >>confdefs.h
10669 echo $ac_declaration >>confdefs.h
10670 echo '#endif' >>confdefs.h
10671 fi
10672
10673 else
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.$ac_ext >&5
10676
10677 fi
10678 rm -f conftest.$ac_objext conftest.$ac_ext
10679 ac_ext=c
10680 ac_cpp='$CPP $CPPFLAGS'
10681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10684
10685
10686
10687 ac_ext=c
10688 ac_cpp='$CPP $CPPFLAGS'
10689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10692 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10693 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10694 # On Suns, sometimes $CPP names a directory.
10695 if test -n "$CPP" && test -d "$CPP"; then
10696 CPP=
10697 fi
10698 if test -z "$CPP"; then
10699 if test "${ac_cv_prog_CPP+set}" = set; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 else
10702 # Double quotes because CPP needs to be expanded
10703 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10704 do
10705 ac_preproc_ok=false
10706 for ac_c_preproc_warn_flag in '' yes
10707 do
10708 # Use a header file that comes with gcc, so configuring glibc
10709 # with a fresh cross-compiler works.
10710 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10711 # <limits.h> exists even on freestanding compilers.
10712 # On the NeXT, cc -E runs the code through the compiler's parser,
10713 # not just through cpp. "Syntax error" is here to catch this case.
10714 cat >conftest.$ac_ext <<_ACEOF
10715 #line $LINENO "configure"
10716 /* confdefs.h. */
10717 _ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10721 #ifdef __STDC__
10722 # include <limits.h>
10723 #else
10724 # include <assert.h>
10725 #endif
10726 Syntax error
10727 _ACEOF
10728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10730 ac_status=$?
10731 grep -v '^ *+' conftest.er1 >conftest.err
10732 rm -f conftest.er1
10733 cat conftest.err >&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); } >/dev/null; then
10736 if test -s conftest.err; then
10737 ac_cpp_err=$ac_c_preproc_warn_flag
10738 else
10739 ac_cpp_err=
10740 fi
10741 else
10742 ac_cpp_err=yes
10743 fi
10744 if test -z "$ac_cpp_err"; then
10745 :
10746 else
10747 echo "$as_me: failed program was:" >&5
10748 sed 's/^/| /' conftest.$ac_ext >&5
10749
10750 # Broken: fails on valid input.
10751 continue
10752 fi
10753 rm -f conftest.err conftest.$ac_ext
10754
10755 # OK, works on sane cases. Now check whether non-existent headers
10756 # can be detected and how.
10757 cat >conftest.$ac_ext <<_ACEOF
10758 #line $LINENO "configure"
10759 /* confdefs.h. */
10760 _ACEOF
10761 cat confdefs.h >>conftest.$ac_ext
10762 cat >>conftest.$ac_ext <<_ACEOF
10763 /* end confdefs.h. */
10764 #include <ac_nonexistent.h>
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 # Broken: success on invalid input.
10784 continue
10785 else
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10788
10789 # Passes both tests.
10790 ac_preproc_ok=:
10791 break
10792 fi
10793 rm -f conftest.err conftest.$ac_ext
10794
10795 done
10796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10797 rm -f conftest.err conftest.$ac_ext
10798 if $ac_preproc_ok; then
10799 break
10800 fi
10801
10802 done
10803 ac_cv_prog_CPP=$CPP
10804
10805 fi
10806 CPP=$ac_cv_prog_CPP
10807 else
10808 ac_cv_prog_CPP=$CPP
10809 fi
10810 echo "$as_me:$LINENO: result: $CPP" >&5
10811 echo "${ECHO_T}$CPP" >&6
10812 ac_preproc_ok=false
10813 for ac_c_preproc_warn_flag in '' yes
10814 do
10815 # Use a header file that comes with gcc, so configuring glibc
10816 # with a fresh cross-compiler works.
10817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10818 # <limits.h> exists even on freestanding compilers.
10819 # On the NeXT, cc -E runs the code through the compiler's parser,
10820 # not just through cpp. "Syntax error" is here to catch this case.
10821 cat >conftest.$ac_ext <<_ACEOF
10822 #line $LINENO "configure"
10823 /* confdefs.h. */
10824 _ACEOF
10825 cat confdefs.h >>conftest.$ac_ext
10826 cat >>conftest.$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10828 #ifdef __STDC__
10829 # include <limits.h>
10830 #else
10831 # include <assert.h>
10832 #endif
10833 Syntax error
10834 _ACEOF
10835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10837 ac_status=$?
10838 grep -v '^ *+' conftest.er1 >conftest.err
10839 rm -f conftest.er1
10840 cat conftest.err >&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } >/dev/null; then
10843 if test -s conftest.err; then
10844 ac_cpp_err=$ac_c_preproc_warn_flag
10845 else
10846 ac_cpp_err=
10847 fi
10848 else
10849 ac_cpp_err=yes
10850 fi
10851 if test -z "$ac_cpp_err"; then
10852 :
10853 else
10854 echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.$ac_ext >&5
10856
10857 # Broken: fails on valid input.
10858 continue
10859 fi
10860 rm -f conftest.err conftest.$ac_ext
10861
10862 # OK, works on sane cases. Now check whether non-existent headers
10863 # can be detected and how.
10864 cat >conftest.$ac_ext <<_ACEOF
10865 #line $LINENO "configure"
10866 /* confdefs.h. */
10867 _ACEOF
10868 cat confdefs.h >>conftest.$ac_ext
10869 cat >>conftest.$ac_ext <<_ACEOF
10870 /* end confdefs.h. */
10871 #include <ac_nonexistent.h>
10872 _ACEOF
10873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10875 ac_status=$?
10876 grep -v '^ *+' conftest.er1 >conftest.err
10877 rm -f conftest.er1
10878 cat conftest.err >&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } >/dev/null; then
10881 if test -s conftest.err; then
10882 ac_cpp_err=$ac_c_preproc_warn_flag
10883 else
10884 ac_cpp_err=
10885 fi
10886 else
10887 ac_cpp_err=yes
10888 fi
10889 if test -z "$ac_cpp_err"; then
10890 # Broken: success on invalid input.
10891 continue
10892 else
10893 echo "$as_me: failed program was:" >&5
10894 sed 's/^/| /' conftest.$ac_ext >&5
10895
10896 # Passes both tests.
10897 ac_preproc_ok=:
10898 break
10899 fi
10900 rm -f conftest.err conftest.$ac_ext
10901
10902 done
10903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10904 rm -f conftest.err conftest.$ac_ext
10905 if $ac_preproc_ok; then
10906 :
10907 else
10908 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10909 See \`config.log' for more details." >&5
10910 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10911 See \`config.log' for more details." >&2;}
10912 { (exit 1); exit 1; }; }
10913 fi
10914
10915 ac_ext=c
10916 ac_cpp='$CPP $CPPFLAGS'
10917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10920
10921
10922 echo "$as_me:$LINENO: checking for egrep" >&5
10923 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10924 if test "${ac_cv_prog_egrep+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 else
10927 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10928 then ac_cv_prog_egrep='grep -E'
10929 else ac_cv_prog_egrep='egrep'
10930 fi
10931 fi
10932 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10933 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10934 EGREP=$ac_cv_prog_egrep
10935
10936
10937 if test $ac_cv_c_compiler_gnu = yes; then
10938 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10939 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10940 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 else
10943 ac_pattern="Autoconf.*'x'"
10944 cat >conftest.$ac_ext <<_ACEOF
10945 #line $LINENO "configure"
10946 /* confdefs.h. */
10947 _ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10951 #include <sgtty.h>
10952 Autoconf TIOCGETP
10953 _ACEOF
10954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10955 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10956 ac_cv_prog_gcc_traditional=yes
10957 else
10958 ac_cv_prog_gcc_traditional=no
10959 fi
10960 rm -f conftest*
10961
10962
10963 if test $ac_cv_prog_gcc_traditional = no; then
10964 cat >conftest.$ac_ext <<_ACEOF
10965 #line $LINENO "configure"
10966 /* confdefs.h. */
10967 _ACEOF
10968 cat confdefs.h >>conftest.$ac_ext
10969 cat >>conftest.$ac_ext <<_ACEOF
10970 /* end confdefs.h. */
10971 #include <termio.h>
10972 Autoconf TCGETA
10973 _ACEOF
10974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10975 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10976 ac_cv_prog_gcc_traditional=yes
10977 fi
10978 rm -f conftest*
10979
10980 fi
10981 fi
10982 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10983 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10984 if test $ac_cv_prog_gcc_traditional = yes; then
10985 CC="$CC -traditional"
10986 fi
10987 fi
10988
10989
10990
10991
10992 ac_ext=cc
10993 ac_cpp='$CXXCPP $CPPFLAGS'
10994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10997
10998
10999 CXXFLAGS=${CXXFLAGS:=}
11000 ac_ext=cc
11001 ac_cpp='$CXXCPP $CPPFLAGS'
11002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11005 if test -n "$ac_tool_prefix"; then
11006 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11007 do
11008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_CXX+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 else
11015 if test -n "$CXX"; then
11016 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11017 else
11018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019 for as_dir in $PATH
11020 do
11021 IFS=$as_save_IFS
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 break 2
11028 fi
11029 done
11030 done
11031
11032 fi
11033 fi
11034 CXX=$ac_cv_prog_CXX
11035 if test -n "$CXX"; then
11036 echo "$as_me:$LINENO: result: $CXX" >&5
11037 echo "${ECHO_T}$CXX" >&6
11038 else
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11041 fi
11042
11043 test -n "$CXX" && break
11044 done
11045 fi
11046 if test -z "$CXX"; then
11047 ac_ct_CXX=$CXX
11048 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11049 do
11050 # Extract the first word of "$ac_prog", so it can be a program name with args.
11051 set dummy $ac_prog; ac_word=$2
11052 echo "$as_me:$LINENO: checking for $ac_word" >&5
11053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11054 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11056 else
11057 if test -n "$ac_ct_CXX"; then
11058 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11059 else
11060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11061 for as_dir in $PATH
11062 do
11063 IFS=$as_save_IFS
11064 test -z "$as_dir" && as_dir=.
11065 for ac_exec_ext in '' $ac_executable_extensions; do
11066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11067 ac_cv_prog_ac_ct_CXX="$ac_prog"
11068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11069 break 2
11070 fi
11071 done
11072 done
11073
11074 fi
11075 fi
11076 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11077 if test -n "$ac_ct_CXX"; then
11078 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11079 echo "${ECHO_T}$ac_ct_CXX" >&6
11080 else
11081 echo "$as_me:$LINENO: result: no" >&5
11082 echo "${ECHO_T}no" >&6
11083 fi
11084
11085 test -n "$ac_ct_CXX" && break
11086 done
11087 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11088
11089 CXX=$ac_ct_CXX
11090 fi
11091
11092
11093 # Provide some information about the compiler.
11094 echo "$as_me:$LINENO:" \
11095 "checking for C++ compiler version" >&5
11096 ac_compiler=`set X $ac_compile; echo $2`
11097 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11098 (eval $ac_compiler --version </dev/null >&5) 2>&5
11099 ac_status=$?
11100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); }
11102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11103 (eval $ac_compiler -v </dev/null >&5) 2>&5
11104 ac_status=$?
11105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11106 (exit $ac_status); }
11107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11108 (eval $ac_compiler -V </dev/null >&5) 2>&5
11109 ac_status=$?
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }
11112
11113 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11116 echo $ECHO_N "(cached) $ECHO_C" >&6
11117 else
11118 cat >conftest.$ac_ext <<_ACEOF
11119 #line $LINENO "configure"
11120 /* confdefs.h. */
11121 _ACEOF
11122 cat confdefs.h >>conftest.$ac_ext
11123 cat >>conftest.$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125
11126 int
11127 main ()
11128 {
11129 #ifndef __GNUC__
11130 choke me
11131 #endif
11132
11133 ;
11134 return 0;
11135 }
11136 _ACEOF
11137 rm -f conftest.$ac_objext
11138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11139 (eval $ac_compile) 2>&5
11140 ac_status=$?
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try='test -s conftest.$ac_objext'
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11145 (eval $ac_try) 2>&5
11146 ac_status=$?
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); }; }; then
11149 ac_compiler_gnu=yes
11150 else
11151 echo "$as_me: failed program was:" >&5
11152 sed 's/^/| /' conftest.$ac_ext >&5
11153
11154 ac_compiler_gnu=no
11155 fi
11156 rm -f conftest.$ac_objext conftest.$ac_ext
11157 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11158
11159 fi
11160 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11161 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11162 GXX=`test $ac_compiler_gnu = yes && echo yes`
11163 ac_test_CXXFLAGS=${CXXFLAGS+set}
11164 ac_save_CXXFLAGS=$CXXFLAGS
11165 CXXFLAGS="-g"
11166 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11167 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11168 if test "${ac_cv_prog_cxx_g+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6
11170 else
11171 cat >conftest.$ac_ext <<_ACEOF
11172 #line $LINENO "configure"
11173 /* confdefs.h. */
11174 _ACEOF
11175 cat confdefs.h >>conftest.$ac_ext
11176 cat >>conftest.$ac_ext <<_ACEOF
11177 /* end confdefs.h. */
11178
11179 int
11180 main ()
11181 {
11182
11183 ;
11184 return 0;
11185 }
11186 _ACEOF
11187 rm -f conftest.$ac_objext
11188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11189 (eval $ac_compile) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } &&
11193 { ac_try='test -s conftest.$ac_objext'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11196 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; }; then
11199 ac_cv_prog_cxx_g=yes
11200 else
11201 echo "$as_me: failed program was:" >&5
11202 sed 's/^/| /' conftest.$ac_ext >&5
11203
11204 ac_cv_prog_cxx_g=no
11205 fi
11206 rm -f conftest.$ac_objext conftest.$ac_ext
11207 fi
11208 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11209 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11210 if test "$ac_test_CXXFLAGS" = set; then
11211 CXXFLAGS=$ac_save_CXXFLAGS
11212 elif test $ac_cv_prog_cxx_g = yes; then
11213 if test "$GXX" = yes; then
11214 CXXFLAGS="-g -O2"
11215 else
11216 CXXFLAGS="-g"
11217 fi
11218 else
11219 if test "$GXX" = yes; then
11220 CXXFLAGS="-O2"
11221 else
11222 CXXFLAGS=
11223 fi
11224 fi
11225 for ac_declaration in \
11226 '' \
11227 'extern "C" void std::exit (int) throw (); using std::exit;' \
11228 'extern "C" void std::exit (int); using std::exit;' \
11229 'extern "C" void exit (int) throw ();' \
11230 'extern "C" void exit (int);' \
11231 'void exit (int);'
11232 do
11233 cat >conftest.$ac_ext <<_ACEOF
11234 #line $LINENO "configure"
11235 /* confdefs.h. */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11240 $ac_declaration
11241 #include <stdlib.h>
11242 int
11243 main ()
11244 {
11245 exit (42);
11246 ;
11247 return 0;
11248 }
11249 _ACEOF
11250 rm -f conftest.$ac_objext
11251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11252 (eval $ac_compile) 2>&5
11253 ac_status=$?
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } &&
11256 { ac_try='test -s conftest.$ac_objext'
11257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11258 (eval $ac_try) 2>&5
11259 ac_status=$?
11260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11261 (exit $ac_status); }; }; then
11262 :
11263 else
11264 echo "$as_me: failed program was:" >&5
11265 sed 's/^/| /' conftest.$ac_ext >&5
11266
11267 continue
11268 fi
11269 rm -f conftest.$ac_objext conftest.$ac_ext
11270 cat >conftest.$ac_ext <<_ACEOF
11271 #line $LINENO "configure"
11272 /* confdefs.h. */
11273 _ACEOF
11274 cat confdefs.h >>conftest.$ac_ext
11275 cat >>conftest.$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11277 $ac_declaration
11278 int
11279 main ()
11280 {
11281 exit (42);
11282 ;
11283 return 0;
11284 }
11285 _ACEOF
11286 rm -f conftest.$ac_objext
11287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11288 (eval $ac_compile) 2>&5
11289 ac_status=$?
11290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11291 (exit $ac_status); } &&
11292 { ac_try='test -s conftest.$ac_objext'
11293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11294 (eval $ac_try) 2>&5
11295 ac_status=$?
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); }; }; then
11298 break
11299 else
11300 echo "$as_me: failed program was:" >&5
11301 sed 's/^/| /' conftest.$ac_ext >&5
11302
11303 fi
11304 rm -f conftest.$ac_objext conftest.$ac_ext
11305 done
11306 rm -f conftest*
11307 if test -n "$ac_declaration"; then
11308 echo '#ifdef __cplusplus' >>confdefs.h
11309 echo $ac_declaration >>confdefs.h
11310 echo '#endif' >>confdefs.h
11311 fi
11312
11313 ac_ext=cc
11314 ac_cpp='$CXXCPP $CPPFLAGS'
11315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11318
11319
11320 ac_ext=c
11321 ac_cpp='$CPP $CPPFLAGS'
11322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11325
11326
11327 if test -n "$ac_tool_prefix"; then
11328 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11329 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11330 echo "$as_me:$LINENO: checking for $ac_word" >&5
11331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11332 if test "${ac_cv_prog_RANLIB+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 if test -n "$RANLIB"; then
11336 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11337 else
11338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11339 for as_dir in $PATH
11340 do
11341 IFS=$as_save_IFS
11342 test -z "$as_dir" && as_dir=.
11343 for ac_exec_ext in '' $ac_executable_extensions; do
11344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11345 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11347 break 2
11348 fi
11349 done
11350 done
11351
11352 fi
11353 fi
11354 RANLIB=$ac_cv_prog_RANLIB
11355 if test -n "$RANLIB"; then
11356 echo "$as_me:$LINENO: result: $RANLIB" >&5
11357 echo "${ECHO_T}$RANLIB" >&6
11358 else
11359 echo "$as_me:$LINENO: result: no" >&5
11360 echo "${ECHO_T}no" >&6
11361 fi
11362
11363 fi
11364 if test -z "$ac_cv_prog_RANLIB"; then
11365 ac_ct_RANLIB=$RANLIB
11366 # Extract the first word of "ranlib", so it can be a program name with args.
11367 set dummy ranlib; ac_word=$2
11368 echo "$as_me:$LINENO: checking for $ac_word" >&5
11369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373 if test -n "$ac_ct_RANLIB"; then
11374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11375 else
11376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11377 for as_dir in $PATH
11378 do
11379 IFS=$as_save_IFS
11380 test -z "$as_dir" && as_dir=.
11381 for ac_exec_ext in '' $ac_executable_extensions; do
11382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383 ac_cv_prog_ac_ct_RANLIB="ranlib"
11384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11385 break 2
11386 fi
11387 done
11388 done
11389
11390 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11391 fi
11392 fi
11393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11394 if test -n "$ac_ct_RANLIB"; then
11395 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11396 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11397 else
11398 echo "$as_me:$LINENO: result: no" >&5
11399 echo "${ECHO_T}no" >&6
11400 fi
11401
11402 RANLIB=$ac_ct_RANLIB
11403 else
11404 RANLIB="$ac_cv_prog_RANLIB"
11405 fi
11406
11407
11408 # Extract the first word of "ar", so it can be a program name with args.
11409 set dummy ar; ac_word=$2
11410 echo "$as_me:$LINENO: checking for $ac_word" >&5
11411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11412 if test "${ac_cv_prog_AR+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11414 else
11415 if test -n "$AR"; then
11416 ac_cv_prog_AR="$AR" # Let the user override the test.
11417 else
11418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11419 for as_dir in $PATH
11420 do
11421 IFS=$as_save_IFS
11422 test -z "$as_dir" && as_dir=.
11423 for ac_exec_ext in '' $ac_executable_extensions; do
11424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11425 ac_cv_prog_AR="ar"
11426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11427 break 2
11428 fi
11429 done
11430 done
11431
11432 fi
11433 fi
11434 AR=$ac_cv_prog_AR
11435 if test -n "$AR"; then
11436 echo "$as_me:$LINENO: result: $AR" >&5
11437 echo "${ECHO_T}$AR" >&6
11438 else
11439 echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6
11441 fi
11442
11443 if test "x$AR" = "x" ; then
11444 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11445 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11446 { (exit 1); exit 1; }; }
11447 fi
11448
11449 # Find a good install program. We prefer a C program (faster),
11450 # so one script is as good as another. But avoid the broken or
11451 # incompatible versions:
11452 # SysV /etc/install, /usr/sbin/install
11453 # SunOS /usr/etc/install
11454 # IRIX /sbin/install
11455 # AIX /bin/install
11456 # AmigaOS /C/install, which installs bootblocks on floppy discs
11457 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11458 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11460 # ./install, which can be erroneously created by make from ./install.sh.
11461 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11462 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11463 if test -z "$INSTALL"; then
11464 if test "${ac_cv_path_install+set}" = set; then
11465 echo $ECHO_N "(cached) $ECHO_C" >&6
11466 else
11467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11468 for as_dir in $PATH
11469 do
11470 IFS=$as_save_IFS
11471 test -z "$as_dir" && as_dir=.
11472 # Account for people who put trailing slashes in PATH elements.
11473 case $as_dir/ in
11474 ./ | .// | /cC/* | \
11475 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11476 /usr/ucb/* ) ;;
11477 *)
11478 # OSF1 and SCO ODT 3.0 have their own names for install.
11479 # Don't use installbsd from OSF since it installs stuff as root
11480 # by default.
11481 for ac_prog in ginstall scoinst install; do
11482 for ac_exec_ext in '' $ac_executable_extensions; do
11483 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11484 if test $ac_prog = install &&
11485 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11486 # AIX install. It has an incompatible calling convention.
11487 :
11488 elif test $ac_prog = install &&
11489 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11490 # program-specific install script used by HP pwplus--don't use.
11491 :
11492 else
11493 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11494 break 3
11495 fi
11496 fi
11497 done
11498 done
11499 ;;
11500 esac
11501 done
11502
11503
11504 fi
11505 if test "${ac_cv_path_install+set}" = set; then
11506 INSTALL=$ac_cv_path_install
11507 else
11508 # As a last resort, use the slow shell script. We don't cache a
11509 # path for INSTALL within a source directory, because that will
11510 # break other packages using the cache if that directory is
11511 # removed, or if the path is relative.
11512 INSTALL=$ac_install_sh
11513 fi
11514 fi
11515 echo "$as_me:$LINENO: result: $INSTALL" >&5
11516 echo "${ECHO_T}$INSTALL" >&6
11517
11518 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11519 # It thinks the first close brace ends the variable substitution.
11520 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11521
11522 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11523
11524 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11525
11526
11527 case ${INSTALL} in
11528 /* ) # Absolute
11529 ;;
11530 ?:* ) # Drive letter, considered as absolute.
11531 ;;
11532 *)
11533 INSTALL=`pwd`/${INSTALL} ;;
11534 esac
11535
11536 case ${host} in
11537 *-hp-hpux* )
11538 INSTALL_DIR="mkdir"
11539 ;;
11540
11541 *) INSTALL_DIR="$INSTALL -d"
11542 ;;
11543 esac
11544
11545
11546 case "${host}" in
11547
11548 powerpc-*-darwin* )
11549 INSTALL_PROGRAM="cp -fp"
11550 INSTALL_DATA="cp -fp"
11551 ;;
11552 *)
11553 ;;
11554 esac
11555
11556 # Extract the first word of "strip", so it can be a program name with args.
11557 set dummy strip; ac_word=$2
11558 echo "$as_me:$LINENO: checking for $ac_word" >&5
11559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11560 if test "${ac_cv_prog_STRIP+set}" = set; then
11561 echo $ECHO_N "(cached) $ECHO_C" >&6
11562 else
11563 if test -n "$STRIP"; then
11564 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11565 else
11566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11567 for as_dir in $PATH
11568 do
11569 IFS=$as_save_IFS
11570 test -z "$as_dir" && as_dir=.
11571 for ac_exec_ext in '' $ac_executable_extensions; do
11572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11573 ac_cv_prog_STRIP="strip"
11574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11575 break 2
11576 fi
11577 done
11578 done
11579
11580 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11581 fi
11582 fi
11583 STRIP=$ac_cv_prog_STRIP
11584 if test -n "$STRIP"; then
11585 echo "$as_me:$LINENO: result: $STRIP" >&5
11586 echo "${ECHO_T}$STRIP" >&6
11587 else
11588 echo "$as_me:$LINENO: result: no" >&5
11589 echo "${ECHO_T}no" >&6
11590 fi
11591
11592
11593 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11594 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11595 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11597 else
11598
11599 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11600 egrep -s GNU > /dev/null); then
11601 wx_cv_prog_makeisgnu="yes"
11602 else
11603 wx_cv_prog_makeisgnu="no"
11604 fi
11605
11606 fi
11607 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11608 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11609
11610 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11611 IF_GNU_MAKE=""
11612 else
11613 IF_GNU_MAKE="#"
11614 fi
11615
11616
11617
11618 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11619 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11620 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11621 if test "${wx_cv_prog_makevpath+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 else
11624
11625 cat - << EOF > confMake
11626 check : file
11627 cp \$? \$@
11628 cp \$? final_file
11629 EOF
11630
11631 if test ! -d sub ; then
11632 mkdir sub
11633 fi
11634 echo dummy > sub/file
11635 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11636 RESULT=$?
11637 rm -f sub/file check final_file confMake
11638 rmdir sub
11639 if test "$RESULT" = 0; then
11640 wx_cv_prog_makevpath="yes"
11641 else
11642 wx_cv_prog_makevpath="no"
11643 fi
11644
11645 fi
11646 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11647 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11648
11649 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11650 { { echo "$as_me:$LINENO: error:
11651 You need a make-utility that is able to use the variable
11652 VPATH correctly.
11653 If your version of make does not support VPATH correctly,
11654 please install GNU-make (possibly as gmake), and start
11655 configure with the following command:
11656 export MAKE=gmake; ./configure for sh-type shells
11657 setenv MAKE gmake; ./configure for csh-type shells
11658 Also please do remember to use gmake in this case every time
11659 you are trying to compile.
11660 " >&5
11661 echo "$as_me: error:
11662 You need a make-utility that is able to use the variable
11663 VPATH correctly.
11664 If your version of make does not support VPATH correctly,
11665 please install GNU-make (possibly as gmake), and start
11666 configure with the following command:
11667 export MAKE=gmake; ./configure for sh-type shells
11668 setenv MAKE gmake; ./configure for csh-type shells
11669 Also please do remember to use gmake in this case every time
11670 you are trying to compile.
11671 " >&2;}
11672 { (exit 1); exit 1; }; }
11673 fi fi
11674 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11675 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11676 LN_S=$as_ln_s
11677 if test "$LN_S" = "ln -s"; then
11678 echo "$as_me:$LINENO: result: yes" >&5
11679 echo "${ECHO_T}yes" >&6
11680 else
11681 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11682 echo "${ECHO_T}no, using $LN_S" >&6
11683 fi
11684
11685
11686 case "${host}" in
11687 *-pc-os2_emx | *-pc-os2-emx )
11688 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11689 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11690 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11691 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 else
11694 ac_check_lib_save_LIBS=$LIBS
11695 LIBS="-lcExt $LIBS"
11696 cat >conftest.$ac_ext <<_ACEOF
11697 #line $LINENO "configure"
11698 /* confdefs.h. */
11699 _ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703
11704 /* Override any gcc2 internal prototype to avoid an error. */
11705 #ifdef __cplusplus
11706 extern "C"
11707 #endif
11708 /* We use char because int might match the return type of a gcc2
11709 builtin and then its argument prototype would still apply. */
11710 char drand48 ();
11711 int
11712 main ()
11713 {
11714 drand48 ();
11715 ;
11716 return 0;
11717 }
11718 _ACEOF
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721 (eval $ac_link) 2>&5
11722 ac_status=$?
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11728 ac_status=$?
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 ac_cv_lib_cExt_drand48=yes
11732 else
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.$ac_ext >&5
11735
11736 ac_cv_lib_cExt_drand48=no
11737 fi
11738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_lib_save_LIBS
11740 fi
11741 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11742 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11743 if test $ac_cv_lib_cExt_drand48 = yes; then
11744 LIBS="$LIBS -lcExt"
11745 fi
11746
11747 else
11748 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11749 fi
11750 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11751 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11752 if test "${wx_cv_gcc3+set}" = set; then
11753 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 else
11755
11756 cat >conftest.$ac_ext <<_ACEOF
11757 #line $LINENO "configure"
11758 /* confdefs.h. */
11759 _ACEOF
11760 cat confdefs.h >>conftest.$ac_ext
11761 cat >>conftest.$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11763 #include <features.h>
11764 int
11765 main ()
11766 {
11767
11768 #if (__GNUC__ < 3)
11769 #error old gcc
11770 #endif
11771
11772 ;
11773 return 0;
11774 }
11775 _ACEOF
11776 rm -f conftest.$ac_objext
11777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11778 (eval $ac_compile) 2>&5
11779 ac_status=$?
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } &&
11782 { ac_try='test -s conftest.$ac_objext'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11785 ac_status=$?
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; }; then
11788
11789 wx_cv_gcc3=yes
11790
11791 else
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.$ac_ext >&5
11794
11795
11796 wx_cv_gcc3=no
11797
11798
11799 fi
11800 rm -f conftest.$ac_objext conftest.$ac_ext
11801
11802 fi
11803 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11804 echo "${ECHO_T}$wx_cv_gcc3" >&6
11805 if test "$wx_cv_gcc3" = "no"; then
11806 LIBS="$LIBS -lstdcpp"
11807 else
11808 LIBS="$LIBS -lstdcxx"
11809 fi
11810 ;;
11811 esac
11812
11813
11814 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11815 echo "$as_me:$LINENO: checking for strings.h" >&5
11816 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11817 if test "${ac_cv_header_strings_h+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 else
11820 ac_cv_header_strings_h=no
11821 fi
11822 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11823 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11824 if test "$ac_cv_header_strings_h" = "no"; then
11825 echo "$as_me:$LINENO: result: forced no into cache" >&5
11826 echo "${ECHO_T}forced no into cache" >&6
11827 else
11828 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11829 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11830 fi
11831 fi
11832 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11833 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11834 if test "${ac_cv_header_stdc+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 else
11837 cat >conftest.$ac_ext <<_ACEOF
11838 #line $LINENO "configure"
11839 /* confdefs.h. */
11840 _ACEOF
11841 cat confdefs.h >>conftest.$ac_ext
11842 cat >>conftest.$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844 #include <stdlib.h>
11845 #include <stdarg.h>
11846 #include <string.h>
11847 #include <float.h>
11848
11849 int
11850 main ()
11851 {
11852
11853 ;
11854 return 0;
11855 }
11856 _ACEOF
11857 rm -f conftest.$ac_objext
11858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11859 (eval $ac_compile) 2>&5
11860 ac_status=$?
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } &&
11863 { ac_try='test -s conftest.$ac_objext'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11866 ac_status=$?
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; }; then
11869 ac_cv_header_stdc=yes
11870 else
11871 echo "$as_me: failed program was:" >&5
11872 sed 's/^/| /' conftest.$ac_ext >&5
11873
11874 ac_cv_header_stdc=no
11875 fi
11876 rm -f conftest.$ac_objext conftest.$ac_ext
11877
11878 if test $ac_cv_header_stdc = yes; then
11879 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11880 cat >conftest.$ac_ext <<_ACEOF
11881 #line $LINENO "configure"
11882 /* confdefs.h. */
11883 _ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11887 #include <string.h>
11888
11889 _ACEOF
11890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11891 $EGREP "memchr" >/dev/null 2>&1; then
11892 :
11893 else
11894 ac_cv_header_stdc=no
11895 fi
11896 rm -f conftest*
11897
11898 fi
11899
11900 if test $ac_cv_header_stdc = yes; then
11901 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11902 cat >conftest.$ac_ext <<_ACEOF
11903 #line $LINENO "configure"
11904 /* confdefs.h. */
11905 _ACEOF
11906 cat confdefs.h >>conftest.$ac_ext
11907 cat >>conftest.$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11909 #include <stdlib.h>
11910
11911 _ACEOF
11912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11913 $EGREP "free" >/dev/null 2>&1; then
11914 :
11915 else
11916 ac_cv_header_stdc=no
11917 fi
11918 rm -f conftest*
11919
11920 fi
11921
11922 if test $ac_cv_header_stdc = yes; then
11923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11924 if test "$cross_compiling" = yes; then
11925 :
11926 else
11927 cat >conftest.$ac_ext <<_ACEOF
11928 #line $LINENO "configure"
11929 /* confdefs.h. */
11930 _ACEOF
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11934 #include <ctype.h>
11935 #if ((' ' & 0x0FF) == 0x020)
11936 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11937 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11938 #else
11939 # define ISLOWER(c) \
11940 (('a' <= (c) && (c) <= 'i') \
11941 || ('j' <= (c) && (c) <= 'r') \
11942 || ('s' <= (c) && (c) <= 'z'))
11943 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11944 #endif
11945
11946 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11947 int
11948 main ()
11949 {
11950 int i;
11951 for (i = 0; i < 256; i++)
11952 if (XOR (islower (i), ISLOWER (i))
11953 || toupper (i) != TOUPPER (i))
11954 exit(2);
11955 exit (0);
11956 }
11957 _ACEOF
11958 rm -f conftest$ac_exeext
11959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11960 (eval $ac_link) 2>&5
11961 ac_status=$?
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 (eval $ac_try) 2>&5
11966 ac_status=$?
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); }; }; then
11969 :
11970 else
11971 echo "$as_me: program exited with status $ac_status" >&5
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.$ac_ext >&5
11974
11975 ( exit $ac_status )
11976 ac_cv_header_stdc=no
11977 fi
11978 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11979 fi
11980 fi
11981 fi
11982 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11983 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11984 if test $ac_cv_header_stdc = yes; then
11985
11986 cat >>confdefs.h <<\_ACEOF
11987 #define STDC_HEADERS 1
11988 _ACEOF
11989
11990 fi
11991
11992 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12003 inttypes.h stdint.h unistd.h
12004 do
12005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12006 echo "$as_me:$LINENO: checking for $ac_header" >&5
12007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12010 else
12011 cat >conftest.$ac_ext <<_ACEOF
12012 #line $LINENO "configure"
12013 /* confdefs.h. */
12014 _ACEOF
12015 cat confdefs.h >>conftest.$ac_ext
12016 cat >>conftest.$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12018 $ac_includes_default
12019
12020 #include <$ac_header>
12021 _ACEOF
12022 rm -f conftest.$ac_objext
12023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12024 (eval $ac_compile) 2>&5
12025 ac_status=$?
12026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12027 (exit $ac_status); } &&
12028 { ac_try='test -s conftest.$ac_objext'
12029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12030 (eval $ac_try) 2>&5
12031 ac_status=$?
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); }; }; then
12034 eval "$as_ac_Header=yes"
12035 else
12036 echo "$as_me: failed program was:" >&5
12037 sed 's/^/| /' conftest.$ac_ext >&5
12038
12039 eval "$as_ac_Header=no"
12040 fi
12041 rm -f conftest.$ac_objext conftest.$ac_ext
12042 fi
12043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12046 cat >>confdefs.h <<_ACEOF
12047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12048 _ACEOF
12049
12050 fi
12051
12052 done
12053
12054
12055
12056 for ac_header in strings.h
12057 do
12058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12060 echo "$as_me:$LINENO: checking for $ac_header" >&5
12061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 fi
12065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12067 else
12068 # Is the header compilable?
12069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12071 cat >conftest.$ac_ext <<_ACEOF
12072 #line $LINENO "configure"
12073 /* confdefs.h. */
12074 _ACEOF
12075 cat confdefs.h >>conftest.$ac_ext
12076 cat >>conftest.$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 $ac_includes_default
12079 #include <$ac_header>
12080 _ACEOF
12081 rm -f conftest.$ac_objext
12082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12083 (eval $ac_compile) 2>&5
12084 ac_status=$?
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); } &&
12087 { ac_try='test -s conftest.$ac_objext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12090 ac_status=$?
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_header_compiler=yes
12094 else
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12097
12098 ac_header_compiler=no
12099 fi
12100 rm -f conftest.$ac_objext conftest.$ac_ext
12101 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12102 echo "${ECHO_T}$ac_header_compiler" >&6
12103
12104 # Is the header present?
12105 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12106 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12107 cat >conftest.$ac_ext <<_ACEOF
12108 #line $LINENO "configure"
12109 /* confdefs.h. */
12110 _ACEOF
12111 cat confdefs.h >>conftest.$ac_ext
12112 cat >>conftest.$ac_ext <<_ACEOF
12113 /* end confdefs.h. */
12114 #include <$ac_header>
12115 _ACEOF
12116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } >/dev/null; then
12124 if test -s conftest.err; then
12125 ac_cpp_err=$ac_c_preproc_warn_flag
12126 else
12127 ac_cpp_err=
12128 fi
12129 else
12130 ac_cpp_err=yes
12131 fi
12132 if test -z "$ac_cpp_err"; then
12133 ac_header_preproc=yes
12134 else
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.$ac_ext >&5
12137
12138 ac_header_preproc=no
12139 fi
12140 rm -f conftest.err conftest.$ac_ext
12141 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12142 echo "${ECHO_T}$ac_header_preproc" >&6
12143
12144 # So? What about this header?
12145 case $ac_header_compiler:$ac_header_preproc in
12146 yes:no )
12147 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12148 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12151 (
12152 cat <<\_ASBOX
12153 ## ------------------------------------ ##
12154 ## Report this to bug-autoconf@gnu.org. ##
12155 ## ------------------------------------ ##
12156 _ASBOX
12157 ) |
12158 sed "s/^/$as_me: WARNING: /" >&2
12159 ;;
12160 no:yes )
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12162 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12164 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12167 (
12168 cat <<\_ASBOX
12169 ## ------------------------------------ ##
12170 ## Report this to bug-autoconf@gnu.org. ##
12171 ## ------------------------------------ ##
12172 _ASBOX
12173 ) |
12174 sed "s/^/$as_me: WARNING: /" >&2
12175 ;;
12176 esac
12177 echo "$as_me:$LINENO: checking for $ac_header" >&5
12178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12180 echo $ECHO_N "(cached) $ECHO_C" >&6
12181 else
12182 eval "$as_ac_Header=$ac_header_preproc"
12183 fi
12184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12186
12187 fi
12188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12189 cat >>confdefs.h <<_ACEOF
12190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12191 _ACEOF
12192
12193 fi
12194
12195 done
12196
12197
12198
12199 for ac_header in stdlib.h
12200 do
12201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12203 echo "$as_me:$LINENO: checking for $ac_header" >&5
12204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12207 fi
12208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12210 else
12211 # Is the header compilable?
12212 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12213 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12214 cat >conftest.$ac_ext <<_ACEOF
12215 #line $LINENO "configure"
12216 /* confdefs.h. */
12217 _ACEOF
12218 cat confdefs.h >>conftest.$ac_ext
12219 cat >>conftest.$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12221 $ac_includes_default
12222 #include <$ac_header>
12223 _ACEOF
12224 rm -f conftest.$ac_objext
12225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12226 (eval $ac_compile) 2>&5
12227 ac_status=$?
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } &&
12230 { ac_try='test -s conftest.$ac_objext'
12231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12232 (eval $ac_try) 2>&5
12233 ac_status=$?
12234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12235 (exit $ac_status); }; }; then
12236 ac_header_compiler=yes
12237 else
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.$ac_ext >&5
12240
12241 ac_header_compiler=no
12242 fi
12243 rm -f conftest.$ac_objext conftest.$ac_ext
12244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12245 echo "${ECHO_T}$ac_header_compiler" >&6
12246
12247 # Is the header present?
12248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12250 cat >conftest.$ac_ext <<_ACEOF
12251 #line $LINENO "configure"
12252 /* confdefs.h. */
12253 _ACEOF
12254 cat confdefs.h >>conftest.$ac_ext
12255 cat >>conftest.$ac_ext <<_ACEOF
12256 /* end confdefs.h. */
12257 #include <$ac_header>
12258 _ACEOF
12259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12261 ac_status=$?
12262 grep -v '^ *+' conftest.er1 >conftest.err
12263 rm -f conftest.er1
12264 cat conftest.err >&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); } >/dev/null; then
12267 if test -s conftest.err; then
12268 ac_cpp_err=$ac_c_preproc_warn_flag
12269 else
12270 ac_cpp_err=
12271 fi
12272 else
12273 ac_cpp_err=yes
12274 fi
12275 if test -z "$ac_cpp_err"; then
12276 ac_header_preproc=yes
12277 else
12278 echo "$as_me: failed program was:" >&5
12279 sed 's/^/| /' conftest.$ac_ext >&5
12280
12281 ac_header_preproc=no
12282 fi
12283 rm -f conftest.err conftest.$ac_ext
12284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12285 echo "${ECHO_T}$ac_header_preproc" >&6
12286
12287 # So? What about this header?
12288 case $ac_header_compiler:$ac_header_preproc in
12289 yes:no )
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12294 (
12295 cat <<\_ASBOX
12296 ## ------------------------------------ ##
12297 ## Report this to bug-autoconf@gnu.org. ##
12298 ## ------------------------------------ ##
12299 _ASBOX
12300 ) |
12301 sed "s/^/$as_me: WARNING: /" >&2
12302 ;;
12303 no:yes )
12304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12310 (
12311 cat <<\_ASBOX
12312 ## ------------------------------------ ##
12313 ## Report this to bug-autoconf@gnu.org. ##
12314 ## ------------------------------------ ##
12315 _ASBOX
12316 ) |
12317 sed "s/^/$as_me: WARNING: /" >&2
12318 ;;
12319 esac
12320 echo "$as_me:$LINENO: checking for $ac_header" >&5
12321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12324 else
12325 eval "$as_ac_Header=$ac_header_preproc"
12326 fi
12327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12329
12330 fi
12331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12332 cat >>confdefs.h <<_ACEOF
12333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12334 _ACEOF
12335
12336 fi
12337
12338 done
12339
12340
12341 for ac_header in malloc.h
12342 do
12343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12345 echo "$as_me:$LINENO: checking for $ac_header" >&5
12346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12349 fi
12350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12352 else
12353 # Is the header compilable?
12354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12356 cat >conftest.$ac_ext <<_ACEOF
12357 #line $LINENO "configure"
12358 /* confdefs.h. */
12359 _ACEOF
12360 cat confdefs.h >>conftest.$ac_ext
12361 cat >>conftest.$ac_ext <<_ACEOF
12362 /* end confdefs.h. */
12363 $ac_includes_default
12364 #include <$ac_header>
12365 _ACEOF
12366 rm -f conftest.$ac_objext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>&5
12369 ac_status=$?
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try='test -s conftest.$ac_objext'
12373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12374 (eval $ac_try) 2>&5
12375 ac_status=$?
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); }; }; then
12378 ac_header_compiler=yes
12379 else
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12382
12383 ac_header_compiler=no
12384 fi
12385 rm -f conftest.$ac_objext conftest.$ac_ext
12386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12387 echo "${ECHO_T}$ac_header_compiler" >&6
12388
12389 # Is the header present?
12390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12392 cat >conftest.$ac_ext <<_ACEOF
12393 #line $LINENO "configure"
12394 /* confdefs.h. */
12395 _ACEOF
12396 cat confdefs.h >>conftest.$ac_ext
12397 cat >>conftest.$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12399 #include <$ac_header>
12400 _ACEOF
12401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12403 ac_status=$?
12404 grep -v '^ *+' conftest.er1 >conftest.err
12405 rm -f conftest.er1
12406 cat conftest.err >&5
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); } >/dev/null; then
12409 if test -s conftest.err; then
12410 ac_cpp_err=$ac_c_preproc_warn_flag
12411 else
12412 ac_cpp_err=
12413 fi
12414 else
12415 ac_cpp_err=yes
12416 fi
12417 if test -z "$ac_cpp_err"; then
12418 ac_header_preproc=yes
12419 else
12420 echo "$as_me: failed program was:" >&5
12421 sed 's/^/| /' conftest.$ac_ext >&5
12422
12423 ac_header_preproc=no
12424 fi
12425 rm -f conftest.err conftest.$ac_ext
12426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12427 echo "${ECHO_T}$ac_header_preproc" >&6
12428
12429 # So? What about this header?
12430 case $ac_header_compiler:$ac_header_preproc in
12431 yes:no )
12432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12436 (
12437 cat <<\_ASBOX
12438 ## ------------------------------------ ##
12439 ## Report this to bug-autoconf@gnu.org. ##
12440 ## ------------------------------------ ##
12441 _ASBOX
12442 ) |
12443 sed "s/^/$as_me: WARNING: /" >&2
12444 ;;
12445 no:yes )
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12452 (
12453 cat <<\_ASBOX
12454 ## ------------------------------------ ##
12455 ## Report this to bug-autoconf@gnu.org. ##
12456 ## ------------------------------------ ##
12457 _ASBOX
12458 ) |
12459 sed "s/^/$as_me: WARNING: /" >&2
12460 ;;
12461 esac
12462 echo "$as_me:$LINENO: checking for $ac_header" >&5
12463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 else
12467 eval "$as_ac_Header=$ac_header_preproc"
12468 fi
12469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12471
12472 fi
12473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12474 cat >>confdefs.h <<_ACEOF
12475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12476 _ACEOF
12477
12478 fi
12479
12480 done
12481
12482
12483 for ac_header in unistd.h
12484 do
12485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12487 echo "$as_me:$LINENO: checking for $ac_header" >&5
12488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12490 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 fi
12492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12494 else
12495 # Is the header compilable?
12496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12498 cat >conftest.$ac_ext <<_ACEOF
12499 #line $LINENO "configure"
12500 /* confdefs.h. */
12501 _ACEOF
12502 cat confdefs.h >>conftest.$ac_ext
12503 cat >>conftest.$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12505 $ac_includes_default
12506 #include <$ac_header>
12507 _ACEOF
12508 rm -f conftest.$ac_objext
12509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12510 (eval $ac_compile) 2>&5
12511 ac_status=$?
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } &&
12514 { ac_try='test -s conftest.$ac_objext'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12517 ac_status=$?
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; }; then
12520 ac_header_compiler=yes
12521 else
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.$ac_ext >&5
12524
12525 ac_header_compiler=no
12526 fi
12527 rm -f conftest.$ac_objext conftest.$ac_ext
12528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12529 echo "${ECHO_T}$ac_header_compiler" >&6
12530
12531 # Is the header present?
12532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12534 cat >conftest.$ac_ext <<_ACEOF
12535 #line $LINENO "configure"
12536 /* confdefs.h. */
12537 _ACEOF
12538 cat confdefs.h >>conftest.$ac_ext
12539 cat >>conftest.$ac_ext <<_ACEOF
12540 /* end confdefs.h. */
12541 #include <$ac_header>
12542 _ACEOF
12543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12545 ac_status=$?
12546 grep -v '^ *+' conftest.er1 >conftest.err
12547 rm -f conftest.er1
12548 cat conftest.err >&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } >/dev/null; then
12551 if test -s conftest.err; then
12552 ac_cpp_err=$ac_c_preproc_warn_flag
12553 else
12554 ac_cpp_err=
12555 fi
12556 else
12557 ac_cpp_err=yes
12558 fi
12559 if test -z "$ac_cpp_err"; then
12560 ac_header_preproc=yes
12561 else
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.$ac_ext >&5
12564
12565 ac_header_preproc=no
12566 fi
12567 rm -f conftest.err conftest.$ac_ext
12568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12569 echo "${ECHO_T}$ac_header_preproc" >&6
12570
12571 # So? What about this header?
12572 case $ac_header_compiler:$ac_header_preproc in
12573 yes:no )
12574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12578 (
12579 cat <<\_ASBOX
12580 ## ------------------------------------ ##
12581 ## Report this to bug-autoconf@gnu.org. ##
12582 ## ------------------------------------ ##
12583 _ASBOX
12584 ) |
12585 sed "s/^/$as_me: WARNING: /" >&2
12586 ;;
12587 no:yes )
12588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12594 (
12595 cat <<\_ASBOX
12596 ## ------------------------------------ ##
12597 ## Report this to bug-autoconf@gnu.org. ##
12598 ## ------------------------------------ ##
12599 _ASBOX
12600 ) |
12601 sed "s/^/$as_me: WARNING: /" >&2
12602 ;;
12603 esac
12604 echo "$as_me:$LINENO: checking for $ac_header" >&5
12605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12608 else
12609 eval "$as_ac_Header=$ac_header_preproc"
12610 fi
12611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12613
12614 fi
12615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12616 cat >>confdefs.h <<_ACEOF
12617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12618 _ACEOF
12619
12620 fi
12621
12622 done
12623
12624
12625 for ac_header in wchar.h
12626 do
12627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12629 echo "$as_me:$LINENO: checking for $ac_header" >&5
12630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 fi
12634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12636 else
12637 # Is the header compilable?
12638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12640 cat >conftest.$ac_ext <<_ACEOF
12641 #line $LINENO "configure"
12642 /* confdefs.h. */
12643 _ACEOF
12644 cat confdefs.h >>conftest.$ac_ext
12645 cat >>conftest.$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12647 $ac_includes_default
12648 #include <$ac_header>
12649 _ACEOF
12650 rm -f conftest.$ac_objext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12652 (eval $ac_compile) 2>&5
12653 ac_status=$?
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } &&
12656 { ac_try='test -s conftest.$ac_objext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12659 ac_status=$?
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_header_compiler=yes
12663 else
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12666
12667 ac_header_compiler=no
12668 fi
12669 rm -f conftest.$ac_objext conftest.$ac_ext
12670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12671 echo "${ECHO_T}$ac_header_compiler" >&6
12672
12673 # Is the header present?
12674 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12675 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12676 cat >conftest.$ac_ext <<_ACEOF
12677 #line $LINENO "configure"
12678 /* confdefs.h. */
12679 _ACEOF
12680 cat confdefs.h >>conftest.$ac_ext
12681 cat >>conftest.$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12683 #include <$ac_header>
12684 _ACEOF
12685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } >/dev/null; then
12693 if test -s conftest.err; then
12694 ac_cpp_err=$ac_c_preproc_warn_flag
12695 else
12696 ac_cpp_err=
12697 fi
12698 else
12699 ac_cpp_err=yes
12700 fi
12701 if test -z "$ac_cpp_err"; then
12702 ac_header_preproc=yes
12703 else
12704 echo "$as_me: failed program was:" >&5
12705 sed 's/^/| /' conftest.$ac_ext >&5
12706
12707 ac_header_preproc=no
12708 fi
12709 rm -f conftest.err conftest.$ac_ext
12710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12711 echo "${ECHO_T}$ac_header_preproc" >&6
12712
12713 # So? What about this header?
12714 case $ac_header_compiler:$ac_header_preproc in
12715 yes:no )
12716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12720 (
12721 cat <<\_ASBOX
12722 ## ------------------------------------ ##
12723 ## Report this to bug-autoconf@gnu.org. ##
12724 ## ------------------------------------ ##
12725 _ASBOX
12726 ) |
12727 sed "s/^/$as_me: WARNING: /" >&2
12728 ;;
12729 no:yes )
12730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12736 (
12737 cat <<\_ASBOX
12738 ## ------------------------------------ ##
12739 ## Report this to bug-autoconf@gnu.org. ##
12740 ## ------------------------------------ ##
12741 _ASBOX
12742 ) |
12743 sed "s/^/$as_me: WARNING: /" >&2
12744 ;;
12745 esac
12746 echo "$as_me:$LINENO: checking for $ac_header" >&5
12747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12750 else
12751 eval "$as_ac_Header=$ac_header_preproc"
12752 fi
12753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12755
12756 fi
12757 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12758 cat >>confdefs.h <<_ACEOF
12759 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12760 _ACEOF
12761
12762 fi
12763
12764 done
12765
12766
12767 if test "$ac_cv_header_wchar_h" != "yes"; then
12768
12769 for ac_header in wcstr.h
12770 do
12771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12773 echo "$as_me:$LINENO: checking for $ac_header" >&5
12774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12776 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 fi
12778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12780 else
12781 # Is the header compilable?
12782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12784 cat >conftest.$ac_ext <<_ACEOF
12785 #line $LINENO "configure"
12786 /* confdefs.h. */
12787 _ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 $ac_includes_default
12792 #include <$ac_header>
12793 _ACEOF
12794 rm -f conftest.$ac_objext
12795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12796 (eval $ac_compile) 2>&5
12797 ac_status=$?
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } &&
12800 { ac_try='test -s conftest.$ac_objext'
12801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12802 (eval $ac_try) 2>&5
12803 ac_status=$?
12804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12805 (exit $ac_status); }; }; then
12806 ac_header_compiler=yes
12807 else
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.$ac_ext >&5
12810
12811 ac_header_compiler=no
12812 fi
12813 rm -f conftest.$ac_objext conftest.$ac_ext
12814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12815 echo "${ECHO_T}$ac_header_compiler" >&6
12816
12817 # Is the header present?
12818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12820 cat >conftest.$ac_ext <<_ACEOF
12821 #line $LINENO "configure"
12822 /* confdefs.h. */
12823 _ACEOF
12824 cat confdefs.h >>conftest.$ac_ext
12825 cat >>conftest.$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12827 #include <$ac_header>
12828 _ACEOF
12829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12831 ac_status=$?
12832 grep -v '^ *+' conftest.er1 >conftest.err
12833 rm -f conftest.er1
12834 cat conftest.err >&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } >/dev/null; then
12837 if test -s conftest.err; then
12838 ac_cpp_err=$ac_c_preproc_warn_flag
12839 else
12840 ac_cpp_err=
12841 fi
12842 else
12843 ac_cpp_err=yes
12844 fi
12845 if test -z "$ac_cpp_err"; then
12846 ac_header_preproc=yes
12847 else
12848 echo "$as_me: failed program was:" >&5
12849 sed 's/^/| /' conftest.$ac_ext >&5
12850
12851 ac_header_preproc=no
12852 fi
12853 rm -f conftest.err conftest.$ac_ext
12854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12855 echo "${ECHO_T}$ac_header_preproc" >&6
12856
12857 # So? What about this header?
12858 case $ac_header_compiler:$ac_header_preproc in
12859 yes:no )
12860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12864 (
12865 cat <<\_ASBOX
12866 ## ------------------------------------ ##
12867 ## Report this to bug-autoconf@gnu.org. ##
12868 ## ------------------------------------ ##
12869 _ASBOX
12870 ) |
12871 sed "s/^/$as_me: WARNING: /" >&2
12872 ;;
12873 no:yes )
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12880 (
12881 cat <<\_ASBOX
12882 ## ------------------------------------ ##
12883 ## Report this to bug-autoconf@gnu.org. ##
12884 ## ------------------------------------ ##
12885 _ASBOX
12886 ) |
12887 sed "s/^/$as_me: WARNING: /" >&2
12888 ;;
12889 esac
12890 echo "$as_me:$LINENO: checking for $ac_header" >&5
12891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 else
12895 eval "$as_ac_Header=$ac_header_preproc"
12896 fi
12897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12899
12900 fi
12901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12902 cat >>confdefs.h <<_ACEOF
12903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12904 _ACEOF
12905
12906 fi
12907
12908 done
12909
12910 fi
12911
12912
12913 for ac_header in fnmatch.h
12914 do
12915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12917 echo "$as_me:$LINENO: checking for $ac_header" >&5
12918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 fi
12922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12924 else
12925 # Is the header compilable?
12926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12928 cat >conftest.$ac_ext <<_ACEOF
12929 #line $LINENO "configure"
12930 /* confdefs.h. */
12931 _ACEOF
12932 cat confdefs.h >>conftest.$ac_ext
12933 cat >>conftest.$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12935 $ac_includes_default
12936 #include <$ac_header>
12937 _ACEOF
12938 rm -f conftest.$ac_objext
12939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12940 (eval $ac_compile) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -s conftest.$ac_objext'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; }; then
12950 ac_header_compiler=yes
12951 else
12952 echo "$as_me: failed program was:" >&5
12953 sed 's/^/| /' conftest.$ac_ext >&5
12954
12955 ac_header_compiler=no
12956 fi
12957 rm -f conftest.$ac_objext conftest.$ac_ext
12958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12959 echo "${ECHO_T}$ac_header_compiler" >&6
12960
12961 # Is the header present?
12962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12964 cat >conftest.$ac_ext <<_ACEOF
12965 #line $LINENO "configure"
12966 /* confdefs.h. */
12967 _ACEOF
12968 cat confdefs.h >>conftest.$ac_ext
12969 cat >>conftest.$ac_ext <<_ACEOF
12970 /* end confdefs.h. */
12971 #include <$ac_header>
12972 _ACEOF
12973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12975 ac_status=$?
12976 grep -v '^ *+' conftest.er1 >conftest.err
12977 rm -f conftest.er1
12978 cat conftest.err >&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } >/dev/null; then
12981 if test -s conftest.err; then
12982 ac_cpp_err=$ac_c_preproc_warn_flag
12983 else
12984 ac_cpp_err=
12985 fi
12986 else
12987 ac_cpp_err=yes
12988 fi
12989 if test -z "$ac_cpp_err"; then
12990 ac_header_preproc=yes
12991 else
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.$ac_ext >&5
12994
12995 ac_header_preproc=no
12996 fi
12997 rm -f conftest.err conftest.$ac_ext
12998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12999 echo "${ECHO_T}$ac_header_preproc" >&6
13000
13001 # So? What about this header?
13002 case $ac_header_compiler:$ac_header_preproc in
13003 yes:no )
13004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13007 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13008 (
13009 cat <<\_ASBOX
13010 ## ------------------------------------ ##
13011 ## Report this to bug-autoconf@gnu.org. ##
13012 ## ------------------------------------ ##
13013 _ASBOX
13014 ) |
13015 sed "s/^/$as_me: WARNING: /" >&2
13016 ;;
13017 no:yes )
13018 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13019 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13021 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13024 (
13025 cat <<\_ASBOX
13026 ## ------------------------------------ ##
13027 ## Report this to bug-autoconf@gnu.org. ##
13028 ## ------------------------------------ ##
13029 _ASBOX
13030 ) |
13031 sed "s/^/$as_me: WARNING: /" >&2
13032 ;;
13033 esac
13034 echo "$as_me:$LINENO: checking for $ac_header" >&5
13035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 else
13039 eval "$as_ac_Header=$ac_header_preproc"
13040 fi
13041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13043
13044 fi
13045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13046 cat >>confdefs.h <<_ACEOF
13047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13048 _ACEOF
13049
13050 fi
13051
13052 done
13053
13054
13055 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13056
13057 for ac_func in fnmatch
13058 do
13059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13060 echo "$as_me:$LINENO: checking for $ac_func" >&5
13061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13062 if eval "test \"\${$as_ac_var+set}\" = set"; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13064 else
13065 cat >conftest.$ac_ext <<_ACEOF
13066 #line $LINENO "configure"
13067 /* confdefs.h. */
13068 _ACEOF
13069 cat confdefs.h >>conftest.$ac_ext
13070 cat >>conftest.$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13072 /* System header to define __stub macros and hopefully few prototypes,
13073 which can conflict with char $ac_func (); below.
13074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13075 <limits.h> exists even on freestanding compilers. */
13076 #ifdef __STDC__
13077 # include <limits.h>
13078 #else
13079 # include <assert.h>
13080 #endif
13081 /* Override any gcc2 internal prototype to avoid an error. */
13082 #ifdef __cplusplus
13083 extern "C"
13084 {
13085 #endif
13086 /* We use char because int might match the return type of a gcc2
13087 builtin and then its argument prototype would still apply. */
13088 char $ac_func ();
13089 /* The GNU C library defines this for functions which it implements
13090 to always fail with ENOSYS. Some functions are actually named
13091 something starting with __ and the normal name is an alias. */
13092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13093 choke me
13094 #else
13095 char (*f) () = $ac_func;
13096 #endif
13097 #ifdef __cplusplus
13098 }
13099 #endif
13100
13101 int
13102 main ()
13103 {
13104 return f != $ac_func;
13105 ;
13106 return 0;
13107 }
13108 _ACEOF
13109 rm -f conftest.$ac_objext conftest$ac_exeext
13110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13111 (eval $ac_link) 2>&5
13112 ac_status=$?
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try='test -s conftest$ac_exeext'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; }; then
13121 eval "$as_ac_var=yes"
13122 else
13123 echo "$as_me: failed program was:" >&5
13124 sed 's/^/| /' conftest.$ac_ext >&5
13125
13126 eval "$as_ac_var=no"
13127 fi
13128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13129 fi
13130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13132 if test `eval echo '${'$as_ac_var'}'` = yes; then
13133 cat >>confdefs.h <<_ACEOF
13134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13135 _ACEOF
13136
13137 fi
13138 done
13139
13140 fi
13141
13142
13143 for ac_header in langinfo.h
13144 do
13145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13147 echo "$as_me:$LINENO: checking for $ac_header" >&5
13148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13151 fi
13152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13154 else
13155 # Is the header compilable?
13156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13158 cat >conftest.$ac_ext <<_ACEOF
13159 #line $LINENO "configure"
13160 /* confdefs.h. */
13161 _ACEOF
13162 cat confdefs.h >>conftest.$ac_ext
13163 cat >>conftest.$ac_ext <<_ACEOF
13164 /* end confdefs.h. */
13165 $ac_includes_default
13166 #include <$ac_header>
13167 _ACEOF
13168 rm -f conftest.$ac_objext
13169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13170 (eval $ac_compile) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); } &&
13174 { ac_try='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13177 ac_status=$?
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13180 ac_header_compiler=yes
13181 else
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.$ac_ext >&5
13184
13185 ac_header_compiler=no
13186 fi
13187 rm -f conftest.$ac_objext conftest.$ac_ext
13188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13189 echo "${ECHO_T}$ac_header_compiler" >&6
13190
13191 # Is the header present?
13192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13194 cat >conftest.$ac_ext <<_ACEOF
13195 #line $LINENO "configure"
13196 /* confdefs.h. */
13197 _ACEOF
13198 cat confdefs.h >>conftest.$ac_ext
13199 cat >>conftest.$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 #include <$ac_header>
13202 _ACEOF
13203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13205 ac_status=$?
13206 grep -v '^ *+' conftest.er1 >conftest.err
13207 rm -f conftest.er1
13208 cat conftest.err >&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); } >/dev/null; then
13211 if test -s conftest.err; then
13212 ac_cpp_err=$ac_c_preproc_warn_flag
13213 else
13214 ac_cpp_err=
13215 fi
13216 else
13217 ac_cpp_err=yes
13218 fi
13219 if test -z "$ac_cpp_err"; then
13220 ac_header_preproc=yes
13221 else
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13224
13225 ac_header_preproc=no
13226 fi
13227 rm -f conftest.err conftest.$ac_ext
13228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13229 echo "${ECHO_T}$ac_header_preproc" >&6
13230
13231 # So? What about this header?
13232 case $ac_header_compiler:$ac_header_preproc in
13233 yes:no )
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13238 (
13239 cat <<\_ASBOX
13240 ## ------------------------------------ ##
13241 ## Report this to bug-autoconf@gnu.org. ##
13242 ## ------------------------------------ ##
13243 _ASBOX
13244 ) |
13245 sed "s/^/$as_me: WARNING: /" >&2
13246 ;;
13247 no:yes )
13248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13254 (
13255 cat <<\_ASBOX
13256 ## ------------------------------------ ##
13257 ## Report this to bug-autoconf@gnu.org. ##
13258 ## ------------------------------------ ##
13259 _ASBOX
13260 ) |
13261 sed "s/^/$as_me: WARNING: /" >&2
13262 ;;
13263 esac
13264 echo "$as_me:$LINENO: checking for $ac_header" >&5
13265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6
13268 else
13269 eval "$as_ac_Header=$ac_header_preproc"
13270 fi
13271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13273
13274 fi
13275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13276 cat >>confdefs.h <<_ACEOF
13277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13278 _ACEOF
13279
13280 fi
13281
13282 done
13283
13284
13285 case "${host}" in
13286 *-pc-os2_emx | *-pc-os2-emx )
13287 if test $ac_cv_header_langinfo_h = "yes"; then
13288 LIBS="$LIBS -lintl"
13289 fi
13290 ;;
13291 esac
13292
13293 if test "$wxUSE_GUI" = "yes"; then
13294 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13295
13296 for ac_header in X11/Xlib.h
13297 do
13298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13300 echo "$as_me:$LINENO: checking for $ac_header" >&5
13301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13303 echo $ECHO_N "(cached) $ECHO_C" >&6
13304 fi
13305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13307 else
13308 # Is the header compilable?
13309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13311 cat >conftest.$ac_ext <<_ACEOF
13312 #line $LINENO "configure"
13313 /* confdefs.h. */
13314 _ACEOF
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13318 $ac_includes_default
13319 #include <$ac_header>
13320 _ACEOF
13321 rm -f conftest.$ac_objext
13322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13323 (eval $ac_compile) 2>&5
13324 ac_status=$?
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } &&
13327 { ac_try='test -s conftest.$ac_objext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13330 ac_status=$?
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 ac_header_compiler=yes
13334 else
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.$ac_ext >&5
13337
13338 ac_header_compiler=no
13339 fi
13340 rm -f conftest.$ac_objext conftest.$ac_ext
13341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13342 echo "${ECHO_T}$ac_header_compiler" >&6
13343
13344 # Is the header present?
13345 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13346 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13347 cat >conftest.$ac_ext <<_ACEOF
13348 #line $LINENO "configure"
13349 /* confdefs.h. */
13350 _ACEOF
13351 cat confdefs.h >>conftest.$ac_ext
13352 cat >>conftest.$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13354 #include <$ac_header>
13355 _ACEOF
13356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13358 ac_status=$?
13359 grep -v '^ *+' conftest.er1 >conftest.err
13360 rm -f conftest.er1
13361 cat conftest.err >&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } >/dev/null; then
13364 if test -s conftest.err; then
13365 ac_cpp_err=$ac_c_preproc_warn_flag
13366 else
13367 ac_cpp_err=
13368 fi
13369 else
13370 ac_cpp_err=yes
13371 fi
13372 if test -z "$ac_cpp_err"; then
13373 ac_header_preproc=yes
13374 else
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.$ac_ext >&5
13377
13378 ac_header_preproc=no
13379 fi
13380 rm -f conftest.err conftest.$ac_ext
13381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13382 echo "${ECHO_T}$ac_header_preproc" >&6
13383
13384 # So? What about this header?
13385 case $ac_header_compiler:$ac_header_preproc in
13386 yes:no )
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13388 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13390 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13391 (
13392 cat <<\_ASBOX
13393 ## ------------------------------------ ##
13394 ## Report this to bug-autoconf@gnu.org. ##
13395 ## ------------------------------------ ##
13396 _ASBOX
13397 ) |
13398 sed "s/^/$as_me: WARNING: /" >&2
13399 ;;
13400 no:yes )
13401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13407 (
13408 cat <<\_ASBOX
13409 ## ------------------------------------ ##
13410 ## Report this to bug-autoconf@gnu.org. ##
13411 ## ------------------------------------ ##
13412 _ASBOX
13413 ) |
13414 sed "s/^/$as_me: WARNING: /" >&2
13415 ;;
13416 esac
13417 echo "$as_me:$LINENO: checking for $ac_header" >&5
13418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13420 echo $ECHO_N "(cached) $ECHO_C" >&6
13421 else
13422 eval "$as_ac_Header=$ac_header_preproc"
13423 fi
13424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13426
13427 fi
13428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13429 cat >>confdefs.h <<_ACEOF
13430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13431 _ACEOF
13432
13433 fi
13434
13435 done
13436
13437
13438 for ac_header in X11/XKBlib.h
13439 do
13440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13441 echo "$as_me:$LINENO: checking for $ac_header" >&5
13442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13445 else
13446 cat >conftest.$ac_ext <<_ACEOF
13447 #line $LINENO "configure"
13448 /* confdefs.h. */
13449 _ACEOF
13450 cat confdefs.h >>conftest.$ac_ext
13451 cat >>conftest.$ac_ext <<_ACEOF
13452 /* end confdefs.h. */
13453
13454 #if HAVE_X11_XLIB_H
13455 #include <X11/Xlib.h>
13456 #endif
13457
13458
13459 #include <$ac_header>
13460 _ACEOF
13461 rm -f conftest.$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>&5
13464 ac_status=$?
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -s conftest.$ac_objext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13470 ac_status=$?
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13473 eval "$as_ac_Header=yes"
13474 else
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13477
13478 eval "$as_ac_Header=no"
13479 fi
13480 rm -f conftest.$ac_objext conftest.$ac_ext
13481 fi
13482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13485 cat >>confdefs.h <<_ACEOF
13486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13487 _ACEOF
13488
13489 fi
13490
13491 done
13492
13493 fi
13494 fi
13495
13496
13497 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13498 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13499 if test "${ac_cv_c_const+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
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
13510 int
13511 main ()
13512 {
13513 /* FIXME: Include the comments suggested by Paul. */
13514 #ifndef __cplusplus
13515 /* Ultrix mips cc rejects this. */
13516 typedef int charset[2];
13517 const charset x;
13518 /* SunOS 4.1.1 cc rejects this. */
13519 char const *const *ccp;
13520 char **p;
13521 /* NEC SVR4.0.2 mips cc rejects this. */
13522 struct point {int x, y;};
13523 static struct point const zero = {0,0};
13524 /* AIX XL C 1.02.0.0 rejects this.
13525 It does not let you subtract one const X* pointer from another in
13526 an arm of an if-expression whose if-part is not a constant
13527 expression */
13528 const char *g = "string";
13529 ccp = &g + (g ? g-g : 0);
13530 /* HPUX 7.0 cc rejects these. */
13531 ++ccp;
13532 p = (char**) ccp;
13533 ccp = (char const *const *) p;
13534 { /* SCO 3.2v4 cc rejects this. */
13535 char *t;
13536 char const *s = 0 ? (char *) 0 : (char const *) 0;
13537
13538 *t++ = 0;
13539 }
13540 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13541 int x[] = {25, 17};
13542 const int *foo = &x[0];
13543 ++foo;
13544 }
13545 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13546 typedef const int *iptr;
13547 iptr p = 0;
13548 ++p;
13549 }
13550 { /* AIX XL C 1.02.0.0 rejects this saying
13551 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13552 struct s { int j; const int *ap[3]; };
13553 struct s *b; b->j = 5;
13554 }
13555 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13556 const int foo = 10;
13557 }
13558 #endif
13559
13560 ;
13561 return 0;
13562 }
13563 _ACEOF
13564 rm -f conftest.$ac_objext
13565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13566 (eval $ac_compile) 2>&5
13567 ac_status=$?
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } &&
13570 { ac_try='test -s conftest.$ac_objext'
13571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572 (eval $ac_try) 2>&5
13573 ac_status=$?
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); }; }; then
13576 ac_cv_c_const=yes
13577 else
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.$ac_ext >&5
13580
13581 ac_cv_c_const=no
13582 fi
13583 rm -f conftest.$ac_objext conftest.$ac_ext
13584 fi
13585 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13586 echo "${ECHO_T}$ac_cv_c_const" >&6
13587 if test $ac_cv_c_const = no; then
13588
13589 cat >>confdefs.h <<\_ACEOF
13590 #define const
13591 _ACEOF
13592
13593 fi
13594
13595 echo "$as_me:$LINENO: checking for inline" >&5
13596 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13597 if test "${ac_cv_c_inline+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 else
13600 ac_cv_c_inline=no
13601 for ac_kw in inline __inline__ __inline; do
13602 cat >conftest.$ac_ext <<_ACEOF
13603 #line $LINENO "configure"
13604 /* confdefs.h. */
13605 _ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13609 #ifndef __cplusplus
13610 typedef int foo_t;
13611 static $ac_kw foo_t static_foo () {return 0; }
13612 $ac_kw foo_t foo () {return 0; }
13613 #endif
13614
13615 _ACEOF
13616 rm -f conftest.$ac_objext
13617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13618 (eval $ac_compile) 2>&5
13619 ac_status=$?
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try='test -s conftest.$ac_objext'
13623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13624 (eval $ac_try) 2>&5
13625 ac_status=$?
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); }; }; then
13628 ac_cv_c_inline=$ac_kw; break
13629 else
13630 echo "$as_me: failed program was:" >&5
13631 sed 's/^/| /' conftest.$ac_ext >&5
13632
13633 fi
13634 rm -f conftest.$ac_objext conftest.$ac_ext
13635 done
13636
13637 fi
13638 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13639 echo "${ECHO_T}$ac_cv_c_inline" >&6
13640 case $ac_cv_c_inline in
13641 inline | yes) ;;
13642 no)
13643 cat >>confdefs.h <<\_ACEOF
13644 #define inline
13645 _ACEOF
13646 ;;
13647 *) cat >>confdefs.h <<_ACEOF
13648 #define inline $ac_cv_c_inline
13649 _ACEOF
13650 ;;
13651 esac
13652
13653
13654 echo "$as_me:$LINENO: checking for char" >&5
13655 echo $ECHO_N "checking for char... $ECHO_C" >&6
13656 if test "${ac_cv_type_char+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13658 else
13659 cat >conftest.$ac_ext <<_ACEOF
13660 #line $LINENO "configure"
13661 /* confdefs.h. */
13662 _ACEOF
13663 cat confdefs.h >>conftest.$ac_ext
13664 cat >>conftest.$ac_ext <<_ACEOF
13665 /* end confdefs.h. */
13666 $ac_includes_default
13667 int
13668 main ()
13669 {
13670 if ((char *) 0)
13671 return 0;
13672 if (sizeof (char))
13673 return 0;
13674 ;
13675 return 0;
13676 }
13677 _ACEOF
13678 rm -f conftest.$ac_objext
13679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13680 (eval $ac_compile) 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); } &&
13684 { ac_try='test -s conftest.$ac_objext'
13685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13686 (eval $ac_try) 2>&5
13687 ac_status=$?
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }; }; then
13690 ac_cv_type_char=yes
13691 else
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.$ac_ext >&5
13694
13695 ac_cv_type_char=no
13696 fi
13697 rm -f conftest.$ac_objext conftest.$ac_ext
13698 fi
13699 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13700 echo "${ECHO_T}$ac_cv_type_char" >&6
13701
13702 echo "$as_me:$LINENO: checking size of char" >&5
13703 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13704 if test "${ac_cv_sizeof_char+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 else
13707 if test "$ac_cv_type_char" = yes; then
13708 # The cast to unsigned long works around a bug in the HP C Compiler
13709 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13710 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13711 # This bug is HP SR number 8606223364.
13712 if test "$cross_compiling" = yes; then
13713 # Depending upon the size, compute the lo and hi bounds.
13714 cat >conftest.$ac_ext <<_ACEOF
13715 #line $LINENO "configure"
13716 /* confdefs.h. */
13717 _ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13721 $ac_includes_default
13722 int
13723 main ()
13724 {
13725 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13726 test_array [0] = 0
13727
13728 ;
13729 return 0;
13730 }
13731 _ACEOF
13732 rm -f conftest.$ac_objext
13733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13734 (eval $ac_compile) 2>&5
13735 ac_status=$?
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); } &&
13738 { ac_try='test -s conftest.$ac_objext'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13741 ac_status=$?
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; }; then
13744 ac_lo=0 ac_mid=0
13745 while :; do
13746 cat >conftest.$ac_ext <<_ACEOF
13747 #line $LINENO "configure"
13748 /* confdefs.h. */
13749 _ACEOF
13750 cat confdefs.h >>conftest.$ac_ext
13751 cat >>conftest.$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 $ac_includes_default
13754 int
13755 main ()
13756 {
13757 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13758 test_array [0] = 0
13759
13760 ;
13761 return 0;
13762 }
13763 _ACEOF
13764 rm -f conftest.$ac_objext
13765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13766 (eval $ac_compile) 2>&5
13767 ac_status=$?
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); } &&
13770 { ac_try='test -s conftest.$ac_objext'
13771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13772 (eval $ac_try) 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; }; then
13776 ac_hi=$ac_mid; break
13777 else
13778 echo "$as_me: failed program was:" >&5
13779 sed 's/^/| /' conftest.$ac_ext >&5
13780
13781 ac_lo=`expr $ac_mid + 1`
13782 if test $ac_lo -le $ac_mid; then
13783 ac_lo= ac_hi=
13784 break
13785 fi
13786 ac_mid=`expr 2 '*' $ac_mid + 1`
13787 fi
13788 rm -f conftest.$ac_objext conftest.$ac_ext
13789 done
13790 else
13791 echo "$as_me: failed program was:" >&5
13792 sed 's/^/| /' conftest.$ac_ext >&5
13793
13794 cat >conftest.$ac_ext <<_ACEOF
13795 #line $LINENO "configure"
13796 /* confdefs.h. */
13797 _ACEOF
13798 cat confdefs.h >>conftest.$ac_ext
13799 cat >>conftest.$ac_ext <<_ACEOF
13800 /* end confdefs.h. */
13801 $ac_includes_default
13802 int
13803 main ()
13804 {
13805 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13806 test_array [0] = 0
13807
13808 ;
13809 return 0;
13810 }
13811 _ACEOF
13812 rm -f conftest.$ac_objext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13814 (eval $ac_compile) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); } &&
13818 { ac_try='test -s conftest.$ac_objext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13821 ac_status=$?
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 ac_hi=-1 ac_mid=-1
13825 while :; do
13826 cat >conftest.$ac_ext <<_ACEOF
13827 #line $LINENO "configure"
13828 /* confdefs.h. */
13829 _ACEOF
13830 cat confdefs.h >>conftest.$ac_ext
13831 cat >>conftest.$ac_ext <<_ACEOF
13832 /* end confdefs.h. */
13833 $ac_includes_default
13834 int
13835 main ()
13836 {
13837 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13838 test_array [0] = 0
13839
13840 ;
13841 return 0;
13842 }
13843 _ACEOF
13844 rm -f conftest.$ac_objext
13845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13846 (eval $ac_compile) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } &&
13850 { ac_try='test -s conftest.$ac_objext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13853 ac_status=$?
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_lo=$ac_mid; break
13857 else
13858 echo "$as_me: failed program was:" >&5
13859 sed 's/^/| /' conftest.$ac_ext >&5
13860
13861 ac_hi=`expr '(' $ac_mid ')' - 1`
13862 if test $ac_mid -le $ac_hi; then
13863 ac_lo= ac_hi=
13864 break
13865 fi
13866 ac_mid=`expr 2 '*' $ac_mid`
13867 fi
13868 rm -f conftest.$ac_objext conftest.$ac_ext
13869 done
13870 else
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13873
13874 ac_lo= ac_hi=
13875 fi
13876 rm -f conftest.$ac_objext conftest.$ac_ext
13877 fi
13878 rm -f conftest.$ac_objext conftest.$ac_ext
13879 # Binary search between lo and hi bounds.
13880 while test "x$ac_lo" != "x$ac_hi"; do
13881 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13882 cat >conftest.$ac_ext <<_ACEOF
13883 #line $LINENO "configure"
13884 /* confdefs.h. */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 $ac_includes_default
13890 int
13891 main ()
13892 {
13893 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13894 test_array [0] = 0
13895
13896 ;
13897 return 0;
13898 }
13899 _ACEOF
13900 rm -f conftest.$ac_objext
13901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>&5
13903 ac_status=$?
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try='test -s conftest.$ac_objext'
13907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13908 (eval $ac_try) 2>&5
13909 ac_status=$?
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); }; }; then
13912 ac_hi=$ac_mid
13913 else
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.$ac_ext >&5
13916
13917 ac_lo=`expr '(' $ac_mid ')' + 1`
13918 fi
13919 rm -f conftest.$ac_objext conftest.$ac_ext
13920 done
13921 case $ac_lo in
13922 ?*) ac_cv_sizeof_char=$ac_lo;;
13923 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13924 See \`config.log' for more details." >&5
13925 echo "$as_me: error: cannot compute sizeof (char), 77
13926 See \`config.log' for more details." >&2;}
13927 { (exit 1); exit 1; }; } ;;
13928 esac
13929 else
13930 if test "$cross_compiling" = yes; then
13931 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13932 See \`config.log' for more details." >&5
13933 echo "$as_me: error: cannot run test program while cross compiling
13934 See \`config.log' for more details." >&2;}
13935 { (exit 1); exit 1; }; }
13936 else
13937 cat >conftest.$ac_ext <<_ACEOF
13938 #line $LINENO "configure"
13939 /* confdefs.h. */
13940 _ACEOF
13941 cat confdefs.h >>conftest.$ac_ext
13942 cat >>conftest.$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944 $ac_includes_default
13945 long longval () { return (long) (sizeof (char)); }
13946 unsigned long ulongval () { return (long) (sizeof (char)); }
13947 #include <stdio.h>
13948 #include <stdlib.h>
13949 int
13950 main ()
13951 {
13952
13953 FILE *f = fopen ("conftest.val", "w");
13954 if (! f)
13955 exit (1);
13956 if (((long) (sizeof (char))) < 0)
13957 {
13958 long i = longval ();
13959 if (i != ((long) (sizeof (char))))
13960 exit (1);
13961 fprintf (f, "%ld\n", i);
13962 }
13963 else
13964 {
13965 unsigned long i = ulongval ();
13966 if (i != ((long) (sizeof (char))))
13967 exit (1);
13968 fprintf (f, "%lu\n", i);
13969 }
13970 exit (ferror (f) || fclose (f) != 0);
13971
13972 ;
13973 return 0;
13974 }
13975 _ACEOF
13976 rm -f conftest$ac_exeext
13977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13978 (eval $ac_link) 2>&5
13979 ac_status=$?
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13984 ac_status=$?
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; }; then
13987 ac_cv_sizeof_char=`cat conftest.val`
13988 else
13989 echo "$as_me: program exited with status $ac_status" >&5
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13992
13993 ( exit $ac_status )
13994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13995 See \`config.log' for more details." >&5
13996 echo "$as_me: error: cannot compute sizeof (char), 77
13997 See \`config.log' for more details." >&2;}
13998 { (exit 1); exit 1; }; }
13999 fi
14000 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14001 fi
14002 fi
14003 rm -f conftest.val
14004 else
14005 ac_cv_sizeof_char=0
14006 fi
14007 fi
14008 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14009 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14010 cat >>confdefs.h <<_ACEOF
14011 #define SIZEOF_CHAR $ac_cv_sizeof_char
14012 _ACEOF
14013
14014
14015 echo "$as_me:$LINENO: checking for short" >&5
14016 echo $ECHO_N "checking for short... $ECHO_C" >&6
14017 if test "${ac_cv_type_short+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14020 cat >conftest.$ac_ext <<_ACEOF
14021 #line $LINENO "configure"
14022 /* confdefs.h. */
14023 _ACEOF
14024 cat confdefs.h >>conftest.$ac_ext
14025 cat >>conftest.$ac_ext <<_ACEOF
14026 /* end confdefs.h. */
14027 $ac_includes_default
14028 int
14029 main ()
14030 {
14031 if ((short *) 0)
14032 return 0;
14033 if (sizeof (short))
14034 return 0;
14035 ;
14036 return 0;
14037 }
14038 _ACEOF
14039 rm -f conftest.$ac_objext
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>&5
14042 ac_status=$?
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); } &&
14045 { ac_try='test -s conftest.$ac_objext'
14046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14047 (eval $ac_try) 2>&5
14048 ac_status=$?
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }; }; then
14051 ac_cv_type_short=yes
14052 else
14053 echo "$as_me: failed program was:" >&5
14054 sed 's/^/| /' conftest.$ac_ext >&5
14055
14056 ac_cv_type_short=no
14057 fi
14058 rm -f conftest.$ac_objext conftest.$ac_ext
14059 fi
14060 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14061 echo "${ECHO_T}$ac_cv_type_short" >&6
14062
14063 echo "$as_me:$LINENO: checking size of short" >&5
14064 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14065 if test "${ac_cv_sizeof_short+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 else
14068 if test "$ac_cv_type_short" = yes; then
14069 # The cast to unsigned long works around a bug in the HP C Compiler
14070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14072 # This bug is HP SR number 8606223364.
14073 if test "$cross_compiling" = yes; then
14074 # Depending upon the size, compute the lo and hi bounds.
14075 cat >conftest.$ac_ext <<_ACEOF
14076 #line $LINENO "configure"
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14082 $ac_includes_default
14083 int
14084 main ()
14085 {
14086 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14087 test_array [0] = 0
14088
14089 ;
14090 return 0;
14091 }
14092 _ACEOF
14093 rm -f conftest.$ac_objext
14094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14095 (eval $ac_compile) 2>&5
14096 ac_status=$?
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); } &&
14099 { ac_try='test -s conftest.$ac_objext'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14102 ac_status=$?
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; }; then
14105 ac_lo=0 ac_mid=0
14106 while :; do
14107 cat >conftest.$ac_ext <<_ACEOF
14108 #line $LINENO "configure"
14109 /* confdefs.h. */
14110 _ACEOF
14111 cat confdefs.h >>conftest.$ac_ext
14112 cat >>conftest.$ac_ext <<_ACEOF
14113 /* end confdefs.h. */
14114 $ac_includes_default
14115 int
14116 main ()
14117 {
14118 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14119 test_array [0] = 0
14120
14121 ;
14122 return 0;
14123 }
14124 _ACEOF
14125 rm -f conftest.$ac_objext
14126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14127 (eval $ac_compile) 2>&5
14128 ac_status=$?
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); } &&
14131 { ac_try='test -s conftest.$ac_objext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14134 ac_status=$?
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 ac_hi=$ac_mid; break
14138 else
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.$ac_ext >&5
14141
14142 ac_lo=`expr $ac_mid + 1`
14143 if test $ac_lo -le $ac_mid; then
14144 ac_lo= ac_hi=
14145 break
14146 fi
14147 ac_mid=`expr 2 '*' $ac_mid + 1`
14148 fi
14149 rm -f conftest.$ac_objext conftest.$ac_ext
14150 done
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14154
14155 cat >conftest.$ac_ext <<_ACEOF
14156 #line $LINENO "configure"
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162 $ac_includes_default
14163 int
14164 main ()
14165 {
14166 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14167 test_array [0] = 0
14168
14169 ;
14170 return 0;
14171 }
14172 _ACEOF
14173 rm -f conftest.$ac_objext
14174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 (eval $ac_compile) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_hi=-1 ac_mid=-1
14186 while :; do
14187 cat >conftest.$ac_ext <<_ACEOF
14188 #line $LINENO "configure"
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 $ac_includes_default
14195 int
14196 main ()
14197 {
14198 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14199 test_array [0] = 0
14200
14201 ;
14202 return 0;
14203 }
14204 _ACEOF
14205 rm -f conftest.$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); } &&
14211 { ac_try='test -s conftest.$ac_objext'
14212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14213 (eval $ac_try) 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); }; }; then
14217 ac_lo=$ac_mid; break
14218 else
14219 echo "$as_me: failed program was:" >&5
14220 sed 's/^/| /' conftest.$ac_ext >&5
14221
14222 ac_hi=`expr '(' $ac_mid ')' - 1`
14223 if test $ac_mid -le $ac_hi; then
14224 ac_lo= ac_hi=
14225 break
14226 fi
14227 ac_mid=`expr 2 '*' $ac_mid`
14228 fi
14229 rm -f conftest.$ac_objext conftest.$ac_ext
14230 done
14231 else
14232 echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.$ac_ext >&5
14234
14235 ac_lo= ac_hi=
14236 fi
14237 rm -f conftest.$ac_objext conftest.$ac_ext
14238 fi
14239 rm -f conftest.$ac_objext conftest.$ac_ext
14240 # Binary search between lo and hi bounds.
14241 while test "x$ac_lo" != "x$ac_hi"; do
14242 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14243 cat >conftest.$ac_ext <<_ACEOF
14244 #line $LINENO "configure"
14245 /* confdefs.h. */
14246 _ACEOF
14247 cat confdefs.h >>conftest.$ac_ext
14248 cat >>conftest.$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14250 $ac_includes_default
14251 int
14252 main ()
14253 {
14254 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14255 test_array [0] = 0
14256
14257 ;
14258 return 0;
14259 }
14260 _ACEOF
14261 rm -f conftest.$ac_objext
14262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14263 (eval $ac_compile) 2>&5
14264 ac_status=$?
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -s conftest.$ac_objext'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; }; then
14273 ac_hi=$ac_mid
14274 else
14275 echo "$as_me: failed program was:" >&5
14276 sed 's/^/| /' conftest.$ac_ext >&5
14277
14278 ac_lo=`expr '(' $ac_mid ')' + 1`
14279 fi
14280 rm -f conftest.$ac_objext conftest.$ac_ext
14281 done
14282 case $ac_lo in
14283 ?*) ac_cv_sizeof_short=$ac_lo;;
14284 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14285 See \`config.log' for more details." >&5
14286 echo "$as_me: error: cannot compute sizeof (short), 77
14287 See \`config.log' for more details." >&2;}
14288 { (exit 1); exit 1; }; } ;;
14289 esac
14290 else
14291 if test "$cross_compiling" = yes; then
14292 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14293 See \`config.log' for more details." >&5
14294 echo "$as_me: error: cannot run test program while cross compiling
14295 See \`config.log' for more details." >&2;}
14296 { (exit 1); exit 1; }; }
14297 else
14298 cat >conftest.$ac_ext <<_ACEOF
14299 #line $LINENO "configure"
14300 /* confdefs.h. */
14301 _ACEOF
14302 cat confdefs.h >>conftest.$ac_ext
14303 cat >>conftest.$ac_ext <<_ACEOF
14304 /* end confdefs.h. */
14305 $ac_includes_default
14306 long longval () { return (long) (sizeof (short)); }
14307 unsigned long ulongval () { return (long) (sizeof (short)); }
14308 #include <stdio.h>
14309 #include <stdlib.h>
14310 int
14311 main ()
14312 {
14313
14314 FILE *f = fopen ("conftest.val", "w");
14315 if (! f)
14316 exit (1);
14317 if (((long) (sizeof (short))) < 0)
14318 {
14319 long i = longval ();
14320 if (i != ((long) (sizeof (short))))
14321 exit (1);
14322 fprintf (f, "%ld\n", i);
14323 }
14324 else
14325 {
14326 unsigned long i = ulongval ();
14327 if (i != ((long) (sizeof (short))))
14328 exit (1);
14329 fprintf (f, "%lu\n", i);
14330 }
14331 exit (ferror (f) || fclose (f) != 0);
14332
14333 ;
14334 return 0;
14335 }
14336 _ACEOF
14337 rm -f conftest$ac_exeext
14338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14339 (eval $ac_link) 2>&5
14340 ac_status=$?
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14345 ac_status=$?
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; }; then
14348 ac_cv_sizeof_short=`cat conftest.val`
14349 else
14350 echo "$as_me: program exited with status $ac_status" >&5
14351 echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.$ac_ext >&5
14353
14354 ( exit $ac_status )
14355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14356 See \`config.log' for more details." >&5
14357 echo "$as_me: error: cannot compute sizeof (short), 77
14358 See \`config.log' for more details." >&2;}
14359 { (exit 1); exit 1; }; }
14360 fi
14361 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14362 fi
14363 fi
14364 rm -f conftest.val
14365 else
14366 ac_cv_sizeof_short=0
14367 fi
14368 fi
14369 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14370 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14371 cat >>confdefs.h <<_ACEOF
14372 #define SIZEOF_SHORT $ac_cv_sizeof_short
14373 _ACEOF
14374
14375
14376 echo "$as_me:$LINENO: checking for void *" >&5
14377 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14378 if test "${ac_cv_type_void_p+set}" = set; then
14379 echo $ECHO_N "(cached) $ECHO_C" >&6
14380 else
14381 cat >conftest.$ac_ext <<_ACEOF
14382 #line $LINENO "configure"
14383 /* confdefs.h. */
14384 _ACEOF
14385 cat confdefs.h >>conftest.$ac_ext
14386 cat >>conftest.$ac_ext <<_ACEOF
14387 /* end confdefs.h. */
14388 $ac_includes_default
14389 int
14390 main ()
14391 {
14392 if ((void * *) 0)
14393 return 0;
14394 if (sizeof (void *))
14395 return 0;
14396 ;
14397 return 0;
14398 }
14399 _ACEOF
14400 rm -f conftest.$ac_objext
14401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14402 (eval $ac_compile) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } &&
14406 { ac_try='test -s conftest.$ac_objext'
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408 (eval $ac_try) 2>&5
14409 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; }; then
14412 ac_cv_type_void_p=yes
14413 else
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.$ac_ext >&5
14416
14417 ac_cv_type_void_p=no
14418 fi
14419 rm -f conftest.$ac_objext conftest.$ac_ext
14420 fi
14421 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14422 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14423
14424 echo "$as_me:$LINENO: checking size of void *" >&5
14425 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14426 if test "${ac_cv_sizeof_void_p+set}" = set; then
14427 echo $ECHO_N "(cached) $ECHO_C" >&6
14428 else
14429 if test "$ac_cv_type_void_p" = yes; then
14430 # The cast to unsigned long works around a bug in the HP C Compiler
14431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14433 # This bug is HP SR number 8606223364.
14434 if test "$cross_compiling" = yes; then
14435 # Depending upon the size, compute the lo and hi bounds.
14436 cat >conftest.$ac_ext <<_ACEOF
14437 #line $LINENO "configure"
14438 /* confdefs.h. */
14439 _ACEOF
14440 cat confdefs.h >>conftest.$ac_ext
14441 cat >>conftest.$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 $ac_includes_default
14444 int
14445 main ()
14446 {
14447 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14448 test_array [0] = 0
14449
14450 ;
14451 return 0;
14452 }
14453 _ACEOF
14454 rm -f conftest.$ac_objext
14455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14456 (eval $ac_compile) 2>&5
14457 ac_status=$?
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try='test -s conftest.$ac_objext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14466 ac_lo=0 ac_mid=0
14467 while :; do
14468 cat >conftest.$ac_ext <<_ACEOF
14469 #line $LINENO "configure"
14470 /* confdefs.h. */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14475 $ac_includes_default
14476 int
14477 main ()
14478 {
14479 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14480 test_array [0] = 0
14481
14482 ;
14483 return 0;
14484 }
14485 _ACEOF
14486 rm -f conftest.$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>&5
14489 ac_status=$?
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try='test -s conftest.$ac_objext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14495 ac_status=$?
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 ac_hi=$ac_mid; break
14499 else
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.$ac_ext >&5
14502
14503 ac_lo=`expr $ac_mid + 1`
14504 if test $ac_lo -le $ac_mid; then
14505 ac_lo= ac_hi=
14506 break
14507 fi
14508 ac_mid=`expr 2 '*' $ac_mid + 1`
14509 fi
14510 rm -f conftest.$ac_objext conftest.$ac_ext
14511 done
14512 else
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14515
14516 cat >conftest.$ac_ext <<_ACEOF
14517 #line $LINENO "configure"
14518 /* confdefs.h. */
14519 _ACEOF
14520 cat confdefs.h >>conftest.$ac_ext
14521 cat >>conftest.$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14523 $ac_includes_default
14524 int
14525 main ()
14526 {
14527 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14528 test_array [0] = 0
14529
14530 ;
14531 return 0;
14532 }
14533 _ACEOF
14534 rm -f conftest.$ac_objext
14535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14536 (eval $ac_compile) 2>&5
14537 ac_status=$?
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } &&
14540 { ac_try='test -s conftest.$ac_objext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14543 ac_status=$?
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 ac_hi=-1 ac_mid=-1
14547 while :; do
14548 cat >conftest.$ac_ext <<_ACEOF
14549 #line $LINENO "configure"
14550 /* confdefs.h. */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h. */
14555 $ac_includes_default
14556 int
14557 main ()
14558 {
14559 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14560 test_array [0] = 0
14561
14562 ;
14563 return 0;
14564 }
14565 _ACEOF
14566 rm -f conftest.$ac_objext
14567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14568 (eval $ac_compile) 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); } &&
14572 { ac_try='test -s conftest.$ac_objext'
14573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14574 (eval $ac_try) 2>&5
14575 ac_status=$?
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; }; then
14578 ac_lo=$ac_mid; break
14579 else
14580 echo "$as_me: failed program was:" >&5
14581 sed 's/^/| /' conftest.$ac_ext >&5
14582
14583 ac_hi=`expr '(' $ac_mid ')' - 1`
14584 if test $ac_mid -le $ac_hi; then
14585 ac_lo= ac_hi=
14586 break
14587 fi
14588 ac_mid=`expr 2 '*' $ac_mid`
14589 fi
14590 rm -f conftest.$ac_objext conftest.$ac_ext
14591 done
14592 else
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14595
14596 ac_lo= ac_hi=
14597 fi
14598 rm -f conftest.$ac_objext conftest.$ac_ext
14599 fi
14600 rm -f conftest.$ac_objext conftest.$ac_ext
14601 # Binary search between lo and hi bounds.
14602 while test "x$ac_lo" != "x$ac_hi"; do
14603 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14604 cat >conftest.$ac_ext <<_ACEOF
14605 #line $LINENO "configure"
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 $ac_includes_default
14612 int
14613 main ()
14614 {
14615 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14616 test_array [0] = 0
14617
14618 ;
14619 return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext
14623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14624 (eval $ac_compile) 2>&5
14625 ac_status=$?
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); } &&
14628 { ac_try='test -s conftest.$ac_objext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 ac_hi=$ac_mid
14635 else
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14638
14639 ac_lo=`expr '(' $ac_mid ')' + 1`
14640 fi
14641 rm -f conftest.$ac_objext conftest.$ac_ext
14642 done
14643 case $ac_lo in
14644 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14645 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14646 See \`config.log' for more details." >&5
14647 echo "$as_me: error: cannot compute sizeof (void *), 77
14648 See \`config.log' for more details." >&2;}
14649 { (exit 1); exit 1; }; } ;;
14650 esac
14651 else
14652 if test "$cross_compiling" = yes; then
14653 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14654 See \`config.log' for more details." >&5
14655 echo "$as_me: error: cannot run test program while cross compiling
14656 See \`config.log' for more details." >&2;}
14657 { (exit 1); exit 1; }; }
14658 else
14659 cat >conftest.$ac_ext <<_ACEOF
14660 #line $LINENO "configure"
14661 /* confdefs.h. */
14662 _ACEOF
14663 cat confdefs.h >>conftest.$ac_ext
14664 cat >>conftest.$ac_ext <<_ACEOF
14665 /* end confdefs.h. */
14666 $ac_includes_default
14667 long longval () { return (long) (sizeof (void *)); }
14668 unsigned long ulongval () { return (long) (sizeof (void *)); }
14669 #include <stdio.h>
14670 #include <stdlib.h>
14671 int
14672 main ()
14673 {
14674
14675 FILE *f = fopen ("conftest.val", "w");
14676 if (! f)
14677 exit (1);
14678 if (((long) (sizeof (void *))) < 0)
14679 {
14680 long i = longval ();
14681 if (i != ((long) (sizeof (void *))))
14682 exit (1);
14683 fprintf (f, "%ld\n", i);
14684 }
14685 else
14686 {
14687 unsigned long i = ulongval ();
14688 if (i != ((long) (sizeof (void *))))
14689 exit (1);
14690 fprintf (f, "%lu\n", i);
14691 }
14692 exit (ferror (f) || fclose (f) != 0);
14693
14694 ;
14695 return 0;
14696 }
14697 _ACEOF
14698 rm -f conftest$ac_exeext
14699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14700 (eval $ac_link) 2>&5
14701 ac_status=$?
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14706 ac_status=$?
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; }; then
14709 ac_cv_sizeof_void_p=`cat conftest.val`
14710 else
14711 echo "$as_me: program exited with status $ac_status" >&5
14712 echo "$as_me: failed program was:" >&5
14713 sed 's/^/| /' conftest.$ac_ext >&5
14714
14715 ( exit $ac_status )
14716 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14717 See \`config.log' for more details." >&5
14718 echo "$as_me: error: cannot compute sizeof (void *), 77
14719 See \`config.log' for more details." >&2;}
14720 { (exit 1); exit 1; }; }
14721 fi
14722 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14723 fi
14724 fi
14725 rm -f conftest.val
14726 else
14727 ac_cv_sizeof_void_p=0
14728 fi
14729 fi
14730 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14731 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14732 cat >>confdefs.h <<_ACEOF
14733 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14734 _ACEOF
14735
14736
14737 echo "$as_me:$LINENO: checking for int" >&5
14738 echo $ECHO_N "checking for int... $ECHO_C" >&6
14739 if test "${ac_cv_type_int+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 else
14742 cat >conftest.$ac_ext <<_ACEOF
14743 #line $LINENO "configure"
14744 /* confdefs.h. */
14745 _ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 $ac_includes_default
14750 int
14751 main ()
14752 {
14753 if ((int *) 0)
14754 return 0;
14755 if (sizeof (int))
14756 return 0;
14757 ;
14758 return 0;
14759 }
14760 _ACEOF
14761 rm -f conftest.$ac_objext
14762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763 (eval $ac_compile) 2>&5
14764 ac_status=$?
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); } &&
14767 { ac_try='test -s conftest.$ac_objext'
14768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769 (eval $ac_try) 2>&5
14770 ac_status=$?
14771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772 (exit $ac_status); }; }; then
14773 ac_cv_type_int=yes
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14777
14778 ac_cv_type_int=no
14779 fi
14780 rm -f conftest.$ac_objext conftest.$ac_ext
14781 fi
14782 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14783 echo "${ECHO_T}$ac_cv_type_int" >&6
14784
14785 echo "$as_me:$LINENO: checking size of int" >&5
14786 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14787 if test "${ac_cv_sizeof_int+set}" = set; then
14788 echo $ECHO_N "(cached) $ECHO_C" >&6
14789 else
14790 if test "$ac_cv_type_int" = yes; then
14791 # The cast to unsigned long works around a bug in the HP C Compiler
14792 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14793 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14794 # This bug is HP SR number 8606223364.
14795 if test "$cross_compiling" = yes; then
14796 # Depending upon the size, compute the lo and hi bounds.
14797 cat >conftest.$ac_ext <<_ACEOF
14798 #line $LINENO "configure"
14799 /* confdefs.h. */
14800 _ACEOF
14801 cat confdefs.h >>conftest.$ac_ext
14802 cat >>conftest.$ac_ext <<_ACEOF
14803 /* end confdefs.h. */
14804 $ac_includes_default
14805 int
14806 main ()
14807 {
14808 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14809 test_array [0] = 0
14810
14811 ;
14812 return 0;
14813 }
14814 _ACEOF
14815 rm -f conftest.$ac_objext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); } &&
14821 { ac_try='test -s conftest.$ac_objext'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14824 ac_status=$?
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 ac_lo=0 ac_mid=0
14828 while :; do
14829 cat >conftest.$ac_ext <<_ACEOF
14830 #line $LINENO "configure"
14831 /* confdefs.h. */
14832 _ACEOF
14833 cat confdefs.h >>conftest.$ac_ext
14834 cat >>conftest.$ac_ext <<_ACEOF
14835 /* end confdefs.h. */
14836 $ac_includes_default
14837 int
14838 main ()
14839 {
14840 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14841 test_array [0] = 0
14842
14843 ;
14844 return 0;
14845 }
14846 _ACEOF
14847 rm -f conftest.$ac_objext
14848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14849 (eval $ac_compile) 2>&5
14850 ac_status=$?
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); } &&
14853 { ac_try='test -s conftest.$ac_objext'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; }; then
14859 ac_hi=$ac_mid; break
14860 else
14861 echo "$as_me: failed program was:" >&5
14862 sed 's/^/| /' conftest.$ac_ext >&5
14863
14864 ac_lo=`expr $ac_mid + 1`
14865 if test $ac_lo -le $ac_mid; then
14866 ac_lo= ac_hi=
14867 break
14868 fi
14869 ac_mid=`expr 2 '*' $ac_mid + 1`
14870 fi
14871 rm -f conftest.$ac_objext conftest.$ac_ext
14872 done
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 cat >conftest.$ac_ext <<_ACEOF
14878 #line $LINENO "configure"
14879 /* confdefs.h. */
14880 _ACEOF
14881 cat confdefs.h >>conftest.$ac_ext
14882 cat >>conftest.$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 $ac_includes_default
14885 int
14886 main ()
14887 {
14888 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14889 test_array [0] = 0
14890
14891 ;
14892 return 0;
14893 }
14894 _ACEOF
14895 rm -f conftest.$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try='test -s conftest.$ac_objext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_hi=-1 ac_mid=-1
14908 while :; do
14909 cat >conftest.$ac_ext <<_ACEOF
14910 #line $LINENO "configure"
14911 /* confdefs.h. */
14912 _ACEOF
14913 cat confdefs.h >>conftest.$ac_ext
14914 cat >>conftest.$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 $ac_includes_default
14917 int
14918 main ()
14919 {
14920 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14921 test_array [0] = 0
14922
14923 ;
14924 return 0;
14925 }
14926 _ACEOF
14927 rm -f conftest.$ac_objext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>&5
14930 ac_status=$?
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); } &&
14933 { ac_try='test -s conftest.$ac_objext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_lo=$ac_mid; break
14940 else
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.$ac_ext >&5
14943
14944 ac_hi=`expr '(' $ac_mid ')' - 1`
14945 if test $ac_mid -le $ac_hi; then
14946 ac_lo= ac_hi=
14947 break
14948 fi
14949 ac_mid=`expr 2 '*' $ac_mid`
14950 fi
14951 rm -f conftest.$ac_objext conftest.$ac_ext
14952 done
14953 else
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14956
14957 ac_lo= ac_hi=
14958 fi
14959 rm -f conftest.$ac_objext conftest.$ac_ext
14960 fi
14961 rm -f conftest.$ac_objext conftest.$ac_ext
14962 # Binary search between lo and hi bounds.
14963 while test "x$ac_lo" != "x$ac_hi"; do
14964 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14965 cat >conftest.$ac_ext <<_ACEOF
14966 #line $LINENO "configure"
14967 /* confdefs.h. */
14968 _ACEOF
14969 cat confdefs.h >>conftest.$ac_ext
14970 cat >>conftest.$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14972 $ac_includes_default
14973 int
14974 main ()
14975 {
14976 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14977 test_array [0] = 0
14978
14979 ;
14980 return 0;
14981 }
14982 _ACEOF
14983 rm -f conftest.$ac_objext
14984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14985 (eval $ac_compile) 2>&5
14986 ac_status=$?
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); } &&
14989 { ac_try='test -s conftest.$ac_objext'
14990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14991 (eval $ac_try) 2>&5
14992 ac_status=$?
14993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14994 (exit $ac_status); }; }; then
14995 ac_hi=$ac_mid
14996 else
14997 echo "$as_me: failed program was:" >&5
14998 sed 's/^/| /' conftest.$ac_ext >&5
14999
15000 ac_lo=`expr '(' $ac_mid ')' + 1`
15001 fi
15002 rm -f conftest.$ac_objext conftest.$ac_ext
15003 done
15004 case $ac_lo in
15005 ?*) ac_cv_sizeof_int=$ac_lo;;
15006 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15007 See \`config.log' for more details." >&5
15008 echo "$as_me: error: cannot compute sizeof (int), 77
15009 See \`config.log' for more details." >&2;}
15010 { (exit 1); exit 1; }; } ;;
15011 esac
15012 else
15013 if test "$cross_compiling" = yes; then
15014 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15015 See \`config.log' for more details." >&5
15016 echo "$as_me: error: cannot run test program while cross compiling
15017 See \`config.log' for more details." >&2;}
15018 { (exit 1); exit 1; }; }
15019 else
15020 cat >conftest.$ac_ext <<_ACEOF
15021 #line $LINENO "configure"
15022 /* confdefs.h. */
15023 _ACEOF
15024 cat confdefs.h >>conftest.$ac_ext
15025 cat >>conftest.$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15027 $ac_includes_default
15028 long longval () { return (long) (sizeof (int)); }
15029 unsigned long ulongval () { return (long) (sizeof (int)); }
15030 #include <stdio.h>
15031 #include <stdlib.h>
15032 int
15033 main ()
15034 {
15035
15036 FILE *f = fopen ("conftest.val", "w");
15037 if (! f)
15038 exit (1);
15039 if (((long) (sizeof (int))) < 0)
15040 {
15041 long i = longval ();
15042 if (i != ((long) (sizeof (int))))
15043 exit (1);
15044 fprintf (f, "%ld\n", i);
15045 }
15046 else
15047 {
15048 unsigned long i = ulongval ();
15049 if (i != ((long) (sizeof (int))))
15050 exit (1);
15051 fprintf (f, "%lu\n", i);
15052 }
15053 exit (ferror (f) || fclose (f) != 0);
15054
15055 ;
15056 return 0;
15057 }
15058 _ACEOF
15059 rm -f conftest$ac_exeext
15060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15061 (eval $ac_link) 2>&5
15062 ac_status=$?
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15067 ac_status=$?
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 ac_cv_sizeof_int=`cat conftest.val`
15071 else
15072 echo "$as_me: program exited with status $ac_status" >&5
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15075
15076 ( exit $ac_status )
15077 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15078 See \`config.log' for more details." >&5
15079 echo "$as_me: error: cannot compute sizeof (int), 77
15080 See \`config.log' for more details." >&2;}
15081 { (exit 1); exit 1; }; }
15082 fi
15083 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15084 fi
15085 fi
15086 rm -f conftest.val
15087 else
15088 ac_cv_sizeof_int=0
15089 fi
15090 fi
15091 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15092 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15093 cat >>confdefs.h <<_ACEOF
15094 #define SIZEOF_INT $ac_cv_sizeof_int
15095 _ACEOF
15096
15097
15098 echo "$as_me:$LINENO: checking for long" >&5
15099 echo $ECHO_N "checking for long... $ECHO_C" >&6
15100 if test "${ac_cv_type_long+set}" = set; then
15101 echo $ECHO_N "(cached) $ECHO_C" >&6
15102 else
15103 cat >conftest.$ac_ext <<_ACEOF
15104 #line $LINENO "configure"
15105 /* confdefs.h. */
15106 _ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110 $ac_includes_default
15111 int
15112 main ()
15113 {
15114 if ((long *) 0)
15115 return 0;
15116 if (sizeof (long))
15117 return 0;
15118 ;
15119 return 0;
15120 }
15121 _ACEOF
15122 rm -f conftest.$ac_objext
15123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15124 (eval $ac_compile) 2>&5
15125 ac_status=$?
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } &&
15128 { ac_try='test -s conftest.$ac_objext'
15129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15130 (eval $ac_try) 2>&5
15131 ac_status=$?
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }; }; then
15134 ac_cv_type_long=yes
15135 else
15136 echo "$as_me: failed program was:" >&5
15137 sed 's/^/| /' conftest.$ac_ext >&5
15138
15139 ac_cv_type_long=no
15140 fi
15141 rm -f conftest.$ac_objext conftest.$ac_ext
15142 fi
15143 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15144 echo "${ECHO_T}$ac_cv_type_long" >&6
15145
15146 echo "$as_me:$LINENO: checking size of long" >&5
15147 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15148 if test "${ac_cv_sizeof_long+set}" = set; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15150 else
15151 if test "$ac_cv_type_long" = yes; then
15152 # The cast to unsigned long works around a bug in the HP C Compiler
15153 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15154 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15155 # This bug is HP SR number 8606223364.
15156 if test "$cross_compiling" = yes; then
15157 # Depending upon the size, compute the lo and hi bounds.
15158 cat >conftest.$ac_ext <<_ACEOF
15159 #line $LINENO "configure"
15160 /* confdefs.h. */
15161 _ACEOF
15162 cat confdefs.h >>conftest.$ac_ext
15163 cat >>conftest.$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15165 $ac_includes_default
15166 int
15167 main ()
15168 {
15169 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15170 test_array [0] = 0
15171
15172 ;
15173 return 0;
15174 }
15175 _ACEOF
15176 rm -f conftest.$ac_objext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15178 (eval $ac_compile) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try='test -s conftest.$ac_objext'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15185 ac_status=$?
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; }; then
15188 ac_lo=0 ac_mid=0
15189 while :; do
15190 cat >conftest.$ac_ext <<_ACEOF
15191 #line $LINENO "configure"
15192 /* confdefs.h. */
15193 _ACEOF
15194 cat confdefs.h >>conftest.$ac_ext
15195 cat >>conftest.$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15197 $ac_includes_default
15198 int
15199 main ()
15200 {
15201 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15202 test_array [0] = 0
15203
15204 ;
15205 return 0;
15206 }
15207 _ACEOF
15208 rm -f conftest.$ac_objext
15209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15210 (eval $ac_compile) 2>&5
15211 ac_status=$?
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try='test -s conftest.$ac_objext'
15215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15216 (eval $ac_try) 2>&5
15217 ac_status=$?
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); }; }; then
15220 ac_hi=$ac_mid; break
15221 else
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.$ac_ext >&5
15224
15225 ac_lo=`expr $ac_mid + 1`
15226 if test $ac_lo -le $ac_mid; then
15227 ac_lo= ac_hi=
15228 break
15229 fi
15230 ac_mid=`expr 2 '*' $ac_mid + 1`
15231 fi
15232 rm -f conftest.$ac_objext conftest.$ac_ext
15233 done
15234 else
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15237
15238 cat >conftest.$ac_ext <<_ACEOF
15239 #line $LINENO "configure"
15240 /* confdefs.h. */
15241 _ACEOF
15242 cat confdefs.h >>conftest.$ac_ext
15243 cat >>conftest.$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15245 $ac_includes_default
15246 int
15247 main ()
15248 {
15249 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15250 test_array [0] = 0
15251
15252 ;
15253 return 0;
15254 }
15255 _ACEOF
15256 rm -f conftest.$ac_objext
15257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15258 (eval $ac_compile) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try='test -s conftest.$ac_objext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15265 ac_status=$?
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_hi=-1 ac_mid=-1
15269 while :; do
15270 cat >conftest.$ac_ext <<_ACEOF
15271 #line $LINENO "configure"
15272 /* confdefs.h. */
15273 _ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 $ac_includes_default
15278 int
15279 main ()
15280 {
15281 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15282 test_array [0] = 0
15283
15284 ;
15285 return 0;
15286 }
15287 _ACEOF
15288 rm -f conftest.$ac_objext
15289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15290 (eval $ac_compile) 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); } &&
15294 { ac_try='test -s conftest.$ac_objext'
15295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296 (eval $ac_try) 2>&5
15297 ac_status=$?
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); }; }; then
15300 ac_lo=$ac_mid; break
15301 else
15302 echo "$as_me: failed program was:" >&5
15303 sed 's/^/| /' conftest.$ac_ext >&5
15304
15305 ac_hi=`expr '(' $ac_mid ')' - 1`
15306 if test $ac_mid -le $ac_hi; then
15307 ac_lo= ac_hi=
15308 break
15309 fi
15310 ac_mid=`expr 2 '*' $ac_mid`
15311 fi
15312 rm -f conftest.$ac_objext conftest.$ac_ext
15313 done
15314 else
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15317
15318 ac_lo= ac_hi=
15319 fi
15320 rm -f conftest.$ac_objext conftest.$ac_ext
15321 fi
15322 rm -f conftest.$ac_objext conftest.$ac_ext
15323 # Binary search between lo and hi bounds.
15324 while test "x$ac_lo" != "x$ac_hi"; do
15325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15326 cat >conftest.$ac_ext <<_ACEOF
15327 #line $LINENO "configure"
15328 /* confdefs.h. */
15329 _ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333 $ac_includes_default
15334 int
15335 main ()
15336 {
15337 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15338 test_array [0] = 0
15339
15340 ;
15341 return 0;
15342 }
15343 _ACEOF
15344 rm -f conftest.$ac_objext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15346 (eval $ac_compile) 2>&5
15347 ac_status=$?
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); } &&
15350 { ac_try='test -s conftest.$ac_objext'
15351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15352 (eval $ac_try) 2>&5
15353 ac_status=$?
15354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15355 (exit $ac_status); }; }; then
15356 ac_hi=$ac_mid
15357 else
15358 echo "$as_me: failed program was:" >&5
15359 sed 's/^/| /' conftest.$ac_ext >&5
15360
15361 ac_lo=`expr '(' $ac_mid ')' + 1`
15362 fi
15363 rm -f conftest.$ac_objext conftest.$ac_ext
15364 done
15365 case $ac_lo in
15366 ?*) ac_cv_sizeof_long=$ac_lo;;
15367 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15368 See \`config.log' for more details." >&5
15369 echo "$as_me: error: cannot compute sizeof (long), 77
15370 See \`config.log' for more details." >&2;}
15371 { (exit 1); exit 1; }; } ;;
15372 esac
15373 else
15374 if test "$cross_compiling" = yes; then
15375 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15376 See \`config.log' for more details." >&5
15377 echo "$as_me: error: cannot run test program while cross compiling
15378 See \`config.log' for more details." >&2;}
15379 { (exit 1); exit 1; }; }
15380 else
15381 cat >conftest.$ac_ext <<_ACEOF
15382 #line $LINENO "configure"
15383 /* confdefs.h. */
15384 _ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15388 $ac_includes_default
15389 long longval () { return (long) (sizeof (long)); }
15390 unsigned long ulongval () { return (long) (sizeof (long)); }
15391 #include <stdio.h>
15392 #include <stdlib.h>
15393 int
15394 main ()
15395 {
15396
15397 FILE *f = fopen ("conftest.val", "w");
15398 if (! f)
15399 exit (1);
15400 if (((long) (sizeof (long))) < 0)
15401 {
15402 long i = longval ();
15403 if (i != ((long) (sizeof (long))))
15404 exit (1);
15405 fprintf (f, "%ld\n", i);
15406 }
15407 else
15408 {
15409 unsigned long i = ulongval ();
15410 if (i != ((long) (sizeof (long))))
15411 exit (1);
15412 fprintf (f, "%lu\n", i);
15413 }
15414 exit (ferror (f) || fclose (f) != 0);
15415
15416 ;
15417 return 0;
15418 }
15419 _ACEOF
15420 rm -f conftest$ac_exeext
15421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15422 (eval $ac_link) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15428 ac_status=$?
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15431 ac_cv_sizeof_long=`cat conftest.val`
15432 else
15433 echo "$as_me: program exited with status $ac_status" >&5
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15436
15437 ( exit $ac_status )
15438 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15439 See \`config.log' for more details." >&5
15440 echo "$as_me: error: cannot compute sizeof (long), 77
15441 See \`config.log' for more details." >&2;}
15442 { (exit 1); exit 1; }; }
15443 fi
15444 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15445 fi
15446 fi
15447 rm -f conftest.val
15448 else
15449 ac_cv_sizeof_long=0
15450 fi
15451 fi
15452 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15453 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15454 cat >>confdefs.h <<_ACEOF
15455 #define SIZEOF_LONG $ac_cv_sizeof_long
15456 _ACEOF
15457
15458
15459
15460 case "${host}" in
15461 arm-*-linux* )
15462 echo "$as_me:$LINENO: checking for long long" >&5
15463 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15464 if test "${ac_cv_type_long_long+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15466 else
15467 cat >conftest.$ac_ext <<_ACEOF
15468 #line $LINENO "configure"
15469 /* confdefs.h. */
15470 _ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15474 $ac_includes_default
15475 int
15476 main ()
15477 {
15478 if ((long long *) 0)
15479 return 0;
15480 if (sizeof (long long))
15481 return 0;
15482 ;
15483 return 0;
15484 }
15485 _ACEOF
15486 rm -f conftest.$ac_objext
15487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_cv_type_long_long=yes
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15502
15503 ac_cv_type_long_long=no
15504 fi
15505 rm -f conftest.$ac_objext conftest.$ac_ext
15506 fi
15507 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15508 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15509
15510 echo "$as_me:$LINENO: checking size of long long" >&5
15511 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15512 if test "${ac_cv_sizeof_long_long+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 else
15515 if test "$ac_cv_type_long_long" = yes; then
15516 # The cast to unsigned long works around a bug in the HP C Compiler
15517 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15518 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15519 # This bug is HP SR number 8606223364.
15520 if test "$cross_compiling" = yes; then
15521 # Depending upon the size, compute the lo and hi bounds.
15522 cat >conftest.$ac_ext <<_ACEOF
15523 #line $LINENO "configure"
15524 /* confdefs.h. */
15525 _ACEOF
15526 cat confdefs.h >>conftest.$ac_ext
15527 cat >>conftest.$ac_ext <<_ACEOF
15528 /* end confdefs.h. */
15529 $ac_includes_default
15530 int
15531 main ()
15532 {
15533 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15534 test_array [0] = 0
15535
15536 ;
15537 return 0;
15538 }
15539 _ACEOF
15540 rm -f conftest.$ac_objext
15541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15542 (eval $ac_compile) 2>&5
15543 ac_status=$?
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } &&
15546 { ac_try='test -s conftest.$ac_objext'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15549 ac_status=$?
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; }; then
15552 ac_lo=0 ac_mid=0
15553 while :; do
15554 cat >conftest.$ac_ext <<_ACEOF
15555 #line $LINENO "configure"
15556 /* confdefs.h. */
15557 _ACEOF
15558 cat confdefs.h >>conftest.$ac_ext
15559 cat >>conftest.$ac_ext <<_ACEOF
15560 /* end confdefs.h. */
15561 $ac_includes_default
15562 int
15563 main ()
15564 {
15565 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15566 test_array [0] = 0
15567
15568 ;
15569 return 0;
15570 }
15571 _ACEOF
15572 rm -f conftest.$ac_objext
15573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15574 (eval $ac_compile) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -s conftest.$ac_objext'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15581 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; }; then
15584 ac_hi=$ac_mid; break
15585 else
15586 echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.$ac_ext >&5
15588
15589 ac_lo=`expr $ac_mid + 1`
15590 if test $ac_lo -le $ac_mid; then
15591 ac_lo= ac_hi=
15592 break
15593 fi
15594 ac_mid=`expr 2 '*' $ac_mid + 1`
15595 fi
15596 rm -f conftest.$ac_objext conftest.$ac_ext
15597 done
15598 else
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602 cat >conftest.$ac_ext <<_ACEOF
15603 #line $LINENO "configure"
15604 /* confdefs.h. */
15605 _ACEOF
15606 cat confdefs.h >>conftest.$ac_ext
15607 cat >>conftest.$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 $ac_includes_default
15610 int
15611 main ()
15612 {
15613 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15614 test_array [0] = 0
15615
15616 ;
15617 return 0;
15618 }
15619 _ACEOF
15620 rm -f conftest.$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } &&
15626 { ac_try='test -s conftest.$ac_objext'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; }; then
15632 ac_hi=-1 ac_mid=-1
15633 while :; do
15634 cat >conftest.$ac_ext <<_ACEOF
15635 #line $LINENO "configure"
15636 /* confdefs.h. */
15637 _ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641 $ac_includes_default
15642 int
15643 main ()
15644 {
15645 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15646 test_array [0] = 0
15647
15648 ;
15649 return 0;
15650 }
15651 _ACEOF
15652 rm -f conftest.$ac_objext
15653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15654 (eval $ac_compile) 2>&5
15655 ac_status=$?
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } &&
15658 { ac_try='test -s conftest.$ac_objext'
15659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15660 (eval $ac_try) 2>&5
15661 ac_status=$?
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); }; }; then
15664 ac_lo=$ac_mid; break
15665 else
15666 echo "$as_me: failed program was:" >&5
15667 sed 's/^/| /' conftest.$ac_ext >&5
15668
15669 ac_hi=`expr '(' $ac_mid ')' - 1`
15670 if test $ac_mid -le $ac_hi; then
15671 ac_lo= ac_hi=
15672 break
15673 fi
15674 ac_mid=`expr 2 '*' $ac_mid`
15675 fi
15676 rm -f conftest.$ac_objext conftest.$ac_ext
15677 done
15678 else
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.$ac_ext >&5
15681
15682 ac_lo= ac_hi=
15683 fi
15684 rm -f conftest.$ac_objext conftest.$ac_ext
15685 fi
15686 rm -f conftest.$ac_objext conftest.$ac_ext
15687 # Binary search between lo and hi bounds.
15688 while test "x$ac_lo" != "x$ac_hi"; do
15689 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15690 cat >conftest.$ac_ext <<_ACEOF
15691 #line $LINENO "configure"
15692 /* confdefs.h. */
15693 _ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697 $ac_includes_default
15698 int
15699 main ()
15700 {
15701 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15702 test_array [0] = 0
15703
15704 ;
15705 return 0;
15706 }
15707 _ACEOF
15708 rm -f conftest.$ac_objext
15709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15710 (eval $ac_compile) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } &&
15714 { ac_try='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 ac_hi=$ac_mid
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15724
15725 ac_lo=`expr '(' $ac_mid ')' + 1`
15726 fi
15727 rm -f conftest.$ac_objext conftest.$ac_ext
15728 done
15729 case $ac_lo in
15730 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15731 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15732 See \`config.log' for more details." >&5
15733 echo "$as_me: error: cannot compute sizeof (long long), 77
15734 See \`config.log' for more details." >&2;}
15735 { (exit 1); exit 1; }; } ;;
15736 esac
15737 else
15738 if test "$cross_compiling" = yes; then
15739 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15740 See \`config.log' for more details." >&5
15741 echo "$as_me: error: cannot run test program while cross compiling
15742 See \`config.log' for more details." >&2;}
15743 { (exit 1); exit 1; }; }
15744 else
15745 cat >conftest.$ac_ext <<_ACEOF
15746 #line $LINENO "configure"
15747 /* confdefs.h. */
15748 _ACEOF
15749 cat confdefs.h >>conftest.$ac_ext
15750 cat >>conftest.$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15752 $ac_includes_default
15753 long longval () { return (long) (sizeof (long long)); }
15754 unsigned long ulongval () { return (long) (sizeof (long long)); }
15755 #include <stdio.h>
15756 #include <stdlib.h>
15757 int
15758 main ()
15759 {
15760
15761 FILE *f = fopen ("conftest.val", "w");
15762 if (! f)
15763 exit (1);
15764 if (((long) (sizeof (long long))) < 0)
15765 {
15766 long i = longval ();
15767 if (i != ((long) (sizeof (long long))))
15768 exit (1);
15769 fprintf (f, "%ld\n", i);
15770 }
15771 else
15772 {
15773 unsigned long i = ulongval ();
15774 if (i != ((long) (sizeof (long long))))
15775 exit (1);
15776 fprintf (f, "%lu\n", i);
15777 }
15778 exit (ferror (f) || fclose (f) != 0);
15779
15780 ;
15781 return 0;
15782 }
15783 _ACEOF
15784 rm -f conftest$ac_exeext
15785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15786 (eval $ac_link) 2>&5
15787 ac_status=$?
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15791 (eval $ac_try) 2>&5
15792 ac_status=$?
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); }; }; then
15795 ac_cv_sizeof_long_long=`cat conftest.val`
15796 else
15797 echo "$as_me: program exited with status $ac_status" >&5
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15800
15801 ( exit $ac_status )
15802 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15803 See \`config.log' for more details." >&5
15804 echo "$as_me: error: cannot compute sizeof (long long), 77
15805 See \`config.log' for more details." >&2;}
15806 { (exit 1); exit 1; }; }
15807 fi
15808 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15809 fi
15810 fi
15811 rm -f conftest.val
15812 else
15813 ac_cv_sizeof_long_long=0
15814 fi
15815 fi
15816 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15817 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15818 cat >>confdefs.h <<_ACEOF
15819 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15820 _ACEOF
15821
15822
15823 ;;
15824 *-hp-hpux* )
15825 echo "$as_me:$LINENO: checking for long long" >&5
15826 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15827 if test "${ac_cv_type_long_long+set}" = set; then
15828 echo $ECHO_N "(cached) $ECHO_C" >&6
15829 else
15830 cat >conftest.$ac_ext <<_ACEOF
15831 #line $LINENO "configure"
15832 /* confdefs.h. */
15833 _ACEOF
15834 cat confdefs.h >>conftest.$ac_ext
15835 cat >>conftest.$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15837 $ac_includes_default
15838 int
15839 main ()
15840 {
15841 if ((long long *) 0)
15842 return 0;
15843 if (sizeof (long long))
15844 return 0;
15845 ;
15846 return 0;
15847 }
15848 _ACEOF
15849 rm -f conftest.$ac_objext
15850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>&5
15852 ac_status=$?
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); } &&
15855 { ac_try='test -s conftest.$ac_objext'
15856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15857 (eval $ac_try) 2>&5
15858 ac_status=$?
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); }; }; then
15861 ac_cv_type_long_long=yes
15862 else
15863 echo "$as_me: failed program was:" >&5
15864 sed 's/^/| /' conftest.$ac_ext >&5
15865
15866 ac_cv_type_long_long=no
15867 fi
15868 rm -f conftest.$ac_objext conftest.$ac_ext
15869 fi
15870 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15871 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15872
15873 echo "$as_me:$LINENO: checking size of long long" >&5
15874 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15875 if test "${ac_cv_sizeof_long_long+set}" = set; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 else
15878 if test "$ac_cv_type_long_long" = yes; then
15879 # The cast to unsigned long works around a bug in the HP C Compiler
15880 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15881 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15882 # This bug is HP SR number 8606223364.
15883 if test "$cross_compiling" = yes; then
15884 # Depending upon the size, compute the lo and hi bounds.
15885 cat >conftest.$ac_ext <<_ACEOF
15886 #line $LINENO "configure"
15887 /* confdefs.h. */
15888 _ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892 $ac_includes_default
15893 int
15894 main ()
15895 {
15896 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15897 test_array [0] = 0
15898
15899 ;
15900 return 0;
15901 }
15902 _ACEOF
15903 rm -f conftest.$ac_objext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15905 (eval $ac_compile) 2>&5
15906 ac_status=$?
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } &&
15909 { ac_try='test -s conftest.$ac_objext'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15912 ac_status=$?
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; }; then
15915 ac_lo=0 ac_mid=0
15916 while :; do
15917 cat >conftest.$ac_ext <<_ACEOF
15918 #line $LINENO "configure"
15919 /* confdefs.h. */
15920 _ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924 $ac_includes_default
15925 int
15926 main ()
15927 {
15928 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15929 test_array [0] = 0
15930
15931 ;
15932 return 0;
15933 }
15934 _ACEOF
15935 rm -f conftest.$ac_objext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15937 (eval $ac_compile) 2>&5
15938 ac_status=$?
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); } &&
15941 { ac_try='test -s conftest.$ac_objext'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15944 ac_status=$?
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; }; then
15947 ac_hi=$ac_mid; break
15948 else
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.$ac_ext >&5
15951
15952 ac_lo=`expr $ac_mid + 1`
15953 if test $ac_lo -le $ac_mid; then
15954 ac_lo= ac_hi=
15955 break
15956 fi
15957 ac_mid=`expr 2 '*' $ac_mid + 1`
15958 fi
15959 rm -f conftest.$ac_objext conftest.$ac_ext
15960 done
15961 else
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15964
15965 cat >conftest.$ac_ext <<_ACEOF
15966 #line $LINENO "configure"
15967 /* confdefs.h. */
15968 _ACEOF
15969 cat confdefs.h >>conftest.$ac_ext
15970 cat >>conftest.$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 $ac_includes_default
15973 int
15974 main ()
15975 {
15976 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15977 test_array [0] = 0
15978
15979 ;
15980 return 0;
15981 }
15982 _ACEOF
15983 rm -f conftest.$ac_objext
15984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15985 (eval $ac_compile) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); } &&
15989 { ac_try='test -s conftest.$ac_objext'
15990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991 (eval $ac_try) 2>&5
15992 ac_status=$?
15993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); }; }; then
15995 ac_hi=-1 ac_mid=-1
15996 while :; do
15997 cat >conftest.$ac_ext <<_ACEOF
15998 #line $LINENO "configure"
15999 /* confdefs.h. */
16000 _ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004 $ac_includes_default
16005 int
16006 main ()
16007 {
16008 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16009 test_array [0] = 0
16010
16011 ;
16012 return 0;
16013 }
16014 _ACEOF
16015 rm -f conftest.$ac_objext
16016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16017 (eval $ac_compile) 2>&5
16018 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try='test -s conftest.$ac_objext'
16022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16023 (eval $ac_try) 2>&5
16024 ac_status=$?
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then
16027 ac_lo=$ac_mid; break
16028 else
16029 echo "$as_me: failed program was:" >&5
16030 sed 's/^/| /' conftest.$ac_ext >&5
16031
16032 ac_hi=`expr '(' $ac_mid ')' - 1`
16033 if test $ac_mid -le $ac_hi; then
16034 ac_lo= ac_hi=
16035 break
16036 fi
16037 ac_mid=`expr 2 '*' $ac_mid`
16038 fi
16039 rm -f conftest.$ac_objext conftest.$ac_ext
16040 done
16041 else
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.$ac_ext >&5
16044
16045 ac_lo= ac_hi=
16046 fi
16047 rm -f conftest.$ac_objext conftest.$ac_ext
16048 fi
16049 rm -f conftest.$ac_objext conftest.$ac_ext
16050 # Binary search between lo and hi bounds.
16051 while test "x$ac_lo" != "x$ac_hi"; do
16052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16053 cat >conftest.$ac_ext <<_ACEOF
16054 #line $LINENO "configure"
16055 /* confdefs.h. */
16056 _ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 $ac_includes_default
16061 int
16062 main ()
16063 {
16064 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16065 test_array [0] = 0
16066
16067 ;
16068 return 0;
16069 }
16070 _ACEOF
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try='test -s conftest.$ac_objext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_hi=$ac_mid
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 ac_lo=`expr '(' $ac_mid ')' + 1`
16089 fi
16090 rm -f conftest.$ac_objext conftest.$ac_ext
16091 done
16092 case $ac_lo in
16093 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16095 See \`config.log' for more details." >&5
16096 echo "$as_me: error: cannot compute sizeof (long long), 77
16097 See \`config.log' for more details." >&2;}
16098 { (exit 1); exit 1; }; } ;;
16099 esac
16100 else
16101 if test "$cross_compiling" = yes; then
16102 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16103 See \`config.log' for more details." >&5
16104 echo "$as_me: error: cannot run test program while cross compiling
16105 See \`config.log' for more details." >&2;}
16106 { (exit 1); exit 1; }; }
16107 else
16108 cat >conftest.$ac_ext <<_ACEOF
16109 #line $LINENO "configure"
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 $ac_includes_default
16116 long longval () { return (long) (sizeof (long long)); }
16117 unsigned long ulongval () { return (long) (sizeof (long long)); }
16118 #include <stdio.h>
16119 #include <stdlib.h>
16120 int
16121 main ()
16122 {
16123
16124 FILE *f = fopen ("conftest.val", "w");
16125 if (! f)
16126 exit (1);
16127 if (((long) (sizeof (long long))) < 0)
16128 {
16129 long i = longval ();
16130 if (i != ((long) (sizeof (long long))))
16131 exit (1);
16132 fprintf (f, "%ld\n", i);
16133 }
16134 else
16135 {
16136 unsigned long i = ulongval ();
16137 if (i != ((long) (sizeof (long long))))
16138 exit (1);
16139 fprintf (f, "%lu\n", i);
16140 }
16141 exit (ferror (f) || fclose (f) != 0);
16142
16143 ;
16144 return 0;
16145 }
16146 _ACEOF
16147 rm -f conftest$ac_exeext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16149 (eval $ac_link) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16154 (eval $ac_try) 2>&5
16155 ac_status=$?
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 ac_cv_sizeof_long_long=`cat conftest.val`
16159 else
16160 echo "$as_me: program exited with status $ac_status" >&5
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.$ac_ext >&5
16163
16164 ( exit $ac_status )
16165 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16166 See \`config.log' for more details." >&5
16167 echo "$as_me: error: cannot compute sizeof (long long), 77
16168 See \`config.log' for more details." >&2;}
16169 { (exit 1); exit 1; }; }
16170 fi
16171 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16172 fi
16173 fi
16174 rm -f conftest.val
16175 else
16176 ac_cv_sizeof_long_long=0
16177 fi
16178 fi
16179 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16180 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16181 cat >>confdefs.h <<_ACEOF
16182 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16183 _ACEOF
16184
16185
16186 if test "$ac_cv_sizeof_long_long" != "0"; then
16187 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16188 fi
16189 ;;
16190 * )
16191 echo "$as_me:$LINENO: checking for long long" >&5
16192 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16193 if test "${ac_cv_type_long_long+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 cat >conftest.$ac_ext <<_ACEOF
16197 #line $LINENO "configure"
16198 /* confdefs.h. */
16199 _ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 $ac_includes_default
16204 int
16205 main ()
16206 {
16207 if ((long long *) 0)
16208 return 0;
16209 if (sizeof (long long))
16210 return 0;
16211 ;
16212 return 0;
16213 }
16214 _ACEOF
16215 rm -f conftest.$ac_objext
16216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16217 (eval $ac_compile) 2>&5
16218 ac_status=$?
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -s conftest.$ac_objext'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16224 ac_status=$?
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; }; then
16227 ac_cv_type_long_long=yes
16228 else
16229 echo "$as_me: failed program was:" >&5
16230 sed 's/^/| /' conftest.$ac_ext >&5
16231
16232 ac_cv_type_long_long=no
16233 fi
16234 rm -f conftest.$ac_objext conftest.$ac_ext
16235 fi
16236 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16237 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16238
16239 echo "$as_me:$LINENO: checking size of long long" >&5
16240 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16241 if test "${ac_cv_sizeof_long_long+set}" = set; then
16242 echo $ECHO_N "(cached) $ECHO_C" >&6
16243 else
16244 if test "$ac_cv_type_long_long" = yes; then
16245 # The cast to unsigned long works around a bug in the HP C Compiler
16246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16248 # This bug is HP SR number 8606223364.
16249 if test "$cross_compiling" = yes; then
16250 # Depending upon the size, compute the lo and hi bounds.
16251 cat >conftest.$ac_ext <<_ACEOF
16252 #line $LINENO "configure"
16253 /* confdefs.h. */
16254 _ACEOF
16255 cat confdefs.h >>conftest.$ac_ext
16256 cat >>conftest.$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16258 $ac_includes_default
16259 int
16260 main ()
16261 {
16262 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16263 test_array [0] = 0
16264
16265 ;
16266 return 0;
16267 }
16268 _ACEOF
16269 rm -f conftest.$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>&5
16272 ac_status=$?
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } &&
16275 { ac_try='test -s conftest.$ac_objext'
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 (eval $ac_try) 2>&5
16278 ac_status=$?
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; }; then
16281 ac_lo=0 ac_mid=0
16282 while :; do
16283 cat >conftest.$ac_ext <<_ACEOF
16284 #line $LINENO "configure"
16285 /* confdefs.h. */
16286 _ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16291 int
16292 main ()
16293 {
16294 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16295 test_array [0] = 0
16296
16297 ;
16298 return 0;
16299 }
16300 _ACEOF
16301 rm -f conftest.$ac_objext
16302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16303 (eval $ac_compile) 2>&5
16304 ac_status=$?
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); } &&
16307 { ac_try='test -s conftest.$ac_objext'
16308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309 (eval $ac_try) 2>&5
16310 ac_status=$?
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); }; }; then
16313 ac_hi=$ac_mid; break
16314 else
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.$ac_ext >&5
16317
16318 ac_lo=`expr $ac_mid + 1`
16319 if test $ac_lo -le $ac_mid; then
16320 ac_lo= ac_hi=
16321 break
16322 fi
16323 ac_mid=`expr 2 '*' $ac_mid + 1`
16324 fi
16325 rm -f conftest.$ac_objext conftest.$ac_ext
16326 done
16327 else
16328 echo "$as_me: failed program was:" >&5
16329 sed 's/^/| /' conftest.$ac_ext >&5
16330
16331 cat >conftest.$ac_ext <<_ACEOF
16332 #line $LINENO "configure"
16333 /* confdefs.h. */
16334 _ACEOF
16335 cat confdefs.h >>conftest.$ac_ext
16336 cat >>conftest.$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16338 $ac_includes_default
16339 int
16340 main ()
16341 {
16342 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16343 test_array [0] = 0
16344
16345 ;
16346 return 0;
16347 }
16348 _ACEOF
16349 rm -f conftest.$ac_objext
16350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16351 (eval $ac_compile) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); } &&
16355 { ac_try='test -s conftest.$ac_objext'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16358 ac_status=$?
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; }; then
16361 ac_hi=-1 ac_mid=-1
16362 while :; do
16363 cat >conftest.$ac_ext <<_ACEOF
16364 #line $LINENO "configure"
16365 /* confdefs.h. */
16366 _ACEOF
16367 cat confdefs.h >>conftest.$ac_ext
16368 cat >>conftest.$ac_ext <<_ACEOF
16369 /* end confdefs.h. */
16370 $ac_includes_default
16371 int
16372 main ()
16373 {
16374 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16375 test_array [0] = 0
16376
16377 ;
16378 return 0;
16379 }
16380 _ACEOF
16381 rm -f conftest.$ac_objext
16382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16383 (eval $ac_compile) 2>&5
16384 ac_status=$?
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -s conftest.$ac_objext'
16388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16389 (eval $ac_try) 2>&5
16390 ac_status=$?
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); }; }; then
16393 ac_lo=$ac_mid; break
16394 else
16395 echo "$as_me: failed program was:" >&5
16396 sed 's/^/| /' conftest.$ac_ext >&5
16397
16398 ac_hi=`expr '(' $ac_mid ')' - 1`
16399 if test $ac_mid -le $ac_hi; then
16400 ac_lo= ac_hi=
16401 break
16402 fi
16403 ac_mid=`expr 2 '*' $ac_mid`
16404 fi
16405 rm -f conftest.$ac_objext conftest.$ac_ext
16406 done
16407 else
16408 echo "$as_me: failed program was:" >&5
16409 sed 's/^/| /' conftest.$ac_ext >&5
16410
16411 ac_lo= ac_hi=
16412 fi
16413 rm -f conftest.$ac_objext conftest.$ac_ext
16414 fi
16415 rm -f conftest.$ac_objext conftest.$ac_ext
16416 # Binary search between lo and hi bounds.
16417 while test "x$ac_lo" != "x$ac_hi"; do
16418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16419 cat >conftest.$ac_ext <<_ACEOF
16420 #line $LINENO "configure"
16421 /* confdefs.h. */
16422 _ACEOF
16423 cat confdefs.h >>conftest.$ac_ext
16424 cat >>conftest.$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426 $ac_includes_default
16427 int
16428 main ()
16429 {
16430 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16431 test_array [0] = 0
16432
16433 ;
16434 return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest.$ac_objext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16439 (eval $ac_compile) 2>&5
16440 ac_status=$?
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } &&
16443 { ac_try='test -s conftest.$ac_objext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16446 ac_status=$?
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16449 ac_hi=$ac_mid
16450 else
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16453
16454 ac_lo=`expr '(' $ac_mid ')' + 1`
16455 fi
16456 rm -f conftest.$ac_objext conftest.$ac_ext
16457 done
16458 case $ac_lo in
16459 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16460 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16461 See \`config.log' for more details." >&5
16462 echo "$as_me: error: cannot compute sizeof (long long), 77
16463 See \`config.log' for more details." >&2;}
16464 { (exit 1); exit 1; }; } ;;
16465 esac
16466 else
16467 if test "$cross_compiling" = yes; then
16468 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16469 See \`config.log' for more details." >&5
16470 echo "$as_me: error: cannot run test program while cross compiling
16471 See \`config.log' for more details." >&2;}
16472 { (exit 1); exit 1; }; }
16473 else
16474 cat >conftest.$ac_ext <<_ACEOF
16475 #line $LINENO "configure"
16476 /* confdefs.h. */
16477 _ACEOF
16478 cat confdefs.h >>conftest.$ac_ext
16479 cat >>conftest.$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16481 $ac_includes_default
16482 long longval () { return (long) (sizeof (long long)); }
16483 unsigned long ulongval () { return (long) (sizeof (long long)); }
16484 #include <stdio.h>
16485 #include <stdlib.h>
16486 int
16487 main ()
16488 {
16489
16490 FILE *f = fopen ("conftest.val", "w");
16491 if (! f)
16492 exit (1);
16493 if (((long) (sizeof (long long))) < 0)
16494 {
16495 long i = longval ();
16496 if (i != ((long) (sizeof (long long))))
16497 exit (1);
16498 fprintf (f, "%ld\n", i);
16499 }
16500 else
16501 {
16502 unsigned long i = ulongval ();
16503 if (i != ((long) (sizeof (long long))))
16504 exit (1);
16505 fprintf (f, "%lu\n", i);
16506 }
16507 exit (ferror (f) || fclose (f) != 0);
16508
16509 ;
16510 return 0;
16511 }
16512 _ACEOF
16513 rm -f conftest$ac_exeext
16514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16515 (eval $ac_link) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16520 (eval $ac_try) 2>&5
16521 ac_status=$?
16522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16523 (exit $ac_status); }; }; then
16524 ac_cv_sizeof_long_long=`cat conftest.val`
16525 else
16526 echo "$as_me: program exited with status $ac_status" >&5
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16529
16530 ( exit $ac_status )
16531 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16532 See \`config.log' for more details." >&5
16533 echo "$as_me: error: cannot compute sizeof (long long), 77
16534 See \`config.log' for more details." >&2;}
16535 { (exit 1); exit 1; }; }
16536 fi
16537 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16538 fi
16539 fi
16540 rm -f conftest.val
16541 else
16542 ac_cv_sizeof_long_long=0
16543 fi
16544 fi
16545 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16546 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16547 cat >>confdefs.h <<_ACEOF
16548 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16549 _ACEOF
16550
16551
16552 esac
16553
16554 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16555 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16556 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 else
16559
16560 if test "$cross_compiling" = yes; then
16561
16562 case "${host}" in
16563 *-pc-msdosdjgpp )
16564 wx_cv_sizeof_wchar_t=0
16565 ;;
16566 * )
16567 wx_cv_sizeof_wchar_t=4
16568 ;;
16569 esac
16570
16571
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
16581 /* DJGPP only has fake wchar_t: */
16582 #ifdef __DJGPP__
16583 # error "fake wchar_t"
16584 #endif
16585 #ifdef HAVE_WCHAR_H
16586 # ifdef __CYGWIN__
16587 # include <stddef.h>
16588 # endif
16589 # include <wchar.h>
16590 #endif
16591 #ifdef HAVE_STDLIB_H
16592 # include <stdlib.h>
16593 #endif
16594 #include <stdio.h>
16595 int main()
16596 {
16597 FILE *f=fopen("conftestval", "w");
16598 if (!f) exit(1);
16599 fprintf(f, "%i", sizeof(wchar_t));
16600 exit(0);
16601 }
16602
16603 _ACEOF
16604 rm -f conftest$ac_exeext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16606 (eval $ac_link) 2>&5
16607 ac_status=$?
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; }; then
16615 wx_cv_sizeof_wchar_t=`cat conftestval`
16616 else
16617 echo "$as_me: program exited with status $ac_status" >&5
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16620
16621 ( exit $ac_status )
16622 wx_cv_sizeof_wchar_t=0
16623 fi
16624 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16625 fi
16626
16627 fi
16628 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16629 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16630
16631 cat >>confdefs.h <<_ACEOF
16632 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16633 _ACEOF
16634
16635
16636 # Check whether --enable-largefile or --disable-largefile was given.
16637 if test "${enable_largefile+set}" = set; then
16638 enableval="$enable_largefile"
16639
16640 fi;
16641 if test "$enable_largefile" != no; then
16642 wx_largefile=no
16643
16644 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16645 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16646 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16648 else
16649
16650 cat >conftest.$ac_ext <<_ACEOF
16651 #line $LINENO "configure"
16652 /* confdefs.h. */
16653 _ACEOF
16654 cat confdefs.h >>conftest.$ac_ext
16655 cat >>conftest.$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #define _FILE_OFFSET_BITS 64
16658 #include <sys/types.h>
16659 int
16660 main ()
16661 {
16662 typedef struct {
16663 unsigned int field: sizeof(off_t) == 8;
16664 } wxlf;
16665
16666 ;
16667 return 0;
16668 }
16669 _ACEOF
16670 rm -f conftest.$ac_objext
16671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16672 (eval $ac_compile) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } &&
16676 { ac_try='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16679 ac_status=$?
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16682 ac_cv_sys_file_offset_bits=64
16683 else
16684 echo "$as_me: failed program was:" >&5
16685 sed 's/^/| /' conftest.$ac_ext >&5
16686
16687 ac_cv_sys_file_offset_bits=no
16688 fi
16689 rm -f conftest.$ac_objext conftest.$ac_ext
16690
16691
16692 fi
16693 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16694 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16695
16696 if test "$ac_cv_sys_file_offset_bits" != no; then
16697 wx_largefile=yes
16698 cat >>confdefs.h <<_ACEOF
16699 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16700 _ACEOF
16701
16702 fi
16703
16704 if test "x$wx_largefile" != "xyes"; then
16705
16706 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16707 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16708 if test "${ac_cv_sys_large_files+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 else
16711
16712 cat >conftest.$ac_ext <<_ACEOF
16713 #line $LINENO "configure"
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719 #define _LARGE_FILES 1
16720 #include <sys/types.h>
16721 int
16722 main ()
16723 {
16724 typedef struct {
16725 unsigned int field: sizeof(off_t) == 8;
16726 } wxlf;
16727
16728 ;
16729 return 0;
16730 }
16731 _ACEOF
16732 rm -f conftest.$ac_objext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16734 (eval $ac_compile) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } &&
16738 { ac_try='test -s conftest.$ac_objext'
16739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740 (eval $ac_try) 2>&5
16741 ac_status=$?
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); }; }; then
16744 ac_cv_sys_large_files=1
16745 else
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16748
16749 ac_cv_sys_large_files=no
16750 fi
16751 rm -f conftest.$ac_objext conftest.$ac_ext
16752
16753
16754 fi
16755 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16756 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16757
16758 if test "$ac_cv_sys_large_files" != no; then
16759 wx_largefile=yes
16760 cat >>confdefs.h <<_ACEOF
16761 #define _LARGE_FILES $ac_cv_sys_large_files
16762 _ACEOF
16763
16764 fi
16765
16766 fi
16767
16768 echo "$as_me:$LINENO: checking if large file support is available" >&5
16769 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16770 if test "x$wx_largefile" = "xyes"; then
16771 cat >>confdefs.h <<\_ACEOF
16772 #define HAVE_LARGEFILE_SUPPORT 1
16773 _ACEOF
16774
16775 fi
16776 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16777 echo "${ECHO_T}$wx_largefile" >&6
16778 fi
16779
16780
16781 if test "x$wx_largefile" = "xyes"; then
16782 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16783 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16784 else
16785 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16786 fi
16787 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16788 fi
16789
16790 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16791 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16792 if test "${ac_cv_c_bigendian+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 else
16795 ac_cv_c_bigendian=unknown
16796 # See if sys/param.h defines the BYTE_ORDER macro.
16797 cat >conftest.$ac_ext <<_ACEOF
16798 #line $LINENO "configure"
16799 /* confdefs.h. */
16800 _ACEOF
16801 cat confdefs.h >>conftest.$ac_ext
16802 cat >>conftest.$ac_ext <<_ACEOF
16803 /* end confdefs.h. */
16804 #include <sys/types.h>
16805 #include <sys/param.h>
16806 int
16807 main ()
16808 {
16809
16810 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16811 bogus endian macros
16812 #endif
16813 ;
16814 return 0;
16815 }
16816 _ACEOF
16817 rm -f conftest.$ac_objext
16818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16819 (eval $ac_compile) 2>&5
16820 ac_status=$?
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); } &&
16823 { ac_try='test -s conftest.$ac_objext'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16826 ac_status=$?
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; }; then
16829 # It does; now see whether it defined to BIG_ENDIAN or not.
16830 cat >conftest.$ac_ext <<_ACEOF
16831 #line $LINENO "configure"
16832 /* confdefs.h. */
16833 _ACEOF
16834 cat confdefs.h >>conftest.$ac_ext
16835 cat >>conftest.$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837 #include <sys/types.h>
16838 #include <sys/param.h>
16839 int
16840 main ()
16841 {
16842
16843 #if BYTE_ORDER != BIG_ENDIAN
16844 not big endian
16845 #endif
16846 ;
16847 return 0;
16848 }
16849 _ACEOF
16850 rm -f conftest.$ac_objext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16852 (eval $ac_compile) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } &&
16856 { ac_try='test -s conftest.$ac_objext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16859 ac_status=$?
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_cv_c_bigendian=yes
16863 else
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16866
16867 ac_cv_c_bigendian=no
16868 fi
16869 rm -f conftest.$ac_objext conftest.$ac_ext
16870 else
16871 echo "$as_me: failed program was:" >&5
16872 sed 's/^/| /' conftest.$ac_ext >&5
16873
16874 fi
16875 rm -f conftest.$ac_objext conftest.$ac_ext
16876 if test $ac_cv_c_bigendian = unknown; then
16877 if test "$cross_compiling" = yes; then
16878 ac_cv_c_bigendian=unknown
16879 else
16880 cat >conftest.$ac_ext <<_ACEOF
16881 #line $LINENO "configure"
16882 /* confdefs.h. */
16883 _ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 main () {
16888 /* Are we little or big endian? From Harbison&Steele. */
16889 union
16890 {
16891 long l;
16892 char c[sizeof (long)];
16893 } u;
16894 u.l = 1;
16895 exit (u.c[sizeof (long) - 1] == 1);
16896 }
16897 _ACEOF
16898 rm -f conftest$ac_exeext
16899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16900 (eval $ac_link) 2>&5
16901 ac_status=$?
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16905 (eval $ac_try) 2>&5
16906 ac_status=$?
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); }; }; then
16909 ac_cv_c_bigendian=no
16910 else
16911 echo "$as_me: program exited with status $ac_status" >&5
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16914
16915 ( exit $ac_status )
16916 ac_cv_c_bigendian=yes
16917 fi
16918 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16919 fi
16920 fi
16921 fi
16922 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16923 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16924 if test $ac_cv_c_bigendian = unknown; then
16925 { 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
16926 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;}
16927 fi
16928 if test $ac_cv_c_bigendian = yes; then
16929 cat >>confdefs.h <<\_ACEOF
16930 #define WORDS_BIGENDIAN 1
16931 _ACEOF
16932
16933 fi
16934
16935
16936
16937 ac_ext=cc
16938 ac_cpp='$CXXCPP $CPPFLAGS'
16939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16942 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16943 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16944 if test -z "$CXXCPP"; then
16945 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 else
16948 # Double quotes because CXXCPP needs to be expanded
16949 for CXXCPP in "$CXX -E" "/lib/cpp"
16950 do
16951 ac_preproc_ok=false
16952 for ac_cxx_preproc_warn_flag in '' yes
16953 do
16954 # Use a header file that comes with gcc, so configuring glibc
16955 # with a fresh cross-compiler works.
16956 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16957 # <limits.h> exists even on freestanding compilers.
16958 # On the NeXT, cc -E runs the code through the compiler's parser,
16959 # not just through cpp. "Syntax error" is here to catch this case.
16960 cat >conftest.$ac_ext <<_ACEOF
16961 #line $LINENO "configure"
16962 /* confdefs.h. */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967 #ifdef __STDC__
16968 # include <limits.h>
16969 #else
16970 # include <assert.h>
16971 #endif
16972 Syntax error
16973 _ACEOF
16974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } >/dev/null; then
16982 if test -s conftest.err; then
16983 ac_cpp_err=$ac_cxx_preproc_warn_flag
16984 else
16985 ac_cpp_err=
16986 fi
16987 else
16988 ac_cpp_err=yes
16989 fi
16990 if test -z "$ac_cpp_err"; then
16991 :
16992 else
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.$ac_ext >&5
16995
16996 # Broken: fails on valid input.
16997 continue
16998 fi
16999 rm -f conftest.err conftest.$ac_ext
17000
17001 # OK, works on sane cases. Now check whether non-existent headers
17002 # can be detected and how.
17003 cat >conftest.$ac_ext <<_ACEOF
17004 #line $LINENO "configure"
17005 /* confdefs.h. */
17006 _ACEOF
17007 cat confdefs.h >>conftest.$ac_ext
17008 cat >>conftest.$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17010 #include <ac_nonexistent.h>
17011 _ACEOF
17012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17014 ac_status=$?
17015 grep -v '^ *+' conftest.er1 >conftest.err
17016 rm -f conftest.er1
17017 cat conftest.err >&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); } >/dev/null; then
17020 if test -s conftest.err; then
17021 ac_cpp_err=$ac_cxx_preproc_warn_flag
17022 else
17023 ac_cpp_err=
17024 fi
17025 else
17026 ac_cpp_err=yes
17027 fi
17028 if test -z "$ac_cpp_err"; then
17029 # Broken: success on invalid input.
17030 continue
17031 else
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.$ac_ext >&5
17034
17035 # Passes both tests.
17036 ac_preproc_ok=:
17037 break
17038 fi
17039 rm -f conftest.err conftest.$ac_ext
17040
17041 done
17042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17043 rm -f conftest.err conftest.$ac_ext
17044 if $ac_preproc_ok; then
17045 break
17046 fi
17047
17048 done
17049 ac_cv_prog_CXXCPP=$CXXCPP
17050
17051 fi
17052 CXXCPP=$ac_cv_prog_CXXCPP
17053 else
17054 ac_cv_prog_CXXCPP=$CXXCPP
17055 fi
17056 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17057 echo "${ECHO_T}$CXXCPP" >&6
17058 ac_preproc_ok=false
17059 for ac_cxx_preproc_warn_flag in '' yes
17060 do
17061 # Use a header file that comes with gcc, so configuring glibc
17062 # with a fresh cross-compiler works.
17063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17064 # <limits.h> exists even on freestanding compilers.
17065 # On the NeXT, cc -E runs the code through the compiler's parser,
17066 # not just through cpp. "Syntax error" is here to catch this case.
17067 cat >conftest.$ac_ext <<_ACEOF
17068 #line $LINENO "configure"
17069 /* confdefs.h. */
17070 _ACEOF
17071 cat confdefs.h >>conftest.$ac_ext
17072 cat >>conftest.$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 #ifdef __STDC__
17075 # include <limits.h>
17076 #else
17077 # include <assert.h>
17078 #endif
17079 Syntax error
17080 _ACEOF
17081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17083 ac_status=$?
17084 grep -v '^ *+' conftest.er1 >conftest.err
17085 rm -f conftest.er1
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } >/dev/null; then
17089 if test -s conftest.err; then
17090 ac_cpp_err=$ac_cxx_preproc_warn_flag
17091 else
17092 ac_cpp_err=
17093 fi
17094 else
17095 ac_cpp_err=yes
17096 fi
17097 if test -z "$ac_cpp_err"; then
17098 :
17099 else
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17102
17103 # Broken: fails on valid input.
17104 continue
17105 fi
17106 rm -f conftest.err conftest.$ac_ext
17107
17108 # OK, works on sane cases. Now check whether non-existent headers
17109 # can be detected and how.
17110 cat >conftest.$ac_ext <<_ACEOF
17111 #line $LINENO "configure"
17112 /* confdefs.h. */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include <ac_nonexistent.h>
17118 _ACEOF
17119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev/null; then
17127 if test -s conftest.err; then
17128 ac_cpp_err=$ac_cxx_preproc_warn_flag
17129 else
17130 ac_cpp_err=
17131 fi
17132 else
17133 ac_cpp_err=yes
17134 fi
17135 if test -z "$ac_cpp_err"; then
17136 # Broken: success on invalid input.
17137 continue
17138 else
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 # Passes both tests.
17143 ac_preproc_ok=:
17144 break
17145 fi
17146 rm -f conftest.err conftest.$ac_ext
17147
17148 done
17149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17150 rm -f conftest.err conftest.$ac_ext
17151 if $ac_preproc_ok; then
17152 :
17153 else
17154 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17155 See \`config.log' for more details." >&5
17156 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17157 See \`config.log' for more details." >&2;}
17158 { (exit 1); exit 1; }; }
17159 fi
17160
17161 ac_ext=cc
17162 ac_cpp='$CXXCPP $CPPFLAGS'
17163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17166
17167
17168
17169 if test "$cross_compiling" = "yes"; then
17170 cat >>confdefs.h <<\_ACEOF
17171 #define wxUSE_IOSTREAMH 1
17172 _ACEOF
17173
17174 else
17175
17176
17177 ac_ext=cc
17178 ac_cpp='$CXXCPP $CPPFLAGS'
17179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17182
17183
17184
17185 for ac_header in iostream
17186 do
17187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17189 echo "$as_me:$LINENO: checking for $ac_header" >&5
17190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 fi
17194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17196 else
17197 # Is the header compilable?
17198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17200 cat >conftest.$ac_ext <<_ACEOF
17201 #line $LINENO "configure"
17202 /* confdefs.h. */
17203 _ACEOF
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17207 $ac_includes_default
17208 #include <$ac_header>
17209 _ACEOF
17210 rm -f conftest.$ac_objext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17212 (eval $ac_compile) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -s conftest.$ac_objext'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17219 ac_status=$?
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; }; then
17222 ac_header_compiler=yes
17223 else
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17226
17227 ac_header_compiler=no
17228 fi
17229 rm -f conftest.$ac_objext conftest.$ac_ext
17230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17231 echo "${ECHO_T}$ac_header_compiler" >&6
17232
17233 # Is the header present?
17234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17236 cat >conftest.$ac_ext <<_ACEOF
17237 #line $LINENO "configure"
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 #include <$ac_header>
17244 _ACEOF
17245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17247 ac_status=$?
17248 grep -v '^ *+' conftest.er1 >conftest.err
17249 rm -f conftest.er1
17250 cat conftest.err >&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } >/dev/null; then
17253 if test -s conftest.err; then
17254 ac_cpp_err=$ac_cxx_preproc_warn_flag
17255 else
17256 ac_cpp_err=
17257 fi
17258 else
17259 ac_cpp_err=yes
17260 fi
17261 if test -z "$ac_cpp_err"; then
17262 ac_header_preproc=yes
17263 else
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17266
17267 ac_header_preproc=no
17268 fi
17269 rm -f conftest.err conftest.$ac_ext
17270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17271 echo "${ECHO_T}$ac_header_preproc" >&6
17272
17273 # So? What about this header?
17274 case $ac_header_compiler:$ac_header_preproc in
17275 yes:no )
17276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17280 (
17281 cat <<\_ASBOX
17282 ## ------------------------------------ ##
17283 ## Report this to bug-autoconf@gnu.org. ##
17284 ## ------------------------------------ ##
17285 _ASBOX
17286 ) |
17287 sed "s/^/$as_me: WARNING: /" >&2
17288 ;;
17289 no:yes )
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17296 (
17297 cat <<\_ASBOX
17298 ## ------------------------------------ ##
17299 ## Report this to bug-autoconf@gnu.org. ##
17300 ## ------------------------------------ ##
17301 _ASBOX
17302 ) |
17303 sed "s/^/$as_me: WARNING: /" >&2
17304 ;;
17305 esac
17306 echo "$as_me:$LINENO: checking for $ac_header" >&5
17307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17309 echo $ECHO_N "(cached) $ECHO_C" >&6
17310 else
17311 eval "$as_ac_Header=$ac_header_preproc"
17312 fi
17313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17315
17316 fi
17317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17318 cat >>confdefs.h <<_ACEOF
17319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17320 _ACEOF
17321
17322 fi
17323
17324 done
17325
17326
17327 if test "$ac_cv_header_iostream" = "yes" ; then
17328 :
17329 else
17330 cat >>confdefs.h <<\_ACEOF
17331 #define wxUSE_IOSTREAMH 1
17332 _ACEOF
17333
17334 fi
17335
17336 ac_ext=c
17337 ac_cpp='$CPP $CPPFLAGS'
17338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17341
17342 fi
17343
17344
17345
17346 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17347 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17348 if test "${wx_cv_cpp_bool+set}" = set; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 else
17351
17352
17353
17354 ac_ext=cc
17355 ac_cpp='$CXXCPP $CPPFLAGS'
17356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17359
17360
17361 cat >conftest.$ac_ext <<_ACEOF
17362 #line $LINENO "configure"
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368
17369
17370 int
17371 main ()
17372 {
17373
17374 bool b = true;
17375
17376 return 0;
17377
17378 ;
17379 return 0;
17380 }
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>&5
17385 ac_status=$?
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); } &&
17388 { ac_try='test -s conftest.$ac_objext'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; }; then
17394
17395 wx_cv_cpp_bool=yes
17396
17397 else
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.$ac_ext >&5
17400
17401
17402 wx_cv_cpp_bool=no
17403
17404
17405 fi
17406 rm -f conftest.$ac_objext conftest.$ac_ext
17407
17408 ac_ext=c
17409 ac_cpp='$CPP $CPPFLAGS'
17410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17413
17414
17415 fi
17416 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17417 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17418
17419 if test "$wx_cv_cpp_bool" = "yes"; then
17420 cat >>confdefs.h <<\_ACEOF
17421 #define HAVE_BOOL 1
17422 _ACEOF
17423
17424 fi
17425
17426
17427
17428 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17429 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17430 if test "${wx_cv_explicit+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 else
17433
17434
17435
17436 ac_ext=cc
17437 ac_cpp='$CXXCPP $CPPFLAGS'
17438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17441
17442
17443 cat >conftest.$ac_ext <<_ACEOF
17444 #line $LINENO "configure"
17445 /* confdefs.h. */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450
17451 class Foo { public: explicit Foo(int) {} };
17452
17453 int
17454 main ()
17455 {
17456
17457 return 0;
17458
17459 ;
17460 return 0;
17461 }
17462 _ACEOF
17463 rm -f conftest.$ac_objext
17464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17465 (eval $ac_compile) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try='test -s conftest.$ac_objext'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17472 ac_status=$?
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; }; then
17475
17476 cat >conftest.$ac_ext <<_ACEOF
17477 #line $LINENO "configure"
17478 /* confdefs.h. */
17479 _ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17483
17484 class Foo { public: explicit Foo(int) {} };
17485 static void TakeFoo(const Foo& foo) { }
17486
17487 int
17488 main ()
17489 {
17490
17491 TakeFoo(17);
17492 return 0;
17493
17494 ;
17495 return 0;
17496 }
17497 _ACEOF
17498 rm -f conftest.$ac_objext
17499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17500 (eval $ac_compile) 2>&5
17501 ac_status=$?
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } &&
17504 { ac_try='test -s conftest.$ac_objext'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17510 wx_cv_explicit=no
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17514
17515 wx_cv_explicit=yes
17516
17517 fi
17518 rm -f conftest.$ac_objext conftest.$ac_ext
17519
17520 else
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17523
17524 wx_cv_explicit=no
17525
17526 fi
17527 rm -f conftest.$ac_objext conftest.$ac_ext
17528
17529 ac_ext=c
17530 ac_cpp='$CPP $CPPFLAGS'
17531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17534
17535
17536 fi
17537 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17538 echo "${ECHO_T}$wx_cv_explicit" >&6
17539
17540 if test "$wx_cv_explicit" = "yes"; then
17541 cat >>confdefs.h <<\_ACEOF
17542 #define HAVE_EXPLICIT 1
17543 _ACEOF
17544
17545 fi
17546
17547
17548 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17549 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17550 if test "${ac_cv_cxx_const_cast+set}" = set; then
17551 echo $ECHO_N "(cached) $ECHO_C" >&6
17552 else
17553
17554
17555 ac_ext=cc
17556 ac_cpp='$CXXCPP $CPPFLAGS'
17557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17560
17561 cat >conftest.$ac_ext <<_ACEOF
17562 #line $LINENO "configure"
17563 /* confdefs.h. */
17564 _ACEOF
17565 cat confdefs.h >>conftest.$ac_ext
17566 cat >>conftest.$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17568
17569 int
17570 main ()
17571 {
17572 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17573 ;
17574 return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } &&
17583 { ac_try='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17586 ac_status=$?
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17589 ac_cv_cxx_const_cast=yes
17590 else
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17593
17594 ac_cv_cxx_const_cast=no
17595 fi
17596 rm -f conftest.$ac_objext conftest.$ac_ext
17597 ac_ext=c
17598 ac_cpp='$CPP $CPPFLAGS'
17599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17602
17603
17604 fi
17605 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17606 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17607 if test "$ac_cv_cxx_const_cast" = yes; then
17608
17609 cat >>confdefs.h <<\_ACEOF
17610 #define HAVE_CONST_CAST
17611 _ACEOF
17612
17613 fi
17614
17615
17616 if test "$wxUSE_STL" = "yes"; then
17617 ac_ext=cc
17618 ac_cpp='$CXXCPP $CPPFLAGS'
17619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17622
17623
17624 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17625 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17626 cat >conftest.$ac_ext <<_ACEOF
17627 #line $LINENO "configure"
17628 /* confdefs.h. */
17629 _ACEOF
17630 cat confdefs.h >>conftest.$ac_ext
17631 cat >>conftest.$ac_ext <<_ACEOF
17632 /* end confdefs.h. */
17633 #include <string>
17634 #include <functional>
17635 #include <algorithm>
17636 #include <vector>
17637 #include <list>
17638 int
17639 main ()
17640 {
17641 std::vector<int> moo;
17642 std::list<int> foo;
17643 std::vector<int>::iterator it =
17644 std::find_if(moo.begin(), moo.end(),
17645 std::bind2nd(std::less<int>(), 3));
17646 ;
17647 return 0;
17648 }
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>&5
17653 ac_status=$?
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); } &&
17656 { ac_try='test -s conftest.$ac_objext'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17659 ac_status=$?
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; }; then
17662 echo "$as_me:$LINENO: result: yes" >&5
17663 echo "${ECHO_T}yes" >&6
17664 else
17665 echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17667
17668 echo "$as_me:$LINENO: result: no" >&5
17669 echo "${ECHO_T}no" >&6
17670 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17671 echo "$as_me: error: Basic STL functionality missing" >&2;}
17672 { (exit 1); exit 1; }; }
17673 fi
17674 rm -f conftest.$ac_objext conftest.$ac_ext
17675
17676 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17677 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17678 cat >conftest.$ac_ext <<_ACEOF
17679 #line $LINENO "configure"
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 #include <string>
17686 int
17687 main ()
17688 {
17689 std::wstring foo;
17690 ;
17691 return 0;
17692 }
17693 _ACEOF
17694 rm -f conftest.$ac_objext
17695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17696 (eval $ac_compile) 2>&5
17697 ac_status=$?
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); } &&
17700 { ac_try='test -s conftest.$ac_objext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17703 ac_status=$?
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17706 echo "$as_me:$LINENO: result: yes" >&5
17707 echo "${ECHO_T}yes" >&6
17708 cat >>confdefs.h <<\_ACEOF
17709 #define HAVE_STD_WSTRING 1
17710 _ACEOF
17711
17712 else
17713 echo "$as_me: failed program was:" >&5
17714 sed 's/^/| /' conftest.$ac_ext >&5
17715
17716 echo "$as_me:$LINENO: result: no" >&5
17717 echo "${ECHO_T}no" >&6
17718 fi
17719 rm -f conftest.$ac_objext conftest.$ac_ext
17720
17721 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17722 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17723 cat >conftest.$ac_ext <<_ACEOF
17724 #line $LINENO "configure"
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 #include <string>
17731 int
17732 main ()
17733 {
17734 std::string foo, bar;
17735 foo.compare(bar);
17736 foo.compare(1, 1, bar);
17737 foo.compare(1, 1, bar, 1, 1);
17738 foo.compare("");
17739 foo.compare(1, 1, "");
17740 foo.compare(1, 1, "", 2);
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 echo "$as_me:$LINENO: result: yes" >&5
17758 echo "${ECHO_T}yes" >&6
17759 cat >>confdefs.h <<\_ACEOF
17760 #define HAVE_STD_STRING_COMPARE 1
17761 _ACEOF
17762
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 fi
17770 rm -f conftest.$ac_objext conftest.$ac_ext
17771
17772 ac_ext=c
17773 ac_cpp='$CPP $CPPFLAGS'
17774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777
17778 fi
17779
17780
17781 SEARCH_INCLUDE="\
17782 /usr/local/include \
17783 \
17784 /usr/Motif-1.2/include \
17785 /usr/Motif-2.1/include \
17786 \
17787 /usr/include/Motif1.2 \
17788 /opt/xpm/include/X11 \
17789 /opt/GBxpm/include/ \
17790 /opt/GBxpm/X11/include/ \
17791 \
17792 /usr/Motif1.2/include \
17793 /usr/dt/include \
17794 /usr/openwin/include \
17795 \
17796 /usr/include/Xm \
17797 \
17798 /usr/X11R6/include \
17799 /usr/X11R6.4/include \
17800 /usr/X11R5/include \
17801 /usr/X11R4/include \
17802 \
17803 /usr/include/X11R6 \
17804 /usr/include/X11R5 \
17805 /usr/include/X11R4 \
17806 \
17807 /usr/local/X11R6/include \
17808 /usr/local/X11R5/include \
17809 /usr/local/X11R4/include \
17810 \
17811 /usr/local/include/X11R6 \
17812 /usr/local/include/X11R5 \
17813 /usr/local/include/X11R4 \
17814 \
17815 /usr/X11/include \
17816 /usr/include/X11 \
17817 /usr/local/X11/include \
17818 /usr/local/include/X11 \
17819 \
17820 /usr/X386/include \
17821 /usr/x386/include \
17822 /usr/XFree86/include/X11 \
17823 \
17824 X:/XFree86/include \
17825 X:/XFree86/include/X11 \
17826 \
17827 /usr/include/gtk \
17828 /usr/local/include/gtk \
17829 /usr/include/glib \
17830 /usr/local/include/glib \
17831 \
17832 /usr/include/qt \
17833 /usr/local/include/qt \
17834 \
17835 /usr/include/windows \
17836 /usr/include/wine \
17837 /usr/local/include/wine \
17838 \
17839 /usr/unsupported/include \
17840 /usr/athena/include \
17841 /usr/local/x11r5/include \
17842 /usr/lpp/Xamples/include \
17843 \
17844 /usr/openwin/share/include"
17845
17846 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17847
17848
17849 cat >confcache <<\_ACEOF
17850 # This file is a shell script that caches the results of configure
17851 # tests run on this system so they can be shared between configure
17852 # scripts and configure runs, see configure's option --config-cache.
17853 # It is not useful on other systems. If it contains results you don't
17854 # want to keep, you may remove or edit it.
17855 #
17856 # config.status only pays attention to the cache file if you give it
17857 # the --recheck option to rerun configure.
17858 #
17859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17861 # following values.
17862
17863 _ACEOF
17864
17865 # The following way of writing the cache mishandles newlines in values,
17866 # but we know of no workaround that is simple, portable, and efficient.
17867 # So, don't put newlines in cache variables' values.
17868 # Ultrix sh set writes to stderr and can't be redirected directly,
17869 # and sets the high bit in the cache file unless we assign to the vars.
17870 {
17871 (set) 2>&1 |
17872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17873 *ac_space=\ *)
17874 # `set' does not quote correctly, so add quotes (double-quote
17875 # substitution turns \\\\ into \\, and sed turns \\ into \).
17876 sed -n \
17877 "s/'/'\\\\''/g;
17878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17879 ;;
17880 *)
17881 # `set' quotes correctly as required by POSIX, so do not add quotes.
17882 sed -n \
17883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17884 ;;
17885 esac;
17886 } |
17887 sed '
17888 t clear
17889 : clear
17890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17891 t end
17892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17893 : end' >>confcache
17894 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17895 if test -w $cache_file; then
17896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17897 cat confcache >$cache_file
17898 else
17899 echo "not updating unwritable cache $cache_file"
17900 fi
17901 fi
17902 rm -f confcache
17903
17904 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17905 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17906 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17907 if test "${wx_cv_lib_glibc21+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17909 else
17910
17911 cat >conftest.$ac_ext <<_ACEOF
17912 #line $LINENO "configure"
17913 /* confdefs.h. */
17914 _ACEOF
17915 cat confdefs.h >>conftest.$ac_ext
17916 cat >>conftest.$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17918 #include <features.h>
17919 int
17920 main ()
17921 {
17922
17923 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17924 #error not glibc2.1
17925 #endif
17926
17927 ;
17928 return 0;
17929 }
17930 _ACEOF
17931 rm -f conftest.$ac_objext
17932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17933 (eval $ac_compile) 2>&5
17934 ac_status=$?
17935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17936 (exit $ac_status); } &&
17937 { ac_try='test -s conftest.$ac_objext'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17940 ac_status=$?
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; }; then
17943
17944 wx_cv_lib_glibc21=yes
17945
17946 else
17947 echo "$as_me: failed program was:" >&5
17948 sed 's/^/| /' conftest.$ac_ext >&5
17949
17950
17951 wx_cv_lib_glibc21=no
17952
17953
17954 fi
17955 rm -f conftest.$ac_objext conftest.$ac_ext
17956
17957 fi
17958 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17959 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17960 if test "$wx_cv_lib_glibc21" = "yes"; then
17961 cat >>confdefs.h <<\_ACEOF
17962 #define wxHAVE_GLIBC2 1
17963 _ACEOF
17964
17965 fi
17966 fi
17967
17968 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17969 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17970 cat >>confdefs.h <<\_ACEOF
17971 #define _GNU_SOURCE 1
17972 _ACEOF
17973
17974 fi
17975 fi
17976
17977
17978
17979 REGEX_INCLUDE=
17980 if test "$wxUSE_REGEX" != "no"; then
17981 cat >>confdefs.h <<\_ACEOF
17982 #define wxUSE_REGEX 1
17983 _ACEOF
17984
17985
17986 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17987 if test "${ac_cv_header_regex_h+set}" = set; then
17988 echo "$as_me:$LINENO: checking for regex.h" >&5
17989 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17990 if test "${ac_cv_header_regex_h+set}" = set; then
17991 echo $ECHO_N "(cached) $ECHO_C" >&6
17992 fi
17993 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17994 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17995 else
17996 # Is the header compilable?
17997 echo "$as_me:$LINENO: checking regex.h usability" >&5
17998 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17999 cat >conftest.$ac_ext <<_ACEOF
18000 #line $LINENO "configure"
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18007 #include <regex.h>
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>&5
18012 ac_status=$?
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try='test -s conftest.$ac_objext'
18016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18017 (eval $ac_try) 2>&5
18018 ac_status=$?
18019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18020 (exit $ac_status); }; }; then
18021 ac_header_compiler=yes
18022 else
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.$ac_ext >&5
18025
18026 ac_header_compiler=no
18027 fi
18028 rm -f conftest.$ac_objext conftest.$ac_ext
18029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18030 echo "${ECHO_T}$ac_header_compiler" >&6
18031
18032 # Is the header present?
18033 echo "$as_me:$LINENO: checking regex.h presence" >&5
18034 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18035 cat >conftest.$ac_ext <<_ACEOF
18036 #line $LINENO "configure"
18037 /* confdefs.h. */
18038 _ACEOF
18039 cat confdefs.h >>conftest.$ac_ext
18040 cat >>conftest.$ac_ext <<_ACEOF
18041 /* end confdefs.h. */
18042 #include <regex.h>
18043 _ACEOF
18044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18046 ac_status=$?
18047 grep -v '^ *+' conftest.er1 >conftest.err
18048 rm -f conftest.er1
18049 cat conftest.err >&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } >/dev/null; then
18052 if test -s conftest.err; then
18053 ac_cpp_err=$ac_c_preproc_warn_flag
18054 else
18055 ac_cpp_err=
18056 fi
18057 else
18058 ac_cpp_err=yes
18059 fi
18060 if test -z "$ac_cpp_err"; then
18061 ac_header_preproc=yes
18062 else
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18065
18066 ac_header_preproc=no
18067 fi
18068 rm -f conftest.err conftest.$ac_ext
18069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18070 echo "${ECHO_T}$ac_header_preproc" >&6
18071
18072 # So? What about this header?
18073 case $ac_header_compiler:$ac_header_preproc in
18074 yes:no )
18075 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18076 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18077 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18078 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18079 (
18080 cat <<\_ASBOX
18081 ## ------------------------------------ ##
18082 ## Report this to bug-autoconf@gnu.org. ##
18083 ## ------------------------------------ ##
18084 _ASBOX
18085 ) |
18086 sed "s/^/$as_me: WARNING: /" >&2
18087 ;;
18088 no:yes )
18089 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18090 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18091 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18092 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18093 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18094 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18095 (
18096 cat <<\_ASBOX
18097 ## ------------------------------------ ##
18098 ## Report this to bug-autoconf@gnu.org. ##
18099 ## ------------------------------------ ##
18100 _ASBOX
18101 ) |
18102 sed "s/^/$as_me: WARNING: /" >&2
18103 ;;
18104 esac
18105 echo "$as_me:$LINENO: checking for regex.h" >&5
18106 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18107 if test "${ac_cv_header_regex_h+set}" = set; then
18108 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 else
18110 ac_cv_header_regex_h=$ac_header_preproc
18111 fi
18112 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18113 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18114
18115 fi
18116 if test $ac_cv_header_regex_h = yes; then
18117
18118 for ac_func in regcomp
18119 do
18120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18121 echo "$as_me:$LINENO: checking for $ac_func" >&5
18122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18123 if eval "test \"\${$as_ac_var+set}\" = set"; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 cat >conftest.$ac_ext <<_ACEOF
18127 #line $LINENO "configure"
18128 /* confdefs.h. */
18129 _ACEOF
18130 cat confdefs.h >>conftest.$ac_ext
18131 cat >>conftest.$ac_ext <<_ACEOF
18132 /* end confdefs.h. */
18133 /* System header to define __stub macros and hopefully few prototypes,
18134 which can conflict with char $ac_func (); below.
18135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18136 <limits.h> exists even on freestanding compilers. */
18137 #ifdef __STDC__
18138 # include <limits.h>
18139 #else
18140 # include <assert.h>
18141 #endif
18142 /* Override any gcc2 internal prototype to avoid an error. */
18143 #ifdef __cplusplus
18144 extern "C"
18145 {
18146 #endif
18147 /* We use char because int might match the return type of a gcc2
18148 builtin and then its argument prototype would still apply. */
18149 char $ac_func ();
18150 /* The GNU C library defines this for functions which it implements
18151 to always fail with ENOSYS. Some functions are actually named
18152 something starting with __ and the normal name is an alias. */
18153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18154 choke me
18155 #else
18156 char (*f) () = $ac_func;
18157 #endif
18158 #ifdef __cplusplus
18159 }
18160 #endif
18161
18162 int
18163 main ()
18164 {
18165 return f != $ac_func;
18166 ;
18167 return 0;
18168 }
18169 _ACEOF
18170 rm -f conftest.$ac_objext conftest$ac_exeext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18172 (eval $ac_link) 2>&5
18173 ac_status=$?
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -s conftest$ac_exeext'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 eval "$as_ac_var=yes"
18183 else
18184 echo "$as_me: failed program was:" >&5
18185 sed 's/^/| /' conftest.$ac_ext >&5
18186
18187 eval "$as_ac_var=no"
18188 fi
18189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18190 fi
18191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18193 if test `eval echo '${'$as_ac_var'}'` = yes; then
18194 cat >>confdefs.h <<_ACEOF
18195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18196 _ACEOF
18197
18198 fi
18199 done
18200
18201 fi
18202
18203
18204
18205 if test "x$ac_cv_func_regcomp" != "xyes"; then
18206 if test "$wxUSE_REGEX" = "sys" ; then
18207 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18208 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18209 { (exit 1); exit 1; }; }
18210 else
18211 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18212 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18213 wxUSE_REGEX=builtin
18214 fi
18215 else
18216 wxUSE_REGEX=sys
18217 fi
18218 fi
18219
18220 if test "$wxUSE_REGEX" = "builtin" ; then
18221 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18222 fi
18223 fi
18224
18225
18226 ZLIB_INCLUDE=
18227 ZLIB_LINK=
18228 if test "$wxUSE_ZLIB" != "no" ; then
18229 cat >>confdefs.h <<\_ACEOF
18230 #define wxUSE_ZLIB 1
18231 _ACEOF
18232
18233
18234 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18235 if test "$USE_DARWIN" = 1; then
18236 system_zlib_h_ok="yes"
18237 else
18238 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18239 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18240 if test "${ac_cv_header_zlib_h+set}" = set; then
18241 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 else
18243 if test "$cross_compiling" = yes; then
18244 unset ac_cv_header_zlib_h
18245
18246 else
18247 cat >conftest.$ac_ext <<_ACEOF
18248 #line $LINENO "configure"
18249 /* confdefs.h. */
18250 _ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254
18255 #include <zlib.h>
18256 #include <stdio.h>
18257
18258 int main()
18259 {
18260 FILE *f=fopen("conftestval", "w");
18261 if (!f) exit(1);
18262 fprintf(f, "%s",
18263 ZLIB_VERSION[0] == '1' &&
18264 (ZLIB_VERSION[2] > '1' ||
18265 (ZLIB_VERSION[2] == '1' &&
18266 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18267 exit(0);
18268 }
18269
18270 _ACEOF
18271 rm -f conftest$ac_exeext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18273 (eval $ac_link) 2>&5
18274 ac_status=$?
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_cv_header_zlib_h=`cat conftestval`
18283 else
18284 echo "$as_me: program exited with status $ac_status" >&5
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18287
18288 ( exit $ac_status )
18289 ac_cv_header_zlib_h=no
18290 fi
18291 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18292 fi
18293
18294 fi
18295 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18296 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18297 if test "${ac_cv_header_zlib_h+set}" = set; then
18298 echo "$as_me:$LINENO: checking for zlib.h" >&5
18299 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18300 if test "${ac_cv_header_zlib_h+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 fi
18303 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18304 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18305 else
18306 # Is the header compilable?
18307 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18308 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18309 cat >conftest.$ac_ext <<_ACEOF
18310 #line $LINENO "configure"
18311 /* confdefs.h. */
18312 _ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 $ac_includes_default
18317 #include <zlib.h>
18318 _ACEOF
18319 rm -f conftest.$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try='test -s conftest.$ac_objext'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; }; then
18331 ac_header_compiler=yes
18332 else
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18335
18336 ac_header_compiler=no
18337 fi
18338 rm -f conftest.$ac_objext conftest.$ac_ext
18339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18340 echo "${ECHO_T}$ac_header_compiler" >&6
18341
18342 # Is the header present?
18343 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18344 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18345 cat >conftest.$ac_ext <<_ACEOF
18346 #line $LINENO "configure"
18347 /* confdefs.h. */
18348 _ACEOF
18349 cat confdefs.h >>conftest.$ac_ext
18350 cat >>conftest.$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18352 #include <zlib.h>
18353 _ACEOF
18354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18356 ac_status=$?
18357 grep -v '^ *+' conftest.er1 >conftest.err
18358 rm -f conftest.er1
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } >/dev/null; then
18362 if test -s conftest.err; then
18363 ac_cpp_err=$ac_c_preproc_warn_flag
18364 else
18365 ac_cpp_err=
18366 fi
18367 else
18368 ac_cpp_err=yes
18369 fi
18370 if test -z "$ac_cpp_err"; then
18371 ac_header_preproc=yes
18372 else
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18375
18376 ac_header_preproc=no
18377 fi
18378 rm -f conftest.err conftest.$ac_ext
18379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18380 echo "${ECHO_T}$ac_header_preproc" >&6
18381
18382 # So? What about this header?
18383 case $ac_header_compiler:$ac_header_preproc in
18384 yes:no )
18385 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18386 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18387 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18388 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18389 (
18390 cat <<\_ASBOX
18391 ## ------------------------------------ ##
18392 ## Report this to bug-autoconf@gnu.org. ##
18393 ## ------------------------------------ ##
18394 _ASBOX
18395 ) |
18396 sed "s/^/$as_me: WARNING: /" >&2
18397 ;;
18398 no:yes )
18399 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18400 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18401 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18402 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18403 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18404 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18405 (
18406 cat <<\_ASBOX
18407 ## ------------------------------------ ##
18408 ## Report this to bug-autoconf@gnu.org. ##
18409 ## ------------------------------------ ##
18410 _ASBOX
18411 ) |
18412 sed "s/^/$as_me: WARNING: /" >&2
18413 ;;
18414 esac
18415 echo "$as_me:$LINENO: checking for zlib.h" >&5
18416 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18417 if test "${ac_cv_header_zlib_h+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 else
18420 ac_cv_header_zlib_h=$ac_header_preproc
18421 fi
18422 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18423 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18424
18425 fi
18426
18427
18428
18429 system_zlib_h_ok=$ac_cv_header_zlib_h
18430 fi
18431
18432 if test "$system_zlib_h_ok" = "yes"; then
18433 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18434 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18435 if test "${ac_cv_lib_z_deflate+set}" = set; then
18436 echo $ECHO_N "(cached) $ECHO_C" >&6
18437 else
18438 ac_check_lib_save_LIBS=$LIBS
18439 LIBS="-lz $LIBS"
18440 cat >conftest.$ac_ext <<_ACEOF
18441 #line $LINENO "configure"
18442 /* confdefs.h. */
18443 _ACEOF
18444 cat confdefs.h >>conftest.$ac_ext
18445 cat >>conftest.$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18447
18448 /* Override any gcc2 internal prototype to avoid an error. */
18449 #ifdef __cplusplus
18450 extern "C"
18451 #endif
18452 /* We use char because int might match the return type of a gcc2
18453 builtin and then its argument prototype would still apply. */
18454 char deflate ();
18455 int
18456 main ()
18457 {
18458 deflate ();
18459 ;
18460 return 0;
18461 }
18462 _ACEOF
18463 rm -f conftest.$ac_objext conftest$ac_exeext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465 (eval $ac_link) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } &&
18469 { ac_try='test -s conftest$ac_exeext'
18470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18471 (eval $ac_try) 2>&5
18472 ac_status=$?
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); }; }; then
18475 ac_cv_lib_z_deflate=yes
18476 else
18477 echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.$ac_ext >&5
18479
18480 ac_cv_lib_z_deflate=no
18481 fi
18482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18483 LIBS=$ac_check_lib_save_LIBS
18484 fi
18485 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18486 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18487 if test $ac_cv_lib_z_deflate = yes; then
18488 ZLIB_LINK=" -lz"
18489 fi
18490
18491 fi
18492
18493 if test "x$ZLIB_LINK" = "x" ; then
18494 if test "$wxUSE_ZLIB" = "sys" ; then
18495 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18496 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18497 { (exit 1); exit 1; }; }
18498 else
18499 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18500 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18501 wxUSE_ZLIB=builtin
18502 fi
18503 else
18504 wxUSE_ZLIB=sys
18505 fi
18506 fi
18507
18508 if test "$wxUSE_ZLIB" = "builtin" ; then
18509 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18510 fi
18511 fi
18512
18513
18514 PNG_INCLUDE=
18515 PNG_LINK=
18516 if test "$wxUSE_LIBPNG" != "no" ; then
18517 cat >>confdefs.h <<\_ACEOF
18518 #define wxUSE_LIBPNG 1
18519 _ACEOF
18520
18521
18522 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18523 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18524 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18525 wxUSE_LIBPNG=sys
18526 fi
18527
18528 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18529 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18530 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18531 wxUSE_LIBPNG=builtin
18532 fi
18533
18534 if test "$wxUSE_MGL" != 1 ; then
18535 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18536 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18537 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18538 if test "${ac_cv_header_png_h+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 if test "$cross_compiling" = yes; then
18542 unset ac_cv_header_png_h
18543
18544 else
18545 cat >conftest.$ac_ext <<_ACEOF
18546 #line $LINENO "configure"
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552
18553 #include <png.h>
18554 #include <stdio.h>
18555
18556 int main()
18557 {
18558 FILE *f=fopen("conftestval", "w");
18559 if (!f) exit(1);
18560 fprintf(f, "%s",
18561 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18562 exit(0);
18563 }
18564
18565 _ACEOF
18566 rm -f conftest$ac_exeext
18567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18568 (eval $ac_link) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_header_png_h=`cat conftestval`
18578 else
18579 echo "$as_me: program exited with status $ac_status" >&5
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 ( exit $ac_status )
18584 ac_cv_header_png_h=no
18585 fi
18586 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18587 fi
18588
18589 fi
18590 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18591 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18592 if test "${ac_cv_header_png_h+set}" = set; then
18593 echo "$as_me:$LINENO: checking for png.h" >&5
18594 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18595 if test "${ac_cv_header_png_h+set}" = set; then
18596 echo $ECHO_N "(cached) $ECHO_C" >&6
18597 fi
18598 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18599 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18600 else
18601 # Is the header compilable?
18602 echo "$as_me:$LINENO: checking png.h usability" >&5
18603 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18604 cat >conftest.$ac_ext <<_ACEOF
18605 #line $LINENO "configure"
18606 /* confdefs.h. */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18612 #include <png.h>
18613 _ACEOF
18614 rm -f conftest.$ac_objext
18615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18616 (eval $ac_compile) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); } &&
18620 { ac_try='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_header_compiler=yes
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18630
18631 ac_header_compiler=no
18632 fi
18633 rm -f conftest.$ac_objext conftest.$ac_ext
18634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18635 echo "${ECHO_T}$ac_header_compiler" >&6
18636
18637 # Is the header present?
18638 echo "$as_me:$LINENO: checking png.h presence" >&5
18639 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18640 cat >conftest.$ac_ext <<_ACEOF
18641 #line $LINENO "configure"
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 #include <png.h>
18648 _ACEOF
18649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18651 ac_status=$?
18652 grep -v '^ *+' conftest.er1 >conftest.err
18653 rm -f conftest.er1
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } >/dev/null; then
18657 if test -s conftest.err; then
18658 ac_cpp_err=$ac_c_preproc_warn_flag
18659 else
18660 ac_cpp_err=
18661 fi
18662 else
18663 ac_cpp_err=yes
18664 fi
18665 if test -z "$ac_cpp_err"; then
18666 ac_header_preproc=yes
18667 else
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.$ac_ext >&5
18670
18671 ac_header_preproc=no
18672 fi
18673 rm -f conftest.err conftest.$ac_ext
18674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18675 echo "${ECHO_T}$ac_header_preproc" >&6
18676
18677 # So? What about this header?
18678 case $ac_header_compiler:$ac_header_preproc in
18679 yes:no )
18680 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18681 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18682 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18683 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18684 (
18685 cat <<\_ASBOX
18686 ## ------------------------------------ ##
18687 ## Report this to bug-autoconf@gnu.org. ##
18688 ## ------------------------------------ ##
18689 _ASBOX
18690 ) |
18691 sed "s/^/$as_me: WARNING: /" >&2
18692 ;;
18693 no:yes )
18694 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18695 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18696 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18697 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18698 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18699 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18700 (
18701 cat <<\_ASBOX
18702 ## ------------------------------------ ##
18703 ## Report this to bug-autoconf@gnu.org. ##
18704 ## ------------------------------------ ##
18705 _ASBOX
18706 ) |
18707 sed "s/^/$as_me: WARNING: /" >&2
18708 ;;
18709 esac
18710 echo "$as_me:$LINENO: checking for png.h" >&5
18711 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18712 if test "${ac_cv_header_png_h+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 else
18715 ac_cv_header_png_h=$ac_header_preproc
18716 fi
18717 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18718 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18719
18720 fi
18721
18722
18723
18724 if test "$ac_cv_header_png_h" = "yes"; then
18725 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18726 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18727 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18729 else
18730 ac_check_lib_save_LIBS=$LIBS
18731 LIBS="-lpng -lz -lm $LIBS"
18732 cat >conftest.$ac_ext <<_ACEOF
18733 #line $LINENO "configure"
18734 /* confdefs.h. */
18735 _ACEOF
18736 cat confdefs.h >>conftest.$ac_ext
18737 cat >>conftest.$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18739
18740 /* Override any gcc2 internal prototype to avoid an error. */
18741 #ifdef __cplusplus
18742 extern "C"
18743 #endif
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18746 char png_check_sig ();
18747 int
18748 main ()
18749 {
18750 png_check_sig ();
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext conftest$ac_exeext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try='test -s conftest$ac_exeext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18764 ac_status=$?
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_lib_png_png_check_sig=yes
18768 else
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18771
18772 ac_cv_lib_png_png_check_sig=no
18773 fi
18774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18775 LIBS=$ac_check_lib_save_LIBS
18776 fi
18777 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18778 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18779 if test $ac_cv_lib_png_png_check_sig = yes; then
18780 PNG_LINK=" -lpng"
18781 fi
18782
18783 fi
18784
18785 if test "x$PNG_LINK" = "x" ; then
18786 if test "$wxUSE_LIBPNG" = "sys" ; then
18787 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18788 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18789 { (exit 1); exit 1; }; }
18790 else
18791 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18792 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18793 wxUSE_LIBPNG=builtin
18794 fi
18795 else
18796 wxUSE_LIBPNG=sys
18797 fi
18798 fi
18799 fi
18800
18801 if test "$wxUSE_LIBPNG" = "builtin" ; then
18802 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18803 fi
18804
18805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18806 fi
18807
18808
18809 JPEG_INCLUDE=
18810 JPEG_LINK=
18811 if test "$wxUSE_LIBJPEG" != "no" ; then
18812 cat >>confdefs.h <<\_ACEOF
18813 #define wxUSE_LIBJPEG 1
18814 _ACEOF
18815
18816
18817 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18818 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18819 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18820 wxUSE_LIBJPEG=sys
18821 fi
18822
18823 if test "$wxUSE_MGL" != 1 ; then
18824 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18825 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18826 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18827 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18828 echo $ECHO_N "(cached) $ECHO_C" >&6
18829 else
18830 cat >conftest.$ac_ext <<_ACEOF
18831 #line $LINENO "configure"
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837
18838 #undef HAVE_STDLIB_H
18839 #include <stdio.h>
18840 #include <jpeglib.h>
18841
18842 int
18843 main ()
18844 {
18845
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); } &&
18857 { ac_try='test -s conftest.$ac_objext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_header_jpeglib_h=yes
18864 else
18865 echo "$as_me: failed program was:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18867
18868 ac_cv_header_jpeglib_h=no
18869
18870 fi
18871 rm -f conftest.$ac_objext conftest.$ac_ext
18872
18873 fi
18874
18875 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18876 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18877
18878 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18879 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18880 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18881 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18882 echo $ECHO_N "(cached) $ECHO_C" >&6
18883 else
18884 ac_check_lib_save_LIBS=$LIBS
18885 LIBS="-ljpeg $LIBS"
18886 cat >conftest.$ac_ext <<_ACEOF
18887 #line $LINENO "configure"
18888 /* confdefs.h. */
18889 _ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893
18894 /* Override any gcc2 internal prototype to avoid an error. */
18895 #ifdef __cplusplus
18896 extern "C"
18897 #endif
18898 /* We use char because int might match the return type of a gcc2
18899 builtin and then its argument prototype would still apply. */
18900 char jpeg_read_header ();
18901 int
18902 main ()
18903 {
18904 jpeg_read_header ();
18905 ;
18906 return 0;
18907 }
18908 _ACEOF
18909 rm -f conftest.$ac_objext conftest$ac_exeext
18910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18911 (eval $ac_link) 2>&5
18912 ac_status=$?
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -s conftest$ac_exeext'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18918 ac_status=$?
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18921 ac_cv_lib_jpeg_jpeg_read_header=yes
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18925
18926 ac_cv_lib_jpeg_jpeg_read_header=no
18927 fi
18928 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18929 LIBS=$ac_check_lib_save_LIBS
18930 fi
18931 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18932 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18933 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18934 JPEG_LINK=" -ljpeg"
18935 fi
18936
18937 fi
18938
18939 if test "x$JPEG_LINK" = "x" ; then
18940 if test "$wxUSE_LIBJPEG" = "sys" ; then
18941 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18942 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18943 { (exit 1); exit 1; }; }
18944 else
18945 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18946 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18947 wxUSE_LIBJPEG=builtin
18948 fi
18949 else
18950 wxUSE_LIBJPEG=sys
18951 fi
18952 fi
18953 fi
18954
18955 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18956 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18957 fi
18958 fi
18959
18960
18961 TIFF_INCLUDE=
18962 TIFF_LINK=
18963 TIFF_PREREQ_LINKS=-lm
18964 if test "$wxUSE_LIBTIFF" != "no" ; then
18965 cat >>confdefs.h <<\_ACEOF
18966 #define wxUSE_LIBTIFF 1
18967 _ACEOF
18968
18969
18970 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18971 if test "$wxUSE_LIBJPEG" = "sys"; then
18972 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18973 fi
18974 if test "$wxUSE_ZLIB" = "sys"; then
18975 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18976 fi
18977 if test "${ac_cv_header_tiffio_h+set}" = set; then
18978 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18979 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18980 if test "${ac_cv_header_tiffio_h+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 fi
18983 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18984 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18985 else
18986 # Is the header compilable?
18987 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18988 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18989 cat >conftest.$ac_ext <<_ACEOF
18990 #line $LINENO "configure"
18991 /* confdefs.h. */
18992 _ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 $ac_includes_default
18997 #include <tiffio.h>
18998 _ACEOF
18999 rm -f conftest.$ac_objext
19000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19001 (eval $ac_compile) 2>&5
19002 ac_status=$?
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); } &&
19005 { ac_try='test -s conftest.$ac_objext'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_header_compiler=yes
19012 else
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.$ac_ext >&5
19015
19016 ac_header_compiler=no
19017 fi
19018 rm -f conftest.$ac_objext conftest.$ac_ext
19019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19020 echo "${ECHO_T}$ac_header_compiler" >&6
19021
19022 # Is the header present?
19023 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19024 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19025 cat >conftest.$ac_ext <<_ACEOF
19026 #line $LINENO "configure"
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <tiffio.h>
19033 _ACEOF
19034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19036 ac_status=$?
19037 grep -v '^ *+' conftest.er1 >conftest.err
19038 rm -f conftest.er1
19039 cat conftest.err >&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); } >/dev/null; then
19042 if test -s conftest.err; then
19043 ac_cpp_err=$ac_c_preproc_warn_flag
19044 else
19045 ac_cpp_err=
19046 fi
19047 else
19048 ac_cpp_err=yes
19049 fi
19050 if test -z "$ac_cpp_err"; then
19051 ac_header_preproc=yes
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 ac_header_preproc=no
19057 fi
19058 rm -f conftest.err conftest.$ac_ext
19059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19060 echo "${ECHO_T}$ac_header_preproc" >&6
19061
19062 # So? What about this header?
19063 case $ac_header_compiler:$ac_header_preproc in
19064 yes:no )
19065 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19066 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19067 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19068 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19069 (
19070 cat <<\_ASBOX
19071 ## ------------------------------------ ##
19072 ## Report this to bug-autoconf@gnu.org. ##
19073 ## ------------------------------------ ##
19074 _ASBOX
19075 ) |
19076 sed "s/^/$as_me: WARNING: /" >&2
19077 ;;
19078 no:yes )
19079 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19080 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19081 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19082 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19083 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19084 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19085 (
19086 cat <<\_ASBOX
19087 ## ------------------------------------ ##
19088 ## Report this to bug-autoconf@gnu.org. ##
19089 ## ------------------------------------ ##
19090 _ASBOX
19091 ) |
19092 sed "s/^/$as_me: WARNING: /" >&2
19093 ;;
19094 esac
19095 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19096 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19097 if test "${ac_cv_header_tiffio_h+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19100 ac_cv_header_tiffio_h=$ac_header_preproc
19101 fi
19102 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19103 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19104
19105 fi
19106 if test $ac_cv_header_tiffio_h = yes; then
19107
19108 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19109 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19110 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19111 echo $ECHO_N "(cached) $ECHO_C" >&6
19112 else
19113 ac_check_lib_save_LIBS=$LIBS
19114 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19115 cat >conftest.$ac_ext <<_ACEOF
19116 #line $LINENO "configure"
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122
19123 /* Override any gcc2 internal prototype to avoid an error. */
19124 #ifdef __cplusplus
19125 extern "C"
19126 #endif
19127 /* We use char because int might match the return type of a gcc2
19128 builtin and then its argument prototype would still apply. */
19129 char TIFFError ();
19130 int
19131 main ()
19132 {
19133 TIFFError ();
19134 ;
19135 return 0;
19136 }
19137 _ACEOF
19138 rm -f conftest.$ac_objext conftest$ac_exeext
19139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19140 (eval $ac_link) 2>&5
19141 ac_status=$?
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } &&
19144 { ac_try='test -s conftest$ac_exeext'
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19146 (eval $ac_try) 2>&5
19147 ac_status=$?
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); }; }; then
19150 ac_cv_lib_tiff_TIFFError=yes
19151 else
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19154
19155 ac_cv_lib_tiff_TIFFError=no
19156 fi
19157 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19158 LIBS=$ac_check_lib_save_LIBS
19159 fi
19160 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19161 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19162 if test $ac_cv_lib_tiff_TIFFError = yes; then
19163 TIFF_LINK=" -ltiff"
19164 fi
19165
19166
19167
19168 fi
19169
19170
19171
19172 if test "x$TIFF_LINK" = "x" ; then
19173 if test "$wxUSE_LIBTIFF" = "sys" ; then
19174 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19175 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19176 { (exit 1); exit 1; }; }
19177 else
19178 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19179 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19180 wxUSE_LIBTIFF=builtin
19181 fi
19182 else
19183 wxUSE_LIBTIFF=sys
19184 fi
19185 fi
19186
19187 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19188 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19189 fi
19190 fi
19191
19192
19193 if test "$wxUSE_EXPAT" != "no"; then
19194 wxUSE_XML=yes
19195 cat >>confdefs.h <<\_ACEOF
19196 #define wxUSE_EXPAT 1
19197 _ACEOF
19198
19199 cat >>confdefs.h <<\_ACEOF
19200 #define wxUSE_XML 1
19201 _ACEOF
19202
19203
19204 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19205 if test "${ac_cv_header_expat_h+set}" = set; then
19206 echo "$as_me:$LINENO: checking for expat.h" >&5
19207 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19208 if test "${ac_cv_header_expat_h+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 fi
19211 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19212 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19213 else
19214 # Is the header compilable?
19215 echo "$as_me:$LINENO: checking expat.h usability" >&5
19216 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19217 cat >conftest.$ac_ext <<_ACEOF
19218 #line $LINENO "configure"
19219 /* confdefs.h. */
19220 _ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 $ac_includes_default
19225 #include <expat.h>
19226 _ACEOF
19227 rm -f conftest.$ac_objext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19229 (eval $ac_compile) 2>&5
19230 ac_status=$?
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); } &&
19233 { ac_try='test -s conftest.$ac_objext'
19234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235 (eval $ac_try) 2>&5
19236 ac_status=$?
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); }; }; then
19239 ac_header_compiler=yes
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19243
19244 ac_header_compiler=no
19245 fi
19246 rm -f conftest.$ac_objext conftest.$ac_ext
19247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19248 echo "${ECHO_T}$ac_header_compiler" >&6
19249
19250 # Is the header present?
19251 echo "$as_me:$LINENO: checking expat.h presence" >&5
19252 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19253 cat >conftest.$ac_ext <<_ACEOF
19254 #line $LINENO "configure"
19255 /* confdefs.h. */
19256 _ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 #include <expat.h>
19261 _ACEOF
19262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19264 ac_status=$?
19265 grep -v '^ *+' conftest.er1 >conftest.err
19266 rm -f conftest.er1
19267 cat conftest.err >&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } >/dev/null; then
19270 if test -s conftest.err; then
19271 ac_cpp_err=$ac_c_preproc_warn_flag
19272 else
19273 ac_cpp_err=
19274 fi
19275 else
19276 ac_cpp_err=yes
19277 fi
19278 if test -z "$ac_cpp_err"; then
19279 ac_header_preproc=yes
19280 else
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19283
19284 ac_header_preproc=no
19285 fi
19286 rm -f conftest.err conftest.$ac_ext
19287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19288 echo "${ECHO_T}$ac_header_preproc" >&6
19289
19290 # So? What about this header?
19291 case $ac_header_compiler:$ac_header_preproc in
19292 yes:no )
19293 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19294 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19295 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19296 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19297 (
19298 cat <<\_ASBOX
19299 ## ------------------------------------ ##
19300 ## Report this to bug-autoconf@gnu.org. ##
19301 ## ------------------------------------ ##
19302 _ASBOX
19303 ) |
19304 sed "s/^/$as_me: WARNING: /" >&2
19305 ;;
19306 no:yes )
19307 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19308 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19309 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19310 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19311 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19312 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19313 (
19314 cat <<\_ASBOX
19315 ## ------------------------------------ ##
19316 ## Report this to bug-autoconf@gnu.org. ##
19317 ## ------------------------------------ ##
19318 _ASBOX
19319 ) |
19320 sed "s/^/$as_me: WARNING: /" >&2
19321 ;;
19322 esac
19323 echo "$as_me:$LINENO: checking for expat.h" >&5
19324 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19325 if test "${ac_cv_header_expat_h+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 else
19328 ac_cv_header_expat_h=$ac_header_preproc
19329 fi
19330 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19331 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19332
19333 fi
19334 if test $ac_cv_header_expat_h = yes; then
19335 found_expat_h=1
19336 fi
19337
19338
19339 if test "x$found_expat_h" = "x1"; then
19340 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19341 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19342 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19343 echo $ECHO_N "(cached) $ECHO_C" >&6
19344 else
19345
19346
19347
19348 ac_ext=cc
19349 ac_cpp='$CXXCPP $CPPFLAGS'
19350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19353
19354 cat >conftest.$ac_ext <<_ACEOF
19355 #line $LINENO "configure"
19356 /* confdefs.h. */
19357 _ACEOF
19358 cat confdefs.h >>conftest.$ac_ext
19359 cat >>conftest.$ac_ext <<_ACEOF
19360 /* end confdefs.h. */
19361 #include <expat.h>
19362 int
19363 main ()
19364 {
19365
19366 ;
19367 return 0;
19368 }
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19372 (eval $ac_compile) 2>&5
19373 ac_status=$?
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } &&
19376 { ac_try='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19379 ac_status=$?
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19382 wx_cv_expat_is_not_broken=yes
19383 else
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19386
19387 wx_cv_expat_is_not_broken=no
19388
19389 fi
19390 rm -f conftest.$ac_objext conftest.$ac_ext
19391 ac_ext=c
19392 ac_cpp='$CPP $CPPFLAGS'
19393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19396
19397
19398
19399 fi
19400 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19403 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19406 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 else
19408 ac_check_lib_save_LIBS=$LIBS
19409 LIBS="-lexpat $LIBS"
19410 cat >conftest.$ac_ext <<_ACEOF
19411 #line $LINENO "configure"
19412 /* confdefs.h. */
19413 _ACEOF
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417
19418 /* Override any gcc2 internal prototype to avoid an error. */
19419 #ifdef __cplusplus
19420 extern "C"
19421 #endif
19422 /* We use char because int might match the return type of a gcc2
19423 builtin and then its argument prototype would still apply. */
19424 char XML_ParserCreate ();
19425 int
19426 main ()
19427 {
19428 XML_ParserCreate ();
19429 ;
19430 return 0;
19431 }
19432 _ACEOF
19433 rm -f conftest.$ac_objext conftest$ac_exeext
19434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19435 (eval $ac_link) 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try='test -s conftest$ac_exeext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19442 ac_status=$?
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19445 ac_cv_lib_expat_XML_ParserCreate=yes
19446 else
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19449
19450 ac_cv_lib_expat_XML_ParserCreate=no
19451 fi
19452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19453 LIBS=$ac_check_lib_save_LIBS
19454 fi
19455 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19456 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19457 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19458 EXPAT_LINK=" -lexpat"
19459 fi
19460
19461 fi
19462 fi
19463 if test "x$EXPAT_LINK" = "x" ; then
19464 if test "$wxUSE_EXPAT" = "sys" ; then
19465 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19466 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19467 { (exit 1); exit 1; }; }
19468 else
19469 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19470 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19471 wxUSE_EXPAT=builtin
19472 fi
19473 else
19474 wxUSE_EXPAT=sys
19475 fi
19476 fi
19477 if test "$wxUSE_EXPAT" = "builtin" ; then
19478
19479
19480 subdirs="$subdirs src/expat"
19481
19482 fi
19483 fi
19484
19485
19486
19487 AFMINSTALL=
19488 WIN32INSTALL=
19489
19490 TOOLKIT=
19491 TOOLKIT_INCLUDE=
19492 WIDGET_SET=
19493
19494 if test "$USE_WIN32" = 1 ; then
19495
19496 for ac_header in w32api.h
19497 do
19498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19500 echo "$as_me:$LINENO: checking for $ac_header" >&5
19501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19504 fi
19505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19507 else
19508 # Is the header compilable?
19509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19511 cat >conftest.$ac_ext <<_ACEOF
19512 #line $LINENO "configure"
19513 /* confdefs.h. */
19514 _ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 #include <$ac_header>
19520 _ACEOF
19521 rm -f conftest.$ac_objext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>&5
19524 ac_status=$?
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 ac_header_compiler=yes
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19537
19538 ac_header_compiler=no
19539 fi
19540 rm -f conftest.$ac_objext conftest.$ac_ext
19541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19542 echo "${ECHO_T}$ac_header_compiler" >&6
19543
19544 # Is the header present?
19545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19547 cat >conftest.$ac_ext <<_ACEOF
19548 #line $LINENO "configure"
19549 /* confdefs.h. */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #include <$ac_header>
19555 _ACEOF
19556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } >/dev/null; then
19564 if test -s conftest.err; then
19565 ac_cpp_err=$ac_c_preproc_warn_flag
19566 else
19567 ac_cpp_err=
19568 fi
19569 else
19570 ac_cpp_err=yes
19571 fi
19572 if test -z "$ac_cpp_err"; then
19573 ac_header_preproc=yes
19574 else
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19577
19578 ac_header_preproc=no
19579 fi
19580 rm -f conftest.err conftest.$ac_ext
19581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19582 echo "${ECHO_T}$ac_header_preproc" >&6
19583
19584 # So? What about this header?
19585 case $ac_header_compiler:$ac_header_preproc in
19586 yes:no )
19587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19591 (
19592 cat <<\_ASBOX
19593 ## ------------------------------------ ##
19594 ## Report this to bug-autoconf@gnu.org. ##
19595 ## ------------------------------------ ##
19596 _ASBOX
19597 ) |
19598 sed "s/^/$as_me: WARNING: /" >&2
19599 ;;
19600 no:yes )
19601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19607 (
19608 cat <<\_ASBOX
19609 ## ------------------------------------ ##
19610 ## Report this to bug-autoconf@gnu.org. ##
19611 ## ------------------------------------ ##
19612 _ASBOX
19613 ) |
19614 sed "s/^/$as_me: WARNING: /" >&2
19615 ;;
19616 esac
19617 echo "$as_me:$LINENO: checking for $ac_header" >&5
19618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19621 else
19622 eval "$as_ac_Header=$ac_header_preproc"
19623 fi
19624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19626
19627 fi
19628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19629 cat >>confdefs.h <<_ACEOF
19630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19631 _ACEOF
19632
19633 fi
19634
19635 done
19636
19637 if test "${ac_cv_header_windows_h+set}" = set; then
19638 echo "$as_me:$LINENO: checking for windows.h" >&5
19639 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19640 if test "${ac_cv_header_windows_h+set}" = set; then
19641 echo $ECHO_N "(cached) $ECHO_C" >&6
19642 fi
19643 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19644 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19645 else
19646 # Is the header compilable?
19647 echo "$as_me:$LINENO: checking windows.h usability" >&5
19648 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19649 cat >conftest.$ac_ext <<_ACEOF
19650 #line $LINENO "configure"
19651 /* confdefs.h. */
19652 _ACEOF
19653 cat confdefs.h >>conftest.$ac_ext
19654 cat >>conftest.$ac_ext <<_ACEOF
19655 /* end confdefs.h. */
19656 $ac_includes_default
19657 #include <windows.h>
19658 _ACEOF
19659 rm -f conftest.$ac_objext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19661 (eval $ac_compile) 2>&5
19662 ac_status=$?
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try='test -s conftest.$ac_objext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 ac_header_compiler=yes
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 ac_header_compiler=no
19677 fi
19678 rm -f conftest.$ac_objext conftest.$ac_ext
19679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19680 echo "${ECHO_T}$ac_header_compiler" >&6
19681
19682 # Is the header present?
19683 echo "$as_me:$LINENO: checking windows.h presence" >&5
19684 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19685 cat >conftest.$ac_ext <<_ACEOF
19686 #line $LINENO "configure"
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 #include <windows.h>
19693 _ACEOF
19694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } >/dev/null; then
19702 if test -s conftest.err; then
19703 ac_cpp_err=$ac_c_preproc_warn_flag
19704 else
19705 ac_cpp_err=
19706 fi
19707 else
19708 ac_cpp_err=yes
19709 fi
19710 if test -z "$ac_cpp_err"; then
19711 ac_header_preproc=yes
19712 else
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_header_preproc=no
19717 fi
19718 rm -f conftest.err conftest.$ac_ext
19719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19720 echo "${ECHO_T}$ac_header_preproc" >&6
19721
19722 # So? What about this header?
19723 case $ac_header_compiler:$ac_header_preproc in
19724 yes:no )
19725 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19726 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19727 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19728 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19729 (
19730 cat <<\_ASBOX
19731 ## ------------------------------------ ##
19732 ## Report this to bug-autoconf@gnu.org. ##
19733 ## ------------------------------------ ##
19734 _ASBOX
19735 ) |
19736 sed "s/^/$as_me: WARNING: /" >&2
19737 ;;
19738 no:yes )
19739 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19740 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19741 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19742 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19744 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19745 (
19746 cat <<\_ASBOX
19747 ## ------------------------------------ ##
19748 ## Report this to bug-autoconf@gnu.org. ##
19749 ## ------------------------------------ ##
19750 _ASBOX
19751 ) |
19752 sed "s/^/$as_me: WARNING: /" >&2
19753 ;;
19754 esac
19755 echo "$as_me:$LINENO: checking for windows.h" >&5
19756 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19757 if test "${ac_cv_header_windows_h+set}" = set; then
19758 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 else
19760 ac_cv_header_windows_h=$ac_header_preproc
19761 fi
19762 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19763 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19764
19765 fi
19766 if test $ac_cv_header_windows_h = yes; then
19767 :
19768 else
19769
19770 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19771 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19772 { (exit 1); exit 1; }; }
19773
19774 fi
19775
19776
19777
19778 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19779
19780 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19781 LIBS="$LIBS -loleacc"
19782 fi
19783
19784 case "${host}" in
19785 *-*-cygwin* )
19786 LIBS="$LIBS -lkernel32 -luser32"
19787 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19788 esac
19789
19790 if test "$wxUSE_ODBC" = "sys" ; then
19791 wxUSE_ODBC = "yes"
19792 fi
19793 if test "$wxUSE_ODBC" = "yes" ; then
19794 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19795 cat >>confdefs.h <<\_ACEOF
19796 #define wxUSE_ODBC 1
19797 _ACEOF
19798
19799 fi
19800
19801 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19802 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19803
19804 WIN32INSTALL=win32install
19805 fi
19806
19807 if test "$wxUSE_GUI" = "yes"; then
19808 USE_GUI=1
19809
19810 GUI_TK_LIBRARY=
19811
19812 WXGTK12=
19813 WXGTK127=
19814 WXGTK20=
19815
19816 if test "$wxUSE_MSW" = 1 ; then
19817 TOOLKIT=MSW
19818 GUIDIST=MSW_DIST
19819
19820 case "${host}" in
19821 *-*-mingw32* )
19822 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19823 esac
19824 fi
19825
19826 if test "$wxUSE_GTK" = 1; then
19827 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19828 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19829
19830 gtk_version_cached=1
19831 if test "${wx_cv_lib_gtk+set}" = set; then
19832 echo $ECHO_N "(cached) $ECHO_C" >&6
19833 else
19834
19835 gtk_version_cached=0
19836 echo "$as_me:$LINENO: result: " >&5
19837 echo "${ECHO_T}" >&6
19838
19839 GTK_MODULES=
19840 if test "$wxUSE_THREADS" = "yes"; then
19841 GTK_MODULES=gthread
19842 fi
19843
19844 wx_cv_lib_gtk=
19845 if test "x$wxUSE_GTK2" = "xyes"; then
19846 # Check whether --enable-gtktest or --disable-gtktest was given.
19847 if test "${enable_gtktest+set}" = set; then
19848 enableval="$enable_gtktest"
19849
19850 else
19851 enable_gtktest=yes
19852 fi;
19853
19854 pkg_config_args=gtk+-2.0
19855 for module in . $GTK_MODULES
19856 do
19857 case "$module" in
19858 gthread)
19859 pkg_config_args="$pkg_config_args gthread-2.0"
19860 ;;
19861 esac
19862 done
19863
19864 no_gtk=""
19865
19866 # Extract the first word of "pkg-config", so it can be a program name with args.
19867 set dummy pkg-config; ac_word=$2
19868 echo "$as_me:$LINENO: checking for $ac_word" >&5
19869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19870 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 else
19873 case $PKG_CONFIG in
19874 [\\/]* | ?:[\\/]*)
19875 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19876 ;;
19877 *)
19878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19879 for as_dir in $PATH
19880 do
19881 IFS=$as_save_IFS
19882 test -z "$as_dir" && as_dir=.
19883 for ac_exec_ext in '' $ac_executable_extensions; do
19884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19885 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19887 break 2
19888 fi
19889 done
19890 done
19891
19892 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19893 ;;
19894 esac
19895 fi
19896 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19897
19898 if test -n "$PKG_CONFIG"; then
19899 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19900 echo "${ECHO_T}$PKG_CONFIG" >&6
19901 else
19902 echo "$as_me:$LINENO: result: no" >&5
19903 echo "${ECHO_T}no" >&6
19904 fi
19905
19906
19907 if test x$PKG_CONFIG != xno ; then
19908 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19909 :
19910 else
19911 echo *** pkg-config too old; version 0.7 or better required.
19912 no_gtk=yes
19913 PKG_CONFIG=no
19914 fi
19915 else
19916 no_gtk=yes
19917 fi
19918
19919 min_gtk_version=2.0.0
19920 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19921 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19922
19923 if test x$PKG_CONFIG != xno ; then
19924 ## don't try to run the test against uninstalled libtool libs
19925 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19926 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19927 enable_gtktest=no
19928 fi
19929
19930 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19931 :
19932 else
19933 no_gtk=yes
19934 fi
19935 fi
19936
19937 if test x"$no_gtk" = x ; then
19938 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19939 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19940 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19942 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19944 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19946 if test "x$enable_gtktest" = "xyes" ; then
19947 ac_save_CFLAGS="$CFLAGS"
19948 ac_save_LIBS="$LIBS"
19949 CFLAGS="$CFLAGS $GTK_CFLAGS"
19950 LIBS="$GTK_LIBS $LIBS"
19951 rm -f conf.gtktest
19952 if test "$cross_compiling" = yes; then
19953 echo $ac_n "cross compiling; assumed OK... $ac_c"
19954 else
19955 cat >conftest.$ac_ext <<_ACEOF
19956 #line $LINENO "configure"
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962
19963 #include <gtk/gtk.h>
19964 #include <stdio.h>
19965 #include <stdlib.h>
19966
19967 int
19968 main ()
19969 {
19970 int major, minor, micro;
19971 char *tmp_version;
19972
19973 system ("touch conf.gtktest");
19974
19975 /* HP/UX 9 (%@#!) writes to sscanf strings */
19976 tmp_version = g_strdup("$min_gtk_version");
19977 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19978 printf("%s, bad version string\n", "$min_gtk_version");
19979 exit(1);
19980 }
19981
19982 if ((gtk_major_version != $gtk_config_major_version) ||
19983 (gtk_minor_version != $gtk_config_minor_version) ||
19984 (gtk_micro_version != $gtk_config_micro_version))
19985 {
19986 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19987 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19988 gtk_major_version, gtk_minor_version, gtk_micro_version);
19989 printf ("*** was found! If pkg-config was correct, then it is best\n");
19990 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19991 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19992 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19993 printf("*** required on your system.\n");
19994 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19995 printf("*** to point to the correct configuration files\n");
19996 }
19997 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19998 (gtk_minor_version != GTK_MINOR_VERSION) ||
19999 (gtk_micro_version != GTK_MICRO_VERSION))
20000 {
20001 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20002 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20003 printf("*** library (version %d.%d.%d)\n",
20004 gtk_major_version, gtk_minor_version, gtk_micro_version);
20005 }
20006 else
20007 {
20008 if ((gtk_major_version > major) ||
20009 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20010 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20011 {
20012 return 0;
20013 }
20014 else
20015 {
20016 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20017 gtk_major_version, gtk_minor_version, gtk_micro_version);
20018 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20019 major, minor, micro);
20020 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20021 printf("***\n");
20022 printf("*** If you have already installed a sufficiently new version, this error\n");
20023 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20024 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20025 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20026 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20027 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20028 printf("*** so that the correct libraries are found at run-time))\n");
20029 }
20030 }
20031 return 1;
20032 }
20033
20034 _ACEOF
20035 rm -f conftest$ac_exeext
20036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20037 (eval $ac_link) 2>&5
20038 ac_status=$?
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20043 ac_status=$?
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 :
20047 else
20048 echo "$as_me: program exited with status $ac_status" >&5
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.$ac_ext >&5
20051
20052 ( exit $ac_status )
20053 no_gtk=yes
20054 fi
20055 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20056 fi
20057 CFLAGS="$ac_save_CFLAGS"
20058 LIBS="$ac_save_LIBS"
20059 fi
20060 fi
20061 if test "x$no_gtk" = x ; then
20062 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20063 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20064 wx_cv_lib_gtk=2.0
20065 else
20066 echo "$as_me:$LINENO: result: no" >&5
20067 echo "${ECHO_T}no" >&6
20068 if test "$PKG_CONFIG" = "no" ; then
20069 echo "*** A new enough version of pkg-config was not found."
20070 echo "*** See http://pkgconfig.sourceforge.net"
20071 else
20072 if test -f conf.gtktest ; then
20073 :
20074 else
20075 echo "*** Could not run GTK+ test program, checking why..."
20076 ac_save_CFLAGS="$CFLAGS"
20077 ac_save_LIBS="$LIBS"
20078 CFLAGS="$CFLAGS $GTK_CFLAGS"
20079 LIBS="$LIBS $GTK_LIBS"
20080 cat >conftest.$ac_ext <<_ACEOF
20081 #line $LINENO "configure"
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087
20088 #include <gtk/gtk.h>
20089 #include <stdio.h>
20090
20091 int
20092 main ()
20093 {
20094 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20095 ;
20096 return 0;
20097 }
20098 _ACEOF
20099 rm -f conftest.$ac_objext conftest$ac_exeext
20100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20101 (eval $ac_link) 2>&5
20102 ac_status=$?
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -s conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20108 ac_status=$?
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 echo "*** The test program compiled, but did not run. This usually means"
20112 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20113 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20114 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20115 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20116 echo "*** is required on your system"
20117 echo "***"
20118 echo "*** If you have an old version installed, it is best to remove it, although"
20119 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 echo "*** The test program failed to compile or link. See the file config.log for the"
20125 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20126 fi
20127 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20128 CFLAGS="$ac_save_CFLAGS"
20129 LIBS="$ac_save_LIBS"
20130 fi
20131 fi
20132 GTK_CFLAGS=""
20133 GTK_LIBS=""
20134 :
20135 fi
20136
20137
20138 rm -f conf.gtktest
20139
20140 else
20141
20142 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20143 if test "${with_gtk_prefix+set}" = set; then
20144 withval="$with_gtk_prefix"
20145 gtk_config_prefix="$withval"
20146 else
20147 gtk_config_prefix=""
20148 fi;
20149
20150 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20151 if test "${with_gtk_exec_prefix+set}" = set; then
20152 withval="$with_gtk_exec_prefix"
20153 gtk_config_exec_prefix="$withval"
20154 else
20155 gtk_config_exec_prefix=""
20156 fi;
20157 # Check whether --enable-gtktest or --disable-gtktest was given.
20158 if test "${enable_gtktest+set}" = set; then
20159 enableval="$enable_gtktest"
20160
20161 else
20162 enable_gtktest=yes
20163 fi;
20164
20165 for module in . $GTK_MODULES
20166 do
20167 case "$module" in
20168 gthread)
20169 gtk_config_args="$gtk_config_args gthread"
20170 ;;
20171 esac
20172 done
20173
20174 if test x$gtk_config_exec_prefix != x ; then
20175 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20176 if test x${GTK_CONFIG+set} != xset ; then
20177 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20178 fi
20179 fi
20180 if test x$gtk_config_prefix != x ; then
20181 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20182 if test x${GTK_CONFIG+set} != xset ; then
20183 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20184 fi
20185 fi
20186
20187 # Extract the first word of "gtk-config", so it can be a program name with args.
20188 set dummy gtk-config; ac_word=$2
20189 echo "$as_me:$LINENO: checking for $ac_word" >&5
20190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20191 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20193 else
20194 case $GTK_CONFIG in
20195 [\\/]* | ?:[\\/]*)
20196 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20197 ;;
20198 *)
20199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20200 for as_dir in $PATH
20201 do
20202 IFS=$as_save_IFS
20203 test -z "$as_dir" && as_dir=.
20204 for ac_exec_ext in '' $ac_executable_extensions; do
20205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20206 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20208 break 2
20209 fi
20210 done
20211 done
20212
20213 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20214 ;;
20215 esac
20216 fi
20217 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20218
20219 if test -n "$GTK_CONFIG"; then
20220 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20221 echo "${ECHO_T}$GTK_CONFIG" >&6
20222 else
20223 echo "$as_me:$LINENO: result: no" >&5
20224 echo "${ECHO_T}no" >&6
20225 fi
20226
20227 min_gtk_version=1.2.7
20228 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20229 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20230 no_gtk=""
20231 if test "$GTK_CONFIG" = "no" ; then
20232 no_gtk=yes
20233 else
20234 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20235 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20236 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20238 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20240 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20242 if test "x$enable_gtktest" = "xyes" ; then
20243 ac_save_CFLAGS="$CFLAGS"
20244 ac_save_LIBS="$LIBS"
20245 CFLAGS="$CFLAGS $GTK_CFLAGS"
20246 LIBS="$GTK_LIBS $LIBS"
20247 rm -f conf.gtktest
20248 if test "$cross_compiling" = yes; then
20249 echo $ac_n "cross compiling; assumed OK... $ac_c"
20250 else
20251 cat >conftest.$ac_ext <<_ACEOF
20252 #line $LINENO "configure"
20253 /* confdefs.h. */
20254 _ACEOF
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258
20259 #include <gtk/gtk.h>
20260 #include <stdio.h>
20261 #include <stdlib.h>
20262
20263 int
20264 main ()
20265 {
20266 int major, minor, micro;
20267 char *tmp_version;
20268
20269 system ("touch conf.gtktest");
20270
20271 /* HP/UX 9 (%@#!) writes to sscanf strings */
20272 tmp_version = g_strdup("$min_gtk_version");
20273 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20274 printf("%s, bad version string\n", "$min_gtk_version");
20275 exit(1);
20276 }
20277
20278 if ((gtk_major_version != $gtk_config_major_version) ||
20279 (gtk_minor_version != $gtk_config_minor_version) ||
20280 (gtk_micro_version != $gtk_config_micro_version))
20281 {
20282 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20283 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20284 gtk_major_version, gtk_minor_version, gtk_micro_version);
20285 printf ("*** was found! If gtk-config was correct, then it is best\n");
20286 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20287 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20288 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20289 printf("*** required on your system.\n");
20290 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20291 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20292 printf("*** before re-running configure\n");
20293 }
20294 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20295 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20296 (gtk_minor_version != GTK_MINOR_VERSION) ||
20297 (gtk_micro_version != GTK_MICRO_VERSION))
20298 {
20299 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20300 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20301 printf("*** library (version %d.%d.%d)\n",
20302 gtk_major_version, gtk_minor_version, gtk_micro_version);
20303 }
20304 #endif /* defined (GTK_MAJOR_VERSION) ... */
20305 else
20306 {
20307 if ((gtk_major_version > major) ||
20308 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20309 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20310 {
20311 return 0;
20312 }
20313 else
20314 {
20315 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20316 gtk_major_version, gtk_minor_version, gtk_micro_version);
20317 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20318 major, minor, micro);
20319 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20320 printf("***\n");
20321 printf("*** If you have already installed a sufficiently new version, this error\n");
20322 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20323 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20324 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20325 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20326 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20327 printf("*** so that the correct libraries are found at run-time))\n");
20328 }
20329 }
20330 return 1;
20331 }
20332
20333 _ACEOF
20334 rm -f conftest$ac_exeext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20336 (eval $ac_link) 2>&5
20337 ac_status=$?
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; }; then
20345 :
20346 else
20347 echo "$as_me: program exited with status $ac_status" >&5
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.$ac_ext >&5
20350
20351 ( exit $ac_status )
20352 no_gtk=yes
20353 fi
20354 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20355 fi
20356 CFLAGS="$ac_save_CFLAGS"
20357 LIBS="$ac_save_LIBS"
20358 fi
20359 fi
20360 if test "x$no_gtk" = x ; then
20361 echo "$as_me:$LINENO: result: yes" >&5
20362 echo "${ECHO_T}yes" >&6
20363 wx_cv_lib_gtk=1.2.7
20364 else
20365 echo "$as_me:$LINENO: result: no" >&5
20366 echo "${ECHO_T}no" >&6
20367 if test "$GTK_CONFIG" = "no" ; then
20368 echo "*** The gtk-config script installed by GTK could not be found"
20369 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20370 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20371 echo "*** full path to gtk-config."
20372 else
20373 if test -f conf.gtktest ; then
20374 :
20375 else
20376 echo "*** Could not run GTK test program, checking why..."
20377 CFLAGS="$CFLAGS $GTK_CFLAGS"
20378 LIBS="$LIBS $GTK_LIBS"
20379 cat >conftest.$ac_ext <<_ACEOF
20380 #line $LINENO "configure"
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386
20387 #include <gtk/gtk.h>
20388 #include <stdio.h>
20389
20390 int
20391 main ()
20392 {
20393 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20394 ;
20395 return 0;
20396 }
20397 _ACEOF
20398 rm -f conftest.$ac_objext conftest$ac_exeext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20400 (eval $ac_link) 2>&5
20401 ac_status=$?
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); } &&
20404 { ac_try='test -s conftest$ac_exeext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 echo "*** The test program compiled, but did not run. This usually means"
20411 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20412 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20413 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20414 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20415 echo "*** is required on your system"
20416 echo "***"
20417 echo "*** If you have an old version installed, it is best to remove it, although"
20418 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20419 echo "***"
20420 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20421 echo "*** came with the system with the command"
20422 echo "***"
20423 echo "*** rpm --erase --nodeps gtk gtk-devel"
20424 else
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20427
20428 echo "*** The test program failed to compile or link. See the file config.log for the"
20429 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20430 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20431 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20432 fi
20433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20434 CFLAGS="$ac_save_CFLAGS"
20435 LIBS="$ac_save_LIBS"
20436 fi
20437 fi
20438 GTK_CFLAGS=""
20439 GTK_LIBS=""
20440 :
20441 fi
20442
20443
20444 rm -f conf.gtktest
20445
20446
20447 if test -z "$wx_cv_lib_gtk"; then
20448
20449 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20450 if test "${with_gtk_prefix+set}" = set; then
20451 withval="$with_gtk_prefix"
20452 gtk_config_prefix="$withval"
20453 else
20454 gtk_config_prefix=""
20455 fi;
20456
20457 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20458 if test "${with_gtk_exec_prefix+set}" = set; then
20459 withval="$with_gtk_exec_prefix"
20460 gtk_config_exec_prefix="$withval"
20461 else
20462 gtk_config_exec_prefix=""
20463 fi;
20464 # Check whether --enable-gtktest or --disable-gtktest was given.
20465 if test "${enable_gtktest+set}" = set; then
20466 enableval="$enable_gtktest"
20467
20468 else
20469 enable_gtktest=yes
20470 fi;
20471
20472 for module in . $GTK_MODULES
20473 do
20474 case "$module" in
20475 gthread)
20476 gtk_config_args="$gtk_config_args gthread"
20477 ;;
20478 esac
20479 done
20480
20481 if test x$gtk_config_exec_prefix != x ; then
20482 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20483 if test x${GTK_CONFIG+set} != xset ; then
20484 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20485 fi
20486 fi
20487 if test x$gtk_config_prefix != x ; then
20488 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20489 if test x${GTK_CONFIG+set} != xset ; then
20490 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20491 fi
20492 fi
20493
20494 # Extract the first word of "gtk-config", so it can be a program name with args.
20495 set dummy gtk-config; ac_word=$2
20496 echo "$as_me:$LINENO: checking for $ac_word" >&5
20497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20498 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20500 else
20501 case $GTK_CONFIG in
20502 [\\/]* | ?:[\\/]*)
20503 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20504 ;;
20505 *)
20506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20507 for as_dir in $PATH
20508 do
20509 IFS=$as_save_IFS
20510 test -z "$as_dir" && as_dir=.
20511 for ac_exec_ext in '' $ac_executable_extensions; do
20512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20513 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20515 break 2
20516 fi
20517 done
20518 done
20519
20520 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20521 ;;
20522 esac
20523 fi
20524 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20525
20526 if test -n "$GTK_CONFIG"; then
20527 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20528 echo "${ECHO_T}$GTK_CONFIG" >&6
20529 else
20530 echo "$as_me:$LINENO: result: no" >&5
20531 echo "${ECHO_T}no" >&6
20532 fi
20533
20534 min_gtk_version=1.2.3
20535 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20536 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20537 no_gtk=""
20538 if test "$GTK_CONFIG" = "no" ; then
20539 no_gtk=yes
20540 else
20541 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20542 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20543 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20545 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20547 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20549 if test "x$enable_gtktest" = "xyes" ; then
20550 ac_save_CFLAGS="$CFLAGS"
20551 ac_save_LIBS="$LIBS"
20552 CFLAGS="$CFLAGS $GTK_CFLAGS"
20553 LIBS="$GTK_LIBS $LIBS"
20554 rm -f conf.gtktest
20555 if test "$cross_compiling" = yes; then
20556 echo $ac_n "cross compiling; assumed OK... $ac_c"
20557 else
20558 cat >conftest.$ac_ext <<_ACEOF
20559 #line $LINENO "configure"
20560 /* confdefs.h. */
20561 _ACEOF
20562 cat confdefs.h >>conftest.$ac_ext
20563 cat >>conftest.$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565
20566 #include <gtk/gtk.h>
20567 #include <stdio.h>
20568 #include <stdlib.h>
20569
20570 int
20571 main ()
20572 {
20573 int major, minor, micro;
20574 char *tmp_version;
20575
20576 system ("touch conf.gtktest");
20577
20578 /* HP/UX 9 (%@#!) writes to sscanf strings */
20579 tmp_version = g_strdup("$min_gtk_version");
20580 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20581 printf("%s, bad version string\n", "$min_gtk_version");
20582 exit(1);
20583 }
20584
20585 if ((gtk_major_version != $gtk_config_major_version) ||
20586 (gtk_minor_version != $gtk_config_minor_version) ||
20587 (gtk_micro_version != $gtk_config_micro_version))
20588 {
20589 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20590 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20591 gtk_major_version, gtk_minor_version, gtk_micro_version);
20592 printf ("*** was found! If gtk-config was correct, then it is best\n");
20593 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20594 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20595 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20596 printf("*** required on your system.\n");
20597 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20598 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20599 printf("*** before re-running configure\n");
20600 }
20601 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20602 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20603 (gtk_minor_version != GTK_MINOR_VERSION) ||
20604 (gtk_micro_version != GTK_MICRO_VERSION))
20605 {
20606 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20607 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20608 printf("*** library (version %d.%d.%d)\n",
20609 gtk_major_version, gtk_minor_version, gtk_micro_version);
20610 }
20611 #endif /* defined (GTK_MAJOR_VERSION) ... */
20612 else
20613 {
20614 if ((gtk_major_version > major) ||
20615 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20616 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20617 {
20618 return 0;
20619 }
20620 else
20621 {
20622 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20623 gtk_major_version, gtk_minor_version, gtk_micro_version);
20624 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20625 major, minor, micro);
20626 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20627 printf("***\n");
20628 printf("*** If you have already installed a sufficiently new version, this error\n");
20629 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20630 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20631 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20632 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20633 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20634 printf("*** so that the correct libraries are found at run-time))\n");
20635 }
20636 }
20637 return 1;
20638 }
20639
20640 _ACEOF
20641 rm -f conftest$ac_exeext
20642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20643 (eval $ac_link) 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 :
20653 else
20654 echo "$as_me: program exited with status $ac_status" >&5
20655 echo "$as_me: failed program was:" >&5
20656 sed 's/^/| /' conftest.$ac_ext >&5
20657
20658 ( exit $ac_status )
20659 no_gtk=yes
20660 fi
20661 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20662 fi
20663 CFLAGS="$ac_save_CFLAGS"
20664 LIBS="$ac_save_LIBS"
20665 fi
20666 fi
20667 if test "x$no_gtk" = x ; then
20668 echo "$as_me:$LINENO: result: yes" >&5
20669 echo "${ECHO_T}yes" >&6
20670 wx_cv_lib_gtk=1.2.3
20671 else
20672 echo "$as_me:$LINENO: result: no" >&5
20673 echo "${ECHO_T}no" >&6
20674 if test "$GTK_CONFIG" = "no" ; then
20675 echo "*** The gtk-config script installed by GTK could not be found"
20676 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20677 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20678 echo "*** full path to gtk-config."
20679 else
20680 if test -f conf.gtktest ; then
20681 :
20682 else
20683 echo "*** Could not run GTK test program, checking why..."
20684 CFLAGS="$CFLAGS $GTK_CFLAGS"
20685 LIBS="$LIBS $GTK_LIBS"
20686 cat >conftest.$ac_ext <<_ACEOF
20687 #line $LINENO "configure"
20688 /* confdefs.h. */
20689 _ACEOF
20690 cat confdefs.h >>conftest.$ac_ext
20691 cat >>conftest.$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693
20694 #include <gtk/gtk.h>
20695 #include <stdio.h>
20696
20697 int
20698 main ()
20699 {
20700 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20701 ;
20702 return 0;
20703 }
20704 _ACEOF
20705 rm -f conftest.$ac_objext conftest$ac_exeext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20707 (eval $ac_link) 2>&5
20708 ac_status=$?
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -s conftest$ac_exeext'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 echo "*** The test program compiled, but did not run. This usually means"
20718 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20719 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20720 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20721 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20722 echo "*** is required on your system"
20723 echo "***"
20724 echo "*** If you have an old version installed, it is best to remove it, although"
20725 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20726 echo "***"
20727 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20728 echo "*** came with the system with the command"
20729 echo "***"
20730 echo "*** rpm --erase --nodeps gtk gtk-devel"
20731 else
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20734
20735 echo "*** The test program failed to compile or link. See the file config.log for the"
20736 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20737 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20738 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20739 fi
20740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20741 CFLAGS="$ac_save_CFLAGS"
20742 LIBS="$ac_save_LIBS"
20743 fi
20744 fi
20745 GTK_CFLAGS=""
20746 GTK_LIBS=""
20747 :
20748 fi
20749
20750
20751 rm -f conf.gtktest
20752
20753 fi
20754 fi
20755
20756 if test -z "$wx_cv_lib_gtk"; then
20757 wx_cv_lib_gtk=none
20758 else
20759 wx_cv_cflags_gtk=$GTK_CFLAGS
20760 wx_cv_libs_gtk=$GTK_LIBS
20761 fi
20762
20763
20764 fi
20765
20766
20767 if test "$gtk_version_cached" = 1; then
20768 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20769 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20770 fi
20771
20772 case "$wx_cv_lib_gtk" in
20773 2.0) WXGTK20=1
20774 TOOLKIT_VERSION=2
20775 ;;
20776 1.2.7) WXGTK127=1
20777 WXGTK12=1
20778 ;;
20779 1.2.3) WXGTK12=1
20780 ;;
20781 *) { { echo "$as_me:$LINENO: error:
20782 Please check that gtk-config is in path, the directory
20783 where GTK+ libraries are installed (returned by
20784 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20785 equivalent variable and GTK+ is version 1.2.3 or above.
20786 " >&5
20787 echo "$as_me: error:
20788 Please check that gtk-config is in path, the directory
20789 where GTK+ libraries are installed (returned by
20790 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20791 equivalent variable and GTK+ is version 1.2.3 or above.
20792 " >&2;}
20793 { (exit 1); exit 1; }; }
20794 ;;
20795 esac
20796
20797 if test "$WXGTK20" = 1; then
20798 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20799
20800 succeeded=no
20801
20802 if test -z "$PKG_CONFIG"; then
20803 # Extract the first word of "pkg-config", so it can be a program name with args.
20804 set dummy pkg-config; ac_word=$2
20805 echo "$as_me:$LINENO: checking for $ac_word" >&5
20806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20807 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20809 else
20810 case $PKG_CONFIG in
20811 [\\/]* | ?:[\\/]*)
20812 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20813 ;;
20814 *)
20815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20816 for as_dir in $PATH
20817 do
20818 IFS=$as_save_IFS
20819 test -z "$as_dir" && as_dir=.
20820 for ac_exec_ext in '' $ac_executable_extensions; do
20821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20822 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20824 break 2
20825 fi
20826 done
20827 done
20828
20829 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20830 ;;
20831 esac
20832 fi
20833 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20834
20835 if test -n "$PKG_CONFIG"; then
20836 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20837 echo "${ECHO_T}$PKG_CONFIG" >&6
20838 else
20839 echo "$as_me:$LINENO: result: no" >&5
20840 echo "${ECHO_T}no" >&6
20841 fi
20842
20843 fi
20844
20845 if test "$PKG_CONFIG" = "no" ; then
20846 echo "*** The pkg-config script could not be found. Make sure it is"
20847 echo "*** in your path, or set the PKG_CONFIG environment variable"
20848 echo "*** to the full path to pkg-config."
20849 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20850 else
20851 PKG_CONFIG_MIN_VERSION=0.9.0
20852 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20853 echo "$as_me:$LINENO: checking for pangoft2" >&5
20854 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20855
20856 if $PKG_CONFIG --exists "pangoft2" ; then
20857 echo "$as_me:$LINENO: result: yes" >&5
20858 echo "${ECHO_T}yes" >&6
20859 succeeded=yes
20860
20861 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20862 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20863 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20864 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20865 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20866
20867 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20868 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20869 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20870 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20871 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20872 else
20873 PANGOFT2_CFLAGS=""
20874 PANGOFT2_LIBS=""
20875 ## If we have a custom action on failure, don't print errors, but
20876 ## do set a variable so people can do so.
20877 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20878
20879 fi
20880
20881
20882
20883 else
20884 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20885 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20886 fi
20887 fi
20888
20889 if test $succeeded = yes; then
20890
20891 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20892 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20893
20894 else
20895
20896 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20897 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20898 wxUSE_PRINTING_ARCHITECTURE="no"
20899
20900
20901 fi
20902
20903 fi
20904 else
20905 if test "$wxUSE_UNICODE" = "yes"; then
20906 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20907 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20908 wxUSE_UNICODE=no
20909 fi
20910 fi
20911
20912 if test "$USE_DARWIN" != 1; then
20913
20914 for ac_func in poll
20915 do
20916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20917 echo "$as_me:$LINENO: checking for $ac_func" >&5
20918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20919 if eval "test \"\${$as_ac_var+set}\" = set"; then
20920 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 else
20922 cat >conftest.$ac_ext <<_ACEOF
20923 #line $LINENO "configure"
20924 /* confdefs.h. */
20925 _ACEOF
20926 cat confdefs.h >>conftest.$ac_ext
20927 cat >>conftest.$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 /* System header to define __stub macros and hopefully few prototypes,
20930 which can conflict with char $ac_func (); below.
20931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20932 <limits.h> exists even on freestanding compilers. */
20933 #ifdef __STDC__
20934 # include <limits.h>
20935 #else
20936 # include <assert.h>
20937 #endif
20938 /* Override any gcc2 internal prototype to avoid an error. */
20939 #ifdef __cplusplus
20940 extern "C"
20941 {
20942 #endif
20943 /* We use char because int might match the return type of a gcc2
20944 builtin and then its argument prototype would still apply. */
20945 char $ac_func ();
20946 /* The GNU C library defines this for functions which it implements
20947 to always fail with ENOSYS. Some functions are actually named
20948 something starting with __ and the normal name is an alias. */
20949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20950 choke me
20951 #else
20952 char (*f) () = $ac_func;
20953 #endif
20954 #ifdef __cplusplus
20955 }
20956 #endif
20957
20958 int
20959 main ()
20960 {
20961 return f != $ac_func;
20962 ;
20963 return 0;
20964 }
20965 _ACEOF
20966 rm -f conftest.$ac_objext conftest$ac_exeext
20967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20968 (eval $ac_link) 2>&5
20969 ac_status=$?
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } &&
20972 { ac_try='test -s conftest$ac_exeext'
20973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20974 (eval $ac_try) 2>&5
20975 ac_status=$?
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); }; }; then
20978 eval "$as_ac_var=yes"
20979 else
20980 echo "$as_me: failed program was:" >&5
20981 sed 's/^/| /' conftest.$ac_ext >&5
20982
20983 eval "$as_ac_var=no"
20984 fi
20985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20986 fi
20987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20989 if test `eval echo '${'$as_ac_var'}'` = yes; then
20990 cat >>confdefs.h <<_ACEOF
20991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20992 _ACEOF
20993
20994 fi
20995 done
20996
20997 fi
20998
20999 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21000 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21001
21002 AFMINSTALL=afminstall
21003 TOOLKIT=GTK
21004 GUIDIST=GTK_DIST
21005
21006 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21007 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21008 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21010 else
21011 ac_check_lib_save_LIBS=$LIBS
21012 LIBS="-lgdk $LIBS"
21013 cat >conftest.$ac_ext <<_ACEOF
21014 #line $LINENO "configure"
21015 /* confdefs.h. */
21016 _ACEOF
21017 cat confdefs.h >>conftest.$ac_ext
21018 cat >>conftest.$ac_ext <<_ACEOF
21019 /* end confdefs.h. */
21020
21021 /* Override any gcc2 internal prototype to avoid an error. */
21022 #ifdef __cplusplus
21023 extern "C"
21024 #endif
21025 /* We use char because int might match the return type of a gcc2
21026 builtin and then its argument prototype would still apply. */
21027 char gdk_im_open ();
21028 int
21029 main ()
21030 {
21031 gdk_im_open ();
21032 ;
21033 return 0;
21034 }
21035 _ACEOF
21036 rm -f conftest.$ac_objext conftest$ac_exeext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21038 (eval $ac_link) 2>&5
21039 ac_status=$?
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); } &&
21042 { ac_try='test -s conftest$ac_exeext'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21045 ac_status=$?
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; }; then
21048 ac_cv_lib_gdk_gdk_im_open=yes
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 ac_cv_lib_gdk_gdk_im_open=no
21054 fi
21055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21056 LIBS=$ac_check_lib_save_LIBS
21057 fi
21058 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21059 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21060 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21061 cat >>confdefs.h <<\_ACEOF
21062 #define HAVE_XIM 1
21063 _ACEOF
21064
21065 fi
21066
21067 fi
21068
21069 if test "$wxUSE_MGL" = 1; then
21070 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21071 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21072 if test "x$MGL_ROOT" = x ; then
21073 echo "$as_me:$LINENO: result: not found" >&5
21074 echo "${ECHO_T}not found" >&6
21075 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21076 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21077 { (exit 1); exit 1; }; }
21078 else
21079 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21080 echo "${ECHO_T}$MGL_ROOT" >&6
21081 fi
21082
21083 echo "$as_me:$LINENO: checking for libmgl location" >&5
21084 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21085 case "${host}" in
21086 *-*-linux* )
21087 if test "x$wxUSE_SHARED" = xyes ; then
21088 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21089 else
21090 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21091 fi
21092 ;;
21093 *-pc-msdosdjgpp )
21094 mgl_os_candidates="dos32/dj2"
21095 ;;
21096 *)
21097 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21098 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21099 { (exit 1); exit 1; }; }
21100 esac
21101
21102 mgl_lib_type=""
21103 mgl_os=""
21104
21105 for mgl_os_i in $mgl_os_candidates ; do
21106 if test "x$mgl_os" = x ; then
21107 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21108 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21109 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21110 mgl_lib_type=debug
21111 mgl_os=$mgl_os_i
21112 fi
21113 fi
21114 if test "x$mgl_lib_type" = x ; then
21115 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21116 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21117 mgl_lib_type=release
21118 mgl_os=$mgl_os_i
21119 fi
21120 fi
21121 fi
21122 done
21123
21124 if test "x$mgl_os" = x ; then
21125 echo "$as_me:$LINENO: result: not found" >&5
21126 echo "${ECHO_T}not found" >&6
21127 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21128 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21129 { (exit 1); exit 1; }; }
21130 fi
21131 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21132 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21133
21134 wxUSE_UNIVERSAL="yes"
21135
21136 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21137 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21138
21139 AFMINSTALL=afminstall
21140 TOOLKIT=MGL
21141 GUIDIST=MGL_DIST
21142 fi
21143
21144 if test "$wxUSE_MICROWIN" = 1; then
21145 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21146 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21147 if test "x$MICROWINDOWS" = x ; then
21148 echo "$as_me:$LINENO: result: not found" >&5
21149 echo "${ECHO_T}not found" >&6
21150 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21151 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21152 { (exit 1); exit 1; }; }
21153 else
21154 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21155 echo "${ECHO_T}$MICROWINDOWS" >&6
21156 fi
21157
21158 if test -f $MICROWINDOWS/lib/libmwin.a; then
21159 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21160 echo "${ECHO_T}MicroWindows' libraries found." >&6
21161 else
21162 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21163 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21164 { (exit 1); exit 1; }; }
21165 fi
21166
21167 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21168 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21169
21170 wxUSE_UNIVERSAL="yes"
21171
21172 AFMINSTALL=afminstall
21173 TOOLKIT=MICROWIN
21174 GUIDIST=MICROWIN_DIST
21175
21176 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21177 fi
21178
21179 if test "$wxUSE_X11" = 1; then
21180 echo "$as_me:$LINENO: checking for X" >&5
21181 echo $ECHO_N "checking for X... $ECHO_C" >&6
21182
21183
21184 # Check whether --with-x or --without-x was given.
21185 if test "${with_x+set}" = set; then
21186 withval="$with_x"
21187
21188 fi;
21189 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21190 if test "x$with_x" = xno; then
21191 # The user explicitly disabled X.
21192 have_x=disabled
21193 else
21194 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21195 # Both variables are already set.
21196 have_x=yes
21197 else
21198 if test "${ac_cv_have_x+set}" = set; then
21199 echo $ECHO_N "(cached) $ECHO_C" >&6
21200 else
21201 # One or both of the vars are not set, and there is no cached value.
21202 ac_x_includes=no ac_x_libraries=no
21203 rm -fr conftest.dir
21204 if mkdir conftest.dir; then
21205 cd conftest.dir
21206 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21207 cat >Imakefile <<'_ACEOF'
21208 acfindx:
21209 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21210 _ACEOF
21211 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21212 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21213 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21214 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21215 for ac_extension in a so sl; do
21216 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21217 test -f $ac_im_libdir/libX11.$ac_extension; then
21218 ac_im_usrlibdir=$ac_im_libdir; break
21219 fi
21220 done
21221 # Screen out bogus values from the imake configuration. They are
21222 # bogus both because they are the default anyway, and because
21223 # using them would break gcc on systems where it needs fixed includes.
21224 case $ac_im_incroot in
21225 /usr/include) ;;
21226 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21227 esac
21228 case $ac_im_usrlibdir in
21229 /usr/lib | /lib) ;;
21230 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21231 esac
21232 fi
21233 cd ..
21234 rm -fr conftest.dir
21235 fi
21236
21237 # Standard set of common directories for X headers.
21238 # Check X11 before X11Rn because it is often a symlink to the current release.
21239 ac_x_header_dirs='
21240 /usr/X11/include
21241 /usr/X11R6/include
21242 /usr/X11R5/include
21243 /usr/X11R4/include
21244
21245 /usr/include/X11
21246 /usr/include/X11R6
21247 /usr/include/X11R5
21248 /usr/include/X11R4
21249
21250 /usr/local/X11/include
21251 /usr/local/X11R6/include
21252 /usr/local/X11R5/include
21253 /usr/local/X11R4/include
21254
21255 /usr/local/include/X11
21256 /usr/local/include/X11R6
21257 /usr/local/include/X11R5
21258 /usr/local/include/X11R4
21259
21260 /usr/X386/include
21261 /usr/x386/include
21262 /usr/XFree86/include/X11
21263
21264 /usr/include
21265 /usr/local/include
21266 /usr/unsupported/include
21267 /usr/athena/include
21268 /usr/local/x11r5/include
21269 /usr/lpp/Xamples/include
21270
21271 /usr/openwin/include
21272 /usr/openwin/share/include'
21273
21274 if test "$ac_x_includes" = no; then
21275 # Guess where to find include files, by looking for Intrinsic.h.
21276 # First, try using that file with no special directory specified.
21277 cat >conftest.$ac_ext <<_ACEOF
21278 #line $LINENO "configure"
21279 /* confdefs.h. */
21280 _ACEOF
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 #include <X11/Intrinsic.h>
21285 _ACEOF
21286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } >/dev/null; then
21294 if test -s conftest.err; then
21295 ac_cpp_err=$ac_c_preproc_warn_flag
21296 else
21297 ac_cpp_err=
21298 fi
21299 else
21300 ac_cpp_err=yes
21301 fi
21302 if test -z "$ac_cpp_err"; then
21303 # We can compile using X headers with no special include directory.
21304 ac_x_includes=
21305 else
21306 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.$ac_ext >&5
21308
21309 for ac_dir in $ac_x_header_dirs; do
21310 if test -r "$ac_dir/X11/Intrinsic.h"; then
21311 ac_x_includes=$ac_dir
21312 break
21313 fi
21314 done
21315 fi
21316 rm -f conftest.err conftest.$ac_ext
21317 fi # $ac_x_includes = no
21318
21319 if test "$ac_x_libraries" = no; then
21320 # Check for the libraries.
21321 # See if we find them without any special options.
21322 # Don't add to $LIBS permanently.
21323 ac_save_LIBS=$LIBS
21324 LIBS="-lXt $LIBS"
21325 cat >conftest.$ac_ext <<_ACEOF
21326 #line $LINENO "configure"
21327 /* confdefs.h. */
21328 _ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 #include <X11/Intrinsic.h>
21333 int
21334 main ()
21335 {
21336 XtMalloc (0)
21337 ;
21338 return 0;
21339 }
21340 _ACEOF
21341 rm -f conftest.$ac_objext conftest$ac_exeext
21342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21343 (eval $ac_link) 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); } &&
21347 { ac_try='test -s conftest$ac_exeext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21350 ac_status=$?
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 LIBS=$ac_save_LIBS
21354 # We can link X programs with no special library path.
21355 ac_x_libraries=
21356 else
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21359
21360 LIBS=$ac_save_LIBS
21361 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21362 do
21363 # Don't even attempt the hair of trying to link an X program!
21364 for ac_extension in a so sl; do
21365 if test -r $ac_dir/libXt.$ac_extension; then
21366 ac_x_libraries=$ac_dir
21367 break 2
21368 fi
21369 done
21370 done
21371 fi
21372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21373 fi # $ac_x_libraries = no
21374
21375 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21376 # Didn't find X anywhere. Cache the known absence of X.
21377 ac_cv_have_x="have_x=no"
21378 else
21379 # Record where we found X for the cache.
21380 ac_cv_have_x="have_x=yes \
21381 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21382 fi
21383 fi
21384
21385 fi
21386 eval "$ac_cv_have_x"
21387 fi # $with_x != no
21388
21389 if test "$have_x" != yes; then
21390 echo "$as_me:$LINENO: result: $have_x" >&5
21391 echo "${ECHO_T}$have_x" >&6
21392 no_x=yes
21393 else
21394 # If each of the values was on the command line, it overrides each guess.
21395 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21396 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21397 # Update the cache value to reflect the command line values.
21398 ac_cv_have_x="have_x=yes \
21399 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21400 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21401 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21402 fi
21403
21404 if test "$no_x" = yes; then
21405 # Not all programs may use this symbol, but it does not hurt to define it.
21406
21407 cat >>confdefs.h <<\_ACEOF
21408 #define X_DISPLAY_MISSING 1
21409 _ACEOF
21410
21411 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21412 else
21413 if test -n "$x_includes"; then
21414 X_CFLAGS="$X_CFLAGS -I$x_includes"
21415 fi
21416
21417 # It would also be nice to do this for all -L options, not just this one.
21418 if test -n "$x_libraries"; then
21419 X_LIBS="$X_LIBS -L$x_libraries"
21420 # For Solaris; some versions of Sun CC require a space after -R and
21421 # others require no space. Words are not sufficient . . . .
21422 case `(uname -sr) 2>/dev/null` in
21423 "SunOS 5"*)
21424 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21425 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21426 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21427 cat >conftest.$ac_ext <<_ACEOF
21428 #line $LINENO "configure"
21429 /* confdefs.h. */
21430 _ACEOF
21431 cat confdefs.h >>conftest.$ac_ext
21432 cat >>conftest.$ac_ext <<_ACEOF
21433 /* end confdefs.h. */
21434
21435 int
21436 main ()
21437 {
21438
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 rm -f conftest.$ac_objext conftest$ac_exeext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_R_nospace=yes
21456 else
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21459
21460 ac_R_nospace=no
21461 fi
21462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21463 if test $ac_R_nospace = yes; then
21464 echo "$as_me:$LINENO: result: no" >&5
21465 echo "${ECHO_T}no" >&6
21466 X_LIBS="$X_LIBS -R$x_libraries"
21467 else
21468 LIBS="$ac_xsave_LIBS -R $x_libraries"
21469 cat >conftest.$ac_ext <<_ACEOF
21470 #line $LINENO "configure"
21471 /* confdefs.h. */
21472 _ACEOF
21473 cat confdefs.h >>conftest.$ac_ext
21474 cat >>conftest.$ac_ext <<_ACEOF
21475 /* end confdefs.h. */
21476
21477 int
21478 main ()
21479 {
21480
21481 ;
21482 return 0;
21483 }
21484 _ACEOF
21485 rm -f conftest.$ac_objext conftest$ac_exeext
21486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21487 (eval $ac_link) 2>&5
21488 ac_status=$?
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } &&
21491 { ac_try='test -s conftest$ac_exeext'
21492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21493 (eval $ac_try) 2>&5
21494 ac_status=$?
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); }; }; then
21497 ac_R_space=yes
21498 else
21499 echo "$as_me: failed program was:" >&5
21500 sed 's/^/| /' conftest.$ac_ext >&5
21501
21502 ac_R_space=no
21503 fi
21504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21505 if test $ac_R_space = yes; then
21506 echo "$as_me:$LINENO: result: yes" >&5
21507 echo "${ECHO_T}yes" >&6
21508 X_LIBS="$X_LIBS -R $x_libraries"
21509 else
21510 echo "$as_me:$LINENO: result: neither works" >&5
21511 echo "${ECHO_T}neither works" >&6
21512 fi
21513 fi
21514 LIBS=$ac_xsave_LIBS
21515 esac
21516 fi
21517
21518 # Check for system-dependent libraries X programs must link with.
21519 # Do this before checking for the system-independent R6 libraries
21520 # (-lICE), since we may need -lsocket or whatever for X linking.
21521
21522 if test "$ISC" = yes; then
21523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21524 else
21525 # Martyn Johnson says this is needed for Ultrix, if the X
21526 # libraries were built with DECnet support. And Karl Berry says
21527 # the Alpha needs dnet_stub (dnet does not exist).
21528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21529 cat >conftest.$ac_ext <<_ACEOF
21530 #line $LINENO "configure"
21531 /* confdefs.h. */
21532 _ACEOF
21533 cat confdefs.h >>conftest.$ac_ext
21534 cat >>conftest.$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21536
21537 /* Override any gcc2 internal prototype to avoid an error. */
21538 #ifdef __cplusplus
21539 extern "C"
21540 #endif
21541 /* We use char because int might match the return type of a gcc2
21542 builtin and then its argument prototype would still apply. */
21543 char XOpenDisplay ();
21544 int
21545 main ()
21546 {
21547 XOpenDisplay ();
21548 ;
21549 return 0;
21550 }
21551 _ACEOF
21552 rm -f conftest.$ac_objext conftest$ac_exeext
21553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21554 (eval $ac_link) 2>&5
21555 ac_status=$?
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } &&
21558 { ac_try='test -s conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21561 ac_status=$?
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 :
21565 else
21566 echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.$ac_ext >&5
21568
21569 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21570 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21571 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21572 echo $ECHO_N "(cached) $ECHO_C" >&6
21573 else
21574 ac_check_lib_save_LIBS=$LIBS
21575 LIBS="-ldnet $LIBS"
21576 cat >conftest.$ac_ext <<_ACEOF
21577 #line $LINENO "configure"
21578 /* confdefs.h. */
21579 _ACEOF
21580 cat confdefs.h >>conftest.$ac_ext
21581 cat >>conftest.$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21583
21584 /* Override any gcc2 internal prototype to avoid an error. */
21585 #ifdef __cplusplus
21586 extern "C"
21587 #endif
21588 /* We use char because int might match the return type of a gcc2
21589 builtin and then its argument prototype would still apply. */
21590 char dnet_ntoa ();
21591 int
21592 main ()
21593 {
21594 dnet_ntoa ();
21595 ;
21596 return 0;
21597 }
21598 _ACEOF
21599 rm -f conftest.$ac_objext conftest$ac_exeext
21600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21601 (eval $ac_link) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try='test -s conftest$ac_exeext'
21606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21607 (eval $ac_try) 2>&5
21608 ac_status=$?
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); }; }; then
21611 ac_cv_lib_dnet_dnet_ntoa=yes
21612 else
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21615
21616 ac_cv_lib_dnet_dnet_ntoa=no
21617 fi
21618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21619 LIBS=$ac_check_lib_save_LIBS
21620 fi
21621 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21622 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21623 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21624 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21625 fi
21626
21627 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21628 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21629 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21630 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 else
21633 ac_check_lib_save_LIBS=$LIBS
21634 LIBS="-ldnet_stub $LIBS"
21635 cat >conftest.$ac_ext <<_ACEOF
21636 #line $LINENO "configure"
21637 /* confdefs.h. */
21638 _ACEOF
21639 cat confdefs.h >>conftest.$ac_ext
21640 cat >>conftest.$ac_ext <<_ACEOF
21641 /* end confdefs.h. */
21642
21643 /* Override any gcc2 internal prototype to avoid an error. */
21644 #ifdef __cplusplus
21645 extern "C"
21646 #endif
21647 /* We use char because int might match the return type of a gcc2
21648 builtin and then its argument prototype would still apply. */
21649 char dnet_ntoa ();
21650 int
21651 main ()
21652 {
21653 dnet_ntoa ();
21654 ;
21655 return 0;
21656 }
21657 _ACEOF
21658 rm -f conftest.$ac_objext conftest$ac_exeext
21659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21660 (eval $ac_link) 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); } &&
21664 { ac_try='test -s conftest$ac_exeext'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21671 else
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 ac_cv_lib_dnet_stub_dnet_ntoa=no
21676 fi
21677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21678 LIBS=$ac_check_lib_save_LIBS
21679 fi
21680 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21681 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21682 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21683 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21684 fi
21685
21686 fi
21687 fi
21688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21689 LIBS="$ac_xsave_LIBS"
21690
21691 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21692 # to get the SysV transport functions.
21693 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21694 # needs -lnsl.
21695 # The nsl library prevents programs from opening the X display
21696 # on Irix 5.2, according to T.E. Dickey.
21697 # The functions gethostbyname, getservbyname, and inet_addr are
21698 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21699 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21700 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21701 if test "${ac_cv_func_gethostbyname+set}" = set; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21703 else
21704 cat >conftest.$ac_ext <<_ACEOF
21705 #line $LINENO "configure"
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 /* System header to define __stub macros and hopefully few prototypes,
21712 which can conflict with char gethostbyname (); below.
21713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21714 <limits.h> exists even on freestanding compilers. */
21715 #ifdef __STDC__
21716 # include <limits.h>
21717 #else
21718 # include <assert.h>
21719 #endif
21720 /* Override any gcc2 internal prototype to avoid an error. */
21721 #ifdef __cplusplus
21722 extern "C"
21723 {
21724 #endif
21725 /* We use char because int might match the return type of a gcc2
21726 builtin and then its argument prototype would still apply. */
21727 char gethostbyname ();
21728 /* The GNU C library defines this for functions which it implements
21729 to always fail with ENOSYS. Some functions are actually named
21730 something starting with __ and the normal name is an alias. */
21731 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21732 choke me
21733 #else
21734 char (*f) () = gethostbyname;
21735 #endif
21736 #ifdef __cplusplus
21737 }
21738 #endif
21739
21740 int
21741 main ()
21742 {
21743 return f != gethostbyname;
21744 ;
21745 return 0;
21746 }
21747 _ACEOF
21748 rm -f conftest.$ac_objext conftest$ac_exeext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21750 (eval $ac_link) 2>&5
21751 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -s conftest$ac_exeext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then
21760 ac_cv_func_gethostbyname=yes
21761 else
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5
21764
21765 ac_cv_func_gethostbyname=no
21766 fi
21767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21768 fi
21769 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21770 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21771
21772 if test $ac_cv_func_gethostbyname = no; then
21773 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21774 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21775 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21776 echo $ECHO_N "(cached) $ECHO_C" >&6
21777 else
21778 ac_check_lib_save_LIBS=$LIBS
21779 LIBS="-lnsl $LIBS"
21780 cat >conftest.$ac_ext <<_ACEOF
21781 #line $LINENO "configure"
21782 /* confdefs.h. */
21783 _ACEOF
21784 cat confdefs.h >>conftest.$ac_ext
21785 cat >>conftest.$ac_ext <<_ACEOF
21786 /* end confdefs.h. */
21787
21788 /* Override any gcc2 internal prototype to avoid an error. */
21789 #ifdef __cplusplus
21790 extern "C"
21791 #endif
21792 /* We use char because int might match the return type of a gcc2
21793 builtin and then its argument prototype would still apply. */
21794 char gethostbyname ();
21795 int
21796 main ()
21797 {
21798 gethostbyname ();
21799 ;
21800 return 0;
21801 }
21802 _ACEOF
21803 rm -f conftest.$ac_objext conftest$ac_exeext
21804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21805 (eval $ac_link) 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); } &&
21809 { ac_try='test -s conftest$ac_exeext'
21810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21811 (eval $ac_try) 2>&5
21812 ac_status=$?
21813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21814 (exit $ac_status); }; }; then
21815 ac_cv_lib_nsl_gethostbyname=yes
21816 else
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.$ac_ext >&5
21819
21820 ac_cv_lib_nsl_gethostbyname=no
21821 fi
21822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21823 LIBS=$ac_check_lib_save_LIBS
21824 fi
21825 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21826 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21827 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21828 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21829 fi
21830
21831 if test $ac_cv_lib_nsl_gethostbyname = no; then
21832 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21833 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21834 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21835 echo $ECHO_N "(cached) $ECHO_C" >&6
21836 else
21837 ac_check_lib_save_LIBS=$LIBS
21838 LIBS="-lbsd $LIBS"
21839 cat >conftest.$ac_ext <<_ACEOF
21840 #line $LINENO "configure"
21841 /* confdefs.h. */
21842 _ACEOF
21843 cat confdefs.h >>conftest.$ac_ext
21844 cat >>conftest.$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846
21847 /* Override any gcc2 internal prototype to avoid an error. */
21848 #ifdef __cplusplus
21849 extern "C"
21850 #endif
21851 /* We use char because int might match the return type of a gcc2
21852 builtin and then its argument prototype would still apply. */
21853 char gethostbyname ();
21854 int
21855 main ()
21856 {
21857 gethostbyname ();
21858 ;
21859 return 0;
21860 }
21861 _ACEOF
21862 rm -f conftest.$ac_objext conftest$ac_exeext
21863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21864 (eval $ac_link) 2>&5
21865 ac_status=$?
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try='test -s conftest$ac_exeext'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; }; then
21874 ac_cv_lib_bsd_gethostbyname=yes
21875 else
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21878
21879 ac_cv_lib_bsd_gethostbyname=no
21880 fi
21881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21882 LIBS=$ac_check_lib_save_LIBS
21883 fi
21884 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21885 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21886 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21887 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21888 fi
21889
21890 fi
21891 fi
21892
21893 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21894 # socket/setsockopt and other routines are undefined under SCO ODT
21895 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21896 # on later versions), says Simon Leinen: it contains gethostby*
21897 # variants that don't use the name server (or something). -lsocket
21898 # must be given before -lnsl if both are needed. We assume that
21899 # if connect needs -lnsl, so does gethostbyname.
21900 echo "$as_me:$LINENO: checking for connect" >&5
21901 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21902 if test "${ac_cv_func_connect+set}" = set; then
21903 echo $ECHO_N "(cached) $ECHO_C" >&6
21904 else
21905 cat >conftest.$ac_ext <<_ACEOF
21906 #line $LINENO "configure"
21907 /* confdefs.h. */
21908 _ACEOF
21909 cat confdefs.h >>conftest.$ac_ext
21910 cat >>conftest.$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 /* System header to define __stub macros and hopefully few prototypes,
21913 which can conflict with char connect (); below.
21914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21915 <limits.h> exists even on freestanding compilers. */
21916 #ifdef __STDC__
21917 # include <limits.h>
21918 #else
21919 # include <assert.h>
21920 #endif
21921 /* Override any gcc2 internal prototype to avoid an error. */
21922 #ifdef __cplusplus
21923 extern "C"
21924 {
21925 #endif
21926 /* We use char because int might match the return type of a gcc2
21927 builtin and then its argument prototype would still apply. */
21928 char connect ();
21929 /* The GNU C library defines this for functions which it implements
21930 to always fail with ENOSYS. Some functions are actually named
21931 something starting with __ and the normal name is an alias. */
21932 #if defined (__stub_connect) || defined (__stub___connect)
21933 choke me
21934 #else
21935 char (*f) () = connect;
21936 #endif
21937 #ifdef __cplusplus
21938 }
21939 #endif
21940
21941 int
21942 main ()
21943 {
21944 return f != connect;
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext conftest$ac_exeext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951 (eval $ac_link) 2>&5
21952 ac_status=$?
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } &&
21955 { ac_try='test -s conftest$ac_exeext'
21956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21957 (eval $ac_try) 2>&5
21958 ac_status=$?
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; }; then
21961 ac_cv_func_connect=yes
21962 else
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21965
21966 ac_cv_func_connect=no
21967 fi
21968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21969 fi
21970 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21971 echo "${ECHO_T}$ac_cv_func_connect" >&6
21972
21973 if test $ac_cv_func_connect = no; then
21974 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21975 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21976 if test "${ac_cv_lib_socket_connect+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 else
21979 ac_check_lib_save_LIBS=$LIBS
21980 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21981 cat >conftest.$ac_ext <<_ACEOF
21982 #line $LINENO "configure"
21983 /* confdefs.h. */
21984 _ACEOF
21985 cat confdefs.h >>conftest.$ac_ext
21986 cat >>conftest.$ac_ext <<_ACEOF
21987 /* end confdefs.h. */
21988
21989 /* Override any gcc2 internal prototype to avoid an error. */
21990 #ifdef __cplusplus
21991 extern "C"
21992 #endif
21993 /* We use char because int might match the return type of a gcc2
21994 builtin and then its argument prototype would still apply. */
21995 char connect ();
21996 int
21997 main ()
21998 {
21999 connect ();
22000 ;
22001 return 0;
22002 }
22003 _ACEOF
22004 rm -f conftest.$ac_objext conftest$ac_exeext
22005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22006 (eval $ac_link) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try='test -s conftest$ac_exeext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_cv_lib_socket_connect=yes
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 ac_cv_lib_socket_connect=no
22022 fi
22023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22024 LIBS=$ac_check_lib_save_LIBS
22025 fi
22026 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22027 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22028 if test $ac_cv_lib_socket_connect = yes; then
22029 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22030 fi
22031
22032 fi
22033
22034 # Guillermo Gomez says -lposix is necessary on A/UX.
22035 echo "$as_me:$LINENO: checking for remove" >&5
22036 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22037 if test "${ac_cv_func_remove+set}" = set; then
22038 echo $ECHO_N "(cached) $ECHO_C" >&6
22039 else
22040 cat >conftest.$ac_ext <<_ACEOF
22041 #line $LINENO "configure"
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 /* System header to define __stub macros and hopefully few prototypes,
22048 which can conflict with char remove (); below.
22049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22050 <limits.h> exists even on freestanding compilers. */
22051 #ifdef __STDC__
22052 # include <limits.h>
22053 #else
22054 # include <assert.h>
22055 #endif
22056 /* Override any gcc2 internal prototype to avoid an error. */
22057 #ifdef __cplusplus
22058 extern "C"
22059 {
22060 #endif
22061 /* We use char because int might match the return type of a gcc2
22062 builtin and then its argument prototype would still apply. */
22063 char remove ();
22064 /* The GNU C library defines this for functions which it implements
22065 to always fail with ENOSYS. Some functions are actually named
22066 something starting with __ and the normal name is an alias. */
22067 #if defined (__stub_remove) || defined (__stub___remove)
22068 choke me
22069 #else
22070 char (*f) () = remove;
22071 #endif
22072 #ifdef __cplusplus
22073 }
22074 #endif
22075
22076 int
22077 main ()
22078 {
22079 return f != remove;
22080 ;
22081 return 0;
22082 }
22083 _ACEOF
22084 rm -f conftest.$ac_objext conftest$ac_exeext
22085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22086 (eval $ac_link) 2>&5
22087 ac_status=$?
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try='test -s conftest$ac_exeext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22093 ac_status=$?
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 ac_cv_func_remove=yes
22097 else
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.$ac_ext >&5
22100
22101 ac_cv_func_remove=no
22102 fi
22103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22104 fi
22105 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22106 echo "${ECHO_T}$ac_cv_func_remove" >&6
22107
22108 if test $ac_cv_func_remove = no; then
22109 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22110 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22111 if test "${ac_cv_lib_posix_remove+set}" = set; then
22112 echo $ECHO_N "(cached) $ECHO_C" >&6
22113 else
22114 ac_check_lib_save_LIBS=$LIBS
22115 LIBS="-lposix $LIBS"
22116 cat >conftest.$ac_ext <<_ACEOF
22117 #line $LINENO "configure"
22118 /* confdefs.h. */
22119 _ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123
22124 /* Override any gcc2 internal prototype to avoid an error. */
22125 #ifdef __cplusplus
22126 extern "C"
22127 #endif
22128 /* We use char because int might match the return type of a gcc2
22129 builtin and then its argument prototype would still apply. */
22130 char remove ();
22131 int
22132 main ()
22133 {
22134 remove ();
22135 ;
22136 return 0;
22137 }
22138 _ACEOF
22139 rm -f conftest.$ac_objext conftest$ac_exeext
22140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22141 (eval $ac_link) 2>&5
22142 ac_status=$?
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } &&
22145 { ac_try='test -s conftest$ac_exeext'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 ac_cv_lib_posix_remove=yes
22152 else
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22155
22156 ac_cv_lib_posix_remove=no
22157 fi
22158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22159 LIBS=$ac_check_lib_save_LIBS
22160 fi
22161 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22162 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22163 if test $ac_cv_lib_posix_remove = yes; then
22164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22165 fi
22166
22167 fi
22168
22169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22170 echo "$as_me:$LINENO: checking for shmat" >&5
22171 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22172 if test "${ac_cv_func_shmat+set}" = set; then
22173 echo $ECHO_N "(cached) $ECHO_C" >&6
22174 else
22175 cat >conftest.$ac_ext <<_ACEOF
22176 #line $LINENO "configure"
22177 /* confdefs.h. */
22178 _ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182 /* System header to define __stub macros and hopefully few prototypes,
22183 which can conflict with char shmat (); below.
22184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22185 <limits.h> exists even on freestanding compilers. */
22186 #ifdef __STDC__
22187 # include <limits.h>
22188 #else
22189 # include <assert.h>
22190 #endif
22191 /* Override any gcc2 internal prototype to avoid an error. */
22192 #ifdef __cplusplus
22193 extern "C"
22194 {
22195 #endif
22196 /* We use char because int might match the return type of a gcc2
22197 builtin and then its argument prototype would still apply. */
22198 char shmat ();
22199 /* The GNU C library defines this for functions which it implements
22200 to always fail with ENOSYS. Some functions are actually named
22201 something starting with __ and the normal name is an alias. */
22202 #if defined (__stub_shmat) || defined (__stub___shmat)
22203 choke me
22204 #else
22205 char (*f) () = shmat;
22206 #endif
22207 #ifdef __cplusplus
22208 }
22209 #endif
22210
22211 int
22212 main ()
22213 {
22214 return f != shmat;
22215 ;
22216 return 0;
22217 }
22218 _ACEOF
22219 rm -f conftest.$ac_objext conftest$ac_exeext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22221 (eval $ac_link) 2>&5
22222 ac_status=$?
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } &&
22225 { ac_try='test -s conftest$ac_exeext'
22226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22227 (eval $ac_try) 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); }; }; then
22231 ac_cv_func_shmat=yes
22232 else
22233 echo "$as_me: failed program was:" >&5
22234 sed 's/^/| /' conftest.$ac_ext >&5
22235
22236 ac_cv_func_shmat=no
22237 fi
22238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22239 fi
22240 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22241 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22242
22243 if test $ac_cv_func_shmat = no; then
22244 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22245 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22246 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 else
22249 ac_check_lib_save_LIBS=$LIBS
22250 LIBS="-lipc $LIBS"
22251 cat >conftest.$ac_ext <<_ACEOF
22252 #line $LINENO "configure"
22253 /* confdefs.h. */
22254 _ACEOF
22255 cat confdefs.h >>conftest.$ac_ext
22256 cat >>conftest.$ac_ext <<_ACEOF
22257 /* end confdefs.h. */
22258
22259 /* Override any gcc2 internal prototype to avoid an error. */
22260 #ifdef __cplusplus
22261 extern "C"
22262 #endif
22263 /* We use char because int might match the return type of a gcc2
22264 builtin and then its argument prototype would still apply. */
22265 char shmat ();
22266 int
22267 main ()
22268 {
22269 shmat ();
22270 ;
22271 return 0;
22272 }
22273 _ACEOF
22274 rm -f conftest.$ac_objext conftest$ac_exeext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22276 (eval $ac_link) 2>&5
22277 ac_status=$?
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } &&
22280 { ac_try='test -s conftest$ac_exeext'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22283 ac_status=$?
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; }; then
22286 ac_cv_lib_ipc_shmat=yes
22287 else
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22290
22291 ac_cv_lib_ipc_shmat=no
22292 fi
22293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22294 LIBS=$ac_check_lib_save_LIBS
22295 fi
22296 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22297 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22298 if test $ac_cv_lib_ipc_shmat = yes; then
22299 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22300 fi
22301
22302 fi
22303 fi
22304
22305 # Check for libraries that X11R6 Xt/Xaw programs need.
22306 ac_save_LDFLAGS=$LDFLAGS
22307 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22308 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22309 # check for ICE first), but we must link in the order -lSM -lICE or
22310 # we get undefined symbols. So assume we have SM if we have ICE.
22311 # These have to be linked with before -lX11, unlike the other
22312 # libraries we check for below, so use a different variable.
22313 # John Interrante, Karl Berry
22314 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22315 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22316 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22317 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 else
22319 ac_check_lib_save_LIBS=$LIBS
22320 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22321 cat >conftest.$ac_ext <<_ACEOF
22322 #line $LINENO "configure"
22323 /* confdefs.h. */
22324 _ACEOF
22325 cat confdefs.h >>conftest.$ac_ext
22326 cat >>conftest.$ac_ext <<_ACEOF
22327 /* end confdefs.h. */
22328
22329 /* Override any gcc2 internal prototype to avoid an error. */
22330 #ifdef __cplusplus
22331 extern "C"
22332 #endif
22333 /* We use char because int might match the return type of a gcc2
22334 builtin and then its argument prototype would still apply. */
22335 char IceConnectionNumber ();
22336 int
22337 main ()
22338 {
22339 IceConnectionNumber ();
22340 ;
22341 return 0;
22342 }
22343 _ACEOF
22344 rm -f conftest.$ac_objext conftest$ac_exeext
22345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22346 (eval $ac_link) 2>&5
22347 ac_status=$?
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } &&
22350 { ac_try='test -s conftest$ac_exeext'
22351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352 (eval $ac_try) 2>&5
22353 ac_status=$?
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; }; then
22356 ac_cv_lib_ICE_IceConnectionNumber=yes
22357 else
22358 echo "$as_me: failed program was:" >&5
22359 sed 's/^/| /' conftest.$ac_ext >&5
22360
22361 ac_cv_lib_ICE_IceConnectionNumber=no
22362 fi
22363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22364 LIBS=$ac_check_lib_save_LIBS
22365 fi
22366 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22367 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22368 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22369 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22370 fi
22371
22372 LDFLAGS=$ac_save_LDFLAGS
22373
22374 fi
22375
22376
22377 if test "$no_x" = "yes"; then
22378 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22379 echo "$as_me: error: X11 not found" >&2;}
22380 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22381 fi
22382
22383 GUI_TK_LIBRARY="$X_LIBS"
22384 TOOLKIT_INCLUDE="$X_CFLAGS"
22385 AFMINSTALL=afminstall
22386 COMPILED_X_PROGRAM=0
22387
22388 if test "$wxUSE_NANOX" = "yes"; then
22389 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22390 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22391 if test "x$MICROWIN" = x ; then
22392 echo "$as_me:$LINENO: result: not found" >&5
22393 echo "${ECHO_T}not found" >&6
22394 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22395 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22396 { (exit 1); exit 1; }; }
22397 else
22398 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22399 echo "${ECHO_T}$MICROWIN" >&6
22400 cat >>confdefs.h <<\_ACEOF
22401 #define wxUSE_NANOX 1
22402 _ACEOF
22403
22404 fi
22405 fi
22406
22407 xpm_link=
22408 echo "$as_me:$LINENO: checking for Xpm library" >&5
22409 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22410
22411 ac_find_libraries=
22412 for ac_dir in $SEARCH_LIB /usr/lib;
22413 do
22414 for ac_extension in a so sl dylib; do
22415 if test -f "$ac_dir/libXpm.$ac_extension"; then
22416 ac_find_libraries=$ac_dir
22417 break 2
22418 fi
22419 done
22420 done
22421
22422 if test "$ac_find_libraries" != "" ; then
22423
22424 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22425 result=$?
22426 if test $result = 0; then
22427 ac_path_to_link=""
22428 else
22429 ac_path_to_link=" -L$ac_find_libraries"
22430 fi
22431
22432 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22433 xpm_link=" -lXpm"
22434 cat >>confdefs.h <<\_ACEOF
22435 #define wxHAVE_LIB_XPM 1
22436 _ACEOF
22437
22438 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22439 echo "${ECHO_T}found at $ac_find_libraries" >&6
22440 else
22441 cat >conftest.$ac_ext <<_ACEOF
22442 #line $LINENO "configure"
22443 /* confdefs.h. */
22444 _ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448
22449 #include <X11/xpm.h>
22450
22451 int
22452 main ()
22453 {
22454
22455 int version;
22456 version = XpmLibraryVersion();
22457
22458 ;
22459 return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22464 (eval $ac_compile) 2>&5
22465 ac_status=$?
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474
22475 xpm_link=" -lXpm"
22476 cat >>confdefs.h <<\_ACEOF
22477 #define wxHAVE_LIB_XPM 1
22478 _ACEOF
22479
22480 echo "$as_me:$LINENO: result: found in default search path" >&5
22481 echo "${ECHO_T}found in default search path" >&6
22482 COMPILED_X_PROGRAM=0
22483
22484 else
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22487
22488
22489 echo "$as_me:$LINENO: result: no" >&5
22490 echo "${ECHO_T}no" >&6
22491 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22492 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22493
22494
22495 fi
22496 rm -f conftest.$ac_objext conftest.$ac_ext
22497 fi
22498
22499 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22500 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22501 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 else
22504 ac_check_lib_save_LIBS=$LIBS
22505 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22506 cat >conftest.$ac_ext <<_ACEOF
22507 #line $LINENO "configure"
22508 /* confdefs.h. */
22509 _ACEOF
22510 cat confdefs.h >>conftest.$ac_ext
22511 cat >>conftest.$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22513
22514 /* Override any gcc2 internal prototype to avoid an error. */
22515 #ifdef __cplusplus
22516 extern "C"
22517 #endif
22518 /* We use char because int might match the return type of a gcc2
22519 builtin and then its argument prototype would still apply. */
22520 char XShapeQueryExtension ();
22521 int
22522 main ()
22523 {
22524 XShapeQueryExtension ();
22525 ;
22526 return 0;
22527 }
22528 _ACEOF
22529 rm -f conftest.$ac_objext conftest$ac_exeext
22530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22531 (eval $ac_link) 2>&5
22532 ac_status=$?
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); } &&
22535 { ac_try='test -s conftest$ac_exeext'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22538 ac_status=$?
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_cv_lib_Xext_XShapeQueryExtension=yes
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22545
22546 ac_cv_lib_Xext_XShapeQueryExtension=no
22547 fi
22548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22549 LIBS=$ac_check_lib_save_LIBS
22550 fi
22551 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22552 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22553 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22554
22555 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22556 wxHAVE_XEXT_LIB=1
22557
22558 fi
22559
22560
22561 if test "$wxUSE_UNICODE" = "yes"; then
22562
22563 succeeded=no
22564
22565 if test -z "$PKG_CONFIG"; then
22566 # Extract the first word of "pkg-config", so it can be a program name with args.
22567 set dummy pkg-config; ac_word=$2
22568 echo "$as_me:$LINENO: checking for $ac_word" >&5
22569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22570 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22571 echo $ECHO_N "(cached) $ECHO_C" >&6
22572 else
22573 case $PKG_CONFIG in
22574 [\\/]* | ?:[\\/]*)
22575 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22576 ;;
22577 *)
22578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22579 for as_dir in $PATH
22580 do
22581 IFS=$as_save_IFS
22582 test -z "$as_dir" && as_dir=.
22583 for ac_exec_ext in '' $ac_executable_extensions; do
22584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22585 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22587 break 2
22588 fi
22589 done
22590 done
22591
22592 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22593 ;;
22594 esac
22595 fi
22596 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22597
22598 if test -n "$PKG_CONFIG"; then
22599 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22600 echo "${ECHO_T}$PKG_CONFIG" >&6
22601 else
22602 echo "$as_me:$LINENO: result: no" >&5
22603 echo "${ECHO_T}no" >&6
22604 fi
22605
22606 fi
22607
22608 if test "$PKG_CONFIG" = "no" ; then
22609 echo "*** The pkg-config script could not be found. Make sure it is"
22610 echo "*** in your path, or set the PKG_CONFIG environment variable"
22611 echo "*** to the full path to pkg-config."
22612 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22613 else
22614 PKG_CONFIG_MIN_VERSION=0.9.0
22615 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22616 echo "$as_me:$LINENO: checking for pangox" >&5
22617 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22618
22619 if $PKG_CONFIG --exists "pangox" ; then
22620 echo "$as_me:$LINENO: result: yes" >&5
22621 echo "${ECHO_T}yes" >&6
22622 succeeded=yes
22623
22624 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22625 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22626 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22627 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22628 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22629
22630 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22631 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22632 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22633 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22634 echo "${ECHO_T}$PANGOX_LIBS" >&6
22635 else
22636 PANGOX_CFLAGS=""
22637 PANGOX_LIBS=""
22638 ## If we have a custom action on failure, don't print errors, but
22639 ## do set a variable so people can do so.
22640 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22641
22642 fi
22643
22644
22645
22646 else
22647 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22648 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22649 fi
22650 fi
22651
22652 if test $succeeded = yes; then
22653
22654 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22655 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22656
22657 else
22658
22659 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22660 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22661 { (exit 1); exit 1; }; }
22662
22663
22664 fi
22665
22666
22667 succeeded=no
22668
22669 if test -z "$PKG_CONFIG"; then
22670 # Extract the first word of "pkg-config", so it can be a program name with args.
22671 set dummy pkg-config; ac_word=$2
22672 echo "$as_me:$LINENO: checking for $ac_word" >&5
22673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22674 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22675 echo $ECHO_N "(cached) $ECHO_C" >&6
22676 else
22677 case $PKG_CONFIG in
22678 [\\/]* | ?:[\\/]*)
22679 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22680 ;;
22681 *)
22682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22683 for as_dir in $PATH
22684 do
22685 IFS=$as_save_IFS
22686 test -z "$as_dir" && as_dir=.
22687 for ac_exec_ext in '' $ac_executable_extensions; do
22688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22689 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22691 break 2
22692 fi
22693 done
22694 done
22695
22696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22697 ;;
22698 esac
22699 fi
22700 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22701
22702 if test -n "$PKG_CONFIG"; then
22703 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22704 echo "${ECHO_T}$PKG_CONFIG" >&6
22705 else
22706 echo "$as_me:$LINENO: result: no" >&5
22707 echo "${ECHO_T}no" >&6
22708 fi
22709
22710 fi
22711
22712 if test "$PKG_CONFIG" = "no" ; then
22713 echo "*** The pkg-config script could not be found. Make sure it is"
22714 echo "*** in your path, or set the PKG_CONFIG environment variable"
22715 echo "*** to the full path to pkg-config."
22716 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22717 else
22718 PKG_CONFIG_MIN_VERSION=0.9.0
22719 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22720 echo "$as_me:$LINENO: checking for pangoft2" >&5
22721 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22722
22723 if $PKG_CONFIG --exists "pangoft2" ; then
22724 echo "$as_me:$LINENO: result: yes" >&5
22725 echo "${ECHO_T}yes" >&6
22726 succeeded=yes
22727
22728 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22729 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22730 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22731 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22732 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22733
22734 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22735 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22736 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22737 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22738 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22739 else
22740 PANGOFT2_CFLAGS=""
22741 PANGOFT2_LIBS=""
22742 ## If we have a custom action on failure, don't print errors, but
22743 ## do set a variable so people can do so.
22744 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22745
22746 fi
22747
22748
22749
22750 else
22751 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22752 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22753 fi
22754 fi
22755
22756 if test $succeeded = yes; then
22757
22758 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22760
22761 else
22762
22763 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22764 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22765 wxUSE_PRINTING_ARCHITECTURE="no"
22766
22767
22768 fi
22769
22770
22771 succeeded=no
22772
22773 if test -z "$PKG_CONFIG"; then
22774 # Extract the first word of "pkg-config", so it can be a program name with args.
22775 set dummy pkg-config; ac_word=$2
22776 echo "$as_me:$LINENO: checking for $ac_word" >&5
22777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22778 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22779 echo $ECHO_N "(cached) $ECHO_C" >&6
22780 else
22781 case $PKG_CONFIG in
22782 [\\/]* | ?:[\\/]*)
22783 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22784 ;;
22785 *)
22786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22787 for as_dir in $PATH
22788 do
22789 IFS=$as_save_IFS
22790 test -z "$as_dir" && as_dir=.
22791 for ac_exec_ext in '' $ac_executable_extensions; do
22792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22793 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22795 break 2
22796 fi
22797 done
22798 done
22799
22800 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22801 ;;
22802 esac
22803 fi
22804 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22805
22806 if test -n "$PKG_CONFIG"; then
22807 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22808 echo "${ECHO_T}$PKG_CONFIG" >&6
22809 else
22810 echo "$as_me:$LINENO: result: no" >&5
22811 echo "${ECHO_T}no" >&6
22812 fi
22813
22814 fi
22815
22816 if test "$PKG_CONFIG" = "no" ; then
22817 echo "*** The pkg-config script could not be found. Make sure it is"
22818 echo "*** in your path, or set the PKG_CONFIG environment variable"
22819 echo "*** to the full path to pkg-config."
22820 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22821 else
22822 PKG_CONFIG_MIN_VERSION=0.9.0
22823 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22824 echo "$as_me:$LINENO: checking for pangoxft" >&5
22825 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22826
22827 if $PKG_CONFIG --exists "pangoxft" ; then
22828 echo "$as_me:$LINENO: result: yes" >&5
22829 echo "${ECHO_T}yes" >&6
22830 succeeded=yes
22831
22832 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22833 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22834 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22835 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22836 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22837
22838 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22839 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22840 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22841 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22842 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22843 else
22844 PANGOXFT_CFLAGS=""
22845 PANGOXFT_LIBS=""
22846 ## If we have a custom action on failure, don't print errors, but
22847 ## do set a variable so people can do so.
22848 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22849
22850 fi
22851
22852
22853
22854 else
22855 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22856 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22857 fi
22858 fi
22859
22860 if test $succeeded = yes; then
22861
22862 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22863 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22864
22865 else
22866
22867 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22868 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22869
22870
22871 fi
22872
22873 fi
22874
22875 wxUSE_UNIVERSAL="yes"
22876
22877 if test "$wxUSE_NANOX" = "yes"; then
22878 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22879 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"
22880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22881 else
22882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22883 fi
22884
22885 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22886 TOOLKIT=X11
22887 GUIDIST=X11_DIST
22888 fi
22889
22890 if test "$wxUSE_MOTIF" = 1; then
22891 if test "$no_x" = yes; then
22892 # Not all programs may use this symbol, but it does not hurt to define it.
22893
22894 cat >>confdefs.h <<\_ACEOF
22895 #define X_DISPLAY_MISSING 1
22896 _ACEOF
22897
22898 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22899 else
22900 if test -n "$x_includes"; then
22901 X_CFLAGS="$X_CFLAGS -I$x_includes"
22902 fi
22903
22904 # It would also be nice to do this for all -L options, not just this one.
22905 if test -n "$x_libraries"; then
22906 X_LIBS="$X_LIBS -L$x_libraries"
22907 # For Solaris; some versions of Sun CC require a space after -R and
22908 # others require no space. Words are not sufficient . . . .
22909 case `(uname -sr) 2>/dev/null` in
22910 "SunOS 5"*)
22911 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22912 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22913 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22914 cat >conftest.$ac_ext <<_ACEOF
22915 #line $LINENO "configure"
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921
22922 int
22923 main ()
22924 {
22925
22926 ;
22927 return 0;
22928 }
22929 _ACEOF
22930 rm -f conftest.$ac_objext conftest$ac_exeext
22931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -s conftest$ac_exeext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22939 ac_status=$?
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_R_nospace=yes
22943 else
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.$ac_ext >&5
22946
22947 ac_R_nospace=no
22948 fi
22949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22950 if test $ac_R_nospace = yes; then
22951 echo "$as_me:$LINENO: result: no" >&5
22952 echo "${ECHO_T}no" >&6
22953 X_LIBS="$X_LIBS -R$x_libraries"
22954 else
22955 LIBS="$ac_xsave_LIBS -R $x_libraries"
22956 cat >conftest.$ac_ext <<_ACEOF
22957 #line $LINENO "configure"
22958 /* confdefs.h. */
22959 _ACEOF
22960 cat confdefs.h >>conftest.$ac_ext
22961 cat >>conftest.$ac_ext <<_ACEOF
22962 /* end confdefs.h. */
22963
22964 int
22965 main ()
22966 {
22967
22968 ;
22969 return 0;
22970 }
22971 _ACEOF
22972 rm -f conftest.$ac_objext conftest$ac_exeext
22973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22974 (eval $ac_link) 2>&5
22975 ac_status=$?
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try='test -s conftest$ac_exeext'
22979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22980 (eval $ac_try) 2>&5
22981 ac_status=$?
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); }; }; then
22984 ac_R_space=yes
22985 else
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22988
22989 ac_R_space=no
22990 fi
22991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22992 if test $ac_R_space = yes; then
22993 echo "$as_me:$LINENO: result: yes" >&5
22994 echo "${ECHO_T}yes" >&6
22995 X_LIBS="$X_LIBS -R $x_libraries"
22996 else
22997 echo "$as_me:$LINENO: result: neither works" >&5
22998 echo "${ECHO_T}neither works" >&6
22999 fi
23000 fi
23001 LIBS=$ac_xsave_LIBS
23002 esac
23003 fi
23004
23005 # Check for system-dependent libraries X programs must link with.
23006 # Do this before checking for the system-independent R6 libraries
23007 # (-lICE), since we may need -lsocket or whatever for X linking.
23008
23009 if test "$ISC" = yes; then
23010 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23011 else
23012 # Martyn Johnson says this is needed for Ultrix, if the X
23013 # libraries were built with DECnet support. And Karl Berry says
23014 # the Alpha needs dnet_stub (dnet does not exist).
23015 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23016 cat >conftest.$ac_ext <<_ACEOF
23017 #line $LINENO "configure"
23018 /* confdefs.h. */
23019 _ACEOF
23020 cat confdefs.h >>conftest.$ac_ext
23021 cat >>conftest.$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23023
23024 /* Override any gcc2 internal prototype to avoid an error. */
23025 #ifdef __cplusplus
23026 extern "C"
23027 #endif
23028 /* We use char because int might match the return type of a gcc2
23029 builtin and then its argument prototype would still apply. */
23030 char XOpenDisplay ();
23031 int
23032 main ()
23033 {
23034 XOpenDisplay ();
23035 ;
23036 return 0;
23037 }
23038 _ACEOF
23039 rm -f conftest.$ac_objext conftest$ac_exeext
23040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23041 (eval $ac_link) 2>&5
23042 ac_status=$?
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); } &&
23045 { ac_try='test -s conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23048 ac_status=$?
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 :
23052 else
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23055
23056 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23057 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23058 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23059 echo $ECHO_N "(cached) $ECHO_C" >&6
23060 else
23061 ac_check_lib_save_LIBS=$LIBS
23062 LIBS="-ldnet $LIBS"
23063 cat >conftest.$ac_ext <<_ACEOF
23064 #line $LINENO "configure"
23065 /* confdefs.h. */
23066 _ACEOF
23067 cat confdefs.h >>conftest.$ac_ext
23068 cat >>conftest.$ac_ext <<_ACEOF
23069 /* end confdefs.h. */
23070
23071 /* Override any gcc2 internal prototype to avoid an error. */
23072 #ifdef __cplusplus
23073 extern "C"
23074 #endif
23075 /* We use char because int might match the return type of a gcc2
23076 builtin and then its argument prototype would still apply. */
23077 char dnet_ntoa ();
23078 int
23079 main ()
23080 {
23081 dnet_ntoa ();
23082 ;
23083 return 0;
23084 }
23085 _ACEOF
23086 rm -f conftest.$ac_objext conftest$ac_exeext
23087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23088 (eval $ac_link) 2>&5
23089 ac_status=$?
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } &&
23092 { ac_try='test -s conftest$ac_exeext'
23093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23094 (eval $ac_try) 2>&5
23095 ac_status=$?
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); }; }; then
23098 ac_cv_lib_dnet_dnet_ntoa=yes
23099 else
23100 echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.$ac_ext >&5
23102
23103 ac_cv_lib_dnet_dnet_ntoa=no
23104 fi
23105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23106 LIBS=$ac_check_lib_save_LIBS
23107 fi
23108 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23109 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23110 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23111 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23112 fi
23113
23114 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23115 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23116 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23117 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23118 echo $ECHO_N "(cached) $ECHO_C" >&6
23119 else
23120 ac_check_lib_save_LIBS=$LIBS
23121 LIBS="-ldnet_stub $LIBS"
23122 cat >conftest.$ac_ext <<_ACEOF
23123 #line $LINENO "configure"
23124 /* confdefs.h. */
23125 _ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129
23130 /* Override any gcc2 internal prototype to avoid an error. */
23131 #ifdef __cplusplus
23132 extern "C"
23133 #endif
23134 /* We use char because int might match the return type of a gcc2
23135 builtin and then its argument prototype would still apply. */
23136 char dnet_ntoa ();
23137 int
23138 main ()
23139 {
23140 dnet_ntoa ();
23141 ;
23142 return 0;
23143 }
23144 _ACEOF
23145 rm -f conftest.$ac_objext conftest$ac_exeext
23146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23147 (eval $ac_link) 2>&5
23148 ac_status=$?
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try='test -s conftest$ac_exeext'
23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23153 (eval $ac_try) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); }; }; then
23157 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23158 else
23159 echo "$as_me: failed program was:" >&5
23160 sed 's/^/| /' conftest.$ac_ext >&5
23161
23162 ac_cv_lib_dnet_stub_dnet_ntoa=no
23163 fi
23164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23165 LIBS=$ac_check_lib_save_LIBS
23166 fi
23167 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23168 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23169 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23170 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23171 fi
23172
23173 fi
23174 fi
23175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23176 LIBS="$ac_xsave_LIBS"
23177
23178 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23179 # to get the SysV transport functions.
23180 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23181 # needs -lnsl.
23182 # The nsl library prevents programs from opening the X display
23183 # on Irix 5.2, according to T.E. Dickey.
23184 # The functions gethostbyname, getservbyname, and inet_addr are
23185 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23186 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23187 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23188 if test "${ac_cv_func_gethostbyname+set}" = set; then
23189 echo $ECHO_N "(cached) $ECHO_C" >&6
23190 else
23191 cat >conftest.$ac_ext <<_ACEOF
23192 #line $LINENO "configure"
23193 /* confdefs.h. */
23194 _ACEOF
23195 cat confdefs.h >>conftest.$ac_ext
23196 cat >>conftest.$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23198 /* System header to define __stub macros and hopefully few prototypes,
23199 which can conflict with char gethostbyname (); below.
23200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23201 <limits.h> exists even on freestanding compilers. */
23202 #ifdef __STDC__
23203 # include <limits.h>
23204 #else
23205 # include <assert.h>
23206 #endif
23207 /* Override any gcc2 internal prototype to avoid an error. */
23208 #ifdef __cplusplus
23209 extern "C"
23210 {
23211 #endif
23212 /* We use char because int might match the return type of a gcc2
23213 builtin and then its argument prototype would still apply. */
23214 char gethostbyname ();
23215 /* The GNU C library defines this for functions which it implements
23216 to always fail with ENOSYS. Some functions are actually named
23217 something starting with __ and the normal name is an alias. */
23218 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23219 choke me
23220 #else
23221 char (*f) () = gethostbyname;
23222 #endif
23223 #ifdef __cplusplus
23224 }
23225 #endif
23226
23227 int
23228 main ()
23229 {
23230 return f != gethostbyname;
23231 ;
23232 return 0;
23233 }
23234 _ACEOF
23235 rm -f conftest.$ac_objext conftest$ac_exeext
23236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23237 (eval $ac_link) 2>&5
23238 ac_status=$?
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } &&
23241 { ac_try='test -s conftest$ac_exeext'
23242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23243 (eval $ac_try) 2>&5
23244 ac_status=$?
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); }; }; then
23247 ac_cv_func_gethostbyname=yes
23248 else
23249 echo "$as_me: failed program was:" >&5
23250 sed 's/^/| /' conftest.$ac_ext >&5
23251
23252 ac_cv_func_gethostbyname=no
23253 fi
23254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23255 fi
23256 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23257 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23258
23259 if test $ac_cv_func_gethostbyname = no; then
23260 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23261 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23262 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23264 else
23265 ac_check_lib_save_LIBS=$LIBS
23266 LIBS="-lnsl $LIBS"
23267 cat >conftest.$ac_ext <<_ACEOF
23268 #line $LINENO "configure"
23269 /* confdefs.h. */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274
23275 /* Override any gcc2 internal prototype to avoid an error. */
23276 #ifdef __cplusplus
23277 extern "C"
23278 #endif
23279 /* We use char because int might match the return type of a gcc2
23280 builtin and then its argument prototype would still apply. */
23281 char gethostbyname ();
23282 int
23283 main ()
23284 {
23285 gethostbyname ();
23286 ;
23287 return 0;
23288 }
23289 _ACEOF
23290 rm -f conftest.$ac_objext conftest$ac_exeext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23292 (eval $ac_link) 2>&5
23293 ac_status=$?
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); } &&
23296 { ac_try='test -s conftest$ac_exeext'
23297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23298 (eval $ac_try) 2>&5
23299 ac_status=$?
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); }; }; then
23302 ac_cv_lib_nsl_gethostbyname=yes
23303 else
23304 echo "$as_me: failed program was:" >&5
23305 sed 's/^/| /' conftest.$ac_ext >&5
23306
23307 ac_cv_lib_nsl_gethostbyname=no
23308 fi
23309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23310 LIBS=$ac_check_lib_save_LIBS
23311 fi
23312 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23313 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23314 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23316 fi
23317
23318 if test $ac_cv_lib_nsl_gethostbyname = no; then
23319 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23320 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23321 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 else
23324 ac_check_lib_save_LIBS=$LIBS
23325 LIBS="-lbsd $LIBS"
23326 cat >conftest.$ac_ext <<_ACEOF
23327 #line $LINENO "configure"
23328 /* confdefs.h. */
23329 _ACEOF
23330 cat confdefs.h >>conftest.$ac_ext
23331 cat >>conftest.$ac_ext <<_ACEOF
23332 /* end confdefs.h. */
23333
23334 /* Override any gcc2 internal prototype to avoid an error. */
23335 #ifdef __cplusplus
23336 extern "C"
23337 #endif
23338 /* We use char because int might match the return type of a gcc2
23339 builtin and then its argument prototype would still apply. */
23340 char gethostbyname ();
23341 int
23342 main ()
23343 {
23344 gethostbyname ();
23345 ;
23346 return 0;
23347 }
23348 _ACEOF
23349 rm -f conftest.$ac_objext conftest$ac_exeext
23350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23351 (eval $ac_link) 2>&5
23352 ac_status=$?
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } &&
23355 { ac_try='test -s conftest$ac_exeext'
23356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23357 (eval $ac_try) 2>&5
23358 ac_status=$?
23359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23360 (exit $ac_status); }; }; then
23361 ac_cv_lib_bsd_gethostbyname=yes
23362 else
23363 echo "$as_me: failed program was:" >&5
23364 sed 's/^/| /' conftest.$ac_ext >&5
23365
23366 ac_cv_lib_bsd_gethostbyname=no
23367 fi
23368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23369 LIBS=$ac_check_lib_save_LIBS
23370 fi
23371 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23372 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23373 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23375 fi
23376
23377 fi
23378 fi
23379
23380 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23381 # socket/setsockopt and other routines are undefined under SCO ODT
23382 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23383 # on later versions), says Simon Leinen: it contains gethostby*
23384 # variants that don't use the name server (or something). -lsocket
23385 # must be given before -lnsl if both are needed. We assume that
23386 # if connect needs -lnsl, so does gethostbyname.
23387 echo "$as_me:$LINENO: checking for connect" >&5
23388 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23389 if test "${ac_cv_func_connect+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23391 else
23392 cat >conftest.$ac_ext <<_ACEOF
23393 #line $LINENO "configure"
23394 /* confdefs.h. */
23395 _ACEOF
23396 cat confdefs.h >>conftest.$ac_ext
23397 cat >>conftest.$ac_ext <<_ACEOF
23398 /* end confdefs.h. */
23399 /* System header to define __stub macros and hopefully few prototypes,
23400 which can conflict with char connect (); below.
23401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23402 <limits.h> exists even on freestanding compilers. */
23403 #ifdef __STDC__
23404 # include <limits.h>
23405 #else
23406 # include <assert.h>
23407 #endif
23408 /* Override any gcc2 internal prototype to avoid an error. */
23409 #ifdef __cplusplus
23410 extern "C"
23411 {
23412 #endif
23413 /* We use char because int might match the return type of a gcc2
23414 builtin and then its argument prototype would still apply. */
23415 char connect ();
23416 /* The GNU C library defines this for functions which it implements
23417 to always fail with ENOSYS. Some functions are actually named
23418 something starting with __ and the normal name is an alias. */
23419 #if defined (__stub_connect) || defined (__stub___connect)
23420 choke me
23421 #else
23422 char (*f) () = connect;
23423 #endif
23424 #ifdef __cplusplus
23425 }
23426 #endif
23427
23428 int
23429 main ()
23430 {
23431 return f != connect;
23432 ;
23433 return 0;
23434 }
23435 _ACEOF
23436 rm -f conftest.$ac_objext conftest$ac_exeext
23437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23438 (eval $ac_link) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); } &&
23442 { ac_try='test -s conftest$ac_exeext'
23443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23444 (eval $ac_try) 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); }; }; then
23448 ac_cv_func_connect=yes
23449 else
23450 echo "$as_me: failed program was:" >&5
23451 sed 's/^/| /' conftest.$ac_ext >&5
23452
23453 ac_cv_func_connect=no
23454 fi
23455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23456 fi
23457 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23458 echo "${ECHO_T}$ac_cv_func_connect" >&6
23459
23460 if test $ac_cv_func_connect = no; then
23461 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23462 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23463 if test "${ac_cv_lib_socket_connect+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23466 ac_check_lib_save_LIBS=$LIBS
23467 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23468 cat >conftest.$ac_ext <<_ACEOF
23469 #line $LINENO "configure"
23470 /* confdefs.h. */
23471 _ACEOF
23472 cat confdefs.h >>conftest.$ac_ext
23473 cat >>conftest.$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23475
23476 /* Override any gcc2 internal prototype to avoid an error. */
23477 #ifdef __cplusplus
23478 extern "C"
23479 #endif
23480 /* We use char because int might match the return type of a gcc2
23481 builtin and then its argument prototype would still apply. */
23482 char connect ();
23483 int
23484 main ()
23485 {
23486 connect ();
23487 ;
23488 return 0;
23489 }
23490 _ACEOF
23491 rm -f conftest.$ac_objext conftest$ac_exeext
23492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23493 (eval $ac_link) 2>&5
23494 ac_status=$?
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); } &&
23497 { ac_try='test -s conftest$ac_exeext'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23500 ac_status=$?
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; }; then
23503 ac_cv_lib_socket_connect=yes
23504 else
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.$ac_ext >&5
23507
23508 ac_cv_lib_socket_connect=no
23509 fi
23510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23511 LIBS=$ac_check_lib_save_LIBS
23512 fi
23513 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23514 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23515 if test $ac_cv_lib_socket_connect = yes; then
23516 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23517 fi
23518
23519 fi
23520
23521 # Guillermo Gomez says -lposix is necessary on A/UX.
23522 echo "$as_me:$LINENO: checking for remove" >&5
23523 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23524 if test "${ac_cv_func_remove+set}" = set; then
23525 echo $ECHO_N "(cached) $ECHO_C" >&6
23526 else
23527 cat >conftest.$ac_ext <<_ACEOF
23528 #line $LINENO "configure"
23529 /* confdefs.h. */
23530 _ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534 /* System header to define __stub macros and hopefully few prototypes,
23535 which can conflict with char remove (); below.
23536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23537 <limits.h> exists even on freestanding compilers. */
23538 #ifdef __STDC__
23539 # include <limits.h>
23540 #else
23541 # include <assert.h>
23542 #endif
23543 /* Override any gcc2 internal prototype to avoid an error. */
23544 #ifdef __cplusplus
23545 extern "C"
23546 {
23547 #endif
23548 /* We use char because int might match the return type of a gcc2
23549 builtin and then its argument prototype would still apply. */
23550 char remove ();
23551 /* The GNU C library defines this for functions which it implements
23552 to always fail with ENOSYS. Some functions are actually named
23553 something starting with __ and the normal name is an alias. */
23554 #if defined (__stub_remove) || defined (__stub___remove)
23555 choke me
23556 #else
23557 char (*f) () = remove;
23558 #endif
23559 #ifdef __cplusplus
23560 }
23561 #endif
23562
23563 int
23564 main ()
23565 {
23566 return f != remove;
23567 ;
23568 return 0;
23569 }
23570 _ACEOF
23571 rm -f conftest.$ac_objext conftest$ac_exeext
23572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23573 (eval $ac_link) 2>&5
23574 ac_status=$?
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } &&
23577 { ac_try='test -s conftest$ac_exeext'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23580 ac_status=$?
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; }; then
23583 ac_cv_func_remove=yes
23584 else
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.$ac_ext >&5
23587
23588 ac_cv_func_remove=no
23589 fi
23590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23591 fi
23592 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23593 echo "${ECHO_T}$ac_cv_func_remove" >&6
23594
23595 if test $ac_cv_func_remove = no; then
23596 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23597 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23598 if test "${ac_cv_lib_posix_remove+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 else
23601 ac_check_lib_save_LIBS=$LIBS
23602 LIBS="-lposix $LIBS"
23603 cat >conftest.$ac_ext <<_ACEOF
23604 #line $LINENO "configure"
23605 /* confdefs.h. */
23606 _ACEOF
23607 cat confdefs.h >>conftest.$ac_ext
23608 cat >>conftest.$ac_ext <<_ACEOF
23609 /* end confdefs.h. */
23610
23611 /* Override any gcc2 internal prototype to avoid an error. */
23612 #ifdef __cplusplus
23613 extern "C"
23614 #endif
23615 /* We use char because int might match the return type of a gcc2
23616 builtin and then its argument prototype would still apply. */
23617 char remove ();
23618 int
23619 main ()
23620 {
23621 remove ();
23622 ;
23623 return 0;
23624 }
23625 _ACEOF
23626 rm -f conftest.$ac_objext conftest$ac_exeext
23627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23628 (eval $ac_link) 2>&5
23629 ac_status=$?
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); } &&
23632 { ac_try='test -s conftest$ac_exeext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23635 ac_status=$?
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 ac_cv_lib_posix_remove=yes
23639 else
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.$ac_ext >&5
23642
23643 ac_cv_lib_posix_remove=no
23644 fi
23645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23646 LIBS=$ac_check_lib_save_LIBS
23647 fi
23648 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23649 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23650 if test $ac_cv_lib_posix_remove = yes; then
23651 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23652 fi
23653
23654 fi
23655
23656 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23657 echo "$as_me:$LINENO: checking for shmat" >&5
23658 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23659 if test "${ac_cv_func_shmat+set}" = set; then
23660 echo $ECHO_N "(cached) $ECHO_C" >&6
23661 else
23662 cat >conftest.$ac_ext <<_ACEOF
23663 #line $LINENO "configure"
23664 /* confdefs.h. */
23665 _ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 /* System header to define __stub macros and hopefully few prototypes,
23670 which can conflict with char shmat (); below.
23671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23672 <limits.h> exists even on freestanding compilers. */
23673 #ifdef __STDC__
23674 # include <limits.h>
23675 #else
23676 # include <assert.h>
23677 #endif
23678 /* Override any gcc2 internal prototype to avoid an error. */
23679 #ifdef __cplusplus
23680 extern "C"
23681 {
23682 #endif
23683 /* We use char because int might match the return type of a gcc2
23684 builtin and then its argument prototype would still apply. */
23685 char shmat ();
23686 /* The GNU C library defines this for functions which it implements
23687 to always fail with ENOSYS. Some functions are actually named
23688 something starting with __ and the normal name is an alias. */
23689 #if defined (__stub_shmat) || defined (__stub___shmat)
23690 choke me
23691 #else
23692 char (*f) () = shmat;
23693 #endif
23694 #ifdef __cplusplus
23695 }
23696 #endif
23697
23698 int
23699 main ()
23700 {
23701 return f != shmat;
23702 ;
23703 return 0;
23704 }
23705 _ACEOF
23706 rm -f conftest.$ac_objext conftest$ac_exeext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23708 (eval $ac_link) 2>&5
23709 ac_status=$?
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } &&
23712 { ac_try='test -s conftest$ac_exeext'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23715 ac_status=$?
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; }; then
23718 ac_cv_func_shmat=yes
23719 else
23720 echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.$ac_ext >&5
23722
23723 ac_cv_func_shmat=no
23724 fi
23725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23726 fi
23727 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23728 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23729
23730 if test $ac_cv_func_shmat = no; then
23731 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23732 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23733 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23734 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 else
23736 ac_check_lib_save_LIBS=$LIBS
23737 LIBS="-lipc $LIBS"
23738 cat >conftest.$ac_ext <<_ACEOF
23739 #line $LINENO "configure"
23740 /* confdefs.h. */
23741 _ACEOF
23742 cat confdefs.h >>conftest.$ac_ext
23743 cat >>conftest.$ac_ext <<_ACEOF
23744 /* end confdefs.h. */
23745
23746 /* Override any gcc2 internal prototype to avoid an error. */
23747 #ifdef __cplusplus
23748 extern "C"
23749 #endif
23750 /* We use char because int might match the return type of a gcc2
23751 builtin and then its argument prototype would still apply. */
23752 char shmat ();
23753 int
23754 main ()
23755 {
23756 shmat ();
23757 ;
23758 return 0;
23759 }
23760 _ACEOF
23761 rm -f conftest.$ac_objext conftest$ac_exeext
23762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23763 (eval $ac_link) 2>&5
23764 ac_status=$?
23765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23766 (exit $ac_status); } &&
23767 { ac_try='test -s conftest$ac_exeext'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23769 (eval $ac_try) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; }; then
23773 ac_cv_lib_ipc_shmat=yes
23774 else
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.$ac_ext >&5
23777
23778 ac_cv_lib_ipc_shmat=no
23779 fi
23780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23781 LIBS=$ac_check_lib_save_LIBS
23782 fi
23783 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23784 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23785 if test $ac_cv_lib_ipc_shmat = yes; then
23786 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23787 fi
23788
23789 fi
23790 fi
23791
23792 # Check for libraries that X11R6 Xt/Xaw programs need.
23793 ac_save_LDFLAGS=$LDFLAGS
23794 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23795 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23796 # check for ICE first), but we must link in the order -lSM -lICE or
23797 # we get undefined symbols. So assume we have SM if we have ICE.
23798 # These have to be linked with before -lX11, unlike the other
23799 # libraries we check for below, so use a different variable.
23800 # John Interrante, Karl Berry
23801 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23802 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23803 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23804 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 else
23806 ac_check_lib_save_LIBS=$LIBS
23807 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23808 cat >conftest.$ac_ext <<_ACEOF
23809 #line $LINENO "configure"
23810 /* confdefs.h. */
23811 _ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23815
23816 /* Override any gcc2 internal prototype to avoid an error. */
23817 #ifdef __cplusplus
23818 extern "C"
23819 #endif
23820 /* We use char because int might match the return type of a gcc2
23821 builtin and then its argument prototype would still apply. */
23822 char IceConnectionNumber ();
23823 int
23824 main ()
23825 {
23826 IceConnectionNumber ();
23827 ;
23828 return 0;
23829 }
23830 _ACEOF
23831 rm -f conftest.$ac_objext conftest$ac_exeext
23832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23833 (eval $ac_link) 2>&5
23834 ac_status=$?
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); } &&
23837 { ac_try='test -s conftest$ac_exeext'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23840 ac_status=$?
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; }; then
23843 ac_cv_lib_ICE_IceConnectionNumber=yes
23844 else
23845 echo "$as_me: failed program was:" >&5
23846 sed 's/^/| /' conftest.$ac_ext >&5
23847
23848 ac_cv_lib_ICE_IceConnectionNumber=no
23849 fi
23850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23851 LIBS=$ac_check_lib_save_LIBS
23852 fi
23853 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23854 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23855 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23856 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23857 fi
23858
23859 LDFLAGS=$ac_save_LDFLAGS
23860
23861 fi
23862
23863
23864 if test "$no_x" = "yes"; then
23865 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23866 echo "$as_me: error: X11 not found" >&2;}
23867 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23868 fi
23869
23870 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23871 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23872 AFMINSTALL=afminstall
23873 COMPILED_X_PROGRAM=0
23874
23875 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23876 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23877
23878 ac_find_includes=
23879 for ac_dir in $SEARCH_INCLUDE /usr/include;
23880 do
23881 if test -f "$ac_dir/Xm/Xm.h"; then
23882 ac_find_includes=$ac_dir
23883 break
23884 fi
23885 done
23886
23887 if test "$ac_find_includes" != "" ; then
23888 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23889 echo "${ECHO_T}found in $ac_find_includes" >&6
23890
23891 if test "x$ac_find_includes" = "x/usr/include"; then
23892 ac_path_to_include=""
23893 else
23894 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23895 result=$?
23896 if test $result = 0; then
23897 ac_path_to_include=""
23898 else
23899 ac_path_to_include=" -I$ac_find_includes"
23900 fi
23901 fi
23902
23903 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23904 else
23905 cat >conftest.$ac_ext <<_ACEOF
23906 #line $LINENO "configure"
23907 /* confdefs.h. */
23908 _ACEOF
23909 cat confdefs.h >>conftest.$ac_ext
23910 cat >>conftest.$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23912
23913 #include <Xm/Xm.h>
23914
23915 int
23916 main ()
23917 {
23918
23919 int version;
23920 version = xmUseVersion;
23921
23922 ;
23923 return 0;
23924 }
23925 _ACEOF
23926 rm -f conftest.$ac_objext
23927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23928 (eval $ac_compile) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try='test -s conftest.$ac_objext'
23933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23934 (eval $ac_try) 2>&5
23935 ac_status=$?
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); }; }; then
23938
23939 echo "$as_me:$LINENO: result: found in default search path" >&5
23940 echo "${ECHO_T}found in default search path" >&6
23941 COMPILED_X_PROGRAM=1
23942
23943 else
23944 echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.$ac_ext >&5
23946
23947
23948 echo "$as_me:$LINENO: result: no" >&5
23949 echo "${ECHO_T}no" >&6
23950 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23951 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23952 { (exit 1); exit 1; }; }
23953
23954
23955 fi
23956 rm -f conftest.$ac_objext conftest.$ac_ext
23957 fi
23958
23959 if test "$COMPILED_X_PROGRAM" = 0; then
23960 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23961 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23962
23963 ac_find_libraries=
23964 for ac_dir in $SEARCH_LIB /usr/lib;
23965 do
23966 for ac_extension in a so sl dylib; do
23967 if test -f "$ac_dir/libXm.$ac_extension"; then
23968 ac_find_libraries=$ac_dir
23969 break 2
23970 fi
23971 done
23972 done
23973
23974 if test "$ac_find_libraries" != "" ; then
23975 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23976 echo "${ECHO_T}found at $ac_find_libraries" >&6
23977
23978
23979 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23980 result=$?
23981 if test $result = 0; then
23982 ac_path_to_link=""
23983 else
23984 ac_path_to_link=" -L$ac_find_libraries"
23985 fi
23986
23987 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23988 else
23989 save_CFLAGS=$CFLAGS
23990 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23991
23992 cat >conftest.$ac_ext <<_ACEOF
23993 #line $LINENO "configure"
23994 /* confdefs.h. */
23995 _ACEOF
23996 cat confdefs.h >>conftest.$ac_ext
23997 cat >>conftest.$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
23999
24000 #include <Xm/Xm.h>
24001
24002 int
24003 main ()
24004 {
24005
24006 int version;
24007 version = xmUseVersion;
24008
24009 ;
24010 return 0;
24011 }
24012 _ACEOF
24013 rm -f conftest.$ac_objext
24014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24015 (eval $ac_compile) 2>&5
24016 ac_status=$?
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try='test -s conftest.$ac_objext'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; }; then
24025
24026 echo "$as_me:$LINENO: result: found in default search path" >&5
24027 echo "${ECHO_T}found in default search path" >&6
24028 COMPILED_X_PROGRAM=1
24029
24030 else
24031 echo "$as_me: failed program was:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24033
24034
24035 echo "$as_me:$LINENO: result: no" >&5
24036 echo "${ECHO_T}no" >&6
24037 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24038 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24039 { (exit 1); exit 1; }; }
24040
24041
24042 fi
24043 rm -f conftest.$ac_objext conftest.$ac_ext
24044
24045 CFLAGS=$save_CFLAGS
24046 fi
24047 fi
24048
24049 xpm_link=
24050 echo "$as_me:$LINENO: checking for Xpm library" >&5
24051 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24052
24053 ac_find_libraries=
24054 for ac_dir in $SEARCH_LIB /usr/lib;
24055 do
24056 for ac_extension in a so sl dylib; do
24057 if test -f "$ac_dir/libXpm.$ac_extension"; then
24058 ac_find_libraries=$ac_dir
24059 break 2
24060 fi
24061 done
24062 done
24063
24064 if test "$ac_find_libraries" != "" ; then
24065
24066 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24067 result=$?
24068 if test $result = 0; then
24069 ac_path_to_link=""
24070 else
24071 ac_path_to_link=" -L$ac_find_libraries"
24072 fi
24073
24074 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24075
24076 xpm_link=" -lXpm"
24077 cat >>confdefs.h <<\_ACEOF
24078 #define wxHAVE_LIB_XPM 1
24079 _ACEOF
24080
24081 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24082 echo "${ECHO_T}found at $ac_find_libraries" >&6
24083 else
24084 save_CFLAGS=$CFLAGS
24085 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24086
24087 cat >conftest.$ac_ext <<_ACEOF
24088 #line $LINENO "configure"
24089 /* confdefs.h. */
24090 _ACEOF
24091 cat confdefs.h >>conftest.$ac_ext
24092 cat >>conftest.$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094
24095 #include <X11/xpm.h>
24096
24097 int
24098 main ()
24099 {
24100
24101 int version;
24102 version = XpmLibraryVersion();
24103
24104 ;
24105 return 0;
24106 }
24107 _ACEOF
24108 rm -f conftest.$ac_objext
24109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24110 (eval $ac_compile) 2>&5
24111 ac_status=$?
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } &&
24114 { ac_try='test -s conftest.$ac_objext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24117 ac_status=$?
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120
24121 xpm_link=" -lXpm"
24122 cat >>confdefs.h <<\_ACEOF
24123 #define wxHAVE_LIB_XPM 1
24124 _ACEOF
24125
24126 echo "$as_me:$LINENO: result: found in default search path" >&5
24127 echo "${ECHO_T}found in default search path" >&6
24128 COMPILED_X_PROGRAM=0
24129
24130 else
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.$ac_ext >&5
24133
24134
24135 echo "$as_me:$LINENO: result: no" >&5
24136 echo "${ECHO_T}no" >&6
24137 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24138 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24139
24140
24141 fi
24142 rm -f conftest.$ac_objext conftest.$ac_ext
24143
24144 CFLAGS=$save_CFLAGS
24145 fi
24146
24147 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24148 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24149 libp_link=""
24150 libsm_ice_link=""
24151 libs_found=0
24152 for libp in "" " -lXp"; do
24153 if test "$libs_found" = "0"; then
24154 for libsm_ice in "" " -lSM -lICE"; do
24155 if test "$libs_found" = "0"; then
24156 save_LIBS="$LIBS"
24157 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24158 save_CFLAGS=$CFLAGS
24159 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24160
24161 cat >conftest.$ac_ext <<_ACEOF
24162 #line $LINENO "configure"
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168
24169 #include <Xm/Xm.h>
24170 #include <Xm/List.h>
24171
24172 int
24173 main ()
24174 {
24175
24176 XmString string = NULL;
24177 Widget w = NULL;
24178 int position = 0;
24179 XmListAddItem(w, string, position);
24180
24181 ;
24182 return 0;
24183 }
24184 _ACEOF
24185 rm -f conftest.$ac_objext conftest$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187 (eval $ac_link) 2>&5
24188 ac_status=$?
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); } &&
24191 { ac_try='test -s conftest$ac_exeext'
24192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24193 (eval $ac_try) 2>&5
24194 ac_status=$?
24195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196 (exit $ac_status); }; }; then
24197
24198 libp_link="$libp"
24199 libsm_ice_link="$libsm_ice"
24200 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24201 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24202 libs_found=1
24203
24204 else
24205 echo "$as_me: failed program was:" >&5
24206 sed 's/^/| /' conftest.$ac_ext >&5
24207
24208
24209
24210 fi
24211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24212
24213 LIBS="$save_LIBS"
24214 CFLAGS=$save_CFLAGS
24215 fi
24216 done
24217 fi
24218 done
24219
24220 if test "$libs_found" = "0"; then
24221 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24222 echo "${ECHO_T}can't find the right libraries" >&6
24223 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24224 echo "$as_me: error: can't link a simple motif program" >&2;}
24225 { (exit 1); exit 1; }; }
24226 fi
24227
24228 save_CFLAGS=$CFLAGS
24229 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24230 echo "$as_me:$LINENO: checking for Motif 2" >&5
24231 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24232 cat >conftest.$ac_ext <<_ACEOF
24233 #line $LINENO "configure"
24234 /* confdefs.h. */
24235 _ACEOF
24236 cat confdefs.h >>conftest.$ac_ext
24237 cat >>conftest.$ac_ext <<_ACEOF
24238 /* end confdefs.h. */
24239
24240 #include <Xm/Xm.h>
24241
24242 int
24243 main ()
24244 {
24245
24246 #if XmVersion < 2000
24247 #error "Not Motif 2"
24248 #endif
24249
24250 ;
24251 return 0;
24252 }
24253 _ACEOF
24254 rm -f conftest.$ac_objext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24256 (eval $ac_compile) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -s conftest.$ac_objext'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24263 ac_status=$?
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; }; then
24266
24267 cat >>confdefs.h <<\_ACEOF
24268 #define __WXMOTIF20__ 1
24269 _ACEOF
24270
24271 echo "$as_me:$LINENO: result: found" >&5
24272 echo "${ECHO_T}found" >&6
24273
24274 else
24275 echo "$as_me: failed program was:" >&5
24276 sed 's/^/| /' conftest.$ac_ext >&5
24277
24278
24279 cat >>confdefs.h <<\_ACEOF
24280 #define __WXMOTIF20__ 0
24281 _ACEOF
24282
24283 echo "$as_me:$LINENO: result: not found" >&5
24284 echo "${ECHO_T}not found" >&6
24285
24286 fi
24287 rm -f conftest.$ac_objext conftest.$ac_ext
24288 CFLAGS=$save_CFLAGS
24289
24290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24291 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24292 TOOLKIT=MOTIF
24293 GUIDIST=MOTIF_DIST
24294 wxHAVE_XEXT_LIB=1
24295 fi
24296
24297 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24298 test "$wxHAVE_XEXT_LIB" = 1; then
24299 save_CFLAGS="$CFLAGS"
24300 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24301
24302 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24303 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24304 cat >conftest.$ac_ext <<_ACEOF
24305 #line $LINENO "configure"
24306 /* confdefs.h. */
24307 _ACEOF
24308 cat confdefs.h >>conftest.$ac_ext
24309 cat >>conftest.$ac_ext <<_ACEOF
24310 /* end confdefs.h. */
24311
24312 #include <X11/Xlib.h>
24313 #include <X11/extensions/shape.h>
24314
24315 int
24316 main ()
24317 {
24318
24319 int dummy1, dummy2;
24320 XShapeQueryExtension((Display*)NULL,
24321 (int*)NULL, (int*)NULL);
24322
24323 ;
24324 return 0;
24325 }
24326 _ACEOF
24327 rm -f conftest.$ac_objext
24328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24329 (eval $ac_compile) 2>&5
24330 ac_status=$?
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } &&
24333 { ac_try='test -s conftest.$ac_objext'
24334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24335 (eval $ac_try) 2>&5
24336 ac_status=$?
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); }; }; then
24339
24340 cat >>confdefs.h <<\_ACEOF
24341 #define HAVE_XSHAPE 1
24342 _ACEOF
24343
24344 echo "$as_me:$LINENO: result: found" >&5
24345 echo "${ECHO_T}found" >&6
24346
24347 else
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.$ac_ext >&5
24350
24351
24352 echo "$as_me:$LINENO: result: not found" >&5
24353 echo "${ECHO_T}not found" >&6
24354
24355 fi
24356 rm -f conftest.$ac_objext conftest.$ac_ext
24357 CFLAGS="$save_CFLAGS"
24358 fi
24359
24360 if test "$wxUSE_MAC" = 1; then
24361 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24362 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24363 if test "$GCC" = yes; then
24364 echo "$as_me:$LINENO: result: gcc" >&5
24365 echo "${ECHO_T}gcc" >&6
24366 CPPFLAGS_PASCAL="-fpascal-strings"
24367 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24368 echo "$as_me:$LINENO: result: xlc" >&5
24369 echo "${ECHO_T}xlc" >&6
24370 CPPFLAGS_PASCAL="-qmacpstr"
24371 else
24372 echo "$as_me:$LINENO: result: none" >&5
24373 echo "${ECHO_T}none" >&6
24374 fi
24375
24376 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24377
24378 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24379 TOOLKIT=MAC
24380 GUIDIST=MACX_DIST
24381 WXBASEPORT="_carbon"
24382 fi
24383
24384 if test "$wxUSE_COCOA" = 1; then
24385 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24386 TOOLKIT=COCOA
24387 GUIDIST=COCOA_DIST
24388 fi
24389
24390 if test "$wxUSE_PM" = 1; then
24391 TOOLKIT=PM
24392 GUIDIST=GTK_DIST
24393 fi
24394
24395 if test "$TOOLKIT" = "PM" ; then
24396 TOOLKIT_DIR="os2"
24397 else
24398 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24399 fi
24400
24401 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24402
24403 if test "$wxUSE_UNIVERSAL" = "yes"; then
24404 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24405
24406 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24407 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24408
24409 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24410 if test "$wxUSE_X11" = 1; then
24411 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24412 else
24413 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24414 fi
24415 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24416 WIDGET_SET=univ
24417 else
24418 ALL_OBJECTS="\$(GUIOBJS)"
24419 ALL_SOURCES="\$(ALL_SOURCES)"
24420 ALL_HEADERS="\$(ALL_HEADERS)"
24421 fi
24422
24423 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24424
24425 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24426 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24427 fi
24428
24429 if test "$wxUSE_HTML" = "yes"; then
24430 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24431 fi
24432
24433 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24434 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24435 fi
24436 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24437 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24438 fi
24439 if test "$wxUSE_LIBPNG" = "builtin" ; then
24440 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24441 fi
24442
24443 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24444 DISTDIR="wx\$(TOOLKIT)"
24445 else
24446 USE_GUI=0
24447
24448 TOOLKIT_DIR="base"
24449
24450 if test "$USE_WIN32" = 1 ; then
24451 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24452 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24453
24454 TOOLKIT="MSW"
24455 else
24456 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24457 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24458 fi
24459
24460 ALL_SOURCES="\$(ALL_SOURCES)"
24461 ALL_HEADERS="\$(ALL_HEADERS)"
24462
24463 PORT_FILES="\${top_srcdir}/src/files.lst"
24464
24465 GUIDIST="BASE_DIST"
24466 DISTDIR="wxBase"
24467 fi
24468
24469
24470
24471
24472 IODBC_C_SRC=""
24473
24474
24475 if test "$TOOLKIT" != "MSW" ; then
24476
24477 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24478
24479 if test "${ac_cv_header_sql_h+set}" = set; then
24480 echo "$as_me:$LINENO: checking for sql.h" >&5
24481 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24482 if test "${ac_cv_header_sql_h+set}" = set; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24484 fi
24485 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24486 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24487 else
24488 # Is the header compilable?
24489 echo "$as_me:$LINENO: checking sql.h usability" >&5
24490 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24491 cat >conftest.$ac_ext <<_ACEOF
24492 #line $LINENO "configure"
24493 /* confdefs.h. */
24494 _ACEOF
24495 cat confdefs.h >>conftest.$ac_ext
24496 cat >>conftest.$ac_ext <<_ACEOF
24497 /* end confdefs.h. */
24498 $ac_includes_default
24499 #include <sql.h>
24500 _ACEOF
24501 rm -f conftest.$ac_objext
24502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24503 (eval $ac_compile) 2>&5
24504 ac_status=$?
24505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24506 (exit $ac_status); } &&
24507 { ac_try='test -s conftest.$ac_objext'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; }; then
24513 ac_header_compiler=yes
24514 else
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24517
24518 ac_header_compiler=no
24519 fi
24520 rm -f conftest.$ac_objext conftest.$ac_ext
24521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24522 echo "${ECHO_T}$ac_header_compiler" >&6
24523
24524 # Is the header present?
24525 echo "$as_me:$LINENO: checking sql.h presence" >&5
24526 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24527 cat >conftest.$ac_ext <<_ACEOF
24528 #line $LINENO "configure"
24529 /* confdefs.h. */
24530 _ACEOF
24531 cat confdefs.h >>conftest.$ac_ext
24532 cat >>conftest.$ac_ext <<_ACEOF
24533 /* end confdefs.h. */
24534 #include <sql.h>
24535 _ACEOF
24536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } >/dev/null; then
24544 if test -s conftest.err; then
24545 ac_cpp_err=$ac_c_preproc_warn_flag
24546 else
24547 ac_cpp_err=
24548 fi
24549 else
24550 ac_cpp_err=yes
24551 fi
24552 if test -z "$ac_cpp_err"; then
24553 ac_header_preproc=yes
24554 else
24555 echo "$as_me: failed program was:" >&5
24556 sed 's/^/| /' conftest.$ac_ext >&5
24557
24558 ac_header_preproc=no
24559 fi
24560 rm -f conftest.err conftest.$ac_ext
24561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24562 echo "${ECHO_T}$ac_header_preproc" >&6
24563
24564 # So? What about this header?
24565 case $ac_header_compiler:$ac_header_preproc in
24566 yes:no )
24567 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24568 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24569 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24570 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24571 (
24572 cat <<\_ASBOX
24573 ## ------------------------------------ ##
24574 ## Report this to bug-autoconf@gnu.org. ##
24575 ## ------------------------------------ ##
24576 _ASBOX
24577 ) |
24578 sed "s/^/$as_me: WARNING: /" >&2
24579 ;;
24580 no:yes )
24581 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24582 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24583 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24584 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24585 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24586 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24587 (
24588 cat <<\_ASBOX
24589 ## ------------------------------------ ##
24590 ## Report this to bug-autoconf@gnu.org. ##
24591 ## ------------------------------------ ##
24592 _ASBOX
24593 ) |
24594 sed "s/^/$as_me: WARNING: /" >&2
24595 ;;
24596 esac
24597 echo "$as_me:$LINENO: checking for sql.h" >&5
24598 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24599 if test "${ac_cv_header_sql_h+set}" = set; then
24600 echo $ECHO_N "(cached) $ECHO_C" >&6
24601 else
24602 ac_cv_header_sql_h=$ac_header_preproc
24603 fi
24604 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24605 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24606
24607 fi
24608 if test $ac_cv_header_sql_h = yes; then
24609 found_sql_h=1
24610 fi
24611
24612
24613 if test "x$found_sql_h" = "x1" ; then
24614 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24615 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24616 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 else
24619 ac_check_lib_save_LIBS=$LIBS
24620 LIBS="-liodbc $LIBS"
24621 cat >conftest.$ac_ext <<_ACEOF
24622 #line $LINENO "configure"
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628
24629 /* Override any gcc2 internal prototype to avoid an error. */
24630 #ifdef __cplusplus
24631 extern "C"
24632 #endif
24633 /* We use char because int might match the return type of a gcc2
24634 builtin and then its argument prototype would still apply. */
24635 char SQLAllocEnv ();
24636 int
24637 main ()
24638 {
24639 SQLAllocEnv ();
24640 ;
24641 return 0;
24642 }
24643 _ACEOF
24644 rm -f conftest.$ac_objext conftest$ac_exeext
24645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24646 (eval $ac_link) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } &&
24650 { ac_try='test -s conftest$ac_exeext'
24651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24652 (eval $ac_try) 2>&5
24653 ac_status=$?
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); }; }; then
24656 ac_cv_lib_iodbc_SQLAllocEnv=yes
24657 else
24658 echo "$as_me: failed program was:" >&5
24659 sed 's/^/| /' conftest.$ac_ext >&5
24660
24661 ac_cv_lib_iodbc_SQLAllocEnv=no
24662 fi
24663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24664 LIBS=$ac_check_lib_save_LIBS
24665 fi
24666 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24667 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24668 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24669 ODBC_LINK=" -liodbc"
24670 else
24671
24672 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24673 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24674 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24675 echo $ECHO_N "(cached) $ECHO_C" >&6
24676 else
24677 ac_check_lib_save_LIBS=$LIBS
24678 LIBS="-lunixodbc $LIBS"
24679 cat >conftest.$ac_ext <<_ACEOF
24680 #line $LINENO "configure"
24681 /* confdefs.h. */
24682 _ACEOF
24683 cat confdefs.h >>conftest.$ac_ext
24684 cat >>conftest.$ac_ext <<_ACEOF
24685 /* end confdefs.h. */
24686
24687 /* Override any gcc2 internal prototype to avoid an error. */
24688 #ifdef __cplusplus
24689 extern "C"
24690 #endif
24691 /* We use char because int might match the return type of a gcc2
24692 builtin and then its argument prototype would still apply. */
24693 char SQLAllocEnv ();
24694 int
24695 main ()
24696 {
24697 SQLAllocEnv ();
24698 ;
24699 return 0;
24700 }
24701 _ACEOF
24702 rm -f conftest.$ac_objext conftest$ac_exeext
24703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24704 (eval $ac_link) 2>&5
24705 ac_status=$?
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } &&
24708 { ac_try='test -s conftest$ac_exeext'
24709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24710 (eval $ac_try) 2>&5
24711 ac_status=$?
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); }; }; then
24714 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24715 else
24716 echo "$as_me: failed program was:" >&5
24717 sed 's/^/| /' conftest.$ac_ext >&5
24718
24719 ac_cv_lib_unixodbc_SQLAllocEnv=no
24720 fi
24721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24722 LIBS=$ac_check_lib_save_LIBS
24723 fi
24724 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24725 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24726 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24727 ODBC_LINK=" -lunixodbc"
24728 else
24729
24730 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24731 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24732 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24733 echo $ECHO_N "(cached) $ECHO_C" >&6
24734 else
24735 ac_check_lib_save_LIBS=$LIBS
24736 LIBS="-lodbc $LIBS"
24737 cat >conftest.$ac_ext <<_ACEOF
24738 #line $LINENO "configure"
24739 /* confdefs.h. */
24740 _ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744
24745 /* Override any gcc2 internal prototype to avoid an error. */
24746 #ifdef __cplusplus
24747 extern "C"
24748 #endif
24749 /* We use char because int might match the return type of a gcc2
24750 builtin and then its argument prototype would still apply. */
24751 char SQLAllocEnv ();
24752 int
24753 main ()
24754 {
24755 SQLAllocEnv ();
24756 ;
24757 return 0;
24758 }
24759 _ACEOF
24760 rm -f conftest.$ac_objext conftest$ac_exeext
24761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24762 (eval $ac_link) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); } &&
24766 { ac_try='test -s conftest$ac_exeext'
24767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24768 (eval $ac_try) 2>&5
24769 ac_status=$?
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); }; }; then
24772 ac_cv_lib_odbc_SQLAllocEnv=yes
24773 else
24774 echo "$as_me: failed program was:" >&5
24775 sed 's/^/| /' conftest.$ac_ext >&5
24776
24777 ac_cv_lib_odbc_SQLAllocEnv=no
24778 fi
24779 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24780 LIBS=$ac_check_lib_save_LIBS
24781 fi
24782 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24783 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24784 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24785 ODBC_LINK=" -lodbc"
24786 fi
24787
24788
24789 fi
24790
24791
24792 fi
24793
24794 fi
24795 if test "x$ODBC_LINK" = "x" ; then
24796 if test "$wxUSE_ODBC" = "sys" ; then
24797 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24798 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24799 { (exit 1); exit 1; }; }
24800 else
24801 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24802 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24803 wxUSE_ODBC=builtin
24804 fi
24805 else
24806 wxUSE_ODBC=sys
24807 fi
24808 fi
24809 if test "$wxUSE_ODBC" != "no" ; then
24810 cat >>confdefs.h <<\_ACEOF
24811 #define wxUSE_ODBC 1
24812 _ACEOF
24813
24814 if test "$wxUSE_ODBC" = "builtin" ; then
24815 cat >>confdefs.h <<\_ACEOF
24816 #define wxUSE_BUILTIN_IODBC 1
24817 _ACEOF
24818
24819 fi
24820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24821
24822 WXODBCFLAG="-D_IODBC_"
24823 fi
24824 fi
24825
24826 if test "$wxUSE_REGEX" = "builtin" ; then
24827 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24828 fi
24829 if test "$wxUSE_ZLIB" = "builtin" ; then
24830 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24831 fi
24832
24833
24834 USE_OPENGL=0
24835 if test "$wxUSE_OPENGL" = "yes"; then
24836 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24837 OPENGL_LIBS="-framework OpenGL -framework AGL"
24838 elif test "$wxUSE_MSW" = 1; then
24839 OPENGL_LIBS="-lopengl32 -lglu32"
24840 else
24841
24842
24843 ac_find_includes=
24844 for ac_dir in $SEARCH_INCLUDE /usr/include;
24845 do
24846 if test -f "$ac_dir/GL/gl.h"; then
24847 ac_find_includes=$ac_dir
24848 break
24849 fi
24850 done
24851
24852 if test "$ac_find_includes" != "" ; then
24853 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24854 echo "${ECHO_T}found in $ac_find_includes" >&6
24855
24856 if test "x$ac_find_includes" = "x/usr/include"; then
24857 ac_path_to_include=""
24858 else
24859 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24860 result=$?
24861 if test $result = 0; then
24862 ac_path_to_include=""
24863 else
24864 ac_path_to_include=" -I$ac_find_includes"
24865 fi
24866 fi
24867
24868 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24869 fi
24870
24871 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24872 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24873 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24874 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24875 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 fi
24877 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24878 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24879 else
24880 # Is the header compilable?
24881 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24882 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24883 cat >conftest.$ac_ext <<_ACEOF
24884 #line $LINENO "configure"
24885 /* confdefs.h. */
24886 _ACEOF
24887 cat confdefs.h >>conftest.$ac_ext
24888 cat >>conftest.$ac_ext <<_ACEOF
24889 /* end confdefs.h. */
24890 $ac_includes_default
24891 #include <GL/gl.h>
24892 _ACEOF
24893 rm -f conftest.$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>&5
24896 ac_status=$?
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try='test -s conftest.$ac_objext'
24900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24901 (eval $ac_try) 2>&5
24902 ac_status=$?
24903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24904 (exit $ac_status); }; }; then
24905 ac_header_compiler=yes
24906 else
24907 echo "$as_me: failed program was:" >&5
24908 sed 's/^/| /' conftest.$ac_ext >&5
24909
24910 ac_header_compiler=no
24911 fi
24912 rm -f conftest.$ac_objext conftest.$ac_ext
24913 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24914 echo "${ECHO_T}$ac_header_compiler" >&6
24915
24916 # Is the header present?
24917 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24918 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24919 cat >conftest.$ac_ext <<_ACEOF
24920 #line $LINENO "configure"
24921 /* confdefs.h. */
24922 _ACEOF
24923 cat confdefs.h >>conftest.$ac_ext
24924 cat >>conftest.$ac_ext <<_ACEOF
24925 /* end confdefs.h. */
24926 #include <GL/gl.h>
24927 _ACEOF
24928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24930 ac_status=$?
24931 grep -v '^ *+' conftest.er1 >conftest.err
24932 rm -f conftest.er1
24933 cat conftest.err >&5
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } >/dev/null; then
24936 if test -s conftest.err; then
24937 ac_cpp_err=$ac_c_preproc_warn_flag
24938 else
24939 ac_cpp_err=
24940 fi
24941 else
24942 ac_cpp_err=yes
24943 fi
24944 if test -z "$ac_cpp_err"; then
24945 ac_header_preproc=yes
24946 else
24947 echo "$as_me: failed program was:" >&5
24948 sed 's/^/| /' conftest.$ac_ext >&5
24949
24950 ac_header_preproc=no
24951 fi
24952 rm -f conftest.err conftest.$ac_ext
24953 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24954 echo "${ECHO_T}$ac_header_preproc" >&6
24955
24956 # So? What about this header?
24957 case $ac_header_compiler:$ac_header_preproc in
24958 yes:no )
24959 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24960 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24962 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24963 (
24964 cat <<\_ASBOX
24965 ## ------------------------------------ ##
24966 ## Report this to bug-autoconf@gnu.org. ##
24967 ## ------------------------------------ ##
24968 _ASBOX
24969 ) |
24970 sed "s/^/$as_me: WARNING: /" >&2
24971 ;;
24972 no:yes )
24973 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24974 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24976 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24978 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24979 (
24980 cat <<\_ASBOX
24981 ## ------------------------------------ ##
24982 ## Report this to bug-autoconf@gnu.org. ##
24983 ## ------------------------------------ ##
24984 _ASBOX
24985 ) |
24986 sed "s/^/$as_me: WARNING: /" >&2
24987 ;;
24988 esac
24989 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24990 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24991 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24993 else
24994 ac_cv_header_GL_gl_h=$ac_header_preproc
24995 fi
24996 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24997 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24998
24999 fi
25000 if test $ac_cv_header_GL_gl_h = yes; then
25001
25002 found_gl=0
25003
25004 echo "$as_me:$LINENO: checking for -lGL" >&5
25005 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25006
25007 ac_find_libraries=
25008 for ac_dir in $SEARCH_LIB /usr/lib;
25009 do
25010 for ac_extension in a so sl dylib; do
25011 if test -f "$ac_dir/libGL.$ac_extension"; then
25012 ac_find_libraries=$ac_dir
25013 break 2
25014 fi
25015 done
25016 done
25017
25018 if test "$ac_find_libraries" != "" ; then
25019
25020 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25021 result=$?
25022 if test $result = 0; then
25023 ac_path_to_link=""
25024 else
25025 ac_path_to_link=" -L$ac_find_libraries"
25026 fi
25027
25028 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25029 LDFLAGS_GL="$ac_path_to_link"
25030 fi
25031
25032
25033 ac_find_libraries=
25034 for ac_dir in $SEARCH_LIB /usr/lib;
25035 do
25036 for ac_extension in a so sl dylib; do
25037 if test -f "$ac_dir/libGLU.$ac_extension"; then
25038 ac_find_libraries=$ac_dir
25039 break 2
25040 fi
25041 done
25042 done
25043
25044 if test "$ac_find_libraries" != "" ; then
25045
25046 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25047 result=$?
25048 if test $result = 0; then
25049 ac_path_to_link=""
25050 else
25051 ac_path_to_link=" -L$ac_find_libraries"
25052 fi
25053
25054 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25055 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25056 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25057 fi
25058
25059 found_gl=1
25060 OPENGL_LIBS="-lGL -lGLU"
25061 echo "$as_me:$LINENO: result: yes" >&5
25062 echo "${ECHO_T}yes" >&6
25063 fi
25064 fi
25065
25066 if test "$found_gl" != 1; then
25067 echo "$as_me:$LINENO: result: no" >&5
25068 echo "${ECHO_T}no" >&6
25069 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25070 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25071
25072 ac_find_libraries=
25073 for ac_dir in $SEARCH_LIB /usr/lib;
25074 do
25075 for ac_extension in a so sl dylib; do
25076 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25077 ac_find_libraries=$ac_dir
25078 break 2
25079 fi
25080 done
25081 done
25082
25083 if test "$ac_find_libraries" != "" ; then
25084
25085 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25086 result=$?
25087 if test $result = 0; then
25088 ac_path_to_link=""
25089 else
25090 ac_path_to_link=" -L$ac_find_libraries"
25091 fi
25092
25093 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25094 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25095 echo "$as_me:$LINENO: result: yes" >&5
25096 echo "${ECHO_T}yes" >&6
25097 else
25098 echo "$as_me:$LINENO: result: no" >&5
25099 echo "${ECHO_T}no" >&6
25100 fi
25101 fi
25102
25103 fi
25104
25105
25106
25107 if test "x$OPENGL_LIBS" = "x"; then
25108 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25109 echo "$as_me: error: OpenGL libraries not available" >&2;}
25110 { (exit 1); exit 1; }; }
25111 fi
25112 fi
25113
25114 if test "$wxUSE_OPENGL" = "yes"; then
25115 USE_OPENGL=1
25116 cat >>confdefs.h <<\_ACEOF
25117 #define wxUSE_OPENGL 1
25118 _ACEOF
25119
25120 cat >>confdefs.h <<\_ACEOF
25121 #define wxUSE_GLCANVAS 1
25122 _ACEOF
25123
25124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25125 fi
25126 fi
25127
25128 if test -z "$TOOLKIT_VPATH" ; then
25129 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25130 fi
25131
25132 if test -n "$TOOLKIT" ; then
25133 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25134 fi
25135
25136 UNICODE=0
25137 lib_unicode_suffix=
25138 if test "$wxUSE_UNICODE" = "yes"; then
25139 lib_unicode_suffix=u
25140 UNICODE=1
25141 fi
25142
25143 lib_debug_suffix=
25144 DEBUG_FLAG=0
25145 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25146 lib_debug_suffix=d
25147 DEBUG_FLAG=1
25148 fi
25149
25150 DEBUG_INFO=0
25151 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25152 DEBUG_INFO=1
25153 fi
25154
25155 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25156
25157 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25158 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25159
25160 if test "$cross_compiling" = "yes"; then
25161 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25162 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25163 HOST_SUFFIX="-${host_alias}"
25164 fi
25165
25166 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25167 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25168 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25169 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25170
25171 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25172 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25173
25174 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25175 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25176 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25177 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25178
25179 case "${host}" in
25180 *-*-cygwin* | *-*-mingw32* )
25181 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25182 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25183 ;;
25184
25185 *-*-darwin* )
25186
25187 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25188 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25189
25190 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25191 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25192 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25193 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25194
25195 if test "$wxUSE_MAC" = 1; then
25196 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25197 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25198 fi
25199 ;;
25200 esac
25201
25202 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25203 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25204
25205 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25206 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25207
25208 if test "$wxUSE_OPENGL" = "yes"; then
25209 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25210 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25211 fi
25212
25213
25214
25215 if test "$wxUSE_SHARED" = "yes"; then
25216 case "${host}" in
25217 *-pc-os2_emx | *-pc-os2-emx | \
25218 *-pc-msdosdjgpp )
25219 wxUSE_SHARED=no
25220 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25221 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25222 ;;
25223 esac
25224 fi
25225
25226 SHARED=0
25227 if test "$wxUSE_SHARED" = "yes"; then
25228 SHARED=1
25229
25230
25231 found_versioning=no
25232
25233
25234 if test $found_versioning = no ; then
25235 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25236 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25237 if test "${wx_cv_version_script+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25240
25241 echo "VER_1 { *; };" >conftest.sym
25242 echo "int main() { return 0; }" >conftest.cpp
25243
25244 if { ac_try='
25245 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25246 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25248 (eval $ac_try) 2>&5
25249 ac_status=$?
25250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25251 (exit $ac_status); }; } ; then
25252 if test -s conftest.stderr ; then
25253 wx_cv_version_script=no
25254 else
25255 wx_cv_version_script=yes
25256 fi
25257 else
25258 wx_cv_version_script=no
25259 fi
25260 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25261
25262 fi
25263 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25264 echo "${ECHO_T}$wx_cv_version_script" >&6
25265 if test $wx_cv_version_script = yes ; then
25266 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25267 fi
25268 fi
25269
25270
25271 case "${host}" in
25272 *-*-linux* | *-*-gnu* )
25273 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25274 ;;
25275
25276 *-*-solaris2* )
25277 if test "$GCC" = yes ; then
25278 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25279
25280 saveLdflags="$LDFLAGS"
25281 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25282 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25283 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25284 cat >conftest.$ac_ext <<_ACEOF
25285 #line $LINENO "configure"
25286 /* confdefs.h. */
25287 _ACEOF
25288 cat confdefs.h >>conftest.$ac_ext
25289 cat >>conftest.$ac_ext <<_ACEOF
25290 /* end confdefs.h. */
25291
25292 int
25293 main ()
25294 {
25295
25296 ;
25297 return 0;
25298 }
25299 _ACEOF
25300 rm -f conftest.$ac_objext conftest$ac_exeext
25301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25302 (eval $ac_link) 2>&5
25303 ac_status=$?
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } &&
25306 { ac_try='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25309 ac_status=$?
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312
25313 echo "$as_me:$LINENO: result: yes" >&5
25314 echo "${ECHO_T}yes" >&6
25315 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25316
25317 else
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25320
25321
25322 echo "$as_me:$LINENO: result: no" >&5
25323 echo "${ECHO_T}no" >&6
25324 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25325 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25326 LDFLAGS="$saveLdflags -Wl,-R,/"
25327 cat >conftest.$ac_ext <<_ACEOF
25328 #line $LINENO "configure"
25329 /* confdefs.h. */
25330 _ACEOF
25331 cat confdefs.h >>conftest.$ac_ext
25332 cat >>conftest.$ac_ext <<_ACEOF
25333 /* end confdefs.h. */
25334
25335 int
25336 main ()
25337 {
25338
25339 ;
25340 return 0;
25341 }
25342 _ACEOF
25343 rm -f conftest.$ac_objext conftest$ac_exeext
25344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25345 (eval $ac_link) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } &&
25349 { ac_try='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355
25356 echo "$as_me:$LINENO: result: yes" >&5
25357 echo "${ECHO_T}yes" >&6
25358 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25359 else
25360 echo "$as_me: failed program was:" >&5
25361 sed 's/^/| /' conftest.$ac_ext >&5
25362
25363
25364 echo "$as_me:$LINENO: result: no" >&5
25365 echo "${ECHO_T}no" >&6
25366
25367 fi
25368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25369
25370 fi
25371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25372 LDFLAGS="$saveLdflags"
25373 else
25374 SHARED_LD="${CXX} -G -o"
25375 PIC_FLAG="-KPIC"
25376 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25377 fi
25378 ;;
25379
25380 powerpc-*-darwin* )
25381 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25382 cat <<EOF >change-install-names
25383 #!/bin/sh
25384 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25385 inst_cmd="install_name_tool "
25386 for i in \${libnames} ; do
25387 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25388 done
25389 \${inst_cmd} \${3}
25390 EOF
25391 chmod +x change-install-names
25392 ;;
25393
25394 esac
25395
25396 if test "x$WX_TARGET_LIBRARY" = "x"; then
25397 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25398 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25399 fi
25400
25401 WX_TARGET_LIBRARY_TYPE="so"
25402 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25403 fi
25404
25405 if test "$wxUSE_SHARED" = "no"; then
25406
25407 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25408 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25409 fi
25410
25411 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25412 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25413 fi
25414
25415 if test "$wxUSE_OPENGL" = "yes"; then
25416 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25417 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25418 else
25419 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25420 fi
25421
25422 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25423 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25424
25425 WX_TARGET_LIBRARY_TYPE="a"
25426 INSTALL_LIBRARY='$(INSTALL_DATA)'
25427
25428 STATIC_FLAG="yes"
25429 else
25430 STATIC_FLAG="no"
25431 fi
25432
25433 MACRESCOMP="@#"
25434 MACSETFILE="@#"
25435 MACRESWXCONFIG="#"
25436 if test "$wxUSE_MAC" = 1; then
25437 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25438 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25439 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25440 # Extract the first word of "Rez", so it can be a program name with args.
25441 set dummy Rez; ac_word=$2
25442 echo "$as_me:$LINENO: checking for $ac_word" >&5
25443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25444 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447 if test -n "$RESCOMP"; then
25448 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25449 else
25450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25451 for as_dir in $PATH
25452 do
25453 IFS=$as_save_IFS
25454 test -z "$as_dir" && as_dir=.
25455 for ac_exec_ext in '' $ac_executable_extensions; do
25456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25457 ac_cv_prog_RESCOMP="Rez"
25458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25459 break 2
25460 fi
25461 done
25462 done
25463
25464 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25465 fi
25466 fi
25467 RESCOMP=$ac_cv_prog_RESCOMP
25468 if test -n "$RESCOMP"; then
25469 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25470 echo "${ECHO_T}$RESCOMP" >&6
25471 else
25472 echo "$as_me:$LINENO: result: no" >&5
25473 echo "${ECHO_T}no" >&6
25474 fi
25475
25476 # Extract the first word of "DeRez", so it can be a program name with args.
25477 set dummy DeRez; ac_word=$2
25478 echo "$as_me:$LINENO: checking for $ac_word" >&5
25479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25480 if test "${ac_cv_prog_DEREZ+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 else
25483 if test -n "$DEREZ"; then
25484 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25485 else
25486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25487 for as_dir in $PATH
25488 do
25489 IFS=$as_save_IFS
25490 test -z "$as_dir" && as_dir=.
25491 for ac_exec_ext in '' $ac_executable_extensions; do
25492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25493 ac_cv_prog_DEREZ="DeRez"
25494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25495 break 2
25496 fi
25497 done
25498 done
25499
25500 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25501 fi
25502 fi
25503 DEREZ=$ac_cv_prog_DEREZ
25504 if test -n "$DEREZ"; then
25505 echo "$as_me:$LINENO: result: $DEREZ" >&5
25506 echo "${ECHO_T}$DEREZ" >&6
25507 else
25508 echo "$as_me:$LINENO: result: no" >&5
25509 echo "${ECHO_T}no" >&6
25510 fi
25511
25512 # Extract the first word of "SetFile", so it can be a program name with args.
25513 set dummy SetFile; ac_word=$2
25514 echo "$as_me:$LINENO: checking for $ac_word" >&5
25515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25516 if test "${ac_cv_prog_SETFILE+set}" = set; then
25517 echo $ECHO_N "(cached) $ECHO_C" >&6
25518 else
25519 if test -n "$SETFILE"; then
25520 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25521 else
25522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25523 for as_dir in $PATH
25524 do
25525 IFS=$as_save_IFS
25526 test -z "$as_dir" && as_dir=.
25527 for ac_exec_ext in '' $ac_executable_extensions; do
25528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25529 ac_cv_prog_SETFILE="SetFile"
25530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25531 break 2
25532 fi
25533 done
25534 done
25535
25536 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25537 fi
25538 fi
25539 SETFILE=$ac_cv_prog_SETFILE
25540 if test -n "$SETFILE"; then
25541 echo "$as_me:$LINENO: result: $SETFILE" >&5
25542 echo "${ECHO_T}$SETFILE" >&6
25543 else
25544 echo "$as_me:$LINENO: result: no" >&5
25545 echo "${ECHO_T}no" >&6
25546 fi
25547
25548 MACOSX_BUNDLE="bundle"
25549 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25550 MACSETFILE="\$(SETFILE)"
25551 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25552 elif test "$wxUSE_COCOA" = 1; then
25553 # Extract the first word of "Rez", so it can be a program name with args.
25554 set dummy Rez; ac_word=$2
25555 echo "$as_me:$LINENO: checking for $ac_word" >&5
25556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25557 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 else
25560 if test -n "$RESCOMP"; then
25561 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25562 else
25563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25564 for as_dir in $PATH
25565 do
25566 IFS=$as_save_IFS
25567 test -z "$as_dir" && as_dir=.
25568 for ac_exec_ext in '' $ac_executable_extensions; do
25569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25570 ac_cv_prog_RESCOMP="Rez"
25571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25572 break 2
25573 fi
25574 done
25575 done
25576
25577 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25578 fi
25579 fi
25580 RESCOMP=$ac_cv_prog_RESCOMP
25581 if test -n "$RESCOMP"; then
25582 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25583 echo "${ECHO_T}$RESCOMP" >&6
25584 else
25585 echo "$as_me:$LINENO: result: no" >&5
25586 echo "${ECHO_T}no" >&6
25587 fi
25588
25589 # Extract the first word of "DeRez", so it can be a program name with args.
25590 set dummy DeRez; ac_word=$2
25591 echo "$as_me:$LINENO: checking for $ac_word" >&5
25592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25593 if test "${ac_cv_prog_DEREZ+set}" = set; then
25594 echo $ECHO_N "(cached) $ECHO_C" >&6
25595 else
25596 if test -n "$DEREZ"; then
25597 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25598 else
25599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25600 for as_dir in $PATH
25601 do
25602 IFS=$as_save_IFS
25603 test -z "$as_dir" && as_dir=.
25604 for ac_exec_ext in '' $ac_executable_extensions; do
25605 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25606 ac_cv_prog_DEREZ="DeRez"
25607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25608 break 2
25609 fi
25610 done
25611 done
25612
25613 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25614 fi
25615 fi
25616 DEREZ=$ac_cv_prog_DEREZ
25617 if test -n "$DEREZ"; then
25618 echo "$as_me:$LINENO: result: $DEREZ" >&5
25619 echo "${ECHO_T}$DEREZ" >&6
25620 else
25621 echo "$as_me:$LINENO: result: no" >&5
25622 echo "${ECHO_T}no" >&6
25623 fi
25624
25625 # Extract the first word of "SetFile", so it can be a program name with args.
25626 set dummy SetFile; ac_word=$2
25627 echo "$as_me:$LINENO: checking for $ac_word" >&5
25628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25629 if test "${ac_cv_prog_SETFILE+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 if test -n "$SETFILE"; then
25633 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25634 else
25635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25636 for as_dir in $PATH
25637 do
25638 IFS=$as_save_IFS
25639 test -z "$as_dir" && as_dir=.
25640 for ac_exec_ext in '' $ac_executable_extensions; do
25641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25642 ac_cv_prog_SETFILE="SetFile"
25643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25644 break 2
25645 fi
25646 done
25647 done
25648
25649 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25650 fi
25651 fi
25652 SETFILE=$ac_cv_prog_SETFILE
25653 if test -n "$SETFILE"; then
25654 echo "$as_me:$LINENO: result: $SETFILE" >&5
25655 echo "${ECHO_T}$SETFILE" >&6
25656 else
25657 echo "$as_me:$LINENO: result: no" >&5
25658 echo "${ECHO_T}no" >&6
25659 fi
25660
25661 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25662 MACSETFILE="\$(SETFILE)"
25663 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25664 else
25665 if test "$wxUSE_PM" = 1; then
25666 MACRESCOMP="emxbind -ep"
25667 fi
25668 fi
25669
25670
25671 echo "$as_me:$LINENO: checking for mode_t" >&5
25672 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25673 if test "${ac_cv_type_mode_t+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 else
25676 cat >conftest.$ac_ext <<_ACEOF
25677 #line $LINENO "configure"
25678 /* confdefs.h. */
25679 _ACEOF
25680 cat confdefs.h >>conftest.$ac_ext
25681 cat >>conftest.$ac_ext <<_ACEOF
25682 /* end confdefs.h. */
25683 $ac_includes_default
25684 int
25685 main ()
25686 {
25687 if ((mode_t *) 0)
25688 return 0;
25689 if (sizeof (mode_t))
25690 return 0;
25691 ;
25692 return 0;
25693 }
25694 _ACEOF
25695 rm -f conftest.$ac_objext
25696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25697 (eval $ac_compile) 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } &&
25701 { ac_try='test -s conftest.$ac_objext'
25702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703 (eval $ac_try) 2>&5
25704 ac_status=$?
25705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706 (exit $ac_status); }; }; then
25707 ac_cv_type_mode_t=yes
25708 else
25709 echo "$as_me: failed program was:" >&5
25710 sed 's/^/| /' conftest.$ac_ext >&5
25711
25712 ac_cv_type_mode_t=no
25713 fi
25714 rm -f conftest.$ac_objext conftest.$ac_ext
25715 fi
25716 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25717 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25718 if test $ac_cv_type_mode_t = yes; then
25719 :
25720 else
25721
25722 cat >>confdefs.h <<_ACEOF
25723 #define mode_t int
25724 _ACEOF
25725
25726 fi
25727
25728 echo "$as_me:$LINENO: checking for off_t" >&5
25729 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25730 if test "${ac_cv_type_off_t+set}" = set; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25732 else
25733 cat >conftest.$ac_ext <<_ACEOF
25734 #line $LINENO "configure"
25735 /* confdefs.h. */
25736 _ACEOF
25737 cat confdefs.h >>conftest.$ac_ext
25738 cat >>conftest.$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25740 $ac_includes_default
25741 int
25742 main ()
25743 {
25744 if ((off_t *) 0)
25745 return 0;
25746 if (sizeof (off_t))
25747 return 0;
25748 ;
25749 return 0;
25750 }
25751 _ACEOF
25752 rm -f conftest.$ac_objext
25753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25754 (eval $ac_compile) 2>&5
25755 ac_status=$?
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); } &&
25758 { ac_try='test -s conftest.$ac_objext'
25759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25760 (eval $ac_try) 2>&5
25761 ac_status=$?
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); }; }; then
25764 ac_cv_type_off_t=yes
25765 else
25766 echo "$as_me: failed program was:" >&5
25767 sed 's/^/| /' conftest.$ac_ext >&5
25768
25769 ac_cv_type_off_t=no
25770 fi
25771 rm -f conftest.$ac_objext conftest.$ac_ext
25772 fi
25773 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25774 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25775 if test $ac_cv_type_off_t = yes; then
25776 :
25777 else
25778
25779 cat >>confdefs.h <<_ACEOF
25780 #define off_t long
25781 _ACEOF
25782
25783 fi
25784
25785 echo "$as_me:$LINENO: checking for pid_t" >&5
25786 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25787 if test "${ac_cv_type_pid_t+set}" = set; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 else
25790 cat >conftest.$ac_ext <<_ACEOF
25791 #line $LINENO "configure"
25792 /* confdefs.h. */
25793 _ACEOF
25794 cat confdefs.h >>conftest.$ac_ext
25795 cat >>conftest.$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25797 $ac_includes_default
25798 int
25799 main ()
25800 {
25801 if ((pid_t *) 0)
25802 return 0;
25803 if (sizeof (pid_t))
25804 return 0;
25805 ;
25806 return 0;
25807 }
25808 _ACEOF
25809 rm -f conftest.$ac_objext
25810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25811 (eval $ac_compile) 2>&5
25812 ac_status=$?
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); } &&
25815 { ac_try='test -s conftest.$ac_objext'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25818 ac_status=$?
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; }; then
25821 ac_cv_type_pid_t=yes
25822 else
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.$ac_ext >&5
25825
25826 ac_cv_type_pid_t=no
25827 fi
25828 rm -f conftest.$ac_objext conftest.$ac_ext
25829 fi
25830 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25831 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25832 if test $ac_cv_type_pid_t = yes; then
25833 :
25834 else
25835
25836 cat >>confdefs.h <<_ACEOF
25837 #define pid_t int
25838 _ACEOF
25839
25840 fi
25841
25842 echo "$as_me:$LINENO: checking for size_t" >&5
25843 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25844 if test "${ac_cv_type_size_t+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25846 else
25847 cat >conftest.$ac_ext <<_ACEOF
25848 #line $LINENO "configure"
25849 /* confdefs.h. */
25850 _ACEOF
25851 cat confdefs.h >>conftest.$ac_ext
25852 cat >>conftest.$ac_ext <<_ACEOF
25853 /* end confdefs.h. */
25854 $ac_includes_default
25855 int
25856 main ()
25857 {
25858 if ((size_t *) 0)
25859 return 0;
25860 if (sizeof (size_t))
25861 return 0;
25862 ;
25863 return 0;
25864 }
25865 _ACEOF
25866 rm -f conftest.$ac_objext
25867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25868 (eval $ac_compile) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } &&
25872 { ac_try='test -s conftest.$ac_objext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_cv_type_size_t=yes
25879 else
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883 ac_cv_type_size_t=no
25884 fi
25885 rm -f conftest.$ac_objext conftest.$ac_ext
25886 fi
25887 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25888 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25889 if test $ac_cv_type_size_t = yes; then
25890 :
25891 else
25892
25893 cat >>confdefs.h <<_ACEOF
25894 #define size_t unsigned
25895 _ACEOF
25896
25897 fi
25898
25899 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25900 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25901 if test "${ac_cv_type_uid_t+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25904 cat >conftest.$ac_ext <<_ACEOF
25905 #line $LINENO "configure"
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 #include <sys/types.h>
25912
25913 _ACEOF
25914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25915 $EGREP "uid_t" >/dev/null 2>&1; then
25916 ac_cv_type_uid_t=yes
25917 else
25918 ac_cv_type_uid_t=no
25919 fi
25920 rm -f conftest*
25921
25922 fi
25923 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25924 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25925 if test $ac_cv_type_uid_t = no; then
25926
25927 cat >>confdefs.h <<\_ACEOF
25928 #define uid_t int
25929 _ACEOF
25930
25931
25932 cat >>confdefs.h <<\_ACEOF
25933 #define gid_t int
25934 _ACEOF
25935
25936 fi
25937
25938
25939
25940
25941 ac_ext=cc
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25946
25947 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25948 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25949 if test "${wx_cv_size_t_is_uint+set}" = set; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25951 else
25952
25953 cat >conftest.$ac_ext <<_ACEOF
25954 #line $LINENO "configure"
25955 /* confdefs.h. */
25956 _ACEOF
25957 cat confdefs.h >>conftest.$ac_ext
25958 cat >>conftest.$ac_ext <<_ACEOF
25959 /* end confdefs.h. */
25960 #include <stddef.h>
25961 int
25962 main ()
25963 {
25964
25965 return 0; }
25966
25967 struct Foo { void foo(size_t); void foo(unsigned int); };
25968
25969 int bar() {
25970
25971 ;
25972 return 0;
25973 }
25974 _ACEOF
25975 rm -f conftest.$ac_objext
25976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25977 (eval $ac_compile) 2>&5
25978 ac_status=$?
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); } &&
25981 { ac_try='test -s conftest.$ac_objext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 wx_cv_size_t_is_uint=no
25988 else
25989 echo "$as_me: failed program was:" >&5
25990 sed 's/^/| /' conftest.$ac_ext >&5
25991
25992 wx_cv_size_t_is_uint=yes
25993
25994 fi
25995 rm -f conftest.$ac_objext conftest.$ac_ext
25996
25997
25998 fi
25999 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26000 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26001
26002 if test "$wx_cv_size_t_is_uint" = "yes"; then
26003 cat >>confdefs.h <<\_ACEOF
26004 #define wxSIZE_T_IS_UINT 1
26005 _ACEOF
26006
26007 else
26008 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26009 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26010 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26011 echo $ECHO_N "(cached) $ECHO_C" >&6
26012 else
26013 cat >conftest.$ac_ext <<_ACEOF
26014 #line $LINENO "configure"
26015 /* confdefs.h. */
26016 _ACEOF
26017 cat confdefs.h >>conftest.$ac_ext
26018 cat >>conftest.$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26020 #include <stddef.h>
26021 int
26022 main ()
26023 {
26024
26025 return 0; }
26026
26027 struct Foo { void foo(size_t); void foo(unsigned long); };
26028
26029 int bar() {
26030
26031 ;
26032 return 0;
26033 }
26034 _ACEOF
26035 rm -f conftest.$ac_objext
26036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26037 (eval $ac_compile) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26044 ac_status=$?
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 wx_cv_size_t_is_ulong=no
26048 else
26049 echo "$as_me: failed program was:" >&5
26050 sed 's/^/| /' conftest.$ac_ext >&5
26051
26052 wx_cv_size_t_is_ulong=yes
26053
26054 fi
26055 rm -f conftest.$ac_objext conftest.$ac_ext
26056
26057 fi
26058 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26059 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26060
26061 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26062 cat >>confdefs.h <<\_ACEOF
26063 #define wxSIZE_T_IS_ULONG 1
26064 _ACEOF
26065
26066 fi
26067 fi
26068
26069 ac_ext=c
26070 ac_cpp='$CPP $CPPFLAGS'
26071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26074
26075
26076
26077 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26078 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26079 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26081 else
26082
26083 cat >conftest.$ac_ext <<_ACEOF
26084 #line $LINENO "configure"
26085 /* confdefs.h. */
26086 _ACEOF
26087 cat confdefs.h >>conftest.$ac_ext
26088 cat >>conftest.$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26090 #include <pwd.h>
26091 int
26092 main ()
26093 {
26094
26095 char *p;
26096 struct passwd *pw;
26097 p = pw->pw_gecos;
26098
26099 ;
26100 return 0;
26101 }
26102 _ACEOF
26103 rm -f conftest.$ac_objext
26104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26105 (eval $ac_compile) 2>&5
26106 ac_status=$?
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); } &&
26109 { ac_try='test -s conftest.$ac_objext'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26112 ac_status=$?
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; }; then
26115
26116 wx_cv_struct_pw_gecos=yes
26117
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122
26123 wx_cv_struct_pw_gecos=no
26124
26125
26126 fi
26127 rm -f conftest.$ac_objext conftest.$ac_ext
26128
26129
26130 fi
26131 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26132 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26133
26134 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26135 cat >>confdefs.h <<\_ACEOF
26136 #define HAVE_PW_GECOS 1
26137 _ACEOF
26138
26139 fi
26140
26141
26142 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26143 cat >>confdefs.h <<\_ACEOF
26144 #define wxUSE_WCHAR_T 1
26145 _ACEOF
26146
26147
26148 WCSLEN_FOUND=0
26149 WCHAR_LINK=
26150
26151 for ac_func in wcslen
26152 do
26153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26154 echo "$as_me:$LINENO: checking for $ac_func" >&5
26155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26156 if eval "test \"\${$as_ac_var+set}\" = set"; then
26157 echo $ECHO_N "(cached) $ECHO_C" >&6
26158 else
26159 cat >conftest.$ac_ext <<_ACEOF
26160 #line $LINENO "configure"
26161 /* confdefs.h. */
26162 _ACEOF
26163 cat confdefs.h >>conftest.$ac_ext
26164 cat >>conftest.$ac_ext <<_ACEOF
26165 /* end confdefs.h. */
26166 /* System header to define __stub macros and hopefully few prototypes,
26167 which can conflict with char $ac_func (); below.
26168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26169 <limits.h> exists even on freestanding compilers. */
26170 #ifdef __STDC__
26171 # include <limits.h>
26172 #else
26173 # include <assert.h>
26174 #endif
26175 /* Override any gcc2 internal prototype to avoid an error. */
26176 #ifdef __cplusplus
26177 extern "C"
26178 {
26179 #endif
26180 /* We use char because int might match the return type of a gcc2
26181 builtin and then its argument prototype would still apply. */
26182 char $ac_func ();
26183 /* The GNU C library defines this for functions which it implements
26184 to always fail with ENOSYS. Some functions are actually named
26185 something starting with __ and the normal name is an alias. */
26186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26187 choke me
26188 #else
26189 char (*f) () = $ac_func;
26190 #endif
26191 #ifdef __cplusplus
26192 }
26193 #endif
26194
26195 int
26196 main ()
26197 {
26198 return f != $ac_func;
26199 ;
26200 return 0;
26201 }
26202 _ACEOF
26203 rm -f conftest.$ac_objext conftest$ac_exeext
26204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26205 (eval $ac_link) 2>&5
26206 ac_status=$?
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -s conftest$ac_exeext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 eval "$as_ac_var=yes"
26216 else
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.$ac_ext >&5
26219
26220 eval "$as_ac_var=no"
26221 fi
26222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26223 fi
26224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26226 if test `eval echo '${'$as_ac_var'}'` = yes; then
26227 cat >>confdefs.h <<_ACEOF
26228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26229 _ACEOF
26230 WCSLEN_FOUND=1
26231 fi
26232 done
26233
26234
26235 if test "$WCSLEN_FOUND" = 0; then
26236 if test "$TOOLKIT" = "MSW"; then
26237 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26238 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26239 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26240 echo $ECHO_N "(cached) $ECHO_C" >&6
26241 else
26242 ac_check_lib_save_LIBS=$LIBS
26243 LIBS="-lmsvcrt $LIBS"
26244 cat >conftest.$ac_ext <<_ACEOF
26245 #line $LINENO "configure"
26246 /* confdefs.h. */
26247 _ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26251
26252 /* Override any gcc2 internal prototype to avoid an error. */
26253 #ifdef __cplusplus
26254 extern "C"
26255 #endif
26256 /* We use char because int might match the return type of a gcc2
26257 builtin and then its argument prototype would still apply. */
26258 char wcslen ();
26259 int
26260 main ()
26261 {
26262 wcslen ();
26263 ;
26264 return 0;
26265 }
26266 _ACEOF
26267 rm -f conftest.$ac_objext conftest$ac_exeext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26269 (eval $ac_link) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); } &&
26273 { ac_try='test -s conftest$ac_exeext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279 ac_cv_lib_msvcrt_wcslen=yes
26280 else
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26283
26284 ac_cv_lib_msvcrt_wcslen=no
26285 fi
26286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26287 LIBS=$ac_check_lib_save_LIBS
26288 fi
26289 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26290 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26291 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26292 WCHAR_OK=1
26293 fi
26294
26295 else
26296 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26297 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26298 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 else
26301 ac_check_lib_save_LIBS=$LIBS
26302 LIBS="-lw $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_w_wcslen=yes
26339 else
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26342
26343 ac_cv_lib_w_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_w_wcslen" >&5
26349 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26350 if test $ac_cv_lib_w_wcslen = yes; then
26351
26352 WCHAR_LINK=" -lw"
26353 WCSLEN_FOUND=1
26354
26355 fi
26356
26357 fi
26358 fi
26359
26360 if test "$WCSLEN_FOUND" = 1; then
26361 cat >>confdefs.h <<\_ACEOF
26362 #define HAVE_WCSLEN 1
26363 _ACEOF
26364
26365 fi
26366
26367
26368 for ac_func in wcsrtombs
26369 do
26370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26371 echo "$as_me:$LINENO: checking for $ac_func" >&5
26372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26373 if eval "test \"\${$as_ac_var+set}\" = set"; then
26374 echo $ECHO_N "(cached) $ECHO_C" >&6
26375 else
26376 cat >conftest.$ac_ext <<_ACEOF
26377 #line $LINENO "configure"
26378 /* confdefs.h. */
26379 _ACEOF
26380 cat confdefs.h >>conftest.$ac_ext
26381 cat >>conftest.$ac_ext <<_ACEOF
26382 /* end confdefs.h. */
26383 /* System header to define __stub macros and hopefully few prototypes,
26384 which can conflict with char $ac_func (); below.
26385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26386 <limits.h> exists even on freestanding compilers. */
26387 #ifdef __STDC__
26388 # include <limits.h>
26389 #else
26390 # include <assert.h>
26391 #endif
26392 /* Override any gcc2 internal prototype to avoid an error. */
26393 #ifdef __cplusplus
26394 extern "C"
26395 {
26396 #endif
26397 /* We use char because int might match the return type of a gcc2
26398 builtin and then its argument prototype would still apply. */
26399 char $ac_func ();
26400 /* The GNU C library defines this for functions which it implements
26401 to always fail with ENOSYS. Some functions are actually named
26402 something starting with __ and the normal name is an alias. */
26403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26404 choke me
26405 #else
26406 char (*f) () = $ac_func;
26407 #endif
26408 #ifdef __cplusplus
26409 }
26410 #endif
26411
26412 int
26413 main ()
26414 {
26415 return f != $ac_func;
26416 ;
26417 return 0;
26418 }
26419 _ACEOF
26420 rm -f conftest.$ac_objext conftest$ac_exeext
26421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26422 (eval $ac_link) 2>&5
26423 ac_status=$?
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } &&
26426 { ac_try='test -s conftest$ac_exeext'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26429 ac_status=$?
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; }; then
26432 eval "$as_ac_var=yes"
26433 else
26434 echo "$as_me: failed program was:" >&5
26435 sed 's/^/| /' conftest.$ac_ext >&5
26436
26437 eval "$as_ac_var=no"
26438 fi
26439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26440 fi
26441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26443 if test `eval echo '${'$as_ac_var'}'` = yes; then
26444 cat >>confdefs.h <<_ACEOF
26445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26446 _ACEOF
26447
26448 fi
26449 done
26450
26451 else
26452 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26453 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26454 fi
26455
26456
26457
26458 ac_ext=cc
26459 ac_cpp='$CXXCPP $CPPFLAGS'
26460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26463
26464
26465
26466 for ac_func in vsnprintf
26467 do
26468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26469 echo "$as_me:$LINENO: checking for $ac_func" >&5
26470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26471 if eval "test \"\${$as_ac_var+set}\" = set"; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 else
26474 cat >conftest.$ac_ext <<_ACEOF
26475 #line $LINENO "configure"
26476 /* confdefs.h. */
26477 _ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 /* System header to define __stub macros and hopefully few prototypes,
26482 which can conflict with char $ac_func (); below.
26483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26484 <limits.h> exists even on freestanding compilers. */
26485 #ifdef __STDC__
26486 # include <limits.h>
26487 #else
26488 # include <assert.h>
26489 #endif
26490 /* Override any gcc2 internal prototype to avoid an error. */
26491 #ifdef __cplusplus
26492 extern "C"
26493 {
26494 #endif
26495 /* We use char because int might match the return type of a gcc2
26496 builtin and then its argument prototype would still apply. */
26497 char $ac_func ();
26498 /* The GNU C library defines this for functions which it implements
26499 to always fail with ENOSYS. Some functions are actually named
26500 something starting with __ and the normal name is an alias. */
26501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26502 choke me
26503 #else
26504 char (*f) () = $ac_func;
26505 #endif
26506 #ifdef __cplusplus
26507 }
26508 #endif
26509
26510 int
26511 main ()
26512 {
26513 return f != $ac_func;
26514 ;
26515 return 0;
26516 }
26517 _ACEOF
26518 rm -f conftest.$ac_objext conftest$ac_exeext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26520 (eval $ac_link) 2>&5
26521 ac_status=$?
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try='test -s conftest$ac_exeext'
26525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26526 (eval $ac_try) 2>&5
26527 ac_status=$?
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); }; }; then
26530 eval "$as_ac_var=yes"
26531 else
26532 echo "$as_me: failed program was:" >&5
26533 sed 's/^/| /' conftest.$ac_ext >&5
26534
26535 eval "$as_ac_var=no"
26536 fi
26537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26538 fi
26539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26541 if test `eval echo '${'$as_ac_var'}'` = yes; then
26542 cat >>confdefs.h <<_ACEOF
26543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26544 _ACEOF
26545
26546 fi
26547 done
26548
26549
26550 if test "$ac_cv_func_vsnprintf" = "yes"; then
26551 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26552 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26553 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 else
26556
26557 cat >conftest.$ac_ext <<_ACEOF
26558 #line $LINENO "configure"
26559 /* confdefs.h. */
26560 _ACEOF
26561 cat confdefs.h >>conftest.$ac_ext
26562 cat >>conftest.$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564
26565 #include <stdio.h>
26566 #include <stdarg.h>
26567
26568 int
26569 main ()
26570 {
26571
26572 char *buf;
26573 va_list ap;
26574 vsnprintf(buf, 10u, "%s", ap);
26575
26576 ;
26577 return 0;
26578 }
26579 _ACEOF
26580 rm -f conftest.$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>&5
26583 ac_status=$?
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } &&
26586 { ac_try='test -s conftest.$ac_objext'
26587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 (eval $ac_try) 2>&5
26589 ac_status=$?
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); }; }; then
26592 wx_cv_func_vsnprintf_decl=yes
26593 else
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.$ac_ext >&5
26596
26597 wx_cv_func_vsnprintf_decl=no
26598
26599 fi
26600 rm -f conftest.$ac_objext conftest.$ac_ext
26601
26602
26603 fi
26604 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26605 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26606
26607 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26608 cat >>confdefs.h <<\_ACEOF
26609 #define HAVE_VSNPRINTF_DECL 1
26610 _ACEOF
26611
26612 fi
26613 fi
26614
26615 if test "$wxUSE_UNICODE" = yes; then
26616
26617
26618
26619 for ac_func in fputwc wprintf vswprintf
26620 do
26621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26622 echo "$as_me:$LINENO: checking for $ac_func" >&5
26623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26624 if eval "test \"\${$as_ac_var+set}\" = set"; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 else
26627 cat >conftest.$ac_ext <<_ACEOF
26628 #line $LINENO "configure"
26629 /* confdefs.h. */
26630 _ACEOF
26631 cat confdefs.h >>conftest.$ac_ext
26632 cat >>conftest.$ac_ext <<_ACEOF
26633 /* end confdefs.h. */
26634 /* System header to define __stub macros and hopefully few prototypes,
26635 which can conflict with char $ac_func (); below.
26636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26637 <limits.h> exists even on freestanding compilers. */
26638 #ifdef __STDC__
26639 # include <limits.h>
26640 #else
26641 # include <assert.h>
26642 #endif
26643 /* Override any gcc2 internal prototype to avoid an error. */
26644 #ifdef __cplusplus
26645 extern "C"
26646 {
26647 #endif
26648 /* We use char because int might match the return type of a gcc2
26649 builtin and then its argument prototype would still apply. */
26650 char $ac_func ();
26651 /* The GNU C library defines this for functions which it implements
26652 to always fail with ENOSYS. Some functions are actually named
26653 something starting with __ and the normal name is an alias. */
26654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26655 choke me
26656 #else
26657 char (*f) () = $ac_func;
26658 #endif
26659 #ifdef __cplusplus
26660 }
26661 #endif
26662
26663 int
26664 main ()
26665 {
26666 return f != $ac_func;
26667 ;
26668 return 0;
26669 }
26670 _ACEOF
26671 rm -f conftest.$ac_objext conftest$ac_exeext
26672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26673 (eval $ac_link) 2>&5
26674 ac_status=$?
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); } &&
26677 { ac_try='test -s conftest$ac_exeext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 eval "$as_ac_var=yes"
26684 else
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26687
26688 eval "$as_ac_var=no"
26689 fi
26690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26691 fi
26692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26694 if test `eval echo '${'$as_ac_var'}'` = yes; then
26695 cat >>confdefs.h <<_ACEOF
26696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26697 _ACEOF
26698
26699 fi
26700 done
26701
26702
26703 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26704 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26705 cat >conftest.$ac_ext <<_ACEOF
26706 #line $LINENO "configure"
26707 /* confdefs.h. */
26708 _ACEOF
26709 cat confdefs.h >>conftest.$ac_ext
26710 cat >>conftest.$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26712 #include <wchar.h>
26713 int
26714 main ()
26715 {
26716 &_vsnwprintf;
26717 ;
26718 return 0;
26719 }
26720 _ACEOF
26721 rm -f conftest.$ac_objext
26722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26723 (eval $ac_compile) 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } &&
26727 { ac_try='test -s conftest.$ac_objext'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 echo "$as_me:$LINENO: result: yes" >&5
26734 echo "${ECHO_T}yes" >&6
26735 cat >>confdefs.h <<\_ACEOF
26736 #define HAVE__VSNWPRINTF 1
26737 _ACEOF
26738
26739 else
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.$ac_ext >&5
26742
26743 echo "$as_me:$LINENO: result: no" >&5
26744 echo "${ECHO_T}no" >&6
26745 fi
26746 rm -f conftest.$ac_objext conftest.$ac_ext;
26747 fi
26748
26749 ac_ext=c
26750 ac_cpp='$CPP $CPPFLAGS'
26751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26754
26755
26756
26757
26758 if test "$TOOLKIT" != "MSW"; then
26759
26760
26761
26762
26763 ac_ext=cc
26764 ac_cpp='$CXXCPP $CPPFLAGS'
26765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26768
26769
26770
26771
26772 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26773 if test "${with_libiconv_prefix+set}" = set; then
26774 withval="$with_libiconv_prefix"
26775
26776 for dir in `echo "$withval" | tr : ' '`; do
26777 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26778 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26779 done
26780
26781 fi;
26782
26783 echo "$as_me:$LINENO: checking for iconv" >&5
26784 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26785 if test "${am_cv_func_iconv+set}" = set; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 else
26788
26789 am_cv_func_iconv="no, consider installing GNU libiconv"
26790 am_cv_lib_iconv=no
26791 cat >conftest.$ac_ext <<_ACEOF
26792 #line $LINENO "configure"
26793 /* confdefs.h. */
26794 _ACEOF
26795 cat confdefs.h >>conftest.$ac_ext
26796 cat >>conftest.$ac_ext <<_ACEOF
26797 /* end confdefs.h. */
26798 #include <stdlib.h>
26799 #include <iconv.h>
26800 int
26801 main ()
26802 {
26803 iconv_t cd = iconv_open("","");
26804 iconv(cd,NULL,NULL,NULL,NULL);
26805 iconv_close(cd);
26806 ;
26807 return 0;
26808 }
26809 _ACEOF
26810 rm -f conftest.$ac_objext conftest$ac_exeext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26812 (eval $ac_link) 2>&5
26813 ac_status=$?
26814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26815 (exit $ac_status); } &&
26816 { ac_try='test -s conftest$ac_exeext'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; }; then
26822 am_cv_func_iconv=yes
26823 else
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26826
26827 fi
26828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26829 if test "$am_cv_func_iconv" != yes; then
26830 am_save_LIBS="$LIBS"
26831 LIBS="$LIBS -liconv"
26832 cat >conftest.$ac_ext <<_ACEOF
26833 #line $LINENO "configure"
26834 /* confdefs.h. */
26835 _ACEOF
26836 cat confdefs.h >>conftest.$ac_ext
26837 cat >>conftest.$ac_ext <<_ACEOF
26838 /* end confdefs.h. */
26839 #include <stdlib.h>
26840 #include <iconv.h>
26841 int
26842 main ()
26843 {
26844 iconv_t cd = iconv_open("","");
26845 iconv(cd,NULL,NULL,NULL,NULL);
26846 iconv_close(cd);
26847 ;
26848 return 0;
26849 }
26850 _ACEOF
26851 rm -f conftest.$ac_objext conftest$ac_exeext
26852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26853 (eval $ac_link) 2>&5
26854 ac_status=$?
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } &&
26857 { ac_try='test -s conftest$ac_exeext'
26858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26859 (eval $ac_try) 2>&5
26860 ac_status=$?
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); }; }; then
26863 am_cv_lib_iconv=yes
26864 am_cv_func_iconv=yes
26865 else
26866 echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.$ac_ext >&5
26868
26869 fi
26870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26871 LIBS="$am_save_LIBS"
26872 fi
26873
26874 fi
26875 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26876 echo "${ECHO_T}$am_cv_func_iconv" >&6
26877 if test "$am_cv_func_iconv" = yes; then
26878
26879 cat >>confdefs.h <<\_ACEOF
26880 #define HAVE_ICONV 1
26881 _ACEOF
26882
26883 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26884 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26885 if test "${wx_cv_func_iconv_const+set}" = set; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 else
26888 cat >conftest.$ac_ext <<_ACEOF
26889 #line $LINENO "configure"
26890 /* confdefs.h. */
26891 _ACEOF
26892 cat confdefs.h >>conftest.$ac_ext
26893 cat >>conftest.$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26895
26896 #include <stdlib.h>
26897 #include <iconv.h>
26898 extern
26899 #ifdef __cplusplus
26900 "C"
26901 #endif
26902 #if defined(__STDC__) || defined(__cplusplus)
26903 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26904 #else
26905 size_t iconv();
26906 #endif
26907
26908 int
26909 main ()
26910 {
26911
26912 ;
26913 return 0;
26914 }
26915 _ACEOF
26916 rm -f conftest.$ac_objext
26917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26918 (eval $ac_compile) 2>&5
26919 ac_status=$?
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try='test -s conftest.$ac_objext'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26925 ac_status=$?
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; }; then
26928 wx_cv_func_iconv_const="no"
26929 else
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26932
26933 wx_cv_func_iconv_const="yes"
26934
26935 fi
26936 rm -f conftest.$ac_objext conftest.$ac_ext
26937
26938 fi
26939 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26940 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26941
26942 iconv_const=
26943 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26944 iconv_const="const"
26945 fi
26946
26947
26948 cat >>confdefs.h <<_ACEOF
26949 #define ICONV_CONST $iconv_const
26950 _ACEOF
26951
26952 fi
26953 LIBICONV=
26954 if test "$am_cv_lib_iconv" = yes; then
26955 LIBICONV="-liconv"
26956 fi
26957
26958
26959 LIBS="$LIBICONV $LIBS"
26960 ac_ext=c
26961 ac_cpp='$CPP $CPPFLAGS'
26962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26965
26966
26967 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26968
26969 for ac_func in sigaction
26970 do
26971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26972 echo "$as_me:$LINENO: checking for $ac_func" >&5
26973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26974 if eval "test \"\${$as_ac_var+set}\" = set"; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 else
26977 cat >conftest.$ac_ext <<_ACEOF
26978 #line $LINENO "configure"
26979 /* confdefs.h. */
26980 _ACEOF
26981 cat confdefs.h >>conftest.$ac_ext
26982 cat >>conftest.$ac_ext <<_ACEOF
26983 /* end confdefs.h. */
26984 /* System header to define __stub macros and hopefully few prototypes,
26985 which can conflict with char $ac_func (); below.
26986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26987 <limits.h> exists even on freestanding compilers. */
26988 #ifdef __STDC__
26989 # include <limits.h>
26990 #else
26991 # include <assert.h>
26992 #endif
26993 /* Override any gcc2 internal prototype to avoid an error. */
26994 #ifdef __cplusplus
26995 extern "C"
26996 {
26997 #endif
26998 /* We use char because int might match the return type of a gcc2
26999 builtin and then its argument prototype would still apply. */
27000 char $ac_func ();
27001 /* The GNU C library defines this for functions which it implements
27002 to always fail with ENOSYS. Some functions are actually named
27003 something starting with __ and the normal name is an alias. */
27004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27005 choke me
27006 #else
27007 char (*f) () = $ac_func;
27008 #endif
27009 #ifdef __cplusplus
27010 }
27011 #endif
27012
27013 int
27014 main ()
27015 {
27016 return f != $ac_func;
27017 ;
27018 return 0;
27019 }
27020 _ACEOF
27021 rm -f conftest.$ac_objext conftest$ac_exeext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27023 (eval $ac_link) 2>&5
27024 ac_status=$?
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try='test -s conftest$ac_exeext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27030 ac_status=$?
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27033 eval "$as_ac_var=yes"
27034 else
27035 echo "$as_me: failed program was:" >&5
27036 sed 's/^/| /' conftest.$ac_ext >&5
27037
27038 eval "$as_ac_var=no"
27039 fi
27040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27041 fi
27042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27044 if test `eval echo '${'$as_ac_var'}'` = yes; then
27045 cat >>confdefs.h <<_ACEOF
27046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27047 _ACEOF
27048
27049 fi
27050 done
27051
27052
27053 if test "$ac_cv_func_sigaction" = "no"; then
27054 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27055 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27056 wxUSE_ON_FATAL_EXCEPTION=no
27057 fi
27058
27059 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27060
27061
27062 ac_ext=cc
27063 ac_cpp='$CXXCPP $CPPFLAGS'
27064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27067
27068
27069 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27070 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27071 if test "${wx_cv_type_sa_handler+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 else
27074
27075 cat >conftest.$ac_ext <<_ACEOF
27076 #line $LINENO "configure"
27077 /* confdefs.h. */
27078 _ACEOF
27079 cat confdefs.h >>conftest.$ac_ext
27080 cat >>conftest.$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27082 #include <signal.h>
27083 int
27084 main ()
27085 {
27086
27087 extern void testSigHandler(int);
27088
27089 struct sigaction sa;
27090 sa.sa_handler = testSigHandler;
27091
27092 ;
27093 return 0;
27094 }
27095 _ACEOF
27096 rm -f conftest.$ac_objext
27097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27098 (eval $ac_compile) 2>&5
27099 ac_status=$?
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try='test -s conftest.$ac_objext'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27108
27109 wx_cv_type_sa_handler=int
27110
27111 else
27112 echo "$as_me: failed program was:" >&5
27113 sed 's/^/| /' conftest.$ac_ext >&5
27114
27115
27116 wx_cv_type_sa_handler=void
27117
27118 fi
27119 rm -f conftest.$ac_objext conftest.$ac_ext
27120
27121 fi
27122 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27123 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27124
27125 ac_ext=c
27126 ac_cpp='$CPP $CPPFLAGS'
27127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27130
27131
27132 cat >>confdefs.h <<_ACEOF
27133 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27134 _ACEOF
27135
27136 fi
27137 fi
27138
27139
27140
27141 for ac_func in mkstemp mktemp
27142 do
27143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27144 echo "$as_me:$LINENO: checking for $ac_func" >&5
27145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27146 if eval "test \"\${$as_ac_var+set}\" = set"; then
27147 echo $ECHO_N "(cached) $ECHO_C" >&6
27148 else
27149 cat >conftest.$ac_ext <<_ACEOF
27150 #line $LINENO "configure"
27151 /* confdefs.h. */
27152 _ACEOF
27153 cat confdefs.h >>conftest.$ac_ext
27154 cat >>conftest.$ac_ext <<_ACEOF
27155 /* end confdefs.h. */
27156 /* System header to define __stub macros and hopefully few prototypes,
27157 which can conflict with char $ac_func (); below.
27158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27159 <limits.h> exists even on freestanding compilers. */
27160 #ifdef __STDC__
27161 # include <limits.h>
27162 #else
27163 # include <assert.h>
27164 #endif
27165 /* Override any gcc2 internal prototype to avoid an error. */
27166 #ifdef __cplusplus
27167 extern "C"
27168 {
27169 #endif
27170 /* We use char because int might match the return type of a gcc2
27171 builtin and then its argument prototype would still apply. */
27172 char $ac_func ();
27173 /* The GNU C library defines this for functions which it implements
27174 to always fail with ENOSYS. Some functions are actually named
27175 something starting with __ and the normal name is an alias. */
27176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27177 choke me
27178 #else
27179 char (*f) () = $ac_func;
27180 #endif
27181 #ifdef __cplusplus
27182 }
27183 #endif
27184
27185 int
27186 main ()
27187 {
27188 return f != $ac_func;
27189 ;
27190 return 0;
27191 }
27192 _ACEOF
27193 rm -f conftest.$ac_objext conftest$ac_exeext
27194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27195 (eval $ac_link) 2>&5
27196 ac_status=$?
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } &&
27199 { ac_try='test -s conftest$ac_exeext'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27202 ac_status=$?
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; }; then
27205 eval "$as_ac_var=yes"
27206 else
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.$ac_ext >&5
27209
27210 eval "$as_ac_var=no"
27211 fi
27212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27213 fi
27214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27216 if test `eval echo '${'$as_ac_var'}'` = yes; then
27217 cat >>confdefs.h <<_ACEOF
27218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27219 _ACEOF
27220 break
27221 fi
27222 done
27223
27224
27225 echo "$as_me:$LINENO: checking for statfs" >&5
27226 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27227 if test "${wx_cv_func_statfs+set}" = set; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 else
27230 cat >conftest.$ac_ext <<_ACEOF
27231 #line $LINENO "configure"
27232 /* confdefs.h. */
27233 _ACEOF
27234 cat confdefs.h >>conftest.$ac_ext
27235 cat >>conftest.$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237
27238 #if defined(__BSD__)
27239 #include <sys/param.h>
27240 #include <sys/mount.h>
27241 #else
27242 #include <sys/vfs.h>
27243 #endif
27244
27245 int
27246 main ()
27247 {
27248
27249 long l;
27250 struct statfs fs;
27251 statfs("/", &fs);
27252 l = fs.f_bsize;
27253 l += fs.f_blocks;
27254 l += fs.f_bavail;
27255
27256 ;
27257 return 0;
27258 }
27259 _ACEOF
27260 rm -f conftest.$ac_objext
27261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27262 (eval $ac_compile) 2>&5
27263 ac_status=$?
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } &&
27266 { ac_try='test -s conftest.$ac_objext'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27269 ac_status=$?
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; }; then
27272
27273 wx_cv_func_statfs=yes
27274
27275 else
27276 echo "$as_me: failed program was:" >&5
27277 sed 's/^/| /' conftest.$ac_ext >&5
27278
27279
27280 wx_cv_func_statfs=no
27281
27282
27283 fi
27284 rm -f conftest.$ac_objext conftest.$ac_ext
27285
27286 fi
27287 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27288 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27289
27290 if test "$wx_cv_func_statfs" = "yes"; then
27291 wx_cv_type_statvfs_t="struct statfs"
27292 cat >>confdefs.h <<\_ACEOF
27293 #define HAVE_STATFS 1
27294 _ACEOF
27295
27296 else
27297 echo "$as_me:$LINENO: checking for statvfs" >&5
27298 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27299 if test "${wx_cv_func_statvfs+set}" = set; then
27300 echo $ECHO_N "(cached) $ECHO_C" >&6
27301 else
27302 cat >conftest.$ac_ext <<_ACEOF
27303 #line $LINENO "configure"
27304 /* confdefs.h. */
27305 _ACEOF
27306 cat confdefs.h >>conftest.$ac_ext
27307 cat >>conftest.$ac_ext <<_ACEOF
27308 /* end confdefs.h. */
27309
27310 #include <stddef.h>
27311 #include <sys/statvfs.h>
27312
27313 int
27314 main ()
27315 {
27316
27317 statvfs("/", NULL);
27318
27319 ;
27320 return 0;
27321 }
27322 _ACEOF
27323 rm -f conftest.$ac_objext
27324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27325 (eval $ac_compile) 2>&5
27326 ac_status=$?
27327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27328 (exit $ac_status); } &&
27329 { ac_try='test -s conftest.$ac_objext'
27330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27331 (eval $ac_try) 2>&5
27332 ac_status=$?
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); }; }; then
27335 wx_cv_func_statvfs=yes
27336 else
27337 echo "$as_me: failed program was:" >&5
27338 sed 's/^/| /' conftest.$ac_ext >&5
27339
27340 wx_cv_func_statvfs=no
27341
27342 fi
27343 rm -f conftest.$ac_objext conftest.$ac_ext
27344
27345 fi
27346 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27347 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27348
27349 if test "$wx_cv_func_statvfs" = "yes"; then
27350
27351
27352 ac_ext=cc
27353 ac_cpp='$CXXCPP $CPPFLAGS'
27354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27357
27358
27359 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27360 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27361 if test "${wx_cv_type_statvfs_t+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27363 else
27364 cat >conftest.$ac_ext <<_ACEOF
27365 #line $LINENO "configure"
27366 /* confdefs.h. */
27367 _ACEOF
27368 cat confdefs.h >>conftest.$ac_ext
27369 cat >>conftest.$ac_ext <<_ACEOF
27370 /* end confdefs.h. */
27371
27372 #include <sys/statvfs.h>
27373
27374 int
27375 main ()
27376 {
27377
27378 long l;
27379 statvfs_t fs;
27380 statvfs("/", &fs);
27381 l = fs.f_bsize;
27382 l += fs.f_blocks;
27383 l += fs.f_bavail;
27384
27385 ;
27386 return 0;
27387 }
27388 _ACEOF
27389 rm -f conftest.$ac_objext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27391 (eval $ac_compile) 2>&5
27392 ac_status=$?
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try='test -s conftest.$ac_objext'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; }; then
27401 wx_cv_type_statvfs_t=statvfs_t
27402 else
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.$ac_ext >&5
27405
27406
27407 cat >conftest.$ac_ext <<_ACEOF
27408 #line $LINENO "configure"
27409 /* confdefs.h. */
27410 _ACEOF
27411 cat confdefs.h >>conftest.$ac_ext
27412 cat >>conftest.$ac_ext <<_ACEOF
27413 /* end confdefs.h. */
27414
27415 #include <sys/statvfs.h>
27416
27417 int
27418 main ()
27419 {
27420
27421 long l;
27422 struct statvfs fs;
27423 statvfs("/", &fs);
27424 l = fs.f_bsize;
27425 l += fs.f_blocks;
27426 l += fs.f_bavail;
27427
27428 ;
27429 return 0;
27430 }
27431 _ACEOF
27432 rm -f conftest.$ac_objext
27433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27434 (eval $ac_compile) 2>&5
27435 ac_status=$?
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try='test -s conftest.$ac_objext'
27439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27440 (eval $ac_try) 2>&5
27441 ac_status=$?
27442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27443 (exit $ac_status); }; }; then
27444 wx_cv_type_statvfs_t="struct statvfs"
27445 else
27446 echo "$as_me: failed program was:" >&5
27447 sed 's/^/| /' conftest.$ac_ext >&5
27448
27449 wx_cv_type_statvfs_t="unknown"
27450
27451 fi
27452 rm -f conftest.$ac_objext conftest.$ac_ext
27453
27454
27455 fi
27456 rm -f conftest.$ac_objext conftest.$ac_ext
27457
27458 fi
27459 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27460 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27461
27462 ac_ext=c
27463 ac_cpp='$CPP $CPPFLAGS'
27464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27467
27468
27469 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27470 cat >>confdefs.h <<\_ACEOF
27471 #define HAVE_STATVFS 1
27472 _ACEOF
27473
27474 fi
27475 else
27476 wx_cv_type_statvfs_t="unknown"
27477 fi
27478 fi
27479
27480 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27481 cat >>confdefs.h <<_ACEOF
27482 #define WX_STATFS_T $wx_cv_type_statvfs_t
27483 _ACEOF
27484
27485 else
27486 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27487 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27488 fi
27489
27490 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27491
27492
27493 for ac_func in fcntl flock
27494 do
27495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27496 echo "$as_me:$LINENO: checking for $ac_func" >&5
27497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27498 if eval "test \"\${$as_ac_var+set}\" = set"; then
27499 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 else
27501 cat >conftest.$ac_ext <<_ACEOF
27502 #line $LINENO "configure"
27503 /* confdefs.h. */
27504 _ACEOF
27505 cat confdefs.h >>conftest.$ac_ext
27506 cat >>conftest.$ac_ext <<_ACEOF
27507 /* end confdefs.h. */
27508 /* System header to define __stub macros and hopefully few prototypes,
27509 which can conflict with char $ac_func (); below.
27510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27511 <limits.h> exists even on freestanding compilers. */
27512 #ifdef __STDC__
27513 # include <limits.h>
27514 #else
27515 # include <assert.h>
27516 #endif
27517 /* Override any gcc2 internal prototype to avoid an error. */
27518 #ifdef __cplusplus
27519 extern "C"
27520 {
27521 #endif
27522 /* We use char because int might match the return type of a gcc2
27523 builtin and then its argument prototype would still apply. */
27524 char $ac_func ();
27525 /* The GNU C library defines this for functions which it implements
27526 to always fail with ENOSYS. Some functions are actually named
27527 something starting with __ and the normal name is an alias. */
27528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27529 choke me
27530 #else
27531 char (*f) () = $ac_func;
27532 #endif
27533 #ifdef __cplusplus
27534 }
27535 #endif
27536
27537 int
27538 main ()
27539 {
27540 return f != $ac_func;
27541 ;
27542 return 0;
27543 }
27544 _ACEOF
27545 rm -f conftest.$ac_objext conftest$ac_exeext
27546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27547 (eval $ac_link) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } &&
27551 { ac_try='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 eval "$as_ac_var=yes"
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 eval "$as_ac_var=no"
27563 fi
27564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27565 fi
27566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27568 if test `eval echo '${'$as_ac_var'}'` = yes; then
27569 cat >>confdefs.h <<_ACEOF
27570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27571 _ACEOF
27572 break
27573 fi
27574 done
27575
27576
27577 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27578 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27579 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27580 wxUSE_SNGLINST_CHECKER=no
27581 fi
27582 fi
27583
27584
27585 for ac_func in timegm
27586 do
27587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27588 echo "$as_me:$LINENO: checking for $ac_func" >&5
27589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27590 if eval "test \"\${$as_ac_var+set}\" = set"; then
27591 echo $ECHO_N "(cached) $ECHO_C" >&6
27592 else
27593 cat >conftest.$ac_ext <<_ACEOF
27594 #line $LINENO "configure"
27595 /* confdefs.h. */
27596 _ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600 /* System header to define __stub macros and hopefully few prototypes,
27601 which can conflict with char $ac_func (); below.
27602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27603 <limits.h> exists even on freestanding compilers. */
27604 #ifdef __STDC__
27605 # include <limits.h>
27606 #else
27607 # include <assert.h>
27608 #endif
27609 /* Override any gcc2 internal prototype to avoid an error. */
27610 #ifdef __cplusplus
27611 extern "C"
27612 {
27613 #endif
27614 /* We use char because int might match the return type of a gcc2
27615 builtin and then its argument prototype would still apply. */
27616 char $ac_func ();
27617 /* The GNU C library defines this for functions which it implements
27618 to always fail with ENOSYS. Some functions are actually named
27619 something starting with __ and the normal name is an alias. */
27620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27621 choke me
27622 #else
27623 char (*f) () = $ac_func;
27624 #endif
27625 #ifdef __cplusplus
27626 }
27627 #endif
27628
27629 int
27630 main ()
27631 {
27632 return f != $ac_func;
27633 ;
27634 return 0;
27635 }
27636 _ACEOF
27637 rm -f conftest.$ac_objext conftest$ac_exeext
27638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27639 (eval $ac_link) 2>&5
27640 ac_status=$?
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); } &&
27643 { ac_try='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27646 ac_status=$?
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 eval "$as_ac_var=yes"
27650 else
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.$ac_ext >&5
27653
27654 eval "$as_ac_var=no"
27655 fi
27656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27657 fi
27658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27660 if test `eval echo '${'$as_ac_var'}'` = yes; then
27661 cat >>confdefs.h <<_ACEOF
27662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27663 _ACEOF
27664
27665 fi
27666 done
27667
27668
27669
27670
27671 for ac_func in putenv setenv
27672 do
27673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27674 echo "$as_me:$LINENO: checking for $ac_func" >&5
27675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27676 if eval "test \"\${$as_ac_var+set}\" = set"; then
27677 echo $ECHO_N "(cached) $ECHO_C" >&6
27678 else
27679 cat >conftest.$ac_ext <<_ACEOF
27680 #line $LINENO "configure"
27681 /* confdefs.h. */
27682 _ACEOF
27683 cat confdefs.h >>conftest.$ac_ext
27684 cat >>conftest.$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 /* System header to define __stub macros and hopefully few prototypes,
27687 which can conflict with char $ac_func (); below.
27688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27689 <limits.h> exists even on freestanding compilers. */
27690 #ifdef __STDC__
27691 # include <limits.h>
27692 #else
27693 # include <assert.h>
27694 #endif
27695 /* Override any gcc2 internal prototype to avoid an error. */
27696 #ifdef __cplusplus
27697 extern "C"
27698 {
27699 #endif
27700 /* We use char because int might match the return type of a gcc2
27701 builtin and then its argument prototype would still apply. */
27702 char $ac_func ();
27703 /* The GNU C library defines this for functions which it implements
27704 to always fail with ENOSYS. Some functions are actually named
27705 something starting with __ and the normal name is an alias. */
27706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27707 choke me
27708 #else
27709 char (*f) () = $ac_func;
27710 #endif
27711 #ifdef __cplusplus
27712 }
27713 #endif
27714
27715 int
27716 main ()
27717 {
27718 return f != $ac_func;
27719 ;
27720 return 0;
27721 }
27722 _ACEOF
27723 rm -f conftest.$ac_objext conftest$ac_exeext
27724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27725 (eval $ac_link) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); } &&
27729 { ac_try='test -s conftest$ac_exeext'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; }; then
27735 eval "$as_ac_var=yes"
27736 else
27737 echo "$as_me: failed program was:" >&5
27738 sed 's/^/| /' conftest.$ac_ext >&5
27739
27740 eval "$as_ac_var=no"
27741 fi
27742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27743 fi
27744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27746 if test `eval echo '${'$as_ac_var'}'` = yes; then
27747 cat >>confdefs.h <<_ACEOF
27748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27749 _ACEOF
27750 break
27751 fi
27752 done
27753
27754
27755 HAVE_SOME_SLEEP_FUNC=0
27756 if test "$USE_BEOS" = 1; then
27757 cat >>confdefs.h <<\_ACEOF
27758 #define HAVE_SLEEP 1
27759 _ACEOF
27760
27761 HAVE_SOME_SLEEP_FUNC=1
27762 fi
27763
27764 if test "$USE_DARWIN" = 1; then
27765 cat >>confdefs.h <<\_ACEOF
27766 #define HAVE_USLEEP 1
27767 _ACEOF
27768
27769 HAVE_SOME_SLEEP_FUNC=1
27770 fi
27771
27772 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27773 POSIX4_LINK=
27774
27775 for ac_func in nanosleep
27776 do
27777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27778 echo "$as_me:$LINENO: checking for $ac_func" >&5
27779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27780 if eval "test \"\${$as_ac_var+set}\" = set"; then
27781 echo $ECHO_N "(cached) $ECHO_C" >&6
27782 else
27783 cat >conftest.$ac_ext <<_ACEOF
27784 #line $LINENO "configure"
27785 /* confdefs.h. */
27786 _ACEOF
27787 cat confdefs.h >>conftest.$ac_ext
27788 cat >>conftest.$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27790 /* System header to define __stub macros and hopefully few prototypes,
27791 which can conflict with char $ac_func (); below.
27792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27793 <limits.h> exists even on freestanding compilers. */
27794 #ifdef __STDC__
27795 # include <limits.h>
27796 #else
27797 # include <assert.h>
27798 #endif
27799 /* Override any gcc2 internal prototype to avoid an error. */
27800 #ifdef __cplusplus
27801 extern "C"
27802 {
27803 #endif
27804 /* We use char because int might match the return type of a gcc2
27805 builtin and then its argument prototype would still apply. */
27806 char $ac_func ();
27807 /* The GNU C library defines this for functions which it implements
27808 to always fail with ENOSYS. Some functions are actually named
27809 something starting with __ and the normal name is an alias. */
27810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27811 choke me
27812 #else
27813 char (*f) () = $ac_func;
27814 #endif
27815 #ifdef __cplusplus
27816 }
27817 #endif
27818
27819 int
27820 main ()
27821 {
27822 return f != $ac_func;
27823 ;
27824 return 0;
27825 }
27826 _ACEOF
27827 rm -f conftest.$ac_objext conftest$ac_exeext
27828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27829 (eval $ac_link) 2>&5
27830 ac_status=$?
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } &&
27833 { ac_try='test -s conftest$ac_exeext'
27834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27835 (eval $ac_try) 2>&5
27836 ac_status=$?
27837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27838 (exit $ac_status); }; }; then
27839 eval "$as_ac_var=yes"
27840 else
27841 echo "$as_me: failed program was:" >&5
27842 sed 's/^/| /' conftest.$ac_ext >&5
27843
27844 eval "$as_ac_var=no"
27845 fi
27846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27847 fi
27848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27850 if test `eval echo '${'$as_ac_var'}'` = yes; then
27851 cat >>confdefs.h <<_ACEOF
27852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27853 _ACEOF
27854 cat >>confdefs.h <<\_ACEOF
27855 #define HAVE_NANOSLEEP 1
27856 _ACEOF
27857
27858 else
27859
27860 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27861 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27862 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 else
27865 ac_check_lib_save_LIBS=$LIBS
27866 LIBS="-lposix4 $LIBS"
27867 cat >conftest.$ac_ext <<_ACEOF
27868 #line $LINENO "configure"
27869 /* confdefs.h. */
27870 _ACEOF
27871 cat confdefs.h >>conftest.$ac_ext
27872 cat >>conftest.$ac_ext <<_ACEOF
27873 /* end confdefs.h. */
27874
27875 /* Override any gcc2 internal prototype to avoid an error. */
27876 #ifdef __cplusplus
27877 extern "C"
27878 #endif
27879 /* We use char because int might match the return type of a gcc2
27880 builtin and then its argument prototype would still apply. */
27881 char nanosleep ();
27882 int
27883 main ()
27884 {
27885 nanosleep ();
27886 ;
27887 return 0;
27888 }
27889 _ACEOF
27890 rm -f conftest.$ac_objext conftest$ac_exeext
27891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27892 (eval $ac_link) 2>&5
27893 ac_status=$?
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 ac_cv_lib_posix4_nanosleep=yes
27903 else
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.$ac_ext >&5
27906
27907 ac_cv_lib_posix4_nanosleep=no
27908 fi
27909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27910 LIBS=$ac_check_lib_save_LIBS
27911 fi
27912 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27913 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27914 if test $ac_cv_lib_posix4_nanosleep = yes; then
27915
27916 cat >>confdefs.h <<\_ACEOF
27917 #define HAVE_NANOSLEEP 1
27918 _ACEOF
27919
27920 POSIX4_LINK=" -lposix4"
27921
27922 else
27923
27924
27925 for ac_func in usleep
27926 do
27927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27928 echo "$as_me:$LINENO: checking for $ac_func" >&5
27929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27930 if eval "test \"\${$as_ac_var+set}\" = set"; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27932 else
27933 cat >conftest.$ac_ext <<_ACEOF
27934 #line $LINENO "configure"
27935 /* confdefs.h. */
27936 _ACEOF
27937 cat confdefs.h >>conftest.$ac_ext
27938 cat >>conftest.$ac_ext <<_ACEOF
27939 /* end confdefs.h. */
27940 /* System header to define __stub macros and hopefully few prototypes,
27941 which can conflict with char $ac_func (); below.
27942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27943 <limits.h> exists even on freestanding compilers. */
27944 #ifdef __STDC__
27945 # include <limits.h>
27946 #else
27947 # include <assert.h>
27948 #endif
27949 /* Override any gcc2 internal prototype to avoid an error. */
27950 #ifdef __cplusplus
27951 extern "C"
27952 {
27953 #endif
27954 /* We use char because int might match the return type of a gcc2
27955 builtin and then its argument prototype would still apply. */
27956 char $ac_func ();
27957 /* The GNU C library defines this for functions which it implements
27958 to always fail with ENOSYS. Some functions are actually named
27959 something starting with __ and the normal name is an alias. */
27960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27961 choke me
27962 #else
27963 char (*f) () = $ac_func;
27964 #endif
27965 #ifdef __cplusplus
27966 }
27967 #endif
27968
27969 int
27970 main ()
27971 {
27972 return f != $ac_func;
27973 ;
27974 return 0;
27975 }
27976 _ACEOF
27977 rm -f conftest.$ac_objext conftest$ac_exeext
27978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27979 (eval $ac_link) 2>&5
27980 ac_status=$?
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); } &&
27983 { ac_try='test -s conftest$ac_exeext'
27984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27985 (eval $ac_try) 2>&5
27986 ac_status=$?
27987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988 (exit $ac_status); }; }; then
27989 eval "$as_ac_var=yes"
27990 else
27991 echo "$as_me: failed program was:" >&5
27992 sed 's/^/| /' conftest.$ac_ext >&5
27993
27994 eval "$as_ac_var=no"
27995 fi
27996 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27997 fi
27998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28000 if test `eval echo '${'$as_ac_var'}'` = yes; then
28001 cat >>confdefs.h <<_ACEOF
28002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28003 _ACEOF
28004 cat >>confdefs.h <<\_ACEOF
28005 #define HAVE_USLEEP 1
28006 _ACEOF
28007
28008 else
28009 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28010 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28011
28012 fi
28013 done
28014
28015
28016
28017 fi
28018
28019
28020
28021 fi
28022 done
28023
28024 fi
28025
28026
28027
28028 for ac_func in uname gethostname
28029 do
28030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28031 echo "$as_me:$LINENO: checking for $ac_func" >&5
28032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28033 if eval "test \"\${$as_ac_var+set}\" = set"; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28035 else
28036 cat >conftest.$ac_ext <<_ACEOF
28037 #line $LINENO "configure"
28038 /* confdefs.h. */
28039 _ACEOF
28040 cat confdefs.h >>conftest.$ac_ext
28041 cat >>conftest.$ac_ext <<_ACEOF
28042 /* end confdefs.h. */
28043 /* System header to define __stub macros and hopefully few prototypes,
28044 which can conflict with char $ac_func (); below.
28045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28046 <limits.h> exists even on freestanding compilers. */
28047 #ifdef __STDC__
28048 # include <limits.h>
28049 #else
28050 # include <assert.h>
28051 #endif
28052 /* Override any gcc2 internal prototype to avoid an error. */
28053 #ifdef __cplusplus
28054 extern "C"
28055 {
28056 #endif
28057 /* We use char because int might match the return type of a gcc2
28058 builtin and then its argument prototype would still apply. */
28059 char $ac_func ();
28060 /* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28064 choke me
28065 #else
28066 char (*f) () = $ac_func;
28067 #endif
28068 #ifdef __cplusplus
28069 }
28070 #endif
28071
28072 int
28073 main ()
28074 {
28075 return f != $ac_func;
28076 ;
28077 return 0;
28078 }
28079 _ACEOF
28080 rm -f conftest.$ac_objext conftest$ac_exeext
28081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28082 (eval $ac_link) 2>&5
28083 ac_status=$?
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try='test -s conftest$ac_exeext'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28089 ac_status=$?
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; }; then
28092 eval "$as_ac_var=yes"
28093 else
28094 echo "$as_me: failed program was:" >&5
28095 sed 's/^/| /' conftest.$ac_ext >&5
28096
28097 eval "$as_ac_var=no"
28098 fi
28099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28100 fi
28101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28103 if test `eval echo '${'$as_ac_var'}'` = yes; then
28104 cat >>confdefs.h <<_ACEOF
28105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106 _ACEOF
28107 break
28108 fi
28109 done
28110
28111
28112
28113
28114 ac_ext=cc
28115 ac_cpp='$CXXCPP $CPPFLAGS'
28116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28119
28120
28121
28122 for ac_func in strtok_r
28123 do
28124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28125 echo "$as_me:$LINENO: checking for $ac_func" >&5
28126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28127 if eval "test \"\${$as_ac_var+set}\" = set"; then
28128 echo $ECHO_N "(cached) $ECHO_C" >&6
28129 else
28130 cat >conftest.$ac_ext <<_ACEOF
28131 #line $LINENO "configure"
28132 /* confdefs.h. */
28133 _ACEOF
28134 cat confdefs.h >>conftest.$ac_ext
28135 cat >>conftest.$ac_ext <<_ACEOF
28136 /* end confdefs.h. */
28137 /* System header to define __stub macros and hopefully few prototypes,
28138 which can conflict with char $ac_func (); below.
28139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28140 <limits.h> exists even on freestanding compilers. */
28141 #ifdef __STDC__
28142 # include <limits.h>
28143 #else
28144 # include <assert.h>
28145 #endif
28146 /* Override any gcc2 internal prototype to avoid an error. */
28147 #ifdef __cplusplus
28148 extern "C"
28149 {
28150 #endif
28151 /* We use char because int might match the return type of a gcc2
28152 builtin and then its argument prototype would still apply. */
28153 char $ac_func ();
28154 /* The GNU C library defines this for functions which it implements
28155 to always fail with ENOSYS. Some functions are actually named
28156 something starting with __ and the normal name is an alias. */
28157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28158 choke me
28159 #else
28160 char (*f) () = $ac_func;
28161 #endif
28162 #ifdef __cplusplus
28163 }
28164 #endif
28165
28166 int
28167 main ()
28168 {
28169 return f != $ac_func;
28170 ;
28171 return 0;
28172 }
28173 _ACEOF
28174 rm -f conftest.$ac_objext conftest$ac_exeext
28175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28176 (eval $ac_link) 2>&5
28177 ac_status=$?
28178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179 (exit $ac_status); } &&
28180 { ac_try='test -s conftest$ac_exeext'
28181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28182 (eval $ac_try) 2>&5
28183 ac_status=$?
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); }; }; then
28186 eval "$as_ac_var=yes"
28187 else
28188 echo "$as_me: failed program was:" >&5
28189 sed 's/^/| /' conftest.$ac_ext >&5
28190
28191 eval "$as_ac_var=no"
28192 fi
28193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28194 fi
28195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28197 if test `eval echo '${'$as_ac_var'}'` = yes; then
28198 cat >>confdefs.h <<_ACEOF
28199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28200 _ACEOF
28201
28202 fi
28203 done
28204
28205
28206 ac_ext=c
28207 ac_cpp='$CPP $CPPFLAGS'
28208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28211
28212
28213 INET_LINK=
28214
28215 for ac_func in inet_addr
28216 do
28217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28218 echo "$as_me:$LINENO: checking for $ac_func" >&5
28219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28220 if eval "test \"\${$as_ac_var+set}\" = set"; then
28221 echo $ECHO_N "(cached) $ECHO_C" >&6
28222 else
28223 cat >conftest.$ac_ext <<_ACEOF
28224 #line $LINENO "configure"
28225 /* confdefs.h. */
28226 _ACEOF
28227 cat confdefs.h >>conftest.$ac_ext
28228 cat >>conftest.$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230 /* System header to define __stub macros and hopefully few prototypes,
28231 which can conflict with char $ac_func (); below.
28232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28233 <limits.h> exists even on freestanding compilers. */
28234 #ifdef __STDC__
28235 # include <limits.h>
28236 #else
28237 # include <assert.h>
28238 #endif
28239 /* Override any gcc2 internal prototype to avoid an error. */
28240 #ifdef __cplusplus
28241 extern "C"
28242 {
28243 #endif
28244 /* We use char because int might match the return type of a gcc2
28245 builtin and then its argument prototype would still apply. */
28246 char $ac_func ();
28247 /* The GNU C library defines this for functions which it implements
28248 to always fail with ENOSYS. Some functions are actually named
28249 something starting with __ and the normal name is an alias. */
28250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28251 choke me
28252 #else
28253 char (*f) () = $ac_func;
28254 #endif
28255 #ifdef __cplusplus
28256 }
28257 #endif
28258
28259 int
28260 main ()
28261 {
28262 return f != $ac_func;
28263 ;
28264 return 0;
28265 }
28266 _ACEOF
28267 rm -f conftest.$ac_objext conftest$ac_exeext
28268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28269 (eval $ac_link) 2>&5
28270 ac_status=$?
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); } &&
28273 { ac_try='test -s conftest$ac_exeext'
28274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28275 (eval $ac_try) 2>&5
28276 ac_status=$?
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); }; }; then
28279 eval "$as_ac_var=yes"
28280 else
28281 echo "$as_me: failed program was:" >&5
28282 sed 's/^/| /' conftest.$ac_ext >&5
28283
28284 eval "$as_ac_var=no"
28285 fi
28286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28287 fi
28288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28290 if test `eval echo '${'$as_ac_var'}'` = yes; then
28291 cat >>confdefs.h <<_ACEOF
28292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28293 _ACEOF
28294 cat >>confdefs.h <<\_ACEOF
28295 #define HAVE_INET_ADDR 1
28296 _ACEOF
28297
28298 else
28299
28300 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28301 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28302 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28304 else
28305 ac_check_lib_save_LIBS=$LIBS
28306 LIBS="-lnsl $LIBS"
28307 cat >conftest.$ac_ext <<_ACEOF
28308 #line $LINENO "configure"
28309 /* confdefs.h. */
28310 _ACEOF
28311 cat confdefs.h >>conftest.$ac_ext
28312 cat >>conftest.$ac_ext <<_ACEOF
28313 /* end confdefs.h. */
28314
28315 /* Override any gcc2 internal prototype to avoid an error. */
28316 #ifdef __cplusplus
28317 extern "C"
28318 #endif
28319 /* We use char because int might match the return type of a gcc2
28320 builtin and then its argument prototype would still apply. */
28321 char inet_addr ();
28322 int
28323 main ()
28324 {
28325 inet_addr ();
28326 ;
28327 return 0;
28328 }
28329 _ACEOF
28330 rm -f conftest.$ac_objext conftest$ac_exeext
28331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28332 (eval $ac_link) 2>&5
28333 ac_status=$?
28334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335 (exit $ac_status); } &&
28336 { ac_try='test -s conftest$ac_exeext'
28337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338 (eval $ac_try) 2>&5
28339 ac_status=$?
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); }; }; then
28342 ac_cv_lib_nsl_inet_addr=yes
28343 else
28344 echo "$as_me: failed program was:" >&5
28345 sed 's/^/| /' conftest.$ac_ext >&5
28346
28347 ac_cv_lib_nsl_inet_addr=no
28348 fi
28349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28350 LIBS=$ac_check_lib_save_LIBS
28351 fi
28352 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28353 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28354 if test $ac_cv_lib_nsl_inet_addr = yes; then
28355 INET_LINK="nsl"
28356 else
28357
28358 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28359 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28360 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28361 echo $ECHO_N "(cached) $ECHO_C" >&6
28362 else
28363 ac_check_lib_save_LIBS=$LIBS
28364 LIBS="-lresolv $LIBS"
28365 cat >conftest.$ac_ext <<_ACEOF
28366 #line $LINENO "configure"
28367 /* confdefs.h. */
28368 _ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372
28373 /* Override any gcc2 internal prototype to avoid an error. */
28374 #ifdef __cplusplus
28375 extern "C"
28376 #endif
28377 /* We use char because int might match the return type of a gcc2
28378 builtin and then its argument prototype would still apply. */
28379 char inet_addr ();
28380 int
28381 main ()
28382 {
28383 inet_addr ();
28384 ;
28385 return 0;
28386 }
28387 _ACEOF
28388 rm -f conftest.$ac_objext conftest$ac_exeext
28389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28390 (eval $ac_link) 2>&5
28391 ac_status=$?
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } &&
28394 { ac_try='test -s conftest$ac_exeext'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28397 ac_status=$?
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; }; then
28400 ac_cv_lib_resolv_inet_addr=yes
28401 else
28402 echo "$as_me: failed program was:" >&5
28403 sed 's/^/| /' conftest.$ac_ext >&5
28404
28405 ac_cv_lib_resolv_inet_addr=no
28406 fi
28407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28408 LIBS=$ac_check_lib_save_LIBS
28409 fi
28410 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28411 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28412 if test $ac_cv_lib_resolv_inet_addr = yes; then
28413 INET_LINK="resolv"
28414 else
28415
28416 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28417 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28418 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 else
28421 ac_check_lib_save_LIBS=$LIBS
28422 LIBS="-lsocket $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_socket_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_socket_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_socket_inet_addr" >&5
28469 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28470 if test $ac_cv_lib_socket_inet_addr = yes; then
28471 INET_LINK="socket"
28472
28473 fi
28474
28475
28476
28477 fi
28478
28479
28480
28481 fi
28482
28483
28484
28485 fi
28486 done
28487
28488
28489
28490 for ac_func in inet_aton
28491 do
28492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28493 echo "$as_me:$LINENO: checking for $ac_func" >&5
28494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28495 if eval "test \"\${$as_ac_var+set}\" = set"; then
28496 echo $ECHO_N "(cached) $ECHO_C" >&6
28497 else
28498 cat >conftest.$ac_ext <<_ACEOF
28499 #line $LINENO "configure"
28500 /* confdefs.h. */
28501 _ACEOF
28502 cat confdefs.h >>conftest.$ac_ext
28503 cat >>conftest.$ac_ext <<_ACEOF
28504 /* end confdefs.h. */
28505 /* System header to define __stub macros and hopefully few prototypes,
28506 which can conflict with char $ac_func (); below.
28507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28508 <limits.h> exists even on freestanding compilers. */
28509 #ifdef __STDC__
28510 # include <limits.h>
28511 #else
28512 # include <assert.h>
28513 #endif
28514 /* Override any gcc2 internal prototype to avoid an error. */
28515 #ifdef __cplusplus
28516 extern "C"
28517 {
28518 #endif
28519 /* We use char because int might match the return type of a gcc2
28520 builtin and then its argument prototype would still apply. */
28521 char $ac_func ();
28522 /* The GNU C library defines this for functions which it implements
28523 to always fail with ENOSYS. Some functions are actually named
28524 something starting with __ and the normal name is an alias. */
28525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28526 choke me
28527 #else
28528 char (*f) () = $ac_func;
28529 #endif
28530 #ifdef __cplusplus
28531 }
28532 #endif
28533
28534 int
28535 main ()
28536 {
28537 return f != $ac_func;
28538 ;
28539 return 0;
28540 }
28541 _ACEOF
28542 rm -f conftest.$ac_objext conftest$ac_exeext
28543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28544 (eval $ac_link) 2>&5
28545 ac_status=$?
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } &&
28548 { ac_try='test -s conftest$ac_exeext'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28551 ac_status=$?
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 eval "$as_ac_var=yes"
28555 else
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28558
28559 eval "$as_ac_var=no"
28560 fi
28561 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28562 fi
28563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28565 if test `eval echo '${'$as_ac_var'}'` = yes; then
28566 cat >>confdefs.h <<_ACEOF
28567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28568 _ACEOF
28569 cat >>confdefs.h <<\_ACEOF
28570 #define HAVE_INET_ATON 1
28571 _ACEOF
28572
28573 else
28574
28575 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28576 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28577 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28578 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28579 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 else
28581 ac_check_lib_save_LIBS=$LIBS
28582 LIBS="-l$INET_LINK $LIBS"
28583 cat >conftest.$ac_ext <<_ACEOF
28584 #line $LINENO "configure"
28585 /* confdefs.h. */
28586 _ACEOF
28587 cat confdefs.h >>conftest.$ac_ext
28588 cat >>conftest.$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28590
28591 /* Override any gcc2 internal prototype to avoid an error. */
28592 #ifdef __cplusplus
28593 extern "C"
28594 #endif
28595 /* We use char because int might match the return type of a gcc2
28596 builtin and then its argument prototype would still apply. */
28597 char inet_aton ();
28598 int
28599 main ()
28600 {
28601 inet_aton ();
28602 ;
28603 return 0;
28604 }
28605 _ACEOF
28606 rm -f conftest.$ac_objext conftest$ac_exeext
28607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28608 (eval $ac_link) 2>&5
28609 ac_status=$?
28610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28611 (exit $ac_status); } &&
28612 { ac_try='test -s conftest$ac_exeext'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28615 ac_status=$?
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; }; then
28618 eval "$as_ac_Lib=yes"
28619 else
28620 echo "$as_me: failed program was:" >&5
28621 sed 's/^/| /' conftest.$ac_ext >&5
28622
28623 eval "$as_ac_Lib=no"
28624 fi
28625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28626 LIBS=$ac_check_lib_save_LIBS
28627 fi
28628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28629 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28630 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28631 cat >>confdefs.h <<\_ACEOF
28632 #define HAVE_INET_ATON 1
28633 _ACEOF
28634
28635 fi
28636
28637
28638 fi
28639 done
28640
28641
28642 if test "x$INET_LINK" != "x"; then
28643 cat >>confdefs.h <<\_ACEOF
28644 #define HAVE_INET_ADDR 1
28645 _ACEOF
28646
28647 INET_LINK=" -l$INET_LINK"
28648 fi
28649
28650 fi
28651
28652
28653
28654 EXTRALIBS_ESD=
28655 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28656 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28657 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28659 else
28660 ac_check_lib_save_LIBS=$LIBS
28661 LIBS="-lesd $LIBS"
28662 cat >conftest.$ac_ext <<_ACEOF
28663 #line $LINENO "configure"
28664 /* confdefs.h. */
28665 _ACEOF
28666 cat confdefs.h >>conftest.$ac_ext
28667 cat >>conftest.$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28669
28670 /* Override any gcc2 internal prototype to avoid an error. */
28671 #ifdef __cplusplus
28672 extern "C"
28673 #endif
28674 /* We use char because int might match the return type of a gcc2
28675 builtin and then its argument prototype would still apply. */
28676 char esd_close ();
28677 int
28678 main ()
28679 {
28680 esd_close ();
28681 ;
28682 return 0;
28683 }
28684 _ACEOF
28685 rm -f conftest.$ac_objext conftest$ac_exeext
28686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28687 (eval $ac_link) 2>&5
28688 ac_status=$?
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try='test -s conftest$ac_exeext'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28694 ac_status=$?
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28697 ac_cv_lib_esd_esd_close=yes
28698 else
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.$ac_ext >&5
28701
28702 ac_cv_lib_esd_esd_close=no
28703 fi
28704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28705 LIBS=$ac_check_lib_save_LIBS
28706 fi
28707 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28708 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28709 if test $ac_cv_lib_esd_esd_close = yes; then
28710
28711
28712 for ac_header in esd.h
28713 do
28714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28716 echo "$as_me:$LINENO: checking for $ac_header" >&5
28717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 fi
28721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28723 else
28724 # Is the header compilable?
28725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28727 cat >conftest.$ac_ext <<_ACEOF
28728 #line $LINENO "configure"
28729 /* confdefs.h. */
28730 _ACEOF
28731 cat confdefs.h >>conftest.$ac_ext
28732 cat >>conftest.$ac_ext <<_ACEOF
28733 /* end confdefs.h. */
28734 $ac_includes_default
28735 #include <$ac_header>
28736 _ACEOF
28737 rm -f conftest.$ac_objext
28738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28739 (eval $ac_compile) 2>&5
28740 ac_status=$?
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); } &&
28743 { ac_try='test -s conftest.$ac_objext'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28746 ac_status=$?
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; }; then
28749 ac_header_compiler=yes
28750 else
28751 echo "$as_me: failed program was:" >&5
28752 sed 's/^/| /' conftest.$ac_ext >&5
28753
28754 ac_header_compiler=no
28755 fi
28756 rm -f conftest.$ac_objext conftest.$ac_ext
28757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28758 echo "${ECHO_T}$ac_header_compiler" >&6
28759
28760 # Is the header present?
28761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28763 cat >conftest.$ac_ext <<_ACEOF
28764 #line $LINENO "configure"
28765 /* confdefs.h. */
28766 _ACEOF
28767 cat confdefs.h >>conftest.$ac_ext
28768 cat >>conftest.$ac_ext <<_ACEOF
28769 /* end confdefs.h. */
28770 #include <$ac_header>
28771 _ACEOF
28772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28774 ac_status=$?
28775 grep -v '^ *+' conftest.er1 >conftest.err
28776 rm -f conftest.er1
28777 cat conftest.err >&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); } >/dev/null; then
28780 if test -s conftest.err; then
28781 ac_cpp_err=$ac_c_preproc_warn_flag
28782 else
28783 ac_cpp_err=
28784 fi
28785 else
28786 ac_cpp_err=yes
28787 fi
28788 if test -z "$ac_cpp_err"; then
28789 ac_header_preproc=yes
28790 else
28791 echo "$as_me: failed program was:" >&5
28792 sed 's/^/| /' conftest.$ac_ext >&5
28793
28794 ac_header_preproc=no
28795 fi
28796 rm -f conftest.err conftest.$ac_ext
28797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28798 echo "${ECHO_T}$ac_header_preproc" >&6
28799
28800 # So? What about this header?
28801 case $ac_header_compiler:$ac_header_preproc in
28802 yes:no )
28803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28806 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28807 (
28808 cat <<\_ASBOX
28809 ## ------------------------------------ ##
28810 ## Report this to bug-autoconf@gnu.org. ##
28811 ## ------------------------------------ ##
28812 _ASBOX
28813 ) |
28814 sed "s/^/$as_me: WARNING: /" >&2
28815 ;;
28816 no:yes )
28817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28823 (
28824 cat <<\_ASBOX
28825 ## ------------------------------------ ##
28826 ## Report this to bug-autoconf@gnu.org. ##
28827 ## ------------------------------------ ##
28828 _ASBOX
28829 ) |
28830 sed "s/^/$as_me: WARNING: /" >&2
28831 ;;
28832 esac
28833 echo "$as_me:$LINENO: checking for $ac_header" >&5
28834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28836 echo $ECHO_N "(cached) $ECHO_C" >&6
28837 else
28838 eval "$as_ac_Header=$ac_header_preproc"
28839 fi
28840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28842
28843 fi
28844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28845 cat >>confdefs.h <<_ACEOF
28846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28847 _ACEOF
28848
28849 EXTRALIBS_ESD="-lesd"
28850
28851 fi
28852
28853 done
28854
28855
28856 fi
28857
28858
28859
28860 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
28861 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
28862 cat >conftest.$ac_ext <<_ACEOF
28863 #line $LINENO "configure"
28864 /* confdefs.h. */
28865 _ACEOF
28866 cat confdefs.h >>conftest.$ac_ext
28867 cat >>conftest.$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28869 #ifdef __linux__
28870 #include <linux/cdrom.h>
28871 #else
28872 /* For Solaris */
28873 #include <sys/cdio.h>
28874 #endif
28875
28876 int
28877 main ()
28878 {
28879 struct cdrom_tocentry entry, old_entry;
28880 ;
28881 return 0;
28882 }
28883 _ACEOF
28884 rm -f conftest.$ac_objext
28885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28886 (eval $ac_compile) 2>&5
28887 ac_status=$?
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } &&
28890 { ac_try='test -s conftest.$ac_objext'
28891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892 (eval $ac_try) 2>&5
28893 ac_status=$?
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); }; }; then
28896 echo "$as_me:$LINENO: result: yes" >&5
28897 echo "${ECHO_T}yes" >&6
28898 cat >>confdefs.h <<\_ACEOF
28899 #define HAVE_KNOWN_CDROM_INTERFACE 1
28900 _ACEOF
28901
28902 else
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.$ac_ext >&5
28905
28906 echo "$as_me:$LINENO: result: no" >&5
28907 echo "${ECHO_T}no" >&6
28908 fi
28909 rm -f conftest.$ac_objext conftest.$ac_ext
28910
28911
28912 cat >confcache <<\_ACEOF
28913 # This file is a shell script that caches the results of configure
28914 # tests run on this system so they can be shared between configure
28915 # scripts and configure runs, see configure's option --config-cache.
28916 # It is not useful on other systems. If it contains results you don't
28917 # want to keep, you may remove or edit it.
28918 #
28919 # config.status only pays attention to the cache file if you give it
28920 # the --recheck option to rerun configure.
28921 #
28922 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28923 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28924 # following values.
28925
28926 _ACEOF
28927
28928 # The following way of writing the cache mishandles newlines in values,
28929 # but we know of no workaround that is simple, portable, and efficient.
28930 # So, don't put newlines in cache variables' values.
28931 # Ultrix sh set writes to stderr and can't be redirected directly,
28932 # and sets the high bit in the cache file unless we assign to the vars.
28933 {
28934 (set) 2>&1 |
28935 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28936 *ac_space=\ *)
28937 # `set' does not quote correctly, so add quotes (double-quote
28938 # substitution turns \\\\ into \\, and sed turns \\ into \).
28939 sed -n \
28940 "s/'/'\\\\''/g;
28941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28942 ;;
28943 *)
28944 # `set' quotes correctly as required by POSIX, so do not add quotes.
28945 sed -n \
28946 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28947 ;;
28948 esac;
28949 } |
28950 sed '
28951 t clear
28952 : clear
28953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28954 t end
28955 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28956 : end' >>confcache
28957 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28958 if test -w $cache_file; then
28959 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28960 cat confcache >$cache_file
28961 else
28962 echo "not updating unwritable cache $cache_file"
28963 fi
28964 fi
28965 rm -f confcache
28966
28967
28968 CPP_MT_FLAG=
28969 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
28970
28971
28972 THREADS_LINK=
28973 THREADS_CFLAGS=
28974
28975 if test "$wxUSE_THREADS" = "yes" ; then
28976 if test "$USE_BEOS" = 1; then
28977 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28978 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28979 wxUSE_THREADS="no"
28980 fi
28981 fi
28982
28983 if test "$wxUSE_THREADS" = "yes" ; then
28984
28985
28986 THREAD_OPTS="-pthread"
28987 case "${host}" in
28988 *-*-solaris2* | *-*-sunos4* )
28989 if test "x$GCC" = "xyes"; then
28990 THREAD_OPTS="-pthreads $THREAD_OPTS"
28991 else
28992 THREAD_OPTS="-mt $THREAD_OPTS"
28993 fi
28994 ;;
28995 *-*-freebsd*)
28996 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28997 ;;
28998 *-*-darwin* | *-*-cygwin* )
28999 THREAD_OPTS=""
29000 ;;
29001 *-*-aix*)
29002 THREAD_OPTS="pthreads"
29003 ;;
29004 *-hp-hpux* )
29005 if test "x$GCC" != "xyes"; then
29006 THREAD_OPTS=""
29007 fi
29008 ;;
29009
29010 *-*-irix* )
29011 if test "x$GCC" = "xyes"; then
29012 THREAD_OPTS=""
29013 fi
29014 ;;
29015
29016 *-*-*UnixWare*)
29017 if test "x$GCC" != "xyes"; then
29018 THREAD_OPTS="-Ethread"
29019 fi
29020 ;;
29021 esac
29022
29023 THREAD_OPTS="$THREAD_OPTS pthread none"
29024
29025 THREADS_OK=no
29026 for flag in $THREAD_OPTS; do
29027 case $flag in
29028 none)
29029 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29030 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29031 ;;
29032
29033 -*)
29034 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29035 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29036 THREADS_CFLAGS="$flag"
29037 ;;
29038
29039 *)
29040 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29041 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29042 THREADS_LINK="-l$flag"
29043 ;;
29044 esac
29045
29046 save_LIBS="$LIBS"
29047 save_CFLAGS="$CFLAGS"
29048 LIBS="$THREADS_LINK $LIBS"
29049 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29050
29051 cat >conftest.$ac_ext <<_ACEOF
29052 #line $LINENO "configure"
29053 /* confdefs.h. */
29054 _ACEOF
29055 cat confdefs.h >>conftest.$ac_ext
29056 cat >>conftest.$ac_ext <<_ACEOF
29057 /* end confdefs.h. */
29058 #include <pthread.h>
29059 int
29060 main ()
29061 {
29062 pthread_create(0,0,0,0);
29063 ;
29064 return 0;
29065 }
29066 _ACEOF
29067 rm -f conftest.$ac_objext conftest$ac_exeext
29068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29069 (eval $ac_link) 2>&5
29070 ac_status=$?
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); } &&
29073 { ac_try='test -s conftest$ac_exeext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29076 ac_status=$?
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29079 THREADS_OK=yes
29080 else
29081 echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.$ac_ext >&5
29083
29084 fi
29085 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29086
29087 LIBS="$save_LIBS"
29088 CFLAGS="$save_CFLAGS"
29089
29090 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29091 echo "${ECHO_T}$THREADS_OK" >&6
29092 if test "x$THREADS_OK" = "xyes"; then
29093 break;
29094 fi
29095
29096 THREADS_LINK=""
29097 THREADS_CFLAGS=""
29098 done
29099
29100 if test "x$THREADS_OK" != "xyes"; then
29101 wxUSE_THREADS=no
29102 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29103 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29104 else
29105 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29106 LIBS="$THREADS_LINK $LIBS"
29107
29108 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29109 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29110 flag=no
29111 case "${host}" in
29112 *-aix*)
29113 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29114 flag="-D_THREAD_SAFE"
29115 ;;
29116 *-freebsd*)
29117 flag="-D_THREAD_SAFE"
29118 ;;
29119 *-hp-hpux* )
29120 flag="-D_REENTRANT"
29121 if test "x$GCC" != "xyes"; then
29122 flag="$flag -D_RWSTD_MULTI_THREAD"
29123 fi
29124 ;;
29125 *solaris* | alpha*-osf*)
29126 flag="-D_REENTRANT"
29127 ;;
29128 esac
29129 echo "$as_me:$LINENO: result: ${flag}" >&5
29130 echo "${ECHO_T}${flag}" >&6
29131 if test "x$flag" != xno; then
29132 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29133 fi
29134
29135 if test "x$THREADS_CFLAGS" != "x"; then
29136 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29137 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29138 fi
29139 fi
29140 fi
29141
29142 if test "$wxUSE_THREADS" = "yes" ; then
29143
29144 for ac_func in thr_setconcurrency
29145 do
29146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29147 echo "$as_me:$LINENO: checking for $ac_func" >&5
29148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29149 if eval "test \"\${$as_ac_var+set}\" = set"; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29151 else
29152 cat >conftest.$ac_ext <<_ACEOF
29153 #line $LINENO "configure"
29154 /* confdefs.h. */
29155 _ACEOF
29156 cat confdefs.h >>conftest.$ac_ext
29157 cat >>conftest.$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29159 /* System header to define __stub macros and hopefully few prototypes,
29160 which can conflict with char $ac_func (); below.
29161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29162 <limits.h> exists even on freestanding compilers. */
29163 #ifdef __STDC__
29164 # include <limits.h>
29165 #else
29166 # include <assert.h>
29167 #endif
29168 /* Override any gcc2 internal prototype to avoid an error. */
29169 #ifdef __cplusplus
29170 extern "C"
29171 {
29172 #endif
29173 /* We use char because int might match the return type of a gcc2
29174 builtin and then its argument prototype would still apply. */
29175 char $ac_func ();
29176 /* The GNU C library defines this for functions which it implements
29177 to always fail with ENOSYS. Some functions are actually named
29178 something starting with __ and the normal name is an alias. */
29179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29180 choke me
29181 #else
29182 char (*f) () = $ac_func;
29183 #endif
29184 #ifdef __cplusplus
29185 }
29186 #endif
29187
29188 int
29189 main ()
29190 {
29191 return f != $ac_func;
29192 ;
29193 return 0;
29194 }
29195 _ACEOF
29196 rm -f conftest.$ac_objext conftest$ac_exeext
29197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29198 (eval $ac_link) 2>&5
29199 ac_status=$?
29200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29201 (exit $ac_status); } &&
29202 { ac_try='test -s conftest$ac_exeext'
29203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29204 (eval $ac_try) 2>&5
29205 ac_status=$?
29206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29207 (exit $ac_status); }; }; then
29208 eval "$as_ac_var=yes"
29209 else
29210 echo "$as_me: failed program was:" >&5
29211 sed 's/^/| /' conftest.$ac_ext >&5
29212
29213 eval "$as_ac_var=no"
29214 fi
29215 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29216 fi
29217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29219 if test `eval echo '${'$as_ac_var'}'` = yes; then
29220 cat >>confdefs.h <<_ACEOF
29221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29222 _ACEOF
29223
29224 fi
29225 done
29226
29227
29228
29229 for ac_header in sched.h
29230 do
29231 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29233 echo "$as_me:$LINENO: checking for $ac_header" >&5
29234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29236 echo $ECHO_N "(cached) $ECHO_C" >&6
29237 fi
29238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29240 else
29241 # Is the header compilable?
29242 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29243 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29244 cat >conftest.$ac_ext <<_ACEOF
29245 #line $LINENO "configure"
29246 /* confdefs.h. */
29247 _ACEOF
29248 cat confdefs.h >>conftest.$ac_ext
29249 cat >>conftest.$ac_ext <<_ACEOF
29250 /* end confdefs.h. */
29251 $ac_includes_default
29252 #include <$ac_header>
29253 _ACEOF
29254 rm -f conftest.$ac_objext
29255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29256 (eval $ac_compile) 2>&5
29257 ac_status=$?
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); } &&
29260 { ac_try='test -s conftest.$ac_objext'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; }; then
29266 ac_header_compiler=yes
29267 else
29268 echo "$as_me: failed program was:" >&5
29269 sed 's/^/| /' conftest.$ac_ext >&5
29270
29271 ac_header_compiler=no
29272 fi
29273 rm -f conftest.$ac_objext conftest.$ac_ext
29274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29275 echo "${ECHO_T}$ac_header_compiler" >&6
29276
29277 # Is the header present?
29278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29280 cat >conftest.$ac_ext <<_ACEOF
29281 #line $LINENO "configure"
29282 /* confdefs.h. */
29283 _ACEOF
29284 cat confdefs.h >>conftest.$ac_ext
29285 cat >>conftest.$ac_ext <<_ACEOF
29286 /* end confdefs.h. */
29287 #include <$ac_header>
29288 _ACEOF
29289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29291 ac_status=$?
29292 grep -v '^ *+' conftest.er1 >conftest.err
29293 rm -f conftest.er1
29294 cat conftest.err >&5
29295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29296 (exit $ac_status); } >/dev/null; then
29297 if test -s conftest.err; then
29298 ac_cpp_err=$ac_c_preproc_warn_flag
29299 else
29300 ac_cpp_err=
29301 fi
29302 else
29303 ac_cpp_err=yes
29304 fi
29305 if test -z "$ac_cpp_err"; then
29306 ac_header_preproc=yes
29307 else
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29310
29311 ac_header_preproc=no
29312 fi
29313 rm -f conftest.err conftest.$ac_ext
29314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29315 echo "${ECHO_T}$ac_header_preproc" >&6
29316
29317 # So? What about this header?
29318 case $ac_header_compiler:$ac_header_preproc in
29319 yes:no )
29320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29324 (
29325 cat <<\_ASBOX
29326 ## ------------------------------------ ##
29327 ## Report this to bug-autoconf@gnu.org. ##
29328 ## ------------------------------------ ##
29329 _ASBOX
29330 ) |
29331 sed "s/^/$as_me: WARNING: /" >&2
29332 ;;
29333 no:yes )
29334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29340 (
29341 cat <<\_ASBOX
29342 ## ------------------------------------ ##
29343 ## Report this to bug-autoconf@gnu.org. ##
29344 ## ------------------------------------ ##
29345 _ASBOX
29346 ) |
29347 sed "s/^/$as_me: WARNING: /" >&2
29348 ;;
29349 esac
29350 echo "$as_me:$LINENO: checking for $ac_header" >&5
29351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29353 echo $ECHO_N "(cached) $ECHO_C" >&6
29354 else
29355 eval "$as_ac_Header=$ac_header_preproc"
29356 fi
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29359
29360 fi
29361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29362 cat >>confdefs.h <<_ACEOF
29363 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29364 _ACEOF
29365
29366 fi
29367
29368 done
29369
29370 if test "$ac_cv_header_sched_h" = "yes"; then
29371 echo "$as_me:$LINENO: checking for sched_yield" >&5
29372 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29373 if test "${ac_cv_func_sched_yield+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 else
29376 cat >conftest.$ac_ext <<_ACEOF
29377 #line $LINENO "configure"
29378 /* confdefs.h. */
29379 _ACEOF
29380 cat confdefs.h >>conftest.$ac_ext
29381 cat >>conftest.$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29383 /* System header to define __stub macros and hopefully few prototypes,
29384 which can conflict with char sched_yield (); below.
29385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29386 <limits.h> exists even on freestanding compilers. */
29387 #ifdef __STDC__
29388 # include <limits.h>
29389 #else
29390 # include <assert.h>
29391 #endif
29392 /* Override any gcc2 internal prototype to avoid an error. */
29393 #ifdef __cplusplus
29394 extern "C"
29395 {
29396 #endif
29397 /* We use char because int might match the return type of a gcc2
29398 builtin and then its argument prototype would still apply. */
29399 char sched_yield ();
29400 /* The GNU C library defines this for functions which it implements
29401 to always fail with ENOSYS. Some functions are actually named
29402 something starting with __ and the normal name is an alias. */
29403 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29404 choke me
29405 #else
29406 char (*f) () = sched_yield;
29407 #endif
29408 #ifdef __cplusplus
29409 }
29410 #endif
29411
29412 int
29413 main ()
29414 {
29415 return f != sched_yield;
29416 ;
29417 return 0;
29418 }
29419 _ACEOF
29420 rm -f conftest.$ac_objext conftest$ac_exeext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422 (eval $ac_link) 2>&5
29423 ac_status=$?
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); } &&
29426 { ac_try='test -s conftest$ac_exeext'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29429 ac_status=$?
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 ac_cv_func_sched_yield=yes
29433 else
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.$ac_ext >&5
29436
29437 ac_cv_func_sched_yield=no
29438 fi
29439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29440 fi
29441 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29442 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29443 if test $ac_cv_func_sched_yield = yes; then
29444 cat >>confdefs.h <<\_ACEOF
29445 #define HAVE_SCHED_YIELD 1
29446 _ACEOF
29447
29448 else
29449
29450 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29451 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29452 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29453 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 else
29455 ac_check_lib_save_LIBS=$LIBS
29456 LIBS="-lposix4 $LIBS"
29457 cat >conftest.$ac_ext <<_ACEOF
29458 #line $LINENO "configure"
29459 /* confdefs.h. */
29460 _ACEOF
29461 cat confdefs.h >>conftest.$ac_ext
29462 cat >>conftest.$ac_ext <<_ACEOF
29463 /* end confdefs.h. */
29464
29465 /* Override any gcc2 internal prototype to avoid an error. */
29466 #ifdef __cplusplus
29467 extern "C"
29468 #endif
29469 /* We use char because int might match the return type of a gcc2
29470 builtin and then its argument prototype would still apply. */
29471 char sched_yield ();
29472 int
29473 main ()
29474 {
29475 sched_yield ();
29476 ;
29477 return 0;
29478 }
29479 _ACEOF
29480 rm -f conftest.$ac_objext conftest$ac_exeext
29481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29482 (eval $ac_link) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } &&
29486 { ac_try='test -s conftest$ac_exeext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29489 ac_status=$?
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_cv_lib_posix4_sched_yield=yes
29493 else
29494 echo "$as_me: failed program was:" >&5
29495 sed 's/^/| /' conftest.$ac_ext >&5
29496
29497 ac_cv_lib_posix4_sched_yield=no
29498 fi
29499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29500 LIBS=$ac_check_lib_save_LIBS
29501 fi
29502 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29503 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29504 if test $ac_cv_lib_posix4_sched_yield = yes; then
29505 cat >>confdefs.h <<\_ACEOF
29506 #define HAVE_SCHED_YIELD 1
29507 _ACEOF
29508 POSIX4_LINK=" -lposix4"
29509 else
29510 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29511 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29512
29513 fi
29514
29515
29516
29517 fi
29518
29519 fi
29520
29521 HAVE_PRIOR_FUNCS=0
29522 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29523 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29524 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29525 echo $ECHO_N "(cached) $ECHO_C" >&6
29526 else
29527 cat >conftest.$ac_ext <<_ACEOF
29528 #line $LINENO "configure"
29529 /* confdefs.h. */
29530 _ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29534 /* System header to define __stub macros and hopefully few prototypes,
29535 which can conflict with char pthread_attr_getschedpolicy (); below.
29536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29537 <limits.h> exists even on freestanding compilers. */
29538 #ifdef __STDC__
29539 # include <limits.h>
29540 #else
29541 # include <assert.h>
29542 #endif
29543 /* Override any gcc2 internal prototype to avoid an error. */
29544 #ifdef __cplusplus
29545 extern "C"
29546 {
29547 #endif
29548 /* We use char because int might match the return type of a gcc2
29549 builtin and then its argument prototype would still apply. */
29550 char pthread_attr_getschedpolicy ();
29551 /* The GNU C library defines this for functions which it implements
29552 to always fail with ENOSYS. Some functions are actually named
29553 something starting with __ and the normal name is an alias. */
29554 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29555 choke me
29556 #else
29557 char (*f) () = pthread_attr_getschedpolicy;
29558 #endif
29559 #ifdef __cplusplus
29560 }
29561 #endif
29562
29563 int
29564 main ()
29565 {
29566 return f != pthread_attr_getschedpolicy;
29567 ;
29568 return 0;
29569 }
29570 _ACEOF
29571 rm -f conftest.$ac_objext conftest$ac_exeext
29572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29573 (eval $ac_link) 2>&5
29574 ac_status=$?
29575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576 (exit $ac_status); } &&
29577 { ac_try='test -s conftest$ac_exeext'
29578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579 (eval $ac_try) 2>&5
29580 ac_status=$?
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; }; then
29583 ac_cv_func_pthread_attr_getschedpolicy=yes
29584 else
29585 echo "$as_me: failed program was:" >&5
29586 sed 's/^/| /' conftest.$ac_ext >&5
29587
29588 ac_cv_func_pthread_attr_getschedpolicy=no
29589 fi
29590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29591 fi
29592 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29593 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29594 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29595 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29596 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29597 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29598 echo $ECHO_N "(cached) $ECHO_C" >&6
29599 else
29600 cat >conftest.$ac_ext <<_ACEOF
29601 #line $LINENO "configure"
29602 /* confdefs.h. */
29603 _ACEOF
29604 cat confdefs.h >>conftest.$ac_ext
29605 cat >>conftest.$ac_ext <<_ACEOF
29606 /* end confdefs.h. */
29607 /* System header to define __stub macros and hopefully few prototypes,
29608 which can conflict with char pthread_attr_setschedparam (); below.
29609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29610 <limits.h> exists even on freestanding compilers. */
29611 #ifdef __STDC__
29612 # include <limits.h>
29613 #else
29614 # include <assert.h>
29615 #endif
29616 /* Override any gcc2 internal prototype to avoid an error. */
29617 #ifdef __cplusplus
29618 extern "C"
29619 {
29620 #endif
29621 /* We use char because int might match the return type of a gcc2
29622 builtin and then its argument prototype would still apply. */
29623 char pthread_attr_setschedparam ();
29624 /* The GNU C library defines this for functions which it implements
29625 to always fail with ENOSYS. Some functions are actually named
29626 something starting with __ and the normal name is an alias. */
29627 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29628 choke me
29629 #else
29630 char (*f) () = pthread_attr_setschedparam;
29631 #endif
29632 #ifdef __cplusplus
29633 }
29634 #endif
29635
29636 int
29637 main ()
29638 {
29639 return f != pthread_attr_setschedparam;
29640 ;
29641 return 0;
29642 }
29643 _ACEOF
29644 rm -f conftest.$ac_objext conftest$ac_exeext
29645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29646 (eval $ac_link) 2>&5
29647 ac_status=$?
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); } &&
29650 { ac_try='test -s conftest$ac_exeext'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29653 ac_status=$?
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; }; then
29656 ac_cv_func_pthread_attr_setschedparam=yes
29657 else
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.$ac_ext >&5
29660
29661 ac_cv_func_pthread_attr_setschedparam=no
29662 fi
29663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29664 fi
29665 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29666 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29667 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29668 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29669 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29670 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29671 echo $ECHO_N "(cached) $ECHO_C" >&6
29672 else
29673 cat >conftest.$ac_ext <<_ACEOF
29674 #line $LINENO "configure"
29675 /* confdefs.h. */
29676 _ACEOF
29677 cat confdefs.h >>conftest.$ac_ext
29678 cat >>conftest.$ac_ext <<_ACEOF
29679 /* end confdefs.h. */
29680 /* System header to define __stub macros and hopefully few prototypes,
29681 which can conflict with char sched_get_priority_max (); below.
29682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29683 <limits.h> exists even on freestanding compilers. */
29684 #ifdef __STDC__
29685 # include <limits.h>
29686 #else
29687 # include <assert.h>
29688 #endif
29689 /* Override any gcc2 internal prototype to avoid an error. */
29690 #ifdef __cplusplus
29691 extern "C"
29692 {
29693 #endif
29694 /* We use char because int might match the return type of a gcc2
29695 builtin and then its argument prototype would still apply. */
29696 char sched_get_priority_max ();
29697 /* The GNU C library defines this for functions which it implements
29698 to always fail with ENOSYS. Some functions are actually named
29699 something starting with __ and the normal name is an alias. */
29700 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29701 choke me
29702 #else
29703 char (*f) () = sched_get_priority_max;
29704 #endif
29705 #ifdef __cplusplus
29706 }
29707 #endif
29708
29709 int
29710 main ()
29711 {
29712 return f != sched_get_priority_max;
29713 ;
29714 return 0;
29715 }
29716 _ACEOF
29717 rm -f conftest.$ac_objext conftest$ac_exeext
29718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29719 (eval $ac_link) 2>&5
29720 ac_status=$?
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); } &&
29723 { ac_try='test -s conftest$ac_exeext'
29724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29725 (eval $ac_try) 2>&5
29726 ac_status=$?
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); }; }; then
29729 ac_cv_func_sched_get_priority_max=yes
29730 else
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.$ac_ext >&5
29733
29734 ac_cv_func_sched_get_priority_max=no
29735 fi
29736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29737 fi
29738 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29739 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29740 if test $ac_cv_func_sched_get_priority_max = yes; then
29741 HAVE_PRIOR_FUNCS=1
29742 else
29743 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29744 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29745 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29746 echo $ECHO_N "(cached) $ECHO_C" >&6
29747 else
29748 ac_check_lib_save_LIBS=$LIBS
29749 LIBS="-lposix4 $LIBS"
29750 cat >conftest.$ac_ext <<_ACEOF
29751 #line $LINENO "configure"
29752 /* confdefs.h. */
29753 _ACEOF
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757
29758 /* Override any gcc2 internal prototype to avoid an error. */
29759 #ifdef __cplusplus
29760 extern "C"
29761 #endif
29762 /* We use char because int might match the return type of a gcc2
29763 builtin and then its argument prototype would still apply. */
29764 char sched_get_priority_max ();
29765 int
29766 main ()
29767 {
29768 sched_get_priority_max ();
29769 ;
29770 return 0;
29771 }
29772 _ACEOF
29773 rm -f conftest.$ac_objext conftest$ac_exeext
29774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29775 (eval $ac_link) 2>&5
29776 ac_status=$?
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); } &&
29779 { ac_try='test -s conftest$ac_exeext'
29780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29781 (eval $ac_try) 2>&5
29782 ac_status=$?
29783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29784 (exit $ac_status); }; }; then
29785 ac_cv_lib_posix4_sched_get_priority_max=yes
29786 else
29787 echo "$as_me: failed program was:" >&5
29788 sed 's/^/| /' conftest.$ac_ext >&5
29789
29790 ac_cv_lib_posix4_sched_get_priority_max=no
29791 fi
29792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29793 LIBS=$ac_check_lib_save_LIBS
29794 fi
29795 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29796 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29797 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29798
29799 HAVE_PRIOR_FUNCS=1
29800 POSIX4_LINK=" -lposix4"
29801
29802 fi
29803
29804
29805 fi
29806
29807
29808 fi
29809
29810
29811 fi
29812
29813
29814 if test "$HAVE_PRIOR_FUNCS" = 1; then
29815 cat >>confdefs.h <<\_ACEOF
29816 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29817 _ACEOF
29818
29819 else
29820 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29821 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29822 fi
29823
29824 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29825 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29826 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29828 else
29829 cat >conftest.$ac_ext <<_ACEOF
29830 #line $LINENO "configure"
29831 /* confdefs.h. */
29832 _ACEOF
29833 cat confdefs.h >>conftest.$ac_ext
29834 cat >>conftest.$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29836 /* System header to define __stub macros and hopefully few prototypes,
29837 which can conflict with char pthread_cancel (); below.
29838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29839 <limits.h> exists even on freestanding compilers. */
29840 #ifdef __STDC__
29841 # include <limits.h>
29842 #else
29843 # include <assert.h>
29844 #endif
29845 /* Override any gcc2 internal prototype to avoid an error. */
29846 #ifdef __cplusplus
29847 extern "C"
29848 {
29849 #endif
29850 /* We use char because int might match the return type of a gcc2
29851 builtin and then its argument prototype would still apply. */
29852 char pthread_cancel ();
29853 /* The GNU C library defines this for functions which it implements
29854 to always fail with ENOSYS. Some functions are actually named
29855 something starting with __ and the normal name is an alias. */
29856 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29857 choke me
29858 #else
29859 char (*f) () = pthread_cancel;
29860 #endif
29861 #ifdef __cplusplus
29862 }
29863 #endif
29864
29865 int
29866 main ()
29867 {
29868 return f != pthread_cancel;
29869 ;
29870 return 0;
29871 }
29872 _ACEOF
29873 rm -f conftest.$ac_objext conftest$ac_exeext
29874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29875 (eval $ac_link) 2>&5
29876 ac_status=$?
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try='test -s conftest$ac_exeext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29882 ac_status=$?
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885 ac_cv_func_pthread_cancel=yes
29886 else
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29889
29890 ac_cv_func_pthread_cancel=no
29891 fi
29892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29893 fi
29894 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29895 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29896 if test $ac_cv_func_pthread_cancel = yes; then
29897 cat >>confdefs.h <<\_ACEOF
29898 #define HAVE_PTHREAD_CANCEL 1
29899 _ACEOF
29900
29901 else
29902 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29903 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29904 fi
29905
29906
29907
29908
29909 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29910 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29911 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29913 else
29914
29915 cat >conftest.$ac_ext <<_ACEOF
29916 #line $LINENO "configure"
29917 /* confdefs.h. */
29918 _ACEOF
29919 cat confdefs.h >>conftest.$ac_ext
29920 cat >>conftest.$ac_ext <<_ACEOF
29921 /* end confdefs.h. */
29922 #include <pthread.h>
29923 int
29924 main ()
29925 {
29926
29927 pthread_mutexattr_t attr;
29928 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29929
29930 ;
29931 return 0;
29932 }
29933 _ACEOF
29934 rm -f conftest.$ac_objext
29935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29936 (eval $ac_compile) 2>&5
29937 ac_status=$?
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); } &&
29940 { ac_try='test -s conftest.$ac_objext'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29943 ac_status=$?
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; }; then
29946
29947 wx_cv_type_pthread_mutexattr_t=yes
29948
29949 else
29950 echo "$as_me: failed program was:" >&5
29951 sed 's/^/| /' conftest.$ac_ext >&5
29952
29953
29954 wx_cv_type_pthread_mutexattr_t=no
29955
29956
29957 fi
29958 rm -f conftest.$ac_objext conftest.$ac_ext
29959
29960 fi
29961 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29962 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29963
29964 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29965 cat >>confdefs.h <<\_ACEOF
29966 #define HAVE_PTHREAD_MUTEXATTR_T 1
29967 _ACEOF
29968
29969 else
29970 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29971 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29972 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29973 echo $ECHO_N "(cached) $ECHO_C" >&6
29974 else
29975
29976 cat >conftest.$ac_ext <<_ACEOF
29977 #line $LINENO "configure"
29978 /* confdefs.h. */
29979 _ACEOF
29980 cat confdefs.h >>conftest.$ac_ext
29981 cat >>conftest.$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29983 #include <pthread.h>
29984 int
29985 main ()
29986 {
29987
29988 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29989
29990 ;
29991 return 0;
29992 }
29993 _ACEOF
29994 rm -f conftest.$ac_objext
29995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29996 (eval $ac_compile) 2>&5
29997 ac_status=$?
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); } &&
30000 { ac_try='test -s conftest.$ac_objext'
30001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30002 (eval $ac_try) 2>&5
30003 ac_status=$?
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); }; }; then
30006
30007 wx_cv_type_pthread_rec_mutex_init=yes
30008
30009 else
30010 echo "$as_me: failed program was:" >&5
30011 sed 's/^/| /' conftest.$ac_ext >&5
30012
30013
30014 wx_cv_type_pthread_rec_mutex_init=no
30015
30016
30017 fi
30018 rm -f conftest.$ac_objext conftest.$ac_ext
30019
30020 fi
30021 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30022 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30023 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30024 cat >>confdefs.h <<\_ACEOF
30025 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30026 _ACEOF
30027
30028 else
30029 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30030 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30031 fi
30032 fi
30033 fi
30034
30035 else
30036 if test "$wxUSE_THREADS" = "yes" ; then
30037 case "${host}" in
30038 *-*-mingw32* )
30039 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30040 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30041 if test "${wx_cv_cflags_mthread+set}" = set; then
30042 echo $ECHO_N "(cached) $ECHO_C" >&6
30043 else
30044
30045 CFLAGS_OLD="$CFLAGS"
30046 CFLAGS="$CFLAGS -mthreads"
30047 cat >conftest.$ac_ext <<_ACEOF
30048 #line $LINENO "configure"
30049 /* confdefs.h. */
30050 _ACEOF
30051 cat confdefs.h >>conftest.$ac_ext
30052 cat >>conftest.$ac_ext <<_ACEOF
30053 /* end confdefs.h. */
30054
30055 int
30056 main ()
30057 {
30058
30059 ;
30060 return 0;
30061 }
30062 _ACEOF
30063 rm -f conftest.$ac_objext
30064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30065 (eval $ac_compile) 2>&5
30066 ac_status=$?
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); } &&
30069 { ac_try='test -s conftest.$ac_objext'
30070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30071 (eval $ac_try) 2>&5
30072 ac_status=$?
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); }; }; then
30075 wx_cv_cflags_mthread=yes
30076 else
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30079
30080 wx_cv_cflags_mthread=no
30081
30082 fi
30083 rm -f conftest.$ac_objext conftest.$ac_ext
30084
30085
30086 fi
30087 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30088 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30089
30090 if test "$wx_cv_cflags_mthread" = "yes"; then
30091 CXXFLAGS="$CXXFLAGS -mthreads"
30092 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30093 LDFLAGS="$LDFLAGS -mthreads"
30094 else
30095 CFLAGS="$CFLAGS_OLD"
30096 fi
30097 ;;
30098 *-pc-os2*emx )
30099 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30100 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30101 LDFLAGS="$LDFLAGS -Zmt"
30102 ;;
30103 esac
30104 fi
30105 fi
30106
30107 if test "$wxUSE_THREADS" = "yes"; then
30108 cat >>confdefs.h <<\_ACEOF
30109 #define wxUSE_THREADS 1
30110 _ACEOF
30111
30112
30113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30114 else
30115 if test "$ac_cv_func_strtok_r" = "yes"; then
30116 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30117 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30118 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30119 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30120 echo "$as_me:$LINENO: result: yes" >&5
30121 echo "${ECHO_T}yes" >&6
30122 else
30123 echo "$as_me:$LINENO: result: no" >&5
30124 echo "${ECHO_T}no" >&6
30125 fi
30126 fi
30127 fi
30128
30129 if test "$WXGTK20" = 1 ; then
30130 cat >>confdefs.h <<_ACEOF
30131 #define __WXGTK20__ $WXGTK20
30132 _ACEOF
30133
30134 WXGTK12=1
30135 fi
30136
30137 if test "$WXGTK12" = 1 ; then
30138 cat >>confdefs.h <<_ACEOF
30139 #define __WXGTK12__ $WXGTK12
30140 _ACEOF
30141
30142 fi
30143
30144 if test "$WXGTK127" = 1 ; then
30145 cat >>confdefs.h <<_ACEOF
30146 #define __WXGTK127__ $WXGTK127
30147 _ACEOF
30148
30149 fi
30150
30151 WXDEBUG=
30152
30153 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30154 WXDEBUG="-g"
30155 wxUSE_OPTIMISE=no
30156 fi
30157
30158 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30159 wxUSE_DEBUG_INFO=yes
30160 WXDEBUG="-ggdb"
30161 fi
30162
30163 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30164 cat >>confdefs.h <<\_ACEOF
30165 #define WXDEBUG 1
30166 _ACEOF
30167
30168 WXDEBUG_DEFINE="-D__WXDEBUG__"
30169 else
30170 if test "$wxUSE_GTK" = 1 ; then
30171 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30172 fi
30173 fi
30174
30175 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30176 cat >>confdefs.h <<\_ACEOF
30177 #define wxUSE_MEMORY_TRACING 1
30178 _ACEOF
30179
30180 cat >>confdefs.h <<\_ACEOF
30181 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30182 _ACEOF
30183
30184 cat >>confdefs.h <<\_ACEOF
30185 #define wxUSE_DEBUG_NEW_ALWAYS 1
30186 _ACEOF
30187
30188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30189 fi
30190
30191 if test "$wxUSE_DMALLOC" = "yes" ; then
30192 DMALLOC_LIBS="-ldmalloc"
30193 fi
30194
30195 PROFILE=
30196 if test "$wxUSE_PROFILE" = "yes" ; then
30197 PROFILE=" -pg"
30198 fi
30199
30200 CODE_GEN_FLAGS=
30201 CODE_GEN_FLAGS_CXX=
30202 if test "$GCC" = "yes" ; then
30203 if test "$wxUSE_NO_RTTI" = "yes" ; then
30204 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30205 fi
30206 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30207 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30208 fi
30209 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30210 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30211 fi
30212
30213 case "${host}" in
30214 powerpc*-*-aix* )
30215 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30216 ;;
30217 *-hppa* )
30218 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30219 ;;
30220 esac
30221 fi
30222
30223 OPTIMISE=
30224 if test "$wxUSE_OPTIMISE" = "no" ; then
30225 if test "$GCC" = yes ; then
30226 OPTIMISE="-O0"
30227 fi
30228 else
30229 if test "$GCC" = yes ; then
30230 OPTIMISE="-O2"
30231
30232 case "${host}" in
30233 i586-*-*|i686-*-* )
30234 OPTIMISE="${OPTIMISE} "
30235 ;;
30236 esac
30237 else
30238 OPTIMISE="-O"
30239 fi
30240 fi
30241
30242
30243 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30244 cat >>confdefs.h <<\_ACEOF
30245 #define WXWIN_COMPATIBILITY_2_2 1
30246 _ACEOF
30247
30248
30249 WXWIN_COMPATIBILITY_2_4="yes"
30250 fi
30251
30252 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30253 cat >>confdefs.h <<\_ACEOF
30254 #define WXWIN_COMPATIBILITY_2_4 1
30255 _ACEOF
30256
30257 fi
30258
30259
30260 if test "$wxUSE_GUI" = "yes"; then
30261 cat >>confdefs.h <<\_ACEOF
30262 #define wxUSE_GUI 1
30263 _ACEOF
30264
30265
30266 else
30267 cat >>confdefs.h <<\_ACEOF
30268 #define wxUSE_NOGUI 1
30269 _ACEOF
30270
30271 fi
30272
30273
30274 if test "$wxUSE_UNIX" = "yes"; then
30275 cat >>confdefs.h <<\_ACEOF
30276 #define wxUSE_UNIX 1
30277 _ACEOF
30278
30279 fi
30280
30281
30282 if test "$wxUSE_STL" = "yes"; then
30283 cat >>confdefs.h <<\_ACEOF
30284 #define wxUSE_STL 1
30285 _ACEOF
30286
30287 fi
30288
30289 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30290 cat >>confdefs.h <<\_ACEOF
30291 #define wxUSE_APPLE_IEEE 1
30292 _ACEOF
30293
30294 fi
30295
30296 if test "$wxUSE_TIMER" = "yes"; then
30297 cat >>confdefs.h <<\_ACEOF
30298 #define wxUSE_TIMER 1
30299 _ACEOF
30300
30301 fi
30302
30303 if test "$wxUSE_WAVE" = "yes"; then
30304 cat >>confdefs.h <<\_ACEOF
30305 #define wxUSE_WAVE 1
30306 _ACEOF
30307
30308 fi
30309
30310 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30311 cat >>confdefs.h <<\_ACEOF
30312 #define wxUSE_CMDLINE_PARSER 1
30313 _ACEOF
30314
30315 fi
30316
30317 if test "$wxUSE_STOPWATCH" = "yes"; then
30318 cat >>confdefs.h <<\_ACEOF
30319 #define wxUSE_STOPWATCH 1
30320 _ACEOF
30321
30322 fi
30323
30324 if test "$wxUSE_DATETIME" = "yes"; then
30325 cat >>confdefs.h <<\_ACEOF
30326 #define wxUSE_DATETIME 1
30327 _ACEOF
30328
30329 fi
30330
30331 if test "$wxUSE_FILE" = "yes"; then
30332 cat >>confdefs.h <<\_ACEOF
30333 #define wxUSE_FILE 1
30334 _ACEOF
30335
30336 fi
30337
30338 if test "$wxUSE_FFILE" = "yes"; then
30339 cat >>confdefs.h <<\_ACEOF
30340 #define wxUSE_FFILE 1
30341 _ACEOF
30342
30343 fi
30344
30345 if test "$wxUSE_FILESYSTEM" = "yes"; then
30346 cat >>confdefs.h <<\_ACEOF
30347 #define wxUSE_FILESYSTEM 1
30348 _ACEOF
30349
30350 fi
30351
30352 if test "$wxUSE_FS_ZIP" = "yes"; then
30353 cat >>confdefs.h <<\_ACEOF
30354 #define wxUSE_FS_ZIP 1
30355 _ACEOF
30356
30357 fi
30358
30359 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30360 cat >>confdefs.h <<\_ACEOF
30361 #define wxUSE_ZIPSTREAM 1
30362 _ACEOF
30363
30364 fi
30365
30366 if test "$wxUSE_GZSTREAM" = "yes"; then
30367 cat >>confdefs.h <<\_ACEOF
30368 #define wxUSE_GZSTREAM 1
30369 _ACEOF
30370
30371 fi
30372
30373 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30374 cat >>confdefs.h <<\_ACEOF
30375 #define wxUSE_ON_FATAL_EXCEPTION 1
30376 _ACEOF
30377
30378 fi
30379
30380 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30381 cat >>confdefs.h <<\_ACEOF
30382 #define wxUSE_SNGLINST_CHECKER 1
30383 _ACEOF
30384
30385 fi
30386
30387 if test "$wxUSE_BUSYINFO" = "yes"; then
30388 cat >>confdefs.h <<\_ACEOF
30389 #define wxUSE_BUSYINFO 1
30390 _ACEOF
30391
30392 fi
30393
30394 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30395 cat >>confdefs.h <<\_ACEOF
30396 #define wxUSE_STD_IOSTREAM 1
30397 _ACEOF
30398
30399 fi
30400
30401 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30402 cat >>confdefs.h <<\_ACEOF
30403 #define wxUSE_TEXTBUFFER 1
30404 _ACEOF
30405
30406 fi
30407
30408 if test "$wxUSE_TEXTFILE" = "yes"; then
30409 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30410 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30411 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30412 else
30413 cat >>confdefs.h <<\_ACEOF
30414 #define wxUSE_TEXTFILE 1
30415 _ACEOF
30416
30417 fi
30418 fi
30419
30420 if test "$wxUSE_CONFIG" = "yes" ; then
30421 if test "$wxUSE_TEXTFILE" != "yes"; then
30422 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30423 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30424 else
30425 cat >>confdefs.h <<\_ACEOF
30426 #define wxUSE_CONFIG 1
30427 _ACEOF
30428
30429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30430 fi
30431 fi
30432
30433 if test "$wxUSE_INTL" = "yes" ; then
30434 if test "$wxUSE_FILE" != "yes"; then
30435 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30436 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30437 else
30438 cat >>confdefs.h <<\_ACEOF
30439 #define wxUSE_INTL 1
30440 _ACEOF
30441
30442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30443 GUIDIST="$GUIDIST INTL_DIST"
30444 fi
30445 fi
30446
30447 if test "$wxUSE_LOG" = "yes"; then
30448 cat >>confdefs.h <<\_ACEOF
30449 #define wxUSE_LOG 1
30450 _ACEOF
30451
30452
30453 if test "$wxUSE_LOGGUI" = "yes"; then
30454 cat >>confdefs.h <<\_ACEOF
30455 #define wxUSE_LOGGUI 1
30456 _ACEOF
30457
30458 fi
30459
30460 if test "$wxUSE_LOGWINDOW" = "yes"; then
30461 cat >>confdefs.h <<\_ACEOF
30462 #define wxUSE_LOGWINDOW 1
30463 _ACEOF
30464
30465 fi
30466
30467 if test "$wxUSE_LOGDIALOG" = "yes"; then
30468 cat >>confdefs.h <<\_ACEOF
30469 #define wxUSE_LOG_DIALOG 1
30470 _ACEOF
30471
30472 fi
30473 fi
30474
30475 if test "$wxUSE_LONGLONG" = "yes"; then
30476 cat >>confdefs.h <<\_ACEOF
30477 #define wxUSE_LONGLONG 1
30478 _ACEOF
30479
30480 fi
30481
30482 if test "$wxUSE_GEOMETRY" = "yes"; then
30483 cat >>confdefs.h <<\_ACEOF
30484 #define wxUSE_GEOMETRY 1
30485 _ACEOF
30486
30487 fi
30488
30489 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30490 cat >>confdefs.h <<\_ACEOF
30491 #define wxUSE_DIALUP_MANAGER 1
30492 _ACEOF
30493
30494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30495 fi
30496
30497 if test "$wxUSE_STREAMS" = "yes" ; then
30498 cat >>confdefs.h <<\_ACEOF
30499 #define wxUSE_STREAMS 1
30500 _ACEOF
30501
30502 fi
30503
30504
30505 if test "$wxUSE_DATETIME" = "yes"; then
30506
30507 for ac_func in strptime
30508 do
30509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30510 echo "$as_me:$LINENO: checking for $ac_func" >&5
30511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30512 if eval "test \"\${$as_ac_var+set}\" = set"; then
30513 echo $ECHO_N "(cached) $ECHO_C" >&6
30514 else
30515 cat >conftest.$ac_ext <<_ACEOF
30516 #line $LINENO "configure"
30517 /* confdefs.h. */
30518 _ACEOF
30519 cat confdefs.h >>conftest.$ac_ext
30520 cat >>conftest.$ac_ext <<_ACEOF
30521 /* end confdefs.h. */
30522 /* System header to define __stub macros and hopefully few prototypes,
30523 which can conflict with char $ac_func (); below.
30524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30525 <limits.h> exists even on freestanding compilers. */
30526 #ifdef __STDC__
30527 # include <limits.h>
30528 #else
30529 # include <assert.h>
30530 #endif
30531 /* Override any gcc2 internal prototype to avoid an error. */
30532 #ifdef __cplusplus
30533 extern "C"
30534 {
30535 #endif
30536 /* We use char because int might match the return type of a gcc2
30537 builtin and then its argument prototype would still apply. */
30538 char $ac_func ();
30539 /* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30543 choke me
30544 #else
30545 char (*f) () = $ac_func;
30546 #endif
30547 #ifdef __cplusplus
30548 }
30549 #endif
30550
30551 int
30552 main ()
30553 {
30554 return f != $ac_func;
30555 ;
30556 return 0;
30557 }
30558 _ACEOF
30559 rm -f conftest.$ac_objext conftest$ac_exeext
30560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30561 (eval $ac_link) 2>&5
30562 ac_status=$?
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } &&
30565 { ac_try='test -s conftest$ac_exeext'
30566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30567 (eval $ac_try) 2>&5
30568 ac_status=$?
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); }; }; then
30571 eval "$as_ac_var=yes"
30572 else
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.$ac_ext >&5
30575
30576 eval "$as_ac_var=no"
30577 fi
30578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30579 fi
30580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30582 if test `eval echo '${'$as_ac_var'}'` = yes; then
30583 cat >>confdefs.h <<_ACEOF
30584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30585 _ACEOF
30586
30587 fi
30588 done
30589
30590
30591 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30592 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30593 if test "${wx_cv_var_timezone+set}" = set; then
30594 echo $ECHO_N "(cached) $ECHO_C" >&6
30595 else
30596
30597 cat >conftest.$ac_ext <<_ACEOF
30598 #line $LINENO "configure"
30599 /* confdefs.h. */
30600 _ACEOF
30601 cat confdefs.h >>conftest.$ac_ext
30602 cat >>conftest.$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30604
30605 #include <time.h>
30606
30607 int
30608 main ()
30609 {
30610
30611 int tz;
30612 tz = timezone;
30613
30614 ;
30615 return 0;
30616 }
30617 _ACEOF
30618 rm -f conftest.$ac_objext
30619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30620 (eval $ac_compile) 2>&5
30621 ac_status=$?
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } &&
30624 { ac_try='test -s conftest.$ac_objext'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30627 ac_status=$?
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; }; then
30630
30631 wx_cv_var_timezone=timezone
30632
30633 else
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.$ac_ext >&5
30636
30637
30638 cat >conftest.$ac_ext <<_ACEOF
30639 #line $LINENO "configure"
30640 /* confdefs.h. */
30641 _ACEOF
30642 cat confdefs.h >>conftest.$ac_ext
30643 cat >>conftest.$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30645
30646 #include <time.h>
30647
30648 int
30649 main ()
30650 {
30651
30652 int tz;
30653 tz = _timezone;
30654
30655 ;
30656 return 0;
30657 }
30658 _ACEOF
30659 rm -f conftest.$ac_objext
30660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30661 (eval $ac_compile) 2>&5
30662 ac_status=$?
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try='test -s conftest.$ac_objext'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30668 ac_status=$?
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; }; then
30671
30672 wx_cv_var_timezone=_timezone
30673
30674 else
30675 echo "$as_me: failed program was:" >&5
30676 sed 's/^/| /' conftest.$ac_ext >&5
30677
30678
30679 cat >conftest.$ac_ext <<_ACEOF
30680 #line $LINENO "configure"
30681 /* confdefs.h. */
30682 _ACEOF
30683 cat confdefs.h >>conftest.$ac_ext
30684 cat >>conftest.$ac_ext <<_ACEOF
30685 /* end confdefs.h. */
30686
30687 #include <time.h>
30688
30689 int
30690 main ()
30691 {
30692
30693 int tz;
30694 tz = __timezone;
30695
30696 ;
30697 return 0;
30698 }
30699 _ACEOF
30700 rm -f conftest.$ac_objext
30701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30702 (eval $ac_compile) 2>&5
30703 ac_status=$?
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); } &&
30706 { ac_try='test -s conftest.$ac_objext'
30707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30708 (eval $ac_try) 2>&5
30709 ac_status=$?
30710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30711 (exit $ac_status); }; }; then
30712
30713 wx_cv_var_timezone=__timezone
30714
30715 else
30716 echo "$as_me: failed program was:" >&5
30717 sed 's/^/| /' conftest.$ac_ext >&5
30718
30719
30720 if test "$USE_DOS" = 0 ; then
30721 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30722 echo "$as_me: WARNING: no timezone variable" >&2;}
30723 fi
30724
30725
30726 fi
30727 rm -f conftest.$ac_objext conftest.$ac_ext
30728
30729
30730 fi
30731 rm -f conftest.$ac_objext conftest.$ac_ext
30732
30733
30734 fi
30735 rm -f conftest.$ac_objext conftest.$ac_ext
30736
30737
30738 fi
30739 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30740 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30741
30742 if test "x$wx_cv_var_timezone" != x ; then
30743 cat >>confdefs.h <<_ACEOF
30744 #define WX_TIMEZONE $wx_cv_var_timezone
30745 _ACEOF
30746
30747 fi
30748
30749
30750 for ac_func in localtime
30751 do
30752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30753 echo "$as_me:$LINENO: checking for $ac_func" >&5
30754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30755 if eval "test \"\${$as_ac_var+set}\" = set"; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 else
30758 cat >conftest.$ac_ext <<_ACEOF
30759 #line $LINENO "configure"
30760 /* confdefs.h. */
30761 _ACEOF
30762 cat confdefs.h >>conftest.$ac_ext
30763 cat >>conftest.$ac_ext <<_ACEOF
30764 /* end confdefs.h. */
30765 /* System header to define __stub macros and hopefully few prototypes,
30766 which can conflict with char $ac_func (); below.
30767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30768 <limits.h> exists even on freestanding compilers. */
30769 #ifdef __STDC__
30770 # include <limits.h>
30771 #else
30772 # include <assert.h>
30773 #endif
30774 /* Override any gcc2 internal prototype to avoid an error. */
30775 #ifdef __cplusplus
30776 extern "C"
30777 {
30778 #endif
30779 /* We use char because int might match the return type of a gcc2
30780 builtin and then its argument prototype would still apply. */
30781 char $ac_func ();
30782 /* The GNU C library defines this for functions which it implements
30783 to always fail with ENOSYS. Some functions are actually named
30784 something starting with __ and the normal name is an alias. */
30785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30786 choke me
30787 #else
30788 char (*f) () = $ac_func;
30789 #endif
30790 #ifdef __cplusplus
30791 }
30792 #endif
30793
30794 int
30795 main ()
30796 {
30797 return f != $ac_func;
30798 ;
30799 return 0;
30800 }
30801 _ACEOF
30802 rm -f conftest.$ac_objext conftest$ac_exeext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30804 (eval $ac_link) 2>&5
30805 ac_status=$?
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } &&
30808 { ac_try='test -s conftest$ac_exeext'
30809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30810 (eval $ac_try) 2>&5
30811 ac_status=$?
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; }; then
30814 eval "$as_ac_var=yes"
30815 else
30816 echo "$as_me: failed program was:" >&5
30817 sed 's/^/| /' conftest.$ac_ext >&5
30818
30819 eval "$as_ac_var=no"
30820 fi
30821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30822 fi
30823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30825 if test `eval echo '${'$as_ac_var'}'` = yes; then
30826 cat >>confdefs.h <<_ACEOF
30827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30828 _ACEOF
30829
30830 fi
30831 done
30832
30833
30834 if test "$ac_cv_func_localtime" = "yes"; then
30835 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30836 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30837 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30838 echo $ECHO_N "(cached) $ECHO_C" >&6
30839 else
30840
30841 cat >conftest.$ac_ext <<_ACEOF
30842 #line $LINENO "configure"
30843 /* confdefs.h. */
30844 _ACEOF
30845 cat confdefs.h >>conftest.$ac_ext
30846 cat >>conftest.$ac_ext <<_ACEOF
30847 /* end confdefs.h. */
30848
30849 #include <time.h>
30850
30851 int
30852 main ()
30853 {
30854
30855 struct tm tm;
30856 tm.tm_gmtoff++;
30857
30858 ;
30859 return 0;
30860 }
30861 _ACEOF
30862 rm -f conftest.$ac_objext
30863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30864 (eval $ac_compile) 2>&5
30865 ac_status=$?
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); } &&
30868 { ac_try='test -s conftest.$ac_objext'
30869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30870 (eval $ac_try) 2>&5
30871 ac_status=$?
30872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30873 (exit $ac_status); }; }; then
30874
30875 wx_cv_struct_tm_has_gmtoff=yes
30876
30877 else
30878 echo "$as_me: failed program was:" >&5
30879 sed 's/^/| /' conftest.$ac_ext >&5
30880
30881 wx_cv_struct_tm_has_gmtoff=no
30882
30883 fi
30884 rm -f conftest.$ac_objext conftest.$ac_ext
30885
30886 fi
30887 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30888 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30889 fi
30890
30891 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30892 cat >>confdefs.h <<\_ACEOF
30893 #define WX_GMTOFF_IN_TM 1
30894 _ACEOF
30895
30896 fi
30897
30898
30899
30900 for ac_func in gettimeofday ftime
30901 do
30902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30903 echo "$as_me:$LINENO: checking for $ac_func" >&5
30904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30905 if eval "test \"\${$as_ac_var+set}\" = set"; then
30906 echo $ECHO_N "(cached) $ECHO_C" >&6
30907 else
30908 cat >conftest.$ac_ext <<_ACEOF
30909 #line $LINENO "configure"
30910 /* confdefs.h. */
30911 _ACEOF
30912 cat confdefs.h >>conftest.$ac_ext
30913 cat >>conftest.$ac_ext <<_ACEOF
30914 /* end confdefs.h. */
30915 /* System header to define __stub macros and hopefully few prototypes,
30916 which can conflict with char $ac_func (); below.
30917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30918 <limits.h> exists even on freestanding compilers. */
30919 #ifdef __STDC__
30920 # include <limits.h>
30921 #else
30922 # include <assert.h>
30923 #endif
30924 /* Override any gcc2 internal prototype to avoid an error. */
30925 #ifdef __cplusplus
30926 extern "C"
30927 {
30928 #endif
30929 /* We use char because int might match the return type of a gcc2
30930 builtin and then its argument prototype would still apply. */
30931 char $ac_func ();
30932 /* The GNU C library defines this for functions which it implements
30933 to always fail with ENOSYS. Some functions are actually named
30934 something starting with __ and the normal name is an alias. */
30935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30936 choke me
30937 #else
30938 char (*f) () = $ac_func;
30939 #endif
30940 #ifdef __cplusplus
30941 }
30942 #endif
30943
30944 int
30945 main ()
30946 {
30947 return f != $ac_func;
30948 ;
30949 return 0;
30950 }
30951 _ACEOF
30952 rm -f conftest.$ac_objext conftest$ac_exeext
30953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30954 (eval $ac_link) 2>&5
30955 ac_status=$?
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); } &&
30958 { ac_try='test -s conftest$ac_exeext'
30959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30960 (eval $ac_try) 2>&5
30961 ac_status=$?
30962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30963 (exit $ac_status); }; }; then
30964 eval "$as_ac_var=yes"
30965 else
30966 echo "$as_me: failed program was:" >&5
30967 sed 's/^/| /' conftest.$ac_ext >&5
30968
30969 eval "$as_ac_var=no"
30970 fi
30971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30972 fi
30973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30975 if test `eval echo '${'$as_ac_var'}'` = yes; then
30976 cat >>confdefs.h <<_ACEOF
30977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30978 _ACEOF
30979 break
30980 fi
30981 done
30982
30983
30984 if test "$ac_cv_func_gettimeofday" = "yes"; then
30985 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30986 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30987 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30988 echo $ECHO_N "(cached) $ECHO_C" >&6
30989 else
30990
30991
30992
30993 ac_ext=cc
30994 ac_cpp='$CXXCPP $CPPFLAGS'
30995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998
30999
31000 cat >conftest.$ac_ext <<_ACEOF
31001 #line $LINENO "configure"
31002 /* confdefs.h. */
31003 _ACEOF
31004 cat confdefs.h >>conftest.$ac_ext
31005 cat >>conftest.$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31007
31008 #include <sys/time.h>
31009 #include <unistd.h>
31010
31011 int
31012 main ()
31013 {
31014
31015 struct timeval tv;
31016 gettimeofday(&tv, NULL);
31017
31018 ;
31019 return 0;
31020 }
31021 _ACEOF
31022 rm -f conftest.$ac_objext
31023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31024 (eval $ac_compile) 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); } &&
31028 { ac_try='test -s conftest.$ac_objext'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; }; then
31034 wx_cv_func_gettimeofday_has_2_args=yes
31035 else
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31038
31039 cat >conftest.$ac_ext <<_ACEOF
31040 #line $LINENO "configure"
31041 /* confdefs.h. */
31042 _ACEOF
31043 cat confdefs.h >>conftest.$ac_ext
31044 cat >>conftest.$ac_ext <<_ACEOF
31045 /* end confdefs.h. */
31046
31047 #include <sys/time.h>
31048 #include <unistd.h>
31049
31050 int
31051 main ()
31052 {
31053
31054 struct timeval tv;
31055 gettimeofday(&tv);
31056
31057 ;
31058 return 0;
31059 }
31060 _ACEOF
31061 rm -f conftest.$ac_objext
31062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31063 (eval $ac_compile) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); } &&
31067 { ac_try='test -s conftest.$ac_objext'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31070 ac_status=$?
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; }; then
31073 wx_cv_func_gettimeofday_has_2_args=no
31074 else
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.$ac_ext >&5
31077
31078
31079 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31080 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31081 wx_cv_func_gettimeofday_has_2_args=unknown
31082
31083
31084 fi
31085 rm -f conftest.$ac_objext conftest.$ac_ext
31086
31087 fi
31088 rm -f conftest.$ac_objext conftest.$ac_ext
31089 ac_ext=c
31090 ac_cpp='$CPP $CPPFLAGS'
31091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31094
31095
31096 fi
31097 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31098 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31099
31100 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31101 cat >>confdefs.h <<\_ACEOF
31102 #define WX_GETTIMEOFDAY_NO_TZ 1
31103 _ACEOF
31104
31105 fi
31106 fi
31107
31108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31109 fi
31110
31111
31112 if test "$wxUSE_SOCKETS" = "yes"; then
31113 if test "$wxUSE_MGL" = "1"; then
31114 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31115 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31116 wxUSE_SOCKETS="no"
31117 fi
31118 if test "$wxUSE_COCOA" = "1"; then
31119 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31120 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31121 wxUSE_SOCKETS="no"
31122 fi
31123 fi
31124
31125 if test "$wxUSE_SOCKETS" = "yes"; then
31126 if test "$TOOLKIT" != "MSW"; then
31127 echo "$as_me:$LINENO: checking for socket" >&5
31128 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31129 if test "${ac_cv_func_socket+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31131 else
31132 cat >conftest.$ac_ext <<_ACEOF
31133 #line $LINENO "configure"
31134 /* confdefs.h. */
31135 _ACEOF
31136 cat confdefs.h >>conftest.$ac_ext
31137 cat >>conftest.$ac_ext <<_ACEOF
31138 /* end confdefs.h. */
31139 /* System header to define __stub macros and hopefully few prototypes,
31140 which can conflict with char socket (); below.
31141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31142 <limits.h> exists even on freestanding compilers. */
31143 #ifdef __STDC__
31144 # include <limits.h>
31145 #else
31146 # include <assert.h>
31147 #endif
31148 /* Override any gcc2 internal prototype to avoid an error. */
31149 #ifdef __cplusplus
31150 extern "C"
31151 {
31152 #endif
31153 /* We use char because int might match the return type of a gcc2
31154 builtin and then its argument prototype would still apply. */
31155 char socket ();
31156 /* The GNU C library defines this for functions which it implements
31157 to always fail with ENOSYS. Some functions are actually named
31158 something starting with __ and the normal name is an alias. */
31159 #if defined (__stub_socket) || defined (__stub___socket)
31160 choke me
31161 #else
31162 char (*f) () = socket;
31163 #endif
31164 #ifdef __cplusplus
31165 }
31166 #endif
31167
31168 int
31169 main ()
31170 {
31171 return f != socket;
31172 ;
31173 return 0;
31174 }
31175 _ACEOF
31176 rm -f conftest.$ac_objext conftest$ac_exeext
31177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31178 (eval $ac_link) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try='test -s conftest$ac_exeext'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; }; then
31188 ac_cv_func_socket=yes
31189 else
31190 echo "$as_me: failed program was:" >&5
31191 sed 's/^/| /' conftest.$ac_ext >&5
31192
31193 ac_cv_func_socket=no
31194 fi
31195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31196 fi
31197 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31198 echo "${ECHO_T}$ac_cv_func_socket" >&6
31199 if test $ac_cv_func_socket = yes; then
31200 :
31201 else
31202
31203 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31204 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31205 if test "${ac_cv_lib_socket_socket+set}" = set; then
31206 echo $ECHO_N "(cached) $ECHO_C" >&6
31207 else
31208 ac_check_lib_save_LIBS=$LIBS
31209 LIBS="-lsocket $LIBS"
31210 cat >conftest.$ac_ext <<_ACEOF
31211 #line $LINENO "configure"
31212 /* confdefs.h. */
31213 _ACEOF
31214 cat confdefs.h >>conftest.$ac_ext
31215 cat >>conftest.$ac_ext <<_ACEOF
31216 /* end confdefs.h. */
31217
31218 /* Override any gcc2 internal prototype to avoid an error. */
31219 #ifdef __cplusplus
31220 extern "C"
31221 #endif
31222 /* We use char because int might match the return type of a gcc2
31223 builtin and then its argument prototype would still apply. */
31224 char socket ();
31225 int
31226 main ()
31227 {
31228 socket ();
31229 ;
31230 return 0;
31231 }
31232 _ACEOF
31233 rm -f conftest.$ac_objext conftest$ac_exeext
31234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31235 (eval $ac_link) 2>&5
31236 ac_status=$?
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); } &&
31239 { ac_try='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31242 ac_status=$?
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31245 ac_cv_lib_socket_socket=yes
31246 else
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31249
31250 ac_cv_lib_socket_socket=no
31251 fi
31252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31253 LIBS=$ac_check_lib_save_LIBS
31254 fi
31255 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31256 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31257 if test $ac_cv_lib_socket_socket = yes; then
31258 if test "$INET_LINK" != " -lsocket"; then
31259 INET_LINK="$INET_LINK -lsocket"
31260 fi
31261 else
31262
31263 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31264 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31265 wxUSE_SOCKETS=no
31266
31267
31268 fi
31269
31270
31271
31272 fi
31273
31274 fi
31275 fi
31276
31277 if test "$wxUSE_SOCKETS" = "yes" ; then
31278 if test "$TOOLKIT" != "MSW"; then
31279 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31280 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31281 if test "${wx_cv_type_getsockname3+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31283 else
31284
31285 cat >conftest.$ac_ext <<_ACEOF
31286 #line $LINENO "configure"
31287 /* confdefs.h. */
31288 _ACEOF
31289 cat confdefs.h >>conftest.$ac_ext
31290 cat >>conftest.$ac_ext <<_ACEOF
31291 /* end confdefs.h. */
31292
31293 #include <sys/types.h>
31294 #include <sys/socket.h>
31295
31296 int
31297 main ()
31298 {
31299
31300 socklen_t len;
31301 getsockname(0, 0, &len);
31302
31303 ;
31304 return 0;
31305 }
31306 _ACEOF
31307 rm -f conftest.$ac_objext
31308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31309 (eval $ac_compile) 2>&5
31310 ac_status=$?
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); } &&
31313 { ac_try='test -s conftest.$ac_objext'
31314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31315 (eval $ac_try) 2>&5
31316 ac_status=$?
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); }; }; then
31319 wx_cv_type_getsockname3=socklen_t
31320 else
31321 echo "$as_me: failed program was:" >&5
31322 sed 's/^/| /' conftest.$ac_ext >&5
31323
31324
31325 CFLAGS_OLD="$CFLAGS"
31326 if test "$GCC" = yes ; then
31327 CFLAGS="$CFLAGS -Werror"
31328 fi
31329
31330 cat >conftest.$ac_ext <<_ACEOF
31331 #line $LINENO "configure"
31332 /* confdefs.h. */
31333 _ACEOF
31334 cat confdefs.h >>conftest.$ac_ext
31335 cat >>conftest.$ac_ext <<_ACEOF
31336 /* end confdefs.h. */
31337
31338 #include <sys/types.h>
31339 #include <sys/socket.h>
31340
31341 int
31342 main ()
31343 {
31344
31345 size_t len;
31346 getsockname(0, 0, &len);
31347
31348 ;
31349 return 0;
31350 }
31351 _ACEOF
31352 rm -f conftest.$ac_objext
31353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31354 (eval $ac_compile) 2>&5
31355 ac_status=$?
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try='test -s conftest.$ac_objext'
31359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360 (eval $ac_try) 2>&5
31361 ac_status=$?
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); }; }; then
31364 wx_cv_type_getsockname3=size_t
31365 else
31366 echo "$as_me: failed program was:" >&5
31367 sed 's/^/| /' conftest.$ac_ext >&5
31368
31369 cat >conftest.$ac_ext <<_ACEOF
31370 #line $LINENO "configure"
31371 /* confdefs.h. */
31372 _ACEOF
31373 cat confdefs.h >>conftest.$ac_ext
31374 cat >>conftest.$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31376
31377 #include <sys/types.h>
31378 #include <sys/socket.h>
31379
31380 int
31381 main ()
31382 {
31383
31384 int len;
31385 getsockname(0, 0, &len);
31386
31387 ;
31388 return 0;
31389 }
31390 _ACEOF
31391 rm -f conftest.$ac_objext
31392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31393 (eval $ac_compile) 2>&5
31394 ac_status=$?
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } &&
31397 { ac_try='test -s conftest.$ac_objext'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; }; then
31403 wx_cv_type_getsockname3=int
31404 else
31405 echo "$as_me: failed program was:" >&5
31406 sed 's/^/| /' conftest.$ac_ext >&5
31407
31408 wx_cv_type_getsockname3=unknown
31409
31410 fi
31411 rm -f conftest.$ac_objext conftest.$ac_ext
31412
31413 fi
31414 rm -f conftest.$ac_objext conftest.$ac_ext
31415
31416 CFLAGS="$CFLAGS_OLD"
31417
31418
31419 fi
31420 rm -f conftest.$ac_objext conftest.$ac_ext
31421
31422 fi
31423 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31424 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31425
31426 if test "$wx_cv_type_getsockname3" = "unknown"; then
31427 wxUSE_SOCKETS=no
31428 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31429 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31430 else
31431 cat >>confdefs.h <<_ACEOF
31432 #define SOCKLEN_T $wx_cv_type_getsockname3
31433 _ACEOF
31434
31435 fi
31436 fi
31437 fi
31438
31439 if test "$wxUSE_SOCKETS" = "yes" ; then
31440 cat >>confdefs.h <<\_ACEOF
31441 #define wxUSE_SOCKETS 1
31442 _ACEOF
31443
31444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31445 fi
31446
31447 if test "$wxUSE_PROTOCOL" = "yes"; then
31448 if test "$wxUSE_SOCKETS" != "yes"; then
31449 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31450 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31451 wxUSE_PROTOCOL=no
31452 fi
31453 fi
31454
31455 if test "$wxUSE_PROTOCOL" = "yes"; then
31456 cat >>confdefs.h <<\_ACEOF
31457 #define wxUSE_PROTOCOL 1
31458 _ACEOF
31459
31460
31461 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31462 cat >>confdefs.h <<\_ACEOF
31463 #define wxUSE_PROTOCOL_HTTP 1
31464 _ACEOF
31465
31466 fi
31467 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31468 cat >>confdefs.h <<\_ACEOF
31469 #define wxUSE_PROTOCOL_FTP 1
31470 _ACEOF
31471
31472 fi
31473 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31474 cat >>confdefs.h <<\_ACEOF
31475 #define wxUSE_PROTOCOL_FILE 1
31476 _ACEOF
31477
31478 fi
31479 else
31480 if test "$wxUSE_FS_INET" = "yes"; then
31481 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31482 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31483 wxUSE_FS_INET="no"
31484 fi
31485 fi
31486
31487 if test "$wxUSE_URL" = "yes"; then
31488 if test "$wxUSE_PROTOCOL" != "yes"; then
31489 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31490 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31491 wxUSE_URL=no
31492 fi
31493 if test "$wxUSE_URL" = "yes"; then
31494 cat >>confdefs.h <<\_ACEOF
31495 #define wxUSE_URL 1
31496 _ACEOF
31497
31498 fi
31499 fi
31500
31501 if test "$wxUSE_FS_INET" = "yes"; then
31502 cat >>confdefs.h <<\_ACEOF
31503 #define wxUSE_FS_INET 1
31504 _ACEOF
31505
31506 fi
31507
31508
31509 if test "$wxUSE_GUI" = "yes"; then
31510
31511 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31512 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31513 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31514 wxUSE_JOYSTICK=no
31515 fi
31516
31517 if test "$TOOLKIT" != "MSW"; then
31518 if test "$wxUSE_JOYSTICK" = "yes"; then
31519
31520 for ac_header in linux/joystick.h
31521 do
31522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31524 echo "$as_me:$LINENO: checking for $ac_header" >&5
31525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31527 echo $ECHO_N "(cached) $ECHO_C" >&6
31528 fi
31529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31531 else
31532 # Is the header compilable?
31533 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31534 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31535 cat >conftest.$ac_ext <<_ACEOF
31536 #line $LINENO "configure"
31537 /* confdefs.h. */
31538 _ACEOF
31539 cat confdefs.h >>conftest.$ac_ext
31540 cat >>conftest.$ac_ext <<_ACEOF
31541 /* end confdefs.h. */
31542 $ac_includes_default
31543 #include <$ac_header>
31544 _ACEOF
31545 rm -f conftest.$ac_objext
31546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31547 (eval $ac_compile) 2>&5
31548 ac_status=$?
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); } &&
31551 { ac_try='test -s conftest.$ac_objext'
31552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31553 (eval $ac_try) 2>&5
31554 ac_status=$?
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; }; then
31557 ac_header_compiler=yes
31558 else
31559 echo "$as_me: failed program was:" >&5
31560 sed 's/^/| /' conftest.$ac_ext >&5
31561
31562 ac_header_compiler=no
31563 fi
31564 rm -f conftest.$ac_objext conftest.$ac_ext
31565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31566 echo "${ECHO_T}$ac_header_compiler" >&6
31567
31568 # Is the header present?
31569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31571 cat >conftest.$ac_ext <<_ACEOF
31572 #line $LINENO "configure"
31573 /* confdefs.h. */
31574 _ACEOF
31575 cat confdefs.h >>conftest.$ac_ext
31576 cat >>conftest.$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 #include <$ac_header>
31579 _ACEOF
31580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } >/dev/null; then
31588 if test -s conftest.err; then
31589 ac_cpp_err=$ac_c_preproc_warn_flag
31590 else
31591 ac_cpp_err=
31592 fi
31593 else
31594 ac_cpp_err=yes
31595 fi
31596 if test -z "$ac_cpp_err"; then
31597 ac_header_preproc=yes
31598 else
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.$ac_ext >&5
31601
31602 ac_header_preproc=no
31603 fi
31604 rm -f conftest.err conftest.$ac_ext
31605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31606 echo "${ECHO_T}$ac_header_preproc" >&6
31607
31608 # So? What about this header?
31609 case $ac_header_compiler:$ac_header_preproc in
31610 yes:no )
31611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31615 (
31616 cat <<\_ASBOX
31617 ## ------------------------------------ ##
31618 ## Report this to bug-autoconf@gnu.org. ##
31619 ## ------------------------------------ ##
31620 _ASBOX
31621 ) |
31622 sed "s/^/$as_me: WARNING: /" >&2
31623 ;;
31624 no:yes )
31625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31630 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31631 (
31632 cat <<\_ASBOX
31633 ## ------------------------------------ ##
31634 ## Report this to bug-autoconf@gnu.org. ##
31635 ## ------------------------------------ ##
31636 _ASBOX
31637 ) |
31638 sed "s/^/$as_me: WARNING: /" >&2
31639 ;;
31640 esac
31641 echo "$as_me:$LINENO: checking for $ac_header" >&5
31642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31644 echo $ECHO_N "(cached) $ECHO_C" >&6
31645 else
31646 eval "$as_ac_Header=$ac_header_preproc"
31647 fi
31648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31650
31651 fi
31652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31653 cat >>confdefs.h <<_ACEOF
31654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31655 _ACEOF
31656
31657 fi
31658
31659 done
31660
31661 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31662 wxUSE_JOYSTICK=no
31663 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31664 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31665 fi
31666 fi
31667 fi
31668
31669 if test "$wxUSE_JOYSTICK" = "yes"; then
31670 cat >>confdefs.h <<\_ACEOF
31671 #define wxUSE_JOYSTICK 1
31672 _ACEOF
31673
31674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31675 fi
31676 fi
31677
31678
31679 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31680
31681 HAVE_DL_FUNCS=0
31682 HAVE_SHL_FUNCS=0
31683 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31684 if test "$USE_DARWIN" = 1; then
31685 HAVE_DL_FUNCS=1
31686 else
31687
31688 for ac_func in dlopen
31689 do
31690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31691 echo "$as_me:$LINENO: checking for $ac_func" >&5
31692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31693 if eval "test \"\${$as_ac_var+set}\" = set"; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31695 else
31696 cat >conftest.$ac_ext <<_ACEOF
31697 #line $LINENO "configure"
31698 /* confdefs.h. */
31699 _ACEOF
31700 cat confdefs.h >>conftest.$ac_ext
31701 cat >>conftest.$ac_ext <<_ACEOF
31702 /* end confdefs.h. */
31703 /* System header to define __stub macros and hopefully few prototypes,
31704 which can conflict with char $ac_func (); below.
31705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31706 <limits.h> exists even on freestanding compilers. */
31707 #ifdef __STDC__
31708 # include <limits.h>
31709 #else
31710 # include <assert.h>
31711 #endif
31712 /* Override any gcc2 internal prototype to avoid an error. */
31713 #ifdef __cplusplus
31714 extern "C"
31715 {
31716 #endif
31717 /* We use char because int might match the return type of a gcc2
31718 builtin and then its argument prototype would still apply. */
31719 char $ac_func ();
31720 /* The GNU C library defines this for functions which it implements
31721 to always fail with ENOSYS. Some functions are actually named
31722 something starting with __ and the normal name is an alias. */
31723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31724 choke me
31725 #else
31726 char (*f) () = $ac_func;
31727 #endif
31728 #ifdef __cplusplus
31729 }
31730 #endif
31731
31732 int
31733 main ()
31734 {
31735 return f != $ac_func;
31736 ;
31737 return 0;
31738 }
31739 _ACEOF
31740 rm -f conftest.$ac_objext conftest$ac_exeext
31741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31742 (eval $ac_link) 2>&5
31743 ac_status=$?
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); } &&
31746 { ac_try='test -s conftest$ac_exeext'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31749 ac_status=$?
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; }; then
31752 eval "$as_ac_var=yes"
31753 else
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.$ac_ext >&5
31756
31757 eval "$as_ac_var=no"
31758 fi
31759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31760 fi
31761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31763 if test `eval echo '${'$as_ac_var'}'` = yes; then
31764 cat >>confdefs.h <<_ACEOF
31765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31766 _ACEOF
31767
31768 cat >>confdefs.h <<\_ACEOF
31769 #define HAVE_DLOPEN 1
31770 _ACEOF
31771
31772 HAVE_DL_FUNCS=1
31773
31774 else
31775
31776 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31777 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31778 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31779 echo $ECHO_N "(cached) $ECHO_C" >&6
31780 else
31781 ac_check_lib_save_LIBS=$LIBS
31782 LIBS="-ldl $LIBS"
31783 cat >conftest.$ac_ext <<_ACEOF
31784 #line $LINENO "configure"
31785 /* confdefs.h. */
31786 _ACEOF
31787 cat confdefs.h >>conftest.$ac_ext
31788 cat >>conftest.$ac_ext <<_ACEOF
31789 /* end confdefs.h. */
31790
31791 /* Override any gcc2 internal prototype to avoid an error. */
31792 #ifdef __cplusplus
31793 extern "C"
31794 #endif
31795 /* We use char because int might match the return type of a gcc2
31796 builtin and then its argument prototype would still apply. */
31797 char dlopen ();
31798 int
31799 main ()
31800 {
31801 dlopen ();
31802 ;
31803 return 0;
31804 }
31805 _ACEOF
31806 rm -f conftest.$ac_objext conftest$ac_exeext
31807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31808 (eval $ac_link) 2>&5
31809 ac_status=$?
31810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31811 (exit $ac_status); } &&
31812 { ac_try='test -s conftest$ac_exeext'
31813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31814 (eval $ac_try) 2>&5
31815 ac_status=$?
31816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31817 (exit $ac_status); }; }; then
31818 ac_cv_lib_dl_dlopen=yes
31819 else
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31822
31823 ac_cv_lib_dl_dlopen=no
31824 fi
31825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31826 LIBS=$ac_check_lib_save_LIBS
31827 fi
31828 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31829 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31830 if test $ac_cv_lib_dl_dlopen = yes; then
31831
31832 cat >>confdefs.h <<\_ACEOF
31833 #define HAVE_DLOPEN 1
31834 _ACEOF
31835
31836 HAVE_DL_FUNCS=1
31837 DL_LINK=" -ldl$DL_LINK"
31838
31839 else
31840
31841
31842 for ac_func in shl_load
31843 do
31844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31845 echo "$as_me:$LINENO: checking for $ac_func" >&5
31846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31847 if eval "test \"\${$as_ac_var+set}\" = set"; then
31848 echo $ECHO_N "(cached) $ECHO_C" >&6
31849 else
31850 cat >conftest.$ac_ext <<_ACEOF
31851 #line $LINENO "configure"
31852 /* confdefs.h. */
31853 _ACEOF
31854 cat confdefs.h >>conftest.$ac_ext
31855 cat >>conftest.$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31857 /* System header to define __stub macros and hopefully few prototypes,
31858 which can conflict with char $ac_func (); below.
31859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31860 <limits.h> exists even on freestanding compilers. */
31861 #ifdef __STDC__
31862 # include <limits.h>
31863 #else
31864 # include <assert.h>
31865 #endif
31866 /* Override any gcc2 internal prototype to avoid an error. */
31867 #ifdef __cplusplus
31868 extern "C"
31869 {
31870 #endif
31871 /* We use char because int might match the return type of a gcc2
31872 builtin and then its argument prototype would still apply. */
31873 char $ac_func ();
31874 /* The GNU C library defines this for functions which it implements
31875 to always fail with ENOSYS. Some functions are actually named
31876 something starting with __ and the normal name is an alias. */
31877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31878 choke me
31879 #else
31880 char (*f) () = $ac_func;
31881 #endif
31882 #ifdef __cplusplus
31883 }
31884 #endif
31885
31886 int
31887 main ()
31888 {
31889 return f != $ac_func;
31890 ;
31891 return 0;
31892 }
31893 _ACEOF
31894 rm -f conftest.$ac_objext conftest$ac_exeext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31896 (eval $ac_link) 2>&5
31897 ac_status=$?
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } &&
31900 { ac_try='test -s conftest$ac_exeext'
31901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31902 (eval $ac_try) 2>&5
31903 ac_status=$?
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); }; }; then
31906 eval "$as_ac_var=yes"
31907 else
31908 echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.$ac_ext >&5
31910
31911 eval "$as_ac_var=no"
31912 fi
31913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31914 fi
31915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31917 if test `eval echo '${'$as_ac_var'}'` = yes; then
31918 cat >>confdefs.h <<_ACEOF
31919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31920 _ACEOF
31921
31922 cat >>confdefs.h <<\_ACEOF
31923 #define HAVE_SHL_LOAD 1
31924 _ACEOF
31925
31926 HAVE_SHL_FUNCS=1
31927
31928 else
31929
31930 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31931 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31932 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31933 echo $ECHO_N "(cached) $ECHO_C" >&6
31934 else
31935 ac_check_lib_save_LIBS=$LIBS
31936 LIBS="-lshl_load $LIBS"
31937 cat >conftest.$ac_ext <<_ACEOF
31938 #line $LINENO "configure"
31939 /* confdefs.h. */
31940 _ACEOF
31941 cat confdefs.h >>conftest.$ac_ext
31942 cat >>conftest.$ac_ext <<_ACEOF
31943 /* end confdefs.h. */
31944
31945 /* Override any gcc2 internal prototype to avoid an error. */
31946 #ifdef __cplusplus
31947 extern "C"
31948 #endif
31949 /* We use char because int might match the return type of a gcc2
31950 builtin and then its argument prototype would still apply. */
31951 char dld ();
31952 int
31953 main ()
31954 {
31955 dld ();
31956 ;
31957 return 0;
31958 }
31959 _ACEOF
31960 rm -f conftest.$ac_objext conftest$ac_exeext
31961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31962 (eval $ac_link) 2>&5
31963 ac_status=$?
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); } &&
31966 { ac_try='test -s conftest$ac_exeext'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; }; then
31972 ac_cv_lib_shl_load_dld=yes
31973 else
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.$ac_ext >&5
31976
31977 ac_cv_lib_shl_load_dld=no
31978 fi
31979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31980 LIBS=$ac_check_lib_save_LIBS
31981 fi
31982 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31983 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31984 if test $ac_cv_lib_shl_load_dld = yes; then
31985
31986 HAVE_SHL_FUNCS=1
31987 DL_LINK=" -ldld$DL_LINK"
31988
31989 fi
31990
31991
31992 fi
31993 done
31994
31995
31996 fi
31997
31998
31999 fi
32000 done
32001
32002
32003 if test "$HAVE_DL_FUNCS" = 1; then
32004
32005 for ac_func in dlerror
32006 do
32007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32008 echo "$as_me:$LINENO: checking for $ac_func" >&5
32009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32010 if eval "test \"\${$as_ac_var+set}\" = set"; then
32011 echo $ECHO_N "(cached) $ECHO_C" >&6
32012 else
32013 cat >conftest.$ac_ext <<_ACEOF
32014 #line $LINENO "configure"
32015 /* confdefs.h. */
32016 _ACEOF
32017 cat confdefs.h >>conftest.$ac_ext
32018 cat >>conftest.$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32020 /* System header to define __stub macros and hopefully few prototypes,
32021 which can conflict with char $ac_func (); below.
32022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32023 <limits.h> exists even on freestanding compilers. */
32024 #ifdef __STDC__
32025 # include <limits.h>
32026 #else
32027 # include <assert.h>
32028 #endif
32029 /* Override any gcc2 internal prototype to avoid an error. */
32030 #ifdef __cplusplus
32031 extern "C"
32032 {
32033 #endif
32034 /* We use char because int might match the return type of a gcc2
32035 builtin and then its argument prototype would still apply. */
32036 char $ac_func ();
32037 /* The GNU C library defines this for functions which it implements
32038 to always fail with ENOSYS. Some functions are actually named
32039 something starting with __ and the normal name is an alias. */
32040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32041 choke me
32042 #else
32043 char (*f) () = $ac_func;
32044 #endif
32045 #ifdef __cplusplus
32046 }
32047 #endif
32048
32049 int
32050 main ()
32051 {
32052 return f != $ac_func;
32053 ;
32054 return 0;
32055 }
32056 _ACEOF
32057 rm -f conftest.$ac_objext conftest$ac_exeext
32058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32059 (eval $ac_link) 2>&5
32060 ac_status=$?
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } &&
32063 { ac_try='test -s conftest$ac_exeext'
32064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32065 (eval $ac_try) 2>&5
32066 ac_status=$?
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); }; }; then
32069 eval "$as_ac_var=yes"
32070 else
32071 echo "$as_me: failed program was:" >&5
32072 sed 's/^/| /' conftest.$ac_ext >&5
32073
32074 eval "$as_ac_var=no"
32075 fi
32076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32077 fi
32078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32080 if test `eval echo '${'$as_ac_var'}'` = yes; then
32081 cat >>confdefs.h <<_ACEOF
32082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32083 _ACEOF
32084 cat >>confdefs.h <<\_ACEOF
32085 #define HAVE_DLERROR 1
32086 _ACEOF
32087
32088 else
32089
32090 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32091 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32092 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32093 echo $ECHO_N "(cached) $ECHO_C" >&6
32094 else
32095 ac_check_lib_save_LIBS=$LIBS
32096 LIBS="-ldl $LIBS"
32097 cat >conftest.$ac_ext <<_ACEOF
32098 #line $LINENO "configure"
32099 /* confdefs.h. */
32100 _ACEOF
32101 cat confdefs.h >>conftest.$ac_ext
32102 cat >>conftest.$ac_ext <<_ACEOF
32103 /* end confdefs.h. */
32104
32105 /* Override any gcc2 internal prototype to avoid an error. */
32106 #ifdef __cplusplus
32107 extern "C"
32108 #endif
32109 /* We use char because int might match the return type of a gcc2
32110 builtin and then its argument prototype would still apply. */
32111 char dlerror ();
32112 int
32113 main ()
32114 {
32115 dlerror ();
32116 ;
32117 return 0;
32118 }
32119 _ACEOF
32120 rm -f conftest.$ac_objext conftest$ac_exeext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32123 ac_status=$?
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32129 ac_status=$?
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 ac_cv_lib_dl_dlerror=yes
32133 else
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.$ac_ext >&5
32136
32137 ac_cv_lib_dl_dlerror=no
32138 fi
32139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32140 LIBS=$ac_check_lib_save_LIBS
32141 fi
32142 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32143 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32144 if test $ac_cv_lib_dl_dlerror = yes; then
32145 cat >>confdefs.h <<\_ACEOF
32146 #define HAVE_DLERROR 1
32147 _ACEOF
32148
32149 fi
32150
32151
32152
32153 fi
32154 done
32155
32156 fi
32157 fi
32158
32159 if test "$HAVE_DL_FUNCS" = 0; then
32160 if test "$HAVE_SHL_FUNCS" = 0; then
32161 if test "$USE_UNIX" = 1; then
32162 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32163 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32164 wxUSE_DYNAMIC_LOADER=no
32165 wxUSE_DYNLIB_CLASS=no
32166 else
32167 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32168 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32169 fi
32170 fi
32171 fi
32172 fi
32173 fi
32174
32175 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32176 cat >>confdefs.h <<\_ACEOF
32177 #define wxUSE_DYNAMIC_LOADER 1
32178 _ACEOF
32179
32180 fi
32181 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32182 cat >>confdefs.h <<\_ACEOF
32183 #define wxUSE_DYNLIB_CLASS 1
32184 _ACEOF
32185
32186 fi
32187
32188
32189 if test "$wxUSE_FONTMAP" = "yes" ; then
32190 cat >>confdefs.h <<\_ACEOF
32191 #define wxUSE_FONTMAP 1
32192 _ACEOF
32193
32194 fi
32195
32196 if test "$wxUSE_UNICODE" = "yes" ; then
32197 cat >>confdefs.h <<\_ACEOF
32198 #define wxUSE_UNICODE 1
32199 _ACEOF
32200
32201
32202 if test "$USE_WIN32" != 1; then
32203 wxUSE_UNICODE_MSLU=no
32204 fi
32205
32206 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32207 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32208 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32209 if test "${ac_cv_lib_unicows_main+set}" = set; then
32210 echo $ECHO_N "(cached) $ECHO_C" >&6
32211 else
32212 ac_check_lib_save_LIBS=$LIBS
32213 LIBS="-lunicows $LIBS"
32214 cat >conftest.$ac_ext <<_ACEOF
32215 #line $LINENO "configure"
32216 /* confdefs.h. */
32217 _ACEOF
32218 cat confdefs.h >>conftest.$ac_ext
32219 cat >>conftest.$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32221
32222
32223 int
32224 main ()
32225 {
32226 main ();
32227 ;
32228 return 0;
32229 }
32230 _ACEOF
32231 rm -f conftest.$ac_objext conftest$ac_exeext
32232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32233 (eval $ac_link) 2>&5
32234 ac_status=$?
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try='test -s conftest$ac_exeext'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32240 ac_status=$?
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; }; then
32243 ac_cv_lib_unicows_main=yes
32244 else
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.$ac_ext >&5
32247
32248 ac_cv_lib_unicows_main=no
32249 fi
32250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32251 LIBS=$ac_check_lib_save_LIBS
32252 fi
32253 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32254 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32255 if test $ac_cv_lib_unicows_main = yes; then
32256
32257 cat >>confdefs.h <<\_ACEOF
32258 #define wxUSE_UNICODE_MSLU 1
32259 _ACEOF
32260
32261
32262 else
32263
32264 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32265 Applications will only run on Windows NT/2000/XP!" >&5
32266 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32267 Applications will only run on Windows NT/2000/XP!" >&2;}
32268 wxUSE_UNICODE_MSLU=no
32269
32270 fi
32271
32272 fi
32273 fi
32274
32275 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32276 cat >>confdefs.h <<\_ACEOF
32277 #define wxUSE_EXPERIMENTAL_PRINTF 1
32278 _ACEOF
32279
32280 fi
32281
32282
32283 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32284 cat >>confdefs.h <<\_ACEOF
32285 #define wxUSE_POSTSCRIPT 1
32286 _ACEOF
32287
32288 fi
32289
32290 cat >>confdefs.h <<\_ACEOF
32291 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32292 _ACEOF
32293
32294
32295 cat >>confdefs.h <<\_ACEOF
32296 #define wxUSE_NORMALIZED_PS_FONTS 1
32297 _ACEOF
32298
32299
32300
32301 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32302 cat >>confdefs.h <<\_ACEOF
32303 #define wxUSE_CONSTRAINTS 1
32304 _ACEOF
32305
32306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32307 fi
32308
32309 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32310 cat >>confdefs.h <<\_ACEOF
32311 #define wxUSE_MDI_ARCHITECTURE 1
32312 _ACEOF
32313
32314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32315 fi
32316
32317 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32318 cat >>confdefs.h <<\_ACEOF
32319 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32320 _ACEOF
32321
32322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32323 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32325 fi
32326 fi
32327
32328 if test "$wxUSE_HELP" = "yes"; then
32329 cat >>confdefs.h <<\_ACEOF
32330 #define wxUSE_HELP 1
32331 _ACEOF
32332
32333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32334
32335 if test "$wxUSE_MSW" = 1; then
32336 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32337 cat >>confdefs.h <<\_ACEOF
32338 #define wxUSE_MS_HTML_HELP 1
32339 _ACEOF
32340
32341 fi
32342 fi
32343
32344 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32345 if test "$wxUSE_HTML" = "yes"; then
32346 cat >>confdefs.h <<\_ACEOF
32347 #define wxUSE_WXHTML_HELP 1
32348 _ACEOF
32349
32350 else
32351 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32352 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32353 wxUSE_WXHTML_HELP=no
32354 fi
32355 fi
32356 fi
32357
32358 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32359 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32360 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32361 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32362 else
32363 cat >>confdefs.h <<\_ACEOF
32364 #define wxUSE_PRINTING_ARCHITECTURE 1
32365 _ACEOF
32366
32367 fi
32368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32369 fi
32370
32371 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32372 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32373 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32374 { (exit 1); exit 1; }; }
32375 fi
32376
32377
32378 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32379 -o "$wxUSE_CLIPBOARD" = "yes" \
32380 -o "$wxUSE_OLE" = "yes" \
32381 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32382
32383 for ac_header in ole2.h
32384 do
32385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32387 echo "$as_me:$LINENO: checking for $ac_header" >&5
32388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32391 fi
32392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32394 else
32395 # Is the header compilable?
32396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32398 cat >conftest.$ac_ext <<_ACEOF
32399 #line $LINENO "configure"
32400 /* confdefs.h. */
32401 _ACEOF
32402 cat confdefs.h >>conftest.$ac_ext
32403 cat >>conftest.$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32405 $ac_includes_default
32406 #include <$ac_header>
32407 _ACEOF
32408 rm -f conftest.$ac_objext
32409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32410 (eval $ac_compile) 2>&5
32411 ac_status=$?
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); } &&
32414 { ac_try='test -s conftest.$ac_objext'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32417 ac_status=$?
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; }; then
32420 ac_header_compiler=yes
32421 else
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.$ac_ext >&5
32424
32425 ac_header_compiler=no
32426 fi
32427 rm -f conftest.$ac_objext conftest.$ac_ext
32428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32429 echo "${ECHO_T}$ac_header_compiler" >&6
32430
32431 # Is the header present?
32432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32434 cat >conftest.$ac_ext <<_ACEOF
32435 #line $LINENO "configure"
32436 /* confdefs.h. */
32437 _ACEOF
32438 cat confdefs.h >>conftest.$ac_ext
32439 cat >>conftest.$ac_ext <<_ACEOF
32440 /* end confdefs.h. */
32441 #include <$ac_header>
32442 _ACEOF
32443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32445 ac_status=$?
32446 grep -v '^ *+' conftest.er1 >conftest.err
32447 rm -f conftest.er1
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } >/dev/null; then
32451 if test -s conftest.err; then
32452 ac_cpp_err=$ac_c_preproc_warn_flag
32453 else
32454 ac_cpp_err=
32455 fi
32456 else
32457 ac_cpp_err=yes
32458 fi
32459 if test -z "$ac_cpp_err"; then
32460 ac_header_preproc=yes
32461 else
32462 echo "$as_me: failed program was:" >&5
32463 sed 's/^/| /' conftest.$ac_ext >&5
32464
32465 ac_header_preproc=no
32466 fi
32467 rm -f conftest.err conftest.$ac_ext
32468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32469 echo "${ECHO_T}$ac_header_preproc" >&6
32470
32471 # So? What about this header?
32472 case $ac_header_compiler:$ac_header_preproc in
32473 yes:no )
32474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32478 (
32479 cat <<\_ASBOX
32480 ## ------------------------------------ ##
32481 ## Report this to bug-autoconf@gnu.org. ##
32482 ## ------------------------------------ ##
32483 _ASBOX
32484 ) |
32485 sed "s/^/$as_me: WARNING: /" >&2
32486 ;;
32487 no:yes )
32488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32494 (
32495 cat <<\_ASBOX
32496 ## ------------------------------------ ##
32497 ## Report this to bug-autoconf@gnu.org. ##
32498 ## ------------------------------------ ##
32499 _ASBOX
32500 ) |
32501 sed "s/^/$as_me: WARNING: /" >&2
32502 ;;
32503 esac
32504 echo "$as_me:$LINENO: checking for $ac_header" >&5
32505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32507 echo $ECHO_N "(cached) $ECHO_C" >&6
32508 else
32509 eval "$as_ac_Header=$ac_header_preproc"
32510 fi
32511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32513
32514 fi
32515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32516 cat >>confdefs.h <<_ACEOF
32517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32518 _ACEOF
32519
32520 fi
32521
32522 done
32523
32524
32525 if test "$ac_cv_header_ole2_h" = "yes" ; then
32526 if test "$GCC" = yes ; then
32527
32528
32529 ac_ext=cc
32530 ac_cpp='$CXXCPP $CPPFLAGS'
32531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534
32535
32536 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32537 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32538 cat >conftest.$ac_ext <<_ACEOF
32539 #line $LINENO "configure"
32540 /* confdefs.h. */
32541 _ACEOF
32542 cat confdefs.h >>conftest.$ac_ext
32543 cat >>conftest.$ac_ext <<_ACEOF
32544 /* end confdefs.h. */
32545 #include <windows.h>
32546 #include <ole2.h>
32547 int
32548 main ()
32549 {
32550
32551 ;
32552 return 0;
32553 }
32554 _ACEOF
32555 rm -f conftest.$ac_objext
32556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32557 (eval $ac_compile) 2>&5
32558 ac_status=$?
32559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32560 (exit $ac_status); } &&
32561 { ac_try='test -s conftest.$ac_objext'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; }; then
32567 echo "$as_me:$LINENO: result: no" >&5
32568 echo "${ECHO_T}no" >&6
32569 else
32570 echo "$as_me: failed program was:" >&5
32571 sed 's/^/| /' conftest.$ac_ext >&5
32572
32573 echo "$as_me:$LINENO: result: yes" >&5
32574 echo "${ECHO_T}yes" >&6
32575 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32576 fi
32577 rm -f conftest.$ac_objext conftest.$ac_ext
32578 ac_ext=c
32579 ac_cpp='$CPP $CPPFLAGS'
32580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32583
32584 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32585 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32586 cat >>confdefs.h <<\_ACEOF
32587 #define wxUSE_OLE 1
32588 _ACEOF
32589
32590
32591 fi
32592
32593 cat >>confdefs.h <<\_ACEOF
32594 #define wxUSE_DATAOBJ 1
32595 _ACEOF
32596
32597 else
32598 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32599 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32600
32601 wxUSE_CLIPBOARD=no
32602 wxUSE_DRAG_AND_DROP=no
32603 wxUSE_DATAOBJ=no
32604 wxUSE_OLE=no
32605 fi
32606
32607 if test "$wxUSE_METAFILE" = "yes"; then
32608 cat >>confdefs.h <<\_ACEOF
32609 #define wxUSE_METAFILE 1
32610 _ACEOF
32611
32612
32613 cat >>confdefs.h <<\_ACEOF
32614 #define wxUSE_ENH_METAFILE 1
32615 _ACEOF
32616
32617 fi
32618 fi
32619
32620 if test "$wxUSE_IPC" = "yes"; then
32621 if test "$wxUSE_SOCKETS" != "yes"; then
32622 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32623 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32624 fi
32625
32626 cat >>confdefs.h <<\_ACEOF
32627 #define wxUSE_IPC 1
32628 _ACEOF
32629
32630 fi
32631
32632 if test "$wxUSE_CLIPBOARD" = "yes"; then
32633 if test "$wxUSE_MGL" = 1; then
32634 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32635 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32636 wxUSE_CLIPBOARD=no
32637 fi
32638
32639 if test "$wxUSE_CLIPBOARD" = "yes"; then
32640 cat >>confdefs.h <<\_ACEOF
32641 #define wxUSE_CLIPBOARD 1
32642 _ACEOF
32643
32644
32645 cat >>confdefs.h <<\_ACEOF
32646 #define wxUSE_DATAOBJ 1
32647 _ACEOF
32648
32649 fi
32650 fi
32651
32652 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32653 if test "$wxUSE_GTK" = 1; then
32654 if test "$WXGTK12" != 1; then
32655 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32656 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32657 wxUSE_DRAG_AND_DROP=no
32658 fi
32659 fi
32660
32661 if test "$wxUSE_MOTIF" = 1; then
32662 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32663 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32664 wxUSE_DRAG_AND_DROP=no
32665 fi
32666
32667 if test "$wxUSE_X11" = 1; then
32668 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32669 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32670 wxUSE_DRAG_AND_DROP=no
32671 fi
32672
32673 if test "$wxUSE_MGL" = 1; then
32674 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32675 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32676 wxUSE_DRAG_AND_DROP=no
32677 fi
32678
32679 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32680 cat >>confdefs.h <<\_ACEOF
32681 #define wxUSE_DRAG_AND_DROP 1
32682 _ACEOF
32683
32684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32685 fi
32686
32687 fi
32688
32689 if test "$wxUSE_SPLINES" = "yes" ; then
32690 cat >>confdefs.h <<\_ACEOF
32691 #define wxUSE_SPLINES 1
32692 _ACEOF
32693
32694 fi
32695
32696
32697 USES_CONTROLS=0
32698 if test "$wxUSE_CONTROLS" = "yes"; then
32699 USES_CONTROLS=1
32700 fi
32701
32702 if test "$wxUSE_ACCEL" = "yes"; then
32703 cat >>confdefs.h <<\_ACEOF
32704 #define wxUSE_ACCEL 1
32705 _ACEOF
32706
32707 USES_CONTROLS=1
32708 fi
32709
32710 if test "$wxUSE_BUTTON" = "yes"; then
32711 cat >>confdefs.h <<\_ACEOF
32712 #define wxUSE_BUTTON 1
32713 _ACEOF
32714
32715 USES_CONTROLS=1
32716 fi
32717
32718 if test "$wxUSE_BMPBUTTON" = "yes"; then
32719 cat >>confdefs.h <<\_ACEOF
32720 #define wxUSE_BMPBUTTON 1
32721 _ACEOF
32722
32723 USES_CONTROLS=1
32724 fi
32725
32726 if test "$wxUSE_CALCTRL" = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728 #define wxUSE_CALENDARCTRL 1
32729 _ACEOF
32730
32731 USES_CONTROLS=1
32732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32733 fi
32734
32735 if test "$wxUSE_CARET" = "yes"; then
32736 cat >>confdefs.h <<\_ACEOF
32737 #define wxUSE_CARET 1
32738 _ACEOF
32739
32740 USES_CONTROLS=1
32741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32742 fi
32743
32744 if test "$wxUSE_COMBOBOX" = "yes"; then
32745 cat >>confdefs.h <<\_ACEOF
32746 #define wxUSE_COMBOBOX 1
32747 _ACEOF
32748
32749 USES_CONTROLS=1
32750 fi
32751
32752 if test "$wxUSE_CHOICE" = "yes"; then
32753 cat >>confdefs.h <<\_ACEOF
32754 #define wxUSE_CHOICE 1
32755 _ACEOF
32756
32757 USES_CONTROLS=1
32758 fi
32759
32760 if test "$wxUSE_CHECKBOX" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define wxUSE_CHECKBOX 1
32763 _ACEOF
32764
32765 USES_CONTROLS=1
32766 fi
32767
32768 if test "$wxUSE_CHECKLST" = "yes"; then
32769 cat >>confdefs.h <<\_ACEOF
32770 #define wxUSE_CHECKLISTBOX 1
32771 _ACEOF
32772
32773 USES_CONTROLS=1
32774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32775 fi
32776
32777 if test "$wxUSE_DISPLAY" = "yes"; then
32778 cat >>confdefs.h <<\_ACEOF
32779 #define wxUSE_DISPLAY 1
32780 _ACEOF
32781
32782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32783 fi
32784
32785 if test "$wxUSE_GAUGE" = "yes"; then
32786 cat >>confdefs.h <<\_ACEOF
32787 #define wxUSE_GAUGE 1
32788 _ACEOF
32789
32790 USES_CONTROLS=1
32791 fi
32792
32793 if test "$wxUSE_GRID" = "yes"; then
32794 cat >>confdefs.h <<\_ACEOF
32795 #define wxUSE_GRID 1
32796 _ACEOF
32797
32798 USES_CONTROLS=1
32799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32800 fi
32801
32802 if test "$wxUSE_IMAGLIST" = "yes"; then
32803 cat >>confdefs.h <<\_ACEOF
32804 #define wxUSE_IMAGLIST 1
32805 _ACEOF
32806
32807 fi
32808
32809 if test "$wxUSE_LISTBOOK" = "yes"; then
32810 cat >>confdefs.h <<\_ACEOF
32811 #define wxUSE_LISTBOOK 1
32812 _ACEOF
32813
32814 USES_CONTROLS=1
32815 fi
32816
32817 if test "$wxUSE_LISTBOX" = "yes"; then
32818 cat >>confdefs.h <<\_ACEOF
32819 #define wxUSE_LISTBOX 1
32820 _ACEOF
32821
32822 USES_CONTROLS=1
32823 fi
32824
32825 if test "$wxUSE_LISTCTRL" = "yes"; then
32826 if test "$wxUSE_IMAGLIST" = "yes"; then
32827 cat >>confdefs.h <<\_ACEOF
32828 #define wxUSE_LISTCTRL 1
32829 _ACEOF
32830
32831 USES_CONTROLS=1
32832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32833 else
32834 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32835 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32836 fi
32837 fi
32838
32839 if test "$wxUSE_NOTEBOOK" = "yes"; then
32840 cat >>confdefs.h <<\_ACEOF
32841 #define wxUSE_NOTEBOOK 1
32842 _ACEOF
32843
32844 USES_CONTROLS=1
32845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32846 fi
32847
32848
32849 if test "$wxUSE_RADIOBOX" = "yes"; then
32850 cat >>confdefs.h <<\_ACEOF
32851 #define wxUSE_RADIOBOX 1
32852 _ACEOF
32853
32854 USES_CONTROLS=1
32855 fi
32856
32857 if test "$wxUSE_RADIOBTN" = "yes"; then
32858 cat >>confdefs.h <<\_ACEOF
32859 #define wxUSE_RADIOBTN 1
32860 _ACEOF
32861
32862 USES_CONTROLS=1
32863 fi
32864
32865 if test "$wxUSE_SASH" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define wxUSE_SASH 1
32868 _ACEOF
32869
32870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32871 fi
32872
32873 if test "$wxUSE_SCROLLBAR" = "yes"; then
32874 cat >>confdefs.h <<\_ACEOF
32875 #define wxUSE_SCROLLBAR 1
32876 _ACEOF
32877
32878 USES_CONTROLS=1
32879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32880 fi
32881
32882 if test "$wxUSE_SLIDER" = "yes"; then
32883 cat >>confdefs.h <<\_ACEOF
32884 #define wxUSE_SLIDER 1
32885 _ACEOF
32886
32887 USES_CONTROLS=1
32888 fi
32889
32890 if test "$wxUSE_SPINBTN" = "yes"; then
32891 cat >>confdefs.h <<\_ACEOF
32892 #define wxUSE_SPINBTN 1
32893 _ACEOF
32894
32895 USES_CONTROLS=1
32896 fi
32897
32898 if test "$wxUSE_SPINCTRL" = "yes"; then
32899 cat >>confdefs.h <<\_ACEOF
32900 #define wxUSE_SPINCTRL 1
32901 _ACEOF
32902
32903 USES_CONTROLS=1
32904 fi
32905
32906 if test "$wxUSE_SPLITTER" = "yes"; then
32907 cat >>confdefs.h <<\_ACEOF
32908 #define wxUSE_SPLITTER 1
32909 _ACEOF
32910
32911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32912 fi
32913
32914 if test "$wxUSE_STATBMP" = "yes"; then
32915 cat >>confdefs.h <<\_ACEOF
32916 #define wxUSE_STATBMP 1
32917 _ACEOF
32918
32919 USES_CONTROLS=1
32920 fi
32921
32922 if test "$wxUSE_STATBOX" = "yes"; then
32923 cat >>confdefs.h <<\_ACEOF
32924 #define wxUSE_STATBOX 1
32925 _ACEOF
32926
32927 USES_CONTROLS=1
32928 fi
32929
32930 if test "$wxUSE_STATTEXT" = "yes"; then
32931 cat >>confdefs.h <<\_ACEOF
32932 #define wxUSE_STATTEXT 1
32933 _ACEOF
32934
32935 USES_CONTROLS=1
32936 fi
32937
32938 if test "$wxUSE_STATLINE" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940 #define wxUSE_STATLINE 1
32941 _ACEOF
32942
32943 USES_CONTROLS=1
32944 fi
32945
32946 if test "$wxUSE_STATUSBAR" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948 #define wxUSE_STATUSBAR 1
32949 _ACEOF
32950
32951 USES_CONTROLS=1
32952
32953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32954 fi
32955
32956 if test "$wxUSE_TABDIALOG" = "yes"; then
32957 cat >>confdefs.h <<\_ACEOF
32958 #define wxUSE_TAB_DIALOG 1
32959 _ACEOF
32960
32961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32962 fi
32963
32964 if test "$wxUSE_TEXTCTRL" = "yes"; then
32965 cat >>confdefs.h <<\_ACEOF
32966 #define wxUSE_TEXTCTRL 1
32967 _ACEOF
32968
32969 USES_CONTROLS=1
32970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32971 fi
32972
32973 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32974 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32975 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32976 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32977 wxUSE_TOGGLEBTN=no
32978 fi
32979 if test "$wxUSE_UNIVERSAL" = "yes"; then
32980 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32981 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32982 wxUSE_TOGGLEBTN=no
32983 fi
32984
32985 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32986 cat >>confdefs.h <<\_ACEOF
32987 #define wxUSE_TOGGLEBTN 1
32988 _ACEOF
32989
32990 USES_CONTROLS=1
32991 fi
32992 fi
32993
32994 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32995 cat >>confdefs.h <<\_ACEOF
32996 #define wxUSE_TOOLBAR_SIMPLE 1
32997 _ACEOF
32998
32999 wxUSE_TOOLBAR="yes"
33000 USES_CONTROLS=1
33001 fi
33002
33003 if test "$wxUSE_TOOLBAR" = "yes"; then
33004 cat >>confdefs.h <<\_ACEOF
33005 #define wxUSE_TOOLBAR 1
33006 _ACEOF
33007
33008 USES_CONTROLS=1
33009
33010 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33011 wxUSE_TOOLBAR_NATIVE="yes"
33012 fi
33013
33014 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33015 cat >>confdefs.h <<\_ACEOF
33016 #define wxUSE_TOOLBAR_NATIVE 1
33017 _ACEOF
33018
33019 USES_CONTROLS=1
33020 fi
33021
33022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33023 fi
33024
33025 if test "$wxUSE_TOOLTIPS" = "yes"; then
33026 if test "$wxUSE_MOTIF" = 1; then
33027 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33028 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33029 else
33030 if test "$wxUSE_UNIVERSAL" = "yes"; then
33031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33032 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33033 else
33034 cat >>confdefs.h <<\_ACEOF
33035 #define wxUSE_TOOLTIPS 1
33036 _ACEOF
33037
33038 fi
33039 fi
33040 fi
33041
33042 if test "$wxUSE_TREECTRL" = "yes"; then
33043 if test "$wxUSE_IMAGLIST" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045 #define wxUSE_TREECTRL 1
33046 _ACEOF
33047
33048 USES_CONTROLS=1
33049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33050 else
33051 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33052 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33053 fi
33054 fi
33055
33056 if test "$wxUSE_POPUPWIN" = "yes"; then
33057 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33058 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33059 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33060 else
33061 if test "$wxUSE_MOTIF" = 1; then
33062 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33063 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33064 else
33065 if test "$wxUSE_PM" = 1; then
33066 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33067 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33068 else
33069 cat >>confdefs.h <<\_ACEOF
33070 #define wxUSE_POPUPWIN 1
33071 _ACEOF
33072
33073
33074 USES_CONTROLS=1
33075 fi
33076 fi
33077 fi
33078 fi
33079
33080 if test "$wxUSE_TIPWINDOW" = "yes"; then
33081 if test "$wxUSE_PM" = 1; then
33082 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33083 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33084 else
33085 cat >>confdefs.h <<\_ACEOF
33086 #define wxUSE_TIPWINDOW 1
33087 _ACEOF
33088
33089 fi
33090 fi
33091
33092 if test "$USES_CONTROLS" = 1; then
33093 cat >>confdefs.h <<\_ACEOF
33094 #define wxUSE_CONTROLS 1
33095 _ACEOF
33096
33097 fi
33098
33099
33100 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33101 cat >>confdefs.h <<\_ACEOF
33102 #define wxUSE_ACCESSIBILITY 1
33103 _ACEOF
33104
33105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33106 fi
33107
33108 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33109 cat >>confdefs.h <<\_ACEOF
33110 #define wxUSE_DRAGIMAGE 1
33111 _ACEOF
33112
33113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33114 fi
33115
33116 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33117 cat >>confdefs.h <<\_ACEOF
33118 #define wxUSE_EXCEPTIONS 1
33119 _ACEOF
33120
33121 fi
33122
33123 USE_HTML=0
33124 if test "$wxUSE_HTML" = "yes"; then
33125 cat >>confdefs.h <<\_ACEOF
33126 #define wxUSE_HTML 1
33127 _ACEOF
33128
33129 USE_HTML=1
33130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33131 fi
33132
33133 if test "$wxUSE_MENUS" = "yes"; then
33134 cat >>confdefs.h <<\_ACEOF
33135 #define wxUSE_MENUS 1
33136 _ACEOF
33137
33138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33139 fi
33140
33141 if test "$wxUSE_METAFILE" = "yes"; then
33142 cat >>confdefs.h <<\_ACEOF
33143 #define wxUSE_METAFILE 1
33144 _ACEOF
33145
33146 fi
33147
33148 if test "$wxUSE_MIMETYPE" = "yes"; then
33149 cat >>confdefs.h <<\_ACEOF
33150 #define wxUSE_MIMETYPE 1
33151 _ACEOF
33152
33153 fi
33154
33155 if test "$wxUSE_MINIFRAME" = "yes"; then
33156 cat >>confdefs.h <<\_ACEOF
33157 #define wxUSE_MINIFRAME 1
33158 _ACEOF
33159
33160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33161 fi
33162
33163 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33164 cat >>confdefs.h <<\_ACEOF
33165 #define wxUSE_SYSTEM_OPTIONS 1
33166 _ACEOF
33167
33168 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33169 "$TOOLKIT" = "MOTIF"; then
33170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33171 fi
33172 fi
33173
33174
33175 if test "$wxUSE_VALIDATORS" = "yes"; then
33176 cat >>confdefs.h <<\_ACEOF
33177 #define wxUSE_VALIDATORS 1
33178 _ACEOF
33179
33180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33181 fi
33182
33183 if test "$wxUSE_PALETTE" = "yes" ; then
33184 cat >>confdefs.h <<\_ACEOF
33185 #define wxUSE_PALETTE 1
33186 _ACEOF
33187
33188 fi
33189
33190 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33191 LIBS=" -lunicows $LIBS"
33192 fi
33193
33194
33195 if test "$wxUSE_IMAGE" = "yes" ; then
33196 cat >>confdefs.h <<\_ACEOF
33197 #define wxUSE_IMAGE 1
33198 _ACEOF
33199
33200
33201 if test "$wxUSE_GIF" = "yes" ; then
33202 cat >>confdefs.h <<\_ACEOF
33203 #define wxUSE_GIF 1
33204 _ACEOF
33205
33206 fi
33207
33208 if test "$wxUSE_PCX" = "yes" ; then
33209 cat >>confdefs.h <<\_ACEOF
33210 #define wxUSE_PCX 1
33211 _ACEOF
33212
33213 fi
33214
33215 if test "$wxUSE_IFF" = "yes" ; then
33216 cat >>confdefs.h <<\_ACEOF
33217 #define wxUSE_IFF 1
33218 _ACEOF
33219
33220 fi
33221
33222 if test "$wxUSE_PNM" = "yes" ; then
33223 cat >>confdefs.h <<\_ACEOF
33224 #define wxUSE_PNM 1
33225 _ACEOF
33226
33227 fi
33228
33229 if test "$wxUSE_XPM" = "yes" ; then
33230 cat >>confdefs.h <<\_ACEOF
33231 #define wxUSE_XPM 1
33232 _ACEOF
33233
33234 fi
33235
33236 if test "$wxUSE_ICO_CUR" = "yes" ; then
33237 cat >>confdefs.h <<\_ACEOF
33238 #define wxUSE_ICO_CUR 1
33239 _ACEOF
33240
33241 fi
33242 fi
33243
33244
33245 if test "$wxUSE_CHOICEDLG" = "yes"; then
33246 cat >>confdefs.h <<\_ACEOF
33247 #define wxUSE_CHOICEDLG 1
33248 _ACEOF
33249
33250 fi
33251
33252 if test "$wxUSE_COLOURDLG" = "yes"; then
33253 cat >>confdefs.h <<\_ACEOF
33254 #define wxUSE_COLOURDLG 1
33255 _ACEOF
33256
33257 fi
33258
33259 if test "$wxUSE_FILEDLG" = "yes"; then
33260 cat >>confdefs.h <<\_ACEOF
33261 #define wxUSE_FILEDLG 1
33262 _ACEOF
33263
33264 fi
33265
33266 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33267 cat >>confdefs.h <<\_ACEOF
33268 #define wxUSE_FINDREPLDLG 1
33269 _ACEOF
33270
33271 fi
33272
33273 if test "$wxUSE_FONTDLG" = "yes"; then
33274 cat >>confdefs.h <<\_ACEOF
33275 #define wxUSE_FONTDLG 1
33276 _ACEOF
33277
33278 fi
33279
33280 if test "$wxUSE_DIRDLG" = "yes"; then
33281 if test "$wxUSE_TREECTRL" != "yes"; then
33282 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33283 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33284 else
33285 cat >>confdefs.h <<\_ACEOF
33286 #define wxUSE_DIRDLG 1
33287 _ACEOF
33288
33289 fi
33290 fi
33291
33292 if test "$wxUSE_MSGDLG" = "yes"; then
33293 cat >>confdefs.h <<\_ACEOF
33294 #define wxUSE_MSGDLG 1
33295 _ACEOF
33296
33297 fi
33298
33299 if test "$wxUSE_NUMBERDLG" = "yes"; then
33300 cat >>confdefs.h <<\_ACEOF
33301 #define wxUSE_NUMBERDLG 1
33302 _ACEOF
33303
33304 fi
33305
33306 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33308 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33309 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33310 else
33311 cat >>confdefs.h <<\_ACEOF
33312 #define wxUSE_PROGRESSDLG 1
33313 _ACEOF
33314
33315 fi
33316 fi
33317
33318 if test "$wxUSE_SPLASH" = "yes"; then
33319 cat >>confdefs.h <<\_ACEOF
33320 #define wxUSE_SPLASH 1
33321 _ACEOF
33322
33323 fi
33324
33325 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33326 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33327 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33328 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33329 else
33330 cat >>confdefs.h <<\_ACEOF
33331 #define wxUSE_STARTUP_TIPS 1
33332 _ACEOF
33333
33334 fi
33335 fi
33336
33337 if test "$wxUSE_TEXTDLG" = "yes"; then
33338 cat >>confdefs.h <<\_ACEOF
33339 #define wxUSE_TEXTDLG 1
33340 _ACEOF
33341
33342 fi
33343
33344 if test "$wxUSE_WIZARDDLG" = "yes"; then
33345 cat >>confdefs.h <<\_ACEOF
33346 #define wxUSE_WIZARDDLG 1
33347 _ACEOF
33348
33349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33350 fi
33351
33352
33353 if test "$cross_compiling" = "yes"; then
33354 OSINFO="\"$host\""
33355 else
33356 OSINFO=`uname -s -r -m`
33357 OSINFO="\"$OSINFO\""
33358 fi
33359
33360 cat >>confdefs.h <<_ACEOF
33361 #define WXWIN_OS_DESCRIPTION $OSINFO
33362 _ACEOF
33363
33364
33365
33366 if test "x$prefix" != "xNONE"; then
33367 wxPREFIX=$prefix
33368 else
33369 wxPREFIX=$ac_default_prefix
33370 fi
33371
33372 cat >>confdefs.h <<_ACEOF
33373 #define wxINSTALL_PREFIX "$wxPREFIX"
33374 _ACEOF
33375
33376
33377 top_builddir_wxconfig=`pwd`
33378
33379
33380
33381 CORE_BASE_LIBS="net base"
33382 CORE_GUI_LIBS="adv core"
33383
33384 if test "$wxUSE_XML" = "yes" ; then
33385 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33386 fi
33387 if test "$wxUSE_ODBC" != "no" ; then
33388 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33389 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33390 fi
33391 if test "$wxUSE_HTML" = "yes" ; then
33392 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33393 fi
33394
33395
33396
33397
33398
33399
33400
33401
33402 if test "$wxUSE_MAC" = 1 ; then
33403 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33404 fi
33405 if test "$wxUSE_COCOA" = 1 ; then
33406 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33407 fi
33408
33409
33410 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33411
33412 have_cos=0
33413 have_floor=0
33414
33415 for ac_func in cos
33416 do
33417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33418 echo "$as_me:$LINENO: checking for $ac_func" >&5
33419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33420 if eval "test \"\${$as_ac_var+set}\" = set"; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33422 else
33423 cat >conftest.$ac_ext <<_ACEOF
33424 #line $LINENO "configure"
33425 /* confdefs.h. */
33426 _ACEOF
33427 cat confdefs.h >>conftest.$ac_ext
33428 cat >>conftest.$ac_ext <<_ACEOF
33429 /* end confdefs.h. */
33430 /* System header to define __stub macros and hopefully few prototypes,
33431 which can conflict with char $ac_func (); below.
33432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33433 <limits.h> exists even on freestanding compilers. */
33434 #ifdef __STDC__
33435 # include <limits.h>
33436 #else
33437 # include <assert.h>
33438 #endif
33439 /* Override any gcc2 internal prototype to avoid an error. */
33440 #ifdef __cplusplus
33441 extern "C"
33442 {
33443 #endif
33444 /* We use char because int might match the return type of a gcc2
33445 builtin and then its argument prototype would still apply. */
33446 char $ac_func ();
33447 /* The GNU C library defines this for functions which it implements
33448 to always fail with ENOSYS. Some functions are actually named
33449 something starting with __ and the normal name is an alias. */
33450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33451 choke me
33452 #else
33453 char (*f) () = $ac_func;
33454 #endif
33455 #ifdef __cplusplus
33456 }
33457 #endif
33458
33459 int
33460 main ()
33461 {
33462 return f != $ac_func;
33463 ;
33464 return 0;
33465 }
33466 _ACEOF
33467 rm -f conftest.$ac_objext conftest$ac_exeext
33468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33469 (eval $ac_link) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); } &&
33473 { ac_try='test -s conftest$ac_exeext'
33474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33475 (eval $ac_try) 2>&5
33476 ac_status=$?
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); }; }; then
33479 eval "$as_ac_var=yes"
33480 else
33481 echo "$as_me: failed program was:" >&5
33482 sed 's/^/| /' conftest.$ac_ext >&5
33483
33484 eval "$as_ac_var=no"
33485 fi
33486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33487 fi
33488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33490 if test `eval echo '${'$as_ac_var'}'` = yes; then
33491 cat >>confdefs.h <<_ACEOF
33492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33493 _ACEOF
33494 have_cos=1
33495 fi
33496 done
33497
33498
33499 for ac_func in floor
33500 do
33501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33502 echo "$as_me:$LINENO: checking for $ac_func" >&5
33503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33504 if eval "test \"\${$as_ac_var+set}\" = set"; then
33505 echo $ECHO_N "(cached) $ECHO_C" >&6
33506 else
33507 cat >conftest.$ac_ext <<_ACEOF
33508 #line $LINENO "configure"
33509 /* confdefs.h. */
33510 _ACEOF
33511 cat confdefs.h >>conftest.$ac_ext
33512 cat >>conftest.$ac_ext <<_ACEOF
33513 /* end confdefs.h. */
33514 /* System header to define __stub macros and hopefully few prototypes,
33515 which can conflict with char $ac_func (); below.
33516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33517 <limits.h> exists even on freestanding compilers. */
33518 #ifdef __STDC__
33519 # include <limits.h>
33520 #else
33521 # include <assert.h>
33522 #endif
33523 /* Override any gcc2 internal prototype to avoid an error. */
33524 #ifdef __cplusplus
33525 extern "C"
33526 {
33527 #endif
33528 /* We use char because int might match the return type of a gcc2
33529 builtin and then its argument prototype would still apply. */
33530 char $ac_func ();
33531 /* The GNU C library defines this for functions which it implements
33532 to always fail with ENOSYS. Some functions are actually named
33533 something starting with __ and the normal name is an alias. */
33534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33535 choke me
33536 #else
33537 char (*f) () = $ac_func;
33538 #endif
33539 #ifdef __cplusplus
33540 }
33541 #endif
33542
33543 int
33544 main ()
33545 {
33546 return f != $ac_func;
33547 ;
33548 return 0;
33549 }
33550 _ACEOF
33551 rm -f conftest.$ac_objext conftest$ac_exeext
33552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33553 (eval $ac_link) 2>&5
33554 ac_status=$?
33555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556 (exit $ac_status); } &&
33557 { ac_try='test -s conftest$ac_exeext'
33558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33559 (eval $ac_try) 2>&5
33560 ac_status=$?
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; }; then
33563 eval "$as_ac_var=yes"
33564 else
33565 echo "$as_me: failed program was:" >&5
33566 sed 's/^/| /' conftest.$ac_ext >&5
33567
33568 eval "$as_ac_var=no"
33569 fi
33570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33571 fi
33572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33574 if test `eval echo '${'$as_ac_var'}'` = yes; then
33575 cat >>confdefs.h <<_ACEOF
33576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33577 _ACEOF
33578 have_floor=1
33579 fi
33580 done
33581
33582 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33583 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33584 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33585 echo "$as_me:$LINENO: result: yes" >&5
33586 echo "${ECHO_T}yes" >&6
33587 else
33588 echo "$as_me:$LINENO: result: no" >&5
33589 echo "${ECHO_T}no" >&6
33590 LIBS="$LIBS -lm"
33591 # use different functions to avoid configure caching
33592 have_sin=0
33593 have_ceil=0
33594
33595 for ac_func in sin
33596 do
33597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33598 echo "$as_me:$LINENO: checking for $ac_func" >&5
33599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33600 if eval "test \"\${$as_ac_var+set}\" = set"; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603 cat >conftest.$ac_ext <<_ACEOF
33604 #line $LINENO "configure"
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 /* System header to define __stub macros and hopefully few prototypes,
33611 which can conflict with char $ac_func (); below.
33612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33613 <limits.h> exists even on freestanding compilers. */
33614 #ifdef __STDC__
33615 # include <limits.h>
33616 #else
33617 # include <assert.h>
33618 #endif
33619 /* Override any gcc2 internal prototype to avoid an error. */
33620 #ifdef __cplusplus
33621 extern "C"
33622 {
33623 #endif
33624 /* We use char because int might match the return type of a gcc2
33625 builtin and then its argument prototype would still apply. */
33626 char $ac_func ();
33627 /* The GNU C library defines this for functions which it implements
33628 to always fail with ENOSYS. Some functions are actually named
33629 something starting with __ and the normal name is an alias. */
33630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33631 choke me
33632 #else
33633 char (*f) () = $ac_func;
33634 #endif
33635 #ifdef __cplusplus
33636 }
33637 #endif
33638
33639 int
33640 main ()
33641 {
33642 return f != $ac_func;
33643 ;
33644 return 0;
33645 }
33646 _ACEOF
33647 rm -f conftest.$ac_objext conftest$ac_exeext
33648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33649 (eval $ac_link) 2>&5
33650 ac_status=$?
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } &&
33653 { ac_try='test -s conftest$ac_exeext'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33656 ac_status=$?
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; }; then
33659 eval "$as_ac_var=yes"
33660 else
33661 echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.$ac_ext >&5
33663
33664 eval "$as_ac_var=no"
33665 fi
33666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33667 fi
33668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33670 if test `eval echo '${'$as_ac_var'}'` = yes; then
33671 cat >>confdefs.h <<_ACEOF
33672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33673 _ACEOF
33674 have_sin=1
33675 fi
33676 done
33677
33678
33679 for ac_func in ceil
33680 do
33681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33682 echo "$as_me:$LINENO: checking for $ac_func" >&5
33683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33684 if eval "test \"\${$as_ac_var+set}\" = set"; then
33685 echo $ECHO_N "(cached) $ECHO_C" >&6
33686 else
33687 cat >conftest.$ac_ext <<_ACEOF
33688 #line $LINENO "configure"
33689 /* confdefs.h. */
33690 _ACEOF
33691 cat confdefs.h >>conftest.$ac_ext
33692 cat >>conftest.$ac_ext <<_ACEOF
33693 /* end confdefs.h. */
33694 /* System header to define __stub macros and hopefully few prototypes,
33695 which can conflict with char $ac_func (); below.
33696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33697 <limits.h> exists even on freestanding compilers. */
33698 #ifdef __STDC__
33699 # include <limits.h>
33700 #else
33701 # include <assert.h>
33702 #endif
33703 /* Override any gcc2 internal prototype to avoid an error. */
33704 #ifdef __cplusplus
33705 extern "C"
33706 {
33707 #endif
33708 /* We use char because int might match the return type of a gcc2
33709 builtin and then its argument prototype would still apply. */
33710 char $ac_func ();
33711 /* The GNU C library defines this for functions which it implements
33712 to always fail with ENOSYS. Some functions are actually named
33713 something starting with __ and the normal name is an alias. */
33714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33715 choke me
33716 #else
33717 char (*f) () = $ac_func;
33718 #endif
33719 #ifdef __cplusplus
33720 }
33721 #endif
33722
33723 int
33724 main ()
33725 {
33726 return f != $ac_func;
33727 ;
33728 return 0;
33729 }
33730 _ACEOF
33731 rm -f conftest.$ac_objext conftest$ac_exeext
33732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33733 (eval $ac_link) 2>&5
33734 ac_status=$?
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } &&
33737 { ac_try='test -s conftest$ac_exeext'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33740 ac_status=$?
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; }; then
33743 eval "$as_ac_var=yes"
33744 else
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33747
33748 eval "$as_ac_var=no"
33749 fi
33750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33751 fi
33752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33754 if test `eval echo '${'$as_ac_var'}'` = yes; then
33755 cat >>confdefs.h <<_ACEOF
33756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33757 _ACEOF
33758 have_ceil=1
33759 fi
33760 done
33761
33762 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33763 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33764 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33765 echo "$as_me:$LINENO: result: yes" >&5
33766 echo "${ECHO_T}yes" >&6
33767 else
33768 echo "$as_me:$LINENO: result: no" >&5
33769 echo "${ECHO_T}no" >&6
33770 # not sure we should warn the user, crash, etc.
33771 fi
33772 fi
33773
33774 if test "$wxUSE_GUI" = "yes"; then
33775
33776
33777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33778 drawing dynamic erase event exec font image \
33779 minimal propsize rotate shaped widgets render"
33780
33781 if test "$wxUSE_MONOLITHIC" != "yes"; then
33782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33783 fi
33784 else
33785 SAMPLES_SUBDIRS="console"
33786 fi
33787
33788
33789 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33790 -I\${top_srcdir}/include \
33791 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33792 $TOOLKIT_INCLUDE"
33793
33794 if test "$GXX" = yes ; then
33795 CXXWARNINGS="-Wall"
33796 fi
33797
33798 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33799
33800 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33801 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33802 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33803
33804
33805 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33806 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33807 EXTRALIBS_XML="$EXPAT_LINK"
33808 EXTRALIBS_ODBC="$ODBC_LINK"
33809 if test "$wxUSE_GUI" = "yes"; then
33810 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33811 fi
33812 if test "$wxUSE_OPENGL" = "yes"; then
33813 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33814 fi
33815
33816 LDFLAGS="$LDFLAGS $PROFILE"
33817
33818 if test "$wxUSE_GTK" = 1; then
33819 WXCONFIG_INCLUDE=
33820 else
33821 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33822 fi
33823
33824 WXCONFIG_EXTRALIBS="$LIBS"
33825
33826 if test "$wxUSE_REGEX" = "builtin" ; then
33827 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33828 fi
33829 if test "$wxUSE_EXPAT" = "builtin" ; then
33830 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33831 fi
33832 if test "$wxUSE_ODBC" = "builtin" ; then
33833 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33834 fi
33835 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33836 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33837 fi
33838 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33839 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33840 fi
33841 if test "$wxUSE_LIBPNG" = "builtin" ; then
33842 wxconfig_3rdparty="$wxconfig_3rdparty png"
33843 fi
33844 if test "$wxUSE_ZLIB" = "builtin" ; then
33845 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33846 fi
33847 if test "$wxUSE_ODBC" = "builtin" ; then
33848 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33849 fi
33850
33851 for i in $wxconfig_3rdparty ; do
33852 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33853 done
33854
33855
33856 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33857 WXUNIV=1
33858 else
33859 WXUNIV=0
33860 fi
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870 if test $wxUSE_MONOLITHIC = "yes" ; then
33871 MONOLITHIC=1
33872 else
33873 MONOLITHIC=0
33874 fi
33875
33876 if test $wxUSE_ODBC != "no" ; then
33877 USE_ODBC=1
33878 else
33879 USE_ODBC=0
33880 fi
33881
33882 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33883 OFFICIAL_BUILD=1
33884 else
33885 OFFICIAL_BUILD=0
33886 fi
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33905
33906
33907
33908
33909
33910
33911
33912 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33913
33914 if test -n "$ac_tool_prefix"; then
33915 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33916 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33917 echo "$as_me:$LINENO: checking for $ac_word" >&5
33918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33919 if test "${ac_cv_prog_RANLIB+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33921 else
33922 if test -n "$RANLIB"; then
33923 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33924 else
33925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33926 for as_dir in $PATH
33927 do
33928 IFS=$as_save_IFS
33929 test -z "$as_dir" && as_dir=.
33930 for ac_exec_ext in '' $ac_executable_extensions; do
33931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33932 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33934 break 2
33935 fi
33936 done
33937 done
33938
33939 fi
33940 fi
33941 RANLIB=$ac_cv_prog_RANLIB
33942 if test -n "$RANLIB"; then
33943 echo "$as_me:$LINENO: result: $RANLIB" >&5
33944 echo "${ECHO_T}$RANLIB" >&6
33945 else
33946 echo "$as_me:$LINENO: result: no" >&5
33947 echo "${ECHO_T}no" >&6
33948 fi
33949
33950 fi
33951 if test -z "$ac_cv_prog_RANLIB"; then
33952 ac_ct_RANLIB=$RANLIB
33953 # Extract the first word of "ranlib", so it can be a program name with args.
33954 set dummy ranlib; ac_word=$2
33955 echo "$as_me:$LINENO: checking for $ac_word" >&5
33956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33957 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 else
33960 if test -n "$ac_ct_RANLIB"; then
33961 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33962 else
33963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33964 for as_dir in $PATH
33965 do
33966 IFS=$as_save_IFS
33967 test -z "$as_dir" && as_dir=.
33968 for ac_exec_ext in '' $ac_executable_extensions; do
33969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33970 ac_cv_prog_ac_ct_RANLIB="ranlib"
33971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33972 break 2
33973 fi
33974 done
33975 done
33976
33977 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33978 fi
33979 fi
33980 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33981 if test -n "$ac_ct_RANLIB"; then
33982 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33983 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33984 else
33985 echo "$as_me:$LINENO: result: no" >&5
33986 echo "${ECHO_T}no" >&6
33987 fi
33988
33989 RANLIB=$ac_ct_RANLIB
33990 else
33991 RANLIB="$ac_cv_prog_RANLIB"
33992 fi
33993
33994 # Find a good install program. We prefer a C program (faster),
33995 # so one script is as good as another. But avoid the broken or
33996 # incompatible versions:
33997 # SysV /etc/install, /usr/sbin/install
33998 # SunOS /usr/etc/install
33999 # IRIX /sbin/install
34000 # AIX /bin/install
34001 # AmigaOS /C/install, which installs bootblocks on floppy discs
34002 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34003 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34004 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34005 # ./install, which can be erroneously created by make from ./install.sh.
34006 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34007 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34008 if test -z "$INSTALL"; then
34009 if test "${ac_cv_path_install+set}" = set; then
34010 echo $ECHO_N "(cached) $ECHO_C" >&6
34011 else
34012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34013 for as_dir in $PATH
34014 do
34015 IFS=$as_save_IFS
34016 test -z "$as_dir" && as_dir=.
34017 # Account for people who put trailing slashes in PATH elements.
34018 case $as_dir/ in
34019 ./ | .// | /cC/* | \
34020 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34021 /usr/ucb/* ) ;;
34022 *)
34023 # OSF1 and SCO ODT 3.0 have their own names for install.
34024 # Don't use installbsd from OSF since it installs stuff as root
34025 # by default.
34026 for ac_prog in ginstall scoinst install; do
34027 for ac_exec_ext in '' $ac_executable_extensions; do
34028 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34029 if test $ac_prog = install &&
34030 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34031 # AIX install. It has an incompatible calling convention.
34032 :
34033 elif test $ac_prog = install &&
34034 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34035 # program-specific install script used by HP pwplus--don't use.
34036 :
34037 else
34038 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34039 break 3
34040 fi
34041 fi
34042 done
34043 done
34044 ;;
34045 esac
34046 done
34047
34048
34049 fi
34050 if test "${ac_cv_path_install+set}" = set; then
34051 INSTALL=$ac_cv_path_install
34052 else
34053 # As a last resort, use the slow shell script. We don't cache a
34054 # path for INSTALL within a source directory, because that will
34055 # break other packages using the cache if that directory is
34056 # removed, or if the path is relative.
34057 INSTALL=$ac_install_sh
34058 fi
34059 fi
34060 echo "$as_me:$LINENO: result: $INSTALL" >&5
34061 echo "${ECHO_T}$INSTALL" >&6
34062
34063 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34064 # It thinks the first close brace ends the variable substitution.
34065 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34066
34067 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34068
34069 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34070
34071 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34072 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34073 LN_S=$as_ln_s
34074 if test "$LN_S" = "ln -s"; then
34075 echo "$as_me:$LINENO: result: yes" >&5
34076 echo "${ECHO_T}yes" >&6
34077 else
34078 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34079 echo "${ECHO_T}no, using $LN_S" >&6
34080 fi
34081
34082
34083 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34084 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34085 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34086 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34088 else
34089 cat >conftest.make <<\_ACEOF
34090 all:
34091 @echo 'ac_maketemp="$(MAKE)"'
34092 _ACEOF
34093 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34094 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34095 if test -n "$ac_maketemp"; then
34096 eval ac_cv_prog_make_${ac_make}_set=yes
34097 else
34098 eval ac_cv_prog_make_${ac_make}_set=no
34099 fi
34100 rm -f conftest.make
34101 fi
34102 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34103 echo "$as_me:$LINENO: result: yes" >&5
34104 echo "${ECHO_T}yes" >&6
34105 SET_MAKE=
34106 else
34107 echo "$as_me:$LINENO: result: no" >&5
34108 echo "${ECHO_T}no" >&6
34109 SET_MAKE="MAKE=${MAKE-make}"
34110 fi
34111
34112
34113
34114 if test -n "$ac_tool_prefix"; then
34115 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34116 set dummy ${ac_tool_prefix}ar; ac_word=$2
34117 echo "$as_me:$LINENO: checking for $ac_word" >&5
34118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34119 if test "${ac_cv_prog_AR+set}" = set; then
34120 echo $ECHO_N "(cached) $ECHO_C" >&6
34121 else
34122 if test -n "$AR"; then
34123 ac_cv_prog_AR="$AR" # Let the user override the test.
34124 else
34125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34126 for as_dir in $PATH
34127 do
34128 IFS=$as_save_IFS
34129 test -z "$as_dir" && as_dir=.
34130 for ac_exec_ext in '' $ac_executable_extensions; do
34131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34132 ac_cv_prog_AR="${ac_tool_prefix}ar"
34133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34134 break 2
34135 fi
34136 done
34137 done
34138
34139 fi
34140 fi
34141 AR=$ac_cv_prog_AR
34142 if test -n "$AR"; then
34143 echo "$as_me:$LINENO: result: $AR" >&5
34144 echo "${ECHO_T}$AR" >&6
34145 else
34146 echo "$as_me:$LINENO: result: no" >&5
34147 echo "${ECHO_T}no" >&6
34148 fi
34149
34150 fi
34151 if test -z "$ac_cv_prog_AR"; then
34152 ac_ct_AR=$AR
34153 # Extract the first word of "ar", so it can be a program name with args.
34154 set dummy ar; ac_word=$2
34155 echo "$as_me:$LINENO: checking for $ac_word" >&5
34156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34157 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 else
34160 if test -n "$ac_ct_AR"; then
34161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34162 else
34163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34164 for as_dir in $PATH
34165 do
34166 IFS=$as_save_IFS
34167 test -z "$as_dir" && as_dir=.
34168 for ac_exec_ext in '' $ac_executable_extensions; do
34169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34170 ac_cv_prog_ac_ct_AR="ar"
34171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34172 break 2
34173 fi
34174 done
34175 done
34176
34177 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34178 fi
34179 fi
34180 ac_ct_AR=$ac_cv_prog_ac_ct_AR
34181 if test -n "$ac_ct_AR"; then
34182 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34183 echo "${ECHO_T}$ac_ct_AR" >&6
34184 else
34185 echo "$as_me:$LINENO: result: no" >&5
34186 echo "${ECHO_T}no" >&6
34187 fi
34188
34189 AR=$ac_ct_AR
34190 else
34191 AR="$ac_cv_prog_AR"
34192 fi
34193
34194 if test -n "$ac_tool_prefix"; then
34195 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34196 set dummy ${ac_tool_prefix}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="${ac_tool_prefix}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 fi
34220 fi
34221 STRIP=$ac_cv_prog_STRIP
34222 if test -n "$STRIP"; then
34223 echo "$as_me:$LINENO: result: $STRIP" >&5
34224 echo "${ECHO_T}$STRIP" >&6
34225 else
34226 echo "$as_me:$LINENO: result: no" >&5
34227 echo "${ECHO_T}no" >&6
34228 fi
34229
34230 fi
34231 if test -z "$ac_cv_prog_STRIP"; then
34232 ac_ct_STRIP=$STRIP
34233 # Extract the first word of "strip", so it can be a program name with args.
34234 set dummy strip; ac_word=$2
34235 echo "$as_me:$LINENO: checking for $ac_word" >&5
34236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34237 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34239 else
34240 if test -n "$ac_ct_STRIP"; then
34241 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34242 else
34243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34244 for as_dir in $PATH
34245 do
34246 IFS=$as_save_IFS
34247 test -z "$as_dir" && as_dir=.
34248 for ac_exec_ext in '' $ac_executable_extensions; do
34249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34250 ac_cv_prog_ac_ct_STRIP="strip"
34251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34252 break 2
34253 fi
34254 done
34255 done
34256
34257 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34258 fi
34259 fi
34260 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34261 if test -n "$ac_ct_STRIP"; then
34262 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34263 echo "${ECHO_T}$ac_ct_STRIP" >&6
34264 else
34265 echo "$as_me:$LINENO: result: no" >&5
34266 echo "${ECHO_T}no" >&6
34267 fi
34268
34269 STRIP=$ac_ct_STRIP
34270 else
34271 STRIP="$ac_cv_prog_STRIP"
34272 fi
34273
34274 if test -n "$ac_tool_prefix"; then
34275 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34276 set dummy ${ac_tool_prefix}nm; ac_word=$2
34277 echo "$as_me:$LINENO: checking for $ac_word" >&5
34278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34279 if test "${ac_cv_prog_NM+set}" = set; then
34280 echo $ECHO_N "(cached) $ECHO_C" >&6
34281 else
34282 if test -n "$NM"; then
34283 ac_cv_prog_NM="$NM" # Let the user override the test.
34284 else
34285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34286 for as_dir in $PATH
34287 do
34288 IFS=$as_save_IFS
34289 test -z "$as_dir" && as_dir=.
34290 for ac_exec_ext in '' $ac_executable_extensions; do
34291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34292 ac_cv_prog_NM="${ac_tool_prefix}nm"
34293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34294 break 2
34295 fi
34296 done
34297 done
34298
34299 fi
34300 fi
34301 NM=$ac_cv_prog_NM
34302 if test -n "$NM"; then
34303 echo "$as_me:$LINENO: result: $NM" >&5
34304 echo "${ECHO_T}$NM" >&6
34305 else
34306 echo "$as_me:$LINENO: result: no" >&5
34307 echo "${ECHO_T}no" >&6
34308 fi
34309
34310 fi
34311 if test -z "$ac_cv_prog_NM"; then
34312 ac_ct_NM=$NM
34313 # Extract the first word of "nm", so it can be a program name with args.
34314 set dummy nm; ac_word=$2
34315 echo "$as_me:$LINENO: checking for $ac_word" >&5
34316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34317 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34318 echo $ECHO_N "(cached) $ECHO_C" >&6
34319 else
34320 if test -n "$ac_ct_NM"; then
34321 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34322 else
34323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34324 for as_dir in $PATH
34325 do
34326 IFS=$as_save_IFS
34327 test -z "$as_dir" && as_dir=.
34328 for ac_exec_ext in '' $ac_executable_extensions; do
34329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34330 ac_cv_prog_ac_ct_NM="nm"
34331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34332 break 2
34333 fi
34334 done
34335 done
34336
34337 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34338 fi
34339 fi
34340 ac_ct_NM=$ac_cv_prog_ac_ct_NM
34341 if test -n "$ac_ct_NM"; then
34342 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34343 echo "${ECHO_T}$ac_ct_NM" >&6
34344 else
34345 echo "$as_me:$LINENO: result: no" >&5
34346 echo "${ECHO_T}no" >&6
34347 fi
34348
34349 NM=$ac_ct_NM
34350 else
34351 NM="$ac_cv_prog_NM"
34352 fi
34353
34354
34355 case ${host} in
34356 *-hp-hpux* )
34357 INSTALL_DIR="mkdir"
34358 ;;
34359 *) INSTALL_DIR="$INSTALL -d"
34360 ;;
34361 esac
34362
34363
34364 LDFLAGS_GUI=
34365 case ${host} in
34366 *-*-cygwin* | *-*-mingw32* )
34367 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34368 esac
34369
34370
34371 fi
34372
34373 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34374 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34375 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34376 echo $ECHO_N "(cached) $ECHO_C" >&6
34377 else
34378
34379 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34380 egrep -s GNU > /dev/null); then
34381 bakefile_cv_prog_makeisgnu="yes"
34382 else
34383 bakefile_cv_prog_makeisgnu="no"
34384 fi
34385
34386 fi
34387 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34388 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34389
34390 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34391 IF_GNU_MAKE=""
34392 else
34393 IF_GNU_MAKE="#"
34394 fi
34395
34396
34397
34398 PLATFORM_UNIX=0
34399 PLATFORM_WIN32=0
34400 PLATFORM_MSDOS=0
34401 PLATFORM_MAC=0
34402 PLATFORM_MACOSX=0
34403 PLATFORM_OS2=0
34404
34405 case "${host}" in
34406 *-*-cygwin* | *-*-mingw32* )
34407 PLATFORM_WIN32=1
34408 ;;
34409 *-pc-msdosdjgpp )
34410 PLATFORM_MSDOS=1
34411 ;;
34412 *-pc-os2_emx | *-pc-os2-emx )
34413 PLATFORM_OS2=1
34414 ;;
34415 powerpc-*-darwin* )
34416 PLATFORM_MAC=1
34417 PLATFORM_MACOSX=1
34418 ;;
34419 * )
34420 PLATFORM_UNIX=1
34421 ;;
34422 esac
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432 SO_SUFFIX="so"
34433 SO_SUFFIX_MODULE="so"
34434 EXEEXT=""
34435 LIBPREFIX=lib
34436 DLLPREFIX=lib
34437 DLLPREFIX_MODULE=
34438
34439 case "${host}" in
34440 *-hp-hpux* )
34441 SO_SUFFIX="sl"
34442 SO_SUFFIX_MODULE="sl"
34443 ;;
34444 *-*-aix* )
34445 SO_SUFFIX="a"
34446 SO_SUFFIX_MODULE="a"
34447 ;;
34448 *-*-cygwin* | *-*-mingw32* )
34449 SO_SUFFIX="dll"
34450 SO_SUFFIX_MODULE="dll"
34451 EXEEXT=".exe"
34452 DLLPREFIX=""
34453 ;;
34454 *-pc-msdosdjgpp )
34455 EXEEXT=".exe"
34456 DLLPREFIX=""
34457 ;;
34458 *-pc-os2_emx | *-pc-os2-emx )
34459 EXEEXT=".exe"
34460 DLLPREFIX=""
34461 LIBPREFIX=""
34462 ;;
34463 powerpc-*-darwin* )
34464 SO_SUFFIX="dylib"
34465 SO_SUFFIX_MODULE="bundle"
34466 ;;
34467 esac
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477 SHARED_LD_CC="\$(CC) -shared -o"
34478 SHARED_LD_CXX="\$(CXX) -shared -o"
34479
34480 if test "x$GCC" = "xyes"; then
34481 PIC_FLAG="-fPIC"
34482 fi
34483
34484 case "${host}" in
34485 *-hp-hpux* )
34486 if test "x$GCC" = "xyes"; then
34487 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34488 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34489 else
34490 LDFLAGS="$LDFLAGS -L/usr/lib"
34491
34492 SHARED_LD_CC="${CC} -b -o"
34493 SHARED_LD_CXX="${CXX} -b -o"
34494 PIC_FLAG="+Z"
34495 fi
34496 ;;
34497
34498 *-*-linux* )
34499 if test "x$GCC" != "xyes"; then
34500 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34501 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34502 if test "${bakefile_cv_prog_icc+set}" = set; then
34503 echo $ECHO_N "(cached) $ECHO_C" >&6
34504 else
34505
34506 cat >conftest.$ac_ext <<_ACEOF
34507 #line $LINENO "configure"
34508 /* confdefs.h. */
34509 _ACEOF
34510 cat confdefs.h >>conftest.$ac_ext
34511 cat >>conftest.$ac_ext <<_ACEOF
34512 /* end confdefs.h. */
34513
34514 int
34515 main ()
34516 {
34517
34518 #ifndef __INTEL_COMPILER
34519 #error Not icc
34520 #endif
34521
34522 ;
34523 return 0;
34524 }
34525 _ACEOF
34526 rm -f conftest.$ac_objext
34527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34528 (eval $ac_compile) 2>&5
34529 ac_status=$?
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } &&
34532 { ac_try='test -s conftest.$ac_objext'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; }; then
34538 bakefile_cv_prog_icc=yes
34539 else
34540 echo "$as_me: failed program was:" >&5
34541 sed 's/^/| /' conftest.$ac_ext >&5
34542
34543 bakefile_cv_prog_icc=no
34544
34545 fi
34546 rm -f conftest.$ac_objext conftest.$ac_ext
34547
34548 fi
34549 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34550 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34551 if test "$bakefile_cv_prog_icc" = "yes"; then
34552 PIC_FLAG="-KPIC"
34553 fi
34554 fi
34555 ;;
34556
34557 *-*-solaris2* )
34558 if test "x$GCC" != xyes ; then
34559 SHARED_LD_CC="${CC} -G -o"
34560 SHARED_LD_CXX="${CXX} -G -o"
34561 PIC_FLAG="-KPIC"
34562 fi
34563 ;;
34564
34565 *-*-darwin* )
34566 CFLAGS="$CFLAGS -fno-common"
34567 CXXFLAGS="$CXXFLAGS -fno-common"
34568
34569
34570 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34571 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34572 if test "${wx_cv_gcc31+set}" = set; then
34573 echo $ECHO_N "(cached) $ECHO_C" >&6
34574 else
34575
34576 cat >conftest.$ac_ext <<_ACEOF
34577 #line $LINENO "configure"
34578 /* confdefs.h. */
34579 _ACEOF
34580 cat confdefs.h >>conftest.$ac_ext
34581 cat >>conftest.$ac_ext <<_ACEOF
34582 /* end confdefs.h. */
34583
34584 int
34585 main ()
34586 {
34587
34588 #if (__GNUC__ < 3) || \
34589 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34590 #error old gcc
34591 #endif
34592
34593 ;
34594 return 0;
34595 }
34596 _ACEOF
34597 rm -f conftest.$ac_objext
34598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34599 (eval $ac_compile) 2>&5
34600 ac_status=$?
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } &&
34603 { ac_try='test -s conftest.$ac_objext'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34606 ac_status=$?
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; }; then
34609
34610 wx_cv_gcc31=yes
34611
34612 else
34613 echo "$as_me: failed program was:" >&5
34614 sed 's/^/| /' conftest.$ac_ext >&5
34615
34616
34617 wx_cv_gcc31=no
34618
34619
34620 fi
34621 rm -f conftest.$ac_objext conftest.$ac_ext
34622
34623 fi
34624 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34625 echo "${ECHO_T}$wx_cv_gcc31" >&6
34626 if test "$wx_cv_gcc31" = "no"; then
34627 cat <<EOF >shared-ld-sh
34628 #!/bin/sh
34629 #-----------------------------------------------------------------------------
34630 #-- Name: distrib/mac/shared-ld-sh
34631 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34632 #-- Author: Gilles Depeyrot
34633 #-- Copyright: (c) 2002 Gilles Depeyrot
34634 #-- Licence: any use permitted
34635 #-----------------------------------------------------------------------------
34636
34637 verbose=0
34638 args=""
34639 objects=""
34640 linking_flag="-dynamiclib"
34641
34642 while test \${#} -gt 0; do
34643 case \${1} in
34644
34645 -v)
34646 verbose=1
34647 ;;
34648
34649 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34650 # collect these options and values
34651 args="\${args} \${1} \${2}"
34652 shift
34653 ;;
34654
34655 -l*|-L*|-flat_namespace)
34656 # collect these options
34657 args="\${args} \${1}"
34658 ;;
34659
34660 -dynamiclib|-bundle)
34661 linking_flag="\${1}"
34662 ;;
34663
34664 -*)
34665 echo "shared-ld: unhandled option '\${1}'"
34666 exit 1
34667 ;;
34668
34669 *.o | *.a | *.dylib)
34670 # collect object files
34671 objects="\${objects} \${1}"
34672 ;;
34673
34674 *)
34675 echo "shared-ld: unhandled argument '\${1}'"
34676 exit 1
34677 ;;
34678
34679 esac
34680 shift
34681 done
34682
34683 #
34684 # Link one module containing all the others
34685 #
34686 if test \${verbose} = 1; then
34687 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34688 fi
34689 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34690 status=\$?
34691 if test \${status} != 0; then
34692 exit \${status}
34693 fi
34694
34695 #
34696 # Link the shared library from the single module created
34697 #
34698 if test \${verbose} = 1; then
34699 echo "cc \${linking_flag} master.\$\$.o \${args}"
34700 fi
34701 c++ \${linking_flag} master.\$\$.o \${args}
34702 status=\$?
34703 if test \${status} != 0; then
34704 exit \${status}
34705 fi
34706
34707 #
34708 # Remove intermediate module
34709 #
34710 rm -f master.\$\$.o
34711
34712 exit 0
34713 EOF
34714 chmod +x shared-ld-sh
34715
34716 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o"
34717 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o"
34718 SHARED_LD_CXX="$SHARED_LD_CC"
34719 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34720 else
34721 SHARED_LD_CC="\${CC} -dynamiclib -single_module -o"
34722 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o"
34723 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o"
34724 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o"
34725 fi
34726
34727 PIC_FLAG="-dynamic -fPIC"
34728 ;;
34729
34730 *-*-aix* )
34731 if test "x$GCC" != "xyes"; then
34732 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34733 set dummy makeC++SharedLib; ac_word=$2
34734 echo "$as_me:$LINENO: checking for $ac_word" >&5
34735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34736 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739 if test -n "$AIX_CXX_LD"; then
34740 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34741 else
34742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34743 for as_dir in $PATH
34744 do
34745 IFS=$as_save_IFS
34746 test -z "$as_dir" && as_dir=.
34747 for ac_exec_ext in '' $ac_executable_extensions; do
34748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34749 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34751 break 2
34752 fi
34753 done
34754 done
34755
34756 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34757 fi
34758 fi
34759 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34760 if test -n "$AIX_CXX_LD"; then
34761 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34762 echo "${ECHO_T}$AIX_CXX_LD" >&6
34763 else
34764 echo "$as_me:$LINENO: result: no" >&5
34765 echo "${ECHO_T}no" >&6
34766 fi
34767
34768 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34769 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34770 fi
34771 ;;
34772
34773 *-*-beos* )
34774 SHARED_LD_CC="${LD} -shared -o"
34775 SHARED_LD_CXX="${LD} -shared -o"
34776 ;;
34777
34778 *-*-irix* )
34779 if test "x$GCC" != "xyes"; then
34780 PIC_FLAG="-KPIC"
34781 fi
34782 ;;
34783
34784 *-*-cygwin* | *-*-mingw32* )
34785 PIC_FLAG=""
34786 ;;
34787
34788 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34789 *-*-sunos4* | \
34790 *-*-osf* | \
34791 *-*-dgux5* | \
34792 *-pc-os2_emx | *-pc-os2-emx | \
34793 *-*-sysv5* )
34794 ;;
34795
34796 *)
34797 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34798 echo "$as_me: error: unknown system type $host." >&2;}
34799 { (exit 1); exit 1; }; }
34800 esac
34801
34802 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34803 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34804 fi
34805 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34806 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34807 fi
34808
34809
34810
34811
34812
34813
34814
34815
34816 USE_SOVERSION=0
34817 USE_SOVERLINUX=0
34818 USE_SOVERSOLARIS=0
34819 USE_SOSYMLINKS=0
34820 USE_MACVERSION=0
34821 SONAME_FLAG=
34822
34823 case "${host}" in
34824 *-*-linux* )
34825 SONAME_FLAG="-Wl,-soname,"
34826 USE_SOVERSION=1
34827 USE_SOVERLINUX=1
34828 USE_SOSYMLINKS=1
34829 ;;
34830
34831 *-*-solaris2* )
34832 SONAME_FLAG="-h "
34833 USE_SOVERSION=1
34834 USE_SOVERSOLARIS=1
34835 USE_SOSYMLINKS=1
34836 ;;
34837
34838 *-*-darwin* )
34839 USE_MACVERSION=1
34840 USE_SOVERSION=1
34841 USE_SOSYMLINKS=1
34842 ;;
34843 esac
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34854 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34855 DEPS_TRACKING=0
34856
34857 if test "x$GCC" = "xyes"; then
34858 DEPSMODE=gcc
34859 DEPS_TRACKING=1
34860 case "${host}" in
34861 powerpc-*-darwin* )
34862 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34863 ;;
34864 * )
34865 DEPSFLAG_GCC="-MMD"
34866 ;;
34867 esac
34868 echo "$as_me:$LINENO: result: gcc" >&5
34869 echo "${ECHO_T}gcc" >&6
34870 else
34871 echo "$as_me:$LINENO: result: none" >&5
34872 echo "${ECHO_T}none" >&6
34873 fi
34874
34875 if test $DEPS_TRACKING = 1 ; then
34876 cat <<EOF >bk-deps
34877 #!/bin/sh
34878
34879 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34880 # script. It is used to track C/C++ files dependencies in portable way.
34881 #
34882 # Permission is given to use this file in any way.
34883
34884 DEPSMODE=$DEPSMODE
34885 DEPSDIR=.deps
34886 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34887
34888 mkdir -p \$DEPSDIR
34889
34890 if test \$DEPSMODE = gcc ; then
34891 \${*} \${DEPSFLAG_GCC}
34892 status=\${?}
34893 if test \${status} != 0 ; then
34894 exit \${status}
34895 fi
34896 # move created file to the location we want it in:
34897 while test \${#} -gt 0; do
34898 case "\${1}" in
34899 -o )
34900 shift
34901 objfile=\${1}
34902 ;;
34903 -* )
34904 ;;
34905 * )
34906 srcfile=\${1}
34907 ;;
34908 esac
34909 shift
34910 done
34911 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34912 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34913 if test -f \$depfile ; then
34914 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34915 rm -f \$depfile
34916 else
34917 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34918 if test -f \$depfile ; then
34919 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34920 rm -f \$depfile
34921 fi
34922 fi
34923 exit 0
34924 else
34925 \${*}
34926 exit \${?}
34927 fi
34928 EOF
34929 chmod +x bk-deps
34930 fi
34931
34932
34933
34934
34935 RESCOMP=
34936 SETFILE=
34937
34938 case ${host} in
34939 *-*-cygwin* | *-*-mingw32* )
34940 if test "$build" != "$host" ; then
34941 RESCOMP=$host_alias-windres
34942 else
34943 # Extract the first word of "windres", so it can be a program name with args.
34944 set dummy windres; ac_word=$2
34945 echo "$as_me:$LINENO: checking for $ac_word" >&5
34946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34947 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34948 echo $ECHO_N "(cached) $ECHO_C" >&6
34949 else
34950 if test -n "$RESCOMP"; then
34951 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34952 else
34953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34954 for as_dir in $PATH
34955 do
34956 IFS=$as_save_IFS
34957 test -z "$as_dir" && as_dir=.
34958 for ac_exec_ext in '' $ac_executable_extensions; do
34959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34960 ac_cv_prog_RESCOMP="windres"
34961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34962 break 2
34963 fi
34964 done
34965 done
34966
34967 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34968 fi
34969 fi
34970 RESCOMP=$ac_cv_prog_RESCOMP
34971 if test -n "$RESCOMP"; then
34972 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34973 echo "${ECHO_T}$RESCOMP" >&6
34974 else
34975 echo "$as_me:$LINENO: result: no" >&5
34976 echo "${ECHO_T}no" >&6
34977 fi
34978
34979 fi
34980 ;;
34981
34982 *-*-darwin* )
34983 # Extract the first word of "Rez", so it can be a program name with args.
34984 set dummy Rez; ac_word=$2
34985 echo "$as_me:$LINENO: checking for $ac_word" >&5
34986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34987 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34988 echo $ECHO_N "(cached) $ECHO_C" >&6
34989 else
34990 if test -n "$RESCOMP"; then
34991 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34992 else
34993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34994 for as_dir in $PATH
34995 do
34996 IFS=$as_save_IFS
34997 test -z "$as_dir" && as_dir=.
34998 for ac_exec_ext in '' $ac_executable_extensions; do
34999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35000 ac_cv_prog_RESCOMP="Rez"
35001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35002 break 2
35003 fi
35004 done
35005 done
35006
35007 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35008 fi
35009 fi
35010 RESCOMP=$ac_cv_prog_RESCOMP
35011 if test -n "$RESCOMP"; then
35012 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35013 echo "${ECHO_T}$RESCOMP" >&6
35014 else
35015 echo "$as_me:$LINENO: result: no" >&5
35016 echo "${ECHO_T}no" >&6
35017 fi
35018
35019 # Extract the first word of "SetFile", so it can be a program name with args.
35020 set dummy SetFile; ac_word=$2
35021 echo "$as_me:$LINENO: checking for $ac_word" >&5
35022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35023 if test "${ac_cv_prog_SETFILE+set}" = set; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35025 else
35026 if test -n "$SETFILE"; then
35027 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35028 else
35029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35030 for as_dir in $PATH
35031 do
35032 IFS=$as_save_IFS
35033 test -z "$as_dir" && as_dir=.
35034 for ac_exec_ext in '' $ac_executable_extensions; do
35035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35036 ac_cv_prog_SETFILE="SetFile"
35037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35038 break 2
35039 fi
35040 done
35041 done
35042
35043 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35044 fi
35045 fi
35046 SETFILE=$ac_cv_prog_SETFILE
35047 if test -n "$SETFILE"; then
35048 echo "$as_me:$LINENO: result: $SETFILE" >&5
35049 echo "${ECHO_T}$SETFILE" >&6
35050 else
35051 echo "$as_me:$LINENO: result: no" >&5
35052 echo "${ECHO_T}no" >&6
35053 fi
35054
35055 ;;
35056 esac
35057
35058
35059
35060
35061
35062
35063
35064
35065 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35066 if test "${enable_precomp_headers+set}" = set; then
35067 enableval="$enable_precomp_headers"
35068 bk_use_pch="$enableval"
35069 fi;
35070
35071 GCC_PCH=0
35072
35073 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35074 if test "x$GCC" = "xyes"; then
35075 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35076 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35077 cat >conftest.$ac_ext <<_ACEOF
35078 #line $LINENO "configure"
35079 /* confdefs.h. */
35080 _ACEOF
35081 cat confdefs.h >>conftest.$ac_ext
35082 cat >>conftest.$ac_ext <<_ACEOF
35083 /* end confdefs.h. */
35084
35085 int
35086 main ()
35087 {
35088
35089 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35090 #error "no pch support"
35091 #endif
35092 #if (__GNUC__ < 3)
35093 #error "no pch support"
35094 #endif
35095 #if (__GNUC__ == 3) && \
35096 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35097 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35098 #error "no pch support"
35099 #endif
35100
35101 ;
35102 return 0;
35103 }
35104 _ACEOF
35105 rm -f conftest.$ac_objext
35106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35107 (eval $ac_compile) 2>&5
35108 ac_status=$?
35109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35110 (exit $ac_status); } &&
35111 { ac_try='test -s conftest.$ac_objext'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; }; then
35117
35118 echo "$as_me:$LINENO: result: yes" >&5
35119 echo "${ECHO_T}yes" >&6
35120 CPPFLAGS="-fpch-deps $CPPFLAGS"
35121 GCC_PCH=1
35122
35123 else
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.$ac_ext >&5
35126
35127
35128 echo "$as_me:$LINENO: result: no" >&5
35129 echo "${ECHO_T}no" >&6
35130
35131 fi
35132 rm -f conftest.$ac_objext conftest.$ac_ext
35133 if test $GCC_PCH = 1 ; then
35134 cat <<EOF >bk-make-pch
35135 #!/bin/sh
35136
35137 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35138 # script. It is used to generated precompiled headers.
35139 #
35140 # Permission is given to use this file in any way.
35141
35142 outfile="\${1}"
35143 header="\${2}"
35144 shift
35145 shift
35146
35147 compiler=
35148 headerfile=
35149 while test \${#} -gt 0; do
35150 case "\${1}" in
35151 -I* )
35152 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35153 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35154 headerfile="\${incdir}/\${header}"
35155 fi
35156 ;;
35157 esac
35158 compiler="\${compiler} \${1}"
35159 shift
35160 done
35161
35162 if test "x\${headerfile}" = "x" ; then
35163 echo "error: can't find header \${header} in include paths" >2
35164 else
35165 if test -f \${outfile} ; then
35166 rm -f \${outfile}
35167 else
35168 mkdir -p \`dirname \${outfile}\`
35169 fi
35170 depsfile=".deps/\`basename \${outfile}\`.d"
35171 mkdir -p .deps
35172 # can do this because gcc is >= 3.4:
35173 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35174 exit \${?}
35175 fi
35176 EOF
35177 chmod +x bk-make-pch
35178 fi
35179 fi
35180 fi
35181
35182
35183
35184
35185
35186 COND_BUILD_DEBUG="#"
35187 if test "x$BUILD" = "xdebug" ; then
35188 COND_BUILD_DEBUG=""
35189 fi
35190
35191 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35192 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35193 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35194 fi
35195
35196 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35197 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35198 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35199 fi
35200
35201 COND_BUILD_RELEASE="#"
35202 if test "x$BUILD" = "xrelease" ; then
35203 COND_BUILD_RELEASE=""
35204 fi
35205
35206 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35207 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35208 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35209 fi
35210
35211 COND_DEBUG_FLAG_1="#"
35212 if test "x$DEBUG_FLAG" = "x1" ; then
35213 COND_DEBUG_FLAG_1=""
35214 fi
35215
35216 COND_DEBUG_INFO_0="#"
35217 if test "x$DEBUG_INFO" = "x0" ; then
35218 COND_DEBUG_INFO_0=""
35219 fi
35220
35221 COND_DEBUG_INFO_1="#"
35222 if test "x$DEBUG_INFO" = "x1" ; then
35223 COND_DEBUG_INFO_1=""
35224 fi
35225
35226 COND_DEPS_TRACKING_0="#"
35227 if test "x$DEPS_TRACKING" = "x0" ; then
35228 COND_DEPS_TRACKING_0=""
35229 fi
35230
35231 COND_DEPS_TRACKING_1="#"
35232 if test "x$DEPS_TRACKING" = "x1" ; then
35233 COND_DEPS_TRACKING_1=""
35234 fi
35235
35236 COND_GCC_PCH_1="#"
35237 if test "x$GCC_PCH" = "x1" ; then
35238 COND_GCC_PCH_1=""
35239 fi
35240
35241 COND_MONOLITHIC_0="#"
35242 if test "x$MONOLITHIC" = "x0" ; then
35243 COND_MONOLITHIC_0=""
35244 fi
35245
35246 COND_MONOLITHIC_0_SHARED_0="#"
35247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35248 COND_MONOLITHIC_0_SHARED_0=""
35249 fi
35250
35251 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35253 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35254 fi
35255
35256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35258 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35259 fi
35260
35261 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35263 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35264 fi
35265
35266 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35268 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35269 fi
35270
35271 COND_MONOLITHIC_0_SHARED_1="#"
35272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35273 COND_MONOLITHIC_0_SHARED_1=""
35274 fi
35275
35276 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35279 fi
35280
35281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35284 fi
35285
35286 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35288 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35289 fi
35290
35291 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35293 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35294 fi
35295
35296 COND_MONOLITHIC_1="#"
35297 if test "x$MONOLITHIC" = "x1" ; then
35298 COND_MONOLITHIC_1=""
35299 fi
35300
35301 COND_MONOLITHIC_1_SHARED_0="#"
35302 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35303 COND_MONOLITHIC_1_SHARED_0=""
35304 fi
35305
35306 COND_MONOLITHIC_1_SHARED_1="#"
35307 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35308 COND_MONOLITHIC_1_SHARED_1=""
35309 fi
35310
35311 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35312 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35313 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35314 fi
35315
35316 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35317 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35318 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35319 fi
35320
35321 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35322 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35323 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35324 fi
35325
35326 COND_PLATFORM_MACOSX_1="#"
35327 if test "x$PLATFORM_MACOSX" = "x1" ; then
35328 COND_PLATFORM_MACOSX_1=""
35329 fi
35330
35331 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35333 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35334 fi
35335
35336 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35338 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35339 fi
35340
35341 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35343 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35344 fi
35345
35346 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35348 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35349 fi
35350
35351 COND_PLATFORM_MAC_1="#"
35352 if test "x$PLATFORM_MAC" = "x1" ; then
35353 COND_PLATFORM_MAC_1=""
35354 fi
35355
35356 COND_PLATFORM_OS2_1="#"
35357 if test "x$PLATFORM_OS2" = "x1" ; then
35358 COND_PLATFORM_OS2_1=""
35359 fi
35360
35361 COND_PLATFORM_UNIX_0="#"
35362 if test "x$PLATFORM_UNIX" = "x0" ; then
35363 COND_PLATFORM_UNIX_0=""
35364 fi
35365
35366 COND_PLATFORM_UNIX_1="#"
35367 if test "x$PLATFORM_UNIX" = "x1" ; then
35368 COND_PLATFORM_UNIX_1=""
35369 fi
35370
35371 COND_PLATFORM_WIN32_0="#"
35372 if test "x$PLATFORM_WIN32" = "x0" ; then
35373 COND_PLATFORM_WIN32_0=""
35374 fi
35375
35376 COND_PLATFORM_WIN32_1="#"
35377 if test "x$PLATFORM_WIN32" = "x1" ; then
35378 COND_PLATFORM_WIN32_1=""
35379 fi
35380
35381 COND_SHARED_0="#"
35382 if test "x$SHARED" = "x0" ; then
35383 COND_SHARED_0=""
35384 fi
35385
35386 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35387 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35388 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35389 fi
35390
35391 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35392 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35393 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35394 fi
35395
35396 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35397 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35398 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35399 fi
35400
35401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35402 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35403 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35404 fi
35405
35406 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35407 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35408 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35409 fi
35410
35411 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35412 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35413 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35414 fi
35415
35416 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35417 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35418 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35419 fi
35420
35421 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35422 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35423 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35424 fi
35425
35426 COND_SHARED_1="#"
35427 if test "x$SHARED" = "x1" ; then
35428 COND_SHARED_1=""
35429 fi
35430
35431 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35432 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35433 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35434 fi
35435
35436 COND_TOOLKIT_COCOA="#"
35437 if test "x$TOOLKIT" = "xCOCOA" ; then
35438 COND_TOOLKIT_COCOA=""
35439 fi
35440
35441 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35442 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35443 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35444 fi
35445
35446 COND_TOOLKIT_GTK="#"
35447 if test "x$TOOLKIT" = "xGTK" ; then
35448 COND_TOOLKIT_GTK=""
35449 fi
35450
35451 COND_TOOLKIT_GTK_USE_GUI_1="#"
35452 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35453 COND_TOOLKIT_GTK_USE_GUI_1=""
35454 fi
35455
35456 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35457 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35458 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35459 fi
35460
35461 COND_TOOLKIT_MAC="#"
35462 if test "x$TOOLKIT" = "xMAC" ; then
35463 COND_TOOLKIT_MAC=""
35464 fi
35465
35466 COND_TOOLKIT_MAC_USE_GUI_1="#"
35467 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35468 COND_TOOLKIT_MAC_USE_GUI_1=""
35469 fi
35470
35471 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35472 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35474 fi
35475
35476 COND_TOOLKIT_MGL="#"
35477 if test "x$TOOLKIT" = "xMGL" ; then
35478 COND_TOOLKIT_MGL=""
35479 fi
35480
35481 COND_TOOLKIT_MGL_USE_GUI_1="#"
35482 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35483 COND_TOOLKIT_MGL_USE_GUI_1=""
35484 fi
35485
35486 COND_TOOLKIT_MOTIF="#"
35487 if test "x$TOOLKIT" = "xMOTIF" ; then
35488 COND_TOOLKIT_MOTIF=""
35489 fi
35490
35491 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35492 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35493 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35494 fi
35495
35496 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35497 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35499 fi
35500
35501 COND_TOOLKIT_MSW="#"
35502 if test "x$TOOLKIT" = "xMSW" ; then
35503 COND_TOOLKIT_MSW=""
35504 fi
35505
35506 COND_TOOLKIT_MSW_USE_GUI_1="#"
35507 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35508 COND_TOOLKIT_MSW_USE_GUI_1=""
35509 fi
35510
35511 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35512 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35514 fi
35515
35516 COND_TOOLKIT_PM="#"
35517 if test "x$TOOLKIT" = "xPM" ; then
35518 COND_TOOLKIT_PM=""
35519 fi
35520
35521 COND_TOOLKIT_PM_USE_GUI_1="#"
35522 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35523 COND_TOOLKIT_PM_USE_GUI_1=""
35524 fi
35525
35526 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35527 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35528 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35529 fi
35530
35531 COND_TOOLKIT_X11="#"
35532 if test "x$TOOLKIT" = "xX11" ; then
35533 COND_TOOLKIT_X11=""
35534 fi
35535
35536 COND_TOOLKIT_X11_USE_GUI_1="#"
35537 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35538 COND_TOOLKIT_X11_USE_GUI_1=""
35539 fi
35540
35541 COND_UNICODE_1="#"
35542 if test "x$UNICODE" = "x1" ; then
35543 COND_UNICODE_1=""
35544 fi
35545
35546 COND_USE_EXCEPTIONS_0="#"
35547 if test "x$USE_EXCEPTIONS" = "x0" ; then
35548 COND_USE_EXCEPTIONS_0=""
35549 fi
35550
35551 COND_USE_EXCEPTIONS_1="#"
35552 if test "x$USE_EXCEPTIONS" = "x1" ; then
35553 COND_USE_EXCEPTIONS_1=""
35554 fi
35555
35556 COND_USE_GUI_0="#"
35557 if test "x$USE_GUI" = "x0" ; then
35558 COND_USE_GUI_0=""
35559 fi
35560
35561 COND_USE_GUI_1="#"
35562 if test "x$USE_GUI" = "x1" ; then
35563 COND_USE_GUI_1=""
35564 fi
35565
35566 COND_USE_GUI_1_WXUNIV_0="#"
35567 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35568 COND_USE_GUI_1_WXUNIV_0=""
35569 fi
35570
35571 COND_USE_GUI_1_WXUNIV_1="#"
35572 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35573 COND_USE_GUI_1_WXUNIV_1=""
35574 fi
35575
35576 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35577 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35578 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35579 fi
35580
35581 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35582 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35583 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35584 fi
35585
35586 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35587 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35588 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35589 fi
35590
35591 COND_USE_SOSYMLINKS_1="#"
35592 if test "x$USE_SOSYMLINKS" = "x1" ; then
35593 COND_USE_SOSYMLINKS_1=""
35594 fi
35595
35596 COND_USE_SOVERLINUX_1="#"
35597 if test "x$USE_SOVERLINUX" = "x1" ; then
35598 COND_USE_SOVERLINUX_1=""
35599 fi
35600
35601 COND_USE_SOVERSION_0="#"
35602 if test "x$USE_SOVERSION" = "x0" ; then
35603 COND_USE_SOVERSION_0=""
35604 fi
35605
35606 COND_USE_SOVERSOLARIS_1="#"
35607 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35608 COND_USE_SOVERSOLARIS_1=""
35609 fi
35610
35611 COND_WXUNIV_1="#"
35612 if test "x$WXUNIV" = "x1" ; then
35613 COND_WXUNIV_1=""
35614 fi
35615
35616 COND_WXUSE_EXPAT_BUILTIN="#"
35617 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35618 COND_WXUSE_EXPAT_BUILTIN=""
35619 fi
35620
35621 COND_WXUSE_LIBJPEG_BUILTIN="#"
35622 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35623 COND_WXUSE_LIBJPEG_BUILTIN=""
35624 fi
35625
35626 COND_WXUSE_LIBPNG_BUILTIN="#"
35627 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35628 COND_WXUSE_LIBPNG_BUILTIN=""
35629 fi
35630
35631 COND_WXUSE_LIBTIFF_BUILTIN="#"
35632 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35633 COND_WXUSE_LIBTIFF_BUILTIN=""
35634 fi
35635
35636 COND_WXUSE_ODBC_BUILTIN="#"
35637 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35638 COND_WXUSE_ODBC_BUILTIN=""
35639 fi
35640
35641 COND_WXUSE_REGEX_BUILTIN="#"
35642 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35643 COND_WXUSE_REGEX_BUILTIN=""
35644 fi
35645
35646 COND_WXUSE_ZLIB_BUILTIN="#"
35647 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35648 COND_WXUSE_ZLIB_BUILTIN=""
35649 fi
35650
35651
35652
35653
35654
35655 if test $GCC_PCH = 1 ; then
35656 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35657 else
35658 case "${host}" in
35659 powerpc-*-darwin* )
35660 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35661 ;;
35662 esac
35663 fi
35664 case "${host}" in
35665 powerpc-*-darwin* )
35666 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35667 ;;
35668 esac
35669
35670
35671 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35773 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35774 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35775 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35777 else
35778 cat >conftest.make <<\_ACEOF
35779 all:
35780 @echo 'ac_maketemp="$(MAKE)"'
35781 _ACEOF
35782 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35783 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35784 if test -n "$ac_maketemp"; then
35785 eval ac_cv_prog_make_${ac_make}_set=yes
35786 else
35787 eval ac_cv_prog_make_${ac_make}_set=no
35788 fi
35789 rm -f conftest.make
35790 fi
35791 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35792 echo "$as_me:$LINENO: result: yes" >&5
35793 echo "${ECHO_T}yes" >&6
35794 SET_MAKE=
35795 else
35796 echo "$as_me:$LINENO: result: no" >&5
35797 echo "${ECHO_T}no" >&6
35798 SET_MAKE="MAKE=${MAKE-make}"
35799 fi
35800
35801
35802 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35803 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35804 fi
35805
35806 ac_config_headers="$ac_config_headers setup.h"
35807
35808
35809 ac_config_files="$ac_config_files wx-config version-script Makefile"
35810
35811
35812 ac_config_commands="$ac_config_commands default"
35813
35814
35815
35816 if test "$wxUSE_GUI" = "yes"; then
35817 SUBDIRS="samples demos utils contrib"
35818 else SUBDIRS="samples utils"
35819 fi
35820
35821 for subdir in `echo $SUBDIRS`; do
35822 if test -d ${srcdir}/${subdir} ; then
35823 if test "$wxUSE_GUI" = "yes"; then
35824 if test ${subdir} = "samples"; then
35825 makefiles="samples/Makefile.in $makefiles"
35826 for sample in `echo $SAMPLES_SUBDIRS`; do
35827 if test -d $srcdir/samples/$sample; then
35828 makefiles="samples/$sample/Makefile.in $makefiles"
35829 fi
35830 done
35831 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35832 fi
35833 else if test ${subdir} = "samples"; then
35834 makefiles="samples/Makefile.in samples/console/Makefile.in"
35835 else makefiles="utils/HelpGen/Makefile.in \
35836 utils/HelpGen/src/Makefile.in"
35837 fi
35838 fi
35839
35840 for mkin in $makefiles ; do
35841 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35842 ac_config_files="$ac_config_files $mk"
35843
35844 done
35845 fi
35846 done
35847
35848
35849 cat >confcache <<\_ACEOF
35850 # This file is a shell script that caches the results of configure
35851 # tests run on this system so they can be shared between configure
35852 # scripts and configure runs, see configure's option --config-cache.
35853 # It is not useful on other systems. If it contains results you don't
35854 # want to keep, you may remove or edit it.
35855 #
35856 # config.status only pays attention to the cache file if you give it
35857 # the --recheck option to rerun configure.
35858 #
35859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35861 # following values.
35862
35863 _ACEOF
35864
35865 # The following way of writing the cache mishandles newlines in values,
35866 # but we know of no workaround that is simple, portable, and efficient.
35867 # So, don't put newlines in cache variables' values.
35868 # Ultrix sh set writes to stderr and can't be redirected directly,
35869 # and sets the high bit in the cache file unless we assign to the vars.
35870 {
35871 (set) 2>&1 |
35872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35873 *ac_space=\ *)
35874 # `set' does not quote correctly, so add quotes (double-quote
35875 # substitution turns \\\\ into \\, and sed turns \\ into \).
35876 sed -n \
35877 "s/'/'\\\\''/g;
35878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35879 ;;
35880 *)
35881 # `set' quotes correctly as required by POSIX, so do not add quotes.
35882 sed -n \
35883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35884 ;;
35885 esac;
35886 } |
35887 sed '
35888 t clear
35889 : clear
35890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35891 t end
35892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35893 : end' >>confcache
35894 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35895 if test -w $cache_file; then
35896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35897 cat confcache >$cache_file
35898 else
35899 echo "not updating unwritable cache $cache_file"
35900 fi
35901 fi
35902 rm -f confcache
35903
35904 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35905 # Let make expand exec_prefix.
35906 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35907
35908 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35909 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35910 # trailing colons and then remove the whole line if VPATH becomes empty
35911 # (actually we leave an empty line to preserve line numbers).
35912 if test "x$srcdir" = x.; then
35913 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35914 s/:*\$(srcdir):*/:/;
35915 s/:*\${srcdir}:*/:/;
35916 s/:*@srcdir@:*/:/;
35917 s/^\([^=]*=[ ]*\):*/\1/;
35918 s/:*$//;
35919 s/^[^=]*=[ ]*$//;
35920 }'
35921 fi
35922
35923 DEFS=-DHAVE_CONFIG_H
35924
35925 ac_libobjs=
35926 ac_ltlibobjs=
35927 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35928 # 1. Remove the extension, and $U if already installed.
35929 ac_i=`echo "$ac_i" |
35930 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35931 # 2. Add them.
35932 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35933 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35934 done
35935 LIBOBJS=$ac_libobjs
35936
35937 LTLIBOBJS=$ac_ltlibobjs
35938
35939
35940
35941 : ${CONFIG_STATUS=./config.status}
35942 ac_clean_files_save=$ac_clean_files
35943 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35944 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35945 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35946 cat >$CONFIG_STATUS <<_ACEOF
35947 #! $SHELL
35948 # Generated by $as_me.
35949 # Run this file to recreate the current configuration.
35950 # Compiler output produced by configure, useful for debugging
35951 # configure, is in config.log if it exists.
35952
35953 debug=false
35954 ac_cs_recheck=false
35955 ac_cs_silent=false
35956 SHELL=\${CONFIG_SHELL-$SHELL}
35957 _ACEOF
35958
35959 cat >>$CONFIG_STATUS <<\_ACEOF
35960 ## --------------------- ##
35961 ## M4sh Initialization. ##
35962 ## --------------------- ##
35963
35964 # Be Bourne compatible
35965 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35966 emulate sh
35967 NULLCMD=:
35968 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35969 # is contrary to our usage. Disable this feature.
35970 alias -g '${1+"$@"}'='"$@"'
35971 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35972 set -o posix
35973 fi
35974
35975 # Support unset when possible.
35976 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35977 as_unset=unset
35978 else
35979 as_unset=false
35980 fi
35981
35982
35983 # Work around bugs in pre-3.0 UWIN ksh.
35984 $as_unset ENV MAIL MAILPATH
35985 PS1='$ '
35986 PS2='> '
35987 PS4='+ '
35988
35989 # NLS nuisances.
35990 for as_var in \
35991 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35992 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35993 LC_TELEPHONE LC_TIME
35994 do
35995 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35996 eval $as_var=C; export $as_var
35997 else
35998 $as_unset $as_var
35999 fi
36000 done
36001
36002 # Required to use basename.
36003 if expr a : '\(a\)' >/dev/null 2>&1; then
36004 as_expr=expr
36005 else
36006 as_expr=false
36007 fi
36008
36009 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36010 as_basename=basename
36011 else
36012 as_basename=false
36013 fi
36014
36015
36016 # Name of the executable.
36017 as_me=`$as_basename "$0" ||
36018 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36019 X"$0" : 'X\(//\)$' \| \
36020 X"$0" : 'X\(/\)$' \| \
36021 . : '\(.\)' 2>/dev/null ||
36022 echo X/"$0" |
36023 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36024 /^X\/\(\/\/\)$/{ s//\1/; q; }
36025 /^X\/\(\/\).*/{ s//\1/; q; }
36026 s/.*/./; q'`
36027
36028
36029 # PATH needs CR, and LINENO needs CR and PATH.
36030 # Avoid depending upon Character Ranges.
36031 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36032 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36033 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36034 as_cr_digits='0123456789'
36035 as_cr_alnum=$as_cr_Letters$as_cr_digits
36036
36037 # The user is always right.
36038 if test "${PATH_SEPARATOR+set}" != set; then
36039 echo "#! /bin/sh" >conf$$.sh
36040 echo "exit 0" >>conf$$.sh
36041 chmod +x conf$$.sh
36042 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36043 PATH_SEPARATOR=';'
36044 else
36045 PATH_SEPARATOR=:
36046 fi
36047 rm -f conf$$.sh
36048 fi
36049
36050
36051 as_lineno_1=$LINENO
36052 as_lineno_2=$LINENO
36053 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36054 test "x$as_lineno_1" != "x$as_lineno_2" &&
36055 test "x$as_lineno_3" = "x$as_lineno_2" || {
36056 # Find who we are. Look in the path if we contain no path at all
36057 # relative or not.
36058 case $0 in
36059 *[\\/]* ) as_myself=$0 ;;
36060 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36061 for as_dir in $PATH
36062 do
36063 IFS=$as_save_IFS
36064 test -z "$as_dir" && as_dir=.
36065 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36066 done
36067
36068 ;;
36069 esac
36070 # We did not find ourselves, most probably we were run as `sh COMMAND'
36071 # in which case we are not to be found in the path.
36072 if test "x$as_myself" = x; then
36073 as_myself=$0
36074 fi
36075 if test ! -f "$as_myself"; then
36076 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36077 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36078 { (exit 1); exit 1; }; }
36079 fi
36080 case $CONFIG_SHELL in
36081 '')
36082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36083 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36084 do
36085 IFS=$as_save_IFS
36086 test -z "$as_dir" && as_dir=.
36087 for as_base in sh bash ksh sh5; do
36088 case $as_dir in
36089 /*)
36090 if ("$as_dir/$as_base" -c '
36091 as_lineno_1=$LINENO
36092 as_lineno_2=$LINENO
36093 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36094 test "x$as_lineno_1" != "x$as_lineno_2" &&
36095 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36096 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36097 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36098 CONFIG_SHELL=$as_dir/$as_base
36099 export CONFIG_SHELL
36100 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36101 fi;;
36102 esac
36103 done
36104 done
36105 ;;
36106 esac
36107
36108 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36109 # uniformly replaced by the line number. The first 'sed' inserts a
36110 # line-number line before each line; the second 'sed' does the real
36111 # work. The second script uses 'N' to pair each line-number line
36112 # with the numbered line, and appends trailing '-' during
36113 # substitution so that $LINENO is not a special case at line end.
36114 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36115 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36116 sed '=' <$as_myself |
36117 sed '
36118 N
36119 s,$,-,
36120 : loop
36121 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36122 t loop
36123 s,-$,,
36124 s,^['$as_cr_digits']*\n,,
36125 ' >$as_me.lineno &&
36126 chmod +x $as_me.lineno ||
36127 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36128 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36129 { (exit 1); exit 1; }; }
36130
36131 # Don't try to exec as it changes $[0], causing all sort of problems
36132 # (the dirname of $[0] is not the place where we might find the
36133 # original and so on. Autoconf is especially sensible to this).
36134 . ./$as_me.lineno
36135 # Exit status is that of the last command.
36136 exit
36137 }
36138
36139
36140 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36141 *c*,-n*) ECHO_N= ECHO_C='
36142 ' ECHO_T=' ' ;;
36143 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36144 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36145 esac
36146
36147 if expr a : '\(a\)' >/dev/null 2>&1; then
36148 as_expr=expr
36149 else
36150 as_expr=false
36151 fi
36152
36153 rm -f conf$$ conf$$.exe conf$$.file
36154 echo >conf$$.file
36155 if ln -s conf$$.file conf$$ 2>/dev/null; then
36156 # We could just check for DJGPP; but this test a) works b) is more generic
36157 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36158 if test -f conf$$.exe; then
36159 # Don't use ln at all; we don't have any links
36160 as_ln_s='cp -p'
36161 else
36162 as_ln_s='ln -s'
36163 fi
36164 elif ln conf$$.file conf$$ 2>/dev/null; then
36165 as_ln_s=ln
36166 else
36167 as_ln_s='cp -p'
36168 fi
36169 rm -f conf$$ conf$$.exe conf$$.file
36170
36171 if mkdir -p . 2>/dev/null; then
36172 as_mkdir_p=:
36173 else
36174 as_mkdir_p=false
36175 fi
36176
36177 as_executable_p="test -f"
36178
36179 # Sed expression to map a string onto a valid CPP name.
36180 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36181
36182 # Sed expression to map a string onto a valid variable name.
36183 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36184
36185
36186 # IFS
36187 # We need space, tab and new line, in precisely that order.
36188 as_nl='
36189 '
36190 IFS=" $as_nl"
36191
36192 # CDPATH.
36193 $as_unset CDPATH
36194
36195 exec 6>&1
36196
36197 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36198 # report actual input values of CONFIG_FILES etc. instead of their
36199 # values after options handling. Logging --version etc. is OK.
36200 exec 5>>config.log
36201 {
36202 echo
36203 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36204 ## Running $as_me. ##
36205 _ASBOX
36206 } >&5
36207 cat >&5 <<_CSEOF
36208
36209 This file was extended by wxWindows $as_me 2.5.1, which was
36210 generated by GNU Autoconf 2.57. Invocation command line was
36211
36212 CONFIG_FILES = $CONFIG_FILES
36213 CONFIG_HEADERS = $CONFIG_HEADERS
36214 CONFIG_LINKS = $CONFIG_LINKS
36215 CONFIG_COMMANDS = $CONFIG_COMMANDS
36216 $ $0 $@
36217
36218 _CSEOF
36219 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36220 echo >&5
36221 _ACEOF
36222
36223 # Files that config.status was made for.
36224 if test -n "$ac_config_files"; then
36225 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36226 fi
36227
36228 if test -n "$ac_config_headers"; then
36229 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36230 fi
36231
36232 if test -n "$ac_config_links"; then
36233 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36234 fi
36235
36236 if test -n "$ac_config_commands"; then
36237 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36238 fi
36239
36240 cat >>$CONFIG_STATUS <<\_ACEOF
36241
36242 ac_cs_usage="\
36243 \`$as_me' instantiates files from templates according to the
36244 current configuration.
36245
36246 Usage: $0 [OPTIONS] [FILE]...
36247
36248 -h, --help print this help, then exit
36249 -V, --version print version number, then exit
36250 -q, --quiet do not print progress messages
36251 -d, --debug don't remove temporary files
36252 --recheck update $as_me by reconfiguring in the same conditions
36253 --file=FILE[:TEMPLATE]
36254 instantiate the configuration file FILE
36255 --header=FILE[:TEMPLATE]
36256 instantiate the configuration header FILE
36257
36258 Configuration files:
36259 $config_files
36260
36261 Configuration headers:
36262 $config_headers
36263
36264 Configuration commands:
36265 $config_commands
36266
36267 Report bugs to <bug-autoconf@gnu.org>."
36268 _ACEOF
36269
36270 cat >>$CONFIG_STATUS <<_ACEOF
36271 ac_cs_version="\\
36272 wxWindows config.status 2.5.1
36273 configured by $0, generated by GNU Autoconf 2.57,
36274 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36275
36276 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36277 Free Software Foundation, Inc.
36278 This config.status script is free software; the Free Software Foundation
36279 gives unlimited permission to copy, distribute and modify it."
36280 srcdir=$srcdir
36281 INSTALL="$INSTALL"
36282 _ACEOF
36283
36284 cat >>$CONFIG_STATUS <<\_ACEOF
36285 # If no file are specified by the user, then we need to provide default
36286 # value. By we need to know if files were specified by the user.
36287 ac_need_defaults=:
36288 while test $# != 0
36289 do
36290 case $1 in
36291 --*=*)
36292 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36293 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36294 ac_shift=:
36295 ;;
36296 -*)
36297 ac_option=$1
36298 ac_optarg=$2
36299 ac_shift=shift
36300 ;;
36301 *) # This is not an option, so the user has probably given explicit
36302 # arguments.
36303 ac_option=$1
36304 ac_need_defaults=false;;
36305 esac
36306
36307 case $ac_option in
36308 # Handling of the options.
36309 _ACEOF
36310 cat >>$CONFIG_STATUS <<\_ACEOF
36311 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36312 ac_cs_recheck=: ;;
36313 --version | --vers* | -V )
36314 echo "$ac_cs_version"; exit 0 ;;
36315 --he | --h)
36316 # Conflict between --help and --header
36317 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36318 Try \`$0 --help' for more information." >&5
36319 echo "$as_me: error: ambiguous option: $1
36320 Try \`$0 --help' for more information." >&2;}
36321 { (exit 1); exit 1; }; };;
36322 --help | --hel | -h )
36323 echo "$ac_cs_usage"; exit 0 ;;
36324 --debug | --d* | -d )
36325 debug=: ;;
36326 --file | --fil | --fi | --f )
36327 $ac_shift
36328 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36329 ac_need_defaults=false;;
36330 --header | --heade | --head | --hea )
36331 $ac_shift
36332 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36333 ac_need_defaults=false;;
36334 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36335 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36336 ac_cs_silent=: ;;
36337
36338 # This is an error.
36339 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36340 Try \`$0 --help' for more information." >&5
36341 echo "$as_me: error: unrecognized option: $1
36342 Try \`$0 --help' for more information." >&2;}
36343 { (exit 1); exit 1; }; } ;;
36344
36345 *) ac_config_targets="$ac_config_targets $1" ;;
36346
36347 esac
36348 shift
36349 done
36350
36351 ac_configure_extra_args=
36352
36353 if $ac_cs_silent; then
36354 exec 6>/dev/null
36355 ac_configure_extra_args="$ac_configure_extra_args --silent"
36356 fi
36357
36358 _ACEOF
36359 cat >>$CONFIG_STATUS <<_ACEOF
36360 if \$ac_cs_recheck; then
36361 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36362 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36363 fi
36364
36365 _ACEOF
36366
36367 cat >>$CONFIG_STATUS <<_ACEOF
36368 #
36369 # INIT-COMMANDS section.
36370 #
36371
36372
36373 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36374 LN_S="${LN_S}"
36375
36376
36377
36378 _ACEOF
36379
36380
36381
36382 cat >>$CONFIG_STATUS <<\_ACEOF
36383 for ac_config_target in $ac_config_targets
36384 do
36385 case "$ac_config_target" in
36386 # Handling of arguments.
36387 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36388 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36389 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36390 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36391 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36392 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36393 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36394 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36395 { (exit 1); exit 1; }; };;
36396 esac
36397 done
36398
36399 # If the user did not use the arguments to specify the items to instantiate,
36400 # then the envvar interface is used. Set only those that are not.
36401 # We use the long form for the default assignment because of an extremely
36402 # bizarre bug on SunOS 4.1.3.
36403 if $ac_need_defaults; then
36404 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36405 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36406 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36407 fi
36408
36409 # Have a temporary directory for convenience. Make it in the build tree
36410 # simply because there is no reason to put it here, and in addition,
36411 # creating and moving files from /tmp can sometimes cause problems.
36412 # Create a temporary directory, and hook for its removal unless debugging.
36413 $debug ||
36414 {
36415 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36416 trap '{ (exit 1); exit 1; }' 1 2 13 15
36417 }
36418
36419 # Create a (secure) tmp directory for tmp files.
36420
36421 {
36422 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36423 test -n "$tmp" && test -d "$tmp"
36424 } ||
36425 {
36426 tmp=./confstat$$-$RANDOM
36427 (umask 077 && mkdir $tmp)
36428 } ||
36429 {
36430 echo "$me: cannot create a temporary directory in ." >&2
36431 { (exit 1); exit 1; }
36432 }
36433
36434 _ACEOF
36435
36436 cat >>$CONFIG_STATUS <<_ACEOF
36437
36438 #
36439 # CONFIG_FILES section.
36440 #
36441
36442 # No need to generate the scripts if there are no CONFIG_FILES.
36443 # This happens for instance when ./config.status config.h
36444 if test -n "\$CONFIG_FILES"; then
36445 # Protect against being on the right side of a sed subst in config.status.
36446 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36447 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36448 s,@SHELL@,$SHELL,;t t
36449 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36450 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36451 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36452 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36453 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36454 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36455 s,@exec_prefix@,$exec_prefix,;t t
36456 s,@prefix@,$prefix,;t t
36457 s,@program_transform_name@,$program_transform_name,;t t
36458 s,@bindir@,$bindir,;t t
36459 s,@sbindir@,$sbindir,;t t
36460 s,@libexecdir@,$libexecdir,;t t
36461 s,@datadir@,$datadir,;t t
36462 s,@sysconfdir@,$sysconfdir,;t t
36463 s,@sharedstatedir@,$sharedstatedir,;t t
36464 s,@localstatedir@,$localstatedir,;t t
36465 s,@libdir@,$libdir,;t t
36466 s,@includedir@,$includedir,;t t
36467 s,@oldincludedir@,$oldincludedir,;t t
36468 s,@infodir@,$infodir,;t t
36469 s,@mandir@,$mandir,;t t
36470 s,@build_alias@,$build_alias,;t t
36471 s,@host_alias@,$host_alias,;t t
36472 s,@target_alias@,$target_alias,;t t
36473 s,@DEFS@,$DEFS,;t t
36474 s,@ECHO_C@,$ECHO_C,;t t
36475 s,@ECHO_N@,$ECHO_N,;t t
36476 s,@ECHO_T@,$ECHO_T,;t t
36477 s,@LIBS@,$LIBS,;t t
36478 s,@build@,$build,;t t
36479 s,@build_cpu@,$build_cpu,;t t
36480 s,@build_vendor@,$build_vendor,;t t
36481 s,@build_os@,$build_os,;t t
36482 s,@host@,$host,;t t
36483 s,@host_cpu@,$host_cpu,;t t
36484 s,@host_vendor@,$host_vendor,;t t
36485 s,@host_os@,$host_os,;t t
36486 s,@target@,$target,;t t
36487 s,@target_cpu@,$target_cpu,;t t
36488 s,@target_vendor@,$target_vendor,;t t
36489 s,@target_os@,$target_os,;t t
36490 s,@CC@,$CC,;t t
36491 s,@CFLAGS@,$CFLAGS,;t t
36492 s,@LDFLAGS@,$LDFLAGS,;t t
36493 s,@CPPFLAGS@,$CPPFLAGS,;t t
36494 s,@ac_ct_CC@,$ac_ct_CC,;t t
36495 s,@EXEEXT@,$EXEEXT,;t t
36496 s,@OBJEXT@,$OBJEXT,;t t
36497 s,@CPP@,$CPP,;t t
36498 s,@EGREP@,$EGREP,;t t
36499 s,@CXX@,$CXX,;t t
36500 s,@CXXFLAGS@,$CXXFLAGS,;t t
36501 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36502 s,@RANLIB@,$RANLIB,;t t
36503 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36504 s,@AR@,$AR,;t t
36505 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36506 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36507 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36508 s,@STRIP@,$STRIP,;t t
36509 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36510 s,@LN_S@,$LN_S,;t t
36511 s,@CXXCPP@,$CXXCPP,;t t
36512 s,@subdirs@,$subdirs,;t t
36513 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36514 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36515 s,@GTK_LIBS@,$GTK_LIBS,;t t
36516 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36517 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36518 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36519 s,@X_CFLAGS@,$X_CFLAGS,;t t
36520 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36521 s,@X_LIBS@,$X_LIBS,;t t
36522 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36523 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36524 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36525 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36526 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36527 s,@RESCOMP@,$RESCOMP,;t t
36528 s,@DEREZ@,$DEREZ,;t t
36529 s,@SETFILE@,$SETFILE,;t t
36530 s,@LIBICONV@,$LIBICONV,;t t
36531 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36532 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36533 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36534 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36535 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36536 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36537 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36538 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36539 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36540 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36541 s,@VENDOR@,$VENDOR,;t t
36542 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36543 s,@WXUNIV@,$WXUNIV,;t t
36544 s,@MONOLITHIC@,$MONOLITHIC,;t t
36545 s,@EXTRALIBS@,$EXTRALIBS,;t t
36546 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36547 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36548 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36549 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36550 s,@UNICODE@,$UNICODE,;t t
36551 s,@BUILD@,$BUILD,;t t
36552 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36553 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36554 s,@SHARED@,$SHARED,;t t
36555 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36556 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36557 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36558 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36559 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36560 s,@SET_MAKE@,$SET_MAKE,;t t
36561 s,@MAKE_SET@,$MAKE_SET,;t t
36562 s,@ac_ct_AR@,$ac_ct_AR,;t t
36563 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36564 s,@NM@,$NM,;t t
36565 s,@ac_ct_NM@,$ac_ct_NM,;t t
36566 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36567 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36568 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36569 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36570 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36571 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36572 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36573 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36574 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36575 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36576 s,@LIBPREFIX@,$LIBPREFIX,;t t
36577 s,@DLLPREFIX@,$DLLPREFIX,;t t
36578 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36579 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36580 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36581 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36582 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36583 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36584 s,@PIC_FLAG@,$PIC_FLAG,;t t
36585 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36586 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36587 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36588 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36589 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36590 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36591 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36592 s,@GCC_PCH@,$GCC_PCH,;t t
36593 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36594 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36595 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36596 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36597 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36598 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36599 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36600 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36601 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36602 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36603 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36604 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36605 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36606 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36607 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
36608 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36609 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36610 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36611 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36612 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
36613 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36614 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36615 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36616 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36617 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36618 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36619 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36620 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36621 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36622 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36623 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36624 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36625 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36626 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36627 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36628 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36629 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36630 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36631 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36632 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36633 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36634 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36635 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36636 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36637 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36638 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36639 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36640 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36641 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36642 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36643 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36644 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36645 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36646 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36647 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36648 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36649 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36650 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36651 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36652 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36653 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36654 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36655 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36656 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36657 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36658 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36659 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36660 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36661 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36662 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36663 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36664 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36665 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36666 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36667 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36668 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36669 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36670 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36671 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36672 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36673 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36674 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36675 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36676 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36677 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36678 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36679 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36680 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36681 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36682 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36683 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36684 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36685 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36686 s,@PATH_IFS@,$PATH_IFS,;t t
36687 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36688 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36689 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36690 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36691 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36692 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36693 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36694 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36695 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36696 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36697 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36698 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36699 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36700 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36701 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36702 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36703 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36704 s,@WX_ALL@,$WX_ALL,;t t
36705 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36706 s,@SHARED_LD@,$SHARED_LD,;t t
36707 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36708 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36709 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36710 s,@USE_GUI@,$USE_GUI,;t t
36711 s,@AFMINSTALL@,$AFMINSTALL,;t t
36712 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36713 s,@TOOLKIT@,$TOOLKIT,;t t
36714 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36715 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36716 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36717 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36718 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36719 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36720 s,@cross_compiling@,$cross_compiling,;t t
36721 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36722 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36723 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36724 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36725 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36726 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36727 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36728 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36729 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36730 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36731 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36732 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36733 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36734 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36735 s,@GUIDIST@,$GUIDIST,;t t
36736 s,@PORT_FILES@,$PORT_FILES,;t t
36737 s,@DISTDIR@,$DISTDIR,;t t
36738 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36739 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36740 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36741 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36742 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36743 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36744 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36745 s,@RESFLAGS@,$RESFLAGS,;t t
36746 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36747 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36748 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36749 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36750 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36751 s,@MACRESCOMP@,$MACRESCOMP,;t t
36752 s,@MACSETFILE@,$MACSETFILE,;t t
36753 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36754 s,@GCC@,$GCC,;t t
36755 s,@DLLTOOL@,$DLLTOOL,;t t
36756 s,@AS@,$AS,;t t
36757 s,@LD@,$LD,;t t
36758 s,@MAKEINFO@,$MAKEINFO,;t t
36759 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36760 s,@LIBOBJS@,$LIBOBJS,;t t
36761 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36762 CEOF
36763
36764 _ACEOF
36765
36766 cat >>$CONFIG_STATUS <<\_ACEOF
36767 # Split the substitutions into bite-sized pieces for seds with
36768 # small command number limits, like on Digital OSF/1 and HP-UX.
36769 ac_max_sed_lines=48
36770 ac_sed_frag=1 # Number of current file.
36771 ac_beg=1 # First line for current file.
36772 ac_end=$ac_max_sed_lines # Line after last line for current file.
36773 ac_more_lines=:
36774 ac_sed_cmds=
36775 while $ac_more_lines; do
36776 if test $ac_beg -gt 1; then
36777 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36778 else
36779 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36780 fi
36781 if test ! -s $tmp/subs.frag; then
36782 ac_more_lines=false
36783 else
36784 # The purpose of the label and of the branching condition is to
36785 # speed up the sed processing (if there are no `@' at all, there
36786 # is no need to browse any of the substitutions).
36787 # These are the two extra sed commands mentioned above.
36788 (echo ':t
36789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36790 if test -z "$ac_sed_cmds"; then
36791 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36792 else
36793 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36794 fi
36795 ac_sed_frag=`expr $ac_sed_frag + 1`
36796 ac_beg=$ac_end
36797 ac_end=`expr $ac_end + $ac_max_sed_lines`
36798 fi
36799 done
36800 if test -z "$ac_sed_cmds"; then
36801 ac_sed_cmds=cat
36802 fi
36803 fi # test -n "$CONFIG_FILES"
36804
36805 _ACEOF
36806 cat >>$CONFIG_STATUS <<\_ACEOF
36807 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36809 case $ac_file in
36810 - | *:- | *:-:* ) # input from stdin
36811 cat >$tmp/stdin
36812 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36813 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36814 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36815 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36816 * ) ac_file_in=$ac_file.in ;;
36817 esac
36818
36819 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36820 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36821 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36822 X"$ac_file" : 'X\(//\)[^/]' \| \
36823 X"$ac_file" : 'X\(//\)$' \| \
36824 X"$ac_file" : 'X\(/\)' \| \
36825 . : '\(.\)' 2>/dev/null ||
36826 echo X"$ac_file" |
36827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36828 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36829 /^X\(\/\/\)$/{ s//\1/; q; }
36830 /^X\(\/\).*/{ s//\1/; q; }
36831 s/.*/./; q'`
36832 { if $as_mkdir_p; then
36833 mkdir -p "$ac_dir"
36834 else
36835 as_dir="$ac_dir"
36836 as_dirs=
36837 while test ! -d "$as_dir"; do
36838 as_dirs="$as_dir $as_dirs"
36839 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36841 X"$as_dir" : 'X\(//\)[^/]' \| \
36842 X"$as_dir" : 'X\(//\)$' \| \
36843 X"$as_dir" : 'X\(/\)' \| \
36844 . : '\(.\)' 2>/dev/null ||
36845 echo X"$as_dir" |
36846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36848 /^X\(\/\/\)$/{ s//\1/; q; }
36849 /^X\(\/\).*/{ s//\1/; q; }
36850 s/.*/./; q'`
36851 done
36852 test ! -n "$as_dirs" || mkdir $as_dirs
36853 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36854 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36855 { (exit 1); exit 1; }; }; }
36856
36857 ac_builddir=.
36858
36859 if test "$ac_dir" != .; then
36860 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36861 # A "../" for each directory in $ac_dir_suffix.
36862 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36863 else
36864 ac_dir_suffix= ac_top_builddir=
36865 fi
36866
36867 case $srcdir in
36868 .) # No --srcdir option. We are building in place.
36869 ac_srcdir=.
36870 if test -z "$ac_top_builddir"; then
36871 ac_top_srcdir=.
36872 else
36873 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36874 fi ;;
36875 [\\/]* | ?:[\\/]* ) # Absolute path.
36876 ac_srcdir=$srcdir$ac_dir_suffix;
36877 ac_top_srcdir=$srcdir ;;
36878 *) # Relative path.
36879 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36880 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36881 esac
36882 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36883 # absolute.
36884 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36885 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36886 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36887 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36888
36889
36890 case $INSTALL in
36891 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36892 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36893 esac
36894
36895 if test x"$ac_file" != x-; then
36896 { echo "$as_me:$LINENO: creating $ac_file" >&5
36897 echo "$as_me: creating $ac_file" >&6;}
36898 rm -f "$ac_file"
36899 fi
36900 # Let's still pretend it is `configure' which instantiates (i.e., don't
36901 # use $as_me), people would be surprised to read:
36902 # /* config.h. Generated by config.status. */
36903 if test x"$ac_file" = x-; then
36904 configure_input=
36905 else
36906 configure_input="$ac_file. "
36907 fi
36908 configure_input=$configure_input"Generated from `echo $ac_file_in |
36909 sed 's,.*/,,'` by configure."
36910
36911 # First look for the input files in the build tree, otherwise in the
36912 # src tree.
36913 ac_file_inputs=`IFS=:
36914 for f in $ac_file_in; do
36915 case $f in
36916 -) echo $tmp/stdin ;;
36917 [\\/$]*)
36918 # Absolute (can't be DOS-style, as IFS=:)
36919 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36920 echo "$as_me: error: cannot find input file: $f" >&2;}
36921 { (exit 1); exit 1; }; }
36922 echo $f;;
36923 *) # Relative
36924 if test -f "$f"; then
36925 # Build tree
36926 echo $f
36927 elif test -f "$srcdir/$f"; then
36928 # Source tree
36929 echo $srcdir/$f
36930 else
36931 # /dev/null tree
36932 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36933 echo "$as_me: error: cannot find input file: $f" >&2;}
36934 { (exit 1); exit 1; }; }
36935 fi;;
36936 esac
36937 done` || { (exit 1); exit 1; }
36938 _ACEOF
36939 cat >>$CONFIG_STATUS <<_ACEOF
36940 sed "$ac_vpsub
36941 $extrasub
36942 _ACEOF
36943 cat >>$CONFIG_STATUS <<\_ACEOF
36944 :t
36945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36946 s,@configure_input@,$configure_input,;t t
36947 s,@srcdir@,$ac_srcdir,;t t
36948 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36949 s,@top_srcdir@,$ac_top_srcdir,;t t
36950 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36951 s,@builddir@,$ac_builddir,;t t
36952 s,@abs_builddir@,$ac_abs_builddir,;t t
36953 s,@top_builddir@,$ac_top_builddir,;t t
36954 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36955 s,@INSTALL@,$ac_INSTALL,;t t
36956 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36957 rm -f $tmp/stdin
36958 if test x"$ac_file" != x-; then
36959 mv $tmp/out $ac_file
36960 else
36961 cat $tmp/out
36962 rm -f $tmp/out
36963 fi
36964
36965 done
36966 _ACEOF
36967 cat >>$CONFIG_STATUS <<\_ACEOF
36968
36969 #
36970 # CONFIG_HEADER section.
36971 #
36972
36973 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36974 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36975 #
36976 # ac_d sets the value in "#define NAME VALUE" lines.
36977 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36978 ac_dB='[ ].*$,\1#\2'
36979 ac_dC=' '
36980 ac_dD=',;t'
36981 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36982 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36983 ac_uB='$,\1#\2define\3'
36984 ac_uC=' '
36985 ac_uD=',;t'
36986
36987 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36988 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36989 case $ac_file in
36990 - | *:- | *:-:* ) # input from stdin
36991 cat >$tmp/stdin
36992 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36993 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36994 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36995 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36996 * ) ac_file_in=$ac_file.in ;;
36997 esac
36998
36999 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37000 echo "$as_me: creating $ac_file" >&6;}
37001
37002 # First look for the input files in the build tree, otherwise in the
37003 # src tree.
37004 ac_file_inputs=`IFS=:
37005 for f in $ac_file_in; do
37006 case $f in
37007 -) echo $tmp/stdin ;;
37008 [\\/$]*)
37009 # Absolute (can't be DOS-style, as IFS=:)
37010 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37011 echo "$as_me: error: cannot find input file: $f" >&2;}
37012 { (exit 1); exit 1; }; }
37013 echo $f;;
37014 *) # Relative
37015 if test -f "$f"; then
37016 # Build tree
37017 echo $f
37018 elif test -f "$srcdir/$f"; then
37019 # Source tree
37020 echo $srcdir/$f
37021 else
37022 # /dev/null tree
37023 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37024 echo "$as_me: error: cannot find input file: $f" >&2;}
37025 { (exit 1); exit 1; }; }
37026 fi;;
37027 esac
37028 done` || { (exit 1); exit 1; }
37029 # Remove the trailing spaces.
37030 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37031
37032 _ACEOF
37033
37034 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37035 # `conftest.undefs', that substitutes the proper values into
37036 # config.h.in to produce config.h. The first handles `#define'
37037 # templates, and the second `#undef' templates.
37038 # And first: Protect against being on the right side of a sed subst in
37039 # config.status. Protect against being in an unquoted here document
37040 # in config.status.
37041 rm -f conftest.defines conftest.undefs
37042 # Using a here document instead of a string reduces the quoting nightmare.
37043 # Putting comments in sed scripts is not portable.
37044 #
37045 # `end' is used to avoid that the second main sed command (meant for
37046 # 0-ary CPP macros) applies to n-ary macro definitions.
37047 # See the Autoconf documentation for `clear'.
37048 cat >confdef2sed.sed <<\_ACEOF
37049 s/[\\&,]/\\&/g
37050 s,[\\$`],\\&,g
37051 t clear
37052 : clear
37053 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37054 t end
37055 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37056 : end
37057 _ACEOF
37058 # If some macros were called several times there might be several times
37059 # the same #defines, which is useless. Nevertheless, we may not want to
37060 # sort them, since we want the *last* AC-DEFINE to be honored.
37061 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37062 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37063 rm -f confdef2sed.sed
37064
37065 # This sed command replaces #undef with comments. This is necessary, for
37066 # example, in the case of _POSIX_SOURCE, which is predefined and required
37067 # on some systems where configure will not decide to define it.
37068 cat >>conftest.undefs <<\_ACEOF
37069 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37070 _ACEOF
37071
37072 # Break up conftest.defines because some shells have a limit on the size
37073 # of here documents, and old seds have small limits too (100 cmds).
37074 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37075 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37076 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37077 echo ' :' >>$CONFIG_STATUS
37078 rm -f conftest.tail
37079 while grep . conftest.defines >/dev/null
37080 do
37081 # Write a limited-size here document to $tmp/defines.sed.
37082 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37083 # Speed up: don't consider the non `#define' lines.
37084 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37085 # Work around the forget-to-reset-the-flag bug.
37086 echo 't clr' >>$CONFIG_STATUS
37087 echo ': clr' >>$CONFIG_STATUS
37088 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37089 echo 'CEOF
37090 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37091 rm -f $tmp/in
37092 mv $tmp/out $tmp/in
37093 ' >>$CONFIG_STATUS
37094 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37095 rm -f conftest.defines
37096 mv conftest.tail conftest.defines
37097 done
37098 rm -f conftest.defines
37099 echo ' fi # grep' >>$CONFIG_STATUS
37100 echo >>$CONFIG_STATUS
37101
37102 # Break up conftest.undefs because some shells have a limit on the size
37103 # of here documents, and old seds have small limits too (100 cmds).
37104 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37105 rm -f conftest.tail
37106 while grep . conftest.undefs >/dev/null
37107 do
37108 # Write a limited-size here document to $tmp/undefs.sed.
37109 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37110 # Speed up: don't consider the non `#undef'
37111 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37112 # Work around the forget-to-reset-the-flag bug.
37113 echo 't clr' >>$CONFIG_STATUS
37114 echo ': clr' >>$CONFIG_STATUS
37115 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37116 echo 'CEOF
37117 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37118 rm -f $tmp/in
37119 mv $tmp/out $tmp/in
37120 ' >>$CONFIG_STATUS
37121 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37122 rm -f conftest.undefs
37123 mv conftest.tail conftest.undefs
37124 done
37125 rm -f conftest.undefs
37126
37127 cat >>$CONFIG_STATUS <<\_ACEOF
37128 # Let's still pretend it is `configure' which instantiates (i.e., don't
37129 # use $as_me), people would be surprised to read:
37130 # /* config.h. Generated by config.status. */
37131 if test x"$ac_file" = x-; then
37132 echo "/* Generated by configure. */" >$tmp/config.h
37133 else
37134 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37135 fi
37136 cat $tmp/in >>$tmp/config.h
37137 rm -f $tmp/in
37138 if test x"$ac_file" != x-; then
37139 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37140 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37141 echo "$as_me: $ac_file is unchanged" >&6;}
37142 else
37143 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37144 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37145 X"$ac_file" : 'X\(//\)[^/]' \| \
37146 X"$ac_file" : 'X\(//\)$' \| \
37147 X"$ac_file" : 'X\(/\)' \| \
37148 . : '\(.\)' 2>/dev/null ||
37149 echo X"$ac_file" |
37150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37152 /^X\(\/\/\)$/{ s//\1/; q; }
37153 /^X\(\/\).*/{ s//\1/; q; }
37154 s/.*/./; q'`
37155 { if $as_mkdir_p; then
37156 mkdir -p "$ac_dir"
37157 else
37158 as_dir="$ac_dir"
37159 as_dirs=
37160 while test ! -d "$as_dir"; do
37161 as_dirs="$as_dir $as_dirs"
37162 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37163 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37164 X"$as_dir" : 'X\(//\)[^/]' \| \
37165 X"$as_dir" : 'X\(//\)$' \| \
37166 X"$as_dir" : 'X\(/\)' \| \
37167 . : '\(.\)' 2>/dev/null ||
37168 echo X"$as_dir" |
37169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37170 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37171 /^X\(\/\/\)$/{ s//\1/; q; }
37172 /^X\(\/\).*/{ s//\1/; q; }
37173 s/.*/./; q'`
37174 done
37175 test ! -n "$as_dirs" || mkdir $as_dirs
37176 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37177 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37178 { (exit 1); exit 1; }; }; }
37179
37180 rm -f $ac_file
37181 mv $tmp/config.h $ac_file
37182 fi
37183 else
37184 cat $tmp/config.h
37185 rm -f $tmp/config.h
37186 fi
37187 done
37188 _ACEOF
37189 cat >>$CONFIG_STATUS <<\_ACEOF
37190
37191 #
37192 # CONFIG_COMMANDS section.
37193 #
37194 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37195 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37196 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37197 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37198 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37199 X"$ac_dest" : 'X\(//\)[^/]' \| \
37200 X"$ac_dest" : 'X\(//\)$' \| \
37201 X"$ac_dest" : 'X\(/\)' \| \
37202 . : '\(.\)' 2>/dev/null ||
37203 echo X"$ac_dest" |
37204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37205 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37206 /^X\(\/\/\)$/{ s//\1/; q; }
37207 /^X\(\/\).*/{ s//\1/; q; }
37208 s/.*/./; q'`
37209 ac_builddir=.
37210
37211 if test "$ac_dir" != .; then
37212 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37213 # A "../" for each directory in $ac_dir_suffix.
37214 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37215 else
37216 ac_dir_suffix= ac_top_builddir=
37217 fi
37218
37219 case $srcdir in
37220 .) # No --srcdir option. We are building in place.
37221 ac_srcdir=.
37222 if test -z "$ac_top_builddir"; then
37223 ac_top_srcdir=.
37224 else
37225 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37226 fi ;;
37227 [\\/]* | ?:[\\/]* ) # Absolute path.
37228 ac_srcdir=$srcdir$ac_dir_suffix;
37229 ac_top_srcdir=$srcdir ;;
37230 *) # Relative path.
37231 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37232 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37233 esac
37234 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37235 # absolute.
37236 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37237 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37238 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37239 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37240
37241
37242 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37243 echo "$as_me: executing $ac_dest commands" >&6;}
37244 case $ac_dest in
37245 default )
37246 if test ! -h wx-config; then
37247 chmod +x wx-config
37248 mv wx-config wx${TOOLCHAIN_NAME}-config
37249 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37250 fi
37251
37252 if test ! -d lib; then
37253 mkdir lib
37254 fi
37255 if test ! -d lib/wx; then
37256 mkdir lib/wx
37257 fi
37258 if test ! -d lib/wx/include; then
37259 mkdir lib/wx/include
37260 fi
37261 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37262 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37263 fi
37264 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37265 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37266 fi
37267 if test -f setup.h; then
37268 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37269 fi
37270 ;;
37271 esac
37272 done
37273 _ACEOF
37274
37275 cat >>$CONFIG_STATUS <<\_ACEOF
37276
37277 { (exit 0); exit 0; }
37278 _ACEOF
37279 chmod +x $CONFIG_STATUS
37280 ac_clean_files=$ac_clean_files_save
37281
37282
37283 # configure is writing to config.log, and then calls config.status.
37284 # config.status does its own redirection, appending to config.log.
37285 # Unfortunately, on DOS this fails, as config.log is still kept open
37286 # by configure, so config.status won't be able to write to it; its
37287 # output is simply discarded. So we exec the FD to /dev/null,
37288 # effectively closing config.log, so it can be properly (re)opened and
37289 # appended to by config.status. When coming back to configure, we
37290 # need to make the FD available again.
37291 if test "$no_create" != yes; then
37292 ac_cs_success=:
37293 ac_config_status_args=
37294 test "$silent" = yes &&
37295 ac_config_status_args="$ac_config_status_args --quiet"
37296 exec 5>/dev/null
37297 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37298 exec 5>>config.log
37299 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37300 # would make configure fail if this is the last instruction.
37301 $ac_cs_success || { (exit 1); exit 1; }
37302 fi
37303
37304 #
37305 # CONFIG_SUBDIRS section.
37306 #
37307 if test "$no_recursion" != yes; then
37308
37309 # Remove --cache-file and --srcdir arguments so they do not pile up.
37310 ac_sub_configure_args=
37311 ac_prev=
37312 for ac_arg in $ac_configure_args; do
37313 if test -n "$ac_prev"; then
37314 ac_prev=
37315 continue
37316 fi
37317 case $ac_arg in
37318 -cache-file | --cache-file | --cache-fil | --cache-fi \
37319 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37320 ac_prev=cache_file ;;
37321 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37322 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37323 | --c=*)
37324 ;;
37325 --config-cache | -C)
37326 ;;
37327 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37328 ac_prev=srcdir ;;
37329 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37330 ;;
37331 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37332 ac_prev=prefix ;;
37333 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37334 ;;
37335 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37336 esac
37337 done
37338
37339 # Always prepend --prefix to ensure using the same prefix
37340 # in subdir configurations.
37341 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37342
37343 ac_popdir=`pwd`
37344 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37345
37346 # Do not complain, so a configure script can configure whichever
37347 # parts of a large source tree are present.
37348 test -d $srcdir/$ac_dir || continue
37349
37350 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37351 echo "$as_me: configuring in $ac_dir" >&6;}
37352 { if $as_mkdir_p; then
37353 mkdir -p "$ac_dir"
37354 else
37355 as_dir="$ac_dir"
37356 as_dirs=
37357 while test ! -d "$as_dir"; do
37358 as_dirs="$as_dir $as_dirs"
37359 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37361 X"$as_dir" : 'X\(//\)[^/]' \| \
37362 X"$as_dir" : 'X\(//\)$' \| \
37363 X"$as_dir" : 'X\(/\)' \| \
37364 . : '\(.\)' 2>/dev/null ||
37365 echo X"$as_dir" |
37366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37367 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37368 /^X\(\/\/\)$/{ s//\1/; q; }
37369 /^X\(\/\).*/{ s//\1/; q; }
37370 s/.*/./; q'`
37371 done
37372 test ! -n "$as_dirs" || mkdir $as_dirs
37373 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37374 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37375 { (exit 1); exit 1; }; }; }
37376
37377 ac_builddir=.
37378
37379 if test "$ac_dir" != .; then
37380 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37381 # A "../" for each directory in $ac_dir_suffix.
37382 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37383 else
37384 ac_dir_suffix= ac_top_builddir=
37385 fi
37386
37387 case $srcdir in
37388 .) # No --srcdir option. We are building in place.
37389 ac_srcdir=.
37390 if test -z "$ac_top_builddir"; then
37391 ac_top_srcdir=.
37392 else
37393 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37394 fi ;;
37395 [\\/]* | ?:[\\/]* ) # Absolute path.
37396 ac_srcdir=$srcdir$ac_dir_suffix;
37397 ac_top_srcdir=$srcdir ;;
37398 *) # Relative path.
37399 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37400 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37401 esac
37402 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37403 # absolute.
37404 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37405 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37406 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37407 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37408
37409
37410 cd $ac_dir
37411
37412 # Check for guested configure; otherwise get Cygnus style configure.
37413 if test -f $ac_srcdir/configure.gnu; then
37414 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37415 elif test -f $ac_srcdir/configure; then
37416 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37417 elif test -f $ac_srcdir/configure.in; then
37418 ac_sub_configure=$ac_configure
37419 else
37420 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37421 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37422 ac_sub_configure=
37423 fi
37424
37425 # The recursion is here.
37426 if test -n "$ac_sub_configure"; then
37427 # Make the cache file name correct relative to the subdirectory.
37428 case $cache_file in
37429 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37430 *) # Relative path.
37431 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37432 esac
37433
37434 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37435 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37436 # The eval makes quoting arguments work.
37437 eval $ac_sub_configure $ac_sub_configure_args \
37438 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37439 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37440 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37441 { (exit 1); exit 1; }; }
37442 fi
37443
37444 cd $ac_popdir
37445 done
37446 fi
37447
37448
37449 echo
37450 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37451 echo ""
37452 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37453 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37454
37455 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37456 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37457 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37458
37459 echo " What level of wxWindows compatibility should be enabled?"
37460 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37461 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37462
37463 echo " Which libraries should wxWindows use?"
37464 echo " jpeg ${wxUSE_LIBJPEG-none}"
37465 echo " png ${wxUSE_LIBPNG-none}"
37466 echo " regex ${wxUSE_REGEX}"
37467 echo " tiff ${wxUSE_LIBTIFF-none}"
37468 echo " zlib ${wxUSE_ZLIB}"
37469 echo " odbc ${wxUSE_ODBC}"
37470 echo " expat ${wxUSE_EXPAT}"
37471
37472 echo ""
37473