]> git.saurik.com Git - wxWidgets.git/blob - configure
fixed incorrect output of wx-config --libs for wxBAse
[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_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
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 '#include <stdlib.h>' \
10588 'extern "C" void std::exit (int) throw (); using std::exit;' \
10589 'extern "C" void std::exit (int); using std::exit;' \
10590 'extern "C" void exit (int) throw ();' \
10591 'extern "C" void exit (int);' \
10592 'void exit (int);'
10593 do
10594 cat >conftest.$ac_ext <<_ACEOF
10595 #line $LINENO "configure"
10596 /* confdefs.h. */
10597 _ACEOF
10598 cat confdefs.h >>conftest.$ac_ext
10599 cat >>conftest.$ac_ext <<_ACEOF
10600 /* end confdefs.h. */
10601 #include <stdlib.h>
10602 $ac_declaration
10603 int
10604 main ()
10605 {
10606 exit (42);
10607 ;
10608 return 0;
10609 }
10610 _ACEOF
10611 rm -f conftest.$ac_objext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10613 (eval $ac_compile) 2>&5
10614 ac_status=$?
10615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616 (exit $ac_status); } &&
10617 { ac_try='test -s conftest.$ac_objext'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10620 ac_status=$?
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; }; then
10623 :
10624 else
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.$ac_ext >&5
10627
10628 continue
10629 fi
10630 rm -f conftest.$ac_objext conftest.$ac_ext
10631 cat >conftest.$ac_ext <<_ACEOF
10632 #line $LINENO "configure"
10633 /* confdefs.h. */
10634 _ACEOF
10635 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10638 $ac_declaration
10639 int
10640 main ()
10641 {
10642 exit (42);
10643 ;
10644 return 0;
10645 }
10646 _ACEOF
10647 rm -f conftest.$ac_objext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>&5
10650 ac_status=$?
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } &&
10653 { ac_try='test -s conftest.$ac_objext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10656 ac_status=$?
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 break
10660 else
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.$ac_ext >&5
10663
10664 fi
10665 rm -f conftest.$ac_objext conftest.$ac_ext
10666 done
10667 rm -f conftest*
10668 if test -n "$ac_declaration"; then
10669 echo '#ifdef __cplusplus' >>confdefs.h
10670 echo $ac_declaration >>confdefs.h
10671 echo '#endif' >>confdefs.h
10672 fi
10673
10674 else
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.$ac_ext >&5
10677
10678 fi
10679 rm -f conftest.$ac_objext conftest.$ac_ext
10680 ac_ext=c
10681 ac_cpp='$CPP $CPPFLAGS'
10682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10685
10686
10687
10688 ac_ext=c
10689 ac_cpp='$CPP $CPPFLAGS'
10690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10693 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10694 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10695 # On Suns, sometimes $CPP names a directory.
10696 if test -n "$CPP" && test -d "$CPP"; then
10697 CPP=
10698 fi
10699 if test -z "$CPP"; then
10700 if test "${ac_cv_prog_CPP+set}" = set; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 else
10703 # Double quotes because CPP needs to be expanded
10704 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10705 do
10706 ac_preproc_ok=false
10707 for ac_c_preproc_warn_flag in '' yes
10708 do
10709 # Use a header file that comes with gcc, so configuring glibc
10710 # with a fresh cross-compiler works.
10711 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10712 # <limits.h> exists even on freestanding compilers.
10713 # On the NeXT, cc -E runs the code through the compiler's parser,
10714 # not just through cpp. "Syntax error" is here to catch this case.
10715 cat >conftest.$ac_ext <<_ACEOF
10716 #line $LINENO "configure"
10717 /* confdefs.h. */
10718 _ACEOF
10719 cat confdefs.h >>conftest.$ac_ext
10720 cat >>conftest.$ac_ext <<_ACEOF
10721 /* end confdefs.h. */
10722 #ifdef __STDC__
10723 # include <limits.h>
10724 #else
10725 # include <assert.h>
10726 #endif
10727 Syntax error
10728 _ACEOF
10729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10731 ac_status=$?
10732 grep -v '^ *+' conftest.er1 >conftest.err
10733 rm -f conftest.er1
10734 cat conftest.err >&5
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); } >/dev/null; then
10737 if test -s conftest.err; then
10738 ac_cpp_err=$ac_c_preproc_warn_flag
10739 else
10740 ac_cpp_err=
10741 fi
10742 else
10743 ac_cpp_err=yes
10744 fi
10745 if test -z "$ac_cpp_err"; then
10746 :
10747 else
10748 echo "$as_me: failed program was:" >&5
10749 sed 's/^/| /' conftest.$ac_ext >&5
10750
10751 # Broken: fails on valid input.
10752 continue
10753 fi
10754 rm -f conftest.err conftest.$ac_ext
10755
10756 # OK, works on sane cases. Now check whether non-existent headers
10757 # can be detected and how.
10758 cat >conftest.$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10760 /* confdefs.h. */
10761 _ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #include <ac_nonexistent.h>
10766 _ACEOF
10767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10769 ac_status=$?
10770 grep -v '^ *+' conftest.er1 >conftest.err
10771 rm -f conftest.er1
10772 cat conftest.err >&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); } >/dev/null; then
10775 if test -s conftest.err; then
10776 ac_cpp_err=$ac_c_preproc_warn_flag
10777 else
10778 ac_cpp_err=
10779 fi
10780 else
10781 ac_cpp_err=yes
10782 fi
10783 if test -z "$ac_cpp_err"; then
10784 # Broken: success on invalid input.
10785 continue
10786 else
10787 echo "$as_me: failed program was:" >&5
10788 sed 's/^/| /' conftest.$ac_ext >&5
10789
10790 # Passes both tests.
10791 ac_preproc_ok=:
10792 break
10793 fi
10794 rm -f conftest.err conftest.$ac_ext
10795
10796 done
10797 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10798 rm -f conftest.err conftest.$ac_ext
10799 if $ac_preproc_ok; then
10800 break
10801 fi
10802
10803 done
10804 ac_cv_prog_CPP=$CPP
10805
10806 fi
10807 CPP=$ac_cv_prog_CPP
10808 else
10809 ac_cv_prog_CPP=$CPP
10810 fi
10811 echo "$as_me:$LINENO: result: $CPP" >&5
10812 echo "${ECHO_T}$CPP" >&6
10813 ac_preproc_ok=false
10814 for ac_c_preproc_warn_flag in '' yes
10815 do
10816 # Use a header file that comes with gcc, so configuring glibc
10817 # with a fresh cross-compiler works.
10818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10819 # <limits.h> exists even on freestanding compilers.
10820 # On the NeXT, cc -E runs the code through the compiler's parser,
10821 # not just through cpp. "Syntax error" is here to catch this case.
10822 cat >conftest.$ac_ext <<_ACEOF
10823 #line $LINENO "configure"
10824 /* confdefs.h. */
10825 _ACEOF
10826 cat confdefs.h >>conftest.$ac_ext
10827 cat >>conftest.$ac_ext <<_ACEOF
10828 /* end confdefs.h. */
10829 #ifdef __STDC__
10830 # include <limits.h>
10831 #else
10832 # include <assert.h>
10833 #endif
10834 Syntax error
10835 _ACEOF
10836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10838 ac_status=$?
10839 grep -v '^ *+' conftest.er1 >conftest.err
10840 rm -f conftest.er1
10841 cat conftest.err >&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } >/dev/null; then
10844 if test -s conftest.err; then
10845 ac_cpp_err=$ac_c_preproc_warn_flag
10846 else
10847 ac_cpp_err=
10848 fi
10849 else
10850 ac_cpp_err=yes
10851 fi
10852 if test -z "$ac_cpp_err"; then
10853 :
10854 else
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.$ac_ext >&5
10857
10858 # Broken: fails on valid input.
10859 continue
10860 fi
10861 rm -f conftest.err conftest.$ac_ext
10862
10863 # OK, works on sane cases. Now check whether non-existent headers
10864 # can be detected and how.
10865 cat >conftest.$ac_ext <<_ACEOF
10866 #line $LINENO "configure"
10867 /* confdefs.h. */
10868 _ACEOF
10869 cat confdefs.h >>conftest.$ac_ext
10870 cat >>conftest.$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10872 #include <ac_nonexistent.h>
10873 _ACEOF
10874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10876 ac_status=$?
10877 grep -v '^ *+' conftest.er1 >conftest.err
10878 rm -f conftest.er1
10879 cat conftest.err >&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } >/dev/null; then
10882 if test -s conftest.err; then
10883 ac_cpp_err=$ac_c_preproc_warn_flag
10884 else
10885 ac_cpp_err=
10886 fi
10887 else
10888 ac_cpp_err=yes
10889 fi
10890 if test -z "$ac_cpp_err"; then
10891 # Broken: success on invalid input.
10892 continue
10893 else
10894 echo "$as_me: failed program was:" >&5
10895 sed 's/^/| /' conftest.$ac_ext >&5
10896
10897 # Passes both tests.
10898 ac_preproc_ok=:
10899 break
10900 fi
10901 rm -f conftest.err conftest.$ac_ext
10902
10903 done
10904 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10905 rm -f conftest.err conftest.$ac_ext
10906 if $ac_preproc_ok; then
10907 :
10908 else
10909 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10910 See \`config.log' for more details." >&5
10911 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10912 See \`config.log' for more details." >&2;}
10913 { (exit 1); exit 1; }; }
10914 fi
10915
10916 ac_ext=c
10917 ac_cpp='$CPP $CPPFLAGS'
10918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10921
10922
10923 echo "$as_me:$LINENO: checking for egrep" >&5
10924 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10925 if test "${ac_cv_prog_egrep+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 else
10928 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10929 then ac_cv_prog_egrep='grep -E'
10930 else ac_cv_prog_egrep='egrep'
10931 fi
10932 fi
10933 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10934 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10935 EGREP=$ac_cv_prog_egrep
10936
10937
10938 if test $ac_cv_c_compiler_gnu = yes; then
10939 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10940 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10941 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10943 else
10944 ac_pattern="Autoconf.*'x'"
10945 cat >conftest.$ac_ext <<_ACEOF
10946 #line $LINENO "configure"
10947 /* confdefs.h. */
10948 _ACEOF
10949 cat confdefs.h >>conftest.$ac_ext
10950 cat >>conftest.$ac_ext <<_ACEOF
10951 /* end confdefs.h. */
10952 #include <sgtty.h>
10953 Autoconf TIOCGETP
10954 _ACEOF
10955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10956 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10957 ac_cv_prog_gcc_traditional=yes
10958 else
10959 ac_cv_prog_gcc_traditional=no
10960 fi
10961 rm -f conftest*
10962
10963
10964 if test $ac_cv_prog_gcc_traditional = no; then
10965 cat >conftest.$ac_ext <<_ACEOF
10966 #line $LINENO "configure"
10967 /* confdefs.h. */
10968 _ACEOF
10969 cat confdefs.h >>conftest.$ac_ext
10970 cat >>conftest.$ac_ext <<_ACEOF
10971 /* end confdefs.h. */
10972 #include <termio.h>
10973 Autoconf TCGETA
10974 _ACEOF
10975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10976 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10977 ac_cv_prog_gcc_traditional=yes
10978 fi
10979 rm -f conftest*
10980
10981 fi
10982 fi
10983 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10984 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10985 if test $ac_cv_prog_gcc_traditional = yes; then
10986 CC="$CC -traditional"
10987 fi
10988 fi
10989
10990
10991
10992
10993 ac_ext=cc
10994 ac_cpp='$CXXCPP $CPPFLAGS'
10995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10998
10999
11000 CXXFLAGS=${CXXFLAGS:=}
11001 ac_ext=cc
11002 ac_cpp='$CXXCPP $CPPFLAGS'
11003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11006 if test -n "$ac_tool_prefix"; then
11007 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11008 do
11009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11011 echo "$as_me:$LINENO: checking for $ac_word" >&5
11012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11013 if test "${ac_cv_prog_CXX+set}" = set; then
11014 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 else
11016 if test -n "$CXX"; then
11017 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11018 else
11019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11020 for as_dir in $PATH
11021 do
11022 IFS=$as_save_IFS
11023 test -z "$as_dir" && as_dir=.
11024 for ac_exec_ext in '' $ac_executable_extensions; do
11025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11026 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11028 break 2
11029 fi
11030 done
11031 done
11032
11033 fi
11034 fi
11035 CXX=$ac_cv_prog_CXX
11036 if test -n "$CXX"; then
11037 echo "$as_me:$LINENO: result: $CXX" >&5
11038 echo "${ECHO_T}$CXX" >&6
11039 else
11040 echo "$as_me:$LINENO: result: no" >&5
11041 echo "${ECHO_T}no" >&6
11042 fi
11043
11044 test -n "$CXX" && break
11045 done
11046 fi
11047 if test -z "$CXX"; then
11048 ac_ct_CXX=$CXX
11049 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11050 do
11051 # Extract the first word of "$ac_prog", so it can be a program name with args.
11052 set dummy $ac_prog; ac_word=$2
11053 echo "$as_me:$LINENO: checking for $ac_word" >&5
11054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11055 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 else
11058 if test -n "$ac_ct_CXX"; then
11059 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11060 else
11061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11062 for as_dir in $PATH
11063 do
11064 IFS=$as_save_IFS
11065 test -z "$as_dir" && as_dir=.
11066 for ac_exec_ext in '' $ac_executable_extensions; do
11067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11068 ac_cv_prog_ac_ct_CXX="$ac_prog"
11069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11070 break 2
11071 fi
11072 done
11073 done
11074
11075 fi
11076 fi
11077 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11078 if test -n "$ac_ct_CXX"; then
11079 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11080 echo "${ECHO_T}$ac_ct_CXX" >&6
11081 else
11082 echo "$as_me:$LINENO: result: no" >&5
11083 echo "${ECHO_T}no" >&6
11084 fi
11085
11086 test -n "$ac_ct_CXX" && break
11087 done
11088 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11089
11090 CXX=$ac_ct_CXX
11091 fi
11092
11093
11094 # Provide some information about the compiler.
11095 echo "$as_me:$LINENO:" \
11096 "checking for C++ compiler version" >&5
11097 ac_compiler=`set X $ac_compile; echo $2`
11098 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11099 (eval $ac_compiler --version </dev/null >&5) 2>&5
11100 ac_status=$?
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); }
11103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11104 (eval $ac_compiler -v </dev/null >&5) 2>&5
11105 ac_status=$?
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); }
11108 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11109 (eval $ac_compiler -V </dev/null >&5) 2>&5
11110 ac_status=$?
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); }
11113
11114 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11115 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11116 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else
11119 cat >conftest.$ac_ext <<_ACEOF
11120 #line $LINENO "configure"
11121 /* confdefs.h. */
11122 _ACEOF
11123 cat confdefs.h >>conftest.$ac_ext
11124 cat >>conftest.$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126
11127 int
11128 main ()
11129 {
11130 #ifndef __GNUC__
11131 choke me
11132 #endif
11133
11134 ;
11135 return 0;
11136 }
11137 _ACEOF
11138 rm -f conftest.$ac_objext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11140 (eval $ac_compile) 2>&5
11141 ac_status=$?
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_compiler_gnu=yes
11151 else
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.$ac_ext >&5
11154
11155 ac_compiler_gnu=no
11156 fi
11157 rm -f conftest.$ac_objext conftest.$ac_ext
11158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11159
11160 fi
11161 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11163 GXX=`test $ac_compiler_gnu = yes && echo yes`
11164 ac_test_CXXFLAGS=${CXXFLAGS+set}
11165 ac_save_CXXFLAGS=$CXXFLAGS
11166 CXXFLAGS="-g"
11167 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11169 if test "${ac_cv_prog_cxx_g+set}" = set; then
11170 echo $ECHO_N "(cached) $ECHO_C" >&6
11171 else
11172 cat >conftest.$ac_ext <<_ACEOF
11173 #line $LINENO "configure"
11174 /* confdefs.h. */
11175 _ACEOF
11176 cat confdefs.h >>conftest.$ac_ext
11177 cat >>conftest.$ac_ext <<_ACEOF
11178 /* end confdefs.h. */
11179
11180 int
11181 main ()
11182 {
11183
11184 ;
11185 return 0;
11186 }
11187 _ACEOF
11188 rm -f conftest.$ac_objext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11190 (eval $ac_compile) 2>&5
11191 ac_status=$?
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } &&
11194 { ac_try='test -s conftest.$ac_objext'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11197 ac_status=$?
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; }; then
11200 ac_cv_prog_cxx_g=yes
11201 else
11202 echo "$as_me: failed program was:" >&5
11203 sed 's/^/| /' conftest.$ac_ext >&5
11204
11205 ac_cv_prog_cxx_g=no
11206 fi
11207 rm -f conftest.$ac_objext conftest.$ac_ext
11208 fi
11209 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11210 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11211 if test "$ac_test_CXXFLAGS" = set; then
11212 CXXFLAGS=$ac_save_CXXFLAGS
11213 elif test $ac_cv_prog_cxx_g = yes; then
11214 if test "$GXX" = yes; then
11215 CXXFLAGS="-g -O2"
11216 else
11217 CXXFLAGS="-g"
11218 fi
11219 else
11220 if test "$GXX" = yes; then
11221 CXXFLAGS="-O2"
11222 else
11223 CXXFLAGS=
11224 fi
11225 fi
11226 for ac_declaration in \
11227 ''\
11228 '#include <stdlib.h>' \
11229 'extern "C" void std::exit (int) throw (); using std::exit;' \
11230 'extern "C" void std::exit (int); using std::exit;' \
11231 'extern "C" void exit (int) throw ();' \
11232 'extern "C" void exit (int);' \
11233 'void exit (int);'
11234 do
11235 cat >conftest.$ac_ext <<_ACEOF
11236 #line $LINENO "configure"
11237 /* confdefs.h. */
11238 _ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11242 #include <stdlib.h>
11243 $ac_declaration
11244 int
11245 main ()
11246 {
11247 exit (42);
11248 ;
11249 return 0;
11250 }
11251 _ACEOF
11252 rm -f conftest.$ac_objext
11253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11254 (eval $ac_compile) 2>&5
11255 ac_status=$?
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); } &&
11258 { ac_try='test -s conftest.$ac_objext'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11261 ac_status=$?
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; }; then
11264 :
11265 else
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.$ac_ext >&5
11268
11269 continue
11270 fi
11271 rm -f conftest.$ac_objext conftest.$ac_ext
11272 cat >conftest.$ac_ext <<_ACEOF
11273 #line $LINENO "configure"
11274 /* confdefs.h. */
11275 _ACEOF
11276 cat confdefs.h >>conftest.$ac_ext
11277 cat >>conftest.$ac_ext <<_ACEOF
11278 /* end confdefs.h. */
11279 $ac_declaration
11280 int
11281 main ()
11282 {
11283 exit (42);
11284 ;
11285 return 0;
11286 }
11287 _ACEOF
11288 rm -f conftest.$ac_objext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11290 (eval $ac_compile) 2>&5
11291 ac_status=$?
11292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 (exit $ac_status); } &&
11294 { ac_try='test -s conftest.$ac_objext'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11297 ac_status=$?
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; }; then
11300 break
11301 else
11302 echo "$as_me: failed program was:" >&5
11303 sed 's/^/| /' conftest.$ac_ext >&5
11304
11305 fi
11306 rm -f conftest.$ac_objext conftest.$ac_ext
11307 done
11308 rm -f conftest*
11309 if test -n "$ac_declaration"; then
11310 echo '#ifdef __cplusplus' >>confdefs.h
11311 echo $ac_declaration >>confdefs.h
11312 echo '#endif' >>confdefs.h
11313 fi
11314
11315 ac_ext=cc
11316 ac_cpp='$CXXCPP $CPPFLAGS'
11317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11320
11321
11322 ac_ext=c
11323 ac_cpp='$CPP $CPPFLAGS'
11324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11327
11328
11329 if test -n "$ac_tool_prefix"; then
11330 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11331 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11332 echo "$as_me:$LINENO: checking for $ac_word" >&5
11333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11334 if test "${ac_cv_prog_RANLIB+set}" = set; then
11335 echo $ECHO_N "(cached) $ECHO_C" >&6
11336 else
11337 if test -n "$RANLIB"; then
11338 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11339 else
11340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11341 for as_dir in $PATH
11342 do
11343 IFS=$as_save_IFS
11344 test -z "$as_dir" && as_dir=.
11345 for ac_exec_ext in '' $ac_executable_extensions; do
11346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11347 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11349 break 2
11350 fi
11351 done
11352 done
11353
11354 fi
11355 fi
11356 RANLIB=$ac_cv_prog_RANLIB
11357 if test -n "$RANLIB"; then
11358 echo "$as_me:$LINENO: result: $RANLIB" >&5
11359 echo "${ECHO_T}$RANLIB" >&6
11360 else
11361 echo "$as_me:$LINENO: result: no" >&5
11362 echo "${ECHO_T}no" >&6
11363 fi
11364
11365 fi
11366 if test -z "$ac_cv_prog_RANLIB"; then
11367 ac_ct_RANLIB=$RANLIB
11368 # Extract the first word of "ranlib", so it can be a program name with args.
11369 set dummy ranlib; ac_word=$2
11370 echo "$as_me:$LINENO: checking for $ac_word" >&5
11371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11372 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11373 echo $ECHO_N "(cached) $ECHO_C" >&6
11374 else
11375 if test -n "$ac_ct_RANLIB"; then
11376 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11377 else
11378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11379 for as_dir in $PATH
11380 do
11381 IFS=$as_save_IFS
11382 test -z "$as_dir" && as_dir=.
11383 for ac_exec_ext in '' $ac_executable_extensions; do
11384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11385 ac_cv_prog_ac_ct_RANLIB="ranlib"
11386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11387 break 2
11388 fi
11389 done
11390 done
11391
11392 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11393 fi
11394 fi
11395 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11396 if test -n "$ac_ct_RANLIB"; then
11397 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11398 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11399 else
11400 echo "$as_me:$LINENO: result: no" >&5
11401 echo "${ECHO_T}no" >&6
11402 fi
11403
11404 RANLIB=$ac_ct_RANLIB
11405 else
11406 RANLIB="$ac_cv_prog_RANLIB"
11407 fi
11408
11409
11410 # Extract the first word of "ar", so it can be a program name with args.
11411 set dummy ar; ac_word=$2
11412 echo "$as_me:$LINENO: checking for $ac_word" >&5
11413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11414 if test "${ac_cv_prog_AR+set}" = set; then
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
11416 else
11417 if test -n "$AR"; then
11418 ac_cv_prog_AR="$AR" # Let the user override the test.
11419 else
11420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421 for as_dir in $PATH
11422 do
11423 IFS=$as_save_IFS
11424 test -z "$as_dir" && as_dir=.
11425 for ac_exec_ext in '' $ac_executable_extensions; do
11426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11427 ac_cv_prog_AR="ar"
11428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11429 break 2
11430 fi
11431 done
11432 done
11433
11434 fi
11435 fi
11436 AR=$ac_cv_prog_AR
11437 if test -n "$AR"; then
11438 echo "$as_me:$LINENO: result: $AR" >&5
11439 echo "${ECHO_T}$AR" >&6
11440 else
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11443 fi
11444
11445 if test "x$AR" = "x" ; then
11446 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11447 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11448 { (exit 1); exit 1; }; }
11449 fi
11450
11451 # Find a good install program. We prefer a C program (faster),
11452 # so one script is as good as another. But avoid the broken or
11453 # incompatible versions:
11454 # SysV /etc/install, /usr/sbin/install
11455 # SunOS /usr/etc/install
11456 # IRIX /sbin/install
11457 # AIX /bin/install
11458 # AmigaOS /C/install, which installs bootblocks on floppy discs
11459 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11462 # ./install, which can be erroneously created by make from ./install.sh.
11463 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11464 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11465 if test -z "$INSTALL"; then
11466 if test "${ac_cv_path_install+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 else
11469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11470 for as_dir in $PATH
11471 do
11472 IFS=$as_save_IFS
11473 test -z "$as_dir" && as_dir=.
11474 # Account for people who put trailing slashes in PATH elements.
11475 case $as_dir/ in
11476 ./ | .// | /cC/* | \
11477 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11478 /usr/ucb/* ) ;;
11479 *)
11480 # OSF1 and SCO ODT 3.0 have their own names for install.
11481 # Don't use installbsd from OSF since it installs stuff as root
11482 # by default.
11483 for ac_prog in ginstall scoinst install; do
11484 for ac_exec_ext in '' $ac_executable_extensions; do
11485 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11486 if test $ac_prog = install &&
11487 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11488 # AIX install. It has an incompatible calling convention.
11489 :
11490 elif test $ac_prog = install &&
11491 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11492 # program-specific install script used by HP pwplus--don't use.
11493 :
11494 else
11495 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11496 break 3
11497 fi
11498 fi
11499 done
11500 done
11501 ;;
11502 esac
11503 done
11504
11505
11506 fi
11507 if test "${ac_cv_path_install+set}" = set; then
11508 INSTALL=$ac_cv_path_install
11509 else
11510 # As a last resort, use the slow shell script. We don't cache a
11511 # path for INSTALL within a source directory, because that will
11512 # break other packages using the cache if that directory is
11513 # removed, or if the path is relative.
11514 INSTALL=$ac_install_sh
11515 fi
11516 fi
11517 echo "$as_me:$LINENO: result: $INSTALL" >&5
11518 echo "${ECHO_T}$INSTALL" >&6
11519
11520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11521 # It thinks the first close brace ends the variable substitution.
11522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11523
11524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11525
11526 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11527
11528
11529 case ${INSTALL} in
11530 /* ) # Absolute
11531 ;;
11532 ?:* ) # Drive letter, considered as absolute.
11533 ;;
11534 *)
11535 INSTALL=`pwd`/${INSTALL} ;;
11536 esac
11537
11538 case ${host} in
11539 *-hp-hpux* )
11540 INSTALL_DIR="mkdir"
11541 ;;
11542
11543 *) INSTALL_DIR="$INSTALL -d"
11544 ;;
11545 esac
11546
11547
11548 case "${host}" in
11549
11550 powerpc-*-darwin* )
11551 INSTALL_PROGRAM="cp -fp"
11552 INSTALL_DATA="cp -fp"
11553 ;;
11554 *)
11555 ;;
11556 esac
11557
11558 # Extract the first word of "strip", so it can be a program name with args.
11559 set dummy strip; ac_word=$2
11560 echo "$as_me:$LINENO: checking for $ac_word" >&5
11561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11562 if test "${ac_cv_prog_STRIP+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11564 else
11565 if test -n "$STRIP"; then
11566 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11567 else
11568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11569 for as_dir in $PATH
11570 do
11571 IFS=$as_save_IFS
11572 test -z "$as_dir" && as_dir=.
11573 for ac_exec_ext in '' $ac_executable_extensions; do
11574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11575 ac_cv_prog_STRIP="strip"
11576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11577 break 2
11578 fi
11579 done
11580 done
11581
11582 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11583 fi
11584 fi
11585 STRIP=$ac_cv_prog_STRIP
11586 if test -n "$STRIP"; then
11587 echo "$as_me:$LINENO: result: $STRIP" >&5
11588 echo "${ECHO_T}$STRIP" >&6
11589 else
11590 echo "$as_me:$LINENO: result: no" >&5
11591 echo "${ECHO_T}no" >&6
11592 fi
11593
11594
11595 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11596 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11597 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 else
11600
11601 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11602 egrep -s GNU > /dev/null); then
11603 wx_cv_prog_makeisgnu="yes"
11604 else
11605 wx_cv_prog_makeisgnu="no"
11606 fi
11607
11608 fi
11609 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11610 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11611
11612 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11613 IF_GNU_MAKE=""
11614 else
11615 IF_GNU_MAKE="#"
11616 fi
11617
11618
11619
11620 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11621 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11622 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11623 if test "${wx_cv_prog_makevpath+set}" = set; then
11624 echo $ECHO_N "(cached) $ECHO_C" >&6
11625 else
11626
11627 cat - << EOF > confMake
11628 check : file
11629 cp \$? \$@
11630 cp \$? final_file
11631 EOF
11632
11633 if test ! -d sub ; then
11634 mkdir sub
11635 fi
11636 echo dummy > sub/file
11637 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11638 RESULT=$?
11639 rm -f sub/file check final_file confMake
11640 rmdir sub
11641 if test "$RESULT" = 0; then
11642 wx_cv_prog_makevpath="yes"
11643 else
11644 wx_cv_prog_makevpath="no"
11645 fi
11646
11647 fi
11648 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11649 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11650
11651 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11652 { { echo "$as_me:$LINENO: error:
11653 You need a make-utility that is able to use the variable
11654 VPATH correctly.
11655 If your version of make does not support VPATH correctly,
11656 please install GNU-make (possibly as gmake), and start
11657 configure with the following command:
11658 export MAKE=gmake; ./configure for sh-type shells
11659 setenv MAKE gmake; ./configure for csh-type shells
11660 Also please do remember to use gmake in this case every time
11661 you are trying to compile.
11662 " >&5
11663 echo "$as_me: error:
11664 You need a make-utility that is able to use the variable
11665 VPATH correctly.
11666 If your version of make does not support VPATH correctly,
11667 please install GNU-make (possibly as gmake), and start
11668 configure with the following command:
11669 export MAKE=gmake; ./configure for sh-type shells
11670 setenv MAKE gmake; ./configure for csh-type shells
11671 Also please do remember to use gmake in this case every time
11672 you are trying to compile.
11673 " >&2;}
11674 { (exit 1); exit 1; }; }
11675 fi fi
11676 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11677 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11678 LN_S=$as_ln_s
11679 if test "$LN_S" = "ln -s"; then
11680 echo "$as_me:$LINENO: result: yes" >&5
11681 echo "${ECHO_T}yes" >&6
11682 else
11683 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11684 echo "${ECHO_T}no, using $LN_S" >&6
11685 fi
11686
11687
11688 case "${host}" in
11689 *-pc-os2_emx | *-pc-os2-emx )
11690 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11691 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11692 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11693 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11694 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 else
11696 ac_check_lib_save_LIBS=$LIBS
11697 LIBS="-lcExt $LIBS"
11698 cat >conftest.$ac_ext <<_ACEOF
11699 #line $LINENO "configure"
11700 /* confdefs.h. */
11701 _ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705
11706 /* Override any gcc2 internal prototype to avoid an error. */
11707 #ifdef __cplusplus
11708 extern "C"
11709 #endif
11710 /* We use char because int might match the return type of a gcc2
11711 builtin and then its argument prototype would still apply. */
11712 char drand48 ();
11713 int
11714 main ()
11715 {
11716 drand48 ();
11717 ;
11718 return 0;
11719 }
11720 _ACEOF
11721 rm -f conftest.$ac_objext conftest$ac_exeext
11722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11723 (eval $ac_link) 2>&5
11724 ac_status=$?
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try='test -s conftest$ac_exeext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11730 ac_status=$?
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 ac_cv_lib_cExt_drand48=yes
11734 else
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.$ac_ext >&5
11737
11738 ac_cv_lib_cExt_drand48=no
11739 fi
11740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11741 LIBS=$ac_check_lib_save_LIBS
11742 fi
11743 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11744 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11745 if test $ac_cv_lib_cExt_drand48 = yes; then
11746 LIBS="$LIBS -lcExt"
11747 fi
11748
11749 else
11750 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11751 fi
11752 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11753 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11754 if test "${wx_cv_gcc3+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11756 else
11757
11758 cat >conftest.$ac_ext <<_ACEOF
11759 #line $LINENO "configure"
11760 /* confdefs.h. */
11761 _ACEOF
11762 cat confdefs.h >>conftest.$ac_ext
11763 cat >>conftest.$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11765 #include <features.h>
11766 int
11767 main ()
11768 {
11769
11770 #if (__GNUC__ < 3)
11771 #error old gcc
11772 #endif
11773
11774 ;
11775 return 0;
11776 }
11777 _ACEOF
11778 rm -f conftest.$ac_objext
11779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11780 (eval $ac_compile) 2>&5
11781 ac_status=$?
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } &&
11784 { ac_try='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11787 ac_status=$?
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790
11791 wx_cv_gcc3=yes
11792
11793 else
11794 echo "$as_me: failed program was:" >&5
11795 sed 's/^/| /' conftest.$ac_ext >&5
11796
11797
11798 wx_cv_gcc3=no
11799
11800
11801 fi
11802 rm -f conftest.$ac_objext conftest.$ac_ext
11803
11804 fi
11805 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11806 echo "${ECHO_T}$wx_cv_gcc3" >&6
11807 if test "$wx_cv_gcc3" = "no"; then
11808 LIBS="$LIBS -lstdcpp"
11809 else
11810 LIBS="$LIBS -lstdcxx"
11811 fi
11812 ;;
11813 esac
11814
11815
11816 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11817 echo "$as_me:$LINENO: checking for strings.h" >&5
11818 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11819 if test "${ac_cv_header_strings_h+set}" = set; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11821 else
11822 ac_cv_header_strings_h=no
11823 fi
11824 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11825 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11826 if test "$ac_cv_header_strings_h" = "no"; then
11827 echo "$as_me:$LINENO: result: forced no into cache" >&5
11828 echo "${ECHO_T}forced no into cache" >&6
11829 else
11830 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11831 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11832 fi
11833 fi
11834 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11835 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11836 if test "${ac_cv_header_stdc+set}" = set; then
11837 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 else
11839 cat >conftest.$ac_ext <<_ACEOF
11840 #line $LINENO "configure"
11841 /* confdefs.h. */
11842 _ACEOF
11843 cat confdefs.h >>conftest.$ac_ext
11844 cat >>conftest.$ac_ext <<_ACEOF
11845 /* end confdefs.h. */
11846 #include <stdlib.h>
11847 #include <stdarg.h>
11848 #include <string.h>
11849 #include <float.h>
11850
11851 int
11852 main ()
11853 {
11854
11855 ;
11856 return 0;
11857 }
11858 _ACEOF
11859 rm -f conftest.$ac_objext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11861 (eval $ac_compile) 2>&5
11862 ac_status=$?
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try='test -s conftest.$ac_objext'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11868 ac_status=$?
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; }; then
11871 ac_cv_header_stdc=yes
11872 else
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.$ac_ext >&5
11875
11876 ac_cv_header_stdc=no
11877 fi
11878 rm -f conftest.$ac_objext conftest.$ac_ext
11879
11880 if test $ac_cv_header_stdc = yes; then
11881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11882 cat >conftest.$ac_ext <<_ACEOF
11883 #line $LINENO "configure"
11884 /* confdefs.h. */
11885 _ACEOF
11886 cat confdefs.h >>conftest.$ac_ext
11887 cat >>conftest.$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 #include <string.h>
11890
11891 _ACEOF
11892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11893 $EGREP "memchr" >/dev/null 2>&1; then
11894 :
11895 else
11896 ac_cv_header_stdc=no
11897 fi
11898 rm -f conftest*
11899
11900 fi
11901
11902 if test $ac_cv_header_stdc = yes; then
11903 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11904 cat >conftest.$ac_ext <<_ACEOF
11905 #line $LINENO "configure"
11906 /* confdefs.h. */
11907 _ACEOF
11908 cat confdefs.h >>conftest.$ac_ext
11909 cat >>conftest.$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11911 #include <stdlib.h>
11912
11913 _ACEOF
11914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11915 $EGREP "free" >/dev/null 2>&1; then
11916 :
11917 else
11918 ac_cv_header_stdc=no
11919 fi
11920 rm -f conftest*
11921
11922 fi
11923
11924 if test $ac_cv_header_stdc = yes; then
11925 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11926 if test "$cross_compiling" = yes; then
11927 :
11928 else
11929 cat >conftest.$ac_ext <<_ACEOF
11930 #line $LINENO "configure"
11931 /* confdefs.h. */
11932 _ACEOF
11933 cat confdefs.h >>conftest.$ac_ext
11934 cat >>conftest.$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11936 #include <ctype.h>
11937 #if ((' ' & 0x0FF) == 0x020)
11938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11940 #else
11941 # define ISLOWER(c) \
11942 (('a' <= (c) && (c) <= 'i') \
11943 || ('j' <= (c) && (c) <= 'r') \
11944 || ('s' <= (c) && (c) <= 'z'))
11945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11946 #endif
11947
11948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11949 int
11950 main ()
11951 {
11952 int i;
11953 for (i = 0; i < 256; i++)
11954 if (XOR (islower (i), ISLOWER (i))
11955 || toupper (i) != TOUPPER (i))
11956 exit(2);
11957 exit (0);
11958 }
11959 _ACEOF
11960 rm -f conftest$ac_exeext
11961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11962 (eval $ac_link) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; }; then
11971 :
11972 else
11973 echo "$as_me: program exited with status $ac_status" >&5
11974 echo "$as_me: failed program was:" >&5
11975 sed 's/^/| /' conftest.$ac_ext >&5
11976
11977 ( exit $ac_status )
11978 ac_cv_header_stdc=no
11979 fi
11980 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11981 fi
11982 fi
11983 fi
11984 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11985 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11986 if test $ac_cv_header_stdc = yes; then
11987
11988 cat >>confdefs.h <<\_ACEOF
11989 #define STDC_HEADERS 1
11990 _ACEOF
11991
11992 fi
11993
11994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12005 inttypes.h stdint.h unistd.h
12006 do
12007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12008 echo "$as_me:$LINENO: checking for $ac_header" >&5
12009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12011 echo $ECHO_N "(cached) $ECHO_C" >&6
12012 else
12013 cat >conftest.$ac_ext <<_ACEOF
12014 #line $LINENO "configure"
12015 /* confdefs.h. */
12016 _ACEOF
12017 cat confdefs.h >>conftest.$ac_ext
12018 cat >>conftest.$ac_ext <<_ACEOF
12019 /* end confdefs.h. */
12020 $ac_includes_default
12021
12022 #include <$ac_header>
12023 _ACEOF
12024 rm -f conftest.$ac_objext
12025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12026 (eval $ac_compile) 2>&5
12027 ac_status=$?
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try='test -s conftest.$ac_objext'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12033 ac_status=$?
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; }; then
12036 eval "$as_ac_Header=yes"
12037 else
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.$ac_ext >&5
12040
12041 eval "$as_ac_Header=no"
12042 fi
12043 rm -f conftest.$ac_objext conftest.$ac_ext
12044 fi
12045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12048 cat >>confdefs.h <<_ACEOF
12049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12050 _ACEOF
12051
12052 fi
12053
12054 done
12055
12056
12057
12058 for ac_header in strings.h
12059 do
12060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12062 echo "$as_me:$LINENO: checking for $ac_header" >&5
12063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 fi
12067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12069 else
12070 # Is the header compilable?
12071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12073 cat >conftest.$ac_ext <<_ACEOF
12074 #line $LINENO "configure"
12075 /* confdefs.h. */
12076 _ACEOF
12077 cat confdefs.h >>conftest.$ac_ext
12078 cat >>conftest.$ac_ext <<_ACEOF
12079 /* end confdefs.h. */
12080 $ac_includes_default
12081 #include <$ac_header>
12082 _ACEOF
12083 rm -f conftest.$ac_objext
12084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12085 (eval $ac_compile) 2>&5
12086 ac_status=$?
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); } &&
12089 { ac_try='test -s conftest.$ac_objext'
12090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091 (eval $ac_try) 2>&5
12092 ac_status=$?
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; }; then
12095 ac_header_compiler=yes
12096 else
12097 echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.$ac_ext >&5
12099
12100 ac_header_compiler=no
12101 fi
12102 rm -f conftest.$ac_objext conftest.$ac_ext
12103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12104 echo "${ECHO_T}$ac_header_compiler" >&6
12105
12106 # Is the header present?
12107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12109 cat >conftest.$ac_ext <<_ACEOF
12110 #line $LINENO "configure"
12111 /* confdefs.h. */
12112 _ACEOF
12113 cat confdefs.h >>conftest.$ac_ext
12114 cat >>conftest.$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12116 #include <$ac_header>
12117 _ACEOF
12118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12120 ac_status=$?
12121 grep -v '^ *+' conftest.er1 >conftest.err
12122 rm -f conftest.er1
12123 cat conftest.err >&5
12124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12125 (exit $ac_status); } >/dev/null; then
12126 if test -s conftest.err; then
12127 ac_cpp_err=$ac_c_preproc_warn_flag
12128 else
12129 ac_cpp_err=
12130 fi
12131 else
12132 ac_cpp_err=yes
12133 fi
12134 if test -z "$ac_cpp_err"; then
12135 ac_header_preproc=yes
12136 else
12137 echo "$as_me: failed program was:" >&5
12138 sed 's/^/| /' conftest.$ac_ext >&5
12139
12140 ac_header_preproc=no
12141 fi
12142 rm -f conftest.err conftest.$ac_ext
12143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12144 echo "${ECHO_T}$ac_header_preproc" >&6
12145
12146 # So? What about this header?
12147 case $ac_header_compiler:$ac_header_preproc in
12148 yes:no )
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12153 (
12154 cat <<\_ASBOX
12155 ## ------------------------------------ ##
12156 ## Report this to bug-autoconf@gnu.org. ##
12157 ## ------------------------------------ ##
12158 _ASBOX
12159 ) |
12160 sed "s/^/$as_me: WARNING: /" >&2
12161 ;;
12162 no:yes )
12163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12169 (
12170 cat <<\_ASBOX
12171 ## ------------------------------------ ##
12172 ## Report this to bug-autoconf@gnu.org. ##
12173 ## ------------------------------------ ##
12174 _ASBOX
12175 ) |
12176 sed "s/^/$as_me: WARNING: /" >&2
12177 ;;
12178 esac
12179 echo "$as_me:$LINENO: checking for $ac_header" >&5
12180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12183 else
12184 eval "$as_ac_Header=$ac_header_preproc"
12185 fi
12186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12188
12189 fi
12190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12191 cat >>confdefs.h <<_ACEOF
12192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12193 _ACEOF
12194
12195 fi
12196
12197 done
12198
12199
12200
12201 for ac_header in stdlib.h
12202 do
12203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12205 echo "$as_me:$LINENO: checking for $ac_header" >&5
12206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12207 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 fi
12210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12212 else
12213 # Is the header compilable?
12214 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12216 cat >conftest.$ac_ext <<_ACEOF
12217 #line $LINENO "configure"
12218 /* confdefs.h. */
12219 _ACEOF
12220 cat confdefs.h >>conftest.$ac_ext
12221 cat >>conftest.$ac_ext <<_ACEOF
12222 /* end confdefs.h. */
12223 $ac_includes_default
12224 #include <$ac_header>
12225 _ACEOF
12226 rm -f conftest.$ac_objext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12228 (eval $ac_compile) 2>&5
12229 ac_status=$?
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } &&
12232 { ac_try='test -s conftest.$ac_objext'
12233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12234 (eval $ac_try) 2>&5
12235 ac_status=$?
12236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237 (exit $ac_status); }; }; then
12238 ac_header_compiler=yes
12239 else
12240 echo "$as_me: failed program was:" >&5
12241 sed 's/^/| /' conftest.$ac_ext >&5
12242
12243 ac_header_compiler=no
12244 fi
12245 rm -f conftest.$ac_objext conftest.$ac_ext
12246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12247 echo "${ECHO_T}$ac_header_compiler" >&6
12248
12249 # Is the header present?
12250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12252 cat >conftest.$ac_ext <<_ACEOF
12253 #line $LINENO "configure"
12254 /* confdefs.h. */
12255 _ACEOF
12256 cat confdefs.h >>conftest.$ac_ext
12257 cat >>conftest.$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12259 #include <$ac_header>
12260 _ACEOF
12261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12263 ac_status=$?
12264 grep -v '^ *+' conftest.er1 >conftest.err
12265 rm -f conftest.er1
12266 cat conftest.err >&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } >/dev/null; then
12269 if test -s conftest.err; then
12270 ac_cpp_err=$ac_c_preproc_warn_flag
12271 else
12272 ac_cpp_err=
12273 fi
12274 else
12275 ac_cpp_err=yes
12276 fi
12277 if test -z "$ac_cpp_err"; then
12278 ac_header_preproc=yes
12279 else
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.$ac_ext >&5
12282
12283 ac_header_preproc=no
12284 fi
12285 rm -f conftest.err conftest.$ac_ext
12286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12287 echo "${ECHO_T}$ac_header_preproc" >&6
12288
12289 # So? What about this header?
12290 case $ac_header_compiler:$ac_header_preproc in
12291 yes:no )
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12296 (
12297 cat <<\_ASBOX
12298 ## ------------------------------------ ##
12299 ## Report this to bug-autoconf@gnu.org. ##
12300 ## ------------------------------------ ##
12301 _ASBOX
12302 ) |
12303 sed "s/^/$as_me: WARNING: /" >&2
12304 ;;
12305 no:yes )
12306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12312 (
12313 cat <<\_ASBOX
12314 ## ------------------------------------ ##
12315 ## Report this to bug-autoconf@gnu.org. ##
12316 ## ------------------------------------ ##
12317 _ASBOX
12318 ) |
12319 sed "s/^/$as_me: WARNING: /" >&2
12320 ;;
12321 esac
12322 echo "$as_me:$LINENO: checking for $ac_header" >&5
12323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 else
12327 eval "$as_ac_Header=$ac_header_preproc"
12328 fi
12329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12331
12332 fi
12333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12334 cat >>confdefs.h <<_ACEOF
12335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12336 _ACEOF
12337
12338 fi
12339
12340 done
12341
12342
12343 for ac_header in malloc.h
12344 do
12345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12347 echo "$as_me:$LINENO: checking for $ac_header" >&5
12348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12351 fi
12352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12354 else
12355 # Is the header compilable?
12356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12358 cat >conftest.$ac_ext <<_ACEOF
12359 #line $LINENO "configure"
12360 /* confdefs.h. */
12361 _ACEOF
12362 cat confdefs.h >>conftest.$ac_ext
12363 cat >>conftest.$ac_ext <<_ACEOF
12364 /* end confdefs.h. */
12365 $ac_includes_default
12366 #include <$ac_header>
12367 _ACEOF
12368 rm -f conftest.$ac_objext
12369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12370 (eval $ac_compile) 2>&5
12371 ac_status=$?
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } &&
12374 { ac_try='test -s conftest.$ac_objext'
12375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12376 (eval $ac_try) 2>&5
12377 ac_status=$?
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); }; }; then
12380 ac_header_compiler=yes
12381 else
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.$ac_ext >&5
12384
12385 ac_header_compiler=no
12386 fi
12387 rm -f conftest.$ac_objext conftest.$ac_ext
12388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12389 echo "${ECHO_T}$ac_header_compiler" >&6
12390
12391 # Is the header present?
12392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12394 cat >conftest.$ac_ext <<_ACEOF
12395 #line $LINENO "configure"
12396 /* confdefs.h. */
12397 _ACEOF
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12401 #include <$ac_header>
12402 _ACEOF
12403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12405 ac_status=$?
12406 grep -v '^ *+' conftest.er1 >conftest.err
12407 rm -f conftest.er1
12408 cat conftest.err >&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } >/dev/null; then
12411 if test -s conftest.err; then
12412 ac_cpp_err=$ac_c_preproc_warn_flag
12413 else
12414 ac_cpp_err=
12415 fi
12416 else
12417 ac_cpp_err=yes
12418 fi
12419 if test -z "$ac_cpp_err"; then
12420 ac_header_preproc=yes
12421 else
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.$ac_ext >&5
12424
12425 ac_header_preproc=no
12426 fi
12427 rm -f conftest.err conftest.$ac_ext
12428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12429 echo "${ECHO_T}$ac_header_preproc" >&6
12430
12431 # So? What about this header?
12432 case $ac_header_compiler:$ac_header_preproc in
12433 yes:no )
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12438 (
12439 cat <<\_ASBOX
12440 ## ------------------------------------ ##
12441 ## Report this to bug-autoconf@gnu.org. ##
12442 ## ------------------------------------ ##
12443 _ASBOX
12444 ) |
12445 sed "s/^/$as_me: WARNING: /" >&2
12446 ;;
12447 no:yes )
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12453 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12454 (
12455 cat <<\_ASBOX
12456 ## ------------------------------------ ##
12457 ## Report this to bug-autoconf@gnu.org. ##
12458 ## ------------------------------------ ##
12459 _ASBOX
12460 ) |
12461 sed "s/^/$as_me: WARNING: /" >&2
12462 ;;
12463 esac
12464 echo "$as_me:$LINENO: checking for $ac_header" >&5
12465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 else
12469 eval "$as_ac_Header=$ac_header_preproc"
12470 fi
12471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12473
12474 fi
12475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12476 cat >>confdefs.h <<_ACEOF
12477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12478 _ACEOF
12479
12480 fi
12481
12482 done
12483
12484
12485 for ac_header in unistd.h
12486 do
12487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12489 echo "$as_me:$LINENO: checking for $ac_header" >&5
12490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12492 echo $ECHO_N "(cached) $ECHO_C" >&6
12493 fi
12494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12496 else
12497 # Is the header compilable?
12498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12500 cat >conftest.$ac_ext <<_ACEOF
12501 #line $LINENO "configure"
12502 /* confdefs.h. */
12503 _ACEOF
12504 cat confdefs.h >>conftest.$ac_ext
12505 cat >>conftest.$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12507 $ac_includes_default
12508 #include <$ac_header>
12509 _ACEOF
12510 rm -f conftest.$ac_objext
12511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12512 (eval $ac_compile) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } &&
12516 { ac_try='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12519 ac_status=$?
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_header_compiler=yes
12523 else
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.$ac_ext >&5
12526
12527 ac_header_compiler=no
12528 fi
12529 rm -f conftest.$ac_objext conftest.$ac_ext
12530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12531 echo "${ECHO_T}$ac_header_compiler" >&6
12532
12533 # Is the header present?
12534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12536 cat >conftest.$ac_ext <<_ACEOF
12537 #line $LINENO "configure"
12538 /* confdefs.h. */
12539 _ACEOF
12540 cat confdefs.h >>conftest.$ac_ext
12541 cat >>conftest.$ac_ext <<_ACEOF
12542 /* end confdefs.h. */
12543 #include <$ac_header>
12544 _ACEOF
12545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12547 ac_status=$?
12548 grep -v '^ *+' conftest.er1 >conftest.err
12549 rm -f conftest.er1
12550 cat conftest.err >&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } >/dev/null; then
12553 if test -s conftest.err; then
12554 ac_cpp_err=$ac_c_preproc_warn_flag
12555 else
12556 ac_cpp_err=
12557 fi
12558 else
12559 ac_cpp_err=yes
12560 fi
12561 if test -z "$ac_cpp_err"; then
12562 ac_header_preproc=yes
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12566
12567 ac_header_preproc=no
12568 fi
12569 rm -f conftest.err conftest.$ac_ext
12570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12571 echo "${ECHO_T}$ac_header_preproc" >&6
12572
12573 # So? What about this header?
12574 case $ac_header_compiler:$ac_header_preproc in
12575 yes:no )
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12580 (
12581 cat <<\_ASBOX
12582 ## ------------------------------------ ##
12583 ## Report this to bug-autoconf@gnu.org. ##
12584 ## ------------------------------------ ##
12585 _ASBOX
12586 ) |
12587 sed "s/^/$as_me: WARNING: /" >&2
12588 ;;
12589 no:yes )
12590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12596 (
12597 cat <<\_ASBOX
12598 ## ------------------------------------ ##
12599 ## Report this to bug-autoconf@gnu.org. ##
12600 ## ------------------------------------ ##
12601 _ASBOX
12602 ) |
12603 sed "s/^/$as_me: WARNING: /" >&2
12604 ;;
12605 esac
12606 echo "$as_me:$LINENO: checking for $ac_header" >&5
12607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 else
12611 eval "$as_ac_Header=$ac_header_preproc"
12612 fi
12613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12615
12616 fi
12617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12618 cat >>confdefs.h <<_ACEOF
12619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12620 _ACEOF
12621
12622 fi
12623
12624 done
12625
12626
12627 for ac_header in wchar.h
12628 do
12629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12631 echo "$as_me:$LINENO: checking for $ac_header" >&5
12632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 fi
12636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12638 else
12639 # Is the header compilable?
12640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12642 cat >conftest.$ac_ext <<_ACEOF
12643 #line $LINENO "configure"
12644 /* confdefs.h. */
12645 _ACEOF
12646 cat confdefs.h >>conftest.$ac_ext
12647 cat >>conftest.$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12649 $ac_includes_default
12650 #include <$ac_header>
12651 _ACEOF
12652 rm -f conftest.$ac_objext
12653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12654 (eval $ac_compile) 2>&5
12655 ac_status=$?
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } &&
12658 { ac_try='test -s conftest.$ac_objext'
12659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12660 (eval $ac_try) 2>&5
12661 ac_status=$?
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); }; }; then
12664 ac_header_compiler=yes
12665 else
12666 echo "$as_me: failed program was:" >&5
12667 sed 's/^/| /' conftest.$ac_ext >&5
12668
12669 ac_header_compiler=no
12670 fi
12671 rm -f conftest.$ac_objext conftest.$ac_ext
12672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12673 echo "${ECHO_T}$ac_header_compiler" >&6
12674
12675 # Is the header present?
12676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12678 cat >conftest.$ac_ext <<_ACEOF
12679 #line $LINENO "configure"
12680 /* confdefs.h. */
12681 _ACEOF
12682 cat confdefs.h >>conftest.$ac_ext
12683 cat >>conftest.$ac_ext <<_ACEOF
12684 /* end confdefs.h. */
12685 #include <$ac_header>
12686 _ACEOF
12687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12689 ac_status=$?
12690 grep -v '^ *+' conftest.er1 >conftest.err
12691 rm -f conftest.er1
12692 cat conftest.err >&5
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); } >/dev/null; then
12695 if test -s conftest.err; then
12696 ac_cpp_err=$ac_c_preproc_warn_flag
12697 else
12698 ac_cpp_err=
12699 fi
12700 else
12701 ac_cpp_err=yes
12702 fi
12703 if test -z "$ac_cpp_err"; then
12704 ac_header_preproc=yes
12705 else
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12708
12709 ac_header_preproc=no
12710 fi
12711 rm -f conftest.err conftest.$ac_ext
12712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12713 echo "${ECHO_T}$ac_header_preproc" >&6
12714
12715 # So? What about this header?
12716 case $ac_header_compiler:$ac_header_preproc in
12717 yes:no )
12718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12722 (
12723 cat <<\_ASBOX
12724 ## ------------------------------------ ##
12725 ## Report this to bug-autoconf@gnu.org. ##
12726 ## ------------------------------------ ##
12727 _ASBOX
12728 ) |
12729 sed "s/^/$as_me: WARNING: /" >&2
12730 ;;
12731 no:yes )
12732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12738 (
12739 cat <<\_ASBOX
12740 ## ------------------------------------ ##
12741 ## Report this to bug-autoconf@gnu.org. ##
12742 ## ------------------------------------ ##
12743 _ASBOX
12744 ) |
12745 sed "s/^/$as_me: WARNING: /" >&2
12746 ;;
12747 esac
12748 echo "$as_me:$LINENO: checking for $ac_header" >&5
12749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 else
12753 eval "$as_ac_Header=$ac_header_preproc"
12754 fi
12755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12757
12758 fi
12759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12760 cat >>confdefs.h <<_ACEOF
12761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12762 _ACEOF
12763
12764 fi
12765
12766 done
12767
12768
12769 if test "$ac_cv_header_wchar_h" != "yes"; then
12770
12771 for ac_header in wcstr.h
12772 do
12773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12775 echo "$as_me:$LINENO: checking for $ac_header" >&5
12776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 fi
12780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12782 else
12783 # Is the header compilable?
12784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12786 cat >conftest.$ac_ext <<_ACEOF
12787 #line $LINENO "configure"
12788 /* confdefs.h. */
12789 _ACEOF
12790 cat confdefs.h >>conftest.$ac_ext
12791 cat >>conftest.$ac_ext <<_ACEOF
12792 /* end confdefs.h. */
12793 $ac_includes_default
12794 #include <$ac_header>
12795 _ACEOF
12796 rm -f conftest.$ac_objext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12798 (eval $ac_compile) 2>&5
12799 ac_status=$?
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } &&
12802 { ac_try='test -s conftest.$ac_objext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12805 ac_status=$?
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12808 ac_header_compiler=yes
12809 else
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.$ac_ext >&5
12812
12813 ac_header_compiler=no
12814 fi
12815 rm -f conftest.$ac_objext conftest.$ac_ext
12816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12817 echo "${ECHO_T}$ac_header_compiler" >&6
12818
12819 # Is the header present?
12820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12822 cat >conftest.$ac_ext <<_ACEOF
12823 #line $LINENO "configure"
12824 /* confdefs.h. */
12825 _ACEOF
12826 cat confdefs.h >>conftest.$ac_ext
12827 cat >>conftest.$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829 #include <$ac_header>
12830 _ACEOF
12831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12833 ac_status=$?
12834 grep -v '^ *+' conftest.er1 >conftest.err
12835 rm -f conftest.er1
12836 cat conftest.err >&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } >/dev/null; then
12839 if test -s conftest.err; then
12840 ac_cpp_err=$ac_c_preproc_warn_flag
12841 else
12842 ac_cpp_err=
12843 fi
12844 else
12845 ac_cpp_err=yes
12846 fi
12847 if test -z "$ac_cpp_err"; then
12848 ac_header_preproc=yes
12849 else
12850 echo "$as_me: failed program was:" >&5
12851 sed 's/^/| /' conftest.$ac_ext >&5
12852
12853 ac_header_preproc=no
12854 fi
12855 rm -f conftest.err conftest.$ac_ext
12856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12857 echo "${ECHO_T}$ac_header_preproc" >&6
12858
12859 # So? What about this header?
12860 case $ac_header_compiler:$ac_header_preproc in
12861 yes:no )
12862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12866 (
12867 cat <<\_ASBOX
12868 ## ------------------------------------ ##
12869 ## Report this to bug-autoconf@gnu.org. ##
12870 ## ------------------------------------ ##
12871 _ASBOX
12872 ) |
12873 sed "s/^/$as_me: WARNING: /" >&2
12874 ;;
12875 no:yes )
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12882 (
12883 cat <<\_ASBOX
12884 ## ------------------------------------ ##
12885 ## Report this to bug-autoconf@gnu.org. ##
12886 ## ------------------------------------ ##
12887 _ASBOX
12888 ) |
12889 sed "s/^/$as_me: WARNING: /" >&2
12890 ;;
12891 esac
12892 echo "$as_me:$LINENO: checking for $ac_header" >&5
12893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12895 echo $ECHO_N "(cached) $ECHO_C" >&6
12896 else
12897 eval "$as_ac_Header=$ac_header_preproc"
12898 fi
12899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12901
12902 fi
12903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12904 cat >>confdefs.h <<_ACEOF
12905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12906 _ACEOF
12907
12908 fi
12909
12910 done
12911
12912 fi
12913
12914
12915 for ac_header in fnmatch.h
12916 do
12917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12919 echo "$as_me:$LINENO: checking for $ac_header" >&5
12920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 fi
12924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12925 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12926 else
12927 # Is the header compilable?
12928 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12929 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12930 cat >conftest.$ac_ext <<_ACEOF
12931 #line $LINENO "configure"
12932 /* confdefs.h. */
12933 _ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12937 $ac_includes_default
12938 #include <$ac_header>
12939 _ACEOF
12940 rm -f conftest.$ac_objext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>&5
12943 ac_status=$?
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try='test -s conftest.$ac_objext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12949 ac_status=$?
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_header_compiler=yes
12953 else
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.$ac_ext >&5
12956
12957 ac_header_compiler=no
12958 fi
12959 rm -f conftest.$ac_objext conftest.$ac_ext
12960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12961 echo "${ECHO_T}$ac_header_compiler" >&6
12962
12963 # Is the header present?
12964 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12965 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12966 cat >conftest.$ac_ext <<_ACEOF
12967 #line $LINENO "configure"
12968 /* confdefs.h. */
12969 _ACEOF
12970 cat confdefs.h >>conftest.$ac_ext
12971 cat >>conftest.$ac_ext <<_ACEOF
12972 /* end confdefs.h. */
12973 #include <$ac_header>
12974 _ACEOF
12975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12977 ac_status=$?
12978 grep -v '^ *+' conftest.er1 >conftest.err
12979 rm -f conftest.er1
12980 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } >/dev/null; then
12983 if test -s conftest.err; then
12984 ac_cpp_err=$ac_c_preproc_warn_flag
12985 else
12986 ac_cpp_err=
12987 fi
12988 else
12989 ac_cpp_err=yes
12990 fi
12991 if test -z "$ac_cpp_err"; then
12992 ac_header_preproc=yes
12993 else
12994 echo "$as_me: failed program was:" >&5
12995 sed 's/^/| /' conftest.$ac_ext >&5
12996
12997 ac_header_preproc=no
12998 fi
12999 rm -f conftest.err conftest.$ac_ext
13000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13001 echo "${ECHO_T}$ac_header_preproc" >&6
13002
13003 # So? What about this header?
13004 case $ac_header_compiler:$ac_header_preproc in
13005 yes:no )
13006 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13007 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13010 (
13011 cat <<\_ASBOX
13012 ## ------------------------------------ ##
13013 ## Report this to bug-autoconf@gnu.org. ##
13014 ## ------------------------------------ ##
13015 _ASBOX
13016 ) |
13017 sed "s/^/$as_me: WARNING: /" >&2
13018 ;;
13019 no:yes )
13020 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13021 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13022 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13023 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13025 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13026 (
13027 cat <<\_ASBOX
13028 ## ------------------------------------ ##
13029 ## Report this to bug-autoconf@gnu.org. ##
13030 ## ------------------------------------ ##
13031 _ASBOX
13032 ) |
13033 sed "s/^/$as_me: WARNING: /" >&2
13034 ;;
13035 esac
13036 echo "$as_me:$LINENO: checking for $ac_header" >&5
13037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13041 eval "$as_ac_Header=$ac_header_preproc"
13042 fi
13043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13045
13046 fi
13047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13048 cat >>confdefs.h <<_ACEOF
13049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13050 _ACEOF
13051
13052 fi
13053
13054 done
13055
13056
13057 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13058
13059 for ac_func in fnmatch
13060 do
13061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13062 echo "$as_me:$LINENO: checking for $ac_func" >&5
13063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13064 if eval "test \"\${$as_ac_var+set}\" = set"; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13066 else
13067 cat >conftest.$ac_ext <<_ACEOF
13068 #line $LINENO "configure"
13069 /* confdefs.h. */
13070 _ACEOF
13071 cat confdefs.h >>conftest.$ac_ext
13072 cat >>conftest.$ac_ext <<_ACEOF
13073 /* end confdefs.h. */
13074 /* System header to define __stub macros and hopefully few prototypes,
13075 which can conflict with char $ac_func (); below.
13076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13077 <limits.h> exists even on freestanding compilers. */
13078 #ifdef __STDC__
13079 # include <limits.h>
13080 #else
13081 # include <assert.h>
13082 #endif
13083 /* Override any gcc2 internal prototype to avoid an error. */
13084 #ifdef __cplusplus
13085 extern "C"
13086 {
13087 #endif
13088 /* We use char because int might match the return type of a gcc2
13089 builtin and then its argument prototype would still apply. */
13090 char $ac_func ();
13091 /* The GNU C library defines this for functions which it implements
13092 to always fail with ENOSYS. Some functions are actually named
13093 something starting with __ and the normal name is an alias. */
13094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13095 choke me
13096 #else
13097 char (*f) () = $ac_func;
13098 #endif
13099 #ifdef __cplusplus
13100 }
13101 #endif
13102
13103 int
13104 main ()
13105 {
13106 return f != $ac_func;
13107 ;
13108 return 0;
13109 }
13110 _ACEOF
13111 rm -f conftest.$ac_objext conftest$ac_exeext
13112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13113 (eval $ac_link) 2>&5
13114 ac_status=$?
13115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 (exit $ac_status); } &&
13117 { ac_try='test -s conftest$ac_exeext'
13118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13119 (eval $ac_try) 2>&5
13120 ac_status=$?
13121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13123 eval "$as_ac_var=yes"
13124 else
13125 echo "$as_me: failed program was:" >&5
13126 sed 's/^/| /' conftest.$ac_ext >&5
13127
13128 eval "$as_ac_var=no"
13129 fi
13130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13131 fi
13132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13134 if test `eval echo '${'$as_ac_var'}'` = yes; then
13135 cat >>confdefs.h <<_ACEOF
13136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13137 _ACEOF
13138
13139 fi
13140 done
13141
13142 fi
13143
13144
13145 for ac_header in langinfo.h
13146 do
13147 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13149 echo "$as_me:$LINENO: checking for $ac_header" >&5
13150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13152 echo $ECHO_N "(cached) $ECHO_C" >&6
13153 fi
13154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13156 else
13157 # Is the header compilable?
13158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13160 cat >conftest.$ac_ext <<_ACEOF
13161 #line $LINENO "configure"
13162 /* confdefs.h. */
13163 _ACEOF
13164 cat confdefs.h >>conftest.$ac_ext
13165 cat >>conftest.$ac_ext <<_ACEOF
13166 /* end confdefs.h. */
13167 $ac_includes_default
13168 #include <$ac_header>
13169 _ACEOF
13170 rm -f conftest.$ac_objext
13171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13172 (eval $ac_compile) 2>&5
13173 ac_status=$?
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); } &&
13176 { ac_try='test -s conftest.$ac_objext'
13177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13178 (eval $ac_try) 2>&5
13179 ac_status=$?
13180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13181 (exit $ac_status); }; }; then
13182 ac_header_compiler=yes
13183 else
13184 echo "$as_me: failed program was:" >&5
13185 sed 's/^/| /' conftest.$ac_ext >&5
13186
13187 ac_header_compiler=no
13188 fi
13189 rm -f conftest.$ac_objext conftest.$ac_ext
13190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13191 echo "${ECHO_T}$ac_header_compiler" >&6
13192
13193 # Is the header present?
13194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13196 cat >conftest.$ac_ext <<_ACEOF
13197 #line $LINENO "configure"
13198 /* confdefs.h. */
13199 _ACEOF
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13203 #include <$ac_header>
13204 _ACEOF
13205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13207 ac_status=$?
13208 grep -v '^ *+' conftest.er1 >conftest.err
13209 rm -f conftest.er1
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } >/dev/null; then
13213 if test -s conftest.err; then
13214 ac_cpp_err=$ac_c_preproc_warn_flag
13215 else
13216 ac_cpp_err=
13217 fi
13218 else
13219 ac_cpp_err=yes
13220 fi
13221 if test -z "$ac_cpp_err"; then
13222 ac_header_preproc=yes
13223 else
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.$ac_ext >&5
13226
13227 ac_header_preproc=no
13228 fi
13229 rm -f conftest.err conftest.$ac_ext
13230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13231 echo "${ECHO_T}$ac_header_preproc" >&6
13232
13233 # So? What about this header?
13234 case $ac_header_compiler:$ac_header_preproc in
13235 yes:no )
13236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13240 (
13241 cat <<\_ASBOX
13242 ## ------------------------------------ ##
13243 ## Report this to bug-autoconf@gnu.org. ##
13244 ## ------------------------------------ ##
13245 _ASBOX
13246 ) |
13247 sed "s/^/$as_me: WARNING: /" >&2
13248 ;;
13249 no:yes )
13250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13256 (
13257 cat <<\_ASBOX
13258 ## ------------------------------------ ##
13259 ## Report this to bug-autoconf@gnu.org. ##
13260 ## ------------------------------------ ##
13261 _ASBOX
13262 ) |
13263 sed "s/^/$as_me: WARNING: /" >&2
13264 ;;
13265 esac
13266 echo "$as_me:$LINENO: checking for $ac_header" >&5
13267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 else
13271 eval "$as_ac_Header=$ac_header_preproc"
13272 fi
13273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13275
13276 fi
13277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13278 cat >>confdefs.h <<_ACEOF
13279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13280 _ACEOF
13281
13282 fi
13283
13284 done
13285
13286
13287 case "${host}" in
13288 *-pc-os2_emx | *-pc-os2-emx )
13289 if test $ac_cv_header_langinfo_h = "yes"; then
13290 LIBS="$LIBS -lintl"
13291 fi
13292 ;;
13293 esac
13294
13295 if test "$wxUSE_GUI" = "yes"; then
13296 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13297
13298 for ac_header in X11/Xlib.h
13299 do
13300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 fi
13307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13309 else
13310 # Is the header compilable?
13311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13313 cat >conftest.$ac_ext <<_ACEOF
13314 #line $LINENO "configure"
13315 /* confdefs.h. */
13316 _ACEOF
13317 cat confdefs.h >>conftest.$ac_ext
13318 cat >>conftest.$ac_ext <<_ACEOF
13319 /* end confdefs.h. */
13320 $ac_includes_default
13321 #include <$ac_header>
13322 _ACEOF
13323 rm -f conftest.$ac_objext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13325 (eval $ac_compile) 2>&5
13326 ac_status=$?
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try='test -s conftest.$ac_objext'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13332 ac_status=$?
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; }; then
13335 ac_header_compiler=yes
13336 else
13337 echo "$as_me: failed program was:" >&5
13338 sed 's/^/| /' conftest.$ac_ext >&5
13339
13340 ac_header_compiler=no
13341 fi
13342 rm -f conftest.$ac_objext conftest.$ac_ext
13343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13344 echo "${ECHO_T}$ac_header_compiler" >&6
13345
13346 # Is the header present?
13347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13349 cat >conftest.$ac_ext <<_ACEOF
13350 #line $LINENO "configure"
13351 /* confdefs.h. */
13352 _ACEOF
13353 cat confdefs.h >>conftest.$ac_ext
13354 cat >>conftest.$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356 #include <$ac_header>
13357 _ACEOF
13358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13360 ac_status=$?
13361 grep -v '^ *+' conftest.er1 >conftest.err
13362 rm -f conftest.er1
13363 cat conftest.err >&5
13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 (exit $ac_status); } >/dev/null; then
13366 if test -s conftest.err; then
13367 ac_cpp_err=$ac_c_preproc_warn_flag
13368 else
13369 ac_cpp_err=
13370 fi
13371 else
13372 ac_cpp_err=yes
13373 fi
13374 if test -z "$ac_cpp_err"; then
13375 ac_header_preproc=yes
13376 else
13377 echo "$as_me: failed program was:" >&5
13378 sed 's/^/| /' conftest.$ac_ext >&5
13379
13380 ac_header_preproc=no
13381 fi
13382 rm -f conftest.err conftest.$ac_ext
13383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13384 echo "${ECHO_T}$ac_header_preproc" >&6
13385
13386 # So? What about this header?
13387 case $ac_header_compiler:$ac_header_preproc in
13388 yes:no )
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13393 (
13394 cat <<\_ASBOX
13395 ## ------------------------------------ ##
13396 ## Report this to bug-autoconf@gnu.org. ##
13397 ## ------------------------------------ ##
13398 _ASBOX
13399 ) |
13400 sed "s/^/$as_me: WARNING: /" >&2
13401 ;;
13402 no:yes )
13403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13409 (
13410 cat <<\_ASBOX
13411 ## ------------------------------------ ##
13412 ## Report this to bug-autoconf@gnu.org. ##
13413 ## ------------------------------------ ##
13414 _ASBOX
13415 ) |
13416 sed "s/^/$as_me: WARNING: /" >&2
13417 ;;
13418 esac
13419 echo "$as_me:$LINENO: checking for $ac_header" >&5
13420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 else
13424 eval "$as_ac_Header=$ac_header_preproc"
13425 fi
13426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13428
13429 fi
13430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13431 cat >>confdefs.h <<_ACEOF
13432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13433 _ACEOF
13434
13435 fi
13436
13437 done
13438
13439
13440 for ac_header in X11/XKBlib.h
13441 do
13442 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13443 echo "$as_me:$LINENO: checking for $ac_header" >&5
13444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13446 echo $ECHO_N "(cached) $ECHO_C" >&6
13447 else
13448 cat >conftest.$ac_ext <<_ACEOF
13449 #line $LINENO "configure"
13450 /* confdefs.h. */
13451 _ACEOF
13452 cat confdefs.h >>conftest.$ac_ext
13453 cat >>conftest.$ac_ext <<_ACEOF
13454 /* end confdefs.h. */
13455
13456 #if HAVE_X11_XLIB_H
13457 #include <X11/Xlib.h>
13458 #endif
13459
13460
13461 #include <$ac_header>
13462 _ACEOF
13463 rm -f conftest.$ac_objext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13465 (eval $ac_compile) 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13472 ac_status=$?
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 eval "$as_ac_Header=yes"
13476 else
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.$ac_ext >&5
13479
13480 eval "$as_ac_Header=no"
13481 fi
13482 rm -f conftest.$ac_objext conftest.$ac_ext
13483 fi
13484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13487 cat >>confdefs.h <<_ACEOF
13488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13489 _ACEOF
13490
13491 fi
13492
13493 done
13494
13495 fi
13496 fi
13497
13498
13499 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13500 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13501 if test "${ac_cv_c_const+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 else
13504 cat >conftest.$ac_ext <<_ACEOF
13505 #line $LINENO "configure"
13506 /* confdefs.h. */
13507 _ACEOF
13508 cat confdefs.h >>conftest.$ac_ext
13509 cat >>conftest.$ac_ext <<_ACEOF
13510 /* end confdefs.h. */
13511
13512 int
13513 main ()
13514 {
13515 /* FIXME: Include the comments suggested by Paul. */
13516 #ifndef __cplusplus
13517 /* Ultrix mips cc rejects this. */
13518 typedef int charset[2];
13519 const charset x;
13520 /* SunOS 4.1.1 cc rejects this. */
13521 char const *const *ccp;
13522 char **p;
13523 /* NEC SVR4.0.2 mips cc rejects this. */
13524 struct point {int x, y;};
13525 static struct point const zero = {0,0};
13526 /* AIX XL C 1.02.0.0 rejects this.
13527 It does not let you subtract one const X* pointer from another in
13528 an arm of an if-expression whose if-part is not a constant
13529 expression */
13530 const char *g = "string";
13531 ccp = &g + (g ? g-g : 0);
13532 /* HPUX 7.0 cc rejects these. */
13533 ++ccp;
13534 p = (char**) ccp;
13535 ccp = (char const *const *) p;
13536 { /* SCO 3.2v4 cc rejects this. */
13537 char *t;
13538 char const *s = 0 ? (char *) 0 : (char const *) 0;
13539
13540 *t++ = 0;
13541 }
13542 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13543 int x[] = {25, 17};
13544 const int *foo = &x[0];
13545 ++foo;
13546 }
13547 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13548 typedef const int *iptr;
13549 iptr p = 0;
13550 ++p;
13551 }
13552 { /* AIX XL C 1.02.0.0 rejects this saying
13553 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13554 struct s { int j; const int *ap[3]; };
13555 struct s *b; b->j = 5;
13556 }
13557 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13558 const int foo = 10;
13559 }
13560 #endif
13561
13562 ;
13563 return 0;
13564 }
13565 _ACEOF
13566 rm -f conftest.$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13575 ac_status=$?
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 ac_cv_c_const=yes
13579 else
13580 echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.$ac_ext >&5
13582
13583 ac_cv_c_const=no
13584 fi
13585 rm -f conftest.$ac_objext conftest.$ac_ext
13586 fi
13587 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13588 echo "${ECHO_T}$ac_cv_c_const" >&6
13589 if test $ac_cv_c_const = no; then
13590
13591 cat >>confdefs.h <<\_ACEOF
13592 #define const
13593 _ACEOF
13594
13595 fi
13596
13597 echo "$as_me:$LINENO: checking for inline" >&5
13598 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13599 if test "${ac_cv_c_inline+set}" = set; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 else
13602 ac_cv_c_inline=no
13603 for ac_kw in inline __inline__ __inline; do
13604 cat >conftest.$ac_ext <<_ACEOF
13605 #line $LINENO "configure"
13606 /* confdefs.h. */
13607 _ACEOF
13608 cat confdefs.h >>conftest.$ac_ext
13609 cat >>conftest.$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13611 #ifndef __cplusplus
13612 typedef int foo_t;
13613 static $ac_kw foo_t static_foo () {return 0; }
13614 $ac_kw foo_t foo () {return 0; }
13615 #endif
13616
13617 _ACEOF
13618 rm -f conftest.$ac_objext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13620 (eval $ac_compile) 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); } &&
13624 { ac_try='test -s conftest.$ac_objext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 ac_cv_c_inline=$ac_kw; break
13631 else
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.$ac_ext >&5
13634
13635 fi
13636 rm -f conftest.$ac_objext conftest.$ac_ext
13637 done
13638
13639 fi
13640 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13641 echo "${ECHO_T}$ac_cv_c_inline" >&6
13642 case $ac_cv_c_inline in
13643 inline | yes) ;;
13644 no)
13645 cat >>confdefs.h <<\_ACEOF
13646 #define inline
13647 _ACEOF
13648 ;;
13649 *) cat >>confdefs.h <<_ACEOF
13650 #define inline $ac_cv_c_inline
13651 _ACEOF
13652 ;;
13653 esac
13654
13655
13656 echo "$as_me:$LINENO: checking for char" >&5
13657 echo $ECHO_N "checking for char... $ECHO_C" >&6
13658 if test "${ac_cv_type_char+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13661 cat >conftest.$ac_ext <<_ACEOF
13662 #line $LINENO "configure"
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 $ac_includes_default
13669 int
13670 main ()
13671 {
13672 if ((char *) 0)
13673 return 0;
13674 if (sizeof (char))
13675 return 0;
13676 ;
13677 return 0;
13678 }
13679 _ACEOF
13680 rm -f conftest.$ac_objext
13681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13682 (eval $ac_compile) 2>&5
13683 ac_status=$?
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); } &&
13686 { ac_try='test -s conftest.$ac_objext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13689 ac_status=$?
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 ac_cv_type_char=yes
13693 else
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13696
13697 ac_cv_type_char=no
13698 fi
13699 rm -f conftest.$ac_objext conftest.$ac_ext
13700 fi
13701 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13702 echo "${ECHO_T}$ac_cv_type_char" >&6
13703
13704 echo "$as_me:$LINENO: checking size of char" >&5
13705 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13706 if test "${ac_cv_sizeof_char+set}" = set; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13708 else
13709 if test "$ac_cv_type_char" = yes; then
13710 # The cast to unsigned long works around a bug in the HP C Compiler
13711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13713 # This bug is HP SR number 8606223364.
13714 if test "$cross_compiling" = yes; then
13715 # Depending upon the size, compute the lo and hi bounds.
13716 cat >conftest.$ac_ext <<_ACEOF
13717 #line $LINENO "configure"
13718 /* confdefs.h. */
13719 _ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 $ac_includes_default
13724 int
13725 main ()
13726 {
13727 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13728 test_array [0] = 0
13729
13730 ;
13731 return 0;
13732 }
13733 _ACEOF
13734 rm -f conftest.$ac_objext
13735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736 (eval $ac_compile) 2>&5
13737 ac_status=$?
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); } &&
13740 { ac_try='test -s conftest.$ac_objext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_lo=0 ac_mid=0
13747 while :; do
13748 cat >conftest.$ac_ext <<_ACEOF
13749 #line $LINENO "configure"
13750 /* confdefs.h. */
13751 _ACEOF
13752 cat confdefs.h >>conftest.$ac_ext
13753 cat >>conftest.$ac_ext <<_ACEOF
13754 /* end confdefs.h. */
13755 $ac_includes_default
13756 int
13757 main ()
13758 {
13759 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13760 test_array [0] = 0
13761
13762 ;
13763 return 0;
13764 }
13765 _ACEOF
13766 rm -f conftest.$ac_objext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13768 (eval $ac_compile) 2>&5
13769 ac_status=$?
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try='test -s conftest.$ac_objext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13775 ac_status=$?
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 ac_hi=$ac_mid; break
13779 else
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13782
13783 ac_lo=`expr $ac_mid + 1`
13784 if test $ac_lo -le $ac_mid; then
13785 ac_lo= ac_hi=
13786 break
13787 fi
13788 ac_mid=`expr 2 '*' $ac_mid + 1`
13789 fi
13790 rm -f conftest.$ac_objext conftest.$ac_ext
13791 done
13792 else
13793 echo "$as_me: failed program was:" >&5
13794 sed 's/^/| /' conftest.$ac_ext >&5
13795
13796 cat >conftest.$ac_ext <<_ACEOF
13797 #line $LINENO "configure"
13798 /* confdefs.h. */
13799 _ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803 $ac_includes_default
13804 int
13805 main ()
13806 {
13807 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13808 test_array [0] = 0
13809
13810 ;
13811 return 0;
13812 }
13813 _ACEOF
13814 rm -f conftest.$ac_objext
13815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try='test -s conftest.$ac_objext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13823 ac_status=$?
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 ac_hi=-1 ac_mid=-1
13827 while :; do
13828 cat >conftest.$ac_ext <<_ACEOF
13829 #line $LINENO "configure"
13830 /* confdefs.h. */
13831 _ACEOF
13832 cat confdefs.h >>conftest.$ac_ext
13833 cat >>conftest.$ac_ext <<_ACEOF
13834 /* end confdefs.h. */
13835 $ac_includes_default
13836 int
13837 main ()
13838 {
13839 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13840 test_array [0] = 0
13841
13842 ;
13843 return 0;
13844 }
13845 _ACEOF
13846 rm -f conftest.$ac_objext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13848 (eval $ac_compile) 2>&5
13849 ac_status=$?
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try='test -s conftest.$ac_objext'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13855 ac_status=$?
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; }; then
13858 ac_lo=$ac_mid; break
13859 else
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13862
13863 ac_hi=`expr '(' $ac_mid ')' - 1`
13864 if test $ac_mid -le $ac_hi; then
13865 ac_lo= ac_hi=
13866 break
13867 fi
13868 ac_mid=`expr 2 '*' $ac_mid`
13869 fi
13870 rm -f conftest.$ac_objext conftest.$ac_ext
13871 done
13872 else
13873 echo "$as_me: failed program was:" >&5
13874 sed 's/^/| /' conftest.$ac_ext >&5
13875
13876 ac_lo= ac_hi=
13877 fi
13878 rm -f conftest.$ac_objext conftest.$ac_ext
13879 fi
13880 rm -f conftest.$ac_objext conftest.$ac_ext
13881 # Binary search between lo and hi bounds.
13882 while test "x$ac_lo" != "x$ac_hi"; do
13883 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13884 cat >conftest.$ac_ext <<_ACEOF
13885 #line $LINENO "configure"
13886 /* confdefs.h. */
13887 _ACEOF
13888 cat confdefs.h >>conftest.$ac_ext
13889 cat >>conftest.$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13891 $ac_includes_default
13892 int
13893 main ()
13894 {
13895 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13896 test_array [0] = 0
13897
13898 ;
13899 return 0;
13900 }
13901 _ACEOF
13902 rm -f conftest.$ac_objext
13903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13904 (eval $ac_compile) 2>&5
13905 ac_status=$?
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } &&
13908 { ac_try='test -s conftest.$ac_objext'
13909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13910 (eval $ac_try) 2>&5
13911 ac_status=$?
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13913 (exit $ac_status); }; }; then
13914 ac_hi=$ac_mid
13915 else
13916 echo "$as_me: failed program was:" >&5
13917 sed 's/^/| /' conftest.$ac_ext >&5
13918
13919 ac_lo=`expr '(' $ac_mid ')' + 1`
13920 fi
13921 rm -f conftest.$ac_objext conftest.$ac_ext
13922 done
13923 case $ac_lo in
13924 ?*) ac_cv_sizeof_char=$ac_lo;;
13925 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13926 See \`config.log' for more details." >&5
13927 echo "$as_me: error: cannot compute sizeof (char), 77
13928 See \`config.log' for more details." >&2;}
13929 { (exit 1); exit 1; }; } ;;
13930 esac
13931 else
13932 if test "$cross_compiling" = yes; then
13933 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13934 See \`config.log' for more details." >&5
13935 echo "$as_me: error: cannot run test program while cross compiling
13936 See \`config.log' for more details." >&2;}
13937 { (exit 1); exit 1; }; }
13938 else
13939 cat >conftest.$ac_ext <<_ACEOF
13940 #line $LINENO "configure"
13941 /* confdefs.h. */
13942 _ACEOF
13943 cat confdefs.h >>conftest.$ac_ext
13944 cat >>conftest.$ac_ext <<_ACEOF
13945 /* end confdefs.h. */
13946 $ac_includes_default
13947 long longval () { return (long) (sizeof (char)); }
13948 unsigned long ulongval () { return (long) (sizeof (char)); }
13949 #include <stdio.h>
13950 #include <stdlib.h>
13951 int
13952 main ()
13953 {
13954
13955 FILE *f = fopen ("conftest.val", "w");
13956 if (! f)
13957 exit (1);
13958 if (((long) (sizeof (char))) < 0)
13959 {
13960 long i = longval ();
13961 if (i != ((long) (sizeof (char))))
13962 exit (1);
13963 fprintf (f, "%ld\n", i);
13964 }
13965 else
13966 {
13967 unsigned long i = ulongval ();
13968 if (i != ((long) (sizeof (char))))
13969 exit (1);
13970 fprintf (f, "%lu\n", i);
13971 }
13972 exit (ferror (f) || fclose (f) != 0);
13973
13974 ;
13975 return 0;
13976 }
13977 _ACEOF
13978 rm -f conftest$ac_exeext
13979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13980 (eval $ac_link) 2>&5
13981 ac_status=$?
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13986 ac_status=$?
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13989 ac_cv_sizeof_char=`cat conftest.val`
13990 else
13991 echo "$as_me: program exited with status $ac_status" >&5
13992 echo "$as_me: failed program was:" >&5
13993 sed 's/^/| /' conftest.$ac_ext >&5
13994
13995 ( exit $ac_status )
13996 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13997 See \`config.log' for more details." >&5
13998 echo "$as_me: error: cannot compute sizeof (char), 77
13999 See \`config.log' for more details." >&2;}
14000 { (exit 1); exit 1; }; }
14001 fi
14002 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14003 fi
14004 fi
14005 rm -f conftest.val
14006 else
14007 ac_cv_sizeof_char=0
14008 fi
14009 fi
14010 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14011 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14012 cat >>confdefs.h <<_ACEOF
14013 #define SIZEOF_CHAR $ac_cv_sizeof_char
14014 _ACEOF
14015
14016
14017 echo "$as_me:$LINENO: checking for short" >&5
14018 echo $ECHO_N "checking for short... $ECHO_C" >&6
14019 if test "${ac_cv_type_short+set}" = set; then
14020 echo $ECHO_N "(cached) $ECHO_C" >&6
14021 else
14022 cat >conftest.$ac_ext <<_ACEOF
14023 #line $LINENO "configure"
14024 /* confdefs.h. */
14025 _ACEOF
14026 cat confdefs.h >>conftest.$ac_ext
14027 cat >>conftest.$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029 $ac_includes_default
14030 int
14031 main ()
14032 {
14033 if ((short *) 0)
14034 return 0;
14035 if (sizeof (short))
14036 return 0;
14037 ;
14038 return 0;
14039 }
14040 _ACEOF
14041 rm -f conftest.$ac_objext
14042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043 (eval $ac_compile) 2>&5
14044 ac_status=$?
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } &&
14047 { ac_try='test -s conftest.$ac_objext'
14048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14049 (eval $ac_try) 2>&5
14050 ac_status=$?
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); }; }; then
14053 ac_cv_type_short=yes
14054 else
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.$ac_ext >&5
14057
14058 ac_cv_type_short=no
14059 fi
14060 rm -f conftest.$ac_objext conftest.$ac_ext
14061 fi
14062 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14063 echo "${ECHO_T}$ac_cv_type_short" >&6
14064
14065 echo "$as_me:$LINENO: checking size of short" >&5
14066 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14067 if test "${ac_cv_sizeof_short+set}" = set; then
14068 echo $ECHO_N "(cached) $ECHO_C" >&6
14069 else
14070 if test "$ac_cv_type_short" = yes; then
14071 # The cast to unsigned long works around a bug in the HP C Compiler
14072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14074 # This bug is HP SR number 8606223364.
14075 if test "$cross_compiling" = yes; then
14076 # Depending upon the size, compute the lo and hi bounds.
14077 cat >conftest.$ac_ext <<_ACEOF
14078 #line $LINENO "configure"
14079 /* confdefs.h. */
14080 _ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 $ac_includes_default
14085 int
14086 main ()
14087 {
14088 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14089 test_array [0] = 0
14090
14091 ;
14092 return 0;
14093 }
14094 _ACEOF
14095 rm -f conftest.$ac_objext
14096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14098 ac_status=$?
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14104 ac_status=$?
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14107 ac_lo=0 ac_mid=0
14108 while :; do
14109 cat >conftest.$ac_ext <<_ACEOF
14110 #line $LINENO "configure"
14111 /* confdefs.h. */
14112 _ACEOF
14113 cat confdefs.h >>conftest.$ac_ext
14114 cat >>conftest.$ac_ext <<_ACEOF
14115 /* end confdefs.h. */
14116 $ac_includes_default
14117 int
14118 main ()
14119 {
14120 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14121 test_array [0] = 0
14122
14123 ;
14124 return 0;
14125 }
14126 _ACEOF
14127 rm -f conftest.$ac_objext
14128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14129 (eval $ac_compile) 2>&5
14130 ac_status=$?
14131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132 (exit $ac_status); } &&
14133 { ac_try='test -s conftest.$ac_objext'
14134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 (eval $ac_try) 2>&5
14136 ac_status=$?
14137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 (exit $ac_status); }; }; then
14139 ac_hi=$ac_mid; break
14140 else
14141 echo "$as_me: failed program was:" >&5
14142 sed 's/^/| /' conftest.$ac_ext >&5
14143
14144 ac_lo=`expr $ac_mid + 1`
14145 if test $ac_lo -le $ac_mid; then
14146 ac_lo= ac_hi=
14147 break
14148 fi
14149 ac_mid=`expr 2 '*' $ac_mid + 1`
14150 fi
14151 rm -f conftest.$ac_objext conftest.$ac_ext
14152 done
14153 else
14154 echo "$as_me: failed program was:" >&5
14155 sed 's/^/| /' conftest.$ac_ext >&5
14156
14157 cat >conftest.$ac_ext <<_ACEOF
14158 #line $LINENO "configure"
14159 /* confdefs.h. */
14160 _ACEOF
14161 cat confdefs.h >>conftest.$ac_ext
14162 cat >>conftest.$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 $ac_includes_default
14165 int
14166 main ()
14167 {
14168 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14169 test_array [0] = 0
14170
14171 ;
14172 return 0;
14173 }
14174 _ACEOF
14175 rm -f conftest.$ac_objext
14176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>&5
14178 ac_status=$?
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try='test -s conftest.$ac_objext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14184 ac_status=$?
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 ac_hi=-1 ac_mid=-1
14188 while :; do
14189 cat >conftest.$ac_ext <<_ACEOF
14190 #line $LINENO "configure"
14191 /* confdefs.h. */
14192 _ACEOF
14193 cat confdefs.h >>conftest.$ac_ext
14194 cat >>conftest.$ac_ext <<_ACEOF
14195 /* end confdefs.h. */
14196 $ac_includes_default
14197 int
14198 main ()
14199 {
14200 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14201 test_array [0] = 0
14202
14203 ;
14204 return 0;
14205 }
14206 _ACEOF
14207 rm -f conftest.$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14216 ac_status=$?
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 ac_lo=$ac_mid; break
14220 else
14221 echo "$as_me: failed program was:" >&5
14222 sed 's/^/| /' conftest.$ac_ext >&5
14223
14224 ac_hi=`expr '(' $ac_mid ')' - 1`
14225 if test $ac_mid -le $ac_hi; then
14226 ac_lo= ac_hi=
14227 break
14228 fi
14229 ac_mid=`expr 2 '*' $ac_mid`
14230 fi
14231 rm -f conftest.$ac_objext conftest.$ac_ext
14232 done
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14236
14237 ac_lo= ac_hi=
14238 fi
14239 rm -f conftest.$ac_objext conftest.$ac_ext
14240 fi
14241 rm -f conftest.$ac_objext conftest.$ac_ext
14242 # Binary search between lo and hi bounds.
14243 while test "x$ac_lo" != "x$ac_hi"; do
14244 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14245 cat >conftest.$ac_ext <<_ACEOF
14246 #line $LINENO "configure"
14247 /* confdefs.h. */
14248 _ACEOF
14249 cat confdefs.h >>conftest.$ac_ext
14250 cat >>conftest.$ac_ext <<_ACEOF
14251 /* end confdefs.h. */
14252 $ac_includes_default
14253 int
14254 main ()
14255 {
14256 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14257 test_array [0] = 0
14258
14259 ;
14260 return 0;
14261 }
14262 _ACEOF
14263 rm -f conftest.$ac_objext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14265 (eval $ac_compile) 2>&5
14266 ac_status=$?
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try='test -s conftest.$ac_objext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14272 ac_status=$?
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 ac_hi=$ac_mid
14276 else
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.$ac_ext >&5
14279
14280 ac_lo=`expr '(' $ac_mid ')' + 1`
14281 fi
14282 rm -f conftest.$ac_objext conftest.$ac_ext
14283 done
14284 case $ac_lo in
14285 ?*) ac_cv_sizeof_short=$ac_lo;;
14286 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14287 See \`config.log' for more details." >&5
14288 echo "$as_me: error: cannot compute sizeof (short), 77
14289 See \`config.log' for more details." >&2;}
14290 { (exit 1); exit 1; }; } ;;
14291 esac
14292 else
14293 if test "$cross_compiling" = yes; then
14294 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14295 See \`config.log' for more details." >&5
14296 echo "$as_me: error: cannot run test program while cross compiling
14297 See \`config.log' for more details." >&2;}
14298 { (exit 1); exit 1; }; }
14299 else
14300 cat >conftest.$ac_ext <<_ACEOF
14301 #line $LINENO "configure"
14302 /* confdefs.h. */
14303 _ACEOF
14304 cat confdefs.h >>conftest.$ac_ext
14305 cat >>conftest.$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14307 $ac_includes_default
14308 long longval () { return (long) (sizeof (short)); }
14309 unsigned long ulongval () { return (long) (sizeof (short)); }
14310 #include <stdio.h>
14311 #include <stdlib.h>
14312 int
14313 main ()
14314 {
14315
14316 FILE *f = fopen ("conftest.val", "w");
14317 if (! f)
14318 exit (1);
14319 if (((long) (sizeof (short))) < 0)
14320 {
14321 long i = longval ();
14322 if (i != ((long) (sizeof (short))))
14323 exit (1);
14324 fprintf (f, "%ld\n", i);
14325 }
14326 else
14327 {
14328 unsigned long i = ulongval ();
14329 if (i != ((long) (sizeof (short))))
14330 exit (1);
14331 fprintf (f, "%lu\n", i);
14332 }
14333 exit (ferror (f) || fclose (f) != 0);
14334
14335 ;
14336 return 0;
14337 }
14338 _ACEOF
14339 rm -f conftest$ac_exeext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14341 (eval $ac_link) 2>&5
14342 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14347 ac_status=$?
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; }; then
14350 ac_cv_sizeof_short=`cat conftest.val`
14351 else
14352 echo "$as_me: program exited with status $ac_status" >&5
14353 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.$ac_ext >&5
14355
14356 ( exit $ac_status )
14357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14358 See \`config.log' for more details." >&5
14359 echo "$as_me: error: cannot compute sizeof (short), 77
14360 See \`config.log' for more details." >&2;}
14361 { (exit 1); exit 1; }; }
14362 fi
14363 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14364 fi
14365 fi
14366 rm -f conftest.val
14367 else
14368 ac_cv_sizeof_short=0
14369 fi
14370 fi
14371 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14372 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14373 cat >>confdefs.h <<_ACEOF
14374 #define SIZEOF_SHORT $ac_cv_sizeof_short
14375 _ACEOF
14376
14377
14378 echo "$as_me:$LINENO: checking for void *" >&5
14379 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14380 if test "${ac_cv_type_void_p+set}" = set; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14382 else
14383 cat >conftest.$ac_ext <<_ACEOF
14384 #line $LINENO "configure"
14385 /* confdefs.h. */
14386 _ACEOF
14387 cat confdefs.h >>conftest.$ac_ext
14388 cat >>conftest.$ac_ext <<_ACEOF
14389 /* end confdefs.h. */
14390 $ac_includes_default
14391 int
14392 main ()
14393 {
14394 if ((void * *) 0)
14395 return 0;
14396 if (sizeof (void *))
14397 return 0;
14398 ;
14399 return 0;
14400 }
14401 _ACEOF
14402 rm -f conftest.$ac_objext
14403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14404 (eval $ac_compile) 2>&5
14405 ac_status=$?
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); } &&
14408 { ac_try='test -s conftest.$ac_objext'
14409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14410 (eval $ac_try) 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }; }; then
14414 ac_cv_type_void_p=yes
14415 else
14416 echo "$as_me: failed program was:" >&5
14417 sed 's/^/| /' conftest.$ac_ext >&5
14418
14419 ac_cv_type_void_p=no
14420 fi
14421 rm -f conftest.$ac_objext conftest.$ac_ext
14422 fi
14423 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14424 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14425
14426 echo "$as_me:$LINENO: checking size of void *" >&5
14427 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14428 if test "${ac_cv_sizeof_void_p+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 else
14431 if test "$ac_cv_type_void_p" = yes; then
14432 # The cast to unsigned long works around a bug in the HP C Compiler
14433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14435 # This bug is HP SR number 8606223364.
14436 if test "$cross_compiling" = yes; then
14437 # Depending upon the size, compute the lo and hi bounds.
14438 cat >conftest.$ac_ext <<_ACEOF
14439 #line $LINENO "configure"
14440 /* confdefs.h. */
14441 _ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445 $ac_includes_default
14446 int
14447 main ()
14448 {
14449 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14450 test_array [0] = 0
14451
14452 ;
14453 return 0;
14454 }
14455 _ACEOF
14456 rm -f conftest.$ac_objext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14459 ac_status=$?
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14465 ac_status=$?
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 ac_lo=0 ac_mid=0
14469 while :; do
14470 cat >conftest.$ac_ext <<_ACEOF
14471 #line $LINENO "configure"
14472 /* confdefs.h. */
14473 _ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 $ac_includes_default
14478 int
14479 main ()
14480 {
14481 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14482 test_array [0] = 0
14483
14484 ;
14485 return 0;
14486 }
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14491 ac_status=$?
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14497 ac_status=$?
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 ac_hi=$ac_mid; break
14501 else
14502 echo "$as_me: failed program was:" >&5
14503 sed 's/^/| /' conftest.$ac_ext >&5
14504
14505 ac_lo=`expr $ac_mid + 1`
14506 if test $ac_lo -le $ac_mid; then
14507 ac_lo= ac_hi=
14508 break
14509 fi
14510 ac_mid=`expr 2 '*' $ac_mid + 1`
14511 fi
14512 rm -f conftest.$ac_objext conftest.$ac_ext
14513 done
14514 else
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14517
14518 cat >conftest.$ac_ext <<_ACEOF
14519 #line $LINENO "configure"
14520 /* confdefs.h. */
14521 _ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525 $ac_includes_default
14526 int
14527 main ()
14528 {
14529 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14530 test_array [0] = 0
14531
14532 ;
14533 return 0;
14534 }
14535 _ACEOF
14536 rm -f conftest.$ac_objext
14537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_hi=-1 ac_mid=-1
14549 while :; do
14550 cat >conftest.$ac_ext <<_ACEOF
14551 #line $LINENO "configure"
14552 /* confdefs.h. */
14553 _ACEOF
14554 cat confdefs.h >>conftest.$ac_ext
14555 cat >>conftest.$ac_ext <<_ACEOF
14556 /* end confdefs.h. */
14557 $ac_includes_default
14558 int
14559 main ()
14560 {
14561 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14562 test_array [0] = 0
14563
14564 ;
14565 return 0;
14566 }
14567 _ACEOF
14568 rm -f conftest.$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); } &&
14574 { ac_try='test -s conftest.$ac_objext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14577 ac_status=$?
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14580 ac_lo=$ac_mid; break
14581 else
14582 echo "$as_me: failed program was:" >&5
14583 sed 's/^/| /' conftest.$ac_ext >&5
14584
14585 ac_hi=`expr '(' $ac_mid ')' - 1`
14586 if test $ac_mid -le $ac_hi; then
14587 ac_lo= ac_hi=
14588 break
14589 fi
14590 ac_mid=`expr 2 '*' $ac_mid`
14591 fi
14592 rm -f conftest.$ac_objext conftest.$ac_ext
14593 done
14594 else
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14597
14598 ac_lo= ac_hi=
14599 fi
14600 rm -f conftest.$ac_objext conftest.$ac_ext
14601 fi
14602 rm -f conftest.$ac_objext conftest.$ac_ext
14603 # Binary search between lo and hi bounds.
14604 while test "x$ac_lo" != "x$ac_hi"; do
14605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14606 cat >conftest.$ac_ext <<_ACEOF
14607 #line $LINENO "configure"
14608 /* confdefs.h. */
14609 _ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 $ac_includes_default
14614 int
14615 main ()
14616 {
14617 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14618 test_array [0] = 0
14619
14620 ;
14621 return 0;
14622 }
14623 _ACEOF
14624 rm -f conftest.$ac_objext
14625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14626 (eval $ac_compile) 2>&5
14627 ac_status=$?
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try='test -s conftest.$ac_objext'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14636 ac_hi=$ac_mid
14637 else
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14640
14641 ac_lo=`expr '(' $ac_mid ')' + 1`
14642 fi
14643 rm -f conftest.$ac_objext conftest.$ac_ext
14644 done
14645 case $ac_lo in
14646 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14647 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14648 See \`config.log' for more details." >&5
14649 echo "$as_me: error: cannot compute sizeof (void *), 77
14650 See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; } ;;
14652 esac
14653 else
14654 if test "$cross_compiling" = yes; then
14655 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14656 See \`config.log' for more details." >&5
14657 echo "$as_me: error: cannot run test program while cross compiling
14658 See \`config.log' for more details." >&2;}
14659 { (exit 1); exit 1; }; }
14660 else
14661 cat >conftest.$ac_ext <<_ACEOF
14662 #line $LINENO "configure"
14663 /* confdefs.h. */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h. */
14668 $ac_includes_default
14669 long longval () { return (long) (sizeof (void *)); }
14670 unsigned long ulongval () { return (long) (sizeof (void *)); }
14671 #include <stdio.h>
14672 #include <stdlib.h>
14673 int
14674 main ()
14675 {
14676
14677 FILE *f = fopen ("conftest.val", "w");
14678 if (! f)
14679 exit (1);
14680 if (((long) (sizeof (void *))) < 0)
14681 {
14682 long i = longval ();
14683 if (i != ((long) (sizeof (void *))))
14684 exit (1);
14685 fprintf (f, "%ld\n", i);
14686 }
14687 else
14688 {
14689 unsigned long i = ulongval ();
14690 if (i != ((long) (sizeof (void *))))
14691 exit (1);
14692 fprintf (f, "%lu\n", i);
14693 }
14694 exit (ferror (f) || fclose (f) != 0);
14695
14696 ;
14697 return 0;
14698 }
14699 _ACEOF
14700 rm -f conftest$ac_exeext
14701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14702 (eval $ac_link) 2>&5
14703 ac_status=$?
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14708 ac_status=$?
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_sizeof_void_p=`cat conftest.val`
14712 else
14713 echo "$as_me: program exited with status $ac_status" >&5
14714 echo "$as_me: failed program was:" >&5
14715 sed 's/^/| /' conftest.$ac_ext >&5
14716
14717 ( exit $ac_status )
14718 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14719 See \`config.log' for more details." >&5
14720 echo "$as_me: error: cannot compute sizeof (void *), 77
14721 See \`config.log' for more details." >&2;}
14722 { (exit 1); exit 1; }; }
14723 fi
14724 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14725 fi
14726 fi
14727 rm -f conftest.val
14728 else
14729 ac_cv_sizeof_void_p=0
14730 fi
14731 fi
14732 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14733 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14734 cat >>confdefs.h <<_ACEOF
14735 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14736 _ACEOF
14737
14738
14739 echo "$as_me:$LINENO: checking for int" >&5
14740 echo $ECHO_N "checking for int... $ECHO_C" >&6
14741 if test "${ac_cv_type_int+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14743 else
14744 cat >conftest.$ac_ext <<_ACEOF
14745 #line $LINENO "configure"
14746 /* confdefs.h. */
14747 _ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14751 $ac_includes_default
14752 int
14753 main ()
14754 {
14755 if ((int *) 0)
14756 return 0;
14757 if (sizeof (int))
14758 return 0;
14759 ;
14760 return 0;
14761 }
14762 _ACEOF
14763 rm -f conftest.$ac_objext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>&5
14766 ac_status=$?
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); } &&
14769 { ac_try='test -s conftest.$ac_objext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14772 ac_status=$?
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 ac_cv_type_int=yes
14776 else
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.$ac_ext >&5
14779
14780 ac_cv_type_int=no
14781 fi
14782 rm -f conftest.$ac_objext conftest.$ac_ext
14783 fi
14784 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14785 echo "${ECHO_T}$ac_cv_type_int" >&6
14786
14787 echo "$as_me:$LINENO: checking size of int" >&5
14788 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14789 if test "${ac_cv_sizeof_int+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14791 else
14792 if test "$ac_cv_type_int" = yes; then
14793 # The cast to unsigned long works around a bug in the HP C Compiler
14794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14796 # This bug is HP SR number 8606223364.
14797 if test "$cross_compiling" = yes; then
14798 # Depending upon the size, compute the lo and hi bounds.
14799 cat >conftest.$ac_ext <<_ACEOF
14800 #line $LINENO "configure"
14801 /* confdefs.h. */
14802 _ACEOF
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806 $ac_includes_default
14807 int
14808 main ()
14809 {
14810 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14811 test_array [0] = 0
14812
14813 ;
14814 return 0;
14815 }
14816 _ACEOF
14817 rm -f conftest.$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_lo=0 ac_mid=0
14830 while :; do
14831 cat >conftest.$ac_ext <<_ACEOF
14832 #line $LINENO "configure"
14833 /* confdefs.h. */
14834 _ACEOF
14835 cat confdefs.h >>conftest.$ac_ext
14836 cat >>conftest.$ac_ext <<_ACEOF
14837 /* end confdefs.h. */
14838 $ac_includes_default
14839 int
14840 main ()
14841 {
14842 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14843 test_array [0] = 0
14844
14845 ;
14846 return 0;
14847 }
14848 _ACEOF
14849 rm -f conftest.$ac_objext
14850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14851 (eval $ac_compile) 2>&5
14852 ac_status=$?
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } &&
14855 { ac_try='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14858 ac_status=$?
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_hi=$ac_mid; break
14862 else
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.$ac_ext >&5
14865
14866 ac_lo=`expr $ac_mid + 1`
14867 if test $ac_lo -le $ac_mid; then
14868 ac_lo= ac_hi=
14869 break
14870 fi
14871 ac_mid=`expr 2 '*' $ac_mid + 1`
14872 fi
14873 rm -f conftest.$ac_objext conftest.$ac_ext
14874 done
14875 else
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14878
14879 cat >conftest.$ac_ext <<_ACEOF
14880 #line $LINENO "configure"
14881 /* confdefs.h. */
14882 _ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 $ac_includes_default
14887 int
14888 main ()
14889 {
14890 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14891 test_array [0] = 0
14892
14893 ;
14894 return 0;
14895 }
14896 _ACEOF
14897 rm -f conftest.$ac_objext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14899 (eval $ac_compile) 2>&5
14900 ac_status=$?
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try='test -s conftest.$ac_objext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14906 ac_status=$?
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_hi=-1 ac_mid=-1
14910 while :; do
14911 cat >conftest.$ac_ext <<_ACEOF
14912 #line $LINENO "configure"
14913 /* confdefs.h. */
14914 _ACEOF
14915 cat confdefs.h >>conftest.$ac_ext
14916 cat >>conftest.$ac_ext <<_ACEOF
14917 /* end confdefs.h. */
14918 $ac_includes_default
14919 int
14920 main ()
14921 {
14922 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14923 test_array [0] = 0
14924
14925 ;
14926 return 0;
14927 }
14928 _ACEOF
14929 rm -f conftest.$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14938 ac_status=$?
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_lo=$ac_mid; break
14942 else
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14945
14946 ac_hi=`expr '(' $ac_mid ')' - 1`
14947 if test $ac_mid -le $ac_hi; then
14948 ac_lo= ac_hi=
14949 break
14950 fi
14951 ac_mid=`expr 2 '*' $ac_mid`
14952 fi
14953 rm -f conftest.$ac_objext conftest.$ac_ext
14954 done
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14958
14959 ac_lo= ac_hi=
14960 fi
14961 rm -f conftest.$ac_objext conftest.$ac_ext
14962 fi
14963 rm -f conftest.$ac_objext conftest.$ac_ext
14964 # Binary search between lo and hi bounds.
14965 while test "x$ac_lo" != "x$ac_hi"; do
14966 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14967 cat >conftest.$ac_ext <<_ACEOF
14968 #line $LINENO "configure"
14969 /* confdefs.h. */
14970 _ACEOF
14971 cat confdefs.h >>conftest.$ac_ext
14972 cat >>conftest.$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14974 $ac_includes_default
14975 int
14976 main ()
14977 {
14978 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14979 test_array [0] = 0
14980
14981 ;
14982 return 0;
14983 }
14984 _ACEOF
14985 rm -f conftest.$ac_objext
14986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14987 (eval $ac_compile) 2>&5
14988 ac_status=$?
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); } &&
14991 { ac_try='test -s conftest.$ac_objext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14994 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14997 ac_hi=$ac_mid
14998 else
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.$ac_ext >&5
15001
15002 ac_lo=`expr '(' $ac_mid ')' + 1`
15003 fi
15004 rm -f conftest.$ac_objext conftest.$ac_ext
15005 done
15006 case $ac_lo in
15007 ?*) ac_cv_sizeof_int=$ac_lo;;
15008 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15009 See \`config.log' for more details." >&5
15010 echo "$as_me: error: cannot compute sizeof (int), 77
15011 See \`config.log' for more details." >&2;}
15012 { (exit 1); exit 1; }; } ;;
15013 esac
15014 else
15015 if test "$cross_compiling" = yes; then
15016 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15017 See \`config.log' for more details." >&5
15018 echo "$as_me: error: cannot run test program while cross compiling
15019 See \`config.log' for more details." >&2;}
15020 { (exit 1); exit 1; }; }
15021 else
15022 cat >conftest.$ac_ext <<_ACEOF
15023 #line $LINENO "configure"
15024 /* confdefs.h. */
15025 _ACEOF
15026 cat confdefs.h >>conftest.$ac_ext
15027 cat >>conftest.$ac_ext <<_ACEOF
15028 /* end confdefs.h. */
15029 $ac_includes_default
15030 long longval () { return (long) (sizeof (int)); }
15031 unsigned long ulongval () { return (long) (sizeof (int)); }
15032 #include <stdio.h>
15033 #include <stdlib.h>
15034 int
15035 main ()
15036 {
15037
15038 FILE *f = fopen ("conftest.val", "w");
15039 if (! f)
15040 exit (1);
15041 if (((long) (sizeof (int))) < 0)
15042 {
15043 long i = longval ();
15044 if (i != ((long) (sizeof (int))))
15045 exit (1);
15046 fprintf (f, "%ld\n", i);
15047 }
15048 else
15049 {
15050 unsigned long i = ulongval ();
15051 if (i != ((long) (sizeof (int))))
15052 exit (1);
15053 fprintf (f, "%lu\n", i);
15054 }
15055 exit (ferror (f) || fclose (f) != 0);
15056
15057 ;
15058 return 0;
15059 }
15060 _ACEOF
15061 rm -f conftest$ac_exeext
15062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15063 (eval $ac_link) 2>&5
15064 ac_status=$?
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15068 (eval $ac_try) 2>&5
15069 ac_status=$?
15070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 (exit $ac_status); }; }; then
15072 ac_cv_sizeof_int=`cat conftest.val`
15073 else
15074 echo "$as_me: program exited with status $ac_status" >&5
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.$ac_ext >&5
15077
15078 ( exit $ac_status )
15079 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15080 See \`config.log' for more details." >&5
15081 echo "$as_me: error: cannot compute sizeof (int), 77
15082 See \`config.log' for more details." >&2;}
15083 { (exit 1); exit 1; }; }
15084 fi
15085 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15086 fi
15087 fi
15088 rm -f conftest.val
15089 else
15090 ac_cv_sizeof_int=0
15091 fi
15092 fi
15093 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15094 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15095 cat >>confdefs.h <<_ACEOF
15096 #define SIZEOF_INT $ac_cv_sizeof_int
15097 _ACEOF
15098
15099
15100 echo "$as_me:$LINENO: checking for long" >&5
15101 echo $ECHO_N "checking for long... $ECHO_C" >&6
15102 if test "${ac_cv_type_long+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 cat >conftest.$ac_ext <<_ACEOF
15106 #line $LINENO "configure"
15107 /* confdefs.h. */
15108 _ACEOF
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15112 $ac_includes_default
15113 int
15114 main ()
15115 {
15116 if ((long *) 0)
15117 return 0;
15118 if (sizeof (long))
15119 return 0;
15120 ;
15121 return 0;
15122 }
15123 _ACEOF
15124 rm -f conftest.$ac_objext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15126 (eval $ac_compile) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15133 ac_status=$?
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_cv_type_long=yes
15137 else
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15140
15141 ac_cv_type_long=no
15142 fi
15143 rm -f conftest.$ac_objext conftest.$ac_ext
15144 fi
15145 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15146 echo "${ECHO_T}$ac_cv_type_long" >&6
15147
15148 echo "$as_me:$LINENO: checking size of long" >&5
15149 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15150 if test "${ac_cv_sizeof_long+set}" = set; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15152 else
15153 if test "$ac_cv_type_long" = yes; then
15154 # The cast to unsigned long works around a bug in the HP C Compiler
15155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15157 # This bug is HP SR number 8606223364.
15158 if test "$cross_compiling" = yes; then
15159 # Depending upon the size, compute the lo and hi bounds.
15160 cat >conftest.$ac_ext <<_ACEOF
15161 #line $LINENO "configure"
15162 /* confdefs.h. */
15163 _ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 $ac_includes_default
15168 int
15169 main ()
15170 {
15171 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15172 test_array [0] = 0
15173
15174 ;
15175 return 0;
15176 }
15177 _ACEOF
15178 rm -f conftest.$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15187 ac_status=$?
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_lo=0 ac_mid=0
15191 while :; do
15192 cat >conftest.$ac_ext <<_ACEOF
15193 #line $LINENO "configure"
15194 /* confdefs.h. */
15195 _ACEOF
15196 cat confdefs.h >>conftest.$ac_ext
15197 cat >>conftest.$ac_ext <<_ACEOF
15198 /* end confdefs.h. */
15199 $ac_includes_default
15200 int
15201 main ()
15202 {
15203 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15204 test_array [0] = 0
15205
15206 ;
15207 return 0;
15208 }
15209 _ACEOF
15210 rm -f conftest.$ac_objext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15212 (eval $ac_compile) 2>&5
15213 ac_status=$?
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); } &&
15216 { ac_try='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15219 ac_status=$?
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_hi=$ac_mid; break
15223 else
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.$ac_ext >&5
15226
15227 ac_lo=`expr $ac_mid + 1`
15228 if test $ac_lo -le $ac_mid; then
15229 ac_lo= ac_hi=
15230 break
15231 fi
15232 ac_mid=`expr 2 '*' $ac_mid + 1`
15233 fi
15234 rm -f conftest.$ac_objext conftest.$ac_ext
15235 done
15236 else
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.$ac_ext >&5
15239
15240 cat >conftest.$ac_ext <<_ACEOF
15241 #line $LINENO "configure"
15242 /* confdefs.h. */
15243 _ACEOF
15244 cat confdefs.h >>conftest.$ac_ext
15245 cat >>conftest.$ac_ext <<_ACEOF
15246 /* end confdefs.h. */
15247 $ac_includes_default
15248 int
15249 main ()
15250 {
15251 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15252 test_array [0] = 0
15253
15254 ;
15255 return 0;
15256 }
15257 _ACEOF
15258 rm -f conftest.$ac_objext
15259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15260 (eval $ac_compile) 2>&5
15261 ac_status=$?
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } &&
15264 { ac_try='test -s conftest.$ac_objext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15267 ac_status=$?
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 ac_hi=-1 ac_mid=-1
15271 while :; do
15272 cat >conftest.$ac_ext <<_ACEOF
15273 #line $LINENO "configure"
15274 /* confdefs.h. */
15275 _ACEOF
15276 cat confdefs.h >>conftest.$ac_ext
15277 cat >>conftest.$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15279 $ac_includes_default
15280 int
15281 main ()
15282 {
15283 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15284 test_array [0] = 0
15285
15286 ;
15287 return 0;
15288 }
15289 _ACEOF
15290 rm -f conftest.$ac_objext
15291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15292 (eval $ac_compile) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); } &&
15296 { ac_try='test -s conftest.$ac_objext'
15297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15298 (eval $ac_try) 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; }; then
15302 ac_lo=$ac_mid; break
15303 else
15304 echo "$as_me: failed program was:" >&5
15305 sed 's/^/| /' conftest.$ac_ext >&5
15306
15307 ac_hi=`expr '(' $ac_mid ')' - 1`
15308 if test $ac_mid -le $ac_hi; then
15309 ac_lo= ac_hi=
15310 break
15311 fi
15312 ac_mid=`expr 2 '*' $ac_mid`
15313 fi
15314 rm -f conftest.$ac_objext conftest.$ac_ext
15315 done
15316 else
15317 echo "$as_me: failed program was:" >&5
15318 sed 's/^/| /' conftest.$ac_ext >&5
15319
15320 ac_lo= ac_hi=
15321 fi
15322 rm -f conftest.$ac_objext conftest.$ac_ext
15323 fi
15324 rm -f conftest.$ac_objext conftest.$ac_ext
15325 # Binary search between lo and hi bounds.
15326 while test "x$ac_lo" != "x$ac_hi"; do
15327 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15328 cat >conftest.$ac_ext <<_ACEOF
15329 #line $LINENO "configure"
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15335 $ac_includes_default
15336 int
15337 main ()
15338 {
15339 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15340 test_array [0] = 0
15341
15342 ;
15343 return 0;
15344 }
15345 _ACEOF
15346 rm -f conftest.$ac_objext
15347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15348 (eval $ac_compile) 2>&5
15349 ac_status=$?
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } &&
15352 { ac_try='test -s conftest.$ac_objext'
15353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15354 (eval $ac_try) 2>&5
15355 ac_status=$?
15356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15357 (exit $ac_status); }; }; then
15358 ac_hi=$ac_mid
15359 else
15360 echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.$ac_ext >&5
15362
15363 ac_lo=`expr '(' $ac_mid ')' + 1`
15364 fi
15365 rm -f conftest.$ac_objext conftest.$ac_ext
15366 done
15367 case $ac_lo in
15368 ?*) ac_cv_sizeof_long=$ac_lo;;
15369 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15370 See \`config.log' for more details." >&5
15371 echo "$as_me: error: cannot compute sizeof (long), 77
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; } ;;
15374 esac
15375 else
15376 if test "$cross_compiling" = yes; then
15377 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15378 See \`config.log' for more details." >&5
15379 echo "$as_me: error: cannot run test program while cross compiling
15380 See \`config.log' for more details." >&2;}
15381 { (exit 1); exit 1; }; }
15382 else
15383 cat >conftest.$ac_ext <<_ACEOF
15384 #line $LINENO "configure"
15385 /* confdefs.h. */
15386 _ACEOF
15387 cat confdefs.h >>conftest.$ac_ext
15388 cat >>conftest.$ac_ext <<_ACEOF
15389 /* end confdefs.h. */
15390 $ac_includes_default
15391 long longval () { return (long) (sizeof (long)); }
15392 unsigned long ulongval () { return (long) (sizeof (long)); }
15393 #include <stdio.h>
15394 #include <stdlib.h>
15395 int
15396 main ()
15397 {
15398
15399 FILE *f = fopen ("conftest.val", "w");
15400 if (! f)
15401 exit (1);
15402 if (((long) (sizeof (long))) < 0)
15403 {
15404 long i = longval ();
15405 if (i != ((long) (sizeof (long))))
15406 exit (1);
15407 fprintf (f, "%ld\n", i);
15408 }
15409 else
15410 {
15411 unsigned long i = ulongval ();
15412 if (i != ((long) (sizeof (long))))
15413 exit (1);
15414 fprintf (f, "%lu\n", i);
15415 }
15416 exit (ferror (f) || fclose (f) != 0);
15417
15418 ;
15419 return 0;
15420 }
15421 _ACEOF
15422 rm -f conftest$ac_exeext
15423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15424 (eval $ac_link) 2>&5
15425 ac_status=$?
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15430 ac_status=$?
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; }; then
15433 ac_cv_sizeof_long=`cat conftest.val`
15434 else
15435 echo "$as_me: program exited with status $ac_status" >&5
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.$ac_ext >&5
15438
15439 ( exit $ac_status )
15440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15441 See \`config.log' for more details." >&5
15442 echo "$as_me: error: cannot compute sizeof (long), 77
15443 See \`config.log' for more details." >&2;}
15444 { (exit 1); exit 1; }; }
15445 fi
15446 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15447 fi
15448 fi
15449 rm -f conftest.val
15450 else
15451 ac_cv_sizeof_long=0
15452 fi
15453 fi
15454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15455 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15456 cat >>confdefs.h <<_ACEOF
15457 #define SIZEOF_LONG $ac_cv_sizeof_long
15458 _ACEOF
15459
15460
15461
15462 case "${host}" in
15463 arm-*-linux* )
15464 echo "$as_me:$LINENO: checking for long long" >&5
15465 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15466 if test "${ac_cv_type_long_long+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 else
15469 cat >conftest.$ac_ext <<_ACEOF
15470 #line $LINENO "configure"
15471 /* confdefs.h. */
15472 _ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15476 $ac_includes_default
15477 int
15478 main ()
15479 {
15480 if ((long long *) 0)
15481 return 0;
15482 if (sizeof (long long))
15483 return 0;
15484 ;
15485 return 0;
15486 }
15487 _ACEOF
15488 rm -f conftest.$ac_objext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15490 (eval $ac_compile) 2>&5
15491 ac_status=$?
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -s conftest.$ac_objext'
15495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15496 (eval $ac_try) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }; }; then
15500 ac_cv_type_long_long=yes
15501 else
15502 echo "$as_me: failed program was:" >&5
15503 sed 's/^/| /' conftest.$ac_ext >&5
15504
15505 ac_cv_type_long_long=no
15506 fi
15507 rm -f conftest.$ac_objext conftest.$ac_ext
15508 fi
15509 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15510 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15511
15512 echo "$as_me:$LINENO: checking size of long long" >&5
15513 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15514 if test "${ac_cv_sizeof_long_long+set}" = set; then
15515 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 else
15517 if test "$ac_cv_type_long_long" = yes; then
15518 # The cast to unsigned long works around a bug in the HP C Compiler
15519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15521 # This bug is HP SR number 8606223364.
15522 if test "$cross_compiling" = yes; then
15523 # Depending upon the size, compute the lo and hi bounds.
15524 cat >conftest.$ac_ext <<_ACEOF
15525 #line $LINENO "configure"
15526 /* confdefs.h. */
15527 _ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15532 int
15533 main ()
15534 {
15535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15536 test_array [0] = 0
15537
15538 ;
15539 return 0;
15540 }
15541 _ACEOF
15542 rm -f conftest.$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_lo=0 ac_mid=0
15555 while :; do
15556 cat >conftest.$ac_ext <<_ACEOF
15557 #line $LINENO "configure"
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 $ac_includes_default
15564 int
15565 main ()
15566 {
15567 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15568 test_array [0] = 0
15569
15570 ;
15571 return 0;
15572 }
15573 _ACEOF
15574 rm -f conftest.$ac_objext
15575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15576 (eval $ac_compile) 2>&5
15577 ac_status=$?
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } &&
15580 { ac_try='test -s conftest.$ac_objext'
15581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15582 (eval $ac_try) 2>&5
15583 ac_status=$?
15584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15585 (exit $ac_status); }; }; then
15586 ac_hi=$ac_mid; break
15587 else
15588 echo "$as_me: failed program was:" >&5
15589 sed 's/^/| /' conftest.$ac_ext >&5
15590
15591 ac_lo=`expr $ac_mid + 1`
15592 if test $ac_lo -le $ac_mid; then
15593 ac_lo= ac_hi=
15594 break
15595 fi
15596 ac_mid=`expr 2 '*' $ac_mid + 1`
15597 fi
15598 rm -f conftest.$ac_objext conftest.$ac_ext
15599 done
15600 else
15601 echo "$as_me: failed program was:" >&5
15602 sed 's/^/| /' conftest.$ac_ext >&5
15603
15604 cat >conftest.$ac_ext <<_ACEOF
15605 #line $LINENO "configure"
15606 /* confdefs.h. */
15607 _ACEOF
15608 cat confdefs.h >>conftest.$ac_ext
15609 cat >>conftest.$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15611 $ac_includes_default
15612 int
15613 main ()
15614 {
15615 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15616 test_array [0] = 0
15617
15618 ;
15619 return 0;
15620 }
15621 _ACEOF
15622 rm -f conftest.$ac_objext
15623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15624 (eval $ac_compile) 2>&5
15625 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -s conftest.$ac_objext'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; }; then
15634 ac_hi=-1 ac_mid=-1
15635 while :; do
15636 cat >conftest.$ac_ext <<_ACEOF
15637 #line $LINENO "configure"
15638 /* confdefs.h. */
15639 _ACEOF
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15643 $ac_includes_default
15644 int
15645 main ()
15646 {
15647 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15648 test_array [0] = 0
15649
15650 ;
15651 return 0;
15652 }
15653 _ACEOF
15654 rm -f conftest.$ac_objext
15655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15656 (eval $ac_compile) 2>&5
15657 ac_status=$?
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try='test -s conftest.$ac_objext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15663 ac_status=$?
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 ac_lo=$ac_mid; break
15667 else
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.$ac_ext >&5
15670
15671 ac_hi=`expr '(' $ac_mid ')' - 1`
15672 if test $ac_mid -le $ac_hi; then
15673 ac_lo= ac_hi=
15674 break
15675 fi
15676 ac_mid=`expr 2 '*' $ac_mid`
15677 fi
15678 rm -f conftest.$ac_objext conftest.$ac_ext
15679 done
15680 else
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15683
15684 ac_lo= ac_hi=
15685 fi
15686 rm -f conftest.$ac_objext conftest.$ac_ext
15687 fi
15688 rm -f conftest.$ac_objext conftest.$ac_ext
15689 # Binary search between lo and hi bounds.
15690 while test "x$ac_lo" != "x$ac_hi"; do
15691 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15692 cat >conftest.$ac_ext <<_ACEOF
15693 #line $LINENO "configure"
15694 /* confdefs.h. */
15695 _ACEOF
15696 cat confdefs.h >>conftest.$ac_ext
15697 cat >>conftest.$ac_ext <<_ACEOF
15698 /* end confdefs.h. */
15699 $ac_includes_default
15700 int
15701 main ()
15702 {
15703 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15704 test_array [0] = 0
15705
15706 ;
15707 return 0;
15708 }
15709 _ACEOF
15710 rm -f conftest.$ac_objext
15711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712 (eval $ac_compile) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); } &&
15716 { ac_try='test -s conftest.$ac_objext'
15717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15718 (eval $ac_try) 2>&5
15719 ac_status=$?
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); }; }; then
15722 ac_hi=$ac_mid
15723 else
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.$ac_ext >&5
15726
15727 ac_lo=`expr '(' $ac_mid ')' + 1`
15728 fi
15729 rm -f conftest.$ac_objext conftest.$ac_ext
15730 done
15731 case $ac_lo in
15732 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15733 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15734 See \`config.log' for more details." >&5
15735 echo "$as_me: error: cannot compute sizeof (long long), 77
15736 See \`config.log' for more details." >&2;}
15737 { (exit 1); exit 1; }; } ;;
15738 esac
15739 else
15740 if test "$cross_compiling" = yes; then
15741 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15742 See \`config.log' for more details." >&5
15743 echo "$as_me: error: cannot run test program while cross compiling
15744 See \`config.log' for more details." >&2;}
15745 { (exit 1); exit 1; }; }
15746 else
15747 cat >conftest.$ac_ext <<_ACEOF
15748 #line $LINENO "configure"
15749 /* confdefs.h. */
15750 _ACEOF
15751 cat confdefs.h >>conftest.$ac_ext
15752 cat >>conftest.$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15754 $ac_includes_default
15755 long longval () { return (long) (sizeof (long long)); }
15756 unsigned long ulongval () { return (long) (sizeof (long long)); }
15757 #include <stdio.h>
15758 #include <stdlib.h>
15759 int
15760 main ()
15761 {
15762
15763 FILE *f = fopen ("conftest.val", "w");
15764 if (! f)
15765 exit (1);
15766 if (((long) (sizeof (long long))) < 0)
15767 {
15768 long i = longval ();
15769 if (i != ((long) (sizeof (long long))))
15770 exit (1);
15771 fprintf (f, "%ld\n", i);
15772 }
15773 else
15774 {
15775 unsigned long i = ulongval ();
15776 if (i != ((long) (sizeof (long long))))
15777 exit (1);
15778 fprintf (f, "%lu\n", i);
15779 }
15780 exit (ferror (f) || fclose (f) != 0);
15781
15782 ;
15783 return 0;
15784 }
15785 _ACEOF
15786 rm -f conftest$ac_exeext
15787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15788 (eval $ac_link) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15794 ac_status=$?
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; }; then
15797 ac_cv_sizeof_long_long=`cat conftest.val`
15798 else
15799 echo "$as_me: program exited with status $ac_status" >&5
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15802
15803 ( exit $ac_status )
15804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15805 See \`config.log' for more details." >&5
15806 echo "$as_me: error: cannot compute sizeof (long long), 77
15807 See \`config.log' for more details." >&2;}
15808 { (exit 1); exit 1; }; }
15809 fi
15810 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15811 fi
15812 fi
15813 rm -f conftest.val
15814 else
15815 ac_cv_sizeof_long_long=0
15816 fi
15817 fi
15818 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15819 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15820 cat >>confdefs.h <<_ACEOF
15821 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15822 _ACEOF
15823
15824
15825 ;;
15826 *-hp-hpux* )
15827 echo "$as_me:$LINENO: checking for long long" >&5
15828 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15829 if test "${ac_cv_type_long_long+set}" = set; then
15830 echo $ECHO_N "(cached) $ECHO_C" >&6
15831 else
15832 cat >conftest.$ac_ext <<_ACEOF
15833 #line $LINENO "configure"
15834 /* confdefs.h. */
15835 _ACEOF
15836 cat confdefs.h >>conftest.$ac_ext
15837 cat >>conftest.$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15839 $ac_includes_default
15840 int
15841 main ()
15842 {
15843 if ((long long *) 0)
15844 return 0;
15845 if (sizeof (long long))
15846 return 0;
15847 ;
15848 return 0;
15849 }
15850 _ACEOF
15851 rm -f conftest.$ac_objext
15852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15853 (eval $ac_compile) 2>&5
15854 ac_status=$?
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -s conftest.$ac_objext'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15860 ac_status=$?
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; }; then
15863 ac_cv_type_long_long=yes
15864 else
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.$ac_ext >&5
15867
15868 ac_cv_type_long_long=no
15869 fi
15870 rm -f conftest.$ac_objext conftest.$ac_ext
15871 fi
15872 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15873 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15874
15875 echo "$as_me:$LINENO: checking size of long long" >&5
15876 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15877 if test "${ac_cv_sizeof_long_long+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 if test "$ac_cv_type_long_long" = yes; then
15881 # The cast to unsigned long works around a bug in the HP C Compiler
15882 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15883 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15884 # This bug is HP SR number 8606223364.
15885 if test "$cross_compiling" = yes; then
15886 # Depending upon the size, compute the lo and hi bounds.
15887 cat >conftest.$ac_ext <<_ACEOF
15888 #line $LINENO "configure"
15889 /* confdefs.h. */
15890 _ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 $ac_includes_default
15895 int
15896 main ()
15897 {
15898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15899 test_array [0] = 0
15900
15901 ;
15902 return 0;
15903 }
15904 _ACEOF
15905 rm -f conftest.$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); } &&
15911 { ac_try='test -s conftest.$ac_objext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15914 ac_status=$?
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 ac_lo=0 ac_mid=0
15918 while :; do
15919 cat >conftest.$ac_ext <<_ACEOF
15920 #line $LINENO "configure"
15921 /* confdefs.h. */
15922 _ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 $ac_includes_default
15927 int
15928 main ()
15929 {
15930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15931 test_array [0] = 0
15932
15933 ;
15934 return 0;
15935 }
15936 _ACEOF
15937 rm -f conftest.$ac_objext
15938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15939 (eval $ac_compile) 2>&5
15940 ac_status=$?
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15946 ac_status=$?
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15949 ac_hi=$ac_mid; break
15950 else
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15953
15954 ac_lo=`expr $ac_mid + 1`
15955 if test $ac_lo -le $ac_mid; then
15956 ac_lo= ac_hi=
15957 break
15958 fi
15959 ac_mid=`expr 2 '*' $ac_mid + 1`
15960 fi
15961 rm -f conftest.$ac_objext conftest.$ac_ext
15962 done
15963 else
15964 echo "$as_me: failed program was:" >&5
15965 sed 's/^/| /' conftest.$ac_ext >&5
15966
15967 cat >conftest.$ac_ext <<_ACEOF
15968 #line $LINENO "configure"
15969 /* confdefs.h. */
15970 _ACEOF
15971 cat confdefs.h >>conftest.$ac_ext
15972 cat >>conftest.$ac_ext <<_ACEOF
15973 /* end confdefs.h. */
15974 $ac_includes_default
15975 int
15976 main ()
15977 {
15978 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15979 test_array [0] = 0
15980
15981 ;
15982 return 0;
15983 }
15984 _ACEOF
15985 rm -f conftest.$ac_objext
15986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15987 (eval $ac_compile) 2>&5
15988 ac_status=$?
15989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15990 (exit $ac_status); } &&
15991 { ac_try='test -s conftest.$ac_objext'
15992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15993 (eval $ac_try) 2>&5
15994 ac_status=$?
15995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15996 (exit $ac_status); }; }; then
15997 ac_hi=-1 ac_mid=-1
15998 while :; do
15999 cat >conftest.$ac_ext <<_ACEOF
16000 #line $LINENO "configure"
16001 /* confdefs.h. */
16002 _ACEOF
16003 cat confdefs.h >>conftest.$ac_ext
16004 cat >>conftest.$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16006 $ac_includes_default
16007 int
16008 main ()
16009 {
16010 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16011 test_array [0] = 0
16012
16013 ;
16014 return 0;
16015 }
16016 _ACEOF
16017 rm -f conftest.$ac_objext
16018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16019 (eval $ac_compile) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); } &&
16023 { ac_try='test -s conftest.$ac_objext'
16024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16025 (eval $ac_try) 2>&5
16026 ac_status=$?
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); }; }; then
16029 ac_lo=$ac_mid; break
16030 else
16031 echo "$as_me: failed program was:" >&5
16032 sed 's/^/| /' conftest.$ac_ext >&5
16033
16034 ac_hi=`expr '(' $ac_mid ')' - 1`
16035 if test $ac_mid -le $ac_hi; then
16036 ac_lo= ac_hi=
16037 break
16038 fi
16039 ac_mid=`expr 2 '*' $ac_mid`
16040 fi
16041 rm -f conftest.$ac_objext conftest.$ac_ext
16042 done
16043 else
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16046
16047 ac_lo= ac_hi=
16048 fi
16049 rm -f conftest.$ac_objext conftest.$ac_ext
16050 fi
16051 rm -f conftest.$ac_objext conftest.$ac_ext
16052 # Binary search between lo and hi bounds.
16053 while test "x$ac_lo" != "x$ac_hi"; do
16054 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16055 cat >conftest.$ac_ext <<_ACEOF
16056 #line $LINENO "configure"
16057 /* confdefs.h. */
16058 _ACEOF
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16062 $ac_includes_default
16063 int
16064 main ()
16065 {
16066 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16067 test_array [0] = 0
16068
16069 ;
16070 return 0;
16071 }
16072 _ACEOF
16073 rm -f conftest.$ac_objext
16074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); } &&
16079 { ac_try='test -s conftest.$ac_objext'
16080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081 (eval $ac_try) 2>&5
16082 ac_status=$?
16083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); }; }; then
16085 ac_hi=$ac_mid
16086 else
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16089
16090 ac_lo=`expr '(' $ac_mid ')' + 1`
16091 fi
16092 rm -f conftest.$ac_objext conftest.$ac_ext
16093 done
16094 case $ac_lo in
16095 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16096 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16097 See \`config.log' for more details." >&5
16098 echo "$as_me: error: cannot compute sizeof (long long), 77
16099 See \`config.log' for more details." >&2;}
16100 { (exit 1); exit 1; }; } ;;
16101 esac
16102 else
16103 if test "$cross_compiling" = yes; then
16104 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16105 See \`config.log' for more details." >&5
16106 echo "$as_me: error: cannot run test program while cross compiling
16107 See \`config.log' for more details." >&2;}
16108 { (exit 1); exit 1; }; }
16109 else
16110 cat >conftest.$ac_ext <<_ACEOF
16111 #line $LINENO "configure"
16112 /* confdefs.h. */
16113 _ACEOF
16114 cat confdefs.h >>conftest.$ac_ext
16115 cat >>conftest.$ac_ext <<_ACEOF
16116 /* end confdefs.h. */
16117 $ac_includes_default
16118 long longval () { return (long) (sizeof (long long)); }
16119 unsigned long ulongval () { return (long) (sizeof (long long)); }
16120 #include <stdio.h>
16121 #include <stdlib.h>
16122 int
16123 main ()
16124 {
16125
16126 FILE *f = fopen ("conftest.val", "w");
16127 if (! f)
16128 exit (1);
16129 if (((long) (sizeof (long long))) < 0)
16130 {
16131 long i = longval ();
16132 if (i != ((long) (sizeof (long long))))
16133 exit (1);
16134 fprintf (f, "%ld\n", i);
16135 }
16136 else
16137 {
16138 unsigned long i = ulongval ();
16139 if (i != ((long) (sizeof (long long))))
16140 exit (1);
16141 fprintf (f, "%lu\n", i);
16142 }
16143 exit (ferror (f) || fclose (f) != 0);
16144
16145 ;
16146 return 0;
16147 }
16148 _ACEOF
16149 rm -f conftest$ac_exeext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16151 (eval $ac_link) 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16157 ac_status=$?
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; }; then
16160 ac_cv_sizeof_long_long=`cat conftest.val`
16161 else
16162 echo "$as_me: program exited with status $ac_status" >&5
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16165
16166 ( exit $ac_status )
16167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16168 See \`config.log' for more details." >&5
16169 echo "$as_me: error: cannot compute sizeof (long long), 77
16170 See \`config.log' for more details." >&2;}
16171 { (exit 1); exit 1; }; }
16172 fi
16173 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16174 fi
16175 fi
16176 rm -f conftest.val
16177 else
16178 ac_cv_sizeof_long_long=0
16179 fi
16180 fi
16181 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16182 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16183 cat >>confdefs.h <<_ACEOF
16184 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16185 _ACEOF
16186
16187
16188 if test "$ac_cv_sizeof_long_long" != "0"; then
16189 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16190 fi
16191 ;;
16192 * )
16193 echo "$as_me:$LINENO: checking for long long" >&5
16194 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16195 if test "${ac_cv_type_long_long+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 cat >conftest.$ac_ext <<_ACEOF
16199 #line $LINENO "configure"
16200 /* confdefs.h. */
16201 _ACEOF
16202 cat confdefs.h >>conftest.$ac_ext
16203 cat >>conftest.$ac_ext <<_ACEOF
16204 /* end confdefs.h. */
16205 $ac_includes_default
16206 int
16207 main ()
16208 {
16209 if ((long long *) 0)
16210 return 0;
16211 if (sizeof (long long))
16212 return 0;
16213 ;
16214 return 0;
16215 }
16216 _ACEOF
16217 rm -f conftest.$ac_objext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16219 (eval $ac_compile) 2>&5
16220 ac_status=$?
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } &&
16223 { ac_try='test -s conftest.$ac_objext'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16226 ac_status=$?
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; }; then
16229 ac_cv_type_long_long=yes
16230 else
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.$ac_ext >&5
16233
16234 ac_cv_type_long_long=no
16235 fi
16236 rm -f conftest.$ac_objext conftest.$ac_ext
16237 fi
16238 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16239 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16240
16241 echo "$as_me:$LINENO: checking size of long long" >&5
16242 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16243 if test "${ac_cv_sizeof_long_long+set}" = set; then
16244 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 else
16246 if test "$ac_cv_type_long_long" = yes; then
16247 # The cast to unsigned long works around a bug in the HP C Compiler
16248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16250 # This bug is HP SR number 8606223364.
16251 if test "$cross_compiling" = yes; then
16252 # Depending upon the size, compute the lo and hi bounds.
16253 cat >conftest.$ac_ext <<_ACEOF
16254 #line $LINENO "configure"
16255 /* confdefs.h. */
16256 _ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16261 int
16262 main ()
16263 {
16264 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16265 test_array [0] = 0
16266
16267 ;
16268 return 0;
16269 }
16270 _ACEOF
16271 rm -f conftest.$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } &&
16277 { ac_try='test -s conftest.$ac_objext'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16280 ac_status=$?
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; }; then
16283 ac_lo=0 ac_mid=0
16284 while :; do
16285 cat >conftest.$ac_ext <<_ACEOF
16286 #line $LINENO "configure"
16287 /* confdefs.h. */
16288 _ACEOF
16289 cat confdefs.h >>conftest.$ac_ext
16290 cat >>conftest.$ac_ext <<_ACEOF
16291 /* end confdefs.h. */
16292 $ac_includes_default
16293 int
16294 main ()
16295 {
16296 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16297 test_array [0] = 0
16298
16299 ;
16300 return 0;
16301 }
16302 _ACEOF
16303 rm -f conftest.$ac_objext
16304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16305 (eval $ac_compile) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } &&
16309 { ac_try='test -s conftest.$ac_objext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16312 ac_status=$?
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_hi=$ac_mid; break
16316 else
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.$ac_ext >&5
16319
16320 ac_lo=`expr $ac_mid + 1`
16321 if test $ac_lo -le $ac_mid; then
16322 ac_lo= ac_hi=
16323 break
16324 fi
16325 ac_mid=`expr 2 '*' $ac_mid + 1`
16326 fi
16327 rm -f conftest.$ac_objext conftest.$ac_ext
16328 done
16329 else
16330 echo "$as_me: failed program was:" >&5
16331 sed 's/^/| /' conftest.$ac_ext >&5
16332
16333 cat >conftest.$ac_ext <<_ACEOF
16334 #line $LINENO "configure"
16335 /* confdefs.h. */
16336 _ACEOF
16337 cat confdefs.h >>conftest.$ac_ext
16338 cat >>conftest.$ac_ext <<_ACEOF
16339 /* end confdefs.h. */
16340 $ac_includes_default
16341 int
16342 main ()
16343 {
16344 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16345 test_array [0] = 0
16346
16347 ;
16348 return 0;
16349 }
16350 _ACEOF
16351 rm -f conftest.$ac_objext
16352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16353 (eval $ac_compile) 2>&5
16354 ac_status=$?
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try='test -s conftest.$ac_objext'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16360 ac_status=$?
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; }; then
16363 ac_hi=-1 ac_mid=-1
16364 while :; do
16365 cat >conftest.$ac_ext <<_ACEOF
16366 #line $LINENO "configure"
16367 /* confdefs.h. */
16368 _ACEOF
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16373 int
16374 main ()
16375 {
16376 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16377 test_array [0] = 0
16378
16379 ;
16380 return 0;
16381 }
16382 _ACEOF
16383 rm -f conftest.$ac_objext
16384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16385 (eval $ac_compile) 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); } &&
16389 { ac_try='test -s conftest.$ac_objext'
16390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16391 (eval $ac_try) 2>&5
16392 ac_status=$?
16393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16394 (exit $ac_status); }; }; then
16395 ac_lo=$ac_mid; break
16396 else
16397 echo "$as_me: failed program was:" >&5
16398 sed 's/^/| /' conftest.$ac_ext >&5
16399
16400 ac_hi=`expr '(' $ac_mid ')' - 1`
16401 if test $ac_mid -le $ac_hi; then
16402 ac_lo= ac_hi=
16403 break
16404 fi
16405 ac_mid=`expr 2 '*' $ac_mid`
16406 fi
16407 rm -f conftest.$ac_objext conftest.$ac_ext
16408 done
16409 else
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16412
16413 ac_lo= ac_hi=
16414 fi
16415 rm -f conftest.$ac_objext conftest.$ac_ext
16416 fi
16417 rm -f conftest.$ac_objext conftest.$ac_ext
16418 # Binary search between lo and hi bounds.
16419 while test "x$ac_lo" != "x$ac_hi"; do
16420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16421 cat >conftest.$ac_ext <<_ACEOF
16422 #line $LINENO "configure"
16423 /* confdefs.h. */
16424 _ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16429 int
16430 main ()
16431 {
16432 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16433 test_array [0] = 0
16434
16435 ;
16436 return 0;
16437 }
16438 _ACEOF
16439 rm -f conftest.$ac_objext
16440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16441 (eval $ac_compile) 2>&5
16442 ac_status=$?
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } &&
16445 { ac_try='test -s conftest.$ac_objext'
16446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 (eval $ac_try) 2>&5
16448 ac_status=$?
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; }; then
16451 ac_hi=$ac_mid
16452 else
16453 echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.$ac_ext >&5
16455
16456 ac_lo=`expr '(' $ac_mid ')' + 1`
16457 fi
16458 rm -f conftest.$ac_objext conftest.$ac_ext
16459 done
16460 case $ac_lo in
16461 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16462 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16463 See \`config.log' for more details." >&5
16464 echo "$as_me: error: cannot compute sizeof (long long), 77
16465 See \`config.log' for more details." >&2;}
16466 { (exit 1); exit 1; }; } ;;
16467 esac
16468 else
16469 if test "$cross_compiling" = yes; then
16470 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16471 See \`config.log' for more details." >&5
16472 echo "$as_me: error: cannot run test program while cross compiling
16473 See \`config.log' for more details." >&2;}
16474 { (exit 1); exit 1; }; }
16475 else
16476 cat >conftest.$ac_ext <<_ACEOF
16477 #line $LINENO "configure"
16478 /* confdefs.h. */
16479 _ACEOF
16480 cat confdefs.h >>conftest.$ac_ext
16481 cat >>conftest.$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 $ac_includes_default
16484 long longval () { return (long) (sizeof (long long)); }
16485 unsigned long ulongval () { return (long) (sizeof (long long)); }
16486 #include <stdio.h>
16487 #include <stdlib.h>
16488 int
16489 main ()
16490 {
16491
16492 FILE *f = fopen ("conftest.val", "w");
16493 if (! f)
16494 exit (1);
16495 if (((long) (sizeof (long long))) < 0)
16496 {
16497 long i = longval ();
16498 if (i != ((long) (sizeof (long long))))
16499 exit (1);
16500 fprintf (f, "%ld\n", i);
16501 }
16502 else
16503 {
16504 unsigned long i = ulongval ();
16505 if (i != ((long) (sizeof (long long))))
16506 exit (1);
16507 fprintf (f, "%lu\n", i);
16508 }
16509 exit (ferror (f) || fclose (f) != 0);
16510
16511 ;
16512 return 0;
16513 }
16514 _ACEOF
16515 rm -f conftest$ac_exeext
16516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16517 (eval $ac_link) 2>&5
16518 ac_status=$?
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16526 ac_cv_sizeof_long_long=`cat conftest.val`
16527 else
16528 echo "$as_me: program exited with status $ac_status" >&5
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16531
16532 ( exit $ac_status )
16533 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16534 See \`config.log' for more details." >&5
16535 echo "$as_me: error: cannot compute sizeof (long long), 77
16536 See \`config.log' for more details." >&2;}
16537 { (exit 1); exit 1; }; }
16538 fi
16539 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16540 fi
16541 fi
16542 rm -f conftest.val
16543 else
16544 ac_cv_sizeof_long_long=0
16545 fi
16546 fi
16547 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16548 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16549 cat >>confdefs.h <<_ACEOF
16550 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16551 _ACEOF
16552
16553
16554 esac
16555
16556 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16557 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16558 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 else
16561
16562 if test "$cross_compiling" = yes; then
16563
16564 case "${host}" in
16565 *-pc-msdosdjgpp )
16566 wx_cv_sizeof_wchar_t=0
16567 ;;
16568 * )
16569 wx_cv_sizeof_wchar_t=4
16570 ;;
16571 esac
16572
16573
16574 else
16575 cat >conftest.$ac_ext <<_ACEOF
16576 #line $LINENO "configure"
16577 /* confdefs.h. */
16578 _ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h. */
16582
16583 /* DJGPP only has fake wchar_t: */
16584 #ifdef __DJGPP__
16585 # error "fake wchar_t"
16586 #endif
16587 #ifdef HAVE_WCHAR_H
16588 # ifdef __CYGWIN__
16589 # include <stddef.h>
16590 # endif
16591 # include <wchar.h>
16592 #endif
16593 #ifdef HAVE_STDLIB_H
16594 # include <stdlib.h>
16595 #endif
16596 #include <stdio.h>
16597 int main()
16598 {
16599 FILE *f=fopen("conftestval", "w");
16600 if (!f) exit(1);
16601 fprintf(f, "%i", sizeof(wchar_t));
16602 exit(0);
16603 }
16604
16605 _ACEOF
16606 rm -f conftest$ac_exeext
16607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16608 (eval $ac_link) 2>&5
16609 ac_status=$?
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613 (eval $ac_try) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); }; }; then
16617 wx_cv_sizeof_wchar_t=`cat conftestval`
16618 else
16619 echo "$as_me: program exited with status $ac_status" >&5
16620 echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.$ac_ext >&5
16622
16623 ( exit $ac_status )
16624 wx_cv_sizeof_wchar_t=0
16625 fi
16626 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16627 fi
16628
16629 fi
16630 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16631 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16632
16633 cat >>confdefs.h <<_ACEOF
16634 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16635 _ACEOF
16636
16637
16638 # Check whether --enable-largefile or --disable-largefile was given.
16639 if test "${enable_largefile+set}" = set; then
16640 enableval="$enable_largefile"
16641
16642 fi;
16643 if test "$enable_largefile" != no; then
16644 wx_largefile=no
16645
16646 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16647 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16648 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16650 else
16651
16652 cat >conftest.$ac_ext <<_ACEOF
16653 #line $LINENO "configure"
16654 /* confdefs.h. */
16655 _ACEOF
16656 cat confdefs.h >>conftest.$ac_ext
16657 cat >>conftest.$ac_ext <<_ACEOF
16658 /* end confdefs.h. */
16659 #define _FILE_OFFSET_BITS 64
16660 #include <sys/types.h>
16661 int
16662 main ()
16663 {
16664 typedef struct {
16665 unsigned int field: sizeof(off_t) == 8;
16666 } wxlf;
16667
16668 ;
16669 return 0;
16670 }
16671 _ACEOF
16672 rm -f conftest.$ac_objext
16673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16674 (eval $ac_compile) 2>&5
16675 ac_status=$?
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } &&
16678 { ac_try='test -s conftest.$ac_objext'
16679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16680 (eval $ac_try) 2>&5
16681 ac_status=$?
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }; }; then
16684 ac_cv_sys_file_offset_bits=64
16685 else
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.$ac_ext >&5
16688
16689 ac_cv_sys_file_offset_bits=no
16690 fi
16691 rm -f conftest.$ac_objext conftest.$ac_ext
16692
16693
16694 fi
16695 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16696 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16697
16698 if test "$ac_cv_sys_file_offset_bits" != no; then
16699 wx_largefile=yes
16700 cat >>confdefs.h <<_ACEOF
16701 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16702 _ACEOF
16703
16704 fi
16705
16706 if test "x$wx_largefile" != "xyes"; then
16707
16708 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16709 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16710 if test "${ac_cv_sys_large_files+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 else
16713
16714 cat >conftest.$ac_ext <<_ACEOF
16715 #line $LINENO "configure"
16716 /* confdefs.h. */
16717 _ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #define _LARGE_FILES 1
16722 #include <sys/types.h>
16723 int
16724 main ()
16725 {
16726 typedef struct {
16727 unsigned int field: sizeof(off_t) == 8;
16728 } wxlf;
16729
16730 ;
16731 return 0;
16732 }
16733 _ACEOF
16734 rm -f conftest.$ac_objext
16735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16736 (eval $ac_compile) 2>&5
16737 ac_status=$?
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try='test -s conftest.$ac_objext'
16741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16742 (eval $ac_try) 2>&5
16743 ac_status=$?
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); }; }; then
16746 ac_cv_sys_large_files=1
16747 else
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16750
16751 ac_cv_sys_large_files=no
16752 fi
16753 rm -f conftest.$ac_objext conftest.$ac_ext
16754
16755
16756 fi
16757 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16758 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16759
16760 if test "$ac_cv_sys_large_files" != no; then
16761 wx_largefile=yes
16762 cat >>confdefs.h <<_ACEOF
16763 #define _LARGE_FILES $ac_cv_sys_large_files
16764 _ACEOF
16765
16766 fi
16767
16768 fi
16769
16770 echo "$as_me:$LINENO: checking if large file support is available" >&5
16771 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16772 if test "x$wx_largefile" = "xyes"; then
16773 cat >>confdefs.h <<\_ACEOF
16774 #define HAVE_LARGEFILE_SUPPORT 1
16775 _ACEOF
16776
16777 fi
16778 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16779 echo "${ECHO_T}$wx_largefile" >&6
16780 fi
16781
16782
16783 if test "x$wx_largefile" = "xyes"; then
16784 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16785 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16786 else
16787 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16788 fi
16789 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16790 fi
16791
16792 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16793 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16794 if test "${ac_cv_c_bigendian+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797 ac_cv_c_bigendian=unknown
16798 # See if sys/param.h defines the BYTE_ORDER macro.
16799 cat >conftest.$ac_ext <<_ACEOF
16800 #line $LINENO "configure"
16801 /* confdefs.h. */
16802 _ACEOF
16803 cat confdefs.h >>conftest.$ac_ext
16804 cat >>conftest.$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16806 #include <sys/types.h>
16807 #include <sys/param.h>
16808 int
16809 main ()
16810 {
16811
16812 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16813 bogus endian macros
16814 #endif
16815 ;
16816 return 0;
16817 }
16818 _ACEOF
16819 rm -f conftest.$ac_objext
16820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16821 (eval $ac_compile) 2>&5
16822 ac_status=$?
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } &&
16825 { ac_try='test -s conftest.$ac_objext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 # It does; now see whether it defined to BIG_ENDIAN or not.
16832 cat >conftest.$ac_ext <<_ACEOF
16833 #line $LINENO "configure"
16834 /* confdefs.h. */
16835 _ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #include <sys/types.h>
16840 #include <sys/param.h>
16841 int
16842 main ()
16843 {
16844
16845 #if BYTE_ORDER != BIG_ENDIAN
16846 not big endian
16847 #endif
16848 ;
16849 return 0;
16850 }
16851 _ACEOF
16852 rm -f conftest.$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>&5
16855 ac_status=$?
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -s conftest.$ac_objext'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; }; then
16864 ac_cv_c_bigendian=yes
16865 else
16866 echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.$ac_ext >&5
16868
16869 ac_cv_c_bigendian=no
16870 fi
16871 rm -f conftest.$ac_objext conftest.$ac_ext
16872 else
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.$ac_ext >&5
16875
16876 fi
16877 rm -f conftest.$ac_objext conftest.$ac_ext
16878 if test $ac_cv_c_bigendian = unknown; then
16879 if test "$cross_compiling" = yes; then
16880 ac_cv_c_bigendian=unknown
16881 else
16882 cat >conftest.$ac_ext <<_ACEOF
16883 #line $LINENO "configure"
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 main () {
16890 /* Are we little or big endian? From Harbison&Steele. */
16891 union
16892 {
16893 long l;
16894 char c[sizeof (long)];
16895 } u;
16896 u.l = 1;
16897 exit (u.c[sizeof (long) - 1] == 1);
16898 }
16899 _ACEOF
16900 rm -f conftest$ac_exeext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16902 (eval $ac_link) 2>&5
16903 ac_status=$?
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_c_bigendian=no
16912 else
16913 echo "$as_me: program exited with status $ac_status" >&5
16914 echo "$as_me: failed program was:" >&5
16915 sed 's/^/| /' conftest.$ac_ext >&5
16916
16917 ( exit $ac_status )
16918 ac_cv_c_bigendian=yes
16919 fi
16920 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16921 fi
16922 fi
16923 fi
16924 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16925 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16926 if test $ac_cv_c_bigendian = unknown; then
16927 { 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
16928 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;}
16929 fi
16930 if test $ac_cv_c_bigendian = yes; then
16931 cat >>confdefs.h <<\_ACEOF
16932 #define WORDS_BIGENDIAN 1
16933 _ACEOF
16934
16935 fi
16936
16937
16938
16939 ac_ext=cc
16940 ac_cpp='$CXXCPP $CPPFLAGS'
16941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16944 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16945 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16946 if test -z "$CXXCPP"; then
16947 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16948 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 else
16950 # Double quotes because CXXCPP needs to be expanded
16951 for CXXCPP in "$CXX -E" "/lib/cpp"
16952 do
16953 ac_preproc_ok=false
16954 for ac_cxx_preproc_warn_flag in '' yes
16955 do
16956 # Use a header file that comes with gcc, so configuring glibc
16957 # with a fresh cross-compiler works.
16958 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16959 # <limits.h> exists even on freestanding compilers.
16960 # On the NeXT, cc -E runs the code through the compiler's parser,
16961 # not just through cpp. "Syntax error" is here to catch this case.
16962 cat >conftest.$ac_ext <<_ACEOF
16963 #line $LINENO "configure"
16964 /* confdefs.h. */
16965 _ACEOF
16966 cat confdefs.h >>conftest.$ac_ext
16967 cat >>conftest.$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16969 #ifdef __STDC__
16970 # include <limits.h>
16971 #else
16972 # include <assert.h>
16973 #endif
16974 Syntax error
16975 _ACEOF
16976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16978 ac_status=$?
16979 grep -v '^ *+' conftest.er1 >conftest.err
16980 rm -f conftest.er1
16981 cat conftest.err >&5
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); } >/dev/null; then
16984 if test -s conftest.err; then
16985 ac_cpp_err=$ac_cxx_preproc_warn_flag
16986 else
16987 ac_cpp_err=
16988 fi
16989 else
16990 ac_cpp_err=yes
16991 fi
16992 if test -z "$ac_cpp_err"; then
16993 :
16994 else
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.$ac_ext >&5
16997
16998 # Broken: fails on valid input.
16999 continue
17000 fi
17001 rm -f conftest.err conftest.$ac_ext
17002
17003 # OK, works on sane cases. Now check whether non-existent headers
17004 # can be detected and how.
17005 cat >conftest.$ac_ext <<_ACEOF
17006 #line $LINENO "configure"
17007 /* confdefs.h. */
17008 _ACEOF
17009 cat confdefs.h >>conftest.$ac_ext
17010 cat >>conftest.$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012 #include <ac_nonexistent.h>
17013 _ACEOF
17014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17016 ac_status=$?
17017 grep -v '^ *+' conftest.er1 >conftest.err
17018 rm -f conftest.er1
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } >/dev/null; then
17022 if test -s conftest.err; then
17023 ac_cpp_err=$ac_cxx_preproc_warn_flag
17024 else
17025 ac_cpp_err=
17026 fi
17027 else
17028 ac_cpp_err=yes
17029 fi
17030 if test -z "$ac_cpp_err"; then
17031 # Broken: success on invalid input.
17032 continue
17033 else
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 # Passes both tests.
17038 ac_preproc_ok=:
17039 break
17040 fi
17041 rm -f conftest.err conftest.$ac_ext
17042
17043 done
17044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17045 rm -f conftest.err conftest.$ac_ext
17046 if $ac_preproc_ok; then
17047 break
17048 fi
17049
17050 done
17051 ac_cv_prog_CXXCPP=$CXXCPP
17052
17053 fi
17054 CXXCPP=$ac_cv_prog_CXXCPP
17055 else
17056 ac_cv_prog_CXXCPP=$CXXCPP
17057 fi
17058 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17059 echo "${ECHO_T}$CXXCPP" >&6
17060 ac_preproc_ok=false
17061 for ac_cxx_preproc_warn_flag in '' yes
17062 do
17063 # Use a header file that comes with gcc, so configuring glibc
17064 # with a fresh cross-compiler works.
17065 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17066 # <limits.h> exists even on freestanding compilers.
17067 # On the NeXT, cc -E runs the code through the compiler's parser,
17068 # not just through cpp. "Syntax error" is here to catch this case.
17069 cat >conftest.$ac_ext <<_ACEOF
17070 #line $LINENO "configure"
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076 #ifdef __STDC__
17077 # include <limits.h>
17078 #else
17079 # include <assert.h>
17080 #endif
17081 Syntax error
17082 _ACEOF
17083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17085 ac_status=$?
17086 grep -v '^ *+' conftest.er1 >conftest.err
17087 rm -f conftest.er1
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } >/dev/null; then
17091 if test -s conftest.err; then
17092 ac_cpp_err=$ac_cxx_preproc_warn_flag
17093 else
17094 ac_cpp_err=
17095 fi
17096 else
17097 ac_cpp_err=yes
17098 fi
17099 if test -z "$ac_cpp_err"; then
17100 :
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17104
17105 # Broken: fails on valid input.
17106 continue
17107 fi
17108 rm -f conftest.err conftest.$ac_ext
17109
17110 # OK, works on sane cases. Now check whether non-existent headers
17111 # can be detected and how.
17112 cat >conftest.$ac_ext <<_ACEOF
17113 #line $LINENO "configure"
17114 /* confdefs.h. */
17115 _ACEOF
17116 cat confdefs.h >>conftest.$ac_ext
17117 cat >>conftest.$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17119 #include <ac_nonexistent.h>
17120 _ACEOF
17121 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17122 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } >/dev/null; then
17129 if test -s conftest.err; then
17130 ac_cpp_err=$ac_cxx_preproc_warn_flag
17131 else
17132 ac_cpp_err=
17133 fi
17134 else
17135 ac_cpp_err=yes
17136 fi
17137 if test -z "$ac_cpp_err"; then
17138 # Broken: success on invalid input.
17139 continue
17140 else
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.$ac_ext >&5
17143
17144 # Passes both tests.
17145 ac_preproc_ok=:
17146 break
17147 fi
17148 rm -f conftest.err conftest.$ac_ext
17149
17150 done
17151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17152 rm -f conftest.err conftest.$ac_ext
17153 if $ac_preproc_ok; then
17154 :
17155 else
17156 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17157 See \`config.log' for more details." >&5
17158 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17159 See \`config.log' for more details." >&2;}
17160 { (exit 1); exit 1; }; }
17161 fi
17162
17163 ac_ext=cc
17164 ac_cpp='$CXXCPP $CPPFLAGS'
17165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17168
17169
17170
17171 if test "$cross_compiling" = "yes"; then
17172 cat >>confdefs.h <<\_ACEOF
17173 #define wxUSE_IOSTREAMH 1
17174 _ACEOF
17175
17176 else
17177
17178
17179 ac_ext=cc
17180 ac_cpp='$CXXCPP $CPPFLAGS'
17181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17184
17185
17186
17187 for ac_header in iostream
17188 do
17189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17191 echo "$as_me:$LINENO: checking for $ac_header" >&5
17192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 fi
17196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17198 else
17199 # Is the header compilable?
17200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17202 cat >conftest.$ac_ext <<_ACEOF
17203 #line $LINENO "configure"
17204 /* confdefs.h. */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209 $ac_includes_default
17210 #include <$ac_header>
17211 _ACEOF
17212 rm -f conftest.$ac_objext
17213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17214 (eval $ac_compile) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_header_compiler=yes
17225 else
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17228
17229 ac_header_compiler=no
17230 fi
17231 rm -f conftest.$ac_objext conftest.$ac_ext
17232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17233 echo "${ECHO_T}$ac_header_compiler" >&6
17234
17235 # Is the header present?
17236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17238 cat >conftest.$ac_ext <<_ACEOF
17239 #line $LINENO "configure"
17240 /* confdefs.h. */
17241 _ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 #include <$ac_header>
17246 _ACEOF
17247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17249 ac_status=$?
17250 grep -v '^ *+' conftest.er1 >conftest.err
17251 rm -f conftest.er1
17252 cat conftest.err >&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } >/dev/null; then
17255 if test -s conftest.err; then
17256 ac_cpp_err=$ac_cxx_preproc_warn_flag
17257 else
17258 ac_cpp_err=
17259 fi
17260 else
17261 ac_cpp_err=yes
17262 fi
17263 if test -z "$ac_cpp_err"; then
17264 ac_header_preproc=yes
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17268
17269 ac_header_preproc=no
17270 fi
17271 rm -f conftest.err conftest.$ac_ext
17272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17273 echo "${ECHO_T}$ac_header_preproc" >&6
17274
17275 # So? What about this header?
17276 case $ac_header_compiler:$ac_header_preproc in
17277 yes:no )
17278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17282 (
17283 cat <<\_ASBOX
17284 ## ------------------------------------ ##
17285 ## Report this to bug-autoconf@gnu.org. ##
17286 ## ------------------------------------ ##
17287 _ASBOX
17288 ) |
17289 sed "s/^/$as_me: WARNING: /" >&2
17290 ;;
17291 no:yes )
17292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17298 (
17299 cat <<\_ASBOX
17300 ## ------------------------------------ ##
17301 ## Report this to bug-autoconf@gnu.org. ##
17302 ## ------------------------------------ ##
17303 _ASBOX
17304 ) |
17305 sed "s/^/$as_me: WARNING: /" >&2
17306 ;;
17307 esac
17308 echo "$as_me:$LINENO: checking for $ac_header" >&5
17309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 else
17313 eval "$as_ac_Header=$ac_header_preproc"
17314 fi
17315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17317
17318 fi
17319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17320 cat >>confdefs.h <<_ACEOF
17321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17322 _ACEOF
17323
17324 fi
17325
17326 done
17327
17328
17329 if test "$ac_cv_header_iostream" = "yes" ; then
17330 :
17331 else
17332 cat >>confdefs.h <<\_ACEOF
17333 #define wxUSE_IOSTREAMH 1
17334 _ACEOF
17335
17336 fi
17337
17338 ac_ext=c
17339 ac_cpp='$CPP $CPPFLAGS'
17340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17343
17344 fi
17345
17346
17347
17348 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17349 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17350 if test "${wx_cv_cpp_bool+set}" = set; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 else
17353
17354
17355
17356 ac_ext=cc
17357 ac_cpp='$CXXCPP $CPPFLAGS'
17358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17361
17362
17363 cat >conftest.$ac_ext <<_ACEOF
17364 #line $LINENO "configure"
17365 /* confdefs.h. */
17366 _ACEOF
17367 cat confdefs.h >>conftest.$ac_ext
17368 cat >>conftest.$ac_ext <<_ACEOF
17369 /* end confdefs.h. */
17370
17371
17372 int
17373 main ()
17374 {
17375
17376 bool b = true;
17377
17378 return 0;
17379
17380 ;
17381 return 0;
17382 }
17383 _ACEOF
17384 rm -f conftest.$ac_objext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>&5
17387 ac_status=$?
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); } &&
17390 { ac_try='test -s conftest.$ac_objext'
17391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17392 (eval $ac_try) 2>&5
17393 ac_status=$?
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); }; }; then
17396
17397 wx_cv_cpp_bool=yes
17398
17399 else
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17402
17403
17404 wx_cv_cpp_bool=no
17405
17406
17407 fi
17408 rm -f conftest.$ac_objext conftest.$ac_ext
17409
17410 ac_ext=c
17411 ac_cpp='$CPP $CPPFLAGS'
17412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17415
17416
17417 fi
17418 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17419 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17420
17421 if test "$wx_cv_cpp_bool" = "yes"; then
17422 cat >>confdefs.h <<\_ACEOF
17423 #define HAVE_BOOL 1
17424 _ACEOF
17425
17426 fi
17427
17428
17429
17430 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17431 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17432 if test "${wx_cv_explicit+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17435
17436
17437
17438 ac_ext=cc
17439 ac_cpp='$CXXCPP $CPPFLAGS'
17440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17443
17444
17445 cat >conftest.$ac_ext <<_ACEOF
17446 #line $LINENO "configure"
17447 /* confdefs.h. */
17448 _ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17452
17453 class Foo { public: explicit Foo(int) {} };
17454
17455 int
17456 main ()
17457 {
17458
17459 return 0;
17460
17461 ;
17462 return 0;
17463 }
17464 _ACEOF
17465 rm -f conftest.$ac_objext
17466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17467 (eval $ac_compile) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477
17478 cat >conftest.$ac_ext <<_ACEOF
17479 #line $LINENO "configure"
17480 /* confdefs.h. */
17481 _ACEOF
17482 cat confdefs.h >>conftest.$ac_ext
17483 cat >>conftest.$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17485
17486 class Foo { public: explicit Foo(int) {} };
17487 static void TakeFoo(const Foo& foo) { }
17488
17489 int
17490 main ()
17491 {
17492
17493 TakeFoo(17);
17494 return 0;
17495
17496 ;
17497 return 0;
17498 }
17499 _ACEOF
17500 rm -f conftest.$ac_objext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17502 (eval $ac_compile) 2>&5
17503 ac_status=$?
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try='test -s conftest.$ac_objext'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; }; then
17512 wx_cv_explicit=no
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 wx_cv_explicit=yes
17518
17519 fi
17520 rm -f conftest.$ac_objext conftest.$ac_ext
17521
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17525
17526 wx_cv_explicit=no
17527
17528 fi
17529 rm -f conftest.$ac_objext conftest.$ac_ext
17530
17531 ac_ext=c
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17536
17537
17538 fi
17539 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17540 echo "${ECHO_T}$wx_cv_explicit" >&6
17541
17542 if test "$wx_cv_explicit" = "yes"; then
17543 cat >>confdefs.h <<\_ACEOF
17544 #define HAVE_EXPLICIT 1
17545 _ACEOF
17546
17547 fi
17548
17549
17550 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17551 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17552 if test "${ac_cv_cxx_const_cast+set}" = set; then
17553 echo $ECHO_N "(cached) $ECHO_C" >&6
17554 else
17555
17556
17557 ac_ext=cc
17558 ac_cpp='$CXXCPP $CPPFLAGS'
17559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17562
17563 cat >conftest.$ac_ext <<_ACEOF
17564 #line $LINENO "configure"
17565 /* confdefs.h. */
17566 _ACEOF
17567 cat confdefs.h >>conftest.$ac_ext
17568 cat >>conftest.$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570
17571 int
17572 main ()
17573 {
17574 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17575 ;
17576 return 0;
17577 }
17578 _ACEOF
17579 rm -f conftest.$ac_objext
17580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17581 (eval $ac_compile) 2>&5
17582 ac_status=$?
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } &&
17585 { ac_try='test -s conftest.$ac_objext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17588 ac_status=$?
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_cxx_const_cast=yes
17592 else
17593 echo "$as_me: failed program was:" >&5
17594 sed 's/^/| /' conftest.$ac_ext >&5
17595
17596 ac_cv_cxx_const_cast=no
17597 fi
17598 rm -f conftest.$ac_objext conftest.$ac_ext
17599 ac_ext=c
17600 ac_cpp='$CPP $CPPFLAGS'
17601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17604
17605
17606 fi
17607 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17608 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17609 if test "$ac_cv_cxx_const_cast" = yes; then
17610
17611 cat >>confdefs.h <<\_ACEOF
17612 #define HAVE_CONST_CAST
17613 _ACEOF
17614
17615 fi
17616
17617
17618 if test "$wxUSE_STL" = "yes"; then
17619 ac_ext=cc
17620 ac_cpp='$CXXCPP $CPPFLAGS'
17621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17624
17625
17626 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17627 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17628 cat >conftest.$ac_ext <<_ACEOF
17629 #line $LINENO "configure"
17630 /* confdefs.h. */
17631 _ACEOF
17632 cat confdefs.h >>conftest.$ac_ext
17633 cat >>conftest.$ac_ext <<_ACEOF
17634 /* end confdefs.h. */
17635 #include <string>
17636 #include <functional>
17637 #include <algorithm>
17638 #include <vector>
17639 #include <list>
17640 int
17641 main ()
17642 {
17643 std::vector<int> moo;
17644 std::list<int> foo;
17645 std::vector<int>::iterator it =
17646 std::find_if(moo.begin(), moo.end(),
17647 std::bind2nd(std::less<int>(), 3));
17648 ;
17649 return 0;
17650 }
17651 _ACEOF
17652 rm -f conftest.$ac_objext
17653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17654 (eval $ac_compile) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 echo "$as_me:$LINENO: result: yes" >&5
17665 echo "${ECHO_T}yes" >&6
17666 else
17667 echo "$as_me: failed program was:" >&5
17668 sed 's/^/| /' conftest.$ac_ext >&5
17669
17670 echo "$as_me:$LINENO: result: no" >&5
17671 echo "${ECHO_T}no" >&6
17672 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17673 echo "$as_me: error: Basic STL functionality missing" >&2;}
17674 { (exit 1); exit 1; }; }
17675 fi
17676 rm -f conftest.$ac_objext conftest.$ac_ext
17677
17678 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17679 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17680 cat >conftest.$ac_ext <<_ACEOF
17681 #line $LINENO "configure"
17682 /* confdefs.h. */
17683 _ACEOF
17684 cat confdefs.h >>conftest.$ac_ext
17685 cat >>conftest.$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17687 #include <string>
17688 int
17689 main ()
17690 {
17691 std::wstring foo;
17692 ;
17693 return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 echo "$as_me:$LINENO: result: yes" >&5
17709 echo "${ECHO_T}yes" >&6
17710 cat >>confdefs.h <<\_ACEOF
17711 #define HAVE_STD_WSTRING 1
17712 _ACEOF
17713
17714 else
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17717
17718 echo "$as_me:$LINENO: result: no" >&5
17719 echo "${ECHO_T}no" >&6
17720 fi
17721 rm -f conftest.$ac_objext conftest.$ac_ext
17722
17723 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17724 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17725 cat >conftest.$ac_ext <<_ACEOF
17726 #line $LINENO "configure"
17727 /* confdefs.h. */
17728 _ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 #include <string>
17733 int
17734 main ()
17735 {
17736 std::string foo, bar;
17737 foo.compare(bar);
17738 foo.compare(1, 1, bar);
17739 foo.compare(1, 1, bar, 1, 1);
17740 foo.compare("");
17741 foo.compare(1, 1, "");
17742 foo.compare(1, 1, "", 2);
17743 ;
17744 return 0;
17745 }
17746 _ACEOF
17747 rm -f conftest.$ac_objext
17748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17749 (eval $ac_compile) 2>&5
17750 ac_status=$?
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } &&
17753 { ac_try='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17756 ac_status=$?
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 echo "$as_me:$LINENO: result: yes" >&5
17760 echo "${ECHO_T}yes" >&6
17761 cat >>confdefs.h <<\_ACEOF
17762 #define HAVE_STD_STRING_COMPARE 1
17763 _ACEOF
17764
17765 else
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.$ac_ext >&5
17768
17769 echo "$as_me:$LINENO: result: no" >&5
17770 echo "${ECHO_T}no" >&6
17771 fi
17772 rm -f conftest.$ac_objext conftest.$ac_ext
17773
17774 ac_ext=c
17775 ac_cpp='$CPP $CPPFLAGS'
17776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779
17780 fi
17781
17782
17783 SEARCH_INCLUDE="\
17784 /usr/local/include \
17785 \
17786 /usr/Motif-1.2/include \
17787 /usr/Motif-2.1/include \
17788 \
17789 /usr/include/Motif1.2 \
17790 /opt/xpm/include/X11 \
17791 /opt/GBxpm/include/ \
17792 /opt/GBxpm/X11/include/ \
17793 \
17794 /usr/Motif1.2/include \
17795 /usr/dt/include \
17796 /usr/openwin/include \
17797 \
17798 /usr/include/Xm \
17799 \
17800 /usr/X11R6/include \
17801 /usr/X11R6.4/include \
17802 /usr/X11R5/include \
17803 /usr/X11R4/include \
17804 \
17805 /usr/include/X11R6 \
17806 /usr/include/X11R5 \
17807 /usr/include/X11R4 \
17808 \
17809 /usr/local/X11R6/include \
17810 /usr/local/X11R5/include \
17811 /usr/local/X11R4/include \
17812 \
17813 /usr/local/include/X11R6 \
17814 /usr/local/include/X11R5 \
17815 /usr/local/include/X11R4 \
17816 \
17817 /usr/X11/include \
17818 /usr/include/X11 \
17819 /usr/local/X11/include \
17820 /usr/local/include/X11 \
17821 \
17822 /usr/X386/include \
17823 /usr/x386/include \
17824 /usr/XFree86/include/X11 \
17825 \
17826 X:/XFree86/include \
17827 X:/XFree86/include/X11 \
17828 \
17829 /usr/include/gtk \
17830 /usr/local/include/gtk \
17831 /usr/include/glib \
17832 /usr/local/include/glib \
17833 \
17834 /usr/include/qt \
17835 /usr/local/include/qt \
17836 \
17837 /usr/include/windows \
17838 /usr/include/wine \
17839 /usr/local/include/wine \
17840 \
17841 /usr/unsupported/include \
17842 /usr/athena/include \
17843 /usr/local/x11r5/include \
17844 /usr/lpp/Xamples/include \
17845 \
17846 /usr/openwin/share/include"
17847
17848 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17849
17850
17851 cat >confcache <<\_ACEOF
17852 # This file is a shell script that caches the results of configure
17853 # tests run on this system so they can be shared between configure
17854 # scripts and configure runs, see configure's option --config-cache.
17855 # It is not useful on other systems. If it contains results you don't
17856 # want to keep, you may remove or edit it.
17857 #
17858 # config.status only pays attention to the cache file if you give it
17859 # the --recheck option to rerun configure.
17860 #
17861 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17862 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17863 # following values.
17864
17865 _ACEOF
17866
17867 # The following way of writing the cache mishandles newlines in values,
17868 # but we know of no workaround that is simple, portable, and efficient.
17869 # So, don't put newlines in cache variables' values.
17870 # Ultrix sh set writes to stderr and can't be redirected directly,
17871 # and sets the high bit in the cache file unless we assign to the vars.
17872 {
17873 (set) 2>&1 |
17874 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17875 *ac_space=\ *)
17876 # `set' does not quote correctly, so add quotes (double-quote
17877 # substitution turns \\\\ into \\, and sed turns \\ into \).
17878 sed -n \
17879 "s/'/'\\\\''/g;
17880 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17881 ;;
17882 *)
17883 # `set' quotes correctly as required by POSIX, so do not add quotes.
17884 sed -n \
17885 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17886 ;;
17887 esac;
17888 } |
17889 sed '
17890 t clear
17891 : clear
17892 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17893 t end
17894 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17895 : end' >>confcache
17896 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17897 if test -w $cache_file; then
17898 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17899 cat confcache >$cache_file
17900 else
17901 echo "not updating unwritable cache $cache_file"
17902 fi
17903 fi
17904 rm -f confcache
17905
17906 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17907 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17908 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17909 if test "${wx_cv_lib_glibc21+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17911 else
17912
17913 cat >conftest.$ac_ext <<_ACEOF
17914 #line $LINENO "configure"
17915 /* confdefs.h. */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17920 #include <features.h>
17921 int
17922 main ()
17923 {
17924
17925 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17926 #error not glibc2.1
17927 #endif
17928
17929 ;
17930 return 0;
17931 }
17932 _ACEOF
17933 rm -f conftest.$ac_objext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17935 (eval $ac_compile) 2>&5
17936 ac_status=$?
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); } &&
17939 { ac_try='test -s conftest.$ac_objext'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17942 ac_status=$?
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; }; then
17945
17946 wx_cv_lib_glibc21=yes
17947
17948 else
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17951
17952
17953 wx_cv_lib_glibc21=no
17954
17955
17956 fi
17957 rm -f conftest.$ac_objext conftest.$ac_ext
17958
17959 fi
17960 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17961 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17962 if test "$wx_cv_lib_glibc21" = "yes"; then
17963 cat >>confdefs.h <<\_ACEOF
17964 #define wxHAVE_GLIBC2 1
17965 _ACEOF
17966
17967 fi
17968 fi
17969
17970 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17971 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17972 cat >>confdefs.h <<\_ACEOF
17973 #define _GNU_SOURCE 1
17974 _ACEOF
17975
17976 fi
17977 fi
17978
17979
17980
17981 REGEX_INCLUDE=
17982 if test "$wxUSE_REGEX" != "no"; then
17983 cat >>confdefs.h <<\_ACEOF
17984 #define wxUSE_REGEX 1
17985 _ACEOF
17986
17987
17988 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17989 if test "${ac_cv_header_regex_h+set}" = set; then
17990 echo "$as_me:$LINENO: checking for regex.h" >&5
17991 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17992 if test "${ac_cv_header_regex_h+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 fi
17995 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17996 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17997 else
17998 # Is the header compilable?
17999 echo "$as_me:$LINENO: checking regex.h usability" >&5
18000 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18001 cat >conftest.$ac_ext <<_ACEOF
18002 #line $LINENO "configure"
18003 /* confdefs.h. */
18004 _ACEOF
18005 cat confdefs.h >>conftest.$ac_ext
18006 cat >>conftest.$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18008 $ac_includes_default
18009 #include <regex.h>
18010 _ACEOF
18011 rm -f conftest.$ac_objext
18012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18013 (eval $ac_compile) 2>&5
18014 ac_status=$?
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); } &&
18017 { ac_try='test -s conftest.$ac_objext'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18020 ac_status=$?
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; }; then
18023 ac_header_compiler=yes
18024 else
18025 echo "$as_me: failed program was:" >&5
18026 sed 's/^/| /' conftest.$ac_ext >&5
18027
18028 ac_header_compiler=no
18029 fi
18030 rm -f conftest.$ac_objext conftest.$ac_ext
18031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18032 echo "${ECHO_T}$ac_header_compiler" >&6
18033
18034 # Is the header present?
18035 echo "$as_me:$LINENO: checking regex.h presence" >&5
18036 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18037 cat >conftest.$ac_ext <<_ACEOF
18038 #line $LINENO "configure"
18039 /* confdefs.h. */
18040 _ACEOF
18041 cat confdefs.h >>conftest.$ac_ext
18042 cat >>conftest.$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18044 #include <regex.h>
18045 _ACEOF
18046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18048 ac_status=$?
18049 grep -v '^ *+' conftest.er1 >conftest.err
18050 rm -f conftest.er1
18051 cat conftest.err >&5
18052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18053 (exit $ac_status); } >/dev/null; then
18054 if test -s conftest.err; then
18055 ac_cpp_err=$ac_c_preproc_warn_flag
18056 else
18057 ac_cpp_err=
18058 fi
18059 else
18060 ac_cpp_err=yes
18061 fi
18062 if test -z "$ac_cpp_err"; then
18063 ac_header_preproc=yes
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 ac_header_preproc=no
18069 fi
18070 rm -f conftest.err conftest.$ac_ext
18071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18072 echo "${ECHO_T}$ac_header_preproc" >&6
18073
18074 # So? What about this header?
18075 case $ac_header_compiler:$ac_header_preproc in
18076 yes:no )
18077 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18078 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18079 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18080 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18081 (
18082 cat <<\_ASBOX
18083 ## ------------------------------------ ##
18084 ## Report this to bug-autoconf@gnu.org. ##
18085 ## ------------------------------------ ##
18086 _ASBOX
18087 ) |
18088 sed "s/^/$as_me: WARNING: /" >&2
18089 ;;
18090 no:yes )
18091 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18092 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18093 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18094 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18095 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18096 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18097 (
18098 cat <<\_ASBOX
18099 ## ------------------------------------ ##
18100 ## Report this to bug-autoconf@gnu.org. ##
18101 ## ------------------------------------ ##
18102 _ASBOX
18103 ) |
18104 sed "s/^/$as_me: WARNING: /" >&2
18105 ;;
18106 esac
18107 echo "$as_me:$LINENO: checking for regex.h" >&5
18108 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18109 if test "${ac_cv_header_regex_h+set}" = set; then
18110 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 else
18112 ac_cv_header_regex_h=$ac_header_preproc
18113 fi
18114 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18115 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18116
18117 fi
18118 if test $ac_cv_header_regex_h = yes; then
18119
18120 for ac_func in regcomp
18121 do
18122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18123 echo "$as_me:$LINENO: checking for $ac_func" >&5
18124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18125 if eval "test \"\${$as_ac_var+set}\" = set"; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18128 cat >conftest.$ac_ext <<_ACEOF
18129 #line $LINENO "configure"
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 /* System header to define __stub macros and hopefully few prototypes,
18136 which can conflict with char $ac_func (); below.
18137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18138 <limits.h> exists even on freestanding compilers. */
18139 #ifdef __STDC__
18140 # include <limits.h>
18141 #else
18142 # include <assert.h>
18143 #endif
18144 /* Override any gcc2 internal prototype to avoid an error. */
18145 #ifdef __cplusplus
18146 extern "C"
18147 {
18148 #endif
18149 /* We use char because int might match the return type of a gcc2
18150 builtin and then its argument prototype would still apply. */
18151 char $ac_func ();
18152 /* The GNU C library defines this for functions which it implements
18153 to always fail with ENOSYS. Some functions are actually named
18154 something starting with __ and the normal name is an alias. */
18155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18156 choke me
18157 #else
18158 char (*f) () = $ac_func;
18159 #endif
18160 #ifdef __cplusplus
18161 }
18162 #endif
18163
18164 int
18165 main ()
18166 {
18167 return f != $ac_func;
18168 ;
18169 return 0;
18170 }
18171 _ACEOF
18172 rm -f conftest.$ac_objext conftest$ac_exeext
18173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18174 (eval $ac_link) 2>&5
18175 ac_status=$?
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } &&
18178 { ac_try='test -s conftest$ac_exeext'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18181 ac_status=$?
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; }; then
18184 eval "$as_ac_var=yes"
18185 else
18186 echo "$as_me: failed program was:" >&5
18187 sed 's/^/| /' conftest.$ac_ext >&5
18188
18189 eval "$as_ac_var=no"
18190 fi
18191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18192 fi
18193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18195 if test `eval echo '${'$as_ac_var'}'` = yes; then
18196 cat >>confdefs.h <<_ACEOF
18197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18198 _ACEOF
18199
18200 fi
18201 done
18202
18203 fi
18204
18205
18206
18207 if test "x$ac_cv_func_regcomp" != "xyes"; then
18208 if test "$wxUSE_REGEX" = "sys" ; then
18209 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18210 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18211 { (exit 1); exit 1; }; }
18212 else
18213 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18214 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18215 wxUSE_REGEX=builtin
18216 fi
18217 else
18218 wxUSE_REGEX=sys
18219 fi
18220 fi
18221
18222 if test "$wxUSE_REGEX" = "builtin" ; then
18223 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18224 fi
18225 fi
18226
18227
18228 ZLIB_INCLUDE=
18229 ZLIB_LINK=
18230 if test "$wxUSE_ZLIB" != "no" ; then
18231 cat >>confdefs.h <<\_ACEOF
18232 #define wxUSE_ZLIB 1
18233 _ACEOF
18234
18235
18236 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18237 if test "$USE_DARWIN" = 1; then
18238 system_zlib_h_ok="yes"
18239 else
18240 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18241 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18242 if test "${ac_cv_header_zlib_h+set}" = set; then
18243 echo $ECHO_N "(cached) $ECHO_C" >&6
18244 else
18245 if test "$cross_compiling" = yes; then
18246 unset ac_cv_header_zlib_h
18247
18248 else
18249 cat >conftest.$ac_ext <<_ACEOF
18250 #line $LINENO "configure"
18251 /* confdefs.h. */
18252 _ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256
18257 #include <zlib.h>
18258 #include <stdio.h>
18259
18260 int main()
18261 {
18262 FILE *f=fopen("conftestval", "w");
18263 if (!f) exit(1);
18264 fprintf(f, "%s",
18265 ZLIB_VERSION[0] == '1' &&
18266 (ZLIB_VERSION[2] > '1' ||
18267 (ZLIB_VERSION[2] == '1' &&
18268 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18269 exit(0);
18270 }
18271
18272 _ACEOF
18273 rm -f conftest$ac_exeext
18274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18275 (eval $ac_link) 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18281 ac_status=$?
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; }; then
18284 ac_cv_header_zlib_h=`cat conftestval`
18285 else
18286 echo "$as_me: program exited with status $ac_status" >&5
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.$ac_ext >&5
18289
18290 ( exit $ac_status )
18291 ac_cv_header_zlib_h=no
18292 fi
18293 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18294 fi
18295
18296 fi
18297 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18298 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18299 if test "${ac_cv_header_zlib_h+set}" = set; then
18300 echo "$as_me:$LINENO: checking for zlib.h" >&5
18301 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18302 if test "${ac_cv_header_zlib_h+set}" = set; then
18303 echo $ECHO_N "(cached) $ECHO_C" >&6
18304 fi
18305 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18306 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18307 else
18308 # Is the header compilable?
18309 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18310 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18311 cat >conftest.$ac_ext <<_ACEOF
18312 #line $LINENO "configure"
18313 /* confdefs.h. */
18314 _ACEOF
18315 cat confdefs.h >>conftest.$ac_ext
18316 cat >>conftest.$ac_ext <<_ACEOF
18317 /* end confdefs.h. */
18318 $ac_includes_default
18319 #include <zlib.h>
18320 _ACEOF
18321 rm -f conftest.$ac_objext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 ac_header_compiler=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18337
18338 ac_header_compiler=no
18339 fi
18340 rm -f conftest.$ac_objext conftest.$ac_ext
18341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18342 echo "${ECHO_T}$ac_header_compiler" >&6
18343
18344 # Is the header present?
18345 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18346 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18347 cat >conftest.$ac_ext <<_ACEOF
18348 #line $LINENO "configure"
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 #include <zlib.h>
18355 _ACEOF
18356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } >/dev/null; then
18364 if test -s conftest.err; then
18365 ac_cpp_err=$ac_c_preproc_warn_flag
18366 else
18367 ac_cpp_err=
18368 fi
18369 else
18370 ac_cpp_err=yes
18371 fi
18372 if test -z "$ac_cpp_err"; then
18373 ac_header_preproc=yes
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18377
18378 ac_header_preproc=no
18379 fi
18380 rm -f conftest.err conftest.$ac_ext
18381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18382 echo "${ECHO_T}$ac_header_preproc" >&6
18383
18384 # So? What about this header?
18385 case $ac_header_compiler:$ac_header_preproc in
18386 yes:no )
18387 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18388 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18389 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18390 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18391 (
18392 cat <<\_ASBOX
18393 ## ------------------------------------ ##
18394 ## Report this to bug-autoconf@gnu.org. ##
18395 ## ------------------------------------ ##
18396 _ASBOX
18397 ) |
18398 sed "s/^/$as_me: WARNING: /" >&2
18399 ;;
18400 no:yes )
18401 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18402 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18403 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18404 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18405 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18406 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18407 (
18408 cat <<\_ASBOX
18409 ## ------------------------------------ ##
18410 ## Report this to bug-autoconf@gnu.org. ##
18411 ## ------------------------------------ ##
18412 _ASBOX
18413 ) |
18414 sed "s/^/$as_me: WARNING: /" >&2
18415 ;;
18416 esac
18417 echo "$as_me:$LINENO: checking for zlib.h" >&5
18418 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18419 if test "${ac_cv_header_zlib_h+set}" = set; then
18420 echo $ECHO_N "(cached) $ECHO_C" >&6
18421 else
18422 ac_cv_header_zlib_h=$ac_header_preproc
18423 fi
18424 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18425 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18426
18427 fi
18428
18429
18430
18431 system_zlib_h_ok=$ac_cv_header_zlib_h
18432 fi
18433
18434 if test "$system_zlib_h_ok" = "yes"; then
18435 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18436 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18437 if test "${ac_cv_lib_z_deflate+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 else
18440 ac_check_lib_save_LIBS=$LIBS
18441 LIBS="-lz $LIBS"
18442 cat >conftest.$ac_ext <<_ACEOF
18443 #line $LINENO "configure"
18444 /* confdefs.h. */
18445 _ACEOF
18446 cat confdefs.h >>conftest.$ac_ext
18447 cat >>conftest.$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18449
18450 /* Override any gcc2 internal prototype to avoid an error. */
18451 #ifdef __cplusplus
18452 extern "C"
18453 #endif
18454 /* We use char because int might match the return type of a gcc2
18455 builtin and then its argument prototype would still apply. */
18456 char deflate ();
18457 int
18458 main ()
18459 {
18460 deflate ();
18461 ;
18462 return 0;
18463 }
18464 _ACEOF
18465 rm -f conftest.$ac_objext conftest$ac_exeext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18467 (eval $ac_link) 2>&5
18468 ac_status=$?
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } &&
18471 { ac_try='test -s conftest$ac_exeext'
18472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18473 (eval $ac_try) 2>&5
18474 ac_status=$?
18475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18476 (exit $ac_status); }; }; then
18477 ac_cv_lib_z_deflate=yes
18478 else
18479 echo "$as_me: failed program was:" >&5
18480 sed 's/^/| /' conftest.$ac_ext >&5
18481
18482 ac_cv_lib_z_deflate=no
18483 fi
18484 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18485 LIBS=$ac_check_lib_save_LIBS
18486 fi
18487 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18488 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18489 if test $ac_cv_lib_z_deflate = yes; then
18490 ZLIB_LINK=" -lz"
18491 fi
18492
18493 fi
18494
18495 if test "x$ZLIB_LINK" = "x" ; then
18496 if test "$wxUSE_ZLIB" = "sys" ; then
18497 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18498 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18499 { (exit 1); exit 1; }; }
18500 else
18501 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18502 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18503 wxUSE_ZLIB=builtin
18504 fi
18505 else
18506 wxUSE_ZLIB=sys
18507 fi
18508 fi
18509
18510 if test "$wxUSE_ZLIB" = "builtin" ; then
18511 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18512 fi
18513 fi
18514
18515
18516 PNG_INCLUDE=
18517 PNG_LINK=
18518 if test "$wxUSE_LIBPNG" != "no" ; then
18519 cat >>confdefs.h <<\_ACEOF
18520 #define wxUSE_LIBPNG 1
18521 _ACEOF
18522
18523
18524 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18525 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18526 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18527 wxUSE_LIBPNG=sys
18528 fi
18529
18530 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18531 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18532 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18533 wxUSE_LIBPNG=builtin
18534 fi
18535
18536 if test "$wxUSE_MGL" != 1 ; then
18537 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18538 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18539 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18540 if test "${ac_cv_header_png_h+set}" = set; then
18541 echo $ECHO_N "(cached) $ECHO_C" >&6
18542 else
18543 if test "$cross_compiling" = yes; then
18544 unset ac_cv_header_png_h
18545
18546 else
18547 cat >conftest.$ac_ext <<_ACEOF
18548 #line $LINENO "configure"
18549 /* confdefs.h. */
18550 _ACEOF
18551 cat confdefs.h >>conftest.$ac_ext
18552 cat >>conftest.$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18554
18555 #include <png.h>
18556 #include <stdio.h>
18557
18558 int main()
18559 {
18560 FILE *f=fopen("conftestval", "w");
18561 if (!f) exit(1);
18562 fprintf(f, "%s",
18563 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18564 exit(0);
18565 }
18566
18567 _ACEOF
18568 rm -f conftest$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_header_png_h=`cat conftestval`
18580 else
18581 echo "$as_me: program exited with status $ac_status" >&5
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 ( exit $ac_status )
18586 ac_cv_header_png_h=no
18587 fi
18588 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18589 fi
18590
18591 fi
18592 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18593 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18594 if test "${ac_cv_header_png_h+set}" = set; then
18595 echo "$as_me:$LINENO: checking for png.h" >&5
18596 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18597 if test "${ac_cv_header_png_h+set}" = set; then
18598 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 fi
18600 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18601 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18602 else
18603 # Is the header compilable?
18604 echo "$as_me:$LINENO: checking png.h usability" >&5
18605 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18606 cat >conftest.$ac_ext <<_ACEOF
18607 #line $LINENO "configure"
18608 /* confdefs.h. */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18614 #include <png.h>
18615 _ACEOF
18616 rm -f conftest.$ac_objext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18618 (eval $ac_compile) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try='test -s conftest.$ac_objext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18625 ac_status=$?
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 ac_header_compiler=yes
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18632
18633 ac_header_compiler=no
18634 fi
18635 rm -f conftest.$ac_objext conftest.$ac_ext
18636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18637 echo "${ECHO_T}$ac_header_compiler" >&6
18638
18639 # Is the header present?
18640 echo "$as_me:$LINENO: checking png.h presence" >&5
18641 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18642 cat >conftest.$ac_ext <<_ACEOF
18643 #line $LINENO "configure"
18644 /* confdefs.h. */
18645 _ACEOF
18646 cat confdefs.h >>conftest.$ac_ext
18647 cat >>conftest.$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 #include <png.h>
18650 _ACEOF
18651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18653 ac_status=$?
18654 grep -v '^ *+' conftest.er1 >conftest.err
18655 rm -f conftest.er1
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } >/dev/null; then
18659 if test -s conftest.err; then
18660 ac_cpp_err=$ac_c_preproc_warn_flag
18661 else
18662 ac_cpp_err=
18663 fi
18664 else
18665 ac_cpp_err=yes
18666 fi
18667 if test -z "$ac_cpp_err"; then
18668 ac_header_preproc=yes
18669 else
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.$ac_ext >&5
18672
18673 ac_header_preproc=no
18674 fi
18675 rm -f conftest.err conftest.$ac_ext
18676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18677 echo "${ECHO_T}$ac_header_preproc" >&6
18678
18679 # So? What about this header?
18680 case $ac_header_compiler:$ac_header_preproc in
18681 yes:no )
18682 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18683 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18684 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18685 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18686 (
18687 cat <<\_ASBOX
18688 ## ------------------------------------ ##
18689 ## Report this to bug-autoconf@gnu.org. ##
18690 ## ------------------------------------ ##
18691 _ASBOX
18692 ) |
18693 sed "s/^/$as_me: WARNING: /" >&2
18694 ;;
18695 no:yes )
18696 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18697 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18698 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18699 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18700 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18701 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18702 (
18703 cat <<\_ASBOX
18704 ## ------------------------------------ ##
18705 ## Report this to bug-autoconf@gnu.org. ##
18706 ## ------------------------------------ ##
18707 _ASBOX
18708 ) |
18709 sed "s/^/$as_me: WARNING: /" >&2
18710 ;;
18711 esac
18712 echo "$as_me:$LINENO: checking for png.h" >&5
18713 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18714 if test "${ac_cv_header_png_h+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 ac_cv_header_png_h=$ac_header_preproc
18718 fi
18719 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18720 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18721
18722 fi
18723
18724
18725
18726 if test "$ac_cv_header_png_h" = "yes"; then
18727 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18728 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18729 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 else
18732 ac_check_lib_save_LIBS=$LIBS
18733 LIBS="-lpng -lz -lm $LIBS"
18734 cat >conftest.$ac_ext <<_ACEOF
18735 #line $LINENO "configure"
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741
18742 /* Override any gcc2 internal prototype to avoid an error. */
18743 #ifdef __cplusplus
18744 extern "C"
18745 #endif
18746 /* We use char because int might match the return type of a gcc2
18747 builtin and then its argument prototype would still apply. */
18748 char png_check_sig ();
18749 int
18750 main ()
18751 {
18752 png_check_sig ();
18753 ;
18754 return 0;
18755 }
18756 _ACEOF
18757 rm -f conftest.$ac_objext conftest$ac_exeext
18758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18759 (eval $ac_link) 2>&5
18760 ac_status=$?
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try='test -s conftest$ac_exeext'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_cv_lib_png_png_check_sig=yes
18770 else
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.$ac_ext >&5
18773
18774 ac_cv_lib_png_png_check_sig=no
18775 fi
18776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18777 LIBS=$ac_check_lib_save_LIBS
18778 fi
18779 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18780 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18781 if test $ac_cv_lib_png_png_check_sig = yes; then
18782 PNG_LINK=" -lpng"
18783 fi
18784
18785 fi
18786
18787 if test "x$PNG_LINK" = "x" ; then
18788 if test "$wxUSE_LIBPNG" = "sys" ; then
18789 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18790 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18791 { (exit 1); exit 1; }; }
18792 else
18793 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18794 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18795 wxUSE_LIBPNG=builtin
18796 fi
18797 else
18798 wxUSE_LIBPNG=sys
18799 fi
18800 fi
18801 fi
18802
18803 if test "$wxUSE_LIBPNG" = "builtin" ; then
18804 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18805 fi
18806
18807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18808 fi
18809
18810
18811 JPEG_INCLUDE=
18812 JPEG_LINK=
18813 if test "$wxUSE_LIBJPEG" != "no" ; then
18814 cat >>confdefs.h <<\_ACEOF
18815 #define wxUSE_LIBJPEG 1
18816 _ACEOF
18817
18818
18819 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18820 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18821 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18822 wxUSE_LIBJPEG=sys
18823 fi
18824
18825 if test "$wxUSE_MGL" != 1 ; then
18826 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18827 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18828 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18829 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18830 echo $ECHO_N "(cached) $ECHO_C" >&6
18831 else
18832 cat >conftest.$ac_ext <<_ACEOF
18833 #line $LINENO "configure"
18834 /* confdefs.h. */
18835 _ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839
18840 #undef HAVE_STDLIB_H
18841 #include <stdio.h>
18842 #include <jpeglib.h>
18843
18844 int
18845 main ()
18846 {
18847
18848
18849 ;
18850 return 0;
18851 }
18852 _ACEOF
18853 rm -f conftest.$ac_objext
18854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18855 (eval $ac_compile) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); } &&
18859 { ac_try='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 ac_cv_header_jpeglib_h=yes
18866 else
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18869
18870 ac_cv_header_jpeglib_h=no
18871
18872 fi
18873 rm -f conftest.$ac_objext conftest.$ac_ext
18874
18875 fi
18876
18877 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18878 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18879
18880 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18881 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18882 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18883 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 else
18886 ac_check_lib_save_LIBS=$LIBS
18887 LIBS="-ljpeg $LIBS"
18888 cat >conftest.$ac_ext <<_ACEOF
18889 #line $LINENO "configure"
18890 /* confdefs.h. */
18891 _ACEOF
18892 cat confdefs.h >>conftest.$ac_ext
18893 cat >>conftest.$ac_ext <<_ACEOF
18894 /* end confdefs.h. */
18895
18896 /* Override any gcc2 internal prototype to avoid an error. */
18897 #ifdef __cplusplus
18898 extern "C"
18899 #endif
18900 /* We use char because int might match the return type of a gcc2
18901 builtin and then its argument prototype would still apply. */
18902 char jpeg_read_header ();
18903 int
18904 main ()
18905 {
18906 jpeg_read_header ();
18907 ;
18908 return 0;
18909 }
18910 _ACEOF
18911 rm -f conftest.$ac_objext conftest$ac_exeext
18912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18913 (eval $ac_link) 2>&5
18914 ac_status=$?
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try='test -s conftest$ac_exeext'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18920 ac_status=$?
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; }; then
18923 ac_cv_lib_jpeg_jpeg_read_header=yes
18924 else
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18927
18928 ac_cv_lib_jpeg_jpeg_read_header=no
18929 fi
18930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18931 LIBS=$ac_check_lib_save_LIBS
18932 fi
18933 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18934 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18935 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18936 JPEG_LINK=" -ljpeg"
18937 fi
18938
18939 fi
18940
18941 if test "x$JPEG_LINK" = "x" ; then
18942 if test "$wxUSE_LIBJPEG" = "sys" ; then
18943 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18944 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18945 { (exit 1); exit 1; }; }
18946 else
18947 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18948 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18949 wxUSE_LIBJPEG=builtin
18950 fi
18951 else
18952 wxUSE_LIBJPEG=sys
18953 fi
18954 fi
18955 fi
18956
18957 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18958 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18959 fi
18960 fi
18961
18962
18963 TIFF_INCLUDE=
18964 TIFF_LINK=
18965 TIFF_PREREQ_LINKS=-lm
18966 if test "$wxUSE_LIBTIFF" != "no" ; then
18967 cat >>confdefs.h <<\_ACEOF
18968 #define wxUSE_LIBTIFF 1
18969 _ACEOF
18970
18971
18972 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18973 if test "$wxUSE_LIBJPEG" = "sys"; then
18974 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18975 fi
18976 if test "$wxUSE_ZLIB" = "sys"; then
18977 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18978 fi
18979 if test "${ac_cv_header_tiffio_h+set}" = set; then
18980 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18981 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18982 if test "${ac_cv_header_tiffio_h+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 fi
18985 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18986 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18987 else
18988 # Is the header compilable?
18989 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18990 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18991 cat >conftest.$ac_ext <<_ACEOF
18992 #line $LINENO "configure"
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 $ac_includes_default
18999 #include <tiffio.h>
19000 _ACEOF
19001 rm -f conftest.$ac_objext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>&5
19004 ac_status=$?
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try='test -s conftest.$ac_objext'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; }; then
19013 ac_header_compiler=yes
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19017
19018 ac_header_compiler=no
19019 fi
19020 rm -f conftest.$ac_objext conftest.$ac_ext
19021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19022 echo "${ECHO_T}$ac_header_compiler" >&6
19023
19024 # Is the header present?
19025 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19026 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19027 cat >conftest.$ac_ext <<_ACEOF
19028 #line $LINENO "configure"
19029 /* confdefs.h. */
19030 _ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 #include <tiffio.h>
19035 _ACEOF
19036 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19037 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } >/dev/null; then
19044 if test -s conftest.err; then
19045 ac_cpp_err=$ac_c_preproc_warn_flag
19046 else
19047 ac_cpp_err=
19048 fi
19049 else
19050 ac_cpp_err=yes
19051 fi
19052 if test -z "$ac_cpp_err"; then
19053 ac_header_preproc=yes
19054 else
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 ac_header_preproc=no
19059 fi
19060 rm -f conftest.err conftest.$ac_ext
19061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19062 echo "${ECHO_T}$ac_header_preproc" >&6
19063
19064 # So? What about this header?
19065 case $ac_header_compiler:$ac_header_preproc in
19066 yes:no )
19067 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19068 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19069 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19070 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19071 (
19072 cat <<\_ASBOX
19073 ## ------------------------------------ ##
19074 ## Report this to bug-autoconf@gnu.org. ##
19075 ## ------------------------------------ ##
19076 _ASBOX
19077 ) |
19078 sed "s/^/$as_me: WARNING: /" >&2
19079 ;;
19080 no:yes )
19081 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19082 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19083 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19084 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19085 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19086 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19087 (
19088 cat <<\_ASBOX
19089 ## ------------------------------------ ##
19090 ## Report this to bug-autoconf@gnu.org. ##
19091 ## ------------------------------------ ##
19092 _ASBOX
19093 ) |
19094 sed "s/^/$as_me: WARNING: /" >&2
19095 ;;
19096 esac
19097 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19098 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19099 if test "${ac_cv_header_tiffio_h+set}" = set; then
19100 echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19102 ac_cv_header_tiffio_h=$ac_header_preproc
19103 fi
19104 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19105 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19106
19107 fi
19108 if test $ac_cv_header_tiffio_h = yes; then
19109
19110 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19111 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19112 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 else
19115 ac_check_lib_save_LIBS=$LIBS
19116 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19117 cat >conftest.$ac_ext <<_ACEOF
19118 #line $LINENO "configure"
19119 /* confdefs.h. */
19120 _ACEOF
19121 cat confdefs.h >>conftest.$ac_ext
19122 cat >>conftest.$ac_ext <<_ACEOF
19123 /* end confdefs.h. */
19124
19125 /* Override any gcc2 internal prototype to avoid an error. */
19126 #ifdef __cplusplus
19127 extern "C"
19128 #endif
19129 /* We use char because int might match the return type of a gcc2
19130 builtin and then its argument prototype would still apply. */
19131 char TIFFError ();
19132 int
19133 main ()
19134 {
19135 TIFFError ();
19136 ;
19137 return 0;
19138 }
19139 _ACEOF
19140 rm -f conftest.$ac_objext conftest$ac_exeext
19141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19142 (eval $ac_link) 2>&5
19143 ac_status=$?
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } &&
19146 { ac_try='test -s conftest$ac_exeext'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; }; then
19152 ac_cv_lib_tiff_TIFFError=yes
19153 else
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19156
19157 ac_cv_lib_tiff_TIFFError=no
19158 fi
19159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19160 LIBS=$ac_check_lib_save_LIBS
19161 fi
19162 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19163 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19164 if test $ac_cv_lib_tiff_TIFFError = yes; then
19165 TIFF_LINK=" -ltiff"
19166 fi
19167
19168
19169
19170 fi
19171
19172
19173
19174 if test "x$TIFF_LINK" = "x" ; then
19175 if test "$wxUSE_LIBTIFF" = "sys" ; then
19176 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19177 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19178 { (exit 1); exit 1; }; }
19179 else
19180 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19181 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19182 wxUSE_LIBTIFF=builtin
19183 fi
19184 else
19185 wxUSE_LIBTIFF=sys
19186 fi
19187 fi
19188
19189 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19190 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19191 fi
19192 fi
19193
19194
19195 if test "$wxUSE_EXPAT" != "no"; then
19196 wxUSE_XML=yes
19197 cat >>confdefs.h <<\_ACEOF
19198 #define wxUSE_EXPAT 1
19199 _ACEOF
19200
19201 cat >>confdefs.h <<\_ACEOF
19202 #define wxUSE_XML 1
19203 _ACEOF
19204
19205
19206 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19207 if test "${ac_cv_header_expat_h+set}" = set; then
19208 echo "$as_me:$LINENO: checking for expat.h" >&5
19209 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19210 if test "${ac_cv_header_expat_h+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 fi
19213 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19214 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19215 else
19216 # Is the header compilable?
19217 echo "$as_me:$LINENO: checking expat.h usability" >&5
19218 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19219 cat >conftest.$ac_ext <<_ACEOF
19220 #line $LINENO "configure"
19221 /* confdefs.h. */
19222 _ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 $ac_includes_default
19227 #include <expat.h>
19228 _ACEOF
19229 rm -f conftest.$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>&5
19232 ac_status=$?
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } &&
19235 { ac_try='test -s conftest.$ac_objext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19238 ac_status=$?
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19241 ac_header_compiler=yes
19242 else
19243 echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19245
19246 ac_header_compiler=no
19247 fi
19248 rm -f conftest.$ac_objext conftest.$ac_ext
19249 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19250 echo "${ECHO_T}$ac_header_compiler" >&6
19251
19252 # Is the header present?
19253 echo "$as_me:$LINENO: checking expat.h presence" >&5
19254 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19255 cat >conftest.$ac_ext <<_ACEOF
19256 #line $LINENO "configure"
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 #include <expat.h>
19263 _ACEOF
19264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } >/dev/null; then
19272 if test -s conftest.err; then
19273 ac_cpp_err=$ac_c_preproc_warn_flag
19274 else
19275 ac_cpp_err=
19276 fi
19277 else
19278 ac_cpp_err=yes
19279 fi
19280 if test -z "$ac_cpp_err"; then
19281 ac_header_preproc=yes
19282 else
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19285
19286 ac_header_preproc=no
19287 fi
19288 rm -f conftest.err conftest.$ac_ext
19289 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19290 echo "${ECHO_T}$ac_header_preproc" >&6
19291
19292 # So? What about this header?
19293 case $ac_header_compiler:$ac_header_preproc in
19294 yes:no )
19295 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19296 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19297 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19298 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19299 (
19300 cat <<\_ASBOX
19301 ## ------------------------------------ ##
19302 ## Report this to bug-autoconf@gnu.org. ##
19303 ## ------------------------------------ ##
19304 _ASBOX
19305 ) |
19306 sed "s/^/$as_me: WARNING: /" >&2
19307 ;;
19308 no:yes )
19309 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19310 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19311 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19312 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19313 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19314 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19315 (
19316 cat <<\_ASBOX
19317 ## ------------------------------------ ##
19318 ## Report this to bug-autoconf@gnu.org. ##
19319 ## ------------------------------------ ##
19320 _ASBOX
19321 ) |
19322 sed "s/^/$as_me: WARNING: /" >&2
19323 ;;
19324 esac
19325 echo "$as_me:$LINENO: checking for expat.h" >&5
19326 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19327 if test "${ac_cv_header_expat_h+set}" = set; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 else
19330 ac_cv_header_expat_h=$ac_header_preproc
19331 fi
19332 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19333 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19334
19335 fi
19336 if test $ac_cv_header_expat_h = yes; then
19337 found_expat_h=1
19338 fi
19339
19340
19341 if test "x$found_expat_h" = "x1"; then
19342 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19343 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19344 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19346 else
19347
19348
19349
19350 ac_ext=cc
19351 ac_cpp='$CXXCPP $CPPFLAGS'
19352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19355
19356 cat >conftest.$ac_ext <<_ACEOF
19357 #line $LINENO "configure"
19358 /* confdefs.h. */
19359 _ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 #include <expat.h>
19364 int
19365 main ()
19366 {
19367
19368 ;
19369 return 0;
19370 }
19371 _ACEOF
19372 rm -f conftest.$ac_objext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19374 (eval $ac_compile) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); } &&
19378 { ac_try='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 wx_cv_expat_is_not_broken=yes
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 wx_cv_expat_is_not_broken=no
19390
19391 fi
19392 rm -f conftest.$ac_objext conftest.$ac_ext
19393 ac_ext=c
19394 ac_cpp='$CPP $CPPFLAGS'
19395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19398
19399
19400
19401 fi
19402 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19403 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19404 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19405 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19406 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19407 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19408 echo $ECHO_N "(cached) $ECHO_C" >&6
19409 else
19410 ac_check_lib_save_LIBS=$LIBS
19411 LIBS="-lexpat $LIBS"
19412 cat >conftest.$ac_ext <<_ACEOF
19413 #line $LINENO "configure"
19414 /* confdefs.h. */
19415 _ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419
19420 /* Override any gcc2 internal prototype to avoid an error. */
19421 #ifdef __cplusplus
19422 extern "C"
19423 #endif
19424 /* We use char because int might match the return type of a gcc2
19425 builtin and then its argument prototype would still apply. */
19426 char XML_ParserCreate ();
19427 int
19428 main ()
19429 {
19430 XML_ParserCreate ();
19431 ;
19432 return 0;
19433 }
19434 _ACEOF
19435 rm -f conftest.$ac_objext conftest$ac_exeext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19437 (eval $ac_link) 2>&5
19438 ac_status=$?
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); } &&
19441 { ac_try='test -s conftest$ac_exeext'
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19443 (eval $ac_try) 2>&5
19444 ac_status=$?
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19446 (exit $ac_status); }; }; then
19447 ac_cv_lib_expat_XML_ParserCreate=yes
19448 else
19449 echo "$as_me: failed program was:" >&5
19450 sed 's/^/| /' conftest.$ac_ext >&5
19451
19452 ac_cv_lib_expat_XML_ParserCreate=no
19453 fi
19454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19455 LIBS=$ac_check_lib_save_LIBS
19456 fi
19457 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19458 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19459 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19460 EXPAT_LINK=" -lexpat"
19461 fi
19462
19463 fi
19464 fi
19465 if test "x$EXPAT_LINK" = "x" ; then
19466 if test "$wxUSE_EXPAT" = "sys" ; then
19467 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19468 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19469 { (exit 1); exit 1; }; }
19470 else
19471 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19472 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19473 wxUSE_EXPAT=builtin
19474 fi
19475 else
19476 wxUSE_EXPAT=sys
19477 fi
19478 fi
19479 if test "$wxUSE_EXPAT" = "builtin" ; then
19480
19481
19482 subdirs="$subdirs src/expat"
19483
19484 fi
19485 fi
19486
19487
19488
19489 AFMINSTALL=
19490 WIN32INSTALL=
19491
19492 TOOLKIT=
19493 TOOLKIT_INCLUDE=
19494 WIDGET_SET=
19495
19496 if test "$USE_WIN32" = 1 ; then
19497
19498 for ac_header in w32api.h
19499 do
19500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19502 echo "$as_me:$LINENO: checking for $ac_header" >&5
19503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 fi
19507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19509 else
19510 # Is the header compilable?
19511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19513 cat >conftest.$ac_ext <<_ACEOF
19514 #line $LINENO "configure"
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 $ac_includes_default
19521 #include <$ac_header>
19522 _ACEOF
19523 rm -f conftest.$ac_objext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19525 (eval $ac_compile) 2>&5
19526 ac_status=$?
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); } &&
19529 { ac_try='test -s conftest.$ac_objext'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; }; then
19535 ac_header_compiler=yes
19536 else
19537 echo "$as_me: failed program was:" >&5
19538 sed 's/^/| /' conftest.$ac_ext >&5
19539
19540 ac_header_compiler=no
19541 fi
19542 rm -f conftest.$ac_objext conftest.$ac_ext
19543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19544 echo "${ECHO_T}$ac_header_compiler" >&6
19545
19546 # Is the header present?
19547 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19549 cat >conftest.$ac_ext <<_ACEOF
19550 #line $LINENO "configure"
19551 /* confdefs.h. */
19552 _ACEOF
19553 cat confdefs.h >>conftest.$ac_ext
19554 cat >>conftest.$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 #include <$ac_header>
19557 _ACEOF
19558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19560 ac_status=$?
19561 grep -v '^ *+' conftest.er1 >conftest.err
19562 rm -f conftest.er1
19563 cat conftest.err >&5
19564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19565 (exit $ac_status); } >/dev/null; then
19566 if test -s conftest.err; then
19567 ac_cpp_err=$ac_c_preproc_warn_flag
19568 else
19569 ac_cpp_err=
19570 fi
19571 else
19572 ac_cpp_err=yes
19573 fi
19574 if test -z "$ac_cpp_err"; then
19575 ac_header_preproc=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19579
19580 ac_header_preproc=no
19581 fi
19582 rm -f conftest.err conftest.$ac_ext
19583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19584 echo "${ECHO_T}$ac_header_preproc" >&6
19585
19586 # So? What about this header?
19587 case $ac_header_compiler:$ac_header_preproc in
19588 yes:no )
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19593 (
19594 cat <<\_ASBOX
19595 ## ------------------------------------ ##
19596 ## Report this to bug-autoconf@gnu.org. ##
19597 ## ------------------------------------ ##
19598 _ASBOX
19599 ) |
19600 sed "s/^/$as_me: WARNING: /" >&2
19601 ;;
19602 no:yes )
19603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19609 (
19610 cat <<\_ASBOX
19611 ## ------------------------------------ ##
19612 ## Report this to bug-autoconf@gnu.org. ##
19613 ## ------------------------------------ ##
19614 _ASBOX
19615 ) |
19616 sed "s/^/$as_me: WARNING: /" >&2
19617 ;;
19618 esac
19619 echo "$as_me:$LINENO: checking for $ac_header" >&5
19620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19622 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 else
19624 eval "$as_ac_Header=$ac_header_preproc"
19625 fi
19626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19628
19629 fi
19630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19631 cat >>confdefs.h <<_ACEOF
19632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19633 _ACEOF
19634
19635 fi
19636
19637 done
19638
19639 if test "${ac_cv_header_windows_h+set}" = set; then
19640 echo "$as_me:$LINENO: checking for windows.h" >&5
19641 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19642 if test "${ac_cv_header_windows_h+set}" = set; then
19643 echo $ECHO_N "(cached) $ECHO_C" >&6
19644 fi
19645 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19646 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19647 else
19648 # Is the header compilable?
19649 echo "$as_me:$LINENO: checking windows.h usability" >&5
19650 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19651 cat >conftest.$ac_ext <<_ACEOF
19652 #line $LINENO "configure"
19653 /* confdefs.h. */
19654 _ACEOF
19655 cat confdefs.h >>conftest.$ac_ext
19656 cat >>conftest.$ac_ext <<_ACEOF
19657 /* end confdefs.h. */
19658 $ac_includes_default
19659 #include <windows.h>
19660 _ACEOF
19661 rm -f conftest.$ac_objext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663 (eval $ac_compile) 2>&5
19664 ac_status=$?
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try='test -s conftest.$ac_objext'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19670 ac_status=$?
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; }; then
19673 ac_header_compiler=yes
19674 else
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19677
19678 ac_header_compiler=no
19679 fi
19680 rm -f conftest.$ac_objext conftest.$ac_ext
19681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19682 echo "${ECHO_T}$ac_header_compiler" >&6
19683
19684 # Is the header present?
19685 echo "$as_me:$LINENO: checking windows.h presence" >&5
19686 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19687 cat >conftest.$ac_ext <<_ACEOF
19688 #line $LINENO "configure"
19689 /* confdefs.h. */
19690 _ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 #include <windows.h>
19695 _ACEOF
19696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } >/dev/null; then
19704 if test -s conftest.err; then
19705 ac_cpp_err=$ac_c_preproc_warn_flag
19706 else
19707 ac_cpp_err=
19708 fi
19709 else
19710 ac_cpp_err=yes
19711 fi
19712 if test -z "$ac_cpp_err"; then
19713 ac_header_preproc=yes
19714 else
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19717
19718 ac_header_preproc=no
19719 fi
19720 rm -f conftest.err conftest.$ac_ext
19721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19722 echo "${ECHO_T}$ac_header_preproc" >&6
19723
19724 # So? What about this header?
19725 case $ac_header_compiler:$ac_header_preproc in
19726 yes:no )
19727 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19728 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19729 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19730 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19731 (
19732 cat <<\_ASBOX
19733 ## ------------------------------------ ##
19734 ## Report this to bug-autoconf@gnu.org. ##
19735 ## ------------------------------------ ##
19736 _ASBOX
19737 ) |
19738 sed "s/^/$as_me: WARNING: /" >&2
19739 ;;
19740 no:yes )
19741 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19742 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19743 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19744 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19745 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19746 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19747 (
19748 cat <<\_ASBOX
19749 ## ------------------------------------ ##
19750 ## Report this to bug-autoconf@gnu.org. ##
19751 ## ------------------------------------ ##
19752 _ASBOX
19753 ) |
19754 sed "s/^/$as_me: WARNING: /" >&2
19755 ;;
19756 esac
19757 echo "$as_me:$LINENO: checking for windows.h" >&5
19758 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19759 if test "${ac_cv_header_windows_h+set}" = set; then
19760 echo $ECHO_N "(cached) $ECHO_C" >&6
19761 else
19762 ac_cv_header_windows_h=$ac_header_preproc
19763 fi
19764 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19765 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19766
19767 fi
19768 if test $ac_cv_header_windows_h = yes; then
19769 :
19770 else
19771
19772 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19773 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19774 { (exit 1); exit 1; }; }
19775
19776 fi
19777
19778
19779
19780 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19781
19782 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19783 LIBS="$LIBS -loleacc"
19784 fi
19785
19786 case "${host}" in
19787 *-*-cygwin* )
19788 LIBS="$LIBS -lkernel32 -luser32"
19789 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19790 esac
19791
19792 if test "$wxUSE_ODBC" = "sys" ; then
19793 wxUSE_ODBC = "yes"
19794 fi
19795 if test "$wxUSE_ODBC" = "yes" ; then
19796 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19797 cat >>confdefs.h <<\_ACEOF
19798 #define wxUSE_ODBC 1
19799 _ACEOF
19800
19801 fi
19802
19803 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19804 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19805
19806 WIN32INSTALL=win32install
19807 fi
19808
19809 if test "$wxUSE_GUI" = "yes"; then
19810 USE_GUI=1
19811
19812 GUI_TK_LIBRARY=
19813
19814 WXGTK12=
19815 WXGTK127=
19816 WXGTK20=
19817
19818 if test "$wxUSE_MSW" = 1 ; then
19819 TOOLKIT=MSW
19820 GUIDIST=MSW_DIST
19821
19822 case "${host}" in
19823 *-*-mingw32* )
19824 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19825 esac
19826 fi
19827
19828 if test "$wxUSE_GTK" = 1; then
19829 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19830 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19831
19832 gtk_version_cached=1
19833 if test "${wx_cv_lib_gtk+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 else
19836
19837 gtk_version_cached=0
19838 echo "$as_me:$LINENO: result: " >&5
19839 echo "${ECHO_T}" >&6
19840
19841 GTK_MODULES=
19842 if test "$wxUSE_THREADS" = "yes"; then
19843 GTK_MODULES=gthread
19844 fi
19845
19846 wx_cv_lib_gtk=
19847 if test "x$wxUSE_GTK2" = "xyes"; then
19848 # Check whether --enable-gtktest or --disable-gtktest was given.
19849 if test "${enable_gtktest+set}" = set; then
19850 enableval="$enable_gtktest"
19851
19852 else
19853 enable_gtktest=yes
19854 fi;
19855
19856 pkg_config_args=gtk+-2.0
19857 for module in . $GTK_MODULES
19858 do
19859 case "$module" in
19860 gthread)
19861 pkg_config_args="$pkg_config_args gthread-2.0"
19862 ;;
19863 esac
19864 done
19865
19866 no_gtk=""
19867
19868 # Extract the first word of "pkg-config", so it can be a program name with args.
19869 set dummy pkg-config; ac_word=$2
19870 echo "$as_me:$LINENO: checking for $ac_word" >&5
19871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 else
19875 case $PKG_CONFIG in
19876 [\\/]* | ?:[\\/]*)
19877 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19878 ;;
19879 *)
19880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19881 for as_dir in $PATH
19882 do
19883 IFS=$as_save_IFS
19884 test -z "$as_dir" && as_dir=.
19885 for ac_exec_ext in '' $ac_executable_extensions; do
19886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19887 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19889 break 2
19890 fi
19891 done
19892 done
19893
19894 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19895 ;;
19896 esac
19897 fi
19898 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19899
19900 if test -n "$PKG_CONFIG"; then
19901 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19902 echo "${ECHO_T}$PKG_CONFIG" >&6
19903 else
19904 echo "$as_me:$LINENO: result: no" >&5
19905 echo "${ECHO_T}no" >&6
19906 fi
19907
19908
19909 if test x$PKG_CONFIG != xno ; then
19910 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19911 :
19912 else
19913 echo *** pkg-config too old; version 0.7 or better required.
19914 no_gtk=yes
19915 PKG_CONFIG=no
19916 fi
19917 else
19918 no_gtk=yes
19919 fi
19920
19921 min_gtk_version=2.0.0
19922 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19923 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19924
19925 if test x$PKG_CONFIG != xno ; then
19926 ## don't try to run the test against uninstalled libtool libs
19927 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19928 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19929 enable_gtktest=no
19930 fi
19931
19932 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19933 :
19934 else
19935 no_gtk=yes
19936 fi
19937 fi
19938
19939 if test x"$no_gtk" = x ; then
19940 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19941 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19942 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19944 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19946 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19948 if test "x$enable_gtktest" = "xyes" ; then
19949 ac_save_CFLAGS="$CFLAGS"
19950 ac_save_LIBS="$LIBS"
19951 CFLAGS="$CFLAGS $GTK_CFLAGS"
19952 LIBS="$GTK_LIBS $LIBS"
19953 rm -f conf.gtktest
19954 if test "$cross_compiling" = yes; then
19955 echo $ac_n "cross compiling; assumed OK... $ac_c"
19956 else
19957 cat >conftest.$ac_ext <<_ACEOF
19958 #line $LINENO "configure"
19959 /* confdefs.h. */
19960 _ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964
19965 #include <gtk/gtk.h>
19966 #include <stdio.h>
19967 #include <stdlib.h>
19968
19969 int
19970 main ()
19971 {
19972 int major, minor, micro;
19973 char *tmp_version;
19974
19975 system ("touch conf.gtktest");
19976
19977 /* HP/UX 9 (%@#!) writes to sscanf strings */
19978 tmp_version = g_strdup("$min_gtk_version");
19979 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19980 printf("%s, bad version string\n", "$min_gtk_version");
19981 exit(1);
19982 }
19983
19984 if ((gtk_major_version != $gtk_config_major_version) ||
19985 (gtk_minor_version != $gtk_config_minor_version) ||
19986 (gtk_micro_version != $gtk_config_micro_version))
19987 {
19988 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19989 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19990 gtk_major_version, gtk_minor_version, gtk_micro_version);
19991 printf ("*** was found! If pkg-config was correct, then it is best\n");
19992 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19993 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19994 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19995 printf("*** required on your system.\n");
19996 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19997 printf("*** to point to the correct configuration files\n");
19998 }
19999 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20000 (gtk_minor_version != GTK_MINOR_VERSION) ||
20001 (gtk_micro_version != GTK_MICRO_VERSION))
20002 {
20003 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20004 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20005 printf("*** library (version %d.%d.%d)\n",
20006 gtk_major_version, gtk_minor_version, gtk_micro_version);
20007 }
20008 else
20009 {
20010 if ((gtk_major_version > major) ||
20011 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20012 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20013 {
20014 return 0;
20015 }
20016 else
20017 {
20018 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20019 gtk_major_version, gtk_minor_version, gtk_micro_version);
20020 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20021 major, minor, micro);
20022 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20023 printf("***\n");
20024 printf("*** If you have already installed a sufficiently new version, this error\n");
20025 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20026 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20027 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20028 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20029 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20030 printf("*** so that the correct libraries are found at run-time))\n");
20031 }
20032 }
20033 return 1;
20034 }
20035
20036 _ACEOF
20037 rm -f conftest$ac_exeext
20038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20039 (eval $ac_link) 2>&5
20040 ac_status=$?
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20044 (eval $ac_try) 2>&5
20045 ac_status=$?
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20048 :
20049 else
20050 echo "$as_me: program exited with status $ac_status" >&5
20051 echo "$as_me: failed program was:" >&5
20052 sed 's/^/| /' conftest.$ac_ext >&5
20053
20054 ( exit $ac_status )
20055 no_gtk=yes
20056 fi
20057 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20058 fi
20059 CFLAGS="$ac_save_CFLAGS"
20060 LIBS="$ac_save_LIBS"
20061 fi
20062 fi
20063 if test "x$no_gtk" = x ; then
20064 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20065 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20066 wx_cv_lib_gtk=2.0
20067 else
20068 echo "$as_me:$LINENO: result: no" >&5
20069 echo "${ECHO_T}no" >&6
20070 if test "$PKG_CONFIG" = "no" ; then
20071 echo "*** A new enough version of pkg-config was not found."
20072 echo "*** See http://pkgconfig.sourceforge.net"
20073 else
20074 if test -f conf.gtktest ; then
20075 :
20076 else
20077 echo "*** Could not run GTK+ test program, checking why..."
20078 ac_save_CFLAGS="$CFLAGS"
20079 ac_save_LIBS="$LIBS"
20080 CFLAGS="$CFLAGS $GTK_CFLAGS"
20081 LIBS="$LIBS $GTK_LIBS"
20082 cat >conftest.$ac_ext <<_ACEOF
20083 #line $LINENO "configure"
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089
20090 #include <gtk/gtk.h>
20091 #include <stdio.h>
20092
20093 int
20094 main ()
20095 {
20096 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20097 ;
20098 return 0;
20099 }
20100 _ACEOF
20101 rm -f conftest.$ac_objext conftest$ac_exeext
20102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20103 (eval $ac_link) 2>&5
20104 ac_status=$?
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } &&
20107 { ac_try='test -s conftest$ac_exeext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 echo "*** The test program compiled, but did not run. This usually means"
20114 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20115 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20116 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20117 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20118 echo "*** is required on your system"
20119 echo "***"
20120 echo "*** If you have an old version installed, it is best to remove it, although"
20121 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20122 else
20123 echo "$as_me: failed program was:" >&5
20124 sed 's/^/| /' conftest.$ac_ext >&5
20125
20126 echo "*** The test program failed to compile or link. See the file config.log for the"
20127 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20128 fi
20129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20130 CFLAGS="$ac_save_CFLAGS"
20131 LIBS="$ac_save_LIBS"
20132 fi
20133 fi
20134 GTK_CFLAGS=""
20135 GTK_LIBS=""
20136 :
20137 fi
20138
20139
20140 rm -f conf.gtktest
20141
20142 else
20143
20144 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20145 if test "${with_gtk_prefix+set}" = set; then
20146 withval="$with_gtk_prefix"
20147 gtk_config_prefix="$withval"
20148 else
20149 gtk_config_prefix=""
20150 fi;
20151
20152 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20153 if test "${with_gtk_exec_prefix+set}" = set; then
20154 withval="$with_gtk_exec_prefix"
20155 gtk_config_exec_prefix="$withval"
20156 else
20157 gtk_config_exec_prefix=""
20158 fi;
20159 # Check whether --enable-gtktest or --disable-gtktest was given.
20160 if test "${enable_gtktest+set}" = set; then
20161 enableval="$enable_gtktest"
20162
20163 else
20164 enable_gtktest=yes
20165 fi;
20166
20167 for module in . $GTK_MODULES
20168 do
20169 case "$module" in
20170 gthread)
20171 gtk_config_args="$gtk_config_args gthread"
20172 ;;
20173 esac
20174 done
20175
20176 if test x$gtk_config_exec_prefix != x ; then
20177 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20178 if test x${GTK_CONFIG+set} != xset ; then
20179 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20180 fi
20181 fi
20182 if test x$gtk_config_prefix != x ; then
20183 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20184 if test x${GTK_CONFIG+set} != xset ; then
20185 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20186 fi
20187 fi
20188
20189 # Extract the first word of "gtk-config", so it can be a program name with args.
20190 set dummy gtk-config; ac_word=$2
20191 echo "$as_me:$LINENO: checking for $ac_word" >&5
20192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20193 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 case $GTK_CONFIG in
20197 [\\/]* | ?:[\\/]*)
20198 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20199 ;;
20200 *)
20201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20202 for as_dir in $PATH
20203 do
20204 IFS=$as_save_IFS
20205 test -z "$as_dir" && as_dir=.
20206 for ac_exec_ext in '' $ac_executable_extensions; do
20207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20208 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20210 break 2
20211 fi
20212 done
20213 done
20214
20215 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20216 ;;
20217 esac
20218 fi
20219 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20220
20221 if test -n "$GTK_CONFIG"; then
20222 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20223 echo "${ECHO_T}$GTK_CONFIG" >&6
20224 else
20225 echo "$as_me:$LINENO: result: no" >&5
20226 echo "${ECHO_T}no" >&6
20227 fi
20228
20229 min_gtk_version=1.2.7
20230 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20231 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20232 no_gtk=""
20233 if test "$GTK_CONFIG" = "no" ; then
20234 no_gtk=yes
20235 else
20236 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20237 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20238 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20240 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20242 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20244 if test "x$enable_gtktest" = "xyes" ; then
20245 ac_save_CFLAGS="$CFLAGS"
20246 ac_save_LIBS="$LIBS"
20247 CFLAGS="$CFLAGS $GTK_CFLAGS"
20248 LIBS="$GTK_LIBS $LIBS"
20249 rm -f conf.gtktest
20250 if test "$cross_compiling" = yes; then
20251 echo $ac_n "cross compiling; assumed OK... $ac_c"
20252 else
20253 cat >conftest.$ac_ext <<_ACEOF
20254 #line $LINENO "configure"
20255 /* confdefs.h. */
20256 _ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20260
20261 #include <gtk/gtk.h>
20262 #include <stdio.h>
20263 #include <stdlib.h>
20264
20265 int
20266 main ()
20267 {
20268 int major, minor, micro;
20269 char *tmp_version;
20270
20271 system ("touch conf.gtktest");
20272
20273 /* HP/UX 9 (%@#!) writes to sscanf strings */
20274 tmp_version = g_strdup("$min_gtk_version");
20275 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20276 printf("%s, bad version string\n", "$min_gtk_version");
20277 exit(1);
20278 }
20279
20280 if ((gtk_major_version != $gtk_config_major_version) ||
20281 (gtk_minor_version != $gtk_config_minor_version) ||
20282 (gtk_micro_version != $gtk_config_micro_version))
20283 {
20284 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20285 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20286 gtk_major_version, gtk_minor_version, gtk_micro_version);
20287 printf ("*** was found! If gtk-config was correct, then it is best\n");
20288 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20289 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20290 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20291 printf("*** required on your system.\n");
20292 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20293 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20294 printf("*** before re-running configure\n");
20295 }
20296 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20297 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20298 (gtk_minor_version != GTK_MINOR_VERSION) ||
20299 (gtk_micro_version != GTK_MICRO_VERSION))
20300 {
20301 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20302 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20303 printf("*** library (version %d.%d.%d)\n",
20304 gtk_major_version, gtk_minor_version, gtk_micro_version);
20305 }
20306 #endif /* defined (GTK_MAJOR_VERSION) ... */
20307 else
20308 {
20309 if ((gtk_major_version > major) ||
20310 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20311 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20312 {
20313 return 0;
20314 }
20315 else
20316 {
20317 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20318 gtk_major_version, gtk_minor_version, gtk_micro_version);
20319 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20320 major, minor, micro);
20321 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20322 printf("***\n");
20323 printf("*** If you have already installed a sufficiently new version, this error\n");
20324 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20325 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20326 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20327 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20328 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20329 printf("*** so that the correct libraries are found at run-time))\n");
20330 }
20331 }
20332 return 1;
20333 }
20334
20335 _ACEOF
20336 rm -f conftest$ac_exeext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20338 (eval $ac_link) 2>&5
20339 ac_status=$?
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20344 ac_status=$?
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 :
20348 else
20349 echo "$as_me: program exited with status $ac_status" >&5
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20352
20353 ( exit $ac_status )
20354 no_gtk=yes
20355 fi
20356 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20357 fi
20358 CFLAGS="$ac_save_CFLAGS"
20359 LIBS="$ac_save_LIBS"
20360 fi
20361 fi
20362 if test "x$no_gtk" = x ; then
20363 echo "$as_me:$LINENO: result: yes" >&5
20364 echo "${ECHO_T}yes" >&6
20365 wx_cv_lib_gtk=1.2.7
20366 else
20367 echo "$as_me:$LINENO: result: no" >&5
20368 echo "${ECHO_T}no" >&6
20369 if test "$GTK_CONFIG" = "no" ; then
20370 echo "*** The gtk-config script installed by GTK could not be found"
20371 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20372 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20373 echo "*** full path to gtk-config."
20374 else
20375 if test -f conf.gtktest ; then
20376 :
20377 else
20378 echo "*** Could not run GTK test program, checking why..."
20379 CFLAGS="$CFLAGS $GTK_CFLAGS"
20380 LIBS="$LIBS $GTK_LIBS"
20381 cat >conftest.$ac_ext <<_ACEOF
20382 #line $LINENO "configure"
20383 /* confdefs.h. */
20384 _ACEOF
20385 cat confdefs.h >>conftest.$ac_ext
20386 cat >>conftest.$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20388
20389 #include <gtk/gtk.h>
20390 #include <stdio.h>
20391
20392 int
20393 main ()
20394 {
20395 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20396 ;
20397 return 0;
20398 }
20399 _ACEOF
20400 rm -f conftest.$ac_objext conftest$ac_exeext
20401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20402 (eval $ac_link) 2>&5
20403 ac_status=$?
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); } &&
20406 { ac_try='test -s conftest$ac_exeext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 echo "*** The test program compiled, but did not run. This usually means"
20413 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20414 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20415 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20416 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20417 echo "*** is required on your system"
20418 echo "***"
20419 echo "*** If you have an old version installed, it is best to remove it, although"
20420 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20421 echo "***"
20422 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20423 echo "*** came with the system with the command"
20424 echo "***"
20425 echo "*** rpm --erase --nodeps gtk gtk-devel"
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 echo "*** The test program failed to compile or link. See the file config.log for the"
20431 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20432 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20433 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20434 fi
20435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20436 CFLAGS="$ac_save_CFLAGS"
20437 LIBS="$ac_save_LIBS"
20438 fi
20439 fi
20440 GTK_CFLAGS=""
20441 GTK_LIBS=""
20442 :
20443 fi
20444
20445
20446 rm -f conf.gtktest
20447
20448
20449 if test -z "$wx_cv_lib_gtk"; then
20450
20451 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20452 if test "${with_gtk_prefix+set}" = set; then
20453 withval="$with_gtk_prefix"
20454 gtk_config_prefix="$withval"
20455 else
20456 gtk_config_prefix=""
20457 fi;
20458
20459 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20460 if test "${with_gtk_exec_prefix+set}" = set; then
20461 withval="$with_gtk_exec_prefix"
20462 gtk_config_exec_prefix="$withval"
20463 else
20464 gtk_config_exec_prefix=""
20465 fi;
20466 # Check whether --enable-gtktest or --disable-gtktest was given.
20467 if test "${enable_gtktest+set}" = set; then
20468 enableval="$enable_gtktest"
20469
20470 else
20471 enable_gtktest=yes
20472 fi;
20473
20474 for module in . $GTK_MODULES
20475 do
20476 case "$module" in
20477 gthread)
20478 gtk_config_args="$gtk_config_args gthread"
20479 ;;
20480 esac
20481 done
20482
20483 if test x$gtk_config_exec_prefix != x ; then
20484 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20485 if test x${GTK_CONFIG+set} != xset ; then
20486 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20487 fi
20488 fi
20489 if test x$gtk_config_prefix != x ; then
20490 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20491 if test x${GTK_CONFIG+set} != xset ; then
20492 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20493 fi
20494 fi
20495
20496 # Extract the first word of "gtk-config", so it can be a program name with args.
20497 set dummy gtk-config; ac_word=$2
20498 echo "$as_me:$LINENO: checking for $ac_word" >&5
20499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20500 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 else
20503 case $GTK_CONFIG in
20504 [\\/]* | ?:[\\/]*)
20505 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20506 ;;
20507 *)
20508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20509 for as_dir in $PATH
20510 do
20511 IFS=$as_save_IFS
20512 test -z "$as_dir" && as_dir=.
20513 for ac_exec_ext in '' $ac_executable_extensions; do
20514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20515 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20517 break 2
20518 fi
20519 done
20520 done
20521
20522 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20523 ;;
20524 esac
20525 fi
20526 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20527
20528 if test -n "$GTK_CONFIG"; then
20529 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20530 echo "${ECHO_T}$GTK_CONFIG" >&6
20531 else
20532 echo "$as_me:$LINENO: result: no" >&5
20533 echo "${ECHO_T}no" >&6
20534 fi
20535
20536 min_gtk_version=1.2.3
20537 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20538 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20539 no_gtk=""
20540 if test "$GTK_CONFIG" = "no" ; then
20541 no_gtk=yes
20542 else
20543 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20544 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20545 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20547 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20549 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20551 if test "x$enable_gtktest" = "xyes" ; then
20552 ac_save_CFLAGS="$CFLAGS"
20553 ac_save_LIBS="$LIBS"
20554 CFLAGS="$CFLAGS $GTK_CFLAGS"
20555 LIBS="$GTK_LIBS $LIBS"
20556 rm -f conf.gtktest
20557 if test "$cross_compiling" = yes; then
20558 echo $ac_n "cross compiling; assumed OK... $ac_c"
20559 else
20560 cat >conftest.$ac_ext <<_ACEOF
20561 #line $LINENO "configure"
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567
20568 #include <gtk/gtk.h>
20569 #include <stdio.h>
20570 #include <stdlib.h>
20571
20572 int
20573 main ()
20574 {
20575 int major, minor, micro;
20576 char *tmp_version;
20577
20578 system ("touch conf.gtktest");
20579
20580 /* HP/UX 9 (%@#!) writes to sscanf strings */
20581 tmp_version = g_strdup("$min_gtk_version");
20582 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20583 printf("%s, bad version string\n", "$min_gtk_version");
20584 exit(1);
20585 }
20586
20587 if ((gtk_major_version != $gtk_config_major_version) ||
20588 (gtk_minor_version != $gtk_config_minor_version) ||
20589 (gtk_micro_version != $gtk_config_micro_version))
20590 {
20591 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20592 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20593 gtk_major_version, gtk_minor_version, gtk_micro_version);
20594 printf ("*** was found! If gtk-config was correct, then it is best\n");
20595 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20596 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20597 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20598 printf("*** required on your system.\n");
20599 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20600 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20601 printf("*** before re-running configure\n");
20602 }
20603 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20604 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20605 (gtk_minor_version != GTK_MINOR_VERSION) ||
20606 (gtk_micro_version != GTK_MICRO_VERSION))
20607 {
20608 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20609 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20610 printf("*** library (version %d.%d.%d)\n",
20611 gtk_major_version, gtk_minor_version, gtk_micro_version);
20612 }
20613 #endif /* defined (GTK_MAJOR_VERSION) ... */
20614 else
20615 {
20616 if ((gtk_major_version > major) ||
20617 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20618 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20619 {
20620 return 0;
20621 }
20622 else
20623 {
20624 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20625 gtk_major_version, gtk_minor_version, gtk_micro_version);
20626 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20627 major, minor, micro);
20628 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20629 printf("***\n");
20630 printf("*** If you have already installed a sufficiently new version, this error\n");
20631 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20632 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20633 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20634 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20635 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20636 printf("*** so that the correct libraries are found at run-time))\n");
20637 }
20638 }
20639 return 1;
20640 }
20641
20642 _ACEOF
20643 rm -f conftest$ac_exeext
20644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20645 (eval $ac_link) 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20651 ac_status=$?
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; }; then
20654 :
20655 else
20656 echo "$as_me: program exited with status $ac_status" >&5
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.$ac_ext >&5
20659
20660 ( exit $ac_status )
20661 no_gtk=yes
20662 fi
20663 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20664 fi
20665 CFLAGS="$ac_save_CFLAGS"
20666 LIBS="$ac_save_LIBS"
20667 fi
20668 fi
20669 if test "x$no_gtk" = x ; then
20670 echo "$as_me:$LINENO: result: yes" >&5
20671 echo "${ECHO_T}yes" >&6
20672 wx_cv_lib_gtk=1.2.3
20673 else
20674 echo "$as_me:$LINENO: result: no" >&5
20675 echo "${ECHO_T}no" >&6
20676 if test "$GTK_CONFIG" = "no" ; then
20677 echo "*** The gtk-config script installed by GTK could not be found"
20678 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20679 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20680 echo "*** full path to gtk-config."
20681 else
20682 if test -f conf.gtktest ; then
20683 :
20684 else
20685 echo "*** Could not run GTK test program, checking why..."
20686 CFLAGS="$CFLAGS $GTK_CFLAGS"
20687 LIBS="$LIBS $GTK_LIBS"
20688 cat >conftest.$ac_ext <<_ACEOF
20689 #line $LINENO "configure"
20690 /* confdefs.h. */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695
20696 #include <gtk/gtk.h>
20697 #include <stdio.h>
20698
20699 int
20700 main ()
20701 {
20702 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20703 ;
20704 return 0;
20705 }
20706 _ACEOF
20707 rm -f conftest.$ac_objext conftest$ac_exeext
20708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20709 (eval $ac_link) 2>&5
20710 ac_status=$?
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } &&
20713 { ac_try='test -s conftest$ac_exeext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 echo "*** The test program compiled, but did not run. This usually means"
20720 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20721 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20722 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20723 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20724 echo "*** is required on your system"
20725 echo "***"
20726 echo "*** If you have an old version installed, it is best to remove it, although"
20727 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20728 echo "***"
20729 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20730 echo "*** came with the system with the command"
20731 echo "***"
20732 echo "*** rpm --erase --nodeps gtk gtk-devel"
20733 else
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20736
20737 echo "*** The test program failed to compile or link. See the file config.log for the"
20738 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20739 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20740 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20741 fi
20742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20743 CFLAGS="$ac_save_CFLAGS"
20744 LIBS="$ac_save_LIBS"
20745 fi
20746 fi
20747 GTK_CFLAGS=""
20748 GTK_LIBS=""
20749 :
20750 fi
20751
20752
20753 rm -f conf.gtktest
20754
20755 fi
20756 fi
20757
20758 if test -z "$wx_cv_lib_gtk"; then
20759 wx_cv_lib_gtk=none
20760 else
20761 wx_cv_cflags_gtk=$GTK_CFLAGS
20762 wx_cv_libs_gtk=$GTK_LIBS
20763 fi
20764
20765
20766 fi
20767
20768
20769 if test "$gtk_version_cached" = 1; then
20770 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20771 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20772 fi
20773
20774 case "$wx_cv_lib_gtk" in
20775 2.0) WXGTK20=1
20776 TOOLKIT_VERSION=2
20777 ;;
20778 1.2.7) WXGTK127=1
20779 WXGTK12=1
20780 ;;
20781 1.2.3) WXGTK12=1
20782 ;;
20783 *) { { echo "$as_me:$LINENO: error:
20784 Please check that gtk-config is in path, the directory
20785 where GTK+ libraries are installed (returned by
20786 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20787 equivalent variable and GTK+ is version 1.2.3 or above.
20788 " >&5
20789 echo "$as_me: error:
20790 Please check that gtk-config is in path, the directory
20791 where GTK+ libraries are installed (returned by
20792 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20793 equivalent variable and GTK+ is version 1.2.3 or above.
20794 " >&2;}
20795 { (exit 1); exit 1; }; }
20796 ;;
20797 esac
20798
20799 if test "$WXGTK20" = 1; then
20800 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20801
20802 succeeded=no
20803
20804 if test -z "$PKG_CONFIG"; then
20805 # Extract the first word of "pkg-config", so it can be a program name with args.
20806 set dummy pkg-config; ac_word=$2
20807 echo "$as_me:$LINENO: checking for $ac_word" >&5
20808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 else
20812 case $PKG_CONFIG in
20813 [\\/]* | ?:[\\/]*)
20814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20815 ;;
20816 *)
20817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20818 for as_dir in $PATH
20819 do
20820 IFS=$as_save_IFS
20821 test -z "$as_dir" && as_dir=.
20822 for ac_exec_ext in '' $ac_executable_extensions; do
20823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20826 break 2
20827 fi
20828 done
20829 done
20830
20831 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20832 ;;
20833 esac
20834 fi
20835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20836
20837 if test -n "$PKG_CONFIG"; then
20838 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20839 echo "${ECHO_T}$PKG_CONFIG" >&6
20840 else
20841 echo "$as_me:$LINENO: result: no" >&5
20842 echo "${ECHO_T}no" >&6
20843 fi
20844
20845 fi
20846
20847 if test "$PKG_CONFIG" = "no" ; then
20848 echo "*** The pkg-config script could not be found. Make sure it is"
20849 echo "*** in your path, or set the PKG_CONFIG environment variable"
20850 echo "*** to the full path to pkg-config."
20851 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20852 else
20853 PKG_CONFIG_MIN_VERSION=0.9.0
20854 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20855 echo "$as_me:$LINENO: checking for pangoft2" >&5
20856 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20857
20858 if $PKG_CONFIG --exists "pangoft2" ; then
20859 echo "$as_me:$LINENO: result: yes" >&5
20860 echo "${ECHO_T}yes" >&6
20861 succeeded=yes
20862
20863 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20864 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20865 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20866 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20867 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20868
20869 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20870 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20871 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20872 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20873 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20874 else
20875 PANGOFT2_CFLAGS=""
20876 PANGOFT2_LIBS=""
20877 ## If we have a custom action on failure, don't print errors, but
20878 ## do set a variable so people can do so.
20879 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20880
20881 fi
20882
20883
20884
20885 else
20886 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20887 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20888 fi
20889 fi
20890
20891 if test $succeeded = yes; then
20892
20893 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20894 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20895
20896 else
20897
20898 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20899 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20900 wxUSE_PRINTING_ARCHITECTURE="no"
20901
20902
20903 fi
20904
20905 fi
20906 else
20907 if test "$wxUSE_UNICODE" = "yes"; then
20908 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20909 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20910 wxUSE_UNICODE=no
20911 fi
20912 fi
20913
20914 if test "$USE_DARWIN" != 1; then
20915
20916 for ac_func in poll
20917 do
20918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20919 echo "$as_me:$LINENO: checking for $ac_func" >&5
20920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20921 if eval "test \"\${$as_ac_var+set}\" = set"; then
20922 echo $ECHO_N "(cached) $ECHO_C" >&6
20923 else
20924 cat >conftest.$ac_ext <<_ACEOF
20925 #line $LINENO "configure"
20926 /* confdefs.h. */
20927 _ACEOF
20928 cat confdefs.h >>conftest.$ac_ext
20929 cat >>conftest.$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931 /* System header to define __stub macros and hopefully few prototypes,
20932 which can conflict with char $ac_func (); below.
20933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20934 <limits.h> exists even on freestanding compilers. */
20935 #ifdef __STDC__
20936 # include <limits.h>
20937 #else
20938 # include <assert.h>
20939 #endif
20940 /* Override any gcc2 internal prototype to avoid an error. */
20941 #ifdef __cplusplus
20942 extern "C"
20943 {
20944 #endif
20945 /* We use char because int might match the return type of a gcc2
20946 builtin and then its argument prototype would still apply. */
20947 char $ac_func ();
20948 /* The GNU C library defines this for functions which it implements
20949 to always fail with ENOSYS. Some functions are actually named
20950 something starting with __ and the normal name is an alias. */
20951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20952 choke me
20953 #else
20954 char (*f) () = $ac_func;
20955 #endif
20956 #ifdef __cplusplus
20957 }
20958 #endif
20959
20960 int
20961 main ()
20962 {
20963 return f != $ac_func;
20964 ;
20965 return 0;
20966 }
20967 _ACEOF
20968 rm -f conftest.$ac_objext conftest$ac_exeext
20969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20970 (eval $ac_link) 2>&5
20971 ac_status=$?
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try='test -s conftest$ac_exeext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20977 ac_status=$?
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 eval "$as_ac_var=yes"
20981 else
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20984
20985 eval "$as_ac_var=no"
20986 fi
20987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20988 fi
20989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20991 if test `eval echo '${'$as_ac_var'}'` = yes; then
20992 cat >>confdefs.h <<_ACEOF
20993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20994 _ACEOF
20995
20996 fi
20997 done
20998
20999 fi
21000
21001 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21002 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21003
21004 AFMINSTALL=afminstall
21005 TOOLKIT=GTK
21006 GUIDIST=GTK_DIST
21007
21008 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21009 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21010 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 else
21013 ac_check_lib_save_LIBS=$LIBS
21014 LIBS="-lgdk $LIBS"
21015 cat >conftest.$ac_ext <<_ACEOF
21016 #line $LINENO "configure"
21017 /* confdefs.h. */
21018 _ACEOF
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022
21023 /* Override any gcc2 internal prototype to avoid an error. */
21024 #ifdef __cplusplus
21025 extern "C"
21026 #endif
21027 /* We use char because int might match the return type of a gcc2
21028 builtin and then its argument prototype would still apply. */
21029 char gdk_im_open ();
21030 int
21031 main ()
21032 {
21033 gdk_im_open ();
21034 ;
21035 return 0;
21036 }
21037 _ACEOF
21038 rm -f conftest.$ac_objext conftest$ac_exeext
21039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21040 (eval $ac_link) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } &&
21044 { ac_try='test -s conftest$ac_exeext'
21045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046 (eval $ac_try) 2>&5
21047 ac_status=$?
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); }; }; then
21050 ac_cv_lib_gdk_gdk_im_open=yes
21051 else
21052 echo "$as_me: failed program was:" >&5
21053 sed 's/^/| /' conftest.$ac_ext >&5
21054
21055 ac_cv_lib_gdk_gdk_im_open=no
21056 fi
21057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21058 LIBS=$ac_check_lib_save_LIBS
21059 fi
21060 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21061 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21062 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21063 cat >>confdefs.h <<\_ACEOF
21064 #define HAVE_XIM 1
21065 _ACEOF
21066
21067 fi
21068
21069 fi
21070
21071 if test "$wxUSE_MGL" = 1; then
21072 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21073 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21074 if test "x$MGL_ROOT" = x ; then
21075 echo "$as_me:$LINENO: result: not found" >&5
21076 echo "${ECHO_T}not found" >&6
21077 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21078 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21079 { (exit 1); exit 1; }; }
21080 else
21081 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21082 echo "${ECHO_T}$MGL_ROOT" >&6
21083 fi
21084
21085 echo "$as_me:$LINENO: checking for libmgl location" >&5
21086 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21087 case "${host}" in
21088 *-*-linux* )
21089 if test "x$wxUSE_SHARED" = xyes ; then
21090 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21091 else
21092 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21093 fi
21094 ;;
21095 *-pc-msdosdjgpp )
21096 mgl_os_candidates="dos32/dj2"
21097 ;;
21098 *)
21099 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21100 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21101 { (exit 1); exit 1; }; }
21102 esac
21103
21104 mgl_lib_type=""
21105 mgl_os=""
21106
21107 for mgl_os_i in $mgl_os_candidates ; do
21108 if test "x$mgl_os" = x ; then
21109 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21110 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21111 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21112 mgl_lib_type=debug
21113 mgl_os=$mgl_os_i
21114 fi
21115 fi
21116 if test "x$mgl_lib_type" = x ; then
21117 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21118 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21119 mgl_lib_type=release
21120 mgl_os=$mgl_os_i
21121 fi
21122 fi
21123 fi
21124 done
21125
21126 if test "x$mgl_os" = x ; then
21127 echo "$as_me:$LINENO: result: not found" >&5
21128 echo "${ECHO_T}not found" >&6
21129 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21130 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21131 { (exit 1); exit 1; }; }
21132 fi
21133 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21134 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21135
21136 wxUSE_UNIVERSAL="yes"
21137
21138 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21139 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21140
21141 AFMINSTALL=afminstall
21142 TOOLKIT=MGL
21143 GUIDIST=MGL_DIST
21144 fi
21145
21146 if test "$wxUSE_MICROWIN" = 1; then
21147 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21148 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21149 if test "x$MICROWINDOWS" = x ; then
21150 echo "$as_me:$LINENO: result: not found" >&5
21151 echo "${ECHO_T}not found" >&6
21152 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21153 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21154 { (exit 1); exit 1; }; }
21155 else
21156 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21157 echo "${ECHO_T}$MICROWINDOWS" >&6
21158 fi
21159
21160 if test -f $MICROWINDOWS/lib/libmwin.a; then
21161 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21162 echo "${ECHO_T}MicroWindows' libraries found." >&6
21163 else
21164 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21165 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21166 { (exit 1); exit 1; }; }
21167 fi
21168
21169 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21170 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21171
21172 wxUSE_UNIVERSAL="yes"
21173
21174 AFMINSTALL=afminstall
21175 TOOLKIT=MICROWIN
21176 GUIDIST=MICROWIN_DIST
21177
21178 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21179 fi
21180
21181 if test "$wxUSE_X11" = 1; then
21182 echo "$as_me:$LINENO: checking for X" >&5
21183 echo $ECHO_N "checking for X... $ECHO_C" >&6
21184
21185
21186 # Check whether --with-x or --without-x was given.
21187 if test "${with_x+set}" = set; then
21188 withval="$with_x"
21189
21190 fi;
21191 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21192 if test "x$with_x" = xno; then
21193 # The user explicitly disabled X.
21194 have_x=disabled
21195 else
21196 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21197 # Both variables are already set.
21198 have_x=yes
21199 else
21200 if test "${ac_cv_have_x+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 else
21203 # One or both of the vars are not set, and there is no cached value.
21204 ac_x_includes=no ac_x_libraries=no
21205 rm -fr conftest.dir
21206 if mkdir conftest.dir; then
21207 cd conftest.dir
21208 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21209 cat >Imakefile <<'_ACEOF'
21210 acfindx:
21211 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21212 _ACEOF
21213 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21214 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21215 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21216 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21217 for ac_extension in a so sl; do
21218 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21219 test -f $ac_im_libdir/libX11.$ac_extension; then
21220 ac_im_usrlibdir=$ac_im_libdir; break
21221 fi
21222 done
21223 # Screen out bogus values from the imake configuration. They are
21224 # bogus both because they are the default anyway, and because
21225 # using them would break gcc on systems where it needs fixed includes.
21226 case $ac_im_incroot in
21227 /usr/include) ;;
21228 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21229 esac
21230 case $ac_im_usrlibdir in
21231 /usr/lib | /lib) ;;
21232 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21233 esac
21234 fi
21235 cd ..
21236 rm -fr conftest.dir
21237 fi
21238
21239 # Standard set of common directories for X headers.
21240 # Check X11 before X11Rn because it is often a symlink to the current release.
21241 ac_x_header_dirs='
21242 /usr/X11/include
21243 /usr/X11R6/include
21244 /usr/X11R5/include
21245 /usr/X11R4/include
21246
21247 /usr/include/X11
21248 /usr/include/X11R6
21249 /usr/include/X11R5
21250 /usr/include/X11R4
21251
21252 /usr/local/X11/include
21253 /usr/local/X11R6/include
21254 /usr/local/X11R5/include
21255 /usr/local/X11R4/include
21256
21257 /usr/local/include/X11
21258 /usr/local/include/X11R6
21259 /usr/local/include/X11R5
21260 /usr/local/include/X11R4
21261
21262 /usr/X386/include
21263 /usr/x386/include
21264 /usr/XFree86/include/X11
21265
21266 /usr/include
21267 /usr/local/include
21268 /usr/unsupported/include
21269 /usr/athena/include
21270 /usr/local/x11r5/include
21271 /usr/lpp/Xamples/include
21272
21273 /usr/openwin/include
21274 /usr/openwin/share/include'
21275
21276 if test "$ac_x_includes" = no; then
21277 # Guess where to find include files, by looking for Intrinsic.h.
21278 # First, try using that file with no special directory specified.
21279 cat >conftest.$ac_ext <<_ACEOF
21280 #line $LINENO "configure"
21281 /* confdefs.h. */
21282 _ACEOF
21283 cat confdefs.h >>conftest.$ac_ext
21284 cat >>conftest.$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286 #include <X11/Intrinsic.h>
21287 _ACEOF
21288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } >/dev/null; then
21296 if test -s conftest.err; then
21297 ac_cpp_err=$ac_c_preproc_warn_flag
21298 else
21299 ac_cpp_err=
21300 fi
21301 else
21302 ac_cpp_err=yes
21303 fi
21304 if test -z "$ac_cpp_err"; then
21305 # We can compile using X headers with no special include directory.
21306 ac_x_includes=
21307 else
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21310
21311 for ac_dir in $ac_x_header_dirs; do
21312 if test -r "$ac_dir/X11/Intrinsic.h"; then
21313 ac_x_includes=$ac_dir
21314 break
21315 fi
21316 done
21317 fi
21318 rm -f conftest.err conftest.$ac_ext
21319 fi # $ac_x_includes = no
21320
21321 if test "$ac_x_libraries" = no; then
21322 # Check for the libraries.
21323 # See if we find them without any special options.
21324 # Don't add to $LIBS permanently.
21325 ac_save_LIBS=$LIBS
21326 LIBS="-lXt $LIBS"
21327 cat >conftest.$ac_ext <<_ACEOF
21328 #line $LINENO "configure"
21329 /* confdefs.h. */
21330 _ACEOF
21331 cat confdefs.h >>conftest.$ac_ext
21332 cat >>conftest.$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 #include <X11/Intrinsic.h>
21335 int
21336 main ()
21337 {
21338 XtMalloc (0)
21339 ;
21340 return 0;
21341 }
21342 _ACEOF
21343 rm -f conftest.$ac_objext conftest$ac_exeext
21344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21345 (eval $ac_link) 2>&5
21346 ac_status=$?
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try='test -s conftest$ac_exeext'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 LIBS=$ac_save_LIBS
21356 # We can link X programs with no special library path.
21357 ac_x_libraries=
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21361
21362 LIBS=$ac_save_LIBS
21363 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21364 do
21365 # Don't even attempt the hair of trying to link an X program!
21366 for ac_extension in a so sl; do
21367 if test -r $ac_dir/libXt.$ac_extension; then
21368 ac_x_libraries=$ac_dir
21369 break 2
21370 fi
21371 done
21372 done
21373 fi
21374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21375 fi # $ac_x_libraries = no
21376
21377 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21378 # Didn't find X anywhere. Cache the known absence of X.
21379 ac_cv_have_x="have_x=no"
21380 else
21381 # Record where we found X for the cache.
21382 ac_cv_have_x="have_x=yes \
21383 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21384 fi
21385 fi
21386
21387 fi
21388 eval "$ac_cv_have_x"
21389 fi # $with_x != no
21390
21391 if test "$have_x" != yes; then
21392 echo "$as_me:$LINENO: result: $have_x" >&5
21393 echo "${ECHO_T}$have_x" >&6
21394 no_x=yes
21395 else
21396 # If each of the values was on the command line, it overrides each guess.
21397 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21398 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21399 # Update the cache value to reflect the command line values.
21400 ac_cv_have_x="have_x=yes \
21401 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21402 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21403 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21404 fi
21405
21406 if test "$no_x" = yes; then
21407 # Not all programs may use this symbol, but it does not hurt to define it.
21408
21409 cat >>confdefs.h <<\_ACEOF
21410 #define X_DISPLAY_MISSING 1
21411 _ACEOF
21412
21413 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21414 else
21415 if test -n "$x_includes"; then
21416 X_CFLAGS="$X_CFLAGS -I$x_includes"
21417 fi
21418
21419 # It would also be nice to do this for all -L options, not just this one.
21420 if test -n "$x_libraries"; then
21421 X_LIBS="$X_LIBS -L$x_libraries"
21422 # For Solaris; some versions of Sun CC require a space after -R and
21423 # others require no space. Words are not sufficient . . . .
21424 case `(uname -sr) 2>/dev/null` in
21425 "SunOS 5"*)
21426 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21427 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21428 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21429 cat >conftest.$ac_ext <<_ACEOF
21430 #line $LINENO "configure"
21431 /* confdefs.h. */
21432 _ACEOF
21433 cat confdefs.h >>conftest.$ac_ext
21434 cat >>conftest.$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436
21437 int
21438 main ()
21439 {
21440
21441 ;
21442 return 0;
21443 }
21444 _ACEOF
21445 rm -f conftest.$ac_objext conftest$ac_exeext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447 (eval $ac_link) 2>&5
21448 ac_status=$?
21449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450 (exit $ac_status); } &&
21451 { ac_try='test -s conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_R_nospace=yes
21458 else
21459 echo "$as_me: failed program was:" >&5
21460 sed 's/^/| /' conftest.$ac_ext >&5
21461
21462 ac_R_nospace=no
21463 fi
21464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21465 if test $ac_R_nospace = yes; then
21466 echo "$as_me:$LINENO: result: no" >&5
21467 echo "${ECHO_T}no" >&6
21468 X_LIBS="$X_LIBS -R$x_libraries"
21469 else
21470 LIBS="$ac_xsave_LIBS -R $x_libraries"
21471 cat >conftest.$ac_ext <<_ACEOF
21472 #line $LINENO "configure"
21473 /* confdefs.h. */
21474 _ACEOF
21475 cat confdefs.h >>conftest.$ac_ext
21476 cat >>conftest.$ac_ext <<_ACEOF
21477 /* end confdefs.h. */
21478
21479 int
21480 main ()
21481 {
21482
21483 ;
21484 return 0;
21485 }
21486 _ACEOF
21487 rm -f conftest.$ac_objext conftest$ac_exeext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21489 (eval $ac_link) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 ac_R_space=yes
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 ac_R_space=no
21505 fi
21506 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21507 if test $ac_R_space = yes; then
21508 echo "$as_me:$LINENO: result: yes" >&5
21509 echo "${ECHO_T}yes" >&6
21510 X_LIBS="$X_LIBS -R $x_libraries"
21511 else
21512 echo "$as_me:$LINENO: result: neither works" >&5
21513 echo "${ECHO_T}neither works" >&6
21514 fi
21515 fi
21516 LIBS=$ac_xsave_LIBS
21517 esac
21518 fi
21519
21520 # Check for system-dependent libraries X programs must link with.
21521 # Do this before checking for the system-independent R6 libraries
21522 # (-lICE), since we may need -lsocket or whatever for X linking.
21523
21524 if test "$ISC" = yes; then
21525 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21526 else
21527 # Martyn Johnson says this is needed for Ultrix, if the X
21528 # libraries were built with DECnet support. And Karl Berry says
21529 # the Alpha needs dnet_stub (dnet does not exist).
21530 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21531 cat >conftest.$ac_ext <<_ACEOF
21532 #line $LINENO "configure"
21533 /* confdefs.h. */
21534 _ACEOF
21535 cat confdefs.h >>conftest.$ac_ext
21536 cat >>conftest.$ac_ext <<_ACEOF
21537 /* end confdefs.h. */
21538
21539 /* Override any gcc2 internal prototype to avoid an error. */
21540 #ifdef __cplusplus
21541 extern "C"
21542 #endif
21543 /* We use char because int might match the return type of a gcc2
21544 builtin and then its argument prototype would still apply. */
21545 char XOpenDisplay ();
21546 int
21547 main ()
21548 {
21549 XOpenDisplay ();
21550 ;
21551 return 0;
21552 }
21553 _ACEOF
21554 rm -f conftest.$ac_objext conftest$ac_exeext
21555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21556 (eval $ac_link) 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try='test -s conftest$ac_exeext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 :
21567 else
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21570
21571 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21572 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21573 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21574 echo $ECHO_N "(cached) $ECHO_C" >&6
21575 else
21576 ac_check_lib_save_LIBS=$LIBS
21577 LIBS="-ldnet $LIBS"
21578 cat >conftest.$ac_ext <<_ACEOF
21579 #line $LINENO "configure"
21580 /* confdefs.h. */
21581 _ACEOF
21582 cat confdefs.h >>conftest.$ac_ext
21583 cat >>conftest.$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585
21586 /* Override any gcc2 internal prototype to avoid an error. */
21587 #ifdef __cplusplus
21588 extern "C"
21589 #endif
21590 /* We use char because int might match the return type of a gcc2
21591 builtin and then its argument prototype would still apply. */
21592 char dnet_ntoa ();
21593 int
21594 main ()
21595 {
21596 dnet_ntoa ();
21597 ;
21598 return 0;
21599 }
21600 _ACEOF
21601 rm -f conftest.$ac_objext conftest$ac_exeext
21602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21603 (eval $ac_link) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } &&
21607 { ac_try='test -s conftest$ac_exeext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_cv_lib_dnet_dnet_ntoa=yes
21614 else
21615 echo "$as_me: failed program was:" >&5
21616 sed 's/^/| /' conftest.$ac_ext >&5
21617
21618 ac_cv_lib_dnet_dnet_ntoa=no
21619 fi
21620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21621 LIBS=$ac_check_lib_save_LIBS
21622 fi
21623 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21624 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21625 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21626 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21627 fi
21628
21629 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21630 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21631 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21632 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 else
21635 ac_check_lib_save_LIBS=$LIBS
21636 LIBS="-ldnet_stub $LIBS"
21637 cat >conftest.$ac_ext <<_ACEOF
21638 #line $LINENO "configure"
21639 /* confdefs.h. */
21640 _ACEOF
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21644
21645 /* Override any gcc2 internal prototype to avoid an error. */
21646 #ifdef __cplusplus
21647 extern "C"
21648 #endif
21649 /* We use char because int might match the return type of a gcc2
21650 builtin and then its argument prototype would still apply. */
21651 char dnet_ntoa ();
21652 int
21653 main ()
21654 {
21655 dnet_ntoa ();
21656 ;
21657 return 0;
21658 }
21659 _ACEOF
21660 rm -f conftest.$ac_objext conftest$ac_exeext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662 (eval $ac_link) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); } &&
21666 { ac_try='test -s conftest$ac_exeext'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21669 ac_status=$?
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; }; then
21672 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21673 else
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.$ac_ext >&5
21676
21677 ac_cv_lib_dnet_stub_dnet_ntoa=no
21678 fi
21679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21680 LIBS=$ac_check_lib_save_LIBS
21681 fi
21682 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21683 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21684 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21685 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21686 fi
21687
21688 fi
21689 fi
21690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21691 LIBS="$ac_xsave_LIBS"
21692
21693 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21694 # to get the SysV transport functions.
21695 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21696 # needs -lnsl.
21697 # The nsl library prevents programs from opening the X display
21698 # on Irix 5.2, according to T.E. Dickey.
21699 # The functions gethostbyname, getservbyname, and inet_addr are
21700 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21701 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21702 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21703 if test "${ac_cv_func_gethostbyname+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21705 else
21706 cat >conftest.$ac_ext <<_ACEOF
21707 #line $LINENO "configure"
21708 /* confdefs.h. */
21709 _ACEOF
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 /* System header to define __stub macros and hopefully few prototypes,
21714 which can conflict with char gethostbyname (); below.
21715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21716 <limits.h> exists even on freestanding compilers. */
21717 #ifdef __STDC__
21718 # include <limits.h>
21719 #else
21720 # include <assert.h>
21721 #endif
21722 /* Override any gcc2 internal prototype to avoid an error. */
21723 #ifdef __cplusplus
21724 extern "C"
21725 {
21726 #endif
21727 /* We use char because int might match the return type of a gcc2
21728 builtin and then its argument prototype would still apply. */
21729 char gethostbyname ();
21730 /* The GNU C library defines this for functions which it implements
21731 to always fail with ENOSYS. Some functions are actually named
21732 something starting with __ and the normal name is an alias. */
21733 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21734 choke me
21735 #else
21736 char (*f) () = gethostbyname;
21737 #endif
21738 #ifdef __cplusplus
21739 }
21740 #endif
21741
21742 int
21743 main ()
21744 {
21745 return f != gethostbyname;
21746 ;
21747 return 0;
21748 }
21749 _ACEOF
21750 rm -f conftest.$ac_objext conftest$ac_exeext
21751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21752 (eval $ac_link) 2>&5
21753 ac_status=$?
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } &&
21756 { ac_try='test -s conftest$ac_exeext'
21757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758 (eval $ac_try) 2>&5
21759 ac_status=$?
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); }; }; then
21762 ac_cv_func_gethostbyname=yes
21763 else
21764 echo "$as_me: failed program was:" >&5
21765 sed 's/^/| /' conftest.$ac_ext >&5
21766
21767 ac_cv_func_gethostbyname=no
21768 fi
21769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21770 fi
21771 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21772 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21773
21774 if test $ac_cv_func_gethostbyname = no; then
21775 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21776 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21777 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21778 echo $ECHO_N "(cached) $ECHO_C" >&6
21779 else
21780 ac_check_lib_save_LIBS=$LIBS
21781 LIBS="-lnsl $LIBS"
21782 cat >conftest.$ac_ext <<_ACEOF
21783 #line $LINENO "configure"
21784 /* confdefs.h. */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789
21790 /* Override any gcc2 internal prototype to avoid an error. */
21791 #ifdef __cplusplus
21792 extern "C"
21793 #endif
21794 /* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21796 char gethostbyname ();
21797 int
21798 main ()
21799 {
21800 gethostbyname ();
21801 ;
21802 return 0;
21803 }
21804 _ACEOF
21805 rm -f conftest.$ac_objext conftest$ac_exeext
21806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try='test -s conftest$ac_exeext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21814 ac_status=$?
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 ac_cv_lib_nsl_gethostbyname=yes
21818 else
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 ac_cv_lib_nsl_gethostbyname=no
21823 fi
21824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21825 LIBS=$ac_check_lib_save_LIBS
21826 fi
21827 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21828 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21829 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21830 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21831 fi
21832
21833 if test $ac_cv_lib_nsl_gethostbyname = no; then
21834 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21835 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21836 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21837 echo $ECHO_N "(cached) $ECHO_C" >&6
21838 else
21839 ac_check_lib_save_LIBS=$LIBS
21840 LIBS="-lbsd $LIBS"
21841 cat >conftest.$ac_ext <<_ACEOF
21842 #line $LINENO "configure"
21843 /* confdefs.h. */
21844 _ACEOF
21845 cat confdefs.h >>conftest.$ac_ext
21846 cat >>conftest.$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21848
21849 /* Override any gcc2 internal prototype to avoid an error. */
21850 #ifdef __cplusplus
21851 extern "C"
21852 #endif
21853 /* We use char because int might match the return type of a gcc2
21854 builtin and then its argument prototype would still apply. */
21855 char gethostbyname ();
21856 int
21857 main ()
21858 {
21859 gethostbyname ();
21860 ;
21861 return 0;
21862 }
21863 _ACEOF
21864 rm -f conftest.$ac_objext conftest$ac_exeext
21865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21866 (eval $ac_link) 2>&5
21867 ac_status=$?
21868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21869 (exit $ac_status); } &&
21870 { ac_try='test -s conftest$ac_exeext'
21871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21872 (eval $ac_try) 2>&5
21873 ac_status=$?
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_lib_bsd_gethostbyname=yes
21877 else
21878 echo "$as_me: failed program was:" >&5
21879 sed 's/^/| /' conftest.$ac_ext >&5
21880
21881 ac_cv_lib_bsd_gethostbyname=no
21882 fi
21883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21884 LIBS=$ac_check_lib_save_LIBS
21885 fi
21886 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21887 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21888 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21889 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21890 fi
21891
21892 fi
21893 fi
21894
21895 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21896 # socket/setsockopt and other routines are undefined under SCO ODT
21897 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21898 # on later versions), says Simon Leinen: it contains gethostby*
21899 # variants that don't use the name server (or something). -lsocket
21900 # must be given before -lnsl if both are needed. We assume that
21901 # if connect needs -lnsl, so does gethostbyname.
21902 echo "$as_me:$LINENO: checking for connect" >&5
21903 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21904 if test "${ac_cv_func_connect+set}" = set; then
21905 echo $ECHO_N "(cached) $ECHO_C" >&6
21906 else
21907 cat >conftest.$ac_ext <<_ACEOF
21908 #line $LINENO "configure"
21909 /* confdefs.h. */
21910 _ACEOF
21911 cat confdefs.h >>conftest.$ac_ext
21912 cat >>conftest.$ac_ext <<_ACEOF
21913 /* end confdefs.h. */
21914 /* System header to define __stub macros and hopefully few prototypes,
21915 which can conflict with char connect (); below.
21916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21917 <limits.h> exists even on freestanding compilers. */
21918 #ifdef __STDC__
21919 # include <limits.h>
21920 #else
21921 # include <assert.h>
21922 #endif
21923 /* Override any gcc2 internal prototype to avoid an error. */
21924 #ifdef __cplusplus
21925 extern "C"
21926 {
21927 #endif
21928 /* We use char because int might match the return type of a gcc2
21929 builtin and then its argument prototype would still apply. */
21930 char connect ();
21931 /* The GNU C library defines this for functions which it implements
21932 to always fail with ENOSYS. Some functions are actually named
21933 something starting with __ and the normal name is an alias. */
21934 #if defined (__stub_connect) || defined (__stub___connect)
21935 choke me
21936 #else
21937 char (*f) () = connect;
21938 #endif
21939 #ifdef __cplusplus
21940 }
21941 #endif
21942
21943 int
21944 main ()
21945 {
21946 return f != connect;
21947 ;
21948 return 0;
21949 }
21950 _ACEOF
21951 rm -f conftest.$ac_objext conftest$ac_exeext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953 (eval $ac_link) 2>&5
21954 ac_status=$?
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); } &&
21957 { ac_try='test -s conftest$ac_exeext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21960 ac_status=$?
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_cv_func_connect=yes
21964 else
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21967
21968 ac_cv_func_connect=no
21969 fi
21970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21971 fi
21972 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21973 echo "${ECHO_T}$ac_cv_func_connect" >&6
21974
21975 if test $ac_cv_func_connect = no; then
21976 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21977 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21978 if test "${ac_cv_lib_socket_connect+set}" = set; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 else
21981 ac_check_lib_save_LIBS=$LIBS
21982 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21983 cat >conftest.$ac_ext <<_ACEOF
21984 #line $LINENO "configure"
21985 /* confdefs.h. */
21986 _ACEOF
21987 cat confdefs.h >>conftest.$ac_ext
21988 cat >>conftest.$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21990
21991 /* Override any gcc2 internal prototype to avoid an error. */
21992 #ifdef __cplusplus
21993 extern "C"
21994 #endif
21995 /* We use char because int might match the return type of a gcc2
21996 builtin and then its argument prototype would still apply. */
21997 char connect ();
21998 int
21999 main ()
22000 {
22001 connect ();
22002 ;
22003 return 0;
22004 }
22005 _ACEOF
22006 rm -f conftest.$ac_objext conftest$ac_exeext
22007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22008 (eval $ac_link) 2>&5
22009 ac_status=$?
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); } &&
22012 { ac_try='test -s conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22015 ac_status=$?
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 ac_cv_lib_socket_connect=yes
22019 else
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.$ac_ext >&5
22022
22023 ac_cv_lib_socket_connect=no
22024 fi
22025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22026 LIBS=$ac_check_lib_save_LIBS
22027 fi
22028 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22029 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22030 if test $ac_cv_lib_socket_connect = yes; then
22031 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22032 fi
22033
22034 fi
22035
22036 # Guillermo Gomez says -lposix is necessary on A/UX.
22037 echo "$as_me:$LINENO: checking for remove" >&5
22038 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22039 if test "${ac_cv_func_remove+set}" = set; then
22040 echo $ECHO_N "(cached) $ECHO_C" >&6
22041 else
22042 cat >conftest.$ac_ext <<_ACEOF
22043 #line $LINENO "configure"
22044 /* confdefs.h. */
22045 _ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 /* System header to define __stub macros and hopefully few prototypes,
22050 which can conflict with char remove (); below.
22051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22052 <limits.h> exists even on freestanding compilers. */
22053 #ifdef __STDC__
22054 # include <limits.h>
22055 #else
22056 # include <assert.h>
22057 #endif
22058 /* Override any gcc2 internal prototype to avoid an error. */
22059 #ifdef __cplusplus
22060 extern "C"
22061 {
22062 #endif
22063 /* We use char because int might match the return type of a gcc2
22064 builtin and then its argument prototype would still apply. */
22065 char remove ();
22066 /* The GNU C library defines this for functions which it implements
22067 to always fail with ENOSYS. Some functions are actually named
22068 something starting with __ and the normal name is an alias. */
22069 #if defined (__stub_remove) || defined (__stub___remove)
22070 choke me
22071 #else
22072 char (*f) () = remove;
22073 #endif
22074 #ifdef __cplusplus
22075 }
22076 #endif
22077
22078 int
22079 main ()
22080 {
22081 return f != remove;
22082 ;
22083 return 0;
22084 }
22085 _ACEOF
22086 rm -f conftest.$ac_objext conftest$ac_exeext
22087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22088 (eval $ac_link) 2>&5
22089 ac_status=$?
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); } &&
22092 { ac_try='test -s conftest$ac_exeext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22095 ac_status=$?
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22098 ac_cv_func_remove=yes
22099 else
22100 echo "$as_me: failed program was:" >&5
22101 sed 's/^/| /' conftest.$ac_ext >&5
22102
22103 ac_cv_func_remove=no
22104 fi
22105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22106 fi
22107 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22108 echo "${ECHO_T}$ac_cv_func_remove" >&6
22109
22110 if test $ac_cv_func_remove = no; then
22111 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22112 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22113 if test "${ac_cv_lib_posix_remove+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22115 else
22116 ac_check_lib_save_LIBS=$LIBS
22117 LIBS="-lposix $LIBS"
22118 cat >conftest.$ac_ext <<_ACEOF
22119 #line $LINENO "configure"
22120 /* confdefs.h. */
22121 _ACEOF
22122 cat confdefs.h >>conftest.$ac_ext
22123 cat >>conftest.$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22125
22126 /* Override any gcc2 internal prototype to avoid an error. */
22127 #ifdef __cplusplus
22128 extern "C"
22129 #endif
22130 /* We use char because int might match the return type of a gcc2
22131 builtin and then its argument prototype would still apply. */
22132 char remove ();
22133 int
22134 main ()
22135 {
22136 remove ();
22137 ;
22138 return 0;
22139 }
22140 _ACEOF
22141 rm -f conftest.$ac_objext conftest$ac_exeext
22142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22143 (eval $ac_link) 2>&5
22144 ac_status=$?
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } &&
22147 { ac_try='test -s conftest$ac_exeext'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22150 ac_status=$?
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; }; then
22153 ac_cv_lib_posix_remove=yes
22154 else
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.$ac_ext >&5
22157
22158 ac_cv_lib_posix_remove=no
22159 fi
22160 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22161 LIBS=$ac_check_lib_save_LIBS
22162 fi
22163 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22164 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22165 if test $ac_cv_lib_posix_remove = yes; then
22166 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22167 fi
22168
22169 fi
22170
22171 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22172 echo "$as_me:$LINENO: checking for shmat" >&5
22173 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22174 if test "${ac_cv_func_shmat+set}" = set; then
22175 echo $ECHO_N "(cached) $ECHO_C" >&6
22176 else
22177 cat >conftest.$ac_ext <<_ACEOF
22178 #line $LINENO "configure"
22179 /* confdefs.h. */
22180 _ACEOF
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 /* System header to define __stub macros and hopefully few prototypes,
22185 which can conflict with char shmat (); below.
22186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22187 <limits.h> exists even on freestanding compilers. */
22188 #ifdef __STDC__
22189 # include <limits.h>
22190 #else
22191 # include <assert.h>
22192 #endif
22193 /* Override any gcc2 internal prototype to avoid an error. */
22194 #ifdef __cplusplus
22195 extern "C"
22196 {
22197 #endif
22198 /* We use char because int might match the return type of a gcc2
22199 builtin and then its argument prototype would still apply. */
22200 char shmat ();
22201 /* The GNU C library defines this for functions which it implements
22202 to always fail with ENOSYS. Some functions are actually named
22203 something starting with __ and the normal name is an alias. */
22204 #if defined (__stub_shmat) || defined (__stub___shmat)
22205 choke me
22206 #else
22207 char (*f) () = shmat;
22208 #endif
22209 #ifdef __cplusplus
22210 }
22211 #endif
22212
22213 int
22214 main ()
22215 {
22216 return f != shmat;
22217 ;
22218 return 0;
22219 }
22220 _ACEOF
22221 rm -f conftest.$ac_objext conftest$ac_exeext
22222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22223 (eval $ac_link) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try='test -s conftest$ac_exeext'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22230 ac_status=$?
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 ac_cv_func_shmat=yes
22234 else
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22237
22238 ac_cv_func_shmat=no
22239 fi
22240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22241 fi
22242 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22243 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22244
22245 if test $ac_cv_func_shmat = no; then
22246 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22247 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22248 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22249 echo $ECHO_N "(cached) $ECHO_C" >&6
22250 else
22251 ac_check_lib_save_LIBS=$LIBS
22252 LIBS="-lipc $LIBS"
22253 cat >conftest.$ac_ext <<_ACEOF
22254 #line $LINENO "configure"
22255 /* confdefs.h. */
22256 _ACEOF
22257 cat confdefs.h >>conftest.$ac_ext
22258 cat >>conftest.$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260
22261 /* Override any gcc2 internal prototype to avoid an error. */
22262 #ifdef __cplusplus
22263 extern "C"
22264 #endif
22265 /* We use char because int might match the return type of a gcc2
22266 builtin and then its argument prototype would still apply. */
22267 char shmat ();
22268 int
22269 main ()
22270 {
22271 shmat ();
22272 ;
22273 return 0;
22274 }
22275 _ACEOF
22276 rm -f conftest.$ac_objext conftest$ac_exeext
22277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22278 (eval $ac_link) 2>&5
22279 ac_status=$?
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } &&
22282 { ac_try='test -s conftest$ac_exeext'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_lib_ipc_shmat=yes
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 ac_cv_lib_ipc_shmat=no
22294 fi
22295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22296 LIBS=$ac_check_lib_save_LIBS
22297 fi
22298 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22299 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22300 if test $ac_cv_lib_ipc_shmat = yes; then
22301 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22302 fi
22303
22304 fi
22305 fi
22306
22307 # Check for libraries that X11R6 Xt/Xaw programs need.
22308 ac_save_LDFLAGS=$LDFLAGS
22309 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22310 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22311 # check for ICE first), but we must link in the order -lSM -lICE or
22312 # we get undefined symbols. So assume we have SM if we have ICE.
22313 # These have to be linked with before -lX11, unlike the other
22314 # libraries we check for below, so use a different variable.
22315 # John Interrante, Karl Berry
22316 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22317 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22318 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 else
22321 ac_check_lib_save_LIBS=$LIBS
22322 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22323 cat >conftest.$ac_ext <<_ACEOF
22324 #line $LINENO "configure"
22325 /* confdefs.h. */
22326 _ACEOF
22327 cat confdefs.h >>conftest.$ac_ext
22328 cat >>conftest.$ac_ext <<_ACEOF
22329 /* end confdefs.h. */
22330
22331 /* Override any gcc2 internal prototype to avoid an error. */
22332 #ifdef __cplusplus
22333 extern "C"
22334 #endif
22335 /* We use char because int might match the return type of a gcc2
22336 builtin and then its argument prototype would still apply. */
22337 char IceConnectionNumber ();
22338 int
22339 main ()
22340 {
22341 IceConnectionNumber ();
22342 ;
22343 return 0;
22344 }
22345 _ACEOF
22346 rm -f conftest.$ac_objext conftest$ac_exeext
22347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22348 (eval $ac_link) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -s conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_lib_ICE_IceConnectionNumber=yes
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 ac_cv_lib_ICE_IceConnectionNumber=no
22364 fi
22365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22366 LIBS=$ac_check_lib_save_LIBS
22367 fi
22368 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22369 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22370 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22371 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22372 fi
22373
22374 LDFLAGS=$ac_save_LDFLAGS
22375
22376 fi
22377
22378
22379 if test "$no_x" = "yes"; then
22380 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22381 echo "$as_me: error: X11 not found" >&2;}
22382 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22383 fi
22384
22385 GUI_TK_LIBRARY="$X_LIBS"
22386 TOOLKIT_INCLUDE="$X_CFLAGS"
22387 AFMINSTALL=afminstall
22388 COMPILED_X_PROGRAM=0
22389
22390 if test "$wxUSE_NANOX" = "yes"; then
22391 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22392 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22393 if test "x$MICROWIN" = x ; then
22394 echo "$as_me:$LINENO: result: not found" >&5
22395 echo "${ECHO_T}not found" >&6
22396 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22397 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22398 { (exit 1); exit 1; }; }
22399 else
22400 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22401 echo "${ECHO_T}$MICROWIN" >&6
22402 cat >>confdefs.h <<\_ACEOF
22403 #define wxUSE_NANOX 1
22404 _ACEOF
22405
22406 fi
22407 fi
22408
22409 xpm_link=
22410 echo "$as_me:$LINENO: checking for Xpm library" >&5
22411 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22412
22413 ac_find_libraries=
22414 for ac_dir in $SEARCH_LIB /usr/lib;
22415 do
22416 for ac_extension in a so sl dylib; do
22417 if test -f "$ac_dir/libXpm.$ac_extension"; then
22418 ac_find_libraries=$ac_dir
22419 break 2
22420 fi
22421 done
22422 done
22423
22424 if test "$ac_find_libraries" != "" ; then
22425
22426 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22427 result=$?
22428 if test $result = 0; then
22429 ac_path_to_link=""
22430 else
22431 ac_path_to_link=" -L$ac_find_libraries"
22432 fi
22433
22434 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22435 xpm_link=" -lXpm"
22436 cat >>confdefs.h <<\_ACEOF
22437 #define wxHAVE_LIB_XPM 1
22438 _ACEOF
22439
22440 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22441 echo "${ECHO_T}found at $ac_find_libraries" >&6
22442 else
22443 cat >conftest.$ac_ext <<_ACEOF
22444 #line $LINENO "configure"
22445 /* confdefs.h. */
22446 _ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450
22451 #include <X11/xpm.h>
22452
22453 int
22454 main ()
22455 {
22456
22457 int version;
22458 version = XpmLibraryVersion();
22459
22460 ;
22461 return 0;
22462 }
22463 _ACEOF
22464 rm -f conftest.$ac_objext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22466 (eval $ac_compile) 2>&5
22467 ac_status=$?
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try='test -s conftest.$ac_objext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22476
22477 xpm_link=" -lXpm"
22478 cat >>confdefs.h <<\_ACEOF
22479 #define wxHAVE_LIB_XPM 1
22480 _ACEOF
22481
22482 echo "$as_me:$LINENO: result: found in default search path" >&5
22483 echo "${ECHO_T}found in default search path" >&6
22484 COMPILED_X_PROGRAM=0
22485
22486 else
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.$ac_ext >&5
22489
22490
22491 echo "$as_me:$LINENO: result: no" >&5
22492 echo "${ECHO_T}no" >&6
22493 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22494 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22495
22496
22497 fi
22498 rm -f conftest.$ac_objext conftest.$ac_ext
22499 fi
22500
22501 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22502 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22503 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22504 echo $ECHO_N "(cached) $ECHO_C" >&6
22505 else
22506 ac_check_lib_save_LIBS=$LIBS
22507 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22508 cat >conftest.$ac_ext <<_ACEOF
22509 #line $LINENO "configure"
22510 /* confdefs.h. */
22511 _ACEOF
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515
22516 /* Override any gcc2 internal prototype to avoid an error. */
22517 #ifdef __cplusplus
22518 extern "C"
22519 #endif
22520 /* We use char because int might match the return type of a gcc2
22521 builtin and then its argument prototype would still apply. */
22522 char XShapeQueryExtension ();
22523 int
22524 main ()
22525 {
22526 XShapeQueryExtension ();
22527 ;
22528 return 0;
22529 }
22530 _ACEOF
22531 rm -f conftest.$ac_objext conftest$ac_exeext
22532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22533 (eval $ac_link) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } &&
22537 { ac_try='test -s conftest$ac_exeext'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22540 ac_status=$?
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 ac_cv_lib_Xext_XShapeQueryExtension=yes
22544 else
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.$ac_ext >&5
22547
22548 ac_cv_lib_Xext_XShapeQueryExtension=no
22549 fi
22550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22551 LIBS=$ac_check_lib_save_LIBS
22552 fi
22553 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22554 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22555 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22556
22557 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22558 wxHAVE_XEXT_LIB=1
22559
22560 fi
22561
22562
22563 if test "$wxUSE_UNICODE" = "yes"; then
22564
22565 succeeded=no
22566
22567 if test -z "$PKG_CONFIG"; then
22568 # Extract the first word of "pkg-config", so it can be a program name with args.
22569 set dummy pkg-config; ac_word=$2
22570 echo "$as_me:$LINENO: checking for $ac_word" >&5
22571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22572 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22574 else
22575 case $PKG_CONFIG in
22576 [\\/]* | ?:[\\/]*)
22577 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22578 ;;
22579 *)
22580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22581 for as_dir in $PATH
22582 do
22583 IFS=$as_save_IFS
22584 test -z "$as_dir" && as_dir=.
22585 for ac_exec_ext in '' $ac_executable_extensions; do
22586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22587 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22589 break 2
22590 fi
22591 done
22592 done
22593
22594 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22595 ;;
22596 esac
22597 fi
22598 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22599
22600 if test -n "$PKG_CONFIG"; then
22601 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22602 echo "${ECHO_T}$PKG_CONFIG" >&6
22603 else
22604 echo "$as_me:$LINENO: result: no" >&5
22605 echo "${ECHO_T}no" >&6
22606 fi
22607
22608 fi
22609
22610 if test "$PKG_CONFIG" = "no" ; then
22611 echo "*** The pkg-config script could not be found. Make sure it is"
22612 echo "*** in your path, or set the PKG_CONFIG environment variable"
22613 echo "*** to the full path to pkg-config."
22614 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22615 else
22616 PKG_CONFIG_MIN_VERSION=0.9.0
22617 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22618 echo "$as_me:$LINENO: checking for pangox" >&5
22619 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22620
22621 if $PKG_CONFIG --exists "pangox" ; then
22622 echo "$as_me:$LINENO: result: yes" >&5
22623 echo "${ECHO_T}yes" >&6
22624 succeeded=yes
22625
22626 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22627 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22628 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22629 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22630 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22631
22632 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22633 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22634 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22635 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22636 echo "${ECHO_T}$PANGOX_LIBS" >&6
22637 else
22638 PANGOX_CFLAGS=""
22639 PANGOX_LIBS=""
22640 ## If we have a custom action on failure, don't print errors, but
22641 ## do set a variable so people can do so.
22642 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22643
22644 fi
22645
22646
22647
22648 else
22649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22651 fi
22652 fi
22653
22654 if test $succeeded = yes; then
22655
22656 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22658
22659 else
22660
22661 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22662 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22663 { (exit 1); exit 1; }; }
22664
22665
22666 fi
22667
22668
22669 succeeded=no
22670
22671 if test -z "$PKG_CONFIG"; then
22672 # Extract the first word of "pkg-config", so it can be a program name with args.
22673 set dummy pkg-config; ac_word=$2
22674 echo "$as_me:$LINENO: checking for $ac_word" >&5
22675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22676 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679 case $PKG_CONFIG in
22680 [\\/]* | ?:[\\/]*)
22681 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22682 ;;
22683 *)
22684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22685 for as_dir in $PATH
22686 do
22687 IFS=$as_save_IFS
22688 test -z "$as_dir" && as_dir=.
22689 for ac_exec_ext in '' $ac_executable_extensions; do
22690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22691 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22693 break 2
22694 fi
22695 done
22696 done
22697
22698 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22699 ;;
22700 esac
22701 fi
22702 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22703
22704 if test -n "$PKG_CONFIG"; then
22705 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22706 echo "${ECHO_T}$PKG_CONFIG" >&6
22707 else
22708 echo "$as_me:$LINENO: result: no" >&5
22709 echo "${ECHO_T}no" >&6
22710 fi
22711
22712 fi
22713
22714 if test "$PKG_CONFIG" = "no" ; then
22715 echo "*** The pkg-config script could not be found. Make sure it is"
22716 echo "*** in your path, or set the PKG_CONFIG environment variable"
22717 echo "*** to the full path to pkg-config."
22718 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22719 else
22720 PKG_CONFIG_MIN_VERSION=0.9.0
22721 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22722 echo "$as_me:$LINENO: checking for pangoft2" >&5
22723 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22724
22725 if $PKG_CONFIG --exists "pangoft2" ; then
22726 echo "$as_me:$LINENO: result: yes" >&5
22727 echo "${ECHO_T}yes" >&6
22728 succeeded=yes
22729
22730 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22731 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22732 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22733 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22734 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22735
22736 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22737 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22738 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22739 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22740 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22741 else
22742 PANGOFT2_CFLAGS=""
22743 PANGOFT2_LIBS=""
22744 ## If we have a custom action on failure, don't print errors, but
22745 ## do set a variable so people can do so.
22746 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22747
22748 fi
22749
22750
22751
22752 else
22753 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22754 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22755 fi
22756 fi
22757
22758 if test $succeeded = yes; then
22759
22760 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22761 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22762
22763 else
22764
22765 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22766 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22767 wxUSE_PRINTING_ARCHITECTURE="no"
22768
22769
22770 fi
22771
22772
22773 succeeded=no
22774
22775 if test -z "$PKG_CONFIG"; then
22776 # Extract the first word of "pkg-config", so it can be a program name with args.
22777 set dummy pkg-config; ac_word=$2
22778 echo "$as_me:$LINENO: checking for $ac_word" >&5
22779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22780 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22781 echo $ECHO_N "(cached) $ECHO_C" >&6
22782 else
22783 case $PKG_CONFIG in
22784 [\\/]* | ?:[\\/]*)
22785 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22786 ;;
22787 *)
22788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22789 for as_dir in $PATH
22790 do
22791 IFS=$as_save_IFS
22792 test -z "$as_dir" && as_dir=.
22793 for ac_exec_ext in '' $ac_executable_extensions; do
22794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22795 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22797 break 2
22798 fi
22799 done
22800 done
22801
22802 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22803 ;;
22804 esac
22805 fi
22806 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22807
22808 if test -n "$PKG_CONFIG"; then
22809 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22810 echo "${ECHO_T}$PKG_CONFIG" >&6
22811 else
22812 echo "$as_me:$LINENO: result: no" >&5
22813 echo "${ECHO_T}no" >&6
22814 fi
22815
22816 fi
22817
22818 if test "$PKG_CONFIG" = "no" ; then
22819 echo "*** The pkg-config script could not be found. Make sure it is"
22820 echo "*** in your path, or set the PKG_CONFIG environment variable"
22821 echo "*** to the full path to pkg-config."
22822 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22823 else
22824 PKG_CONFIG_MIN_VERSION=0.9.0
22825 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22826 echo "$as_me:$LINENO: checking for pangoxft" >&5
22827 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22828
22829 if $PKG_CONFIG --exists "pangoxft" ; then
22830 echo "$as_me:$LINENO: result: yes" >&5
22831 echo "${ECHO_T}yes" >&6
22832 succeeded=yes
22833
22834 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22835 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22836 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22837 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22838 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22839
22840 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22841 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22842 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22843 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22844 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22845 else
22846 PANGOXFT_CFLAGS=""
22847 PANGOXFT_LIBS=""
22848 ## If we have a custom action on failure, don't print errors, but
22849 ## do set a variable so people can do so.
22850 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22851
22852 fi
22853
22854
22855
22856 else
22857 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22858 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22859 fi
22860 fi
22861
22862 if test $succeeded = yes; then
22863
22864 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22865 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22866
22867 else
22868
22869 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22870 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22871
22872
22873 fi
22874
22875 fi
22876
22877 wxUSE_UNIVERSAL="yes"
22878
22879 if test "$wxUSE_NANOX" = "yes"; then
22880 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22881 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"
22882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22883 else
22884 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22885 fi
22886
22887 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22888 TOOLKIT=X11
22889 GUIDIST=X11_DIST
22890 fi
22891
22892 if test "$wxUSE_MOTIF" = 1; then
22893 if test "$no_x" = yes; then
22894 # Not all programs may use this symbol, but it does not hurt to define it.
22895
22896 cat >>confdefs.h <<\_ACEOF
22897 #define X_DISPLAY_MISSING 1
22898 _ACEOF
22899
22900 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22901 else
22902 if test -n "$x_includes"; then
22903 X_CFLAGS="$X_CFLAGS -I$x_includes"
22904 fi
22905
22906 # It would also be nice to do this for all -L options, not just this one.
22907 if test -n "$x_libraries"; then
22908 X_LIBS="$X_LIBS -L$x_libraries"
22909 # For Solaris; some versions of Sun CC require a space after -R and
22910 # others require no space. Words are not sufficient . . . .
22911 case `(uname -sr) 2>/dev/null` in
22912 "SunOS 5"*)
22913 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22914 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22915 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22916 cat >conftest.$ac_ext <<_ACEOF
22917 #line $LINENO "configure"
22918 /* confdefs.h. */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923
22924 int
22925 main ()
22926 {
22927
22928 ;
22929 return 0;
22930 }
22931 _ACEOF
22932 rm -f conftest.$ac_objext conftest$ac_exeext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22934 (eval $ac_link) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_R_nospace=yes
22945 else
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22948
22949 ac_R_nospace=no
22950 fi
22951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22952 if test $ac_R_nospace = yes; then
22953 echo "$as_me:$LINENO: result: no" >&5
22954 echo "${ECHO_T}no" >&6
22955 X_LIBS="$X_LIBS -R$x_libraries"
22956 else
22957 LIBS="$ac_xsave_LIBS -R $x_libraries"
22958 cat >conftest.$ac_ext <<_ACEOF
22959 #line $LINENO "configure"
22960 /* confdefs.h. */
22961 _ACEOF
22962 cat confdefs.h >>conftest.$ac_ext
22963 cat >>conftest.$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22965
22966 int
22967 main ()
22968 {
22969
22970 ;
22971 return 0;
22972 }
22973 _ACEOF
22974 rm -f conftest.$ac_objext conftest$ac_exeext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>&5
22977 ac_status=$?
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try='test -s conftest$ac_exeext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22983 ac_status=$?
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 ac_R_space=yes
22987 else
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22990
22991 ac_R_space=no
22992 fi
22993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22994 if test $ac_R_space = yes; then
22995 echo "$as_me:$LINENO: result: yes" >&5
22996 echo "${ECHO_T}yes" >&6
22997 X_LIBS="$X_LIBS -R $x_libraries"
22998 else
22999 echo "$as_me:$LINENO: result: neither works" >&5
23000 echo "${ECHO_T}neither works" >&6
23001 fi
23002 fi
23003 LIBS=$ac_xsave_LIBS
23004 esac
23005 fi
23006
23007 # Check for system-dependent libraries X programs must link with.
23008 # Do this before checking for the system-independent R6 libraries
23009 # (-lICE), since we may need -lsocket or whatever for X linking.
23010
23011 if test "$ISC" = yes; then
23012 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23013 else
23014 # Martyn Johnson says this is needed for Ultrix, if the X
23015 # libraries were built with DECnet support. And Karl Berry says
23016 # the Alpha needs dnet_stub (dnet does not exist).
23017 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23018 cat >conftest.$ac_ext <<_ACEOF
23019 #line $LINENO "configure"
23020 /* confdefs.h. */
23021 _ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025
23026 /* Override any gcc2 internal prototype to avoid an error. */
23027 #ifdef __cplusplus
23028 extern "C"
23029 #endif
23030 /* We use char because int might match the return type of a gcc2
23031 builtin and then its argument prototype would still apply. */
23032 char XOpenDisplay ();
23033 int
23034 main ()
23035 {
23036 XOpenDisplay ();
23037 ;
23038 return 0;
23039 }
23040 _ACEOF
23041 rm -f conftest.$ac_objext conftest$ac_exeext
23042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23043 (eval $ac_link) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } &&
23047 { ac_try='test -s conftest$ac_exeext'
23048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23049 (eval $ac_try) 2>&5
23050 ac_status=$?
23051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23052 (exit $ac_status); }; }; then
23053 :
23054 else
23055 echo "$as_me: failed program was:" >&5
23056 sed 's/^/| /' conftest.$ac_ext >&5
23057
23058 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23059 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23060 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else
23063 ac_check_lib_save_LIBS=$LIBS
23064 LIBS="-ldnet $LIBS"
23065 cat >conftest.$ac_ext <<_ACEOF
23066 #line $LINENO "configure"
23067 /* confdefs.h. */
23068 _ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23072
23073 /* Override any gcc2 internal prototype to avoid an error. */
23074 #ifdef __cplusplus
23075 extern "C"
23076 #endif
23077 /* We use char because int might match the return type of a gcc2
23078 builtin and then its argument prototype would still apply. */
23079 char dnet_ntoa ();
23080 int
23081 main ()
23082 {
23083 dnet_ntoa ();
23084 ;
23085 return 0;
23086 }
23087 _ACEOF
23088 rm -f conftest.$ac_objext conftest$ac_exeext
23089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23090 (eval $ac_link) 2>&5
23091 ac_status=$?
23092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23093 (exit $ac_status); } &&
23094 { ac_try='test -s conftest$ac_exeext'
23095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23096 (eval $ac_try) 2>&5
23097 ac_status=$?
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); }; }; then
23100 ac_cv_lib_dnet_dnet_ntoa=yes
23101 else
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23104
23105 ac_cv_lib_dnet_dnet_ntoa=no
23106 fi
23107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23108 LIBS=$ac_check_lib_save_LIBS
23109 fi
23110 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23111 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23112 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23113 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23114 fi
23115
23116 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23117 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23118 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23119 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23121 else
23122 ac_check_lib_save_LIBS=$LIBS
23123 LIBS="-ldnet_stub $LIBS"
23124 cat >conftest.$ac_ext <<_ACEOF
23125 #line $LINENO "configure"
23126 /* confdefs.h. */
23127 _ACEOF
23128 cat confdefs.h >>conftest.$ac_ext
23129 cat >>conftest.$ac_ext <<_ACEOF
23130 /* end confdefs.h. */
23131
23132 /* Override any gcc2 internal prototype to avoid an error. */
23133 #ifdef __cplusplus
23134 extern "C"
23135 #endif
23136 /* We use char because int might match the return type of a gcc2
23137 builtin and then its argument prototype would still apply. */
23138 char dnet_ntoa ();
23139 int
23140 main ()
23141 {
23142 dnet_ntoa ();
23143 ;
23144 return 0;
23145 }
23146 _ACEOF
23147 rm -f conftest.$ac_objext conftest$ac_exeext
23148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23149 (eval $ac_link) 2>&5
23150 ac_status=$?
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } &&
23153 { ac_try='test -s conftest$ac_exeext'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23160 else
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.$ac_ext >&5
23163
23164 ac_cv_lib_dnet_stub_dnet_ntoa=no
23165 fi
23166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23167 LIBS=$ac_check_lib_save_LIBS
23168 fi
23169 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23170 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23171 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23172 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23173 fi
23174
23175 fi
23176 fi
23177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23178 LIBS="$ac_xsave_LIBS"
23179
23180 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23181 # to get the SysV transport functions.
23182 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23183 # needs -lnsl.
23184 # The nsl library prevents programs from opening the X display
23185 # on Irix 5.2, according to T.E. Dickey.
23186 # The functions gethostbyname, getservbyname, and inet_addr are
23187 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23188 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23189 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23190 if test "${ac_cv_func_gethostbyname+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23192 else
23193 cat >conftest.$ac_ext <<_ACEOF
23194 #line $LINENO "configure"
23195 /* confdefs.h. */
23196 _ACEOF
23197 cat confdefs.h >>conftest.$ac_ext
23198 cat >>conftest.$ac_ext <<_ACEOF
23199 /* end confdefs.h. */
23200 /* System header to define __stub macros and hopefully few prototypes,
23201 which can conflict with char gethostbyname (); below.
23202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23203 <limits.h> exists even on freestanding compilers. */
23204 #ifdef __STDC__
23205 # include <limits.h>
23206 #else
23207 # include <assert.h>
23208 #endif
23209 /* Override any gcc2 internal prototype to avoid an error. */
23210 #ifdef __cplusplus
23211 extern "C"
23212 {
23213 #endif
23214 /* We use char because int might match the return type of a gcc2
23215 builtin and then its argument prototype would still apply. */
23216 char gethostbyname ();
23217 /* The GNU C library defines this for functions which it implements
23218 to always fail with ENOSYS. Some functions are actually named
23219 something starting with __ and the normal name is an alias. */
23220 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23221 choke me
23222 #else
23223 char (*f) () = gethostbyname;
23224 #endif
23225 #ifdef __cplusplus
23226 }
23227 #endif
23228
23229 int
23230 main ()
23231 {
23232 return f != gethostbyname;
23233 ;
23234 return 0;
23235 }
23236 _ACEOF
23237 rm -f conftest.$ac_objext conftest$ac_exeext
23238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23239 (eval $ac_link) 2>&5
23240 ac_status=$?
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } &&
23243 { ac_try='test -s conftest$ac_exeext'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; }; then
23249 ac_cv_func_gethostbyname=yes
23250 else
23251 echo "$as_me: failed program was:" >&5
23252 sed 's/^/| /' conftest.$ac_ext >&5
23253
23254 ac_cv_func_gethostbyname=no
23255 fi
23256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23257 fi
23258 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23259 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23260
23261 if test $ac_cv_func_gethostbyname = no; then
23262 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23263 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23264 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23265 echo $ECHO_N "(cached) $ECHO_C" >&6
23266 else
23267 ac_check_lib_save_LIBS=$LIBS
23268 LIBS="-lnsl $LIBS"
23269 cat >conftest.$ac_ext <<_ACEOF
23270 #line $LINENO "configure"
23271 /* confdefs.h. */
23272 _ACEOF
23273 cat confdefs.h >>conftest.$ac_ext
23274 cat >>conftest.$ac_ext <<_ACEOF
23275 /* end confdefs.h. */
23276
23277 /* Override any gcc2 internal prototype to avoid an error. */
23278 #ifdef __cplusplus
23279 extern "C"
23280 #endif
23281 /* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23283 char gethostbyname ();
23284 int
23285 main ()
23286 {
23287 gethostbyname ();
23288 ;
23289 return 0;
23290 }
23291 _ACEOF
23292 rm -f conftest.$ac_objext conftest$ac_exeext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294 (eval $ac_link) 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } &&
23298 { ac_try='test -s conftest$ac_exeext'
23299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23300 (eval $ac_try) 2>&5
23301 ac_status=$?
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; }; then
23304 ac_cv_lib_nsl_gethostbyname=yes
23305 else
23306 echo "$as_me: failed program was:" >&5
23307 sed 's/^/| /' conftest.$ac_ext >&5
23308
23309 ac_cv_lib_nsl_gethostbyname=no
23310 fi
23311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23312 LIBS=$ac_check_lib_save_LIBS
23313 fi
23314 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23315 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23316 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23317 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23318 fi
23319
23320 if test $ac_cv_lib_nsl_gethostbyname = no; then
23321 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23322 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23323 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23326 ac_check_lib_save_LIBS=$LIBS
23327 LIBS="-lbsd $LIBS"
23328 cat >conftest.$ac_ext <<_ACEOF
23329 #line $LINENO "configure"
23330 /* confdefs.h. */
23331 _ACEOF
23332 cat confdefs.h >>conftest.$ac_ext
23333 cat >>conftest.$ac_ext <<_ACEOF
23334 /* end confdefs.h. */
23335
23336 /* Override any gcc2 internal prototype to avoid an error. */
23337 #ifdef __cplusplus
23338 extern "C"
23339 #endif
23340 /* We use char because int might match the return type of a gcc2
23341 builtin and then its argument prototype would still apply. */
23342 char gethostbyname ();
23343 int
23344 main ()
23345 {
23346 gethostbyname ();
23347 ;
23348 return 0;
23349 }
23350 _ACEOF
23351 rm -f conftest.$ac_objext conftest$ac_exeext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23353 (eval $ac_link) 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); } &&
23357 { ac_try='test -s conftest$ac_exeext'
23358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359 (eval $ac_try) 2>&5
23360 ac_status=$?
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); }; }; then
23363 ac_cv_lib_bsd_gethostbyname=yes
23364 else
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 ac_cv_lib_bsd_gethostbyname=no
23369 fi
23370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23371 LIBS=$ac_check_lib_save_LIBS
23372 fi
23373 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23374 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23375 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23376 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23377 fi
23378
23379 fi
23380 fi
23381
23382 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23383 # socket/setsockopt and other routines are undefined under SCO ODT
23384 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23385 # on later versions), says Simon Leinen: it contains gethostby*
23386 # variants that don't use the name server (or something). -lsocket
23387 # must be given before -lnsl if both are needed. We assume that
23388 # if connect needs -lnsl, so does gethostbyname.
23389 echo "$as_me:$LINENO: checking for connect" >&5
23390 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23391 if test "${ac_cv_func_connect+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 else
23394 cat >conftest.$ac_ext <<_ACEOF
23395 #line $LINENO "configure"
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 /* System header to define __stub macros and hopefully few prototypes,
23402 which can conflict with char connect (); below.
23403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23404 <limits.h> exists even on freestanding compilers. */
23405 #ifdef __STDC__
23406 # include <limits.h>
23407 #else
23408 # include <assert.h>
23409 #endif
23410 /* Override any gcc2 internal prototype to avoid an error. */
23411 #ifdef __cplusplus
23412 extern "C"
23413 {
23414 #endif
23415 /* We use char because int might match the return type of a gcc2
23416 builtin and then its argument prototype would still apply. */
23417 char connect ();
23418 /* The GNU C library defines this for functions which it implements
23419 to always fail with ENOSYS. Some functions are actually named
23420 something starting with __ and the normal name is an alias. */
23421 #if defined (__stub_connect) || defined (__stub___connect)
23422 choke me
23423 #else
23424 char (*f) () = connect;
23425 #endif
23426 #ifdef __cplusplus
23427 }
23428 #endif
23429
23430 int
23431 main ()
23432 {
23433 return f != connect;
23434 ;
23435 return 0;
23436 }
23437 _ACEOF
23438 rm -f conftest.$ac_objext conftest$ac_exeext
23439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23440 (eval $ac_link) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -s conftest$ac_exeext'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; }; then
23450 ac_cv_func_connect=yes
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455 ac_cv_func_connect=no
23456 fi
23457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23458 fi
23459 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23460 echo "${ECHO_T}$ac_cv_func_connect" >&6
23461
23462 if test $ac_cv_func_connect = no; then
23463 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23464 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23465 if test "${ac_cv_lib_socket_connect+set}" = set; then
23466 echo $ECHO_N "(cached) $ECHO_C" >&6
23467 else
23468 ac_check_lib_save_LIBS=$LIBS
23469 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23470 cat >conftest.$ac_ext <<_ACEOF
23471 #line $LINENO "configure"
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477
23478 /* Override any gcc2 internal prototype to avoid an error. */
23479 #ifdef __cplusplus
23480 extern "C"
23481 #endif
23482 /* We use char because int might match the return type of a gcc2
23483 builtin and then its argument prototype would still apply. */
23484 char connect ();
23485 int
23486 main ()
23487 {
23488 connect ();
23489 ;
23490 return 0;
23491 }
23492 _ACEOF
23493 rm -f conftest.$ac_objext conftest$ac_exeext
23494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23495 (eval $ac_link) 2>&5
23496 ac_status=$?
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -s conftest$ac_exeext'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23502 ac_status=$?
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; }; then
23505 ac_cv_lib_socket_connect=yes
23506 else
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23509
23510 ac_cv_lib_socket_connect=no
23511 fi
23512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23513 LIBS=$ac_check_lib_save_LIBS
23514 fi
23515 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23516 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23517 if test $ac_cv_lib_socket_connect = yes; then
23518 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23519 fi
23520
23521 fi
23522
23523 # Guillermo Gomez says -lposix is necessary on A/UX.
23524 echo "$as_me:$LINENO: checking for remove" >&5
23525 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23526 if test "${ac_cv_func_remove+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 else
23529 cat >conftest.$ac_ext <<_ACEOF
23530 #line $LINENO "configure"
23531 /* confdefs.h. */
23532 _ACEOF
23533 cat confdefs.h >>conftest.$ac_ext
23534 cat >>conftest.$ac_ext <<_ACEOF
23535 /* end confdefs.h. */
23536 /* System header to define __stub macros and hopefully few prototypes,
23537 which can conflict with char remove (); below.
23538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23539 <limits.h> exists even on freestanding compilers. */
23540 #ifdef __STDC__
23541 # include <limits.h>
23542 #else
23543 # include <assert.h>
23544 #endif
23545 /* Override any gcc2 internal prototype to avoid an error. */
23546 #ifdef __cplusplus
23547 extern "C"
23548 {
23549 #endif
23550 /* We use char because int might match the return type of a gcc2
23551 builtin and then its argument prototype would still apply. */
23552 char remove ();
23553 /* The GNU C library defines this for functions which it implements
23554 to always fail with ENOSYS. Some functions are actually named
23555 something starting with __ and the normal name is an alias. */
23556 #if defined (__stub_remove) || defined (__stub___remove)
23557 choke me
23558 #else
23559 char (*f) () = remove;
23560 #endif
23561 #ifdef __cplusplus
23562 }
23563 #endif
23564
23565 int
23566 main ()
23567 {
23568 return f != remove;
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext conftest$ac_exeext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23575 (eval $ac_link) 2>&5
23576 ac_status=$?
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try='test -s conftest$ac_exeext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23582 ac_status=$?
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 ac_cv_func_remove=yes
23586 else
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23589
23590 ac_cv_func_remove=no
23591 fi
23592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23593 fi
23594 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23595 echo "${ECHO_T}$ac_cv_func_remove" >&6
23596
23597 if test $ac_cv_func_remove = no; then
23598 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23599 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23600 if test "${ac_cv_lib_posix_remove+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23602 else
23603 ac_check_lib_save_LIBS=$LIBS
23604 LIBS="-lposix $LIBS"
23605 cat >conftest.$ac_ext <<_ACEOF
23606 #line $LINENO "configure"
23607 /* confdefs.h. */
23608 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612
23613 /* Override any gcc2 internal prototype to avoid an error. */
23614 #ifdef __cplusplus
23615 extern "C"
23616 #endif
23617 /* We use char because int might match the return type of a gcc2
23618 builtin and then its argument prototype would still apply. */
23619 char remove ();
23620 int
23621 main ()
23622 {
23623 remove ();
23624 ;
23625 return 0;
23626 }
23627 _ACEOF
23628 rm -f conftest.$ac_objext conftest$ac_exeext
23629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23630 (eval $ac_link) 2>&5
23631 ac_status=$?
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try='test -s conftest$ac_exeext'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23637 ac_status=$?
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; }; then
23640 ac_cv_lib_posix_remove=yes
23641 else
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 ac_cv_lib_posix_remove=no
23646 fi
23647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23648 LIBS=$ac_check_lib_save_LIBS
23649 fi
23650 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23651 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23652 if test $ac_cv_lib_posix_remove = yes; then
23653 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23654 fi
23655
23656 fi
23657
23658 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23659 echo "$as_me:$LINENO: checking for shmat" >&5
23660 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23661 if test "${ac_cv_func_shmat+set}" = set; then
23662 echo $ECHO_N "(cached) $ECHO_C" >&6
23663 else
23664 cat >conftest.$ac_ext <<_ACEOF
23665 #line $LINENO "configure"
23666 /* confdefs.h. */
23667 _ACEOF
23668 cat confdefs.h >>conftest.$ac_ext
23669 cat >>conftest.$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671 /* System header to define __stub macros and hopefully few prototypes,
23672 which can conflict with char shmat (); below.
23673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23674 <limits.h> exists even on freestanding compilers. */
23675 #ifdef __STDC__
23676 # include <limits.h>
23677 #else
23678 # include <assert.h>
23679 #endif
23680 /* Override any gcc2 internal prototype to avoid an error. */
23681 #ifdef __cplusplus
23682 extern "C"
23683 {
23684 #endif
23685 /* We use char because int might match the return type of a gcc2
23686 builtin and then its argument prototype would still apply. */
23687 char shmat ();
23688 /* The GNU C library defines this for functions which it implements
23689 to always fail with ENOSYS. Some functions are actually named
23690 something starting with __ and the normal name is an alias. */
23691 #if defined (__stub_shmat) || defined (__stub___shmat)
23692 choke me
23693 #else
23694 char (*f) () = shmat;
23695 #endif
23696 #ifdef __cplusplus
23697 }
23698 #endif
23699
23700 int
23701 main ()
23702 {
23703 return f != shmat;
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 rm -f conftest.$ac_objext conftest$ac_exeext
23709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23710 (eval $ac_link) 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try='test -s conftest$ac_exeext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 ac_cv_func_shmat=yes
23721 else
23722 echo "$as_me: failed program was:" >&5
23723 sed 's/^/| /' conftest.$ac_ext >&5
23724
23725 ac_cv_func_shmat=no
23726 fi
23727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23728 fi
23729 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23730 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23731
23732 if test $ac_cv_func_shmat = no; then
23733 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23734 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23735 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23736 echo $ECHO_N "(cached) $ECHO_C" >&6
23737 else
23738 ac_check_lib_save_LIBS=$LIBS
23739 LIBS="-lipc $LIBS"
23740 cat >conftest.$ac_ext <<_ACEOF
23741 #line $LINENO "configure"
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747
23748 /* Override any gcc2 internal prototype to avoid an error. */
23749 #ifdef __cplusplus
23750 extern "C"
23751 #endif
23752 /* We use char because int might match the return type of a gcc2
23753 builtin and then its argument prototype would still apply. */
23754 char shmat ();
23755 int
23756 main ()
23757 {
23758 shmat ();
23759 ;
23760 return 0;
23761 }
23762 _ACEOF
23763 rm -f conftest.$ac_objext conftest$ac_exeext
23764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23765 (eval $ac_link) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); } &&
23769 { ac_try='test -s conftest$ac_exeext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 ac_cv_lib_ipc_shmat=yes
23776 else
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.$ac_ext >&5
23779
23780 ac_cv_lib_ipc_shmat=no
23781 fi
23782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23783 LIBS=$ac_check_lib_save_LIBS
23784 fi
23785 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23786 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23787 if test $ac_cv_lib_ipc_shmat = yes; then
23788 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23789 fi
23790
23791 fi
23792 fi
23793
23794 # Check for libraries that X11R6 Xt/Xaw programs need.
23795 ac_save_LDFLAGS=$LDFLAGS
23796 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23797 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23798 # check for ICE first), but we must link in the order -lSM -lICE or
23799 # we get undefined symbols. So assume we have SM if we have ICE.
23800 # These have to be linked with before -lX11, unlike the other
23801 # libraries we check for below, so use a different variable.
23802 # John Interrante, Karl Berry
23803 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23804 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23805 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23806 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 else
23808 ac_check_lib_save_LIBS=$LIBS
23809 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23810 cat >conftest.$ac_ext <<_ACEOF
23811 #line $LINENO "configure"
23812 /* confdefs.h. */
23813 _ACEOF
23814 cat confdefs.h >>conftest.$ac_ext
23815 cat >>conftest.$ac_ext <<_ACEOF
23816 /* end confdefs.h. */
23817
23818 /* Override any gcc2 internal prototype to avoid an error. */
23819 #ifdef __cplusplus
23820 extern "C"
23821 #endif
23822 /* We use char because int might match the return type of a gcc2
23823 builtin and then its argument prototype would still apply. */
23824 char IceConnectionNumber ();
23825 int
23826 main ()
23827 {
23828 IceConnectionNumber ();
23829 ;
23830 return 0;
23831 }
23832 _ACEOF
23833 rm -f conftest.$ac_objext conftest$ac_exeext
23834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23835 (eval $ac_link) 2>&5
23836 ac_status=$?
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } &&
23839 { ac_try='test -s conftest$ac_exeext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23842 ac_status=$?
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_lib_ICE_IceConnectionNumber=yes
23846 else
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23849
23850 ac_cv_lib_ICE_IceConnectionNumber=no
23851 fi
23852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23853 LIBS=$ac_check_lib_save_LIBS
23854 fi
23855 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23856 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23857 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23858 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23859 fi
23860
23861 LDFLAGS=$ac_save_LDFLAGS
23862
23863 fi
23864
23865
23866 if test "$no_x" = "yes"; then
23867 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23868 echo "$as_me: error: X11 not found" >&2;}
23869 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23870 fi
23871
23872 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23873 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23874 AFMINSTALL=afminstall
23875 COMPILED_X_PROGRAM=0
23876
23877 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23878 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23879
23880 ac_find_includes=
23881 for ac_dir in $SEARCH_INCLUDE /usr/include;
23882 do
23883 if test -f "$ac_dir/Xm/Xm.h"; then
23884 ac_find_includes=$ac_dir
23885 break
23886 fi
23887 done
23888
23889 if test "$ac_find_includes" != "" ; then
23890 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23891 echo "${ECHO_T}found in $ac_find_includes" >&6
23892
23893 if test "x$ac_find_includes" = "x/usr/include"; then
23894 ac_path_to_include=""
23895 else
23896 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23897 result=$?
23898 if test $result = 0; then
23899 ac_path_to_include=""
23900 else
23901 ac_path_to_include=" -I$ac_find_includes"
23902 fi
23903 fi
23904
23905 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23906 else
23907 cat >conftest.$ac_ext <<_ACEOF
23908 #line $LINENO "configure"
23909 /* confdefs.h. */
23910 _ACEOF
23911 cat confdefs.h >>conftest.$ac_ext
23912 cat >>conftest.$ac_ext <<_ACEOF
23913 /* end confdefs.h. */
23914
23915 #include <Xm/Xm.h>
23916
23917 int
23918 main ()
23919 {
23920
23921 int version;
23922 version = xmUseVersion;
23923
23924 ;
23925 return 0;
23926 }
23927 _ACEOF
23928 rm -f conftest.$ac_objext
23929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23930 (eval $ac_compile) 2>&5
23931 ac_status=$?
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } &&
23934 { ac_try='test -s conftest.$ac_objext'
23935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23936 (eval $ac_try) 2>&5
23937 ac_status=$?
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); }; }; then
23940
23941 echo "$as_me:$LINENO: result: found in default search path" >&5
23942 echo "${ECHO_T}found in default search path" >&6
23943 COMPILED_X_PROGRAM=1
23944
23945 else
23946 echo "$as_me: failed program was:" >&5
23947 sed 's/^/| /' conftest.$ac_ext >&5
23948
23949
23950 echo "$as_me:$LINENO: result: no" >&5
23951 echo "${ECHO_T}no" >&6
23952 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23953 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23954 { (exit 1); exit 1; }; }
23955
23956
23957 fi
23958 rm -f conftest.$ac_objext conftest.$ac_ext
23959 fi
23960
23961 if test "$COMPILED_X_PROGRAM" = 0; then
23962 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23963 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23964
23965 ac_find_libraries=
23966 for ac_dir in $SEARCH_LIB /usr/lib;
23967 do
23968 for ac_extension in a so sl dylib; do
23969 if test -f "$ac_dir/libXm.$ac_extension"; then
23970 ac_find_libraries=$ac_dir
23971 break 2
23972 fi
23973 done
23974 done
23975
23976 if test "$ac_find_libraries" != "" ; then
23977 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23978 echo "${ECHO_T}found at $ac_find_libraries" >&6
23979
23980
23981 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23982 result=$?
23983 if test $result = 0; then
23984 ac_path_to_link=""
23985 else
23986 ac_path_to_link=" -L$ac_find_libraries"
23987 fi
23988
23989 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23990 else
23991 save_CFLAGS=$CFLAGS
23992 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23993
23994 cat >conftest.$ac_ext <<_ACEOF
23995 #line $LINENO "configure"
23996 /* confdefs.h. */
23997 _ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24001
24002 #include <Xm/Xm.h>
24003
24004 int
24005 main ()
24006 {
24007
24008 int version;
24009 version = xmUseVersion;
24010
24011 ;
24012 return 0;
24013 }
24014 _ACEOF
24015 rm -f conftest.$ac_objext
24016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24017 (eval $ac_compile) 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try='test -s conftest.$ac_objext'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24027
24028 echo "$as_me:$LINENO: result: found in default search path" >&5
24029 echo "${ECHO_T}found in default search path" >&6
24030 COMPILED_X_PROGRAM=1
24031
24032 else
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24035
24036
24037 echo "$as_me:$LINENO: result: no" >&5
24038 echo "${ECHO_T}no" >&6
24039 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24040 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24041 { (exit 1); exit 1; }; }
24042
24043
24044 fi
24045 rm -f conftest.$ac_objext conftest.$ac_ext
24046
24047 CFLAGS=$save_CFLAGS
24048 fi
24049 fi
24050
24051 xpm_link=
24052 echo "$as_me:$LINENO: checking for Xpm library" >&5
24053 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24054
24055 ac_find_libraries=
24056 for ac_dir in $SEARCH_LIB /usr/lib;
24057 do
24058 for ac_extension in a so sl dylib; do
24059 if test -f "$ac_dir/libXpm.$ac_extension"; then
24060 ac_find_libraries=$ac_dir
24061 break 2
24062 fi
24063 done
24064 done
24065
24066 if test "$ac_find_libraries" != "" ; then
24067
24068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24069 result=$?
24070 if test $result = 0; then
24071 ac_path_to_link=""
24072 else
24073 ac_path_to_link=" -L$ac_find_libraries"
24074 fi
24075
24076 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24077
24078 xpm_link=" -lXpm"
24079 cat >>confdefs.h <<\_ACEOF
24080 #define wxHAVE_LIB_XPM 1
24081 _ACEOF
24082
24083 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24084 echo "${ECHO_T}found at $ac_find_libraries" >&6
24085 else
24086 save_CFLAGS=$CFLAGS
24087 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24088
24089 cat >conftest.$ac_ext <<_ACEOF
24090 #line $LINENO "configure"
24091 /* confdefs.h. */
24092 _ACEOF
24093 cat confdefs.h >>conftest.$ac_ext
24094 cat >>conftest.$ac_ext <<_ACEOF
24095 /* end confdefs.h. */
24096
24097 #include <X11/xpm.h>
24098
24099 int
24100 main ()
24101 {
24102
24103 int version;
24104 version = XpmLibraryVersion();
24105
24106 ;
24107 return 0;
24108 }
24109 _ACEOF
24110 rm -f conftest.$ac_objext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24112 (eval $ac_compile) 2>&5
24113 ac_status=$?
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); } &&
24116 { ac_try='test -s conftest.$ac_objext'
24117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118 (eval $ac_try) 2>&5
24119 ac_status=$?
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; }; then
24122
24123 xpm_link=" -lXpm"
24124 cat >>confdefs.h <<\_ACEOF
24125 #define wxHAVE_LIB_XPM 1
24126 _ACEOF
24127
24128 echo "$as_me:$LINENO: result: found in default search path" >&5
24129 echo "${ECHO_T}found in default search path" >&6
24130 COMPILED_X_PROGRAM=0
24131
24132 else
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.$ac_ext >&5
24135
24136
24137 echo "$as_me:$LINENO: result: no" >&5
24138 echo "${ECHO_T}no" >&6
24139 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24140 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24141
24142
24143 fi
24144 rm -f conftest.$ac_objext conftest.$ac_ext
24145
24146 CFLAGS=$save_CFLAGS
24147 fi
24148
24149 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24150 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24151 libp_link=""
24152 libsm_ice_link=""
24153 libs_found=0
24154 for libp in "" " -lXp"; do
24155 if test "$libs_found" = "0"; then
24156 for libsm_ice in "" " -lSM -lICE"; do
24157 if test "$libs_found" = "0"; then
24158 save_LIBS="$LIBS"
24159 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24160 save_CFLAGS=$CFLAGS
24161 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24162
24163 cat >conftest.$ac_ext <<_ACEOF
24164 #line $LINENO "configure"
24165 /* confdefs.h. */
24166 _ACEOF
24167 cat confdefs.h >>conftest.$ac_ext
24168 cat >>conftest.$ac_ext <<_ACEOF
24169 /* end confdefs.h. */
24170
24171 #include <Xm/Xm.h>
24172 #include <Xm/List.h>
24173
24174 int
24175 main ()
24176 {
24177
24178 XmString string = NULL;
24179 Widget w = NULL;
24180 int position = 0;
24181 XmListAddItem(w, string, position);
24182
24183 ;
24184 return 0;
24185 }
24186 _ACEOF
24187 rm -f conftest.$ac_objext conftest$ac_exeext
24188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24189 (eval $ac_link) 2>&5
24190 ac_status=$?
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } &&
24193 { ac_try='test -s conftest$ac_exeext'
24194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195 (eval $ac_try) 2>&5
24196 ac_status=$?
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); }; }; then
24199
24200 libp_link="$libp"
24201 libsm_ice_link="$libsm_ice"
24202 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24203 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24204 libs_found=1
24205
24206 else
24207 echo "$as_me: failed program was:" >&5
24208 sed 's/^/| /' conftest.$ac_ext >&5
24209
24210
24211
24212 fi
24213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24214
24215 LIBS="$save_LIBS"
24216 CFLAGS=$save_CFLAGS
24217 fi
24218 done
24219 fi
24220 done
24221
24222 if test "$libs_found" = "0"; then
24223 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24224 echo "${ECHO_T}can't find the right libraries" >&6
24225 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24226 echo "$as_me: error: can't link a simple motif program" >&2;}
24227 { (exit 1); exit 1; }; }
24228 fi
24229
24230 save_CFLAGS=$CFLAGS
24231 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24232 echo "$as_me:$LINENO: checking for Motif 2" >&5
24233 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24234 cat >conftest.$ac_ext <<_ACEOF
24235 #line $LINENO "configure"
24236 /* confdefs.h. */
24237 _ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24241
24242 #include <Xm/Xm.h>
24243
24244 int
24245 main ()
24246 {
24247
24248 #if XmVersion < 2000
24249 #error "Not Motif 2"
24250 #endif
24251
24252 ;
24253 return 0;
24254 }
24255 _ACEOF
24256 rm -f conftest.$ac_objext
24257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 (eval $ac_compile) 2>&5
24259 ac_status=$?
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } &&
24262 { ac_try='test -s conftest.$ac_objext'
24263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24264 (eval $ac_try) 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268
24269 cat >>confdefs.h <<\_ACEOF
24270 #define __WXMOTIF20__ 1
24271 _ACEOF
24272
24273 echo "$as_me:$LINENO: result: found" >&5
24274 echo "${ECHO_T}found" >&6
24275
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280
24281 cat >>confdefs.h <<\_ACEOF
24282 #define __WXMOTIF20__ 0
24283 _ACEOF
24284
24285 echo "$as_me:$LINENO: result: not found" >&5
24286 echo "${ECHO_T}not found" >&6
24287
24288 fi
24289 rm -f conftest.$ac_objext conftest.$ac_ext
24290 CFLAGS=$save_CFLAGS
24291
24292 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24293 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24294 TOOLKIT=MOTIF
24295 GUIDIST=MOTIF_DIST
24296 wxHAVE_XEXT_LIB=1
24297 fi
24298
24299 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24300 test "$wxHAVE_XEXT_LIB" = 1; then
24301 save_CFLAGS="$CFLAGS"
24302 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24303
24304 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24305 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24306 cat >conftest.$ac_ext <<_ACEOF
24307 #line $LINENO "configure"
24308 /* confdefs.h. */
24309 _ACEOF
24310 cat confdefs.h >>conftest.$ac_ext
24311 cat >>conftest.$ac_ext <<_ACEOF
24312 /* end confdefs.h. */
24313
24314 #include <X11/Xlib.h>
24315 #include <X11/extensions/shape.h>
24316
24317 int
24318 main ()
24319 {
24320
24321 int dummy1, dummy2;
24322 XShapeQueryExtension((Display*)NULL,
24323 (int*)NULL, (int*)NULL);
24324
24325 ;
24326 return 0;
24327 }
24328 _ACEOF
24329 rm -f conftest.$ac_objext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24331 (eval $ac_compile) 2>&5
24332 ac_status=$?
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try='test -s conftest.$ac_objext'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24338 ac_status=$?
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; }; then
24341
24342 cat >>confdefs.h <<\_ACEOF
24343 #define HAVE_XSHAPE 1
24344 _ACEOF
24345
24346 echo "$as_me:$LINENO: result: found" >&5
24347 echo "${ECHO_T}found" >&6
24348
24349 else
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.$ac_ext >&5
24352
24353
24354 echo "$as_me:$LINENO: result: not found" >&5
24355 echo "${ECHO_T}not found" >&6
24356
24357 fi
24358 rm -f conftest.$ac_objext conftest.$ac_ext
24359 CFLAGS="$save_CFLAGS"
24360 fi
24361
24362 if test "$wxUSE_MAC" = 1; then
24363 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24364 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24365 if test "$GCC" = yes; then
24366 echo "$as_me:$LINENO: result: gcc" >&5
24367 echo "${ECHO_T}gcc" >&6
24368 CPPFLAGS_PASCAL="-fpascal-strings"
24369 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24370 echo "$as_me:$LINENO: result: xlc" >&5
24371 echo "${ECHO_T}xlc" >&6
24372 CPPFLAGS_PASCAL="-qmacpstr"
24373 else
24374 echo "$as_me:$LINENO: result: none" >&5
24375 echo "${ECHO_T}none" >&6
24376 fi
24377
24378 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24379
24380 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24381 TOOLKIT=MAC
24382 GUIDIST=MACX_DIST
24383 WXBASEPORT="_carbon"
24384 fi
24385
24386 if test "$wxUSE_COCOA" = 1; then
24387 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24388 TOOLKIT=COCOA
24389 GUIDIST=COCOA_DIST
24390 fi
24391
24392 if test "$wxUSE_PM" = 1; then
24393 TOOLKIT=PM
24394 GUIDIST=GTK_DIST
24395 fi
24396
24397 if test "$TOOLKIT" = "PM" ; then
24398 TOOLKIT_DIR="os2"
24399 else
24400 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24401 fi
24402
24403 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24404
24405 if test "$wxUSE_UNIVERSAL" = "yes"; then
24406 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24407
24408 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24409 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24410
24411 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24412 if test "$wxUSE_X11" = 1; then
24413 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24414 else
24415 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24416 fi
24417 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24418 WIDGET_SET=univ
24419 else
24420 ALL_OBJECTS="\$(GUIOBJS)"
24421 ALL_SOURCES="\$(ALL_SOURCES)"
24422 ALL_HEADERS="\$(ALL_HEADERS)"
24423 fi
24424
24425 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24426
24427 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24428 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24429 fi
24430
24431 if test "$wxUSE_HTML" = "yes"; then
24432 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24433 fi
24434
24435 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24436 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24437 fi
24438 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24439 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24440 fi
24441 if test "$wxUSE_LIBPNG" = "builtin" ; then
24442 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24443 fi
24444
24445 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24446 DISTDIR="wx\$(TOOLKIT)"
24447 else
24448 USE_GUI=0
24449
24450 TOOLKIT_DIR="base"
24451
24452 if test "$USE_WIN32" = 1 ; then
24453 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24454 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24455
24456 TOOLKIT="MSW"
24457 else
24458 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24459 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24460 fi
24461
24462 ALL_SOURCES="\$(ALL_SOURCES)"
24463 ALL_HEADERS="\$(ALL_HEADERS)"
24464
24465 PORT_FILES="\${top_srcdir}/src/files.lst"
24466
24467 GUIDIST="BASE_DIST"
24468 DISTDIR="wxBase"
24469 fi
24470
24471
24472
24473
24474 IODBC_C_SRC=""
24475
24476
24477 if test "$TOOLKIT" != "MSW" ; then
24478
24479 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24480
24481 if test "${ac_cv_header_sql_h+set}" = set; then
24482 echo "$as_me:$LINENO: checking for sql.h" >&5
24483 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24484 if test "${ac_cv_header_sql_h+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24486 fi
24487 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24488 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24489 else
24490 # Is the header compilable?
24491 echo "$as_me:$LINENO: checking sql.h usability" >&5
24492 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24493 cat >conftest.$ac_ext <<_ACEOF
24494 #line $LINENO "configure"
24495 /* confdefs.h. */
24496 _ACEOF
24497 cat confdefs.h >>conftest.$ac_ext
24498 cat >>conftest.$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24500 $ac_includes_default
24501 #include <sql.h>
24502 _ACEOF
24503 rm -f conftest.$ac_objext
24504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24505 (eval $ac_compile) 2>&5
24506 ac_status=$?
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); } &&
24509 { ac_try='test -s conftest.$ac_objext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24512 ac_status=$?
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 ac_header_compiler=yes
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 ac_header_compiler=no
24521 fi
24522 rm -f conftest.$ac_objext conftest.$ac_ext
24523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24524 echo "${ECHO_T}$ac_header_compiler" >&6
24525
24526 # Is the header present?
24527 echo "$as_me:$LINENO: checking sql.h presence" >&5
24528 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24529 cat >conftest.$ac_ext <<_ACEOF
24530 #line $LINENO "configure"
24531 /* confdefs.h. */
24532 _ACEOF
24533 cat confdefs.h >>conftest.$ac_ext
24534 cat >>conftest.$ac_ext <<_ACEOF
24535 /* end confdefs.h. */
24536 #include <sql.h>
24537 _ACEOF
24538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24540 ac_status=$?
24541 grep -v '^ *+' conftest.er1 >conftest.err
24542 rm -f conftest.er1
24543 cat conftest.err >&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); } >/dev/null; then
24546 if test -s conftest.err; then
24547 ac_cpp_err=$ac_c_preproc_warn_flag
24548 else
24549 ac_cpp_err=
24550 fi
24551 else
24552 ac_cpp_err=yes
24553 fi
24554 if test -z "$ac_cpp_err"; then
24555 ac_header_preproc=yes
24556 else
24557 echo "$as_me: failed program was:" >&5
24558 sed 's/^/| /' conftest.$ac_ext >&5
24559
24560 ac_header_preproc=no
24561 fi
24562 rm -f conftest.err conftest.$ac_ext
24563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24564 echo "${ECHO_T}$ac_header_preproc" >&6
24565
24566 # So? What about this header?
24567 case $ac_header_compiler:$ac_header_preproc in
24568 yes:no )
24569 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24570 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24571 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24572 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24573 (
24574 cat <<\_ASBOX
24575 ## ------------------------------------ ##
24576 ## Report this to bug-autoconf@gnu.org. ##
24577 ## ------------------------------------ ##
24578 _ASBOX
24579 ) |
24580 sed "s/^/$as_me: WARNING: /" >&2
24581 ;;
24582 no:yes )
24583 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24584 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24585 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24586 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24587 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24588 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24589 (
24590 cat <<\_ASBOX
24591 ## ------------------------------------ ##
24592 ## Report this to bug-autoconf@gnu.org. ##
24593 ## ------------------------------------ ##
24594 _ASBOX
24595 ) |
24596 sed "s/^/$as_me: WARNING: /" >&2
24597 ;;
24598 esac
24599 echo "$as_me:$LINENO: checking for sql.h" >&5
24600 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24601 if test "${ac_cv_header_sql_h+set}" = set; then
24602 echo $ECHO_N "(cached) $ECHO_C" >&6
24603 else
24604 ac_cv_header_sql_h=$ac_header_preproc
24605 fi
24606 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24607 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24608
24609 fi
24610 if test $ac_cv_header_sql_h = yes; then
24611 found_sql_h=1
24612 fi
24613
24614
24615 if test "x$found_sql_h" = "x1" ; then
24616 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24617 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24618 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24620 else
24621 ac_check_lib_save_LIBS=$LIBS
24622 LIBS="-liodbc $LIBS"
24623 cat >conftest.$ac_ext <<_ACEOF
24624 #line $LINENO "configure"
24625 /* confdefs.h. */
24626 _ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24630
24631 /* Override any gcc2 internal prototype to avoid an error. */
24632 #ifdef __cplusplus
24633 extern "C"
24634 #endif
24635 /* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24637 char SQLAllocEnv ();
24638 int
24639 main ()
24640 {
24641 SQLAllocEnv ();
24642 ;
24643 return 0;
24644 }
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } &&
24652 { ac_try='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24655 ac_status=$?
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 ac_cv_lib_iodbc_SQLAllocEnv=yes
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24662
24663 ac_cv_lib_iodbc_SQLAllocEnv=no
24664 fi
24665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24666 LIBS=$ac_check_lib_save_LIBS
24667 fi
24668 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24669 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24670 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24671 ODBC_LINK=" -liodbc"
24672 else
24673
24674 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24675 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24676 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 ac_check_lib_save_LIBS=$LIBS
24680 LIBS="-lunixodbc $LIBS"
24681 cat >conftest.$ac_ext <<_ACEOF
24682 #line $LINENO "configure"
24683 /* confdefs.h. */
24684 _ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24688
24689 /* Override any gcc2 internal prototype to avoid an error. */
24690 #ifdef __cplusplus
24691 extern "C"
24692 #endif
24693 /* We use char because int might match the return type of a gcc2
24694 builtin and then its argument prototype would still apply. */
24695 char SQLAllocEnv ();
24696 int
24697 main ()
24698 {
24699 SQLAllocEnv ();
24700 ;
24701 return 0;
24702 }
24703 _ACEOF
24704 rm -f conftest.$ac_objext conftest$ac_exeext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24706 (eval $ac_link) 2>&5
24707 ac_status=$?
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); } &&
24710 { ac_try='test -s conftest$ac_exeext'
24711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24712 (eval $ac_try) 2>&5
24713 ac_status=$?
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); }; }; then
24716 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24717 else
24718 echo "$as_me: failed program was:" >&5
24719 sed 's/^/| /' conftest.$ac_ext >&5
24720
24721 ac_cv_lib_unixodbc_SQLAllocEnv=no
24722 fi
24723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24724 LIBS=$ac_check_lib_save_LIBS
24725 fi
24726 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24727 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24728 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24729 ODBC_LINK=" -lunixodbc"
24730 else
24731
24732 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24733 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24734 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24735 echo $ECHO_N "(cached) $ECHO_C" >&6
24736 else
24737 ac_check_lib_save_LIBS=$LIBS
24738 LIBS="-lodbc $LIBS"
24739 cat >conftest.$ac_ext <<_ACEOF
24740 #line $LINENO "configure"
24741 /* confdefs.h. */
24742 _ACEOF
24743 cat confdefs.h >>conftest.$ac_ext
24744 cat >>conftest.$ac_ext <<_ACEOF
24745 /* end confdefs.h. */
24746
24747 /* Override any gcc2 internal prototype to avoid an error. */
24748 #ifdef __cplusplus
24749 extern "C"
24750 #endif
24751 /* We use char because int might match the return type of a gcc2
24752 builtin and then its argument prototype would still apply. */
24753 char SQLAllocEnv ();
24754 int
24755 main ()
24756 {
24757 SQLAllocEnv ();
24758 ;
24759 return 0;
24760 }
24761 _ACEOF
24762 rm -f conftest.$ac_objext conftest$ac_exeext
24763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24764 (eval $ac_link) 2>&5
24765 ac_status=$?
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } &&
24768 { ac_try='test -s conftest$ac_exeext'
24769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24770 (eval $ac_try) 2>&5
24771 ac_status=$?
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); }; }; then
24774 ac_cv_lib_odbc_SQLAllocEnv=yes
24775 else
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.$ac_ext >&5
24778
24779 ac_cv_lib_odbc_SQLAllocEnv=no
24780 fi
24781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24782 LIBS=$ac_check_lib_save_LIBS
24783 fi
24784 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24785 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24786 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24787 ODBC_LINK=" -lodbc"
24788 fi
24789
24790
24791 fi
24792
24793
24794 fi
24795
24796 fi
24797 if test "x$ODBC_LINK" = "x" ; then
24798 if test "$wxUSE_ODBC" = "sys" ; then
24799 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24800 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24801 { (exit 1); exit 1; }; }
24802 else
24803 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24804 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24805 wxUSE_ODBC=builtin
24806 fi
24807 else
24808 wxUSE_ODBC=sys
24809 fi
24810 fi
24811 if test "$wxUSE_ODBC" != "no" ; then
24812 cat >>confdefs.h <<\_ACEOF
24813 #define wxUSE_ODBC 1
24814 _ACEOF
24815
24816 if test "$wxUSE_ODBC" = "builtin" ; then
24817 cat >>confdefs.h <<\_ACEOF
24818 #define wxUSE_BUILTIN_IODBC 1
24819 _ACEOF
24820
24821 fi
24822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24823
24824 WXODBCFLAG="-D_IODBC_"
24825 fi
24826 fi
24827
24828 if test "$wxUSE_REGEX" = "builtin" ; then
24829 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24830 fi
24831 if test "$wxUSE_ZLIB" = "builtin" ; then
24832 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24833 fi
24834
24835
24836 USE_OPENGL=0
24837 if test "$wxUSE_OPENGL" = "yes"; then
24838 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24839 OPENGL_LIBS="-framework OpenGL -framework AGL"
24840 elif test "$wxUSE_MSW" = 1; then
24841 OPENGL_LIBS="-lopengl32 -lglu32"
24842 else
24843
24844
24845 ac_find_includes=
24846 for ac_dir in $SEARCH_INCLUDE /usr/include;
24847 do
24848 if test -f "$ac_dir/GL/gl.h"; then
24849 ac_find_includes=$ac_dir
24850 break
24851 fi
24852 done
24853
24854 if test "$ac_find_includes" != "" ; then
24855 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24856 echo "${ECHO_T}found in $ac_find_includes" >&6
24857
24858 if test "x$ac_find_includes" = "x/usr/include"; then
24859 ac_path_to_include=""
24860 else
24861 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24862 result=$?
24863 if test $result = 0; then
24864 ac_path_to_include=""
24865 else
24866 ac_path_to_include=" -I$ac_find_includes"
24867 fi
24868 fi
24869
24870 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24871 fi
24872
24873 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24874 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24875 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24876 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24877 echo $ECHO_N "(cached) $ECHO_C" >&6
24878 fi
24879 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24880 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24881 else
24882 # Is the header compilable?
24883 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24884 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24885 cat >conftest.$ac_ext <<_ACEOF
24886 #line $LINENO "configure"
24887 /* confdefs.h. */
24888 _ACEOF
24889 cat confdefs.h >>conftest.$ac_ext
24890 cat >>conftest.$ac_ext <<_ACEOF
24891 /* end confdefs.h. */
24892 $ac_includes_default
24893 #include <GL/gl.h>
24894 _ACEOF
24895 rm -f conftest.$ac_objext
24896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24897 (eval $ac_compile) 2>&5
24898 ac_status=$?
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } &&
24901 { ac_try='test -s conftest.$ac_objext'
24902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24903 (eval $ac_try) 2>&5
24904 ac_status=$?
24905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24906 (exit $ac_status); }; }; then
24907 ac_header_compiler=yes
24908 else
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.$ac_ext >&5
24911
24912 ac_header_compiler=no
24913 fi
24914 rm -f conftest.$ac_objext conftest.$ac_ext
24915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24916 echo "${ECHO_T}$ac_header_compiler" >&6
24917
24918 # Is the header present?
24919 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24920 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24921 cat >conftest.$ac_ext <<_ACEOF
24922 #line $LINENO "configure"
24923 /* confdefs.h. */
24924 _ACEOF
24925 cat confdefs.h >>conftest.$ac_ext
24926 cat >>conftest.$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24928 #include <GL/gl.h>
24929 _ACEOF
24930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24932 ac_status=$?
24933 grep -v '^ *+' conftest.er1 >conftest.err
24934 rm -f conftest.er1
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } >/dev/null; then
24938 if test -s conftest.err; then
24939 ac_cpp_err=$ac_c_preproc_warn_flag
24940 else
24941 ac_cpp_err=
24942 fi
24943 else
24944 ac_cpp_err=yes
24945 fi
24946 if test -z "$ac_cpp_err"; then
24947 ac_header_preproc=yes
24948 else
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.$ac_ext >&5
24951
24952 ac_header_preproc=no
24953 fi
24954 rm -f conftest.err conftest.$ac_ext
24955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24956 echo "${ECHO_T}$ac_header_preproc" >&6
24957
24958 # So? What about this header?
24959 case $ac_header_compiler:$ac_header_preproc in
24960 yes:no )
24961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24962 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24963 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24964 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24965 (
24966 cat <<\_ASBOX
24967 ## ------------------------------------ ##
24968 ## Report this to bug-autoconf@gnu.org. ##
24969 ## ------------------------------------ ##
24970 _ASBOX
24971 ) |
24972 sed "s/^/$as_me: WARNING: /" >&2
24973 ;;
24974 no:yes )
24975 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24976 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24977 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24978 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24979 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24980 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24981 (
24982 cat <<\_ASBOX
24983 ## ------------------------------------ ##
24984 ## Report this to bug-autoconf@gnu.org. ##
24985 ## ------------------------------------ ##
24986 _ASBOX
24987 ) |
24988 sed "s/^/$as_me: WARNING: /" >&2
24989 ;;
24990 esac
24991 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24992 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24993 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24994 echo $ECHO_N "(cached) $ECHO_C" >&6
24995 else
24996 ac_cv_header_GL_gl_h=$ac_header_preproc
24997 fi
24998 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24999 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25000
25001 fi
25002 if test $ac_cv_header_GL_gl_h = yes; then
25003
25004 found_gl=0
25005
25006 echo "$as_me:$LINENO: checking for -lGL" >&5
25007 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25008
25009 ac_find_libraries=
25010 for ac_dir in $SEARCH_LIB /usr/lib;
25011 do
25012 for ac_extension in a so sl dylib; do
25013 if test -f "$ac_dir/libGL.$ac_extension"; then
25014 ac_find_libraries=$ac_dir
25015 break 2
25016 fi
25017 done
25018 done
25019
25020 if test "$ac_find_libraries" != "" ; then
25021
25022 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25023 result=$?
25024 if test $result = 0; then
25025 ac_path_to_link=""
25026 else
25027 ac_path_to_link=" -L$ac_find_libraries"
25028 fi
25029
25030 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25031 LDFLAGS_GL="$ac_path_to_link"
25032 fi
25033
25034
25035 ac_find_libraries=
25036 for ac_dir in $SEARCH_LIB /usr/lib;
25037 do
25038 for ac_extension in a so sl dylib; do
25039 if test -f "$ac_dir/libGLU.$ac_extension"; then
25040 ac_find_libraries=$ac_dir
25041 break 2
25042 fi
25043 done
25044 done
25045
25046 if test "$ac_find_libraries" != "" ; then
25047
25048 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25049 result=$?
25050 if test $result = 0; then
25051 ac_path_to_link=""
25052 else
25053 ac_path_to_link=" -L$ac_find_libraries"
25054 fi
25055
25056 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25057 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25058 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25059 fi
25060
25061 found_gl=1
25062 OPENGL_LIBS="-lGL -lGLU"
25063 echo "$as_me:$LINENO: result: yes" >&5
25064 echo "${ECHO_T}yes" >&6
25065 fi
25066 fi
25067
25068 if test "$found_gl" != 1; then
25069 echo "$as_me:$LINENO: result: no" >&5
25070 echo "${ECHO_T}no" >&6
25071 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25072 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25073
25074 ac_find_libraries=
25075 for ac_dir in $SEARCH_LIB /usr/lib;
25076 do
25077 for ac_extension in a so sl dylib; do
25078 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25079 ac_find_libraries=$ac_dir
25080 break 2
25081 fi
25082 done
25083 done
25084
25085 if test "$ac_find_libraries" != "" ; then
25086
25087 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25088 result=$?
25089 if test $result = 0; then
25090 ac_path_to_link=""
25091 else
25092 ac_path_to_link=" -L$ac_find_libraries"
25093 fi
25094
25095 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25096 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25097 echo "$as_me:$LINENO: result: yes" >&5
25098 echo "${ECHO_T}yes" >&6
25099 else
25100 echo "$as_me:$LINENO: result: no" >&5
25101 echo "${ECHO_T}no" >&6
25102 fi
25103 fi
25104
25105 fi
25106
25107
25108
25109 if test "x$OPENGL_LIBS" = "x"; then
25110 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25111 echo "$as_me: error: OpenGL libraries not available" >&2;}
25112 { (exit 1); exit 1; }; }
25113 fi
25114 fi
25115
25116 if test "$wxUSE_OPENGL" = "yes"; then
25117 USE_OPENGL=1
25118 cat >>confdefs.h <<\_ACEOF
25119 #define wxUSE_OPENGL 1
25120 _ACEOF
25121
25122 cat >>confdefs.h <<\_ACEOF
25123 #define wxUSE_GLCANVAS 1
25124 _ACEOF
25125
25126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25127 fi
25128 fi
25129
25130 if test -z "$TOOLKIT_VPATH" ; then
25131 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25132 fi
25133
25134 if test -n "$TOOLKIT" ; then
25135 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25136 fi
25137
25138 UNICODE=0
25139 lib_unicode_suffix=
25140 if test "$wxUSE_UNICODE" = "yes"; then
25141 lib_unicode_suffix=u
25142 UNICODE=1
25143 fi
25144
25145 lib_debug_suffix=
25146 DEBUG_FLAG=0
25147 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25148 lib_debug_suffix=d
25149 DEBUG_FLAG=1
25150 fi
25151
25152 DEBUG_INFO=0
25153 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25154 DEBUG_INFO=1
25155 fi
25156
25157 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25158
25159 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25160 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25161
25162 if test "$cross_compiling" = "yes"; then
25163 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25164 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25165 HOST_SUFFIX="-${host_alias}"
25166 fi
25167
25168 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25169 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25170 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25171 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25172
25173 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25174 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25175
25176 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25177 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25178 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25179 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25180
25181 case "${host}" in
25182 *-*-cygwin* | *-*-mingw32* )
25183 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25184 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25185 ;;
25186
25187 *-*-darwin* )
25188
25189 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25190 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25191
25192 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25193 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25194 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25195 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25196
25197 if test "$wxUSE_MAC" = 1; then
25198 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25199 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25200 fi
25201 ;;
25202 esac
25203
25204 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25205 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25206
25207 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25208 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25209
25210 if test "$wxUSE_OPENGL" = "yes"; then
25211 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25212 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25213 fi
25214
25215
25216
25217 if test "$wxUSE_SHARED" = "yes"; then
25218 case "${host}" in
25219 *-pc-os2_emx | *-pc-os2-emx | \
25220 *-pc-msdosdjgpp )
25221 wxUSE_SHARED=no
25222 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25223 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25224 ;;
25225 esac
25226 fi
25227
25228 SHARED=0
25229 if test "$wxUSE_SHARED" = "yes"; then
25230 SHARED=1
25231
25232
25233 found_versioning=no
25234
25235
25236 if test $found_versioning = no ; then
25237 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25238 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25239 if test "${wx_cv_version_script+set}" = set; then
25240 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 else
25242
25243 echo "VER_1 { *; };" >conftest.sym
25244 echo "int main() { return 0; }" >conftest.cpp
25245
25246 if { ac_try='
25247 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25248 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25251 ac_status=$?
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; } ; then
25254 if test -s conftest.stderr ; then
25255 wx_cv_version_script=no
25256 else
25257 wx_cv_version_script=yes
25258 fi
25259 else
25260 wx_cv_version_script=no
25261 fi
25262 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25263
25264 fi
25265 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25266 echo "${ECHO_T}$wx_cv_version_script" >&6
25267 if test $wx_cv_version_script = yes ; then
25268 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25269 fi
25270 fi
25271
25272
25273 case "${host}" in
25274 *-*-linux* | *-*-gnu* )
25275 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25276 ;;
25277
25278 *-*-solaris2* )
25279 if test "$GCC" = yes ; then
25280 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25281
25282 saveLdflags="$LDFLAGS"
25283 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25284 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25285 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25286 cat >conftest.$ac_ext <<_ACEOF
25287 #line $LINENO "configure"
25288 /* confdefs.h. */
25289 _ACEOF
25290 cat confdefs.h >>conftest.$ac_ext
25291 cat >>conftest.$ac_ext <<_ACEOF
25292 /* end confdefs.h. */
25293
25294 int
25295 main ()
25296 {
25297
25298 ;
25299 return 0;
25300 }
25301 _ACEOF
25302 rm -f conftest.$ac_objext conftest$ac_exeext
25303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25304 (eval $ac_link) 2>&5
25305 ac_status=$?
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } &&
25308 { ac_try='test -s conftest$ac_exeext'
25309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25310 (eval $ac_try) 2>&5
25311 ac_status=$?
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); }; }; then
25314
25315 echo "$as_me:$LINENO: result: yes" >&5
25316 echo "${ECHO_T}yes" >&6
25317 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25318
25319 else
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25322
25323
25324 echo "$as_me:$LINENO: result: no" >&5
25325 echo "${ECHO_T}no" >&6
25326 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25327 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25328 LDFLAGS="$saveLdflags -Wl,-R,/"
25329 cat >conftest.$ac_ext <<_ACEOF
25330 #line $LINENO "configure"
25331 /* confdefs.h. */
25332 _ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25336
25337 int
25338 main ()
25339 {
25340
25341 ;
25342 return 0;
25343 }
25344 _ACEOF
25345 rm -f conftest.$ac_objext conftest$ac_exeext
25346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25347 (eval $ac_link) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357
25358 echo "$as_me:$LINENO: result: yes" >&5
25359 echo "${ECHO_T}yes" >&6
25360 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25361 else
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25364
25365
25366 echo "$as_me:$LINENO: result: no" >&5
25367 echo "${ECHO_T}no" >&6
25368
25369 fi
25370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25371
25372 fi
25373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25374 LDFLAGS="$saveLdflags"
25375 else
25376 SHARED_LD="${CXX} -G -o"
25377 PIC_FLAG="-KPIC"
25378 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25379 fi
25380 ;;
25381
25382 powerpc-*-darwin* )
25383 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25384 cat <<EOF >change-install-names
25385 #!/bin/sh
25386 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25387 inst_cmd="install_name_tool "
25388 for i in \${libnames} ; do
25389 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25390 done
25391 \${inst_cmd} \${3}
25392 EOF
25393 chmod +x change-install-names
25394 ;;
25395
25396 esac
25397
25398 if test "x$WX_TARGET_LIBRARY" = "x"; then
25399 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25400 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25401 fi
25402
25403 WX_TARGET_LIBRARY_TYPE="so"
25404 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25405 fi
25406
25407 if test "$wxUSE_SHARED" = "no"; then
25408
25409 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25410 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25411 fi
25412
25413 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25414 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25415 fi
25416
25417 if test "$wxUSE_OPENGL" = "yes"; then
25418 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25419 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25420 else
25421 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25422 fi
25423
25424 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25425 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25426
25427 WX_TARGET_LIBRARY_TYPE="a"
25428 INSTALL_LIBRARY='$(INSTALL_DATA)'
25429
25430 STATIC_FLAG="yes"
25431 else
25432 STATIC_FLAG="no"
25433 fi
25434
25435 MACRESCOMP="@#"
25436 MACSETFILE="@#"
25437 MACRESWXCONFIG="#"
25438 if test "$wxUSE_MAC" = 1; then
25439 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25440 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25441 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25442 # Extract the first word of "Rez", so it can be a program name with args.
25443 set dummy Rez; ac_word=$2
25444 echo "$as_me:$LINENO: checking for $ac_word" >&5
25445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25446 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 else
25449 if test -n "$RESCOMP"; then
25450 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25451 else
25452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25453 for as_dir in $PATH
25454 do
25455 IFS=$as_save_IFS
25456 test -z "$as_dir" && as_dir=.
25457 for ac_exec_ext in '' $ac_executable_extensions; do
25458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25459 ac_cv_prog_RESCOMP="Rez"
25460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25461 break 2
25462 fi
25463 done
25464 done
25465
25466 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25467 fi
25468 fi
25469 RESCOMP=$ac_cv_prog_RESCOMP
25470 if test -n "$RESCOMP"; then
25471 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25472 echo "${ECHO_T}$RESCOMP" >&6
25473 else
25474 echo "$as_me:$LINENO: result: no" >&5
25475 echo "${ECHO_T}no" >&6
25476 fi
25477
25478 # Extract the first word of "DeRez", so it can be a program name with args.
25479 set dummy DeRez; ac_word=$2
25480 echo "$as_me:$LINENO: checking for $ac_word" >&5
25481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25482 if test "${ac_cv_prog_DEREZ+set}" = set; then
25483 echo $ECHO_N "(cached) $ECHO_C" >&6
25484 else
25485 if test -n "$DEREZ"; then
25486 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25487 else
25488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25489 for as_dir in $PATH
25490 do
25491 IFS=$as_save_IFS
25492 test -z "$as_dir" && as_dir=.
25493 for ac_exec_ext in '' $ac_executable_extensions; do
25494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25495 ac_cv_prog_DEREZ="DeRez"
25496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25497 break 2
25498 fi
25499 done
25500 done
25501
25502 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25503 fi
25504 fi
25505 DEREZ=$ac_cv_prog_DEREZ
25506 if test -n "$DEREZ"; then
25507 echo "$as_me:$LINENO: result: $DEREZ" >&5
25508 echo "${ECHO_T}$DEREZ" >&6
25509 else
25510 echo "$as_me:$LINENO: result: no" >&5
25511 echo "${ECHO_T}no" >&6
25512 fi
25513
25514 # Extract the first word of "SetFile", so it can be a program name with args.
25515 set dummy SetFile; ac_word=$2
25516 echo "$as_me:$LINENO: checking for $ac_word" >&5
25517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25518 if test "${ac_cv_prog_SETFILE+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 else
25521 if test -n "$SETFILE"; then
25522 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25523 else
25524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25525 for as_dir in $PATH
25526 do
25527 IFS=$as_save_IFS
25528 test -z "$as_dir" && as_dir=.
25529 for ac_exec_ext in '' $ac_executable_extensions; do
25530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25531 ac_cv_prog_SETFILE="SetFile"
25532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25533 break 2
25534 fi
25535 done
25536 done
25537
25538 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25539 fi
25540 fi
25541 SETFILE=$ac_cv_prog_SETFILE
25542 if test -n "$SETFILE"; then
25543 echo "$as_me:$LINENO: result: $SETFILE" >&5
25544 echo "${ECHO_T}$SETFILE" >&6
25545 else
25546 echo "$as_me:$LINENO: result: no" >&5
25547 echo "${ECHO_T}no" >&6
25548 fi
25549
25550 MACOSX_BUNDLE="bundle"
25551 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25552 MACSETFILE="\$(SETFILE)"
25553 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25554 elif test "$wxUSE_COCOA" = 1; then
25555 # Extract the first word of "Rez", so it can be a program name with args.
25556 set dummy Rez; ac_word=$2
25557 echo "$as_me:$LINENO: checking for $ac_word" >&5
25558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25559 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 else
25562 if test -n "$RESCOMP"; then
25563 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25564 else
25565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25566 for as_dir in $PATH
25567 do
25568 IFS=$as_save_IFS
25569 test -z "$as_dir" && as_dir=.
25570 for ac_exec_ext in '' $ac_executable_extensions; do
25571 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25572 ac_cv_prog_RESCOMP="Rez"
25573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25574 break 2
25575 fi
25576 done
25577 done
25578
25579 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25580 fi
25581 fi
25582 RESCOMP=$ac_cv_prog_RESCOMP
25583 if test -n "$RESCOMP"; then
25584 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25585 echo "${ECHO_T}$RESCOMP" >&6
25586 else
25587 echo "$as_me:$LINENO: result: no" >&5
25588 echo "${ECHO_T}no" >&6
25589 fi
25590
25591 # Extract the first word of "DeRez", so it can be a program name with args.
25592 set dummy DeRez; ac_word=$2
25593 echo "$as_me:$LINENO: checking for $ac_word" >&5
25594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25595 if test "${ac_cv_prog_DEREZ+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25598 if test -n "$DEREZ"; then
25599 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25600 else
25601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25602 for as_dir in $PATH
25603 do
25604 IFS=$as_save_IFS
25605 test -z "$as_dir" && as_dir=.
25606 for ac_exec_ext in '' $ac_executable_extensions; do
25607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25608 ac_cv_prog_DEREZ="DeRez"
25609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25610 break 2
25611 fi
25612 done
25613 done
25614
25615 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25616 fi
25617 fi
25618 DEREZ=$ac_cv_prog_DEREZ
25619 if test -n "$DEREZ"; then
25620 echo "$as_me:$LINENO: result: $DEREZ" >&5
25621 echo "${ECHO_T}$DEREZ" >&6
25622 else
25623 echo "$as_me:$LINENO: result: no" >&5
25624 echo "${ECHO_T}no" >&6
25625 fi
25626
25627 # Extract the first word of "SetFile", so it can be a program name with args.
25628 set dummy SetFile; ac_word=$2
25629 echo "$as_me:$LINENO: checking for $ac_word" >&5
25630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25631 if test "${ac_cv_prog_SETFILE+set}" = set; then
25632 echo $ECHO_N "(cached) $ECHO_C" >&6
25633 else
25634 if test -n "$SETFILE"; then
25635 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25636 else
25637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25638 for as_dir in $PATH
25639 do
25640 IFS=$as_save_IFS
25641 test -z "$as_dir" && as_dir=.
25642 for ac_exec_ext in '' $ac_executable_extensions; do
25643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25644 ac_cv_prog_SETFILE="SetFile"
25645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25646 break 2
25647 fi
25648 done
25649 done
25650
25651 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25652 fi
25653 fi
25654 SETFILE=$ac_cv_prog_SETFILE
25655 if test -n "$SETFILE"; then
25656 echo "$as_me:$LINENO: result: $SETFILE" >&5
25657 echo "${ECHO_T}$SETFILE" >&6
25658 else
25659 echo "$as_me:$LINENO: result: no" >&5
25660 echo "${ECHO_T}no" >&6
25661 fi
25662
25663 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25664 MACSETFILE="\$(SETFILE)"
25665 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25666 else
25667 if test "$wxUSE_PM" = 1; then
25668 MACRESCOMP="emxbind -ep"
25669 fi
25670 fi
25671
25672
25673 echo "$as_me:$LINENO: checking for mode_t" >&5
25674 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25675 if test "${ac_cv_type_mode_t+set}" = set; then
25676 echo $ECHO_N "(cached) $ECHO_C" >&6
25677 else
25678 cat >conftest.$ac_ext <<_ACEOF
25679 #line $LINENO "configure"
25680 /* confdefs.h. */
25681 _ACEOF
25682 cat confdefs.h >>conftest.$ac_ext
25683 cat >>conftest.$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25685 $ac_includes_default
25686 int
25687 main ()
25688 {
25689 if ((mode_t *) 0)
25690 return 0;
25691 if (sizeof (mode_t))
25692 return 0;
25693 ;
25694 return 0;
25695 }
25696 _ACEOF
25697 rm -f conftest.$ac_objext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25699 (eval $ac_compile) 2>&5
25700 ac_status=$?
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); } &&
25703 { ac_try='test -s conftest.$ac_objext'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25706 ac_status=$?
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; }; then
25709 ac_cv_type_mode_t=yes
25710 else
25711 echo "$as_me: failed program was:" >&5
25712 sed 's/^/| /' conftest.$ac_ext >&5
25713
25714 ac_cv_type_mode_t=no
25715 fi
25716 rm -f conftest.$ac_objext conftest.$ac_ext
25717 fi
25718 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25719 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25720 if test $ac_cv_type_mode_t = yes; then
25721 :
25722 else
25723
25724 cat >>confdefs.h <<_ACEOF
25725 #define mode_t int
25726 _ACEOF
25727
25728 fi
25729
25730 echo "$as_me:$LINENO: checking for off_t" >&5
25731 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25732 if test "${ac_cv_type_off_t+set}" = set; then
25733 echo $ECHO_N "(cached) $ECHO_C" >&6
25734 else
25735 cat >conftest.$ac_ext <<_ACEOF
25736 #line $LINENO "configure"
25737 /* confdefs.h. */
25738 _ACEOF
25739 cat confdefs.h >>conftest.$ac_ext
25740 cat >>conftest.$ac_ext <<_ACEOF
25741 /* end confdefs.h. */
25742 $ac_includes_default
25743 int
25744 main ()
25745 {
25746 if ((off_t *) 0)
25747 return 0;
25748 if (sizeof (off_t))
25749 return 0;
25750 ;
25751 return 0;
25752 }
25753 _ACEOF
25754 rm -f conftest.$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>&5
25757 ac_status=$?
25758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25759 (exit $ac_status); } &&
25760 { ac_try='test -s conftest.$ac_objext'
25761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25762 (eval $ac_try) 2>&5
25763 ac_status=$?
25764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25765 (exit $ac_status); }; }; then
25766 ac_cv_type_off_t=yes
25767 else
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.$ac_ext >&5
25770
25771 ac_cv_type_off_t=no
25772 fi
25773 rm -f conftest.$ac_objext conftest.$ac_ext
25774 fi
25775 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25776 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25777 if test $ac_cv_type_off_t = yes; then
25778 :
25779 else
25780
25781 cat >>confdefs.h <<_ACEOF
25782 #define off_t long
25783 _ACEOF
25784
25785 fi
25786
25787 echo "$as_me:$LINENO: checking for pid_t" >&5
25788 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25789 if test "${ac_cv_type_pid_t+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 else
25792 cat >conftest.$ac_ext <<_ACEOF
25793 #line $LINENO "configure"
25794 /* confdefs.h. */
25795 _ACEOF
25796 cat confdefs.h >>conftest.$ac_ext
25797 cat >>conftest.$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 $ac_includes_default
25800 int
25801 main ()
25802 {
25803 if ((pid_t *) 0)
25804 return 0;
25805 if (sizeof (pid_t))
25806 return 0;
25807 ;
25808 return 0;
25809 }
25810 _ACEOF
25811 rm -f conftest.$ac_objext
25812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25813 (eval $ac_compile) 2>&5
25814 ac_status=$?
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); } &&
25817 { ac_try='test -s conftest.$ac_objext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25820 ac_status=$?
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_type_pid_t=yes
25824 else
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25827
25828 ac_cv_type_pid_t=no
25829 fi
25830 rm -f conftest.$ac_objext conftest.$ac_ext
25831 fi
25832 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25833 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25834 if test $ac_cv_type_pid_t = yes; then
25835 :
25836 else
25837
25838 cat >>confdefs.h <<_ACEOF
25839 #define pid_t int
25840 _ACEOF
25841
25842 fi
25843
25844 echo "$as_me:$LINENO: checking for size_t" >&5
25845 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25846 if test "${ac_cv_type_size_t+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 else
25849 cat >conftest.$ac_ext <<_ACEOF
25850 #line $LINENO "configure"
25851 /* confdefs.h. */
25852 _ACEOF
25853 cat confdefs.h >>conftest.$ac_ext
25854 cat >>conftest.$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 $ac_includes_default
25857 int
25858 main ()
25859 {
25860 if ((size_t *) 0)
25861 return 0;
25862 if (sizeof (size_t))
25863 return 0;
25864 ;
25865 return 0;
25866 }
25867 _ACEOF
25868 rm -f conftest.$ac_objext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>&5
25871 ac_status=$?
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); } &&
25874 { ac_try='test -s conftest.$ac_objext'
25875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876 (eval $ac_try) 2>&5
25877 ac_status=$?
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); }; }; then
25880 ac_cv_type_size_t=yes
25881 else
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.$ac_ext >&5
25884
25885 ac_cv_type_size_t=no
25886 fi
25887 rm -f conftest.$ac_objext conftest.$ac_ext
25888 fi
25889 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25890 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25891 if test $ac_cv_type_size_t = yes; then
25892 :
25893 else
25894
25895 cat >>confdefs.h <<_ACEOF
25896 #define size_t unsigned
25897 _ACEOF
25898
25899 fi
25900
25901 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25902 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25903 if test "${ac_cv_type_uid_t+set}" = set; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 else
25906 cat >conftest.$ac_ext <<_ACEOF
25907 #line $LINENO "configure"
25908 /* confdefs.h. */
25909 _ACEOF
25910 cat confdefs.h >>conftest.$ac_ext
25911 cat >>conftest.$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25913 #include <sys/types.h>
25914
25915 _ACEOF
25916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25917 $EGREP "uid_t" >/dev/null 2>&1; then
25918 ac_cv_type_uid_t=yes
25919 else
25920 ac_cv_type_uid_t=no
25921 fi
25922 rm -f conftest*
25923
25924 fi
25925 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25926 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25927 if test $ac_cv_type_uid_t = no; then
25928
25929 cat >>confdefs.h <<\_ACEOF
25930 #define uid_t int
25931 _ACEOF
25932
25933
25934 cat >>confdefs.h <<\_ACEOF
25935 #define gid_t int
25936 _ACEOF
25937
25938 fi
25939
25940
25941
25942
25943 ac_ext=cc
25944 ac_cpp='$CXXCPP $CPPFLAGS'
25945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25948
25949 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25950 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25951 if test "${wx_cv_size_t_is_uint+set}" = set; then
25952 echo $ECHO_N "(cached) $ECHO_C" >&6
25953 else
25954
25955 cat >conftest.$ac_ext <<_ACEOF
25956 #line $LINENO "configure"
25957 /* confdefs.h. */
25958 _ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962 #include <stddef.h>
25963 int
25964 main ()
25965 {
25966
25967 return 0; }
25968
25969 struct Foo { void foo(size_t); void foo(unsigned int); };
25970
25971 int bar() {
25972
25973 ;
25974 return 0;
25975 }
25976 _ACEOF
25977 rm -f conftest.$ac_objext
25978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25979 (eval $ac_compile) 2>&5
25980 ac_status=$?
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } &&
25983 { ac_try='test -s conftest.$ac_objext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25986 ac_status=$?
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 wx_cv_size_t_is_uint=no
25990 else
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.$ac_ext >&5
25993
25994 wx_cv_size_t_is_uint=yes
25995
25996 fi
25997 rm -f conftest.$ac_objext conftest.$ac_ext
25998
25999
26000 fi
26001 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26002 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26003
26004 if test "$wx_cv_size_t_is_uint" = "yes"; then
26005 cat >>confdefs.h <<\_ACEOF
26006 #define wxSIZE_T_IS_UINT 1
26007 _ACEOF
26008
26009 else
26010 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26011 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26012 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26013 echo $ECHO_N "(cached) $ECHO_C" >&6
26014 else
26015 cat >conftest.$ac_ext <<_ACEOF
26016 #line $LINENO "configure"
26017 /* confdefs.h. */
26018 _ACEOF
26019 cat confdefs.h >>conftest.$ac_ext
26020 cat >>conftest.$ac_ext <<_ACEOF
26021 /* end confdefs.h. */
26022 #include <stddef.h>
26023 int
26024 main ()
26025 {
26026
26027 return 0; }
26028
26029 struct Foo { void foo(size_t); void foo(unsigned long); };
26030
26031 int bar() {
26032
26033 ;
26034 return 0;
26035 }
26036 _ACEOF
26037 rm -f conftest.$ac_objext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 wx_cv_size_t_is_ulong=no
26050 else
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26053
26054 wx_cv_size_t_is_ulong=yes
26055
26056 fi
26057 rm -f conftest.$ac_objext conftest.$ac_ext
26058
26059 fi
26060 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26061 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26062
26063 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26064 cat >>confdefs.h <<\_ACEOF
26065 #define wxSIZE_T_IS_ULONG 1
26066 _ACEOF
26067
26068 fi
26069 fi
26070
26071 ac_ext=c
26072 ac_cpp='$CPP $CPPFLAGS'
26073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26076
26077
26078
26079 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26080 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26081 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26082 echo $ECHO_N "(cached) $ECHO_C" >&6
26083 else
26084
26085 cat >conftest.$ac_ext <<_ACEOF
26086 #line $LINENO "configure"
26087 /* confdefs.h. */
26088 _ACEOF
26089 cat confdefs.h >>conftest.$ac_ext
26090 cat >>conftest.$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26092 #include <pwd.h>
26093 int
26094 main ()
26095 {
26096
26097 char *p;
26098 struct passwd *pw;
26099 p = pw->pw_gecos;
26100
26101 ;
26102 return 0;
26103 }
26104 _ACEOF
26105 rm -f conftest.$ac_objext
26106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26107 (eval $ac_compile) 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } &&
26111 { ac_try='test -s conftest.$ac_objext'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26114 ac_status=$?
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; }; then
26117
26118 wx_cv_struct_pw_gecos=yes
26119
26120 else
26121 echo "$as_me: failed program was:" >&5
26122 sed 's/^/| /' conftest.$ac_ext >&5
26123
26124
26125 wx_cv_struct_pw_gecos=no
26126
26127
26128 fi
26129 rm -f conftest.$ac_objext conftest.$ac_ext
26130
26131
26132 fi
26133 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26134 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26135
26136 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26137 cat >>confdefs.h <<\_ACEOF
26138 #define HAVE_PW_GECOS 1
26139 _ACEOF
26140
26141 fi
26142
26143
26144 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26145 cat >>confdefs.h <<\_ACEOF
26146 #define wxUSE_WCHAR_T 1
26147 _ACEOF
26148
26149
26150 WCSLEN_FOUND=0
26151 WCHAR_LINK=
26152
26153 for ac_func in wcslen
26154 do
26155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26156 echo "$as_me:$LINENO: checking for $ac_func" >&5
26157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26158 if eval "test \"\${$as_ac_var+set}\" = set"; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26160 else
26161 cat >conftest.$ac_ext <<_ACEOF
26162 #line $LINENO "configure"
26163 /* confdefs.h. */
26164 _ACEOF
26165 cat confdefs.h >>conftest.$ac_ext
26166 cat >>conftest.$ac_ext <<_ACEOF
26167 /* end confdefs.h. */
26168 /* System header to define __stub macros and hopefully few prototypes,
26169 which can conflict with char $ac_func (); below.
26170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26171 <limits.h> exists even on freestanding compilers. */
26172 #ifdef __STDC__
26173 # include <limits.h>
26174 #else
26175 # include <assert.h>
26176 #endif
26177 /* Override any gcc2 internal prototype to avoid an error. */
26178 #ifdef __cplusplus
26179 extern "C"
26180 {
26181 #endif
26182 /* We use char because int might match the return type of a gcc2
26183 builtin and then its argument prototype would still apply. */
26184 char $ac_func ();
26185 /* The GNU C library defines this for functions which it implements
26186 to always fail with ENOSYS. Some functions are actually named
26187 something starting with __ and the normal name is an alias. */
26188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26189 choke me
26190 #else
26191 char (*f) () = $ac_func;
26192 #endif
26193 #ifdef __cplusplus
26194 }
26195 #endif
26196
26197 int
26198 main ()
26199 {
26200 return f != $ac_func;
26201 ;
26202 return 0;
26203 }
26204 _ACEOF
26205 rm -f conftest.$ac_objext conftest$ac_exeext
26206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26207 (eval $ac_link) 2>&5
26208 ac_status=$?
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); } &&
26211 { ac_try='test -s conftest$ac_exeext'
26212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26213 (eval $ac_try) 2>&5
26214 ac_status=$?
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); }; }; then
26217 eval "$as_ac_var=yes"
26218 else
26219 echo "$as_me: failed program was:" >&5
26220 sed 's/^/| /' conftest.$ac_ext >&5
26221
26222 eval "$as_ac_var=no"
26223 fi
26224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26225 fi
26226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26228 if test `eval echo '${'$as_ac_var'}'` = yes; then
26229 cat >>confdefs.h <<_ACEOF
26230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26231 _ACEOF
26232 WCSLEN_FOUND=1
26233 fi
26234 done
26235
26236
26237 if test "$WCSLEN_FOUND" = 0; then
26238 if test "$TOOLKIT" = "MSW"; then
26239 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26240 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26241 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 else
26244 ac_check_lib_save_LIBS=$LIBS
26245 LIBS="-lmsvcrt $LIBS"
26246 cat >conftest.$ac_ext <<_ACEOF
26247 #line $LINENO "configure"
26248 /* confdefs.h. */
26249 _ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26253
26254 /* Override any gcc2 internal prototype to avoid an error. */
26255 #ifdef __cplusplus
26256 extern "C"
26257 #endif
26258 /* We use char because int might match the return type of a gcc2
26259 builtin and then its argument prototype would still apply. */
26260 char wcslen ();
26261 int
26262 main ()
26263 {
26264 wcslen ();
26265 ;
26266 return 0;
26267 }
26268 _ACEOF
26269 rm -f conftest.$ac_objext conftest$ac_exeext
26270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26271 (eval $ac_link) 2>&5
26272 ac_status=$?
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); } &&
26275 { ac_try='test -s conftest$ac_exeext'
26276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26277 (eval $ac_try) 2>&5
26278 ac_status=$?
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); }; }; then
26281 ac_cv_lib_msvcrt_wcslen=yes
26282 else
26283 echo "$as_me: failed program was:" >&5
26284 sed 's/^/| /' conftest.$ac_ext >&5
26285
26286 ac_cv_lib_msvcrt_wcslen=no
26287 fi
26288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26289 LIBS=$ac_check_lib_save_LIBS
26290 fi
26291 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26292 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26293 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26294 WCHAR_OK=1
26295 fi
26296
26297 else
26298 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26299 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26300 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 else
26303 ac_check_lib_save_LIBS=$LIBS
26304 LIBS="-lw $LIBS"
26305 cat >conftest.$ac_ext <<_ACEOF
26306 #line $LINENO "configure"
26307 /* confdefs.h. */
26308 _ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312
26313 /* Override any gcc2 internal prototype to avoid an error. */
26314 #ifdef __cplusplus
26315 extern "C"
26316 #endif
26317 /* We use char because int might match the return type of a gcc2
26318 builtin and then its argument prototype would still apply. */
26319 char wcslen ();
26320 int
26321 main ()
26322 {
26323 wcslen ();
26324 ;
26325 return 0;
26326 }
26327 _ACEOF
26328 rm -f conftest.$ac_objext conftest$ac_exeext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26330 (eval $ac_link) 2>&5
26331 ac_status=$?
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try='test -s conftest$ac_exeext'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; }; then
26340 ac_cv_lib_w_wcslen=yes
26341 else
26342 echo "$as_me: failed program was:" >&5
26343 sed 's/^/| /' conftest.$ac_ext >&5
26344
26345 ac_cv_lib_w_wcslen=no
26346 fi
26347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26348 LIBS=$ac_check_lib_save_LIBS
26349 fi
26350 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26351 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26352 if test $ac_cv_lib_w_wcslen = yes; then
26353
26354 WCHAR_LINK=" -lw"
26355 WCSLEN_FOUND=1
26356
26357 fi
26358
26359 fi
26360 fi
26361
26362 if test "$WCSLEN_FOUND" = 1; then
26363 cat >>confdefs.h <<\_ACEOF
26364 #define HAVE_WCSLEN 1
26365 _ACEOF
26366
26367 fi
26368
26369
26370 for ac_func in wcsrtombs
26371 do
26372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26373 echo "$as_me:$LINENO: checking for $ac_func" >&5
26374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26375 if eval "test \"\${$as_ac_var+set}\" = set"; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 else
26378 cat >conftest.$ac_ext <<_ACEOF
26379 #line $LINENO "configure"
26380 /* confdefs.h. */
26381 _ACEOF
26382 cat confdefs.h >>conftest.$ac_ext
26383 cat >>conftest.$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385 /* System header to define __stub macros and hopefully few prototypes,
26386 which can conflict with char $ac_func (); below.
26387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26388 <limits.h> exists even on freestanding compilers. */
26389 #ifdef __STDC__
26390 # include <limits.h>
26391 #else
26392 # include <assert.h>
26393 #endif
26394 /* Override any gcc2 internal prototype to avoid an error. */
26395 #ifdef __cplusplus
26396 extern "C"
26397 {
26398 #endif
26399 /* We use char because int might match the return type of a gcc2
26400 builtin and then its argument prototype would still apply. */
26401 char $ac_func ();
26402 /* The GNU C library defines this for functions which it implements
26403 to always fail with ENOSYS. Some functions are actually named
26404 something starting with __ and the normal name is an alias. */
26405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26406 choke me
26407 #else
26408 char (*f) () = $ac_func;
26409 #endif
26410 #ifdef __cplusplus
26411 }
26412 #endif
26413
26414 int
26415 main ()
26416 {
26417 return f != $ac_func;
26418 ;
26419 return 0;
26420 }
26421 _ACEOF
26422 rm -f conftest.$ac_objext conftest$ac_exeext
26423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26424 (eval $ac_link) 2>&5
26425 ac_status=$?
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try='test -s conftest$ac_exeext'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26431 ac_status=$?
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; }; then
26434 eval "$as_ac_var=yes"
26435 else
26436 echo "$as_me: failed program was:" >&5
26437 sed 's/^/| /' conftest.$ac_ext >&5
26438
26439 eval "$as_ac_var=no"
26440 fi
26441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26442 fi
26443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26445 if test `eval echo '${'$as_ac_var'}'` = yes; then
26446 cat >>confdefs.h <<_ACEOF
26447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26448 _ACEOF
26449
26450 fi
26451 done
26452
26453 else
26454 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26455 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26456 fi
26457
26458
26459
26460 ac_ext=cc
26461 ac_cpp='$CXXCPP $CPPFLAGS'
26462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26465
26466
26467
26468 for ac_func in vsnprintf
26469 do
26470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26471 echo "$as_me:$LINENO: checking for $ac_func" >&5
26472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26473 if eval "test \"\${$as_ac_var+set}\" = set"; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 else
26476 cat >conftest.$ac_ext <<_ACEOF
26477 #line $LINENO "configure"
26478 /* confdefs.h. */
26479 _ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 /* System header to define __stub macros and hopefully few prototypes,
26484 which can conflict with char $ac_func (); below.
26485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26486 <limits.h> exists even on freestanding compilers. */
26487 #ifdef __STDC__
26488 # include <limits.h>
26489 #else
26490 # include <assert.h>
26491 #endif
26492 /* Override any gcc2 internal prototype to avoid an error. */
26493 #ifdef __cplusplus
26494 extern "C"
26495 {
26496 #endif
26497 /* We use char because int might match the return type of a gcc2
26498 builtin and then its argument prototype would still apply. */
26499 char $ac_func ();
26500 /* The GNU C library defines this for functions which it implements
26501 to always fail with ENOSYS. Some functions are actually named
26502 something starting with __ and the normal name is an alias. */
26503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26504 choke me
26505 #else
26506 char (*f) () = $ac_func;
26507 #endif
26508 #ifdef __cplusplus
26509 }
26510 #endif
26511
26512 int
26513 main ()
26514 {
26515 return f != $ac_func;
26516 ;
26517 return 0;
26518 }
26519 _ACEOF
26520 rm -f conftest.$ac_objext conftest$ac_exeext
26521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26529 ac_status=$?
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 eval "$as_ac_var=yes"
26533 else
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.$ac_ext >&5
26536
26537 eval "$as_ac_var=no"
26538 fi
26539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26540 fi
26541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26543 if test `eval echo '${'$as_ac_var'}'` = yes; then
26544 cat >>confdefs.h <<_ACEOF
26545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26546 _ACEOF
26547
26548 fi
26549 done
26550
26551
26552 if test "$ac_cv_func_vsnprintf" = "yes"; then
26553 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26554 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26555 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 else
26558
26559 cat >conftest.$ac_ext <<_ACEOF
26560 #line $LINENO "configure"
26561 /* confdefs.h. */
26562 _ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566
26567 #include <stdio.h>
26568 #include <stdarg.h>
26569
26570 int
26571 main ()
26572 {
26573
26574 char *buf;
26575 va_list ap;
26576 vsnprintf(buf, 10u, "%s", ap);
26577
26578 ;
26579 return 0;
26580 }
26581 _ACEOF
26582 rm -f conftest.$ac_objext
26583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26584 (eval $ac_compile) 2>&5
26585 ac_status=$?
26586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26587 (exit $ac_status); } &&
26588 { ac_try='test -s conftest.$ac_objext'
26589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26590 (eval $ac_try) 2>&5
26591 ac_status=$?
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); }; }; then
26594 wx_cv_func_vsnprintf_decl=yes
26595 else
26596 echo "$as_me: failed program was:" >&5
26597 sed 's/^/| /' conftest.$ac_ext >&5
26598
26599 wx_cv_func_vsnprintf_decl=no
26600
26601 fi
26602 rm -f conftest.$ac_objext conftest.$ac_ext
26603
26604
26605 fi
26606 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26607 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26608
26609 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26610 cat >>confdefs.h <<\_ACEOF
26611 #define HAVE_VSNPRINTF_DECL 1
26612 _ACEOF
26613
26614 fi
26615 fi
26616
26617 if test "$wxUSE_UNICODE" = yes; then
26618
26619
26620
26621 for ac_func in fputwc wprintf vswprintf
26622 do
26623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26624 echo "$as_me:$LINENO: checking for $ac_func" >&5
26625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26626 if eval "test \"\${$as_ac_var+set}\" = set"; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26628 else
26629 cat >conftest.$ac_ext <<_ACEOF
26630 #line $LINENO "configure"
26631 /* confdefs.h. */
26632 _ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636 /* System header to define __stub macros and hopefully few prototypes,
26637 which can conflict with char $ac_func (); below.
26638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26639 <limits.h> exists even on freestanding compilers. */
26640 #ifdef __STDC__
26641 # include <limits.h>
26642 #else
26643 # include <assert.h>
26644 #endif
26645 /* Override any gcc2 internal prototype to avoid an error. */
26646 #ifdef __cplusplus
26647 extern "C"
26648 {
26649 #endif
26650 /* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26652 char $ac_func ();
26653 /* The GNU C library defines this for functions which it implements
26654 to always fail with ENOSYS. Some functions are actually named
26655 something starting with __ and the normal name is an alias. */
26656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26657 choke me
26658 #else
26659 char (*f) () = $ac_func;
26660 #endif
26661 #ifdef __cplusplus
26662 }
26663 #endif
26664
26665 int
26666 main ()
26667 {
26668 return f != $ac_func;
26669 ;
26670 return 0;
26671 }
26672 _ACEOF
26673 rm -f conftest.$ac_objext conftest$ac_exeext
26674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 eval "$as_ac_var=yes"
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26689
26690 eval "$as_ac_var=no"
26691 fi
26692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26693 fi
26694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26696 if test `eval echo '${'$as_ac_var'}'` = yes; then
26697 cat >>confdefs.h <<_ACEOF
26698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26699 _ACEOF
26700
26701 fi
26702 done
26703
26704
26705 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26706 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26707 cat >conftest.$ac_ext <<_ACEOF
26708 #line $LINENO "configure"
26709 /* confdefs.h. */
26710 _ACEOF
26711 cat confdefs.h >>conftest.$ac_ext
26712 cat >>conftest.$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26714 #include <wchar.h>
26715 int
26716 main ()
26717 {
26718 &_vsnwprintf;
26719 ;
26720 return 0;
26721 }
26722 _ACEOF
26723 rm -f conftest.$ac_objext
26724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26725 (eval $ac_compile) 2>&5
26726 ac_status=$?
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } &&
26729 { ac_try='test -s conftest.$ac_objext'
26730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26731 (eval $ac_try) 2>&5
26732 ac_status=$?
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); }; }; then
26735 echo "$as_me:$LINENO: result: yes" >&5
26736 echo "${ECHO_T}yes" >&6
26737 cat >>confdefs.h <<\_ACEOF
26738 #define HAVE__VSNWPRINTF 1
26739 _ACEOF
26740
26741 else
26742 echo "$as_me: failed program was:" >&5
26743 sed 's/^/| /' conftest.$ac_ext >&5
26744
26745 echo "$as_me:$LINENO: result: no" >&5
26746 echo "${ECHO_T}no" >&6
26747 fi
26748 rm -f conftest.$ac_objext conftest.$ac_ext;
26749 fi
26750
26751 ac_ext=c
26752 ac_cpp='$CPP $CPPFLAGS'
26753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26756
26757
26758
26759
26760 if test "$TOOLKIT" != "MSW"; then
26761
26762
26763
26764
26765 ac_ext=cc
26766 ac_cpp='$CXXCPP $CPPFLAGS'
26767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26770
26771
26772
26773
26774 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26775 if test "${with_libiconv_prefix+set}" = set; then
26776 withval="$with_libiconv_prefix"
26777
26778 for dir in `echo "$withval" | tr : ' '`; do
26779 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26780 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26781 done
26782
26783 fi;
26784
26785 echo "$as_me:$LINENO: checking for iconv" >&5
26786 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26787 if test "${am_cv_func_iconv+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26789 else
26790
26791 am_cv_func_iconv="no, consider installing GNU libiconv"
26792 am_cv_lib_iconv=no
26793 cat >conftest.$ac_ext <<_ACEOF
26794 #line $LINENO "configure"
26795 /* confdefs.h. */
26796 _ACEOF
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 #include <stdlib.h>
26801 #include <iconv.h>
26802 int
26803 main ()
26804 {
26805 iconv_t cd = iconv_open("","");
26806 iconv(cd,NULL,NULL,NULL,NULL);
26807 iconv_close(cd);
26808 ;
26809 return 0;
26810 }
26811 _ACEOF
26812 rm -f conftest.$ac_objext conftest$ac_exeext
26813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26814 (eval $ac_link) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } &&
26818 { ac_try='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 am_cv_func_iconv=yes
26825 else
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26828
26829 fi
26830 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26831 if test "$am_cv_func_iconv" != yes; then
26832 am_save_LIBS="$LIBS"
26833 LIBS="$LIBS -liconv"
26834 cat >conftest.$ac_ext <<_ACEOF
26835 #line $LINENO "configure"
26836 /* confdefs.h. */
26837 _ACEOF
26838 cat confdefs.h >>conftest.$ac_ext
26839 cat >>conftest.$ac_ext <<_ACEOF
26840 /* end confdefs.h. */
26841 #include <stdlib.h>
26842 #include <iconv.h>
26843 int
26844 main ()
26845 {
26846 iconv_t cd = iconv_open("","");
26847 iconv(cd,NULL,NULL,NULL,NULL);
26848 iconv_close(cd);
26849 ;
26850 return 0;
26851 }
26852 _ACEOF
26853 rm -f conftest.$ac_objext conftest$ac_exeext
26854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26855 (eval $ac_link) 2>&5
26856 ac_status=$?
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); } &&
26859 { ac_try='test -s conftest$ac_exeext'
26860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861 (eval $ac_try) 2>&5
26862 ac_status=$?
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); }; }; then
26865 am_cv_lib_iconv=yes
26866 am_cv_func_iconv=yes
26867 else
26868 echo "$as_me: failed program was:" >&5
26869 sed 's/^/| /' conftest.$ac_ext >&5
26870
26871 fi
26872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26873 LIBS="$am_save_LIBS"
26874 fi
26875
26876 fi
26877 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26878 echo "${ECHO_T}$am_cv_func_iconv" >&6
26879 if test "$am_cv_func_iconv" = yes; then
26880
26881 cat >>confdefs.h <<\_ACEOF
26882 #define HAVE_ICONV 1
26883 _ACEOF
26884
26885 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26886 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26887 if test "${wx_cv_func_iconv_const+set}" = set; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 else
26890 cat >conftest.$ac_ext <<_ACEOF
26891 #line $LINENO "configure"
26892 /* confdefs.h. */
26893 _ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897
26898 #include <stdlib.h>
26899 #include <iconv.h>
26900 extern
26901 #ifdef __cplusplus
26902 "C"
26903 #endif
26904 #if defined(__STDC__) || defined(__cplusplus)
26905 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26906 #else
26907 size_t iconv();
26908 #endif
26909
26910 int
26911 main ()
26912 {
26913
26914 ;
26915 return 0;
26916 }
26917 _ACEOF
26918 rm -f conftest.$ac_objext
26919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26920 (eval $ac_compile) 2>&5
26921 ac_status=$?
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } &&
26924 { ac_try='test -s conftest.$ac_objext'
26925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26926 (eval $ac_try) 2>&5
26927 ac_status=$?
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); }; }; then
26930 wx_cv_func_iconv_const="no"
26931 else
26932 echo "$as_me: failed program was:" >&5
26933 sed 's/^/| /' conftest.$ac_ext >&5
26934
26935 wx_cv_func_iconv_const="yes"
26936
26937 fi
26938 rm -f conftest.$ac_objext conftest.$ac_ext
26939
26940 fi
26941 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26942 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26943
26944 iconv_const=
26945 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26946 iconv_const="const"
26947 fi
26948
26949
26950 cat >>confdefs.h <<_ACEOF
26951 #define ICONV_CONST $iconv_const
26952 _ACEOF
26953
26954 fi
26955 LIBICONV=
26956 if test "$am_cv_lib_iconv" = yes; then
26957 LIBICONV="-liconv"
26958 fi
26959
26960
26961 LIBS="$LIBICONV $LIBS"
26962 ac_ext=c
26963 ac_cpp='$CPP $CPPFLAGS'
26964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26967
26968
26969 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26970
26971 for ac_func in sigaction
26972 do
26973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26974 echo "$as_me:$LINENO: checking for $ac_func" >&5
26975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26976 if eval "test \"\${$as_ac_var+set}\" = set"; then
26977 echo $ECHO_N "(cached) $ECHO_C" >&6
26978 else
26979 cat >conftest.$ac_ext <<_ACEOF
26980 #line $LINENO "configure"
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 /* System header to define __stub macros and hopefully few prototypes,
26987 which can conflict with char $ac_func (); below.
26988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26989 <limits.h> exists even on freestanding compilers. */
26990 #ifdef __STDC__
26991 # include <limits.h>
26992 #else
26993 # include <assert.h>
26994 #endif
26995 /* Override any gcc2 internal prototype to avoid an error. */
26996 #ifdef __cplusplus
26997 extern "C"
26998 {
26999 #endif
27000 /* We use char because int might match the return type of a gcc2
27001 builtin and then its argument prototype would still apply. */
27002 char $ac_func ();
27003 /* The GNU C library defines this for functions which it implements
27004 to always fail with ENOSYS. Some functions are actually named
27005 something starting with __ and the normal name is an alias. */
27006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27007 choke me
27008 #else
27009 char (*f) () = $ac_func;
27010 #endif
27011 #ifdef __cplusplus
27012 }
27013 #endif
27014
27015 int
27016 main ()
27017 {
27018 return f != $ac_func;
27019 ;
27020 return 0;
27021 }
27022 _ACEOF
27023 rm -f conftest.$ac_objext conftest$ac_exeext
27024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27025 (eval $ac_link) 2>&5
27026 ac_status=$?
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } &&
27029 { ac_try='test -s conftest$ac_exeext'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27032 ac_status=$?
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; }; then
27035 eval "$as_ac_var=yes"
27036 else
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27039
27040 eval "$as_ac_var=no"
27041 fi
27042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27043 fi
27044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27046 if test `eval echo '${'$as_ac_var'}'` = yes; then
27047 cat >>confdefs.h <<_ACEOF
27048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27049 _ACEOF
27050
27051 fi
27052 done
27053
27054
27055 if test "$ac_cv_func_sigaction" = "no"; then
27056 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27057 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27058 wxUSE_ON_FATAL_EXCEPTION=no
27059 fi
27060
27061 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27062
27063
27064 ac_ext=cc
27065 ac_cpp='$CXXCPP $CPPFLAGS'
27066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27069
27070
27071 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27072 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27073 if test "${wx_cv_type_sa_handler+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 else
27076
27077 cat >conftest.$ac_ext <<_ACEOF
27078 #line $LINENO "configure"
27079 /* confdefs.h. */
27080 _ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27084 #include <signal.h>
27085 int
27086 main ()
27087 {
27088
27089 extern void testSigHandler(int);
27090
27091 struct sigaction sa;
27092 sa.sa_handler = testSigHandler;
27093
27094 ;
27095 return 0;
27096 }
27097 _ACEOF
27098 rm -f conftest.$ac_objext
27099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27100 (eval $ac_compile) 2>&5
27101 ac_status=$?
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } &&
27104 { ac_try='test -s conftest.$ac_objext'
27105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27106 (eval $ac_try) 2>&5
27107 ac_status=$?
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); }; }; then
27110
27111 wx_cv_type_sa_handler=int
27112
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117
27118 wx_cv_type_sa_handler=void
27119
27120 fi
27121 rm -f conftest.$ac_objext conftest.$ac_ext
27122
27123 fi
27124 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27125 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27126
27127 ac_ext=c
27128 ac_cpp='$CPP $CPPFLAGS'
27129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27132
27133
27134 cat >>confdefs.h <<_ACEOF
27135 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27136 _ACEOF
27137
27138 fi
27139 fi
27140
27141
27142
27143 for ac_func in mkstemp mktemp
27144 do
27145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27146 echo "$as_me:$LINENO: checking for $ac_func" >&5
27147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27148 if eval "test \"\${$as_ac_var+set}\" = set"; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 else
27151 cat >conftest.$ac_ext <<_ACEOF
27152 #line $LINENO "configure"
27153 /* confdefs.h. */
27154 _ACEOF
27155 cat confdefs.h >>conftest.$ac_ext
27156 cat >>conftest.$ac_ext <<_ACEOF
27157 /* end confdefs.h. */
27158 /* System header to define __stub macros and hopefully few prototypes,
27159 which can conflict with char $ac_func (); below.
27160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27161 <limits.h> exists even on freestanding compilers. */
27162 #ifdef __STDC__
27163 # include <limits.h>
27164 #else
27165 # include <assert.h>
27166 #endif
27167 /* Override any gcc2 internal prototype to avoid an error. */
27168 #ifdef __cplusplus
27169 extern "C"
27170 {
27171 #endif
27172 /* We use char because int might match the return type of a gcc2
27173 builtin and then its argument prototype would still apply. */
27174 char $ac_func ();
27175 /* The GNU C library defines this for functions which it implements
27176 to always fail with ENOSYS. Some functions are actually named
27177 something starting with __ and the normal name is an alias. */
27178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27179 choke me
27180 #else
27181 char (*f) () = $ac_func;
27182 #endif
27183 #ifdef __cplusplus
27184 }
27185 #endif
27186
27187 int
27188 main ()
27189 {
27190 return f != $ac_func;
27191 ;
27192 return 0;
27193 }
27194 _ACEOF
27195 rm -f conftest.$ac_objext conftest$ac_exeext
27196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27197 (eval $ac_link) 2>&5
27198 ac_status=$?
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try='test -s conftest$ac_exeext'
27202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27203 (eval $ac_try) 2>&5
27204 ac_status=$?
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); }; }; then
27207 eval "$as_ac_var=yes"
27208 else
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27211
27212 eval "$as_ac_var=no"
27213 fi
27214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27215 fi
27216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27218 if test `eval echo '${'$as_ac_var'}'` = yes; then
27219 cat >>confdefs.h <<_ACEOF
27220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27221 _ACEOF
27222 break
27223 fi
27224 done
27225
27226
27227 echo "$as_me:$LINENO: checking for statfs" >&5
27228 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27229 if test "${wx_cv_func_statfs+set}" = set; then
27230 echo $ECHO_N "(cached) $ECHO_C" >&6
27231 else
27232 cat >conftest.$ac_ext <<_ACEOF
27233 #line $LINENO "configure"
27234 /* confdefs.h. */
27235 _ACEOF
27236 cat confdefs.h >>conftest.$ac_ext
27237 cat >>conftest.$ac_ext <<_ACEOF
27238 /* end confdefs.h. */
27239
27240 #if defined(__BSD__)
27241 #include <sys/param.h>
27242 #include <sys/mount.h>
27243 #else
27244 #include <sys/vfs.h>
27245 #endif
27246
27247 int
27248 main ()
27249 {
27250
27251 long l;
27252 struct statfs fs;
27253 statfs("/", &fs);
27254 l = fs.f_bsize;
27255 l += fs.f_blocks;
27256 l += fs.f_bavail;
27257
27258 ;
27259 return 0;
27260 }
27261 _ACEOF
27262 rm -f conftest.$ac_objext
27263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27264 (eval $ac_compile) 2>&5
27265 ac_status=$?
27266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27267 (exit $ac_status); } &&
27268 { ac_try='test -s conftest.$ac_objext'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27271 ac_status=$?
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; }; then
27274
27275 wx_cv_func_statfs=yes
27276
27277 else
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27280
27281
27282 wx_cv_func_statfs=no
27283
27284
27285 fi
27286 rm -f conftest.$ac_objext conftest.$ac_ext
27287
27288 fi
27289 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27290 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27291
27292 if test "$wx_cv_func_statfs" = "yes"; then
27293 wx_cv_type_statvfs_t="struct statfs"
27294 cat >>confdefs.h <<\_ACEOF
27295 #define HAVE_STATFS 1
27296 _ACEOF
27297
27298 else
27299 echo "$as_me:$LINENO: checking for statvfs" >&5
27300 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27301 if test "${wx_cv_func_statvfs+set}" = set; then
27302 echo $ECHO_N "(cached) $ECHO_C" >&6
27303 else
27304 cat >conftest.$ac_ext <<_ACEOF
27305 #line $LINENO "configure"
27306 /* confdefs.h. */
27307 _ACEOF
27308 cat confdefs.h >>conftest.$ac_ext
27309 cat >>conftest.$ac_ext <<_ACEOF
27310 /* end confdefs.h. */
27311
27312 #include <stddef.h>
27313 #include <sys/statvfs.h>
27314
27315 int
27316 main ()
27317 {
27318
27319 statvfs("/", NULL);
27320
27321 ;
27322 return 0;
27323 }
27324 _ACEOF
27325 rm -f conftest.$ac_objext
27326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27327 (eval $ac_compile) 2>&5
27328 ac_status=$?
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try='test -s conftest.$ac_objext'
27332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27333 (eval $ac_try) 2>&5
27334 ac_status=$?
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); }; }; then
27337 wx_cv_func_statvfs=yes
27338 else
27339 echo "$as_me: failed program was:" >&5
27340 sed 's/^/| /' conftest.$ac_ext >&5
27341
27342 wx_cv_func_statvfs=no
27343
27344 fi
27345 rm -f conftest.$ac_objext conftest.$ac_ext
27346
27347 fi
27348 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27349 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27350
27351 if test "$wx_cv_func_statvfs" = "yes"; then
27352
27353
27354 ac_ext=cc
27355 ac_cpp='$CXXCPP $CPPFLAGS'
27356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27359
27360
27361 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27362 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27363 if test "${wx_cv_type_statvfs_t+set}" = set; then
27364 echo $ECHO_N "(cached) $ECHO_C" >&6
27365 else
27366 cat >conftest.$ac_ext <<_ACEOF
27367 #line $LINENO "configure"
27368 /* confdefs.h. */
27369 _ACEOF
27370 cat confdefs.h >>conftest.$ac_ext
27371 cat >>conftest.$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27373
27374 #include <sys/statvfs.h>
27375
27376 int
27377 main ()
27378 {
27379
27380 long l;
27381 statvfs_t fs;
27382 statvfs("/", &fs);
27383 l = fs.f_bsize;
27384 l += fs.f_blocks;
27385 l += fs.f_bavail;
27386
27387 ;
27388 return 0;
27389 }
27390 _ACEOF
27391 rm -f conftest.$ac_objext
27392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27393 (eval $ac_compile) 2>&5
27394 ac_status=$?
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try='test -s conftest.$ac_objext'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27400 ac_status=$?
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; }; then
27403 wx_cv_type_statvfs_t=statvfs_t
27404 else
27405 echo "$as_me: failed program was:" >&5
27406 sed 's/^/| /' conftest.$ac_ext >&5
27407
27408
27409 cat >conftest.$ac_ext <<_ACEOF
27410 #line $LINENO "configure"
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416
27417 #include <sys/statvfs.h>
27418
27419 int
27420 main ()
27421 {
27422
27423 long l;
27424 struct statvfs fs;
27425 statvfs("/", &fs);
27426 l = fs.f_bsize;
27427 l += fs.f_blocks;
27428 l += fs.f_bavail;
27429
27430 ;
27431 return 0;
27432 }
27433 _ACEOF
27434 rm -f conftest.$ac_objext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27436 (eval $ac_compile) 2>&5
27437 ac_status=$?
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try='test -s conftest.$ac_objext'
27441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442 (eval $ac_try) 2>&5
27443 ac_status=$?
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); }; }; then
27446 wx_cv_type_statvfs_t="struct statvfs"
27447 else
27448 echo "$as_me: failed program was:" >&5
27449 sed 's/^/| /' conftest.$ac_ext >&5
27450
27451 wx_cv_type_statvfs_t="unknown"
27452
27453 fi
27454 rm -f conftest.$ac_objext conftest.$ac_ext
27455
27456
27457 fi
27458 rm -f conftest.$ac_objext conftest.$ac_ext
27459
27460 fi
27461 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27462 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27463
27464 ac_ext=c
27465 ac_cpp='$CPP $CPPFLAGS'
27466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27469
27470
27471 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27472 cat >>confdefs.h <<\_ACEOF
27473 #define HAVE_STATVFS 1
27474 _ACEOF
27475
27476 fi
27477 else
27478 wx_cv_type_statvfs_t="unknown"
27479 fi
27480 fi
27481
27482 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27483 cat >>confdefs.h <<_ACEOF
27484 #define WX_STATFS_T $wx_cv_type_statvfs_t
27485 _ACEOF
27486
27487 else
27488 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27489 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27490 fi
27491
27492 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27493
27494
27495 for ac_func in fcntl flock
27496 do
27497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27498 echo "$as_me:$LINENO: checking for $ac_func" >&5
27499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27500 if eval "test \"\${$as_ac_var+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502 else
27503 cat >conftest.$ac_ext <<_ACEOF
27504 #line $LINENO "configure"
27505 /* confdefs.h. */
27506 _ACEOF
27507 cat confdefs.h >>conftest.$ac_ext
27508 cat >>conftest.$ac_ext <<_ACEOF
27509 /* end confdefs.h. */
27510 /* System header to define __stub macros and hopefully few prototypes,
27511 which can conflict with char $ac_func (); below.
27512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27513 <limits.h> exists even on freestanding compilers. */
27514 #ifdef __STDC__
27515 # include <limits.h>
27516 #else
27517 # include <assert.h>
27518 #endif
27519 /* Override any gcc2 internal prototype to avoid an error. */
27520 #ifdef __cplusplus
27521 extern "C"
27522 {
27523 #endif
27524 /* We use char because int might match the return type of a gcc2
27525 builtin and then its argument prototype would still apply. */
27526 char $ac_func ();
27527 /* The GNU C library defines this for functions which it implements
27528 to always fail with ENOSYS. Some functions are actually named
27529 something starting with __ and the normal name is an alias. */
27530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27531 choke me
27532 #else
27533 char (*f) () = $ac_func;
27534 #endif
27535 #ifdef __cplusplus
27536 }
27537 #endif
27538
27539 int
27540 main ()
27541 {
27542 return f != $ac_func;
27543 ;
27544 return 0;
27545 }
27546 _ACEOF
27547 rm -f conftest.$ac_objext conftest$ac_exeext
27548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27549 (eval $ac_link) 2>&5
27550 ac_status=$?
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } &&
27553 { ac_try='test -s conftest$ac_exeext'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27556 ac_status=$?
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; }; then
27559 eval "$as_ac_var=yes"
27560 else
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.$ac_ext >&5
27563
27564 eval "$as_ac_var=no"
27565 fi
27566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27567 fi
27568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27570 if test `eval echo '${'$as_ac_var'}'` = yes; then
27571 cat >>confdefs.h <<_ACEOF
27572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27573 _ACEOF
27574 break
27575 fi
27576 done
27577
27578
27579 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27580 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27581 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27582 wxUSE_SNGLINST_CHECKER=no
27583 fi
27584 fi
27585
27586
27587 for ac_func in timegm
27588 do
27589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27590 echo "$as_me:$LINENO: checking for $ac_func" >&5
27591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27592 if eval "test \"\${$as_ac_var+set}\" = set"; then
27593 echo $ECHO_N "(cached) $ECHO_C" >&6
27594 else
27595 cat >conftest.$ac_ext <<_ACEOF
27596 #line $LINENO "configure"
27597 /* confdefs.h. */
27598 _ACEOF
27599 cat confdefs.h >>conftest.$ac_ext
27600 cat >>conftest.$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27602 /* System header to define __stub macros and hopefully few prototypes,
27603 which can conflict with char $ac_func (); below.
27604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27605 <limits.h> exists even on freestanding compilers. */
27606 #ifdef __STDC__
27607 # include <limits.h>
27608 #else
27609 # include <assert.h>
27610 #endif
27611 /* Override any gcc2 internal prototype to avoid an error. */
27612 #ifdef __cplusplus
27613 extern "C"
27614 {
27615 #endif
27616 /* We use char because int might match the return type of a gcc2
27617 builtin and then its argument prototype would still apply. */
27618 char $ac_func ();
27619 /* The GNU C library defines this for functions which it implements
27620 to always fail with ENOSYS. Some functions are actually named
27621 something starting with __ and the normal name is an alias. */
27622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27623 choke me
27624 #else
27625 char (*f) () = $ac_func;
27626 #endif
27627 #ifdef __cplusplus
27628 }
27629 #endif
27630
27631 int
27632 main ()
27633 {
27634 return f != $ac_func;
27635 ;
27636 return 0;
27637 }
27638 _ACEOF
27639 rm -f conftest.$ac_objext conftest$ac_exeext
27640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27641 (eval $ac_link) 2>&5
27642 ac_status=$?
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); } &&
27645 { ac_try='test -s conftest$ac_exeext'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; }; then
27651 eval "$as_ac_var=yes"
27652 else
27653 echo "$as_me: failed program was:" >&5
27654 sed 's/^/| /' conftest.$ac_ext >&5
27655
27656 eval "$as_ac_var=no"
27657 fi
27658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27659 fi
27660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27662 if test `eval echo '${'$as_ac_var'}'` = yes; then
27663 cat >>confdefs.h <<_ACEOF
27664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27665 _ACEOF
27666
27667 fi
27668 done
27669
27670
27671
27672
27673 for ac_func in putenv setenv
27674 do
27675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27676 echo "$as_me:$LINENO: checking for $ac_func" >&5
27677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27678 if eval "test \"\${$as_ac_var+set}\" = set"; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27680 else
27681 cat >conftest.$ac_ext <<_ACEOF
27682 #line $LINENO "configure"
27683 /* confdefs.h. */
27684 _ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27688 /* System header to define __stub macros and hopefully few prototypes,
27689 which can conflict with char $ac_func (); below.
27690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27691 <limits.h> exists even on freestanding compilers. */
27692 #ifdef __STDC__
27693 # include <limits.h>
27694 #else
27695 # include <assert.h>
27696 #endif
27697 /* Override any gcc2 internal prototype to avoid an error. */
27698 #ifdef __cplusplus
27699 extern "C"
27700 {
27701 #endif
27702 /* We use char because int might match the return type of a gcc2
27703 builtin and then its argument prototype would still apply. */
27704 char $ac_func ();
27705 /* The GNU C library defines this for functions which it implements
27706 to always fail with ENOSYS. Some functions are actually named
27707 something starting with __ and the normal name is an alias. */
27708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27709 choke me
27710 #else
27711 char (*f) () = $ac_func;
27712 #endif
27713 #ifdef __cplusplus
27714 }
27715 #endif
27716
27717 int
27718 main ()
27719 {
27720 return f != $ac_func;
27721 ;
27722 return 0;
27723 }
27724 _ACEOF
27725 rm -f conftest.$ac_objext conftest$ac_exeext
27726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27727 (eval $ac_link) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } &&
27731 { ac_try='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 eval "$as_ac_var=yes"
27738 else
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.$ac_ext >&5
27741
27742 eval "$as_ac_var=no"
27743 fi
27744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27745 fi
27746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27748 if test `eval echo '${'$as_ac_var'}'` = yes; then
27749 cat >>confdefs.h <<_ACEOF
27750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27751 _ACEOF
27752 break
27753 fi
27754 done
27755
27756
27757 HAVE_SOME_SLEEP_FUNC=0
27758 if test "$USE_BEOS" = 1; then
27759 cat >>confdefs.h <<\_ACEOF
27760 #define HAVE_SLEEP 1
27761 _ACEOF
27762
27763 HAVE_SOME_SLEEP_FUNC=1
27764 fi
27765
27766 if test "$USE_DARWIN" = 1; then
27767 cat >>confdefs.h <<\_ACEOF
27768 #define HAVE_USLEEP 1
27769 _ACEOF
27770
27771 HAVE_SOME_SLEEP_FUNC=1
27772 fi
27773
27774 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27775 POSIX4_LINK=
27776
27777 for ac_func in nanosleep
27778 do
27779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27780 echo "$as_me:$LINENO: checking for $ac_func" >&5
27781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27782 if eval "test \"\${$as_ac_var+set}\" = set"; then
27783 echo $ECHO_N "(cached) $ECHO_C" >&6
27784 else
27785 cat >conftest.$ac_ext <<_ACEOF
27786 #line $LINENO "configure"
27787 /* confdefs.h. */
27788 _ACEOF
27789 cat confdefs.h >>conftest.$ac_ext
27790 cat >>conftest.$ac_ext <<_ACEOF
27791 /* end confdefs.h. */
27792 /* System header to define __stub macros and hopefully few prototypes,
27793 which can conflict with char $ac_func (); below.
27794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27795 <limits.h> exists even on freestanding compilers. */
27796 #ifdef __STDC__
27797 # include <limits.h>
27798 #else
27799 # include <assert.h>
27800 #endif
27801 /* Override any gcc2 internal prototype to avoid an error. */
27802 #ifdef __cplusplus
27803 extern "C"
27804 {
27805 #endif
27806 /* We use char because int might match the return type of a gcc2
27807 builtin and then its argument prototype would still apply. */
27808 char $ac_func ();
27809 /* The GNU C library defines this for functions which it implements
27810 to always fail with ENOSYS. Some functions are actually named
27811 something starting with __ and the normal name is an alias. */
27812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27813 choke me
27814 #else
27815 char (*f) () = $ac_func;
27816 #endif
27817 #ifdef __cplusplus
27818 }
27819 #endif
27820
27821 int
27822 main ()
27823 {
27824 return f != $ac_func;
27825 ;
27826 return 0;
27827 }
27828 _ACEOF
27829 rm -f conftest.$ac_objext conftest$ac_exeext
27830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27831 (eval $ac_link) 2>&5
27832 ac_status=$?
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27838 ac_status=$?
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 eval "$as_ac_var=yes"
27842 else
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27845
27846 eval "$as_ac_var=no"
27847 fi
27848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27849 fi
27850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27852 if test `eval echo '${'$as_ac_var'}'` = yes; then
27853 cat >>confdefs.h <<_ACEOF
27854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27855 _ACEOF
27856 cat >>confdefs.h <<\_ACEOF
27857 #define HAVE_NANOSLEEP 1
27858 _ACEOF
27859
27860 else
27861
27862 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27863 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27864 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27866 else
27867 ac_check_lib_save_LIBS=$LIBS
27868 LIBS="-lposix4 $LIBS"
27869 cat >conftest.$ac_ext <<_ACEOF
27870 #line $LINENO "configure"
27871 /* confdefs.h. */
27872 _ACEOF
27873 cat confdefs.h >>conftest.$ac_ext
27874 cat >>conftest.$ac_ext <<_ACEOF
27875 /* end confdefs.h. */
27876
27877 /* Override any gcc2 internal prototype to avoid an error. */
27878 #ifdef __cplusplus
27879 extern "C"
27880 #endif
27881 /* We use char because int might match the return type of a gcc2
27882 builtin and then its argument prototype would still apply. */
27883 char nanosleep ();
27884 int
27885 main ()
27886 {
27887 nanosleep ();
27888 ;
27889 return 0;
27890 }
27891 _ACEOF
27892 rm -f conftest.$ac_objext conftest$ac_exeext
27893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27894 (eval $ac_link) 2>&5
27895 ac_status=$?
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); } &&
27898 { ac_try='test -s conftest$ac_exeext'
27899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27900 (eval $ac_try) 2>&5
27901 ac_status=$?
27902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27903 (exit $ac_status); }; }; then
27904 ac_cv_lib_posix4_nanosleep=yes
27905 else
27906 echo "$as_me: failed program was:" >&5
27907 sed 's/^/| /' conftest.$ac_ext >&5
27908
27909 ac_cv_lib_posix4_nanosleep=no
27910 fi
27911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27912 LIBS=$ac_check_lib_save_LIBS
27913 fi
27914 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27915 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27916 if test $ac_cv_lib_posix4_nanosleep = yes; then
27917
27918 cat >>confdefs.h <<\_ACEOF
27919 #define HAVE_NANOSLEEP 1
27920 _ACEOF
27921
27922 POSIX4_LINK=" -lposix4"
27923
27924 else
27925
27926
27927 for ac_func in usleep
27928 do
27929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27930 echo "$as_me:$LINENO: checking for $ac_func" >&5
27931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27932 if eval "test \"\${$as_ac_var+set}\" = set"; then
27933 echo $ECHO_N "(cached) $ECHO_C" >&6
27934 else
27935 cat >conftest.$ac_ext <<_ACEOF
27936 #line $LINENO "configure"
27937 /* confdefs.h. */
27938 _ACEOF
27939 cat confdefs.h >>conftest.$ac_ext
27940 cat >>conftest.$ac_ext <<_ACEOF
27941 /* end confdefs.h. */
27942 /* System header to define __stub macros and hopefully few prototypes,
27943 which can conflict with char $ac_func (); below.
27944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27945 <limits.h> exists even on freestanding compilers. */
27946 #ifdef __STDC__
27947 # include <limits.h>
27948 #else
27949 # include <assert.h>
27950 #endif
27951 /* Override any gcc2 internal prototype to avoid an error. */
27952 #ifdef __cplusplus
27953 extern "C"
27954 {
27955 #endif
27956 /* We use char because int might match the return type of a gcc2
27957 builtin and then its argument prototype would still apply. */
27958 char $ac_func ();
27959 /* The GNU C library defines this for functions which it implements
27960 to always fail with ENOSYS. Some functions are actually named
27961 something starting with __ and the normal name is an alias. */
27962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27963 choke me
27964 #else
27965 char (*f) () = $ac_func;
27966 #endif
27967 #ifdef __cplusplus
27968 }
27969 #endif
27970
27971 int
27972 main ()
27973 {
27974 return f != $ac_func;
27975 ;
27976 return 0;
27977 }
27978 _ACEOF
27979 rm -f conftest.$ac_objext conftest$ac_exeext
27980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27981 (eval $ac_link) 2>&5
27982 ac_status=$?
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } &&
27985 { ac_try='test -s conftest$ac_exeext'
27986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27987 (eval $ac_try) 2>&5
27988 ac_status=$?
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); }; }; then
27991 eval "$as_ac_var=yes"
27992 else
27993 echo "$as_me: failed program was:" >&5
27994 sed 's/^/| /' conftest.$ac_ext >&5
27995
27996 eval "$as_ac_var=no"
27997 fi
27998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27999 fi
28000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28002 if test `eval echo '${'$as_ac_var'}'` = yes; then
28003 cat >>confdefs.h <<_ACEOF
28004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28005 _ACEOF
28006 cat >>confdefs.h <<\_ACEOF
28007 #define HAVE_USLEEP 1
28008 _ACEOF
28009
28010 else
28011 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28012 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28013
28014 fi
28015 done
28016
28017
28018
28019 fi
28020
28021
28022
28023 fi
28024 done
28025
28026 fi
28027
28028
28029
28030 for ac_func in uname gethostname
28031 do
28032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28033 echo "$as_me:$LINENO: checking for $ac_func" >&5
28034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28035 if eval "test \"\${$as_ac_var+set}\" = set"; then
28036 echo $ECHO_N "(cached) $ECHO_C" >&6
28037 else
28038 cat >conftest.$ac_ext <<_ACEOF
28039 #line $LINENO "configure"
28040 /* confdefs.h. */
28041 _ACEOF
28042 cat confdefs.h >>conftest.$ac_ext
28043 cat >>conftest.$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28045 /* System header to define __stub macros and hopefully few prototypes,
28046 which can conflict with char $ac_func (); below.
28047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28048 <limits.h> exists even on freestanding compilers. */
28049 #ifdef __STDC__
28050 # include <limits.h>
28051 #else
28052 # include <assert.h>
28053 #endif
28054 /* Override any gcc2 internal prototype to avoid an error. */
28055 #ifdef __cplusplus
28056 extern "C"
28057 {
28058 #endif
28059 /* We use char because int might match the return type of a gcc2
28060 builtin and then its argument prototype would still apply. */
28061 char $ac_func ();
28062 /* The GNU C library defines this for functions which it implements
28063 to always fail with ENOSYS. Some functions are actually named
28064 something starting with __ and the normal name is an alias. */
28065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28066 choke me
28067 #else
28068 char (*f) () = $ac_func;
28069 #endif
28070 #ifdef __cplusplus
28071 }
28072 #endif
28073
28074 int
28075 main ()
28076 {
28077 return f != $ac_func;
28078 ;
28079 return 0;
28080 }
28081 _ACEOF
28082 rm -f conftest.$ac_objext conftest$ac_exeext
28083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28084 (eval $ac_link) 2>&5
28085 ac_status=$?
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); } &&
28088 { ac_try='test -s conftest$ac_exeext'
28089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28090 (eval $ac_try) 2>&5
28091 ac_status=$?
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); }; }; then
28094 eval "$as_ac_var=yes"
28095 else
28096 echo "$as_me: failed program was:" >&5
28097 sed 's/^/| /' conftest.$ac_ext >&5
28098
28099 eval "$as_ac_var=no"
28100 fi
28101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28102 fi
28103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28105 if test `eval echo '${'$as_ac_var'}'` = yes; then
28106 cat >>confdefs.h <<_ACEOF
28107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28108 _ACEOF
28109 break
28110 fi
28111 done
28112
28113
28114
28115
28116 ac_ext=cc
28117 ac_cpp='$CXXCPP $CPPFLAGS'
28118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28121
28122
28123
28124 for ac_func in strtok_r
28125 do
28126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28127 echo "$as_me:$LINENO: checking for $ac_func" >&5
28128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28129 if eval "test \"\${$as_ac_var+set}\" = set"; then
28130 echo $ECHO_N "(cached) $ECHO_C" >&6
28131 else
28132 cat >conftest.$ac_ext <<_ACEOF
28133 #line $LINENO "configure"
28134 /* confdefs.h. */
28135 _ACEOF
28136 cat confdefs.h >>conftest.$ac_ext
28137 cat >>conftest.$ac_ext <<_ACEOF
28138 /* end confdefs.h. */
28139 /* System header to define __stub macros and hopefully few prototypes,
28140 which can conflict with char $ac_func (); below.
28141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28142 <limits.h> exists even on freestanding compilers. */
28143 #ifdef __STDC__
28144 # include <limits.h>
28145 #else
28146 # include <assert.h>
28147 #endif
28148 /* Override any gcc2 internal prototype to avoid an error. */
28149 #ifdef __cplusplus
28150 extern "C"
28151 {
28152 #endif
28153 /* We use char because int might match the return type of a gcc2
28154 builtin and then its argument prototype would still apply. */
28155 char $ac_func ();
28156 /* The GNU C library defines this for functions which it implements
28157 to always fail with ENOSYS. Some functions are actually named
28158 something starting with __ and the normal name is an alias. */
28159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28160 choke me
28161 #else
28162 char (*f) () = $ac_func;
28163 #endif
28164 #ifdef __cplusplus
28165 }
28166 #endif
28167
28168 int
28169 main ()
28170 {
28171 return f != $ac_func;
28172 ;
28173 return 0;
28174 }
28175 _ACEOF
28176 rm -f conftest.$ac_objext conftest$ac_exeext
28177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28178 (eval $ac_link) 2>&5
28179 ac_status=$?
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); } &&
28182 { ac_try='test -s conftest$ac_exeext'
28183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28184 (eval $ac_try) 2>&5
28185 ac_status=$?
28186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28187 (exit $ac_status); }; }; then
28188 eval "$as_ac_var=yes"
28189 else
28190 echo "$as_me: failed program was:" >&5
28191 sed 's/^/| /' conftest.$ac_ext >&5
28192
28193 eval "$as_ac_var=no"
28194 fi
28195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28196 fi
28197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28199 if test `eval echo '${'$as_ac_var'}'` = yes; then
28200 cat >>confdefs.h <<_ACEOF
28201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28202 _ACEOF
28203
28204 fi
28205 done
28206
28207
28208 ac_ext=c
28209 ac_cpp='$CPP $CPPFLAGS'
28210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28213
28214
28215 INET_LINK=
28216
28217 for ac_func in inet_addr
28218 do
28219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28220 echo "$as_me:$LINENO: checking for $ac_func" >&5
28221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28222 if eval "test \"\${$as_ac_var+set}\" = set"; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28224 else
28225 cat >conftest.$ac_ext <<_ACEOF
28226 #line $LINENO "configure"
28227 /* confdefs.h. */
28228 _ACEOF
28229 cat confdefs.h >>conftest.$ac_ext
28230 cat >>conftest.$ac_ext <<_ACEOF
28231 /* end confdefs.h. */
28232 /* System header to define __stub macros and hopefully few prototypes,
28233 which can conflict with char $ac_func (); below.
28234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28235 <limits.h> exists even on freestanding compilers. */
28236 #ifdef __STDC__
28237 # include <limits.h>
28238 #else
28239 # include <assert.h>
28240 #endif
28241 /* Override any gcc2 internal prototype to avoid an error. */
28242 #ifdef __cplusplus
28243 extern "C"
28244 {
28245 #endif
28246 /* We use char because int might match the return type of a gcc2
28247 builtin and then its argument prototype would still apply. */
28248 char $ac_func ();
28249 /* The GNU C library defines this for functions which it implements
28250 to always fail with ENOSYS. Some functions are actually named
28251 something starting with __ and the normal name is an alias. */
28252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28253 choke me
28254 #else
28255 char (*f) () = $ac_func;
28256 #endif
28257 #ifdef __cplusplus
28258 }
28259 #endif
28260
28261 int
28262 main ()
28263 {
28264 return f != $ac_func;
28265 ;
28266 return 0;
28267 }
28268 _ACEOF
28269 rm -f conftest.$ac_objext conftest$ac_exeext
28270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28271 (eval $ac_link) 2>&5
28272 ac_status=$?
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); } &&
28275 { ac_try='test -s conftest$ac_exeext'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28278 ac_status=$?
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; }; then
28281 eval "$as_ac_var=yes"
28282 else
28283 echo "$as_me: failed program was:" >&5
28284 sed 's/^/| /' conftest.$ac_ext >&5
28285
28286 eval "$as_ac_var=no"
28287 fi
28288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28289 fi
28290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28292 if test `eval echo '${'$as_ac_var'}'` = yes; then
28293 cat >>confdefs.h <<_ACEOF
28294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28295 _ACEOF
28296 cat >>confdefs.h <<\_ACEOF
28297 #define HAVE_INET_ADDR 1
28298 _ACEOF
28299
28300 else
28301
28302 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28303 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28304 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28306 else
28307 ac_check_lib_save_LIBS=$LIBS
28308 LIBS="-lnsl $LIBS"
28309 cat >conftest.$ac_ext <<_ACEOF
28310 #line $LINENO "configure"
28311 /* confdefs.h. */
28312 _ACEOF
28313 cat confdefs.h >>conftest.$ac_ext
28314 cat >>conftest.$ac_ext <<_ACEOF
28315 /* end confdefs.h. */
28316
28317 /* Override any gcc2 internal prototype to avoid an error. */
28318 #ifdef __cplusplus
28319 extern "C"
28320 #endif
28321 /* We use char because int might match the return type of a gcc2
28322 builtin and then its argument prototype would still apply. */
28323 char inet_addr ();
28324 int
28325 main ()
28326 {
28327 inet_addr ();
28328 ;
28329 return 0;
28330 }
28331 _ACEOF
28332 rm -f conftest.$ac_objext conftest$ac_exeext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334 (eval $ac_link) 2>&5
28335 ac_status=$?
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); } &&
28338 { ac_try='test -s conftest$ac_exeext'
28339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28340 (eval $ac_try) 2>&5
28341 ac_status=$?
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); }; }; then
28344 ac_cv_lib_nsl_inet_addr=yes
28345 else
28346 echo "$as_me: failed program was:" >&5
28347 sed 's/^/| /' conftest.$ac_ext >&5
28348
28349 ac_cv_lib_nsl_inet_addr=no
28350 fi
28351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28352 LIBS=$ac_check_lib_save_LIBS
28353 fi
28354 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28355 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28356 if test $ac_cv_lib_nsl_inet_addr = yes; then
28357 INET_LINK="nsl"
28358 else
28359
28360 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28361 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28362 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 else
28365 ac_check_lib_save_LIBS=$LIBS
28366 LIBS="-lresolv $LIBS"
28367 cat >conftest.$ac_ext <<_ACEOF
28368 #line $LINENO "configure"
28369 /* confdefs.h. */
28370 _ACEOF
28371 cat confdefs.h >>conftest.$ac_ext
28372 cat >>conftest.$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28374
28375 /* Override any gcc2 internal prototype to avoid an error. */
28376 #ifdef __cplusplus
28377 extern "C"
28378 #endif
28379 /* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28381 char inet_addr ();
28382 int
28383 main ()
28384 {
28385 inet_addr ();
28386 ;
28387 return 0;
28388 }
28389 _ACEOF
28390 rm -f conftest.$ac_objext conftest$ac_exeext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28392 (eval $ac_link) 2>&5
28393 ac_status=$?
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } &&
28396 { ac_try='test -s conftest$ac_exeext'
28397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28398 (eval $ac_try) 2>&5
28399 ac_status=$?
28400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28401 (exit $ac_status); }; }; then
28402 ac_cv_lib_resolv_inet_addr=yes
28403 else
28404 echo "$as_me: failed program was:" >&5
28405 sed 's/^/| /' conftest.$ac_ext >&5
28406
28407 ac_cv_lib_resolv_inet_addr=no
28408 fi
28409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28410 LIBS=$ac_check_lib_save_LIBS
28411 fi
28412 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28413 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28414 if test $ac_cv_lib_resolv_inet_addr = yes; then
28415 INET_LINK="resolv"
28416 else
28417
28418 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28419 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28420 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28421 echo $ECHO_N "(cached) $ECHO_C" >&6
28422 else
28423 ac_check_lib_save_LIBS=$LIBS
28424 LIBS="-lsocket $LIBS"
28425 cat >conftest.$ac_ext <<_ACEOF
28426 #line $LINENO "configure"
28427 /* confdefs.h. */
28428 _ACEOF
28429 cat confdefs.h >>conftest.$ac_ext
28430 cat >>conftest.$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28432
28433 /* Override any gcc2 internal prototype to avoid an error. */
28434 #ifdef __cplusplus
28435 extern "C"
28436 #endif
28437 /* We use char because int might match the return type of a gcc2
28438 builtin and then its argument prototype would still apply. */
28439 char inet_addr ();
28440 int
28441 main ()
28442 {
28443 inet_addr ();
28444 ;
28445 return 0;
28446 }
28447 _ACEOF
28448 rm -f conftest.$ac_objext conftest$ac_exeext
28449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28450 (eval $ac_link) 2>&5
28451 ac_status=$?
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); } &&
28454 { ac_try='test -s conftest$ac_exeext'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28457 ac_status=$?
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; }; then
28460 ac_cv_lib_socket_inet_addr=yes
28461 else
28462 echo "$as_me: failed program was:" >&5
28463 sed 's/^/| /' conftest.$ac_ext >&5
28464
28465 ac_cv_lib_socket_inet_addr=no
28466 fi
28467 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28468 LIBS=$ac_check_lib_save_LIBS
28469 fi
28470 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28471 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28472 if test $ac_cv_lib_socket_inet_addr = yes; then
28473 INET_LINK="socket"
28474
28475 fi
28476
28477
28478
28479 fi
28480
28481
28482
28483 fi
28484
28485
28486
28487 fi
28488 done
28489
28490
28491
28492 for ac_func in inet_aton
28493 do
28494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28495 echo "$as_me:$LINENO: checking for $ac_func" >&5
28496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28497 if eval "test \"\${$as_ac_var+set}\" = set"; then
28498 echo $ECHO_N "(cached) $ECHO_C" >&6
28499 else
28500 cat >conftest.$ac_ext <<_ACEOF
28501 #line $LINENO "configure"
28502 /* confdefs.h. */
28503 _ACEOF
28504 cat confdefs.h >>conftest.$ac_ext
28505 cat >>conftest.$ac_ext <<_ACEOF
28506 /* end confdefs.h. */
28507 /* System header to define __stub macros and hopefully few prototypes,
28508 which can conflict with char $ac_func (); below.
28509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28510 <limits.h> exists even on freestanding compilers. */
28511 #ifdef __STDC__
28512 # include <limits.h>
28513 #else
28514 # include <assert.h>
28515 #endif
28516 /* Override any gcc2 internal prototype to avoid an error. */
28517 #ifdef __cplusplus
28518 extern "C"
28519 {
28520 #endif
28521 /* We use char because int might match the return type of a gcc2
28522 builtin and then its argument prototype would still apply. */
28523 char $ac_func ();
28524 /* The GNU C library defines this for functions which it implements
28525 to always fail with ENOSYS. Some functions are actually named
28526 something starting with __ and the normal name is an alias. */
28527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28528 choke me
28529 #else
28530 char (*f) () = $ac_func;
28531 #endif
28532 #ifdef __cplusplus
28533 }
28534 #endif
28535
28536 int
28537 main ()
28538 {
28539 return f != $ac_func;
28540 ;
28541 return 0;
28542 }
28543 _ACEOF
28544 rm -f conftest.$ac_objext conftest$ac_exeext
28545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28546 (eval $ac_link) 2>&5
28547 ac_status=$?
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); } &&
28550 { ac_try='test -s conftest$ac_exeext'
28551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28552 (eval $ac_try) 2>&5
28553 ac_status=$?
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); }; }; then
28556 eval "$as_ac_var=yes"
28557 else
28558 echo "$as_me: failed program was:" >&5
28559 sed 's/^/| /' conftest.$ac_ext >&5
28560
28561 eval "$as_ac_var=no"
28562 fi
28563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28564 fi
28565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28567 if test `eval echo '${'$as_ac_var'}'` = yes; then
28568 cat >>confdefs.h <<_ACEOF
28569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28570 _ACEOF
28571 cat >>confdefs.h <<\_ACEOF
28572 #define HAVE_INET_ATON 1
28573 _ACEOF
28574
28575 else
28576
28577 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28578 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28579 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28580 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28582 else
28583 ac_check_lib_save_LIBS=$LIBS
28584 LIBS="-l$INET_LINK $LIBS"
28585 cat >conftest.$ac_ext <<_ACEOF
28586 #line $LINENO "configure"
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592
28593 /* Override any gcc2 internal prototype to avoid an error. */
28594 #ifdef __cplusplus
28595 extern "C"
28596 #endif
28597 /* We use char because int might match the return type of a gcc2
28598 builtin and then its argument prototype would still apply. */
28599 char inet_aton ();
28600 int
28601 main ()
28602 {
28603 inet_aton ();
28604 ;
28605 return 0;
28606 }
28607 _ACEOF
28608 rm -f conftest.$ac_objext conftest$ac_exeext
28609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28610 (eval $ac_link) 2>&5
28611 ac_status=$?
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } &&
28614 { ac_try='test -s conftest$ac_exeext'
28615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616 (eval $ac_try) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); }; }; then
28620 eval "$as_ac_Lib=yes"
28621 else
28622 echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.$ac_ext >&5
28624
28625 eval "$as_ac_Lib=no"
28626 fi
28627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28628 LIBS=$ac_check_lib_save_LIBS
28629 fi
28630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28631 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28632 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28633 cat >>confdefs.h <<\_ACEOF
28634 #define HAVE_INET_ATON 1
28635 _ACEOF
28636
28637 fi
28638
28639
28640 fi
28641 done
28642
28643
28644 if test "x$INET_LINK" != "x"; then
28645 cat >>confdefs.h <<\_ACEOF
28646 #define HAVE_INET_ADDR 1
28647 _ACEOF
28648
28649 INET_LINK=" -l$INET_LINK"
28650 fi
28651
28652 fi
28653
28654
28655
28656 EXTRALIBS_ESD=
28657 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28658 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28659 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28660 echo $ECHO_N "(cached) $ECHO_C" >&6
28661 else
28662 ac_check_lib_save_LIBS=$LIBS
28663 LIBS="-lesd $LIBS"
28664 cat >conftest.$ac_ext <<_ACEOF
28665 #line $LINENO "configure"
28666 /* confdefs.h. */
28667 _ACEOF
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28671
28672 /* Override any gcc2 internal prototype to avoid an error. */
28673 #ifdef __cplusplus
28674 extern "C"
28675 #endif
28676 /* We use char because int might match the return type of a gcc2
28677 builtin and then its argument prototype would still apply. */
28678 char esd_close ();
28679 int
28680 main ()
28681 {
28682 esd_close ();
28683 ;
28684 return 0;
28685 }
28686 _ACEOF
28687 rm -f conftest.$ac_objext conftest$ac_exeext
28688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28689 (eval $ac_link) 2>&5
28690 ac_status=$?
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try='test -s conftest$ac_exeext'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28696 ac_status=$?
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; }; then
28699 ac_cv_lib_esd_esd_close=yes
28700 else
28701 echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28703
28704 ac_cv_lib_esd_esd_close=no
28705 fi
28706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28707 LIBS=$ac_check_lib_save_LIBS
28708 fi
28709 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28710 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28711 if test $ac_cv_lib_esd_esd_close = yes; then
28712
28713
28714 for ac_header in esd.h
28715 do
28716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28718 echo "$as_me:$LINENO: checking for $ac_header" >&5
28719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28721 echo $ECHO_N "(cached) $ECHO_C" >&6
28722 fi
28723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28725 else
28726 # Is the header compilable?
28727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28729 cat >conftest.$ac_ext <<_ACEOF
28730 #line $LINENO "configure"
28731 /* confdefs.h. */
28732 _ACEOF
28733 cat confdefs.h >>conftest.$ac_ext
28734 cat >>conftest.$ac_ext <<_ACEOF
28735 /* end confdefs.h. */
28736 $ac_includes_default
28737 #include <$ac_header>
28738 _ACEOF
28739 rm -f conftest.$ac_objext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28741 (eval $ac_compile) 2>&5
28742 ac_status=$?
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } &&
28745 { ac_try='test -s conftest.$ac_objext'
28746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28747 (eval $ac_try) 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); }; }; then
28751 ac_header_compiler=yes
28752 else
28753 echo "$as_me: failed program was:" >&5
28754 sed 's/^/| /' conftest.$ac_ext >&5
28755
28756 ac_header_compiler=no
28757 fi
28758 rm -f conftest.$ac_objext conftest.$ac_ext
28759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28760 echo "${ECHO_T}$ac_header_compiler" >&6
28761
28762 # Is the header present?
28763 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28764 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28765 cat >conftest.$ac_ext <<_ACEOF
28766 #line $LINENO "configure"
28767 /* confdefs.h. */
28768 _ACEOF
28769 cat confdefs.h >>conftest.$ac_ext
28770 cat >>conftest.$ac_ext <<_ACEOF
28771 /* end confdefs.h. */
28772 #include <$ac_header>
28773 _ACEOF
28774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28776 ac_status=$?
28777 grep -v '^ *+' conftest.er1 >conftest.err
28778 rm -f conftest.er1
28779 cat conftest.err >&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } >/dev/null; then
28782 if test -s conftest.err; then
28783 ac_cpp_err=$ac_c_preproc_warn_flag
28784 else
28785 ac_cpp_err=
28786 fi
28787 else
28788 ac_cpp_err=yes
28789 fi
28790 if test -z "$ac_cpp_err"; then
28791 ac_header_preproc=yes
28792 else
28793 echo "$as_me: failed program was:" >&5
28794 sed 's/^/| /' conftest.$ac_ext >&5
28795
28796 ac_header_preproc=no
28797 fi
28798 rm -f conftest.err conftest.$ac_ext
28799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28800 echo "${ECHO_T}$ac_header_preproc" >&6
28801
28802 # So? What about this header?
28803 case $ac_header_compiler:$ac_header_preproc in
28804 yes:no )
28805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28809 (
28810 cat <<\_ASBOX
28811 ## ------------------------------------ ##
28812 ## Report this to bug-autoconf@gnu.org. ##
28813 ## ------------------------------------ ##
28814 _ASBOX
28815 ) |
28816 sed "s/^/$as_me: WARNING: /" >&2
28817 ;;
28818 no:yes )
28819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28825 (
28826 cat <<\_ASBOX
28827 ## ------------------------------------ ##
28828 ## Report this to bug-autoconf@gnu.org. ##
28829 ## ------------------------------------ ##
28830 _ASBOX
28831 ) |
28832 sed "s/^/$as_me: WARNING: /" >&2
28833 ;;
28834 esac
28835 echo "$as_me:$LINENO: checking for $ac_header" >&5
28836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28838 echo $ECHO_N "(cached) $ECHO_C" >&6
28839 else
28840 eval "$as_ac_Header=$ac_header_preproc"
28841 fi
28842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28844
28845 fi
28846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28847 cat >>confdefs.h <<_ACEOF
28848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28849 _ACEOF
28850
28851 EXTRALIBS_ESD="-lesd"
28852
28853 fi
28854
28855 done
28856
28857
28858 fi
28859
28860
28861
28862 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
28863 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
28864 cat >conftest.$ac_ext <<_ACEOF
28865 #line $LINENO "configure"
28866 /* confdefs.h. */
28867 _ACEOF
28868 cat confdefs.h >>conftest.$ac_ext
28869 cat >>conftest.$ac_ext <<_ACEOF
28870 /* end confdefs.h. */
28871 #ifdef __linux__
28872 #include <linux/cdrom.h>
28873 #else
28874 /* For Solaris */
28875 #include <sys/cdio.h>
28876 #endif
28877
28878 int
28879 main ()
28880 {
28881 struct cdrom_tocentry entry, old_entry;
28882 ;
28883 return 0;
28884 }
28885 _ACEOF
28886 rm -f conftest.$ac_objext
28887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28888 (eval $ac_compile) 2>&5
28889 ac_status=$?
28890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891 (exit $ac_status); } &&
28892 { ac_try='test -s conftest.$ac_objext'
28893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28894 (eval $ac_try) 2>&5
28895 ac_status=$?
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28898 echo "$as_me:$LINENO: result: yes" >&5
28899 echo "${ECHO_T}yes" >&6
28900 cat >>confdefs.h <<\_ACEOF
28901 #define HAVE_KNOWN_CDROM_INTERFACE 1
28902 _ACEOF
28903
28904 else
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.$ac_ext >&5
28907
28908 echo "$as_me:$LINENO: result: no" >&5
28909 echo "${ECHO_T}no" >&6
28910 fi
28911 rm -f conftest.$ac_objext conftest.$ac_ext
28912
28913
28914 cat >confcache <<\_ACEOF
28915 # This file is a shell script that caches the results of configure
28916 # tests run on this system so they can be shared between configure
28917 # scripts and configure runs, see configure's option --config-cache.
28918 # It is not useful on other systems. If it contains results you don't
28919 # want to keep, you may remove or edit it.
28920 #
28921 # config.status only pays attention to the cache file if you give it
28922 # the --recheck option to rerun configure.
28923 #
28924 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28925 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28926 # following values.
28927
28928 _ACEOF
28929
28930 # The following way of writing the cache mishandles newlines in values,
28931 # but we know of no workaround that is simple, portable, and efficient.
28932 # So, don't put newlines in cache variables' values.
28933 # Ultrix sh set writes to stderr and can't be redirected directly,
28934 # and sets the high bit in the cache file unless we assign to the vars.
28935 {
28936 (set) 2>&1 |
28937 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28938 *ac_space=\ *)
28939 # `set' does not quote correctly, so add quotes (double-quote
28940 # substitution turns \\\\ into \\, and sed turns \\ into \).
28941 sed -n \
28942 "s/'/'\\\\''/g;
28943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28944 ;;
28945 *)
28946 # `set' quotes correctly as required by POSIX, so do not add quotes.
28947 sed -n \
28948 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28949 ;;
28950 esac;
28951 } |
28952 sed '
28953 t clear
28954 : clear
28955 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28956 t end
28957 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28958 : end' >>confcache
28959 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28960 if test -w $cache_file; then
28961 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28962 cat confcache >$cache_file
28963 else
28964 echo "not updating unwritable cache $cache_file"
28965 fi
28966 fi
28967 rm -f confcache
28968
28969
28970 CPP_MT_FLAG=
28971 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
28972
28973
28974 THREADS_LINK=
28975 THREADS_CFLAGS=
28976
28977 if test "$wxUSE_THREADS" = "yes" ; then
28978 if test "$USE_BEOS" = 1; then
28979 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28980 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28981 wxUSE_THREADS="no"
28982 fi
28983 fi
28984
28985 if test "$wxUSE_THREADS" = "yes" ; then
28986
28987
28988 THREAD_OPTS="-pthread"
28989 case "${host}" in
28990 *-*-solaris2* | *-*-sunos4* )
28991 if test "x$GCC" = "xyes"; then
28992 THREAD_OPTS="-pthreads $THREAD_OPTS"
28993 else
28994 THREAD_OPTS="-mt $THREAD_OPTS"
28995 fi
28996 ;;
28997 *-*-freebsd*)
28998 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28999 ;;
29000 *-*-darwin* | *-*-cygwin* )
29001 THREAD_OPTS=""
29002 ;;
29003 *-*-aix*)
29004 THREAD_OPTS="pthreads"
29005 ;;
29006 *-hp-hpux* )
29007 if test "x$GCC" != "xyes"; then
29008 THREAD_OPTS=""
29009 fi
29010 ;;
29011
29012 *-*-irix* )
29013 if test "x$GCC" = "xyes"; then
29014 THREAD_OPTS=""
29015 fi
29016 ;;
29017
29018 *-*-*UnixWare*)
29019 if test "x$GCC" != "xyes"; then
29020 THREAD_OPTS="-Ethread"
29021 fi
29022 ;;
29023 esac
29024
29025 THREAD_OPTS="$THREAD_OPTS pthread none"
29026
29027 THREADS_OK=no
29028 for flag in $THREAD_OPTS; do
29029 case $flag in
29030 none)
29031 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29032 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29033 ;;
29034
29035 -*)
29036 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29037 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29038 THREADS_CFLAGS="$flag"
29039 ;;
29040
29041 *)
29042 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29043 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29044 THREADS_LINK="-l$flag"
29045 ;;
29046 esac
29047
29048 save_LIBS="$LIBS"
29049 save_CFLAGS="$CFLAGS"
29050 LIBS="$THREADS_LINK $LIBS"
29051 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29052
29053 cat >conftest.$ac_ext <<_ACEOF
29054 #line $LINENO "configure"
29055 /* confdefs.h. */
29056 _ACEOF
29057 cat confdefs.h >>conftest.$ac_ext
29058 cat >>conftest.$ac_ext <<_ACEOF
29059 /* end confdefs.h. */
29060 #include <pthread.h>
29061 int
29062 main ()
29063 {
29064 pthread_create(0,0,0,0);
29065 ;
29066 return 0;
29067 }
29068 _ACEOF
29069 rm -f conftest.$ac_objext conftest$ac_exeext
29070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29071 (eval $ac_link) 2>&5
29072 ac_status=$?
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); } &&
29075 { ac_try='test -s conftest$ac_exeext'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29078 ac_status=$?
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; }; then
29081 THREADS_OK=yes
29082 else
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29085
29086 fi
29087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29088
29089 LIBS="$save_LIBS"
29090 CFLAGS="$save_CFLAGS"
29091
29092 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29093 echo "${ECHO_T}$THREADS_OK" >&6
29094 if test "x$THREADS_OK" = "xyes"; then
29095 break;
29096 fi
29097
29098 THREADS_LINK=""
29099 THREADS_CFLAGS=""
29100 done
29101
29102 if test "x$THREADS_OK" != "xyes"; then
29103 wxUSE_THREADS=no
29104 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29105 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29106 else
29107 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29108 LIBS="$THREADS_LINK $LIBS"
29109
29110 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29111 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29112 flag=no
29113 case "${host}" in
29114 *-aix*)
29115 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29116 flag="-D_THREAD_SAFE"
29117 ;;
29118 *-freebsd*)
29119 flag="-D_THREAD_SAFE"
29120 ;;
29121 *-hp-hpux* )
29122 flag="-D_REENTRANT"
29123 if test "x$GCC" != "xyes"; then
29124 flag="$flag -D_RWSTD_MULTI_THREAD"
29125 fi
29126 ;;
29127 *solaris* | alpha*-osf*)
29128 flag="-D_REENTRANT"
29129 ;;
29130 esac
29131 echo "$as_me:$LINENO: result: ${flag}" >&5
29132 echo "${ECHO_T}${flag}" >&6
29133 if test "x$flag" != xno; then
29134 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29135 fi
29136
29137 if test "x$THREADS_CFLAGS" != "x"; then
29138 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29139 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29140 fi
29141 fi
29142 fi
29143
29144 if test "$wxUSE_THREADS" = "yes" ; then
29145
29146 for ac_func in thr_setconcurrency
29147 do
29148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29149 echo "$as_me:$LINENO: checking for $ac_func" >&5
29150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29151 if eval "test \"\${$as_ac_var+set}\" = set"; then
29152 echo $ECHO_N "(cached) $ECHO_C" >&6
29153 else
29154 cat >conftest.$ac_ext <<_ACEOF
29155 #line $LINENO "configure"
29156 /* confdefs.h. */
29157 _ACEOF
29158 cat confdefs.h >>conftest.$ac_ext
29159 cat >>conftest.$ac_ext <<_ACEOF
29160 /* end confdefs.h. */
29161 /* System header to define __stub macros and hopefully few prototypes,
29162 which can conflict with char $ac_func (); below.
29163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29164 <limits.h> exists even on freestanding compilers. */
29165 #ifdef __STDC__
29166 # include <limits.h>
29167 #else
29168 # include <assert.h>
29169 #endif
29170 /* Override any gcc2 internal prototype to avoid an error. */
29171 #ifdef __cplusplus
29172 extern "C"
29173 {
29174 #endif
29175 /* We use char because int might match the return type of a gcc2
29176 builtin and then its argument prototype would still apply. */
29177 char $ac_func ();
29178 /* The GNU C library defines this for functions which it implements
29179 to always fail with ENOSYS. Some functions are actually named
29180 something starting with __ and the normal name is an alias. */
29181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29182 choke me
29183 #else
29184 char (*f) () = $ac_func;
29185 #endif
29186 #ifdef __cplusplus
29187 }
29188 #endif
29189
29190 int
29191 main ()
29192 {
29193 return f != $ac_func;
29194 ;
29195 return 0;
29196 }
29197 _ACEOF
29198 rm -f conftest.$ac_objext conftest$ac_exeext
29199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29200 (eval $ac_link) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); } &&
29204 { ac_try='test -s conftest$ac_exeext'
29205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29206 (eval $ac_try) 2>&5
29207 ac_status=$?
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; }; then
29210 eval "$as_ac_var=yes"
29211 else
29212 echo "$as_me: failed program was:" >&5
29213 sed 's/^/| /' conftest.$ac_ext >&5
29214
29215 eval "$as_ac_var=no"
29216 fi
29217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29218 fi
29219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29221 if test `eval echo '${'$as_ac_var'}'` = yes; then
29222 cat >>confdefs.h <<_ACEOF
29223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29224 _ACEOF
29225
29226 fi
29227 done
29228
29229
29230
29231 for ac_header in sched.h
29232 do
29233 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29235 echo "$as_me:$LINENO: checking for $ac_header" >&5
29236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29239 fi
29240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29242 else
29243 # Is the header compilable?
29244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29246 cat >conftest.$ac_ext <<_ACEOF
29247 #line $LINENO "configure"
29248 /* confdefs.h. */
29249 _ACEOF
29250 cat confdefs.h >>conftest.$ac_ext
29251 cat >>conftest.$ac_ext <<_ACEOF
29252 /* end confdefs.h. */
29253 $ac_includes_default
29254 #include <$ac_header>
29255 _ACEOF
29256 rm -f conftest.$ac_objext
29257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29258 (eval $ac_compile) 2>&5
29259 ac_status=$?
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); } &&
29262 { ac_try='test -s conftest.$ac_objext'
29263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29264 (eval $ac_try) 2>&5
29265 ac_status=$?
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); }; }; then
29268 ac_header_compiler=yes
29269 else
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.$ac_ext >&5
29272
29273 ac_header_compiler=no
29274 fi
29275 rm -f conftest.$ac_objext conftest.$ac_ext
29276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29277 echo "${ECHO_T}$ac_header_compiler" >&6
29278
29279 # Is the header present?
29280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29282 cat >conftest.$ac_ext <<_ACEOF
29283 #line $LINENO "configure"
29284 /* confdefs.h. */
29285 _ACEOF
29286 cat confdefs.h >>conftest.$ac_ext
29287 cat >>conftest.$ac_ext <<_ACEOF
29288 /* end confdefs.h. */
29289 #include <$ac_header>
29290 _ACEOF
29291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29293 ac_status=$?
29294 grep -v '^ *+' conftest.er1 >conftest.err
29295 rm -f conftest.er1
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } >/dev/null; then
29299 if test -s conftest.err; then
29300 ac_cpp_err=$ac_c_preproc_warn_flag
29301 else
29302 ac_cpp_err=
29303 fi
29304 else
29305 ac_cpp_err=yes
29306 fi
29307 if test -z "$ac_cpp_err"; then
29308 ac_header_preproc=yes
29309 else
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.$ac_ext >&5
29312
29313 ac_header_preproc=no
29314 fi
29315 rm -f conftest.err conftest.$ac_ext
29316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29317 echo "${ECHO_T}$ac_header_preproc" >&6
29318
29319 # So? What about this header?
29320 case $ac_header_compiler:$ac_header_preproc in
29321 yes:no )
29322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29326 (
29327 cat <<\_ASBOX
29328 ## ------------------------------------ ##
29329 ## Report this to bug-autoconf@gnu.org. ##
29330 ## ------------------------------------ ##
29331 _ASBOX
29332 ) |
29333 sed "s/^/$as_me: WARNING: /" >&2
29334 ;;
29335 no:yes )
29336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29342 (
29343 cat <<\_ASBOX
29344 ## ------------------------------------ ##
29345 ## Report this to bug-autoconf@gnu.org. ##
29346 ## ------------------------------------ ##
29347 _ASBOX
29348 ) |
29349 sed "s/^/$as_me: WARNING: /" >&2
29350 ;;
29351 esac
29352 echo "$as_me:$LINENO: checking for $ac_header" >&5
29353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 else
29357 eval "$as_ac_Header=$ac_header_preproc"
29358 fi
29359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29361
29362 fi
29363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29364 cat >>confdefs.h <<_ACEOF
29365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29366 _ACEOF
29367
29368 fi
29369
29370 done
29371
29372 if test "$ac_cv_header_sched_h" = "yes"; then
29373 echo "$as_me:$LINENO: checking for sched_yield" >&5
29374 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29375 if test "${ac_cv_func_sched_yield+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29378 cat >conftest.$ac_ext <<_ACEOF
29379 #line $LINENO "configure"
29380 /* confdefs.h. */
29381 _ACEOF
29382 cat confdefs.h >>conftest.$ac_ext
29383 cat >>conftest.$ac_ext <<_ACEOF
29384 /* end confdefs.h. */
29385 /* System header to define __stub macros and hopefully few prototypes,
29386 which can conflict with char sched_yield (); below.
29387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29388 <limits.h> exists even on freestanding compilers. */
29389 #ifdef __STDC__
29390 # include <limits.h>
29391 #else
29392 # include <assert.h>
29393 #endif
29394 /* Override any gcc2 internal prototype to avoid an error. */
29395 #ifdef __cplusplus
29396 extern "C"
29397 {
29398 #endif
29399 /* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29401 char sched_yield ();
29402 /* The GNU C library defines this for functions which it implements
29403 to always fail with ENOSYS. Some functions are actually named
29404 something starting with __ and the normal name is an alias. */
29405 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29406 choke me
29407 #else
29408 char (*f) () = sched_yield;
29409 #endif
29410 #ifdef __cplusplus
29411 }
29412 #endif
29413
29414 int
29415 main ()
29416 {
29417 return f != sched_yield;
29418 ;
29419 return 0;
29420 }
29421 _ACEOF
29422 rm -f conftest.$ac_objext conftest$ac_exeext
29423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29424 (eval $ac_link) 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try='test -s conftest$ac_exeext'
29429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29430 (eval $ac_try) 2>&5
29431 ac_status=$?
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); }; }; then
29434 ac_cv_func_sched_yield=yes
29435 else
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.$ac_ext >&5
29438
29439 ac_cv_func_sched_yield=no
29440 fi
29441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29442 fi
29443 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29444 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29445 if test $ac_cv_func_sched_yield = yes; then
29446 cat >>confdefs.h <<\_ACEOF
29447 #define HAVE_SCHED_YIELD 1
29448 _ACEOF
29449
29450 else
29451
29452 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29453 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29454 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29455 echo $ECHO_N "(cached) $ECHO_C" >&6
29456 else
29457 ac_check_lib_save_LIBS=$LIBS
29458 LIBS="-lposix4 $LIBS"
29459 cat >conftest.$ac_ext <<_ACEOF
29460 #line $LINENO "configure"
29461 /* confdefs.h. */
29462 _ACEOF
29463 cat confdefs.h >>conftest.$ac_ext
29464 cat >>conftest.$ac_ext <<_ACEOF
29465 /* end confdefs.h. */
29466
29467 /* Override any gcc2 internal prototype to avoid an error. */
29468 #ifdef __cplusplus
29469 extern "C"
29470 #endif
29471 /* We use char because int might match the return type of a gcc2
29472 builtin and then its argument prototype would still apply. */
29473 char sched_yield ();
29474 int
29475 main ()
29476 {
29477 sched_yield ();
29478 ;
29479 return 0;
29480 }
29481 _ACEOF
29482 rm -f conftest.$ac_objext conftest$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_cv_lib_posix4_sched_yield=yes
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 ac_cv_lib_posix4_sched_yield=no
29500 fi
29501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29502 LIBS=$ac_check_lib_save_LIBS
29503 fi
29504 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29505 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29506 if test $ac_cv_lib_posix4_sched_yield = yes; then
29507 cat >>confdefs.h <<\_ACEOF
29508 #define HAVE_SCHED_YIELD 1
29509 _ACEOF
29510 POSIX4_LINK=" -lposix4"
29511 else
29512 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29513 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29514
29515 fi
29516
29517
29518
29519 fi
29520
29521 fi
29522
29523 HAVE_PRIOR_FUNCS=0
29524 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29525 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29526 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29527 echo $ECHO_N "(cached) $ECHO_C" >&6
29528 else
29529 cat >conftest.$ac_ext <<_ACEOF
29530 #line $LINENO "configure"
29531 /* confdefs.h. */
29532 _ACEOF
29533 cat confdefs.h >>conftest.$ac_ext
29534 cat >>conftest.$ac_ext <<_ACEOF
29535 /* end confdefs.h. */
29536 /* System header to define __stub macros and hopefully few prototypes,
29537 which can conflict with char pthread_attr_getschedpolicy (); below.
29538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29539 <limits.h> exists even on freestanding compilers. */
29540 #ifdef __STDC__
29541 # include <limits.h>
29542 #else
29543 # include <assert.h>
29544 #endif
29545 /* Override any gcc2 internal prototype to avoid an error. */
29546 #ifdef __cplusplus
29547 extern "C"
29548 {
29549 #endif
29550 /* We use char because int might match the return type of a gcc2
29551 builtin and then its argument prototype would still apply. */
29552 char pthread_attr_getschedpolicy ();
29553 /* The GNU C library defines this for functions which it implements
29554 to always fail with ENOSYS. Some functions are actually named
29555 something starting with __ and the normal name is an alias. */
29556 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29557 choke me
29558 #else
29559 char (*f) () = pthread_attr_getschedpolicy;
29560 #endif
29561 #ifdef __cplusplus
29562 }
29563 #endif
29564
29565 int
29566 main ()
29567 {
29568 return f != pthread_attr_getschedpolicy;
29569 ;
29570 return 0;
29571 }
29572 _ACEOF
29573 rm -f conftest.$ac_objext conftest$ac_exeext
29574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29575 (eval $ac_link) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); } &&
29579 { ac_try='test -s conftest$ac_exeext'
29580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29581 (eval $ac_try) 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); }; }; then
29585 ac_cv_func_pthread_attr_getschedpolicy=yes
29586 else
29587 echo "$as_me: failed program was:" >&5
29588 sed 's/^/| /' conftest.$ac_ext >&5
29589
29590 ac_cv_func_pthread_attr_getschedpolicy=no
29591 fi
29592 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29593 fi
29594 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29595 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29596 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29597 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29598 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29599 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 else
29602 cat >conftest.$ac_ext <<_ACEOF
29603 #line $LINENO "configure"
29604 /* confdefs.h. */
29605 _ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 cat >>conftest.$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609 /* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char pthread_attr_setschedparam (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29613 #ifdef __STDC__
29614 # include <limits.h>
29615 #else
29616 # include <assert.h>
29617 #endif
29618 /* Override any gcc2 internal prototype to avoid an error. */
29619 #ifdef __cplusplus
29620 extern "C"
29621 {
29622 #endif
29623 /* We use char because int might match the return type of a gcc2
29624 builtin and then its argument prototype would still apply. */
29625 char pthread_attr_setschedparam ();
29626 /* The GNU C library defines this for functions which it implements
29627 to always fail with ENOSYS. Some functions are actually named
29628 something starting with __ and the normal name is an alias. */
29629 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29630 choke me
29631 #else
29632 char (*f) () = pthread_attr_setschedparam;
29633 #endif
29634 #ifdef __cplusplus
29635 }
29636 #endif
29637
29638 int
29639 main ()
29640 {
29641 return f != pthread_attr_setschedparam;
29642 ;
29643 return 0;
29644 }
29645 _ACEOF
29646 rm -f conftest.$ac_objext conftest$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>&5
29649 ac_status=$?
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try='test -s conftest$ac_exeext'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29655 ac_status=$?
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; }; then
29658 ac_cv_func_pthread_attr_setschedparam=yes
29659 else
29660 echo "$as_me: failed program was:" >&5
29661 sed 's/^/| /' conftest.$ac_ext >&5
29662
29663 ac_cv_func_pthread_attr_setschedparam=no
29664 fi
29665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29666 fi
29667 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29668 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29669 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29670 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29671 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29672 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29673 echo $ECHO_N "(cached) $ECHO_C" >&6
29674 else
29675 cat >conftest.$ac_ext <<_ACEOF
29676 #line $LINENO "configure"
29677 /* confdefs.h. */
29678 _ACEOF
29679 cat confdefs.h >>conftest.$ac_ext
29680 cat >>conftest.$ac_ext <<_ACEOF
29681 /* end confdefs.h. */
29682 /* System header to define __stub macros and hopefully few prototypes,
29683 which can conflict with char sched_get_priority_max (); below.
29684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29685 <limits.h> exists even on freestanding compilers. */
29686 #ifdef __STDC__
29687 # include <limits.h>
29688 #else
29689 # include <assert.h>
29690 #endif
29691 /* Override any gcc2 internal prototype to avoid an error. */
29692 #ifdef __cplusplus
29693 extern "C"
29694 {
29695 #endif
29696 /* We use char because int might match the return type of a gcc2
29697 builtin and then its argument prototype would still apply. */
29698 char sched_get_priority_max ();
29699 /* The GNU C library defines this for functions which it implements
29700 to always fail with ENOSYS. Some functions are actually named
29701 something starting with __ and the normal name is an alias. */
29702 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29703 choke me
29704 #else
29705 char (*f) () = sched_get_priority_max;
29706 #endif
29707 #ifdef __cplusplus
29708 }
29709 #endif
29710
29711 int
29712 main ()
29713 {
29714 return f != sched_get_priority_max;
29715 ;
29716 return 0;
29717 }
29718 _ACEOF
29719 rm -f conftest.$ac_objext conftest$ac_exeext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29721 (eval $ac_link) 2>&5
29722 ac_status=$?
29723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29724 (exit $ac_status); } &&
29725 { ac_try='test -s conftest$ac_exeext'
29726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29727 (eval $ac_try) 2>&5
29728 ac_status=$?
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); }; }; then
29731 ac_cv_func_sched_get_priority_max=yes
29732 else
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.$ac_ext >&5
29735
29736 ac_cv_func_sched_get_priority_max=no
29737 fi
29738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29739 fi
29740 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29741 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29742 if test $ac_cv_func_sched_get_priority_max = yes; then
29743 HAVE_PRIOR_FUNCS=1
29744 else
29745 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29746 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29747 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29749 else
29750 ac_check_lib_save_LIBS=$LIBS
29751 LIBS="-lposix4 $LIBS"
29752 cat >conftest.$ac_ext <<_ACEOF
29753 #line $LINENO "configure"
29754 /* confdefs.h. */
29755 _ACEOF
29756 cat confdefs.h >>conftest.$ac_ext
29757 cat >>conftest.$ac_ext <<_ACEOF
29758 /* end confdefs.h. */
29759
29760 /* Override any gcc2 internal prototype to avoid an error. */
29761 #ifdef __cplusplus
29762 extern "C"
29763 #endif
29764 /* We use char because int might match the return type of a gcc2
29765 builtin and then its argument prototype would still apply. */
29766 char sched_get_priority_max ();
29767 int
29768 main ()
29769 {
29770 sched_get_priority_max ();
29771 ;
29772 return 0;
29773 }
29774 _ACEOF
29775 rm -f conftest.$ac_objext conftest$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>&5
29778 ac_status=$?
29779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } &&
29781 { ac_try='test -s conftest$ac_exeext'
29782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29783 (eval $ac_try) 2>&5
29784 ac_status=$?
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); }; }; then
29787 ac_cv_lib_posix4_sched_get_priority_max=yes
29788 else
29789 echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.$ac_ext >&5
29791
29792 ac_cv_lib_posix4_sched_get_priority_max=no
29793 fi
29794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29795 LIBS=$ac_check_lib_save_LIBS
29796 fi
29797 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29798 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29799 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29800
29801 HAVE_PRIOR_FUNCS=1
29802 POSIX4_LINK=" -lposix4"
29803
29804 fi
29805
29806
29807 fi
29808
29809
29810 fi
29811
29812
29813 fi
29814
29815
29816 if test "$HAVE_PRIOR_FUNCS" = 1; then
29817 cat >>confdefs.h <<\_ACEOF
29818 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29819 _ACEOF
29820
29821 else
29822 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29823 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29824 fi
29825
29826 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29827 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29828 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29829 echo $ECHO_N "(cached) $ECHO_C" >&6
29830 else
29831 cat >conftest.$ac_ext <<_ACEOF
29832 #line $LINENO "configure"
29833 /* confdefs.h. */
29834 _ACEOF
29835 cat confdefs.h >>conftest.$ac_ext
29836 cat >>conftest.$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 /* System header to define __stub macros and hopefully few prototypes,
29839 which can conflict with char pthread_cancel (); below.
29840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29841 <limits.h> exists even on freestanding compilers. */
29842 #ifdef __STDC__
29843 # include <limits.h>
29844 #else
29845 # include <assert.h>
29846 #endif
29847 /* Override any gcc2 internal prototype to avoid an error. */
29848 #ifdef __cplusplus
29849 extern "C"
29850 {
29851 #endif
29852 /* We use char because int might match the return type of a gcc2
29853 builtin and then its argument prototype would still apply. */
29854 char pthread_cancel ();
29855 /* The GNU C library defines this for functions which it implements
29856 to always fail with ENOSYS. Some functions are actually named
29857 something starting with __ and the normal name is an alias. */
29858 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29859 choke me
29860 #else
29861 char (*f) () = pthread_cancel;
29862 #endif
29863 #ifdef __cplusplus
29864 }
29865 #endif
29866
29867 int
29868 main ()
29869 {
29870 return f != pthread_cancel;
29871 ;
29872 return 0;
29873 }
29874 _ACEOF
29875 rm -f conftest.$ac_objext conftest$ac_exeext
29876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29877 (eval $ac_link) 2>&5
29878 ac_status=$?
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); } &&
29881 { ac_try='test -s conftest$ac_exeext'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29884 ac_status=$?
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; }; then
29887 ac_cv_func_pthread_cancel=yes
29888 else
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.$ac_ext >&5
29891
29892 ac_cv_func_pthread_cancel=no
29893 fi
29894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29895 fi
29896 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29897 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29898 if test $ac_cv_func_pthread_cancel = yes; then
29899 cat >>confdefs.h <<\_ACEOF
29900 #define HAVE_PTHREAD_CANCEL 1
29901 _ACEOF
29902
29903 else
29904 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29905 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29906 fi
29907
29908
29909
29910
29911 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29912 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29913 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29914 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 else
29916
29917 cat >conftest.$ac_ext <<_ACEOF
29918 #line $LINENO "configure"
29919 /* confdefs.h. */
29920 _ACEOF
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924 #include <pthread.h>
29925 int
29926 main ()
29927 {
29928
29929 pthread_mutexattr_t attr;
29930 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29931
29932 ;
29933 return 0;
29934 }
29935 _ACEOF
29936 rm -f conftest.$ac_objext
29937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29938 (eval $ac_compile) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } &&
29942 { ac_try='test -s conftest.$ac_objext'
29943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29944 (eval $ac_try) 2>&5
29945 ac_status=$?
29946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29947 (exit $ac_status); }; }; then
29948
29949 wx_cv_type_pthread_mutexattr_t=yes
29950
29951 else
29952 echo "$as_me: failed program was:" >&5
29953 sed 's/^/| /' conftest.$ac_ext >&5
29954
29955
29956 wx_cv_type_pthread_mutexattr_t=no
29957
29958
29959 fi
29960 rm -f conftest.$ac_objext conftest.$ac_ext
29961
29962 fi
29963 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29964 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29965
29966 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29967 cat >>confdefs.h <<\_ACEOF
29968 #define HAVE_PTHREAD_MUTEXATTR_T 1
29969 _ACEOF
29970
29971 else
29972 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29973 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29974 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29977
29978 cat >conftest.$ac_ext <<_ACEOF
29979 #line $LINENO "configure"
29980 /* confdefs.h. */
29981 _ACEOF
29982 cat confdefs.h >>conftest.$ac_ext
29983 cat >>conftest.$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29985 #include <pthread.h>
29986 int
29987 main ()
29988 {
29989
29990 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29991
29992 ;
29993 return 0;
29994 }
29995 _ACEOF
29996 rm -f conftest.$ac_objext
29997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29998 (eval $ac_compile) 2>&5
29999 ac_status=$?
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try='test -s conftest.$ac_objext'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30005 ac_status=$?
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; }; then
30008
30009 wx_cv_type_pthread_rec_mutex_init=yes
30010
30011 else
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30014
30015
30016 wx_cv_type_pthread_rec_mutex_init=no
30017
30018
30019 fi
30020 rm -f conftest.$ac_objext conftest.$ac_ext
30021
30022 fi
30023 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30024 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30025 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30026 cat >>confdefs.h <<\_ACEOF
30027 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30028 _ACEOF
30029
30030 else
30031 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30032 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30033 fi
30034 fi
30035 fi
30036
30037 else
30038 if test "$wxUSE_THREADS" = "yes" ; then
30039 case "${host}" in
30040 *-*-mingw32* )
30041 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30042 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30043 if test "${wx_cv_cflags_mthread+set}" = set; then
30044 echo $ECHO_N "(cached) $ECHO_C" >&6
30045 else
30046
30047 CFLAGS_OLD="$CFLAGS"
30048 CFLAGS="$CFLAGS -mthreads"
30049 cat >conftest.$ac_ext <<_ACEOF
30050 #line $LINENO "configure"
30051 /* confdefs.h. */
30052 _ACEOF
30053 cat confdefs.h >>conftest.$ac_ext
30054 cat >>conftest.$ac_ext <<_ACEOF
30055 /* end confdefs.h. */
30056
30057 int
30058 main ()
30059 {
30060
30061 ;
30062 return 0;
30063 }
30064 _ACEOF
30065 rm -f conftest.$ac_objext
30066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30067 (eval $ac_compile) 2>&5
30068 ac_status=$?
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } &&
30071 { ac_try='test -s conftest.$ac_objext'
30072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30073 (eval $ac_try) 2>&5
30074 ac_status=$?
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); }; }; then
30077 wx_cv_cflags_mthread=yes
30078 else
30079 echo "$as_me: failed program was:" >&5
30080 sed 's/^/| /' conftest.$ac_ext >&5
30081
30082 wx_cv_cflags_mthread=no
30083
30084 fi
30085 rm -f conftest.$ac_objext conftest.$ac_ext
30086
30087
30088 fi
30089 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30090 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30091
30092 if test "$wx_cv_cflags_mthread" = "yes"; then
30093 CXXFLAGS="$CXXFLAGS -mthreads"
30094 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30095 LDFLAGS="$LDFLAGS -mthreads"
30096 else
30097 CFLAGS="$CFLAGS_OLD"
30098 fi
30099 ;;
30100 *-pc-os2*emx )
30101 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30102 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30103 LDFLAGS="$LDFLAGS -Zmt"
30104 ;;
30105 esac
30106 fi
30107 fi
30108
30109 if test "$wxUSE_THREADS" = "yes"; then
30110 cat >>confdefs.h <<\_ACEOF
30111 #define wxUSE_THREADS 1
30112 _ACEOF
30113
30114
30115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30116 else
30117 if test "$ac_cv_func_strtok_r" = "yes"; then
30118 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30119 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30120 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30121 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30122 echo "$as_me:$LINENO: result: yes" >&5
30123 echo "${ECHO_T}yes" >&6
30124 else
30125 echo "$as_me:$LINENO: result: no" >&5
30126 echo "${ECHO_T}no" >&6
30127 fi
30128 fi
30129 fi
30130
30131 if test "$WXGTK20" = 1 ; then
30132 cat >>confdefs.h <<_ACEOF
30133 #define __WXGTK20__ $WXGTK20
30134 _ACEOF
30135
30136 WXGTK12=1
30137 fi
30138
30139 if test "$WXGTK12" = 1 ; then
30140 cat >>confdefs.h <<_ACEOF
30141 #define __WXGTK12__ $WXGTK12
30142 _ACEOF
30143
30144 fi
30145
30146 if test "$WXGTK127" = 1 ; then
30147 cat >>confdefs.h <<_ACEOF
30148 #define __WXGTK127__ $WXGTK127
30149 _ACEOF
30150
30151 fi
30152
30153 WXDEBUG=
30154
30155 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30156 WXDEBUG="-g"
30157 wxUSE_OPTIMISE=no
30158 fi
30159
30160 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30161 wxUSE_DEBUG_INFO=yes
30162 WXDEBUG="-ggdb"
30163 fi
30164
30165 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30166 cat >>confdefs.h <<\_ACEOF
30167 #define WXDEBUG 1
30168 _ACEOF
30169
30170 WXDEBUG_DEFINE="-D__WXDEBUG__"
30171 else
30172 if test "$wxUSE_GTK" = 1 ; then
30173 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30174 fi
30175 fi
30176
30177 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30178 cat >>confdefs.h <<\_ACEOF
30179 #define wxUSE_MEMORY_TRACING 1
30180 _ACEOF
30181
30182 cat >>confdefs.h <<\_ACEOF
30183 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30184 _ACEOF
30185
30186 cat >>confdefs.h <<\_ACEOF
30187 #define wxUSE_DEBUG_NEW_ALWAYS 1
30188 _ACEOF
30189
30190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30191 fi
30192
30193 if test "$wxUSE_DMALLOC" = "yes" ; then
30194 DMALLOC_LIBS="-ldmalloc"
30195 fi
30196
30197 PROFILE=
30198 if test "$wxUSE_PROFILE" = "yes" ; then
30199 PROFILE=" -pg"
30200 fi
30201
30202 CODE_GEN_FLAGS=
30203 CODE_GEN_FLAGS_CXX=
30204 if test "$GCC" = "yes" ; then
30205 if test "$wxUSE_NO_RTTI" = "yes" ; then
30206 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30207 fi
30208 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30209 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30210 fi
30211 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30212 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30213 fi
30214
30215 case "${host}" in
30216 powerpc*-*-aix* )
30217 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30218 ;;
30219 *-hppa* )
30220 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30221 ;;
30222 esac
30223 fi
30224
30225 OPTIMISE=
30226 if test "$wxUSE_OPTIMISE" = "no" ; then
30227 if test "$GCC" = yes ; then
30228 OPTIMISE="-O0"
30229 fi
30230 else
30231 if test "$GCC" = yes ; then
30232 OPTIMISE="-O2"
30233
30234 case "${host}" in
30235 i586-*-*|i686-*-* )
30236 OPTIMISE="${OPTIMISE} "
30237 ;;
30238 esac
30239 else
30240 OPTIMISE="-O"
30241 fi
30242 fi
30243
30244
30245 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30246 cat >>confdefs.h <<\_ACEOF
30247 #define WXWIN_COMPATIBILITY_2_2 1
30248 _ACEOF
30249
30250
30251 WXWIN_COMPATIBILITY_2_4="yes"
30252 fi
30253
30254 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30255 cat >>confdefs.h <<\_ACEOF
30256 #define WXWIN_COMPATIBILITY_2_4 1
30257 _ACEOF
30258
30259 fi
30260
30261
30262 if test "$wxUSE_GUI" = "yes"; then
30263 cat >>confdefs.h <<\_ACEOF
30264 #define wxUSE_GUI 1
30265 _ACEOF
30266
30267
30268 else
30269 cat >>confdefs.h <<\_ACEOF
30270 #define wxUSE_NOGUI 1
30271 _ACEOF
30272
30273 fi
30274
30275
30276 if test "$wxUSE_UNIX" = "yes"; then
30277 cat >>confdefs.h <<\_ACEOF
30278 #define wxUSE_UNIX 1
30279 _ACEOF
30280
30281 fi
30282
30283
30284 if test "$wxUSE_STL" = "yes"; then
30285 cat >>confdefs.h <<\_ACEOF
30286 #define wxUSE_STL 1
30287 _ACEOF
30288
30289 fi
30290
30291 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30292 cat >>confdefs.h <<\_ACEOF
30293 #define wxUSE_APPLE_IEEE 1
30294 _ACEOF
30295
30296 fi
30297
30298 if test "$wxUSE_TIMER" = "yes"; then
30299 cat >>confdefs.h <<\_ACEOF
30300 #define wxUSE_TIMER 1
30301 _ACEOF
30302
30303 fi
30304
30305 if test "$wxUSE_WAVE" = "yes"; then
30306 cat >>confdefs.h <<\_ACEOF
30307 #define wxUSE_WAVE 1
30308 _ACEOF
30309
30310 fi
30311
30312 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30313 cat >>confdefs.h <<\_ACEOF
30314 #define wxUSE_CMDLINE_PARSER 1
30315 _ACEOF
30316
30317 fi
30318
30319 if test "$wxUSE_STOPWATCH" = "yes"; then
30320 cat >>confdefs.h <<\_ACEOF
30321 #define wxUSE_STOPWATCH 1
30322 _ACEOF
30323
30324 fi
30325
30326 if test "$wxUSE_DATETIME" = "yes"; then
30327 cat >>confdefs.h <<\_ACEOF
30328 #define wxUSE_DATETIME 1
30329 _ACEOF
30330
30331 fi
30332
30333 if test "$wxUSE_FILE" = "yes"; then
30334 cat >>confdefs.h <<\_ACEOF
30335 #define wxUSE_FILE 1
30336 _ACEOF
30337
30338 fi
30339
30340 if test "$wxUSE_FFILE" = "yes"; then
30341 cat >>confdefs.h <<\_ACEOF
30342 #define wxUSE_FFILE 1
30343 _ACEOF
30344
30345 fi
30346
30347 if test "$wxUSE_FILESYSTEM" = "yes"; then
30348 cat >>confdefs.h <<\_ACEOF
30349 #define wxUSE_FILESYSTEM 1
30350 _ACEOF
30351
30352 fi
30353
30354 if test "$wxUSE_FS_ZIP" = "yes"; then
30355 cat >>confdefs.h <<\_ACEOF
30356 #define wxUSE_FS_ZIP 1
30357 _ACEOF
30358
30359 fi
30360
30361 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30362 cat >>confdefs.h <<\_ACEOF
30363 #define wxUSE_ZIPSTREAM 1
30364 _ACEOF
30365
30366 fi
30367
30368 if test "$wxUSE_GZSTREAM" = "yes"; then
30369 cat >>confdefs.h <<\_ACEOF
30370 #define wxUSE_GZSTREAM 1
30371 _ACEOF
30372
30373 fi
30374
30375 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30376 cat >>confdefs.h <<\_ACEOF
30377 #define wxUSE_ON_FATAL_EXCEPTION 1
30378 _ACEOF
30379
30380 fi
30381
30382 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30383 cat >>confdefs.h <<\_ACEOF
30384 #define wxUSE_SNGLINST_CHECKER 1
30385 _ACEOF
30386
30387 fi
30388
30389 if test "$wxUSE_BUSYINFO" = "yes"; then
30390 cat >>confdefs.h <<\_ACEOF
30391 #define wxUSE_BUSYINFO 1
30392 _ACEOF
30393
30394 fi
30395
30396 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30397 cat >>confdefs.h <<\_ACEOF
30398 #define wxUSE_STD_IOSTREAM 1
30399 _ACEOF
30400
30401 fi
30402
30403 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30404 cat >>confdefs.h <<\_ACEOF
30405 #define wxUSE_TEXTBUFFER 1
30406 _ACEOF
30407
30408 fi
30409
30410 if test "$wxUSE_TEXTFILE" = "yes"; then
30411 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30412 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30413 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30414 else
30415 cat >>confdefs.h <<\_ACEOF
30416 #define wxUSE_TEXTFILE 1
30417 _ACEOF
30418
30419 fi
30420 fi
30421
30422 if test "$wxUSE_CONFIG" = "yes" ; then
30423 if test "$wxUSE_TEXTFILE" != "yes"; then
30424 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30425 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30426 else
30427 cat >>confdefs.h <<\_ACEOF
30428 #define wxUSE_CONFIG 1
30429 _ACEOF
30430
30431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30432 fi
30433 fi
30434
30435 if test "$wxUSE_INTL" = "yes" ; then
30436 if test "$wxUSE_FILE" != "yes"; then
30437 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30438 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30439 else
30440 cat >>confdefs.h <<\_ACEOF
30441 #define wxUSE_INTL 1
30442 _ACEOF
30443
30444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30445 GUIDIST="$GUIDIST INTL_DIST"
30446 fi
30447 fi
30448
30449 if test "$wxUSE_LOG" = "yes"; then
30450 cat >>confdefs.h <<\_ACEOF
30451 #define wxUSE_LOG 1
30452 _ACEOF
30453
30454
30455 if test "$wxUSE_LOGGUI" = "yes"; then
30456 cat >>confdefs.h <<\_ACEOF
30457 #define wxUSE_LOGGUI 1
30458 _ACEOF
30459
30460 fi
30461
30462 if test "$wxUSE_LOGWINDOW" = "yes"; then
30463 cat >>confdefs.h <<\_ACEOF
30464 #define wxUSE_LOGWINDOW 1
30465 _ACEOF
30466
30467 fi
30468
30469 if test "$wxUSE_LOGDIALOG" = "yes"; then
30470 cat >>confdefs.h <<\_ACEOF
30471 #define wxUSE_LOG_DIALOG 1
30472 _ACEOF
30473
30474 fi
30475 fi
30476
30477 if test "$wxUSE_LONGLONG" = "yes"; then
30478 cat >>confdefs.h <<\_ACEOF
30479 #define wxUSE_LONGLONG 1
30480 _ACEOF
30481
30482 fi
30483
30484 if test "$wxUSE_GEOMETRY" = "yes"; then
30485 cat >>confdefs.h <<\_ACEOF
30486 #define wxUSE_GEOMETRY 1
30487 _ACEOF
30488
30489 fi
30490
30491 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30492 cat >>confdefs.h <<\_ACEOF
30493 #define wxUSE_DIALUP_MANAGER 1
30494 _ACEOF
30495
30496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30497 fi
30498
30499 if test "$wxUSE_STREAMS" = "yes" ; then
30500 cat >>confdefs.h <<\_ACEOF
30501 #define wxUSE_STREAMS 1
30502 _ACEOF
30503
30504 fi
30505
30506
30507 if test "$wxUSE_DATETIME" = "yes"; then
30508
30509 for ac_func in strptime
30510 do
30511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30512 echo "$as_me:$LINENO: checking for $ac_func" >&5
30513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30514 if eval "test \"\${$as_ac_var+set}\" = set"; then
30515 echo $ECHO_N "(cached) $ECHO_C" >&6
30516 else
30517 cat >conftest.$ac_ext <<_ACEOF
30518 #line $LINENO "configure"
30519 /* confdefs.h. */
30520 _ACEOF
30521 cat confdefs.h >>conftest.$ac_ext
30522 cat >>conftest.$ac_ext <<_ACEOF
30523 /* end confdefs.h. */
30524 /* System header to define __stub macros and hopefully few prototypes,
30525 which can conflict with char $ac_func (); below.
30526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30527 <limits.h> exists even on freestanding compilers. */
30528 #ifdef __STDC__
30529 # include <limits.h>
30530 #else
30531 # include <assert.h>
30532 #endif
30533 /* Override any gcc2 internal prototype to avoid an error. */
30534 #ifdef __cplusplus
30535 extern "C"
30536 {
30537 #endif
30538 /* We use char because int might match the return type of a gcc2
30539 builtin and then its argument prototype would still apply. */
30540 char $ac_func ();
30541 /* The GNU C library defines this for functions which it implements
30542 to always fail with ENOSYS. Some functions are actually named
30543 something starting with __ and the normal name is an alias. */
30544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30545 choke me
30546 #else
30547 char (*f) () = $ac_func;
30548 #endif
30549 #ifdef __cplusplus
30550 }
30551 #endif
30552
30553 int
30554 main ()
30555 {
30556 return f != $ac_func;
30557 ;
30558 return 0;
30559 }
30560 _ACEOF
30561 rm -f conftest.$ac_objext conftest$ac_exeext
30562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30563 (eval $ac_link) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } &&
30567 { ac_try='test -s conftest$ac_exeext'
30568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30569 (eval $ac_try) 2>&5
30570 ac_status=$?
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); }; }; then
30573 eval "$as_ac_var=yes"
30574 else
30575 echo "$as_me: failed program was:" >&5
30576 sed 's/^/| /' conftest.$ac_ext >&5
30577
30578 eval "$as_ac_var=no"
30579 fi
30580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30581 fi
30582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30584 if test `eval echo '${'$as_ac_var'}'` = yes; then
30585 cat >>confdefs.h <<_ACEOF
30586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30587 _ACEOF
30588
30589 fi
30590 done
30591
30592
30593 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30594 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30595 if test "${wx_cv_var_timezone+set}" = set; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30597 else
30598
30599 cat >conftest.$ac_ext <<_ACEOF
30600 #line $LINENO "configure"
30601 /* confdefs.h. */
30602 _ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30606
30607 #include <time.h>
30608
30609 int
30610 main ()
30611 {
30612
30613 int tz;
30614 tz = timezone;
30615
30616 ;
30617 return 0;
30618 }
30619 _ACEOF
30620 rm -f conftest.$ac_objext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30622 (eval $ac_compile) 2>&5
30623 ac_status=$?
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } &&
30626 { ac_try='test -s conftest.$ac_objext'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30629 ac_status=$?
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30632
30633 wx_cv_var_timezone=timezone
30634
30635 else
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.$ac_ext >&5
30638
30639
30640 cat >conftest.$ac_ext <<_ACEOF
30641 #line $LINENO "configure"
30642 /* confdefs.h. */
30643 _ACEOF
30644 cat confdefs.h >>conftest.$ac_ext
30645 cat >>conftest.$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30647
30648 #include <time.h>
30649
30650 int
30651 main ()
30652 {
30653
30654 int tz;
30655 tz = _timezone;
30656
30657 ;
30658 return 0;
30659 }
30660 _ACEOF
30661 rm -f conftest.$ac_objext
30662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30663 (eval $ac_compile) 2>&5
30664 ac_status=$?
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } &&
30667 { ac_try='test -s conftest.$ac_objext'
30668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30669 (eval $ac_try) 2>&5
30670 ac_status=$?
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); }; }; then
30673
30674 wx_cv_var_timezone=_timezone
30675
30676 else
30677 echo "$as_me: failed program was:" >&5
30678 sed 's/^/| /' conftest.$ac_ext >&5
30679
30680
30681 cat >conftest.$ac_ext <<_ACEOF
30682 #line $LINENO "configure"
30683 /* confdefs.h. */
30684 _ACEOF
30685 cat confdefs.h >>conftest.$ac_ext
30686 cat >>conftest.$ac_ext <<_ACEOF
30687 /* end confdefs.h. */
30688
30689 #include <time.h>
30690
30691 int
30692 main ()
30693 {
30694
30695 int tz;
30696 tz = __timezone;
30697
30698 ;
30699 return 0;
30700 }
30701 _ACEOF
30702 rm -f conftest.$ac_objext
30703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30704 (eval $ac_compile) 2>&5
30705 ac_status=$?
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } &&
30708 { ac_try='test -s conftest.$ac_objext'
30709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30710 (eval $ac_try) 2>&5
30711 ac_status=$?
30712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30713 (exit $ac_status); }; }; then
30714
30715 wx_cv_var_timezone=__timezone
30716
30717 else
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.$ac_ext >&5
30720
30721
30722 if test "$USE_DOS" = 0 ; then
30723 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30724 echo "$as_me: WARNING: no timezone variable" >&2;}
30725 fi
30726
30727
30728 fi
30729 rm -f conftest.$ac_objext conftest.$ac_ext
30730
30731
30732 fi
30733 rm -f conftest.$ac_objext conftest.$ac_ext
30734
30735
30736 fi
30737 rm -f conftest.$ac_objext conftest.$ac_ext
30738
30739
30740 fi
30741 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30742 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30743
30744 if test "x$wx_cv_var_timezone" != x ; then
30745 cat >>confdefs.h <<_ACEOF
30746 #define WX_TIMEZONE $wx_cv_var_timezone
30747 _ACEOF
30748
30749 fi
30750
30751
30752 for ac_func in localtime
30753 do
30754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30755 echo "$as_me:$LINENO: checking for $ac_func" >&5
30756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30757 if eval "test \"\${$as_ac_var+set}\" = set"; then
30758 echo $ECHO_N "(cached) $ECHO_C" >&6
30759 else
30760 cat >conftest.$ac_ext <<_ACEOF
30761 #line $LINENO "configure"
30762 /* confdefs.h. */
30763 _ACEOF
30764 cat confdefs.h >>conftest.$ac_ext
30765 cat >>conftest.$ac_ext <<_ACEOF
30766 /* end confdefs.h. */
30767 /* System header to define __stub macros and hopefully few prototypes,
30768 which can conflict with char $ac_func (); below.
30769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30770 <limits.h> exists even on freestanding compilers. */
30771 #ifdef __STDC__
30772 # include <limits.h>
30773 #else
30774 # include <assert.h>
30775 #endif
30776 /* Override any gcc2 internal prototype to avoid an error. */
30777 #ifdef __cplusplus
30778 extern "C"
30779 {
30780 #endif
30781 /* We use char because int might match the return type of a gcc2
30782 builtin and then its argument prototype would still apply. */
30783 char $ac_func ();
30784 /* The GNU C library defines this for functions which it implements
30785 to always fail with ENOSYS. Some functions are actually named
30786 something starting with __ and the normal name is an alias. */
30787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30788 choke me
30789 #else
30790 char (*f) () = $ac_func;
30791 #endif
30792 #ifdef __cplusplus
30793 }
30794 #endif
30795
30796 int
30797 main ()
30798 {
30799 return f != $ac_func;
30800 ;
30801 return 0;
30802 }
30803 _ACEOF
30804 rm -f conftest.$ac_objext conftest$ac_exeext
30805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30806 (eval $ac_link) 2>&5
30807 ac_status=$?
30808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30809 (exit $ac_status); } &&
30810 { ac_try='test -s conftest$ac_exeext'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30813 ac_status=$?
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; }; then
30816 eval "$as_ac_var=yes"
30817 else
30818 echo "$as_me: failed program was:" >&5
30819 sed 's/^/| /' conftest.$ac_ext >&5
30820
30821 eval "$as_ac_var=no"
30822 fi
30823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30824 fi
30825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30827 if test `eval echo '${'$as_ac_var'}'` = yes; then
30828 cat >>confdefs.h <<_ACEOF
30829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30830 _ACEOF
30831
30832 fi
30833 done
30834
30835
30836 if test "$ac_cv_func_localtime" = "yes"; then
30837 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30838 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30839 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30840 echo $ECHO_N "(cached) $ECHO_C" >&6
30841 else
30842
30843 cat >conftest.$ac_ext <<_ACEOF
30844 #line $LINENO "configure"
30845 /* confdefs.h. */
30846 _ACEOF
30847 cat confdefs.h >>conftest.$ac_ext
30848 cat >>conftest.$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30850
30851 #include <time.h>
30852
30853 int
30854 main ()
30855 {
30856
30857 struct tm tm;
30858 tm.tm_gmtoff++;
30859
30860 ;
30861 return 0;
30862 }
30863 _ACEOF
30864 rm -f conftest.$ac_objext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30866 (eval $ac_compile) 2>&5
30867 ac_status=$?
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } &&
30870 { ac_try='test -s conftest.$ac_objext'
30871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30872 (eval $ac_try) 2>&5
30873 ac_status=$?
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); }; }; then
30876
30877 wx_cv_struct_tm_has_gmtoff=yes
30878
30879 else
30880 echo "$as_me: failed program was:" >&5
30881 sed 's/^/| /' conftest.$ac_ext >&5
30882
30883 wx_cv_struct_tm_has_gmtoff=no
30884
30885 fi
30886 rm -f conftest.$ac_objext conftest.$ac_ext
30887
30888 fi
30889 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30890 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30891 fi
30892
30893 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30894 cat >>confdefs.h <<\_ACEOF
30895 #define WX_GMTOFF_IN_TM 1
30896 _ACEOF
30897
30898 fi
30899
30900
30901
30902 for ac_func in gettimeofday ftime
30903 do
30904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30905 echo "$as_me:$LINENO: checking for $ac_func" >&5
30906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30907 if eval "test \"\${$as_ac_var+set}\" = set"; then
30908 echo $ECHO_N "(cached) $ECHO_C" >&6
30909 else
30910 cat >conftest.$ac_ext <<_ACEOF
30911 #line $LINENO "configure"
30912 /* confdefs.h. */
30913 _ACEOF
30914 cat confdefs.h >>conftest.$ac_ext
30915 cat >>conftest.$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30917 /* System header to define __stub macros and hopefully few prototypes,
30918 which can conflict with char $ac_func (); below.
30919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30920 <limits.h> exists even on freestanding compilers. */
30921 #ifdef __STDC__
30922 # include <limits.h>
30923 #else
30924 # include <assert.h>
30925 #endif
30926 /* Override any gcc2 internal prototype to avoid an error. */
30927 #ifdef __cplusplus
30928 extern "C"
30929 {
30930 #endif
30931 /* We use char because int might match the return type of a gcc2
30932 builtin and then its argument prototype would still apply. */
30933 char $ac_func ();
30934 /* The GNU C library defines this for functions which it implements
30935 to always fail with ENOSYS. Some functions are actually named
30936 something starting with __ and the normal name is an alias. */
30937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30938 choke me
30939 #else
30940 char (*f) () = $ac_func;
30941 #endif
30942 #ifdef __cplusplus
30943 }
30944 #endif
30945
30946 int
30947 main ()
30948 {
30949 return f != $ac_func;
30950 ;
30951 return 0;
30952 }
30953 _ACEOF
30954 rm -f conftest.$ac_objext conftest$ac_exeext
30955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30956 (eval $ac_link) 2>&5
30957 ac_status=$?
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); } &&
30960 { ac_try='test -s conftest$ac_exeext'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30963 ac_status=$?
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; }; then
30966 eval "$as_ac_var=yes"
30967 else
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.$ac_ext >&5
30970
30971 eval "$as_ac_var=no"
30972 fi
30973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30974 fi
30975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30977 if test `eval echo '${'$as_ac_var'}'` = yes; then
30978 cat >>confdefs.h <<_ACEOF
30979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30980 _ACEOF
30981 break
30982 fi
30983 done
30984
30985
30986 if test "$ac_cv_func_gettimeofday" = "yes"; then
30987 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30988 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30989 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 else
30992
30993
30994
30995 ac_ext=cc
30996 ac_cpp='$CXXCPP $CPPFLAGS'
30997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31000
31001
31002 cat >conftest.$ac_ext <<_ACEOF
31003 #line $LINENO "configure"
31004 /* confdefs.h. */
31005 _ACEOF
31006 cat confdefs.h >>conftest.$ac_ext
31007 cat >>conftest.$ac_ext <<_ACEOF
31008 /* end confdefs.h. */
31009
31010 #include <sys/time.h>
31011 #include <unistd.h>
31012
31013 int
31014 main ()
31015 {
31016
31017 struct timeval tv;
31018 gettimeofday(&tv, NULL);
31019
31020 ;
31021 return 0;
31022 }
31023 _ACEOF
31024 rm -f conftest.$ac_objext
31025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31026 (eval $ac_compile) 2>&5
31027 ac_status=$?
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } &&
31030 { ac_try='test -s conftest.$ac_objext'
31031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31032 (eval $ac_try) 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); }; }; then
31036 wx_cv_func_gettimeofday_has_2_args=yes
31037 else
31038 echo "$as_me: failed program was:" >&5
31039 sed 's/^/| /' conftest.$ac_ext >&5
31040
31041 cat >conftest.$ac_ext <<_ACEOF
31042 #line $LINENO "configure"
31043 /* confdefs.h. */
31044 _ACEOF
31045 cat confdefs.h >>conftest.$ac_ext
31046 cat >>conftest.$ac_ext <<_ACEOF
31047 /* end confdefs.h. */
31048
31049 #include <sys/time.h>
31050 #include <unistd.h>
31051
31052 int
31053 main ()
31054 {
31055
31056 struct timeval tv;
31057 gettimeofday(&tv);
31058
31059 ;
31060 return 0;
31061 }
31062 _ACEOF
31063 rm -f conftest.$ac_objext
31064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31065 (eval $ac_compile) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } &&
31069 { ac_try='test -s conftest.$ac_objext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31072 ac_status=$?
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 wx_cv_func_gettimeofday_has_2_args=no
31076 else
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31079
31080
31081 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31082 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31083 wx_cv_func_gettimeofday_has_2_args=unknown
31084
31085
31086 fi
31087 rm -f conftest.$ac_objext conftest.$ac_ext
31088
31089 fi
31090 rm -f conftest.$ac_objext conftest.$ac_ext
31091 ac_ext=c
31092 ac_cpp='$CPP $CPPFLAGS'
31093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31096
31097
31098 fi
31099 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31100 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31101
31102 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31103 cat >>confdefs.h <<\_ACEOF
31104 #define WX_GETTIMEOFDAY_NO_TZ 1
31105 _ACEOF
31106
31107 fi
31108 fi
31109
31110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31111 fi
31112
31113
31114 if test "$wxUSE_SOCKETS" = "yes"; then
31115 if test "$wxUSE_MGL" = "1"; then
31116 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31117 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31118 wxUSE_SOCKETS="no"
31119 fi
31120 if test "$wxUSE_COCOA" = "1"; then
31121 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31122 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31123 wxUSE_SOCKETS="no"
31124 fi
31125 fi
31126
31127 if test "$wxUSE_SOCKETS" = "yes"; then
31128 if test "$TOOLKIT" != "MSW"; then
31129 echo "$as_me:$LINENO: checking for socket" >&5
31130 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31131 if test "${ac_cv_func_socket+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 else
31134 cat >conftest.$ac_ext <<_ACEOF
31135 #line $LINENO "configure"
31136 /* confdefs.h. */
31137 _ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char socket (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31145 #ifdef __STDC__
31146 # include <limits.h>
31147 #else
31148 # include <assert.h>
31149 #endif
31150 /* Override any gcc2 internal prototype to avoid an error. */
31151 #ifdef __cplusplus
31152 extern "C"
31153 {
31154 #endif
31155 /* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31157 char socket ();
31158 /* The GNU C library defines this for functions which it implements
31159 to always fail with ENOSYS. Some functions are actually named
31160 something starting with __ and the normal name is an alias. */
31161 #if defined (__stub_socket) || defined (__stub___socket)
31162 choke me
31163 #else
31164 char (*f) () = socket;
31165 #endif
31166 #ifdef __cplusplus
31167 }
31168 #endif
31169
31170 int
31171 main ()
31172 {
31173 return f != socket;
31174 ;
31175 return 0;
31176 }
31177 _ACEOF
31178 rm -f conftest.$ac_objext conftest$ac_exeext
31179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180 (eval $ac_link) 2>&5
31181 ac_status=$?
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try='test -s conftest$ac_exeext'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31187 ac_status=$?
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; }; then
31190 ac_cv_func_socket=yes
31191 else
31192 echo "$as_me: failed program was:" >&5
31193 sed 's/^/| /' conftest.$ac_ext >&5
31194
31195 ac_cv_func_socket=no
31196 fi
31197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31198 fi
31199 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31200 echo "${ECHO_T}$ac_cv_func_socket" >&6
31201 if test $ac_cv_func_socket = yes; then
31202 :
31203 else
31204
31205 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31206 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31207 if test "${ac_cv_lib_socket_socket+set}" = set; then
31208 echo $ECHO_N "(cached) $ECHO_C" >&6
31209 else
31210 ac_check_lib_save_LIBS=$LIBS
31211 LIBS="-lsocket $LIBS"
31212 cat >conftest.$ac_ext <<_ACEOF
31213 #line $LINENO "configure"
31214 /* confdefs.h. */
31215 _ACEOF
31216 cat confdefs.h >>conftest.$ac_ext
31217 cat >>conftest.$ac_ext <<_ACEOF
31218 /* end confdefs.h. */
31219
31220 /* Override any gcc2 internal prototype to avoid an error. */
31221 #ifdef __cplusplus
31222 extern "C"
31223 #endif
31224 /* We use char because int might match the return type of a gcc2
31225 builtin and then its argument prototype would still apply. */
31226 char socket ();
31227 int
31228 main ()
31229 {
31230 socket ();
31231 ;
31232 return 0;
31233 }
31234 _ACEOF
31235 rm -f conftest.$ac_objext conftest$ac_exeext
31236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31237 (eval $ac_link) 2>&5
31238 ac_status=$?
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); } &&
31241 { ac_try='test -s conftest$ac_exeext'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; }; then
31247 ac_cv_lib_socket_socket=yes
31248 else
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.$ac_ext >&5
31251
31252 ac_cv_lib_socket_socket=no
31253 fi
31254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31255 LIBS=$ac_check_lib_save_LIBS
31256 fi
31257 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31258 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31259 if test $ac_cv_lib_socket_socket = yes; then
31260 if test "$INET_LINK" != " -lsocket"; then
31261 INET_LINK="$INET_LINK -lsocket"
31262 fi
31263 else
31264
31265 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31266 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31267 wxUSE_SOCKETS=no
31268
31269
31270 fi
31271
31272
31273
31274 fi
31275
31276 fi
31277 fi
31278
31279 if test "$wxUSE_SOCKETS" = "yes" ; then
31280 if test "$TOOLKIT" != "MSW"; then
31281 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31282 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31283 if test "${wx_cv_type_getsockname3+set}" = set; then
31284 echo $ECHO_N "(cached) $ECHO_C" >&6
31285 else
31286
31287 cat >conftest.$ac_ext <<_ACEOF
31288 #line $LINENO "configure"
31289 /* confdefs.h. */
31290 _ACEOF
31291 cat confdefs.h >>conftest.$ac_ext
31292 cat >>conftest.$ac_ext <<_ACEOF
31293 /* end confdefs.h. */
31294
31295 #include <sys/types.h>
31296 #include <sys/socket.h>
31297
31298 int
31299 main ()
31300 {
31301
31302 socklen_t len;
31303 getsockname(0, 0, &len);
31304
31305 ;
31306 return 0;
31307 }
31308 _ACEOF
31309 rm -f conftest.$ac_objext
31310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31311 (eval $ac_compile) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } &&
31315 { ac_try='test -s conftest.$ac_objext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 wx_cv_type_getsockname3=socklen_t
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326
31327 CFLAGS_OLD="$CFLAGS"
31328 if test "$GCC" = yes ; then
31329 CFLAGS="$CFLAGS -Werror"
31330 fi
31331
31332 cat >conftest.$ac_ext <<_ACEOF
31333 #line $LINENO "configure"
31334 /* confdefs.h. */
31335 _ACEOF
31336 cat confdefs.h >>conftest.$ac_ext
31337 cat >>conftest.$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31339
31340 #include <sys/types.h>
31341 #include <sys/socket.h>
31342
31343 int
31344 main ()
31345 {
31346
31347 size_t len;
31348 getsockname(0, 0, &len);
31349
31350 ;
31351 return 0;
31352 }
31353 _ACEOF
31354 rm -f conftest.$ac_objext
31355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31356 (eval $ac_compile) 2>&5
31357 ac_status=$?
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try='test -s conftest.$ac_objext'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31363 ac_status=$?
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; }; then
31366 wx_cv_type_getsockname3=size_t
31367 else
31368 echo "$as_me: failed program was:" >&5
31369 sed 's/^/| /' conftest.$ac_ext >&5
31370
31371 cat >conftest.$ac_ext <<_ACEOF
31372 #line $LINENO "configure"
31373 /* confdefs.h. */
31374 _ACEOF
31375 cat confdefs.h >>conftest.$ac_ext
31376 cat >>conftest.$ac_ext <<_ACEOF
31377 /* end confdefs.h. */
31378
31379 #include <sys/types.h>
31380 #include <sys/socket.h>
31381
31382 int
31383 main ()
31384 {
31385
31386 int len;
31387 getsockname(0, 0, &len);
31388
31389 ;
31390 return 0;
31391 }
31392 _ACEOF
31393 rm -f conftest.$ac_objext
31394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31395 (eval $ac_compile) 2>&5
31396 ac_status=$?
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try='test -s conftest.$ac_objext'
31400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31401 (eval $ac_try) 2>&5
31402 ac_status=$?
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; }; then
31405 wx_cv_type_getsockname3=int
31406 else
31407 echo "$as_me: failed program was:" >&5
31408 sed 's/^/| /' conftest.$ac_ext >&5
31409
31410 wx_cv_type_getsockname3=unknown
31411
31412 fi
31413 rm -f conftest.$ac_objext conftest.$ac_ext
31414
31415 fi
31416 rm -f conftest.$ac_objext conftest.$ac_ext
31417
31418 CFLAGS="$CFLAGS_OLD"
31419
31420
31421 fi
31422 rm -f conftest.$ac_objext conftest.$ac_ext
31423
31424 fi
31425 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31426 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31427
31428 if test "$wx_cv_type_getsockname3" = "unknown"; then
31429 wxUSE_SOCKETS=no
31430 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31431 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31432 else
31433 cat >>confdefs.h <<_ACEOF
31434 #define SOCKLEN_T $wx_cv_type_getsockname3
31435 _ACEOF
31436
31437 fi
31438 fi
31439 fi
31440
31441 if test "$wxUSE_SOCKETS" = "yes" ; then
31442 cat >>confdefs.h <<\_ACEOF
31443 #define wxUSE_SOCKETS 1
31444 _ACEOF
31445
31446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31447 fi
31448
31449 if test "$wxUSE_PROTOCOL" = "yes"; then
31450 if test "$wxUSE_SOCKETS" != "yes"; then
31451 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31452 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31453 wxUSE_PROTOCOL=no
31454 fi
31455 fi
31456
31457 if test "$wxUSE_PROTOCOL" = "yes"; then
31458 cat >>confdefs.h <<\_ACEOF
31459 #define wxUSE_PROTOCOL 1
31460 _ACEOF
31461
31462
31463 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31464 cat >>confdefs.h <<\_ACEOF
31465 #define wxUSE_PROTOCOL_HTTP 1
31466 _ACEOF
31467
31468 fi
31469 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31470 cat >>confdefs.h <<\_ACEOF
31471 #define wxUSE_PROTOCOL_FTP 1
31472 _ACEOF
31473
31474 fi
31475 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31476 cat >>confdefs.h <<\_ACEOF
31477 #define wxUSE_PROTOCOL_FILE 1
31478 _ACEOF
31479
31480 fi
31481 else
31482 if test "$wxUSE_FS_INET" = "yes"; then
31483 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31484 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31485 wxUSE_FS_INET="no"
31486 fi
31487 fi
31488
31489 if test "$wxUSE_URL" = "yes"; then
31490 if test "$wxUSE_PROTOCOL" != "yes"; then
31491 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31492 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31493 wxUSE_URL=no
31494 fi
31495 if test "$wxUSE_URL" = "yes"; then
31496 cat >>confdefs.h <<\_ACEOF
31497 #define wxUSE_URL 1
31498 _ACEOF
31499
31500 fi
31501 fi
31502
31503 if test "$wxUSE_FS_INET" = "yes"; then
31504 cat >>confdefs.h <<\_ACEOF
31505 #define wxUSE_FS_INET 1
31506 _ACEOF
31507
31508 fi
31509
31510
31511 if test "$wxUSE_GUI" = "yes"; then
31512
31513 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31514 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31515 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31516 wxUSE_JOYSTICK=no
31517 fi
31518
31519 if test "$TOOLKIT" != "MSW"; then
31520 if test "$wxUSE_JOYSTICK" = "yes"; then
31521
31522 for ac_header in linux/joystick.h
31523 do
31524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31526 echo "$as_me:$LINENO: checking for $ac_header" >&5
31527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31529 echo $ECHO_N "(cached) $ECHO_C" >&6
31530 fi
31531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31533 else
31534 # Is the header compilable?
31535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31537 cat >conftest.$ac_ext <<_ACEOF
31538 #line $LINENO "configure"
31539 /* confdefs.h. */
31540 _ACEOF
31541 cat confdefs.h >>conftest.$ac_ext
31542 cat >>conftest.$ac_ext <<_ACEOF
31543 /* end confdefs.h. */
31544 $ac_includes_default
31545 #include <$ac_header>
31546 _ACEOF
31547 rm -f conftest.$ac_objext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31549 (eval $ac_compile) 2>&5
31550 ac_status=$?
31551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552 (exit $ac_status); } &&
31553 { ac_try='test -s conftest.$ac_objext'
31554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31555 (eval $ac_try) 2>&5
31556 ac_status=$?
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); }; }; then
31559 ac_header_compiler=yes
31560 else
31561 echo "$as_me: failed program was:" >&5
31562 sed 's/^/| /' conftest.$ac_ext >&5
31563
31564 ac_header_compiler=no
31565 fi
31566 rm -f conftest.$ac_objext conftest.$ac_ext
31567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31568 echo "${ECHO_T}$ac_header_compiler" >&6
31569
31570 # Is the header present?
31571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31573 cat >conftest.$ac_ext <<_ACEOF
31574 #line $LINENO "configure"
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580 #include <$ac_header>
31581 _ACEOF
31582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31584 ac_status=$?
31585 grep -v '^ *+' conftest.er1 >conftest.err
31586 rm -f conftest.er1
31587 cat conftest.err >&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); } >/dev/null; then
31590 if test -s conftest.err; then
31591 ac_cpp_err=$ac_c_preproc_warn_flag
31592 else
31593 ac_cpp_err=
31594 fi
31595 else
31596 ac_cpp_err=yes
31597 fi
31598 if test -z "$ac_cpp_err"; then
31599 ac_header_preproc=yes
31600 else
31601 echo "$as_me: failed program was:" >&5
31602 sed 's/^/| /' conftest.$ac_ext >&5
31603
31604 ac_header_preproc=no
31605 fi
31606 rm -f conftest.err conftest.$ac_ext
31607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31608 echo "${ECHO_T}$ac_header_preproc" >&6
31609
31610 # So? What about this header?
31611 case $ac_header_compiler:$ac_header_preproc in
31612 yes:no )
31613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31617 (
31618 cat <<\_ASBOX
31619 ## ------------------------------------ ##
31620 ## Report this to bug-autoconf@gnu.org. ##
31621 ## ------------------------------------ ##
31622 _ASBOX
31623 ) |
31624 sed "s/^/$as_me: WARNING: /" >&2
31625 ;;
31626 no:yes )
31627 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31628 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31629 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31630 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31633 (
31634 cat <<\_ASBOX
31635 ## ------------------------------------ ##
31636 ## Report this to bug-autoconf@gnu.org. ##
31637 ## ------------------------------------ ##
31638 _ASBOX
31639 ) |
31640 sed "s/^/$as_me: WARNING: /" >&2
31641 ;;
31642 esac
31643 echo "$as_me:$LINENO: checking for $ac_header" >&5
31644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31647 else
31648 eval "$as_ac_Header=$ac_header_preproc"
31649 fi
31650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31652
31653 fi
31654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31655 cat >>confdefs.h <<_ACEOF
31656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31657 _ACEOF
31658
31659 fi
31660
31661 done
31662
31663 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31664 wxUSE_JOYSTICK=no
31665 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31666 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31667 fi
31668 fi
31669 fi
31670
31671 if test "$wxUSE_JOYSTICK" = "yes"; then
31672 cat >>confdefs.h <<\_ACEOF
31673 #define wxUSE_JOYSTICK 1
31674 _ACEOF
31675
31676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31677 fi
31678 fi
31679
31680
31681 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31682
31683 HAVE_DL_FUNCS=0
31684 HAVE_SHL_FUNCS=0
31685 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31686 if test "$USE_DARWIN" = 1; then
31687 HAVE_DL_FUNCS=1
31688 else
31689
31690 for ac_func in dlopen
31691 do
31692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31693 echo "$as_me:$LINENO: checking for $ac_func" >&5
31694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31695 if eval "test \"\${$as_ac_var+set}\" = set"; then
31696 echo $ECHO_N "(cached) $ECHO_C" >&6
31697 else
31698 cat >conftest.$ac_ext <<_ACEOF
31699 #line $LINENO "configure"
31700 /* confdefs.h. */
31701 _ACEOF
31702 cat confdefs.h >>conftest.$ac_ext
31703 cat >>conftest.$ac_ext <<_ACEOF
31704 /* end confdefs.h. */
31705 /* System header to define __stub macros and hopefully few prototypes,
31706 which can conflict with char $ac_func (); below.
31707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31708 <limits.h> exists even on freestanding compilers. */
31709 #ifdef __STDC__
31710 # include <limits.h>
31711 #else
31712 # include <assert.h>
31713 #endif
31714 /* Override any gcc2 internal prototype to avoid an error. */
31715 #ifdef __cplusplus
31716 extern "C"
31717 {
31718 #endif
31719 /* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31721 char $ac_func ();
31722 /* The GNU C library defines this for functions which it implements
31723 to always fail with ENOSYS. Some functions are actually named
31724 something starting with __ and the normal name is an alias. */
31725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31726 choke me
31727 #else
31728 char (*f) () = $ac_func;
31729 #endif
31730 #ifdef __cplusplus
31731 }
31732 #endif
31733
31734 int
31735 main ()
31736 {
31737 return f != $ac_func;
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 rm -f conftest.$ac_objext conftest$ac_exeext
31743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31744 (eval $ac_link) 2>&5
31745 ac_status=$?
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } &&
31748 { ac_try='test -s conftest$ac_exeext'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31751 ac_status=$?
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; }; then
31754 eval "$as_ac_var=yes"
31755 else
31756 echo "$as_me: failed program was:" >&5
31757 sed 's/^/| /' conftest.$ac_ext >&5
31758
31759 eval "$as_ac_var=no"
31760 fi
31761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31762 fi
31763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31765 if test `eval echo '${'$as_ac_var'}'` = yes; then
31766 cat >>confdefs.h <<_ACEOF
31767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31768 _ACEOF
31769
31770 cat >>confdefs.h <<\_ACEOF
31771 #define HAVE_DLOPEN 1
31772 _ACEOF
31773
31774 HAVE_DL_FUNCS=1
31775
31776 else
31777
31778 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31779 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31780 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31781 echo $ECHO_N "(cached) $ECHO_C" >&6
31782 else
31783 ac_check_lib_save_LIBS=$LIBS
31784 LIBS="-ldl $LIBS"
31785 cat >conftest.$ac_ext <<_ACEOF
31786 #line $LINENO "configure"
31787 /* confdefs.h. */
31788 _ACEOF
31789 cat confdefs.h >>conftest.$ac_ext
31790 cat >>conftest.$ac_ext <<_ACEOF
31791 /* end confdefs.h. */
31792
31793 /* Override any gcc2 internal prototype to avoid an error. */
31794 #ifdef __cplusplus
31795 extern "C"
31796 #endif
31797 /* We use char because int might match the return type of a gcc2
31798 builtin and then its argument prototype would still apply. */
31799 char dlopen ();
31800 int
31801 main ()
31802 {
31803 dlopen ();
31804 ;
31805 return 0;
31806 }
31807 _ACEOF
31808 rm -f conftest.$ac_objext conftest$ac_exeext
31809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31810 (eval $ac_link) 2>&5
31811 ac_status=$?
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } &&
31814 { ac_try='test -s conftest$ac_exeext'
31815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31816 (eval $ac_try) 2>&5
31817 ac_status=$?
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); }; }; then
31820 ac_cv_lib_dl_dlopen=yes
31821 else
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.$ac_ext >&5
31824
31825 ac_cv_lib_dl_dlopen=no
31826 fi
31827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31828 LIBS=$ac_check_lib_save_LIBS
31829 fi
31830 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31831 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31832 if test $ac_cv_lib_dl_dlopen = yes; then
31833
31834 cat >>confdefs.h <<\_ACEOF
31835 #define HAVE_DLOPEN 1
31836 _ACEOF
31837
31838 HAVE_DL_FUNCS=1
31839 DL_LINK=" -ldl$DL_LINK"
31840
31841 else
31842
31843
31844 for ac_func in shl_load
31845 do
31846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31847 echo "$as_me:$LINENO: checking for $ac_func" >&5
31848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31849 if eval "test \"\${$as_ac_var+set}\" = set"; then
31850 echo $ECHO_N "(cached) $ECHO_C" >&6
31851 else
31852 cat >conftest.$ac_ext <<_ACEOF
31853 #line $LINENO "configure"
31854 /* confdefs.h. */
31855 _ACEOF
31856 cat confdefs.h >>conftest.$ac_ext
31857 cat >>conftest.$ac_ext <<_ACEOF
31858 /* end confdefs.h. */
31859 /* System header to define __stub macros and hopefully few prototypes,
31860 which can conflict with char $ac_func (); below.
31861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31862 <limits.h> exists even on freestanding compilers. */
31863 #ifdef __STDC__
31864 # include <limits.h>
31865 #else
31866 # include <assert.h>
31867 #endif
31868 /* Override any gcc2 internal prototype to avoid an error. */
31869 #ifdef __cplusplus
31870 extern "C"
31871 {
31872 #endif
31873 /* We use char because int might match the return type of a gcc2
31874 builtin and then its argument prototype would still apply. */
31875 char $ac_func ();
31876 /* The GNU C library defines this for functions which it implements
31877 to always fail with ENOSYS. Some functions are actually named
31878 something starting with __ and the normal name is an alias. */
31879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31880 choke me
31881 #else
31882 char (*f) () = $ac_func;
31883 #endif
31884 #ifdef __cplusplus
31885 }
31886 #endif
31887
31888 int
31889 main ()
31890 {
31891 return f != $ac_func;
31892 ;
31893 return 0;
31894 }
31895 _ACEOF
31896 rm -f conftest.$ac_objext conftest$ac_exeext
31897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31898 (eval $ac_link) 2>&5
31899 ac_status=$?
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try='test -s conftest$ac_exeext'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31905 ac_status=$?
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; }; then
31908 eval "$as_ac_var=yes"
31909 else
31910 echo "$as_me: failed program was:" >&5
31911 sed 's/^/| /' conftest.$ac_ext >&5
31912
31913 eval "$as_ac_var=no"
31914 fi
31915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31916 fi
31917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31919 if test `eval echo '${'$as_ac_var'}'` = yes; then
31920 cat >>confdefs.h <<_ACEOF
31921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31922 _ACEOF
31923
31924 cat >>confdefs.h <<\_ACEOF
31925 #define HAVE_SHL_LOAD 1
31926 _ACEOF
31927
31928 HAVE_SHL_FUNCS=1
31929
31930 else
31931
31932 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31933 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31934 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31935 echo $ECHO_N "(cached) $ECHO_C" >&6
31936 else
31937 ac_check_lib_save_LIBS=$LIBS
31938 LIBS="-lshl_load $LIBS"
31939 cat >conftest.$ac_ext <<_ACEOF
31940 #line $LINENO "configure"
31941 /* confdefs.h. */
31942 _ACEOF
31943 cat confdefs.h >>conftest.$ac_ext
31944 cat >>conftest.$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31946
31947 /* Override any gcc2 internal prototype to avoid an error. */
31948 #ifdef __cplusplus
31949 extern "C"
31950 #endif
31951 /* We use char because int might match the return type of a gcc2
31952 builtin and then its argument prototype would still apply. */
31953 char dld ();
31954 int
31955 main ()
31956 {
31957 dld ();
31958 ;
31959 return 0;
31960 }
31961 _ACEOF
31962 rm -f conftest.$ac_objext conftest$ac_exeext
31963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31964 (eval $ac_link) 2>&5
31965 ac_status=$?
31966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31967 (exit $ac_status); } &&
31968 { ac_try='test -s conftest$ac_exeext'
31969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31970 (eval $ac_try) 2>&5
31971 ac_status=$?
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); }; }; then
31974 ac_cv_lib_shl_load_dld=yes
31975 else
31976 echo "$as_me: failed program was:" >&5
31977 sed 's/^/| /' conftest.$ac_ext >&5
31978
31979 ac_cv_lib_shl_load_dld=no
31980 fi
31981 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31982 LIBS=$ac_check_lib_save_LIBS
31983 fi
31984 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31985 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31986 if test $ac_cv_lib_shl_load_dld = yes; then
31987
31988 HAVE_SHL_FUNCS=1
31989 DL_LINK=" -ldld$DL_LINK"
31990
31991 fi
31992
31993
31994 fi
31995 done
31996
31997
31998 fi
31999
32000
32001 fi
32002 done
32003
32004
32005 if test "$HAVE_DL_FUNCS" = 1; then
32006
32007 for ac_func in dlerror
32008 do
32009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32010 echo "$as_me:$LINENO: checking for $ac_func" >&5
32011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32012 if eval "test \"\${$as_ac_var+set}\" = set"; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32014 else
32015 cat >conftest.$ac_ext <<_ACEOF
32016 #line $LINENO "configure"
32017 /* confdefs.h. */
32018 _ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32022 /* System header to define __stub macros and hopefully few prototypes,
32023 which can conflict with char $ac_func (); below.
32024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32025 <limits.h> exists even on freestanding compilers. */
32026 #ifdef __STDC__
32027 # include <limits.h>
32028 #else
32029 # include <assert.h>
32030 #endif
32031 /* Override any gcc2 internal prototype to avoid an error. */
32032 #ifdef __cplusplus
32033 extern "C"
32034 {
32035 #endif
32036 /* We use char because int might match the return type of a gcc2
32037 builtin and then its argument prototype would still apply. */
32038 char $ac_func ();
32039 /* The GNU C library defines this for functions which it implements
32040 to always fail with ENOSYS. Some functions are actually named
32041 something starting with __ and the normal name is an alias. */
32042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32043 choke me
32044 #else
32045 char (*f) () = $ac_func;
32046 #endif
32047 #ifdef __cplusplus
32048 }
32049 #endif
32050
32051 int
32052 main ()
32053 {
32054 return f != $ac_func;
32055 ;
32056 return 0;
32057 }
32058 _ACEOF
32059 rm -f conftest.$ac_objext conftest$ac_exeext
32060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32061 (eval $ac_link) 2>&5
32062 ac_status=$?
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32068 ac_status=$?
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 eval "$as_ac_var=yes"
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 eval "$as_ac_var=no"
32077 fi
32078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32079 fi
32080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32082 if test `eval echo '${'$as_ac_var'}'` = yes; then
32083 cat >>confdefs.h <<_ACEOF
32084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32085 _ACEOF
32086 cat >>confdefs.h <<\_ACEOF
32087 #define HAVE_DLERROR 1
32088 _ACEOF
32089
32090 else
32091
32092 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32093 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32094 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32095 echo $ECHO_N "(cached) $ECHO_C" >&6
32096 else
32097 ac_check_lib_save_LIBS=$LIBS
32098 LIBS="-ldl $LIBS"
32099 cat >conftest.$ac_ext <<_ACEOF
32100 #line $LINENO "configure"
32101 /* confdefs.h. */
32102 _ACEOF
32103 cat confdefs.h >>conftest.$ac_ext
32104 cat >>conftest.$ac_ext <<_ACEOF
32105 /* end confdefs.h. */
32106
32107 /* Override any gcc2 internal prototype to avoid an error. */
32108 #ifdef __cplusplus
32109 extern "C"
32110 #endif
32111 /* We use char because int might match the return type of a gcc2
32112 builtin and then its argument prototype would still apply. */
32113 char dlerror ();
32114 int
32115 main ()
32116 {
32117 dlerror ();
32118 ;
32119 return 0;
32120 }
32121 _ACEOF
32122 rm -f conftest.$ac_objext conftest$ac_exeext
32123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124 (eval $ac_link) 2>&5
32125 ac_status=$?
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } &&
32128 { ac_try='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32131 ac_status=$?
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 ac_cv_lib_dl_dlerror=yes
32135 else
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.$ac_ext >&5
32138
32139 ac_cv_lib_dl_dlerror=no
32140 fi
32141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32142 LIBS=$ac_check_lib_save_LIBS
32143 fi
32144 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32145 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32146 if test $ac_cv_lib_dl_dlerror = yes; then
32147 cat >>confdefs.h <<\_ACEOF
32148 #define HAVE_DLERROR 1
32149 _ACEOF
32150
32151 fi
32152
32153
32154
32155 fi
32156 done
32157
32158 fi
32159 fi
32160
32161 if test "$HAVE_DL_FUNCS" = 0; then
32162 if test "$HAVE_SHL_FUNCS" = 0; then
32163 if test "$USE_UNIX" = 1; then
32164 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32165 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32166 wxUSE_DYNAMIC_LOADER=no
32167 wxUSE_DYNLIB_CLASS=no
32168 else
32169 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32170 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32171 fi
32172 fi
32173 fi
32174 fi
32175 fi
32176
32177 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32178 cat >>confdefs.h <<\_ACEOF
32179 #define wxUSE_DYNAMIC_LOADER 1
32180 _ACEOF
32181
32182 fi
32183 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32184 cat >>confdefs.h <<\_ACEOF
32185 #define wxUSE_DYNLIB_CLASS 1
32186 _ACEOF
32187
32188 fi
32189
32190
32191 if test "$wxUSE_FONTMAP" = "yes" ; then
32192 cat >>confdefs.h <<\_ACEOF
32193 #define wxUSE_FONTMAP 1
32194 _ACEOF
32195
32196 fi
32197
32198 if test "$wxUSE_UNICODE" = "yes" ; then
32199 cat >>confdefs.h <<\_ACEOF
32200 #define wxUSE_UNICODE 1
32201 _ACEOF
32202
32203
32204 if test "$USE_WIN32" != 1; then
32205 wxUSE_UNICODE_MSLU=no
32206 fi
32207
32208 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32209 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32210 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32211 if test "${ac_cv_lib_unicows_main+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32213 else
32214 ac_check_lib_save_LIBS=$LIBS
32215 LIBS="-lunicows $LIBS"
32216 cat >conftest.$ac_ext <<_ACEOF
32217 #line $LINENO "configure"
32218 /* confdefs.h. */
32219 _ACEOF
32220 cat confdefs.h >>conftest.$ac_ext
32221 cat >>conftest.$ac_ext <<_ACEOF
32222 /* end confdefs.h. */
32223
32224
32225 int
32226 main ()
32227 {
32228 main ();
32229 ;
32230 return 0;
32231 }
32232 _ACEOF
32233 rm -f conftest.$ac_objext conftest$ac_exeext
32234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32235 (eval $ac_link) 2>&5
32236 ac_status=$?
32237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32238 (exit $ac_status); } &&
32239 { ac_try='test -s conftest$ac_exeext'
32240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32241 (eval $ac_try) 2>&5
32242 ac_status=$?
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); }; }; then
32245 ac_cv_lib_unicows_main=yes
32246 else
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.$ac_ext >&5
32249
32250 ac_cv_lib_unicows_main=no
32251 fi
32252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32253 LIBS=$ac_check_lib_save_LIBS
32254 fi
32255 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32256 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32257 if test $ac_cv_lib_unicows_main = yes; then
32258
32259 cat >>confdefs.h <<\_ACEOF
32260 #define wxUSE_UNICODE_MSLU 1
32261 _ACEOF
32262
32263
32264 else
32265
32266 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32267 Applications will only run on Windows NT/2000/XP!" >&5
32268 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32269 Applications will only run on Windows NT/2000/XP!" >&2;}
32270 wxUSE_UNICODE_MSLU=no
32271
32272 fi
32273
32274 fi
32275 fi
32276
32277 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32278 cat >>confdefs.h <<\_ACEOF
32279 #define wxUSE_EXPERIMENTAL_PRINTF 1
32280 _ACEOF
32281
32282 fi
32283
32284
32285 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32286 cat >>confdefs.h <<\_ACEOF
32287 #define wxUSE_POSTSCRIPT 1
32288 _ACEOF
32289
32290 fi
32291
32292 cat >>confdefs.h <<\_ACEOF
32293 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32294 _ACEOF
32295
32296
32297 cat >>confdefs.h <<\_ACEOF
32298 #define wxUSE_NORMALIZED_PS_FONTS 1
32299 _ACEOF
32300
32301
32302
32303 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32304 cat >>confdefs.h <<\_ACEOF
32305 #define wxUSE_CONSTRAINTS 1
32306 _ACEOF
32307
32308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32309 fi
32310
32311 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32312 cat >>confdefs.h <<\_ACEOF
32313 #define wxUSE_MDI_ARCHITECTURE 1
32314 _ACEOF
32315
32316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32317 fi
32318
32319 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32320 cat >>confdefs.h <<\_ACEOF
32321 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32322 _ACEOF
32323
32324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32325 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32327 fi
32328 fi
32329
32330 if test "$wxUSE_HELP" = "yes"; then
32331 cat >>confdefs.h <<\_ACEOF
32332 #define wxUSE_HELP 1
32333 _ACEOF
32334
32335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32336
32337 if test "$wxUSE_MSW" = 1; then
32338 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32339 cat >>confdefs.h <<\_ACEOF
32340 #define wxUSE_MS_HTML_HELP 1
32341 _ACEOF
32342
32343 fi
32344 fi
32345
32346 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32347 if test "$wxUSE_HTML" = "yes"; then
32348 cat >>confdefs.h <<\_ACEOF
32349 #define wxUSE_WXHTML_HELP 1
32350 _ACEOF
32351
32352 else
32353 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32354 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32355 wxUSE_WXHTML_HELP=no
32356 fi
32357 fi
32358 fi
32359
32360 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32361 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32362 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32363 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32364 else
32365 cat >>confdefs.h <<\_ACEOF
32366 #define wxUSE_PRINTING_ARCHITECTURE 1
32367 _ACEOF
32368
32369 fi
32370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32371 fi
32372
32373 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32374 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32375 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32376 { (exit 1); exit 1; }; }
32377 fi
32378
32379
32380 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32381 -o "$wxUSE_CLIPBOARD" = "yes" \
32382 -o "$wxUSE_OLE" = "yes" \
32383 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32384
32385 for ac_header in ole2.h
32386 do
32387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32389 echo "$as_me:$LINENO: checking for $ac_header" >&5
32390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 fi
32394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32396 else
32397 # Is the header compilable?
32398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32400 cat >conftest.$ac_ext <<_ACEOF
32401 #line $LINENO "configure"
32402 /* confdefs.h. */
32403 _ACEOF
32404 cat confdefs.h >>conftest.$ac_ext
32405 cat >>conftest.$ac_ext <<_ACEOF
32406 /* end confdefs.h. */
32407 $ac_includes_default
32408 #include <$ac_header>
32409 _ACEOF
32410 rm -f conftest.$ac_objext
32411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32412 (eval $ac_compile) 2>&5
32413 ac_status=$?
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); } &&
32416 { ac_try='test -s conftest.$ac_objext'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32419 ac_status=$?
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; }; then
32422 ac_header_compiler=yes
32423 else
32424 echo "$as_me: failed program was:" >&5
32425 sed 's/^/| /' conftest.$ac_ext >&5
32426
32427 ac_header_compiler=no
32428 fi
32429 rm -f conftest.$ac_objext conftest.$ac_ext
32430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32431 echo "${ECHO_T}$ac_header_compiler" >&6
32432
32433 # Is the header present?
32434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32436 cat >conftest.$ac_ext <<_ACEOF
32437 #line $LINENO "configure"
32438 /* confdefs.h. */
32439 _ACEOF
32440 cat confdefs.h >>conftest.$ac_ext
32441 cat >>conftest.$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32443 #include <$ac_header>
32444 _ACEOF
32445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32446 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32447 ac_status=$?
32448 grep -v '^ *+' conftest.er1 >conftest.err
32449 rm -f conftest.er1
32450 cat conftest.err >&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } >/dev/null; then
32453 if test -s conftest.err; then
32454 ac_cpp_err=$ac_c_preproc_warn_flag
32455 else
32456 ac_cpp_err=
32457 fi
32458 else
32459 ac_cpp_err=yes
32460 fi
32461 if test -z "$ac_cpp_err"; then
32462 ac_header_preproc=yes
32463 else
32464 echo "$as_me: failed program was:" >&5
32465 sed 's/^/| /' conftest.$ac_ext >&5
32466
32467 ac_header_preproc=no
32468 fi
32469 rm -f conftest.err conftest.$ac_ext
32470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32471 echo "${ECHO_T}$ac_header_preproc" >&6
32472
32473 # So? What about this header?
32474 case $ac_header_compiler:$ac_header_preproc in
32475 yes:no )
32476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32480 (
32481 cat <<\_ASBOX
32482 ## ------------------------------------ ##
32483 ## Report this to bug-autoconf@gnu.org. ##
32484 ## ------------------------------------ ##
32485 _ASBOX
32486 ) |
32487 sed "s/^/$as_me: WARNING: /" >&2
32488 ;;
32489 no:yes )
32490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32496 (
32497 cat <<\_ASBOX
32498 ## ------------------------------------ ##
32499 ## Report this to bug-autoconf@gnu.org. ##
32500 ## ------------------------------------ ##
32501 _ASBOX
32502 ) |
32503 sed "s/^/$as_me: WARNING: /" >&2
32504 ;;
32505 esac
32506 echo "$as_me:$LINENO: checking for $ac_header" >&5
32507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32509 echo $ECHO_N "(cached) $ECHO_C" >&6
32510 else
32511 eval "$as_ac_Header=$ac_header_preproc"
32512 fi
32513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32515
32516 fi
32517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32518 cat >>confdefs.h <<_ACEOF
32519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32520 _ACEOF
32521
32522 fi
32523
32524 done
32525
32526
32527 if test "$ac_cv_header_ole2_h" = "yes" ; then
32528 if test "$GCC" = yes ; then
32529
32530
32531 ac_ext=cc
32532 ac_cpp='$CXXCPP $CPPFLAGS'
32533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32536
32537
32538 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32539 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32540 cat >conftest.$ac_ext <<_ACEOF
32541 #line $LINENO "configure"
32542 /* confdefs.h. */
32543 _ACEOF
32544 cat confdefs.h >>conftest.$ac_ext
32545 cat >>conftest.$ac_ext <<_ACEOF
32546 /* end confdefs.h. */
32547 #include <windows.h>
32548 #include <ole2.h>
32549 int
32550 main ()
32551 {
32552
32553 ;
32554 return 0;
32555 }
32556 _ACEOF
32557 rm -f conftest.$ac_objext
32558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32559 (eval $ac_compile) 2>&5
32560 ac_status=$?
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try='test -s conftest.$ac_objext'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32566 ac_status=$?
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; }; then
32569 echo "$as_me:$LINENO: result: no" >&5
32570 echo "${ECHO_T}no" >&6
32571 else
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32574
32575 echo "$as_me:$LINENO: result: yes" >&5
32576 echo "${ECHO_T}yes" >&6
32577 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32578 fi
32579 rm -f conftest.$ac_objext conftest.$ac_ext
32580 ac_ext=c
32581 ac_cpp='$CPP $CPPFLAGS'
32582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32585
32586 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32587 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32588 cat >>confdefs.h <<\_ACEOF
32589 #define wxUSE_OLE 1
32590 _ACEOF
32591
32592
32593 fi
32594
32595 cat >>confdefs.h <<\_ACEOF
32596 #define wxUSE_DATAOBJ 1
32597 _ACEOF
32598
32599 else
32600 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32601 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32602
32603 wxUSE_CLIPBOARD=no
32604 wxUSE_DRAG_AND_DROP=no
32605 wxUSE_DATAOBJ=no
32606 wxUSE_OLE=no
32607 fi
32608
32609 if test "$wxUSE_METAFILE" = "yes"; then
32610 cat >>confdefs.h <<\_ACEOF
32611 #define wxUSE_METAFILE 1
32612 _ACEOF
32613
32614
32615 cat >>confdefs.h <<\_ACEOF
32616 #define wxUSE_ENH_METAFILE 1
32617 _ACEOF
32618
32619 fi
32620 fi
32621
32622 if test "$wxUSE_IPC" = "yes"; then
32623 if test "$wxUSE_SOCKETS" != "yes"; then
32624 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32625 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32626 fi
32627
32628 cat >>confdefs.h <<\_ACEOF
32629 #define wxUSE_IPC 1
32630 _ACEOF
32631
32632 fi
32633
32634 if test "$wxUSE_CLIPBOARD" = "yes"; then
32635 if test "$wxUSE_MGL" = 1; then
32636 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32637 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32638 wxUSE_CLIPBOARD=no
32639 fi
32640
32641 if test "$wxUSE_CLIPBOARD" = "yes"; then
32642 cat >>confdefs.h <<\_ACEOF
32643 #define wxUSE_CLIPBOARD 1
32644 _ACEOF
32645
32646
32647 cat >>confdefs.h <<\_ACEOF
32648 #define wxUSE_DATAOBJ 1
32649 _ACEOF
32650
32651 fi
32652 fi
32653
32654 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32655 if test "$wxUSE_GTK" = 1; then
32656 if test "$WXGTK12" != 1; then
32657 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32658 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32659 wxUSE_DRAG_AND_DROP=no
32660 fi
32661 fi
32662
32663 if test "$wxUSE_MOTIF" = 1; then
32664 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32665 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32666 wxUSE_DRAG_AND_DROP=no
32667 fi
32668
32669 if test "$wxUSE_X11" = 1; then
32670 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32671 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32672 wxUSE_DRAG_AND_DROP=no
32673 fi
32674
32675 if test "$wxUSE_MGL" = 1; then
32676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32677 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32678 wxUSE_DRAG_AND_DROP=no
32679 fi
32680
32681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32682 cat >>confdefs.h <<\_ACEOF
32683 #define wxUSE_DRAG_AND_DROP 1
32684 _ACEOF
32685
32686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32687 fi
32688
32689 fi
32690
32691 if test "$wxUSE_SPLINES" = "yes" ; then
32692 cat >>confdefs.h <<\_ACEOF
32693 #define wxUSE_SPLINES 1
32694 _ACEOF
32695
32696 fi
32697
32698
32699 USES_CONTROLS=0
32700 if test "$wxUSE_CONTROLS" = "yes"; then
32701 USES_CONTROLS=1
32702 fi
32703
32704 if test "$wxUSE_ACCEL" = "yes"; then
32705 cat >>confdefs.h <<\_ACEOF
32706 #define wxUSE_ACCEL 1
32707 _ACEOF
32708
32709 USES_CONTROLS=1
32710 fi
32711
32712 if test "$wxUSE_BUTTON" = "yes"; then
32713 cat >>confdefs.h <<\_ACEOF
32714 #define wxUSE_BUTTON 1
32715 _ACEOF
32716
32717 USES_CONTROLS=1
32718 fi
32719
32720 if test "$wxUSE_BMPBUTTON" = "yes"; then
32721 cat >>confdefs.h <<\_ACEOF
32722 #define wxUSE_BMPBUTTON 1
32723 _ACEOF
32724
32725 USES_CONTROLS=1
32726 fi
32727
32728 if test "$wxUSE_CALCTRL" = "yes"; then
32729 cat >>confdefs.h <<\_ACEOF
32730 #define wxUSE_CALENDARCTRL 1
32731 _ACEOF
32732
32733 USES_CONTROLS=1
32734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32735 fi
32736
32737 if test "$wxUSE_CARET" = "yes"; then
32738 cat >>confdefs.h <<\_ACEOF
32739 #define wxUSE_CARET 1
32740 _ACEOF
32741
32742 USES_CONTROLS=1
32743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32744 fi
32745
32746 if test "$wxUSE_COMBOBOX" = "yes"; then
32747 cat >>confdefs.h <<\_ACEOF
32748 #define wxUSE_COMBOBOX 1
32749 _ACEOF
32750
32751 USES_CONTROLS=1
32752 fi
32753
32754 if test "$wxUSE_CHOICE" = "yes"; then
32755 cat >>confdefs.h <<\_ACEOF
32756 #define wxUSE_CHOICE 1
32757 _ACEOF
32758
32759 USES_CONTROLS=1
32760 fi
32761
32762 if test "$wxUSE_CHECKBOX" = "yes"; then
32763 cat >>confdefs.h <<\_ACEOF
32764 #define wxUSE_CHECKBOX 1
32765 _ACEOF
32766
32767 USES_CONTROLS=1
32768 fi
32769
32770 if test "$wxUSE_CHECKLST" = "yes"; then
32771 cat >>confdefs.h <<\_ACEOF
32772 #define wxUSE_CHECKLISTBOX 1
32773 _ACEOF
32774
32775 USES_CONTROLS=1
32776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32777 fi
32778
32779 if test "$wxUSE_DISPLAY" = "yes"; then
32780 cat >>confdefs.h <<\_ACEOF
32781 #define wxUSE_DISPLAY 1
32782 _ACEOF
32783
32784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32785 fi
32786
32787 if test "$wxUSE_GAUGE" = "yes"; then
32788 cat >>confdefs.h <<\_ACEOF
32789 #define wxUSE_GAUGE 1
32790 _ACEOF
32791
32792 USES_CONTROLS=1
32793 fi
32794
32795 if test "$wxUSE_GRID" = "yes"; then
32796 cat >>confdefs.h <<\_ACEOF
32797 #define wxUSE_GRID 1
32798 _ACEOF
32799
32800 USES_CONTROLS=1
32801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32802 fi
32803
32804 if test "$wxUSE_IMAGLIST" = "yes"; then
32805 cat >>confdefs.h <<\_ACEOF
32806 #define wxUSE_IMAGLIST 1
32807 _ACEOF
32808
32809 fi
32810
32811 if test "$wxUSE_LISTBOOK" = "yes"; then
32812 cat >>confdefs.h <<\_ACEOF
32813 #define wxUSE_LISTBOOK 1
32814 _ACEOF
32815
32816 USES_CONTROLS=1
32817 fi
32818
32819 if test "$wxUSE_LISTBOX" = "yes"; then
32820 cat >>confdefs.h <<\_ACEOF
32821 #define wxUSE_LISTBOX 1
32822 _ACEOF
32823
32824 USES_CONTROLS=1
32825 fi
32826
32827 if test "$wxUSE_LISTCTRL" = "yes"; then
32828 if test "$wxUSE_IMAGLIST" = "yes"; then
32829 cat >>confdefs.h <<\_ACEOF
32830 #define wxUSE_LISTCTRL 1
32831 _ACEOF
32832
32833 USES_CONTROLS=1
32834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32835 else
32836 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32837 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32838 fi
32839 fi
32840
32841 if test "$wxUSE_NOTEBOOK" = "yes"; then
32842 cat >>confdefs.h <<\_ACEOF
32843 #define wxUSE_NOTEBOOK 1
32844 _ACEOF
32845
32846 USES_CONTROLS=1
32847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32848 fi
32849
32850
32851 if test "$wxUSE_RADIOBOX" = "yes"; then
32852 cat >>confdefs.h <<\_ACEOF
32853 #define wxUSE_RADIOBOX 1
32854 _ACEOF
32855
32856 USES_CONTROLS=1
32857 fi
32858
32859 if test "$wxUSE_RADIOBTN" = "yes"; then
32860 cat >>confdefs.h <<\_ACEOF
32861 #define wxUSE_RADIOBTN 1
32862 _ACEOF
32863
32864 USES_CONTROLS=1
32865 fi
32866
32867 if test "$wxUSE_SASH" = "yes"; then
32868 cat >>confdefs.h <<\_ACEOF
32869 #define wxUSE_SASH 1
32870 _ACEOF
32871
32872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32873 fi
32874
32875 if test "$wxUSE_SCROLLBAR" = "yes"; then
32876 cat >>confdefs.h <<\_ACEOF
32877 #define wxUSE_SCROLLBAR 1
32878 _ACEOF
32879
32880 USES_CONTROLS=1
32881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32882 fi
32883
32884 if test "$wxUSE_SLIDER" = "yes"; then
32885 cat >>confdefs.h <<\_ACEOF
32886 #define wxUSE_SLIDER 1
32887 _ACEOF
32888
32889 USES_CONTROLS=1
32890 fi
32891
32892 if test "$wxUSE_SPINBTN" = "yes"; then
32893 cat >>confdefs.h <<\_ACEOF
32894 #define wxUSE_SPINBTN 1
32895 _ACEOF
32896
32897 USES_CONTROLS=1
32898 fi
32899
32900 if test "$wxUSE_SPINCTRL" = "yes"; then
32901 cat >>confdefs.h <<\_ACEOF
32902 #define wxUSE_SPINCTRL 1
32903 _ACEOF
32904
32905 USES_CONTROLS=1
32906 fi
32907
32908 if test "$wxUSE_SPLITTER" = "yes"; then
32909 cat >>confdefs.h <<\_ACEOF
32910 #define wxUSE_SPLITTER 1
32911 _ACEOF
32912
32913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32914 fi
32915
32916 if test "$wxUSE_STATBMP" = "yes"; then
32917 cat >>confdefs.h <<\_ACEOF
32918 #define wxUSE_STATBMP 1
32919 _ACEOF
32920
32921 USES_CONTROLS=1
32922 fi
32923
32924 if test "$wxUSE_STATBOX" = "yes"; then
32925 cat >>confdefs.h <<\_ACEOF
32926 #define wxUSE_STATBOX 1
32927 _ACEOF
32928
32929 USES_CONTROLS=1
32930 fi
32931
32932 if test "$wxUSE_STATTEXT" = "yes"; then
32933 cat >>confdefs.h <<\_ACEOF
32934 #define wxUSE_STATTEXT 1
32935 _ACEOF
32936
32937 USES_CONTROLS=1
32938 fi
32939
32940 if test "$wxUSE_STATLINE" = "yes"; then
32941 cat >>confdefs.h <<\_ACEOF
32942 #define wxUSE_STATLINE 1
32943 _ACEOF
32944
32945 USES_CONTROLS=1
32946 fi
32947
32948 if test "$wxUSE_STATUSBAR" = "yes"; then
32949 cat >>confdefs.h <<\_ACEOF
32950 #define wxUSE_STATUSBAR 1
32951 _ACEOF
32952
32953 USES_CONTROLS=1
32954
32955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32956 fi
32957
32958 if test "$wxUSE_TABDIALOG" = "yes"; then
32959 cat >>confdefs.h <<\_ACEOF
32960 #define wxUSE_TAB_DIALOG 1
32961 _ACEOF
32962
32963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32964 fi
32965
32966 if test "$wxUSE_TEXTCTRL" = "yes"; then
32967 cat >>confdefs.h <<\_ACEOF
32968 #define wxUSE_TEXTCTRL 1
32969 _ACEOF
32970
32971 USES_CONTROLS=1
32972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32973 fi
32974
32975 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32976 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32977 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32978 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32979 wxUSE_TOGGLEBTN=no
32980 fi
32981 if test "$wxUSE_UNIVERSAL" = "yes"; then
32982 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32983 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32984 wxUSE_TOGGLEBTN=no
32985 fi
32986
32987 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32988 cat >>confdefs.h <<\_ACEOF
32989 #define wxUSE_TOGGLEBTN 1
32990 _ACEOF
32991
32992 USES_CONTROLS=1
32993 fi
32994 fi
32995
32996 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32997 cat >>confdefs.h <<\_ACEOF
32998 #define wxUSE_TOOLBAR_SIMPLE 1
32999 _ACEOF
33000
33001 wxUSE_TOOLBAR="yes"
33002 USES_CONTROLS=1
33003 fi
33004
33005 if test "$wxUSE_TOOLBAR" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007 #define wxUSE_TOOLBAR 1
33008 _ACEOF
33009
33010 USES_CONTROLS=1
33011
33012 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33013 wxUSE_TOOLBAR_NATIVE="yes"
33014 fi
33015
33016 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33017 cat >>confdefs.h <<\_ACEOF
33018 #define wxUSE_TOOLBAR_NATIVE 1
33019 _ACEOF
33020
33021 USES_CONTROLS=1
33022 fi
33023
33024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33025 fi
33026
33027 if test "$wxUSE_TOOLTIPS" = "yes"; then
33028 if test "$wxUSE_MOTIF" = 1; then
33029 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33030 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33031 else
33032 if test "$wxUSE_UNIVERSAL" = "yes"; then
33033 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33034 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33035 else
33036 cat >>confdefs.h <<\_ACEOF
33037 #define wxUSE_TOOLTIPS 1
33038 _ACEOF
33039
33040 fi
33041 fi
33042 fi
33043
33044 if test "$wxUSE_TREECTRL" = "yes"; then
33045 if test "$wxUSE_IMAGLIST" = "yes"; then
33046 cat >>confdefs.h <<\_ACEOF
33047 #define wxUSE_TREECTRL 1
33048 _ACEOF
33049
33050 USES_CONTROLS=1
33051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33052 else
33053 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33054 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33055 fi
33056 fi
33057
33058 if test "$wxUSE_POPUPWIN" = "yes"; then
33059 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33060 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33061 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33062 else
33063 if test "$wxUSE_MOTIF" = 1; then
33064 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
33065 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
33066 else
33067 if test "$wxUSE_PM" = 1; then
33068 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33069 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33070 else
33071 cat >>confdefs.h <<\_ACEOF
33072 #define wxUSE_POPUPWIN 1
33073 _ACEOF
33074
33075
33076 USES_CONTROLS=1
33077 fi
33078 fi
33079 fi
33080 fi
33081
33082 if test "$wxUSE_TIPWINDOW" = "yes"; then
33083 if test "$wxUSE_PM" = 1; then
33084 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33085 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33086 else
33087 cat >>confdefs.h <<\_ACEOF
33088 #define wxUSE_TIPWINDOW 1
33089 _ACEOF
33090
33091 fi
33092 fi
33093
33094 if test "$USES_CONTROLS" = 1; then
33095 cat >>confdefs.h <<\_ACEOF
33096 #define wxUSE_CONTROLS 1
33097 _ACEOF
33098
33099 fi
33100
33101
33102 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33103 cat >>confdefs.h <<\_ACEOF
33104 #define wxUSE_ACCESSIBILITY 1
33105 _ACEOF
33106
33107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33108 fi
33109
33110 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33111 cat >>confdefs.h <<\_ACEOF
33112 #define wxUSE_DRAGIMAGE 1
33113 _ACEOF
33114
33115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33116 fi
33117
33118 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120 #define wxUSE_EXCEPTIONS 1
33121 _ACEOF
33122
33123 fi
33124
33125 USE_HTML=0
33126 if test "$wxUSE_HTML" = "yes"; then
33127 cat >>confdefs.h <<\_ACEOF
33128 #define wxUSE_HTML 1
33129 _ACEOF
33130
33131 USE_HTML=1
33132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33133 fi
33134
33135 if test "$wxUSE_MENUS" = "yes"; then
33136 cat >>confdefs.h <<\_ACEOF
33137 #define wxUSE_MENUS 1
33138 _ACEOF
33139
33140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33141 fi
33142
33143 if test "$wxUSE_METAFILE" = "yes"; then
33144 cat >>confdefs.h <<\_ACEOF
33145 #define wxUSE_METAFILE 1
33146 _ACEOF
33147
33148 fi
33149
33150 if test "$wxUSE_MIMETYPE" = "yes"; then
33151 cat >>confdefs.h <<\_ACEOF
33152 #define wxUSE_MIMETYPE 1
33153 _ACEOF
33154
33155 fi
33156
33157 if test "$wxUSE_MINIFRAME" = "yes"; then
33158 cat >>confdefs.h <<\_ACEOF
33159 #define wxUSE_MINIFRAME 1
33160 _ACEOF
33161
33162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33163 fi
33164
33165 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33166 cat >>confdefs.h <<\_ACEOF
33167 #define wxUSE_SYSTEM_OPTIONS 1
33168 _ACEOF
33169
33170 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33171 "$TOOLKIT" = "MOTIF"; then
33172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33173 fi
33174 fi
33175
33176
33177 if test "$wxUSE_VALIDATORS" = "yes"; then
33178 cat >>confdefs.h <<\_ACEOF
33179 #define wxUSE_VALIDATORS 1
33180 _ACEOF
33181
33182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33183 fi
33184
33185 if test "$wxUSE_PALETTE" = "yes" ; then
33186 cat >>confdefs.h <<\_ACEOF
33187 #define wxUSE_PALETTE 1
33188 _ACEOF
33189
33190 fi
33191
33192 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33193 LIBS=" -lunicows $LIBS"
33194 fi
33195
33196
33197 if test "$wxUSE_IMAGE" = "yes" ; then
33198 cat >>confdefs.h <<\_ACEOF
33199 #define wxUSE_IMAGE 1
33200 _ACEOF
33201
33202
33203 if test "$wxUSE_GIF" = "yes" ; then
33204 cat >>confdefs.h <<\_ACEOF
33205 #define wxUSE_GIF 1
33206 _ACEOF
33207
33208 fi
33209
33210 if test "$wxUSE_PCX" = "yes" ; then
33211 cat >>confdefs.h <<\_ACEOF
33212 #define wxUSE_PCX 1
33213 _ACEOF
33214
33215 fi
33216
33217 if test "$wxUSE_IFF" = "yes" ; then
33218 cat >>confdefs.h <<\_ACEOF
33219 #define wxUSE_IFF 1
33220 _ACEOF
33221
33222 fi
33223
33224 if test "$wxUSE_PNM" = "yes" ; then
33225 cat >>confdefs.h <<\_ACEOF
33226 #define wxUSE_PNM 1
33227 _ACEOF
33228
33229 fi
33230
33231 if test "$wxUSE_XPM" = "yes" ; then
33232 cat >>confdefs.h <<\_ACEOF
33233 #define wxUSE_XPM 1
33234 _ACEOF
33235
33236 fi
33237
33238 if test "$wxUSE_ICO_CUR" = "yes" ; then
33239 cat >>confdefs.h <<\_ACEOF
33240 #define wxUSE_ICO_CUR 1
33241 _ACEOF
33242
33243 fi
33244 fi
33245
33246
33247 if test "$wxUSE_CHOICEDLG" = "yes"; then
33248 cat >>confdefs.h <<\_ACEOF
33249 #define wxUSE_CHOICEDLG 1
33250 _ACEOF
33251
33252 fi
33253
33254 if test "$wxUSE_COLOURDLG" = "yes"; then
33255 cat >>confdefs.h <<\_ACEOF
33256 #define wxUSE_COLOURDLG 1
33257 _ACEOF
33258
33259 fi
33260
33261 if test "$wxUSE_FILEDLG" = "yes"; then
33262 cat >>confdefs.h <<\_ACEOF
33263 #define wxUSE_FILEDLG 1
33264 _ACEOF
33265
33266 fi
33267
33268 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33269 cat >>confdefs.h <<\_ACEOF
33270 #define wxUSE_FINDREPLDLG 1
33271 _ACEOF
33272
33273 fi
33274
33275 if test "$wxUSE_FONTDLG" = "yes"; then
33276 cat >>confdefs.h <<\_ACEOF
33277 #define wxUSE_FONTDLG 1
33278 _ACEOF
33279
33280 fi
33281
33282 if test "$wxUSE_DIRDLG" = "yes"; then
33283 if test "$wxUSE_TREECTRL" != "yes"; then
33284 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33285 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33286 else
33287 cat >>confdefs.h <<\_ACEOF
33288 #define wxUSE_DIRDLG 1
33289 _ACEOF
33290
33291 fi
33292 fi
33293
33294 if test "$wxUSE_MSGDLG" = "yes"; then
33295 cat >>confdefs.h <<\_ACEOF
33296 #define wxUSE_MSGDLG 1
33297 _ACEOF
33298
33299 fi
33300
33301 if test "$wxUSE_NUMBERDLG" = "yes"; then
33302 cat >>confdefs.h <<\_ACEOF
33303 #define wxUSE_NUMBERDLG 1
33304 _ACEOF
33305
33306 fi
33307
33308 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33309 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33310 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33311 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33312 else
33313 cat >>confdefs.h <<\_ACEOF
33314 #define wxUSE_PROGRESSDLG 1
33315 _ACEOF
33316
33317 fi
33318 fi
33319
33320 if test "$wxUSE_SPLASH" = "yes"; then
33321 cat >>confdefs.h <<\_ACEOF
33322 #define wxUSE_SPLASH 1
33323 _ACEOF
33324
33325 fi
33326
33327 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33328 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33329 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33330 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33331 else
33332 cat >>confdefs.h <<\_ACEOF
33333 #define wxUSE_STARTUP_TIPS 1
33334 _ACEOF
33335
33336 fi
33337 fi
33338
33339 if test "$wxUSE_TEXTDLG" = "yes"; then
33340 cat >>confdefs.h <<\_ACEOF
33341 #define wxUSE_TEXTDLG 1
33342 _ACEOF
33343
33344 fi
33345
33346 if test "$wxUSE_WIZARDDLG" = "yes"; then
33347 cat >>confdefs.h <<\_ACEOF
33348 #define wxUSE_WIZARDDLG 1
33349 _ACEOF
33350
33351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33352 fi
33353
33354
33355 if test "$cross_compiling" = "yes"; then
33356 OSINFO="\"$host\""
33357 else
33358 OSINFO=`uname -s -r -m`
33359 OSINFO="\"$OSINFO\""
33360 fi
33361
33362 cat >>confdefs.h <<_ACEOF
33363 #define WXWIN_OS_DESCRIPTION $OSINFO
33364 _ACEOF
33365
33366
33367
33368 if test "x$prefix" != "xNONE"; then
33369 wxPREFIX=$prefix
33370 else
33371 wxPREFIX=$ac_default_prefix
33372 fi
33373
33374 cat >>confdefs.h <<_ACEOF
33375 #define wxINSTALL_PREFIX "$wxPREFIX"
33376 _ACEOF
33377
33378
33379 top_builddir_wxconfig=`pwd`
33380
33381
33382
33383 CORE_BASE_LIBS="net base"
33384 CORE_GUI_LIBS="adv core"
33385
33386 if test "$wxUSE_XML" = "yes" ; then
33387 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33388 fi
33389 if test "$wxUSE_ODBC" != "no" ; then
33390 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33391 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33392 fi
33393 if test "$wxUSE_HTML" = "yes" ; then
33394 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33395 fi
33396
33397 if test "$wxUSE_GUI" != "yes"; then
33398 CORE_GUI_LIBS=""
33399 fi
33400
33401
33402
33403
33404
33405
33406
33407
33408 if test "$wxUSE_MAC" = 1 ; then
33409 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33410 fi
33411 if test "$wxUSE_COCOA" = 1 ; then
33412 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33413 fi
33414
33415
33416 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33417
33418 have_cos=0
33419 have_floor=0
33420
33421 for ac_func in cos
33422 do
33423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33424 echo "$as_me:$LINENO: checking for $ac_func" >&5
33425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33426 if eval "test \"\${$as_ac_var+set}\" = set"; then
33427 echo $ECHO_N "(cached) $ECHO_C" >&6
33428 else
33429 cat >conftest.$ac_ext <<_ACEOF
33430 #line $LINENO "configure"
33431 /* confdefs.h. */
33432 _ACEOF
33433 cat confdefs.h >>conftest.$ac_ext
33434 cat >>conftest.$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33436 /* System header to define __stub macros and hopefully few prototypes,
33437 which can conflict with char $ac_func (); below.
33438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33439 <limits.h> exists even on freestanding compilers. */
33440 #ifdef __STDC__
33441 # include <limits.h>
33442 #else
33443 # include <assert.h>
33444 #endif
33445 /* Override any gcc2 internal prototype to avoid an error. */
33446 #ifdef __cplusplus
33447 extern "C"
33448 {
33449 #endif
33450 /* We use char because int might match the return type of a gcc2
33451 builtin and then its argument prototype would still apply. */
33452 char $ac_func ();
33453 /* The GNU C library defines this for functions which it implements
33454 to always fail with ENOSYS. Some functions are actually named
33455 something starting with __ and the normal name is an alias. */
33456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33457 choke me
33458 #else
33459 char (*f) () = $ac_func;
33460 #endif
33461 #ifdef __cplusplus
33462 }
33463 #endif
33464
33465 int
33466 main ()
33467 {
33468 return f != $ac_func;
33469 ;
33470 return 0;
33471 }
33472 _ACEOF
33473 rm -f conftest.$ac_objext conftest$ac_exeext
33474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33475 (eval $ac_link) 2>&5
33476 ac_status=$?
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } &&
33479 { ac_try='test -s conftest$ac_exeext'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33482 ac_status=$?
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; }; then
33485 eval "$as_ac_var=yes"
33486 else
33487 echo "$as_me: failed program was:" >&5
33488 sed 's/^/| /' conftest.$ac_ext >&5
33489
33490 eval "$as_ac_var=no"
33491 fi
33492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33493 fi
33494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33496 if test `eval echo '${'$as_ac_var'}'` = yes; then
33497 cat >>confdefs.h <<_ACEOF
33498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33499 _ACEOF
33500 have_cos=1
33501 fi
33502 done
33503
33504
33505 for ac_func in floor
33506 do
33507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33508 echo "$as_me:$LINENO: checking for $ac_func" >&5
33509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33510 if eval "test \"\${$as_ac_var+set}\" = set"; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33512 else
33513 cat >conftest.$ac_ext <<_ACEOF
33514 #line $LINENO "configure"
33515 /* confdefs.h. */
33516 _ACEOF
33517 cat confdefs.h >>conftest.$ac_ext
33518 cat >>conftest.$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33520 /* System header to define __stub macros and hopefully few prototypes,
33521 which can conflict with char $ac_func (); below.
33522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33523 <limits.h> exists even on freestanding compilers. */
33524 #ifdef __STDC__
33525 # include <limits.h>
33526 #else
33527 # include <assert.h>
33528 #endif
33529 /* Override any gcc2 internal prototype to avoid an error. */
33530 #ifdef __cplusplus
33531 extern "C"
33532 {
33533 #endif
33534 /* We use char because int might match the return type of a gcc2
33535 builtin and then its argument prototype would still apply. */
33536 char $ac_func ();
33537 /* The GNU C library defines this for functions which it implements
33538 to always fail with ENOSYS. Some functions are actually named
33539 something starting with __ and the normal name is an alias. */
33540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33541 choke me
33542 #else
33543 char (*f) () = $ac_func;
33544 #endif
33545 #ifdef __cplusplus
33546 }
33547 #endif
33548
33549 int
33550 main ()
33551 {
33552 return f != $ac_func;
33553 ;
33554 return 0;
33555 }
33556 _ACEOF
33557 rm -f conftest.$ac_objext conftest$ac_exeext
33558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33559 (eval $ac_link) 2>&5
33560 ac_status=$?
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } &&
33563 { ac_try='test -s conftest$ac_exeext'
33564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33565 (eval $ac_try) 2>&5
33566 ac_status=$?
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); }; }; then
33569 eval "$as_ac_var=yes"
33570 else
33571 echo "$as_me: failed program was:" >&5
33572 sed 's/^/| /' conftest.$ac_ext >&5
33573
33574 eval "$as_ac_var=no"
33575 fi
33576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33577 fi
33578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33580 if test `eval echo '${'$as_ac_var'}'` = yes; then
33581 cat >>confdefs.h <<_ACEOF
33582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33583 _ACEOF
33584 have_floor=1
33585 fi
33586 done
33587
33588 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33589 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33590 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33591 echo "$as_me:$LINENO: result: yes" >&5
33592 echo "${ECHO_T}yes" >&6
33593 else
33594 echo "$as_me:$LINENO: result: no" >&5
33595 echo "${ECHO_T}no" >&6
33596 LIBS="$LIBS -lm"
33597 # use different functions to avoid configure caching
33598 have_sin=0
33599 have_ceil=0
33600
33601 for ac_func in sin
33602 do
33603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33604 echo "$as_me:$LINENO: checking for $ac_func" >&5
33605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33606 if eval "test \"\${$as_ac_var+set}\" = set"; then
33607 echo $ECHO_N "(cached) $ECHO_C" >&6
33608 else
33609 cat >conftest.$ac_ext <<_ACEOF
33610 #line $LINENO "configure"
33611 /* confdefs.h. */
33612 _ACEOF
33613 cat confdefs.h >>conftest.$ac_ext
33614 cat >>conftest.$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 /* System header to define __stub macros and hopefully few prototypes,
33617 which can conflict with char $ac_func (); below.
33618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33619 <limits.h> exists even on freestanding compilers. */
33620 #ifdef __STDC__
33621 # include <limits.h>
33622 #else
33623 # include <assert.h>
33624 #endif
33625 /* Override any gcc2 internal prototype to avoid an error. */
33626 #ifdef __cplusplus
33627 extern "C"
33628 {
33629 #endif
33630 /* We use char because int might match the return type of a gcc2
33631 builtin and then its argument prototype would still apply. */
33632 char $ac_func ();
33633 /* The GNU C library defines this for functions which it implements
33634 to always fail with ENOSYS. Some functions are actually named
33635 something starting with __ and the normal name is an alias. */
33636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33637 choke me
33638 #else
33639 char (*f) () = $ac_func;
33640 #endif
33641 #ifdef __cplusplus
33642 }
33643 #endif
33644
33645 int
33646 main ()
33647 {
33648 return f != $ac_func;
33649 ;
33650 return 0;
33651 }
33652 _ACEOF
33653 rm -f conftest.$ac_objext conftest$ac_exeext
33654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33655 (eval $ac_link) 2>&5
33656 ac_status=$?
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); } &&
33659 { ac_try='test -s conftest$ac_exeext'
33660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33661 (eval $ac_try) 2>&5
33662 ac_status=$?
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); }; }; then
33665 eval "$as_ac_var=yes"
33666 else
33667 echo "$as_me: failed program was:" >&5
33668 sed 's/^/| /' conftest.$ac_ext >&5
33669
33670 eval "$as_ac_var=no"
33671 fi
33672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33673 fi
33674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33676 if test `eval echo '${'$as_ac_var'}'` = yes; then
33677 cat >>confdefs.h <<_ACEOF
33678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33679 _ACEOF
33680 have_sin=1
33681 fi
33682 done
33683
33684
33685 for ac_func in ceil
33686 do
33687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33688 echo "$as_me:$LINENO: checking for $ac_func" >&5
33689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33690 if eval "test \"\${$as_ac_var+set}\" = set"; then
33691 echo $ECHO_N "(cached) $ECHO_C" >&6
33692 else
33693 cat >conftest.$ac_ext <<_ACEOF
33694 #line $LINENO "configure"
33695 /* confdefs.h. */
33696 _ACEOF
33697 cat confdefs.h >>conftest.$ac_ext
33698 cat >>conftest.$ac_ext <<_ACEOF
33699 /* end confdefs.h. */
33700 /* System header to define __stub macros and hopefully few prototypes,
33701 which can conflict with char $ac_func (); below.
33702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33703 <limits.h> exists even on freestanding compilers. */
33704 #ifdef __STDC__
33705 # include <limits.h>
33706 #else
33707 # include <assert.h>
33708 #endif
33709 /* Override any gcc2 internal prototype to avoid an error. */
33710 #ifdef __cplusplus
33711 extern "C"
33712 {
33713 #endif
33714 /* We use char because int might match the return type of a gcc2
33715 builtin and then its argument prototype would still apply. */
33716 char $ac_func ();
33717 /* The GNU C library defines this for functions which it implements
33718 to always fail with ENOSYS. Some functions are actually named
33719 something starting with __ and the normal name is an alias. */
33720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33721 choke me
33722 #else
33723 char (*f) () = $ac_func;
33724 #endif
33725 #ifdef __cplusplus
33726 }
33727 #endif
33728
33729 int
33730 main ()
33731 {
33732 return f != $ac_func;
33733 ;
33734 return 0;
33735 }
33736 _ACEOF
33737 rm -f conftest.$ac_objext conftest$ac_exeext
33738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33739 (eval $ac_link) 2>&5
33740 ac_status=$?
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } &&
33743 { ac_try='test -s conftest$ac_exeext'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33746 ac_status=$?
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; }; then
33749 eval "$as_ac_var=yes"
33750 else
33751 echo "$as_me: failed program was:" >&5
33752 sed 's/^/| /' conftest.$ac_ext >&5
33753
33754 eval "$as_ac_var=no"
33755 fi
33756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33757 fi
33758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33760 if test `eval echo '${'$as_ac_var'}'` = yes; then
33761 cat >>confdefs.h <<_ACEOF
33762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33763 _ACEOF
33764 have_ceil=1
33765 fi
33766 done
33767
33768 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33769 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33770 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33771 echo "$as_me:$LINENO: result: yes" >&5
33772 echo "${ECHO_T}yes" >&6
33773 else
33774 echo "$as_me:$LINENO: result: no" >&5
33775 echo "${ECHO_T}no" >&6
33776 # not sure we should warn the user, crash, etc.
33777 fi
33778 fi
33779
33780 if test "$wxUSE_GUI" = "yes"; then
33781
33782
33783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33784 drawing dynamic erase event exec font image \
33785 minimal propsize rotate shaped widgets render"
33786
33787 if test "$wxUSE_MONOLITHIC" != "yes"; then
33788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33789 fi
33790 else
33791 SAMPLES_SUBDIRS="console"
33792 fi
33793
33794
33795 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33796 -I\${top_srcdir}/include \
33797 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33798 $TOOLKIT_INCLUDE"
33799
33800 if test "$GXX" = yes ; then
33801 CXXWARNINGS="-Wall"
33802 fi
33803
33804 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33805
33806 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33807 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33808 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33809
33810
33811 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33812 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33813 EXTRALIBS_XML="$EXPAT_LINK"
33814 EXTRALIBS_ODBC="$ODBC_LINK"
33815 if test "$wxUSE_GUI" = "yes"; then
33816 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33817 fi
33818 if test "$wxUSE_OPENGL" = "yes"; then
33819 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33820 fi
33821
33822 LDFLAGS="$LDFLAGS $PROFILE"
33823
33824 if test "$wxUSE_GTK" = 1; then
33825 WXCONFIG_INCLUDE=
33826 else
33827 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33828 fi
33829
33830 WXCONFIG_EXTRALIBS="$LIBS"
33831
33832 if test "$wxUSE_REGEX" = "builtin" ; then
33833 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33834 fi
33835 if test "$wxUSE_EXPAT" = "builtin" ; then
33836 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33837 fi
33838 if test "$wxUSE_ODBC" = "builtin" ; then
33839 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33840 fi
33841 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33842 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33843 fi
33844 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33845 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33846 fi
33847 if test "$wxUSE_LIBPNG" = "builtin" ; then
33848 wxconfig_3rdparty="$wxconfig_3rdparty png"
33849 fi
33850 if test "$wxUSE_ZLIB" = "builtin" ; then
33851 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33852 fi
33853 if test "$wxUSE_ODBC" = "builtin" ; then
33854 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33855 fi
33856
33857 for i in $wxconfig_3rdparty ; do
33858 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33859 done
33860
33861
33862 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33863 WXUNIV=1
33864 else
33865 WXUNIV=0
33866 fi
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876 if test $wxUSE_MONOLITHIC = "yes" ; then
33877 MONOLITHIC=1
33878 else
33879 MONOLITHIC=0
33880 fi
33881
33882 if test $wxUSE_ODBC != "no" ; then
33883 USE_ODBC=1
33884 else
33885 USE_ODBC=0
33886 fi
33887
33888 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33889 OFFICIAL_BUILD=1
33890 else
33891 OFFICIAL_BUILD=0
33892 fi
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33911
33912
33913
33914
33915
33916
33917
33918 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33919
33920 if test -n "$ac_tool_prefix"; then
33921 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33922 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33923 echo "$as_me:$LINENO: checking for $ac_word" >&5
33924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33925 if test "${ac_cv_prog_RANLIB+set}" = set; then
33926 echo $ECHO_N "(cached) $ECHO_C" >&6
33927 else
33928 if test -n "$RANLIB"; then
33929 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33930 else
33931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33932 for as_dir in $PATH
33933 do
33934 IFS=$as_save_IFS
33935 test -z "$as_dir" && as_dir=.
33936 for ac_exec_ext in '' $ac_executable_extensions; do
33937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33938 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33940 break 2
33941 fi
33942 done
33943 done
33944
33945 fi
33946 fi
33947 RANLIB=$ac_cv_prog_RANLIB
33948 if test -n "$RANLIB"; then
33949 echo "$as_me:$LINENO: result: $RANLIB" >&5
33950 echo "${ECHO_T}$RANLIB" >&6
33951 else
33952 echo "$as_me:$LINENO: result: no" >&5
33953 echo "${ECHO_T}no" >&6
33954 fi
33955
33956 fi
33957 if test -z "$ac_cv_prog_RANLIB"; then
33958 ac_ct_RANLIB=$RANLIB
33959 # Extract the first word of "ranlib", so it can be a program name with args.
33960 set dummy ranlib; ac_word=$2
33961 echo "$as_me:$LINENO: checking for $ac_word" >&5
33962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33963 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33964 echo $ECHO_N "(cached) $ECHO_C" >&6
33965 else
33966 if test -n "$ac_ct_RANLIB"; then
33967 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33968 else
33969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33970 for as_dir in $PATH
33971 do
33972 IFS=$as_save_IFS
33973 test -z "$as_dir" && as_dir=.
33974 for ac_exec_ext in '' $ac_executable_extensions; do
33975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33976 ac_cv_prog_ac_ct_RANLIB="ranlib"
33977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33978 break 2
33979 fi
33980 done
33981 done
33982
33983 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33984 fi
33985 fi
33986 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33987 if test -n "$ac_ct_RANLIB"; then
33988 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33989 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33990 else
33991 echo "$as_me:$LINENO: result: no" >&5
33992 echo "${ECHO_T}no" >&6
33993 fi
33994
33995 RANLIB=$ac_ct_RANLIB
33996 else
33997 RANLIB="$ac_cv_prog_RANLIB"
33998 fi
33999
34000 # Find a good install program. We prefer a C program (faster),
34001 # so one script is as good as another. But avoid the broken or
34002 # incompatible versions:
34003 # SysV /etc/install, /usr/sbin/install
34004 # SunOS /usr/etc/install
34005 # IRIX /sbin/install
34006 # AIX /bin/install
34007 # AmigaOS /C/install, which installs bootblocks on floppy discs
34008 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34009 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34010 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34011 # ./install, which can be erroneously created by make from ./install.sh.
34012 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34013 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34014 if test -z "$INSTALL"; then
34015 if test "${ac_cv_path_install+set}" = set; then
34016 echo $ECHO_N "(cached) $ECHO_C" >&6
34017 else
34018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34019 for as_dir in $PATH
34020 do
34021 IFS=$as_save_IFS
34022 test -z "$as_dir" && as_dir=.
34023 # Account for people who put trailing slashes in PATH elements.
34024 case $as_dir/ in
34025 ./ | .// | /cC/* | \
34026 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34027 /usr/ucb/* ) ;;
34028 *)
34029 # OSF1 and SCO ODT 3.0 have their own names for install.
34030 # Don't use installbsd from OSF since it installs stuff as root
34031 # by default.
34032 for ac_prog in ginstall scoinst install; do
34033 for ac_exec_ext in '' $ac_executable_extensions; do
34034 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34035 if test $ac_prog = install &&
34036 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34037 # AIX install. It has an incompatible calling convention.
34038 :
34039 elif test $ac_prog = install &&
34040 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34041 # program-specific install script used by HP pwplus--don't use.
34042 :
34043 else
34044 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34045 break 3
34046 fi
34047 fi
34048 done
34049 done
34050 ;;
34051 esac
34052 done
34053
34054
34055 fi
34056 if test "${ac_cv_path_install+set}" = set; then
34057 INSTALL=$ac_cv_path_install
34058 else
34059 # As a last resort, use the slow shell script. We don't cache a
34060 # path for INSTALL within a source directory, because that will
34061 # break other packages using the cache if that directory is
34062 # removed, or if the path is relative.
34063 INSTALL=$ac_install_sh
34064 fi
34065 fi
34066 echo "$as_me:$LINENO: result: $INSTALL" >&5
34067 echo "${ECHO_T}$INSTALL" >&6
34068
34069 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34070 # It thinks the first close brace ends the variable substitution.
34071 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34072
34073 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34074
34075 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34076
34077 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34078 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34079 LN_S=$as_ln_s
34080 if test "$LN_S" = "ln -s"; then
34081 echo "$as_me:$LINENO: result: yes" >&5
34082 echo "${ECHO_T}yes" >&6
34083 else
34084 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34085 echo "${ECHO_T}no, using $LN_S" >&6
34086 fi
34087
34088
34089 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34090 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34091 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34092 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34093 echo $ECHO_N "(cached) $ECHO_C" >&6
34094 else
34095 cat >conftest.make <<\_ACEOF
34096 all:
34097 @echo 'ac_maketemp="$(MAKE)"'
34098 _ACEOF
34099 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34100 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34101 if test -n "$ac_maketemp"; then
34102 eval ac_cv_prog_make_${ac_make}_set=yes
34103 else
34104 eval ac_cv_prog_make_${ac_make}_set=no
34105 fi
34106 rm -f conftest.make
34107 fi
34108 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34109 echo "$as_me:$LINENO: result: yes" >&5
34110 echo "${ECHO_T}yes" >&6
34111 SET_MAKE=
34112 else
34113 echo "$as_me:$LINENO: result: no" >&5
34114 echo "${ECHO_T}no" >&6
34115 SET_MAKE="MAKE=${MAKE-make}"
34116 fi
34117
34118
34119
34120 if test -n "$ac_tool_prefix"; then
34121 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34122 set dummy ${ac_tool_prefix}ar; ac_word=$2
34123 echo "$as_me:$LINENO: checking for $ac_word" >&5
34124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34125 if test "${ac_cv_prog_AR+set}" = set; then
34126 echo $ECHO_N "(cached) $ECHO_C" >&6
34127 else
34128 if test -n "$AR"; then
34129 ac_cv_prog_AR="$AR" # Let the user override the test.
34130 else
34131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34132 for as_dir in $PATH
34133 do
34134 IFS=$as_save_IFS
34135 test -z "$as_dir" && as_dir=.
34136 for ac_exec_ext in '' $ac_executable_extensions; do
34137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34138 ac_cv_prog_AR="${ac_tool_prefix}ar"
34139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34140 break 2
34141 fi
34142 done
34143 done
34144
34145 fi
34146 fi
34147 AR=$ac_cv_prog_AR
34148 if test -n "$AR"; then
34149 echo "$as_me:$LINENO: result: $AR" >&5
34150 echo "${ECHO_T}$AR" >&6
34151 else
34152 echo "$as_me:$LINENO: result: no" >&5
34153 echo "${ECHO_T}no" >&6
34154 fi
34155
34156 fi
34157 if test -z "$ac_cv_prog_AR"; then
34158 ac_ct_AR=$AR
34159 # Extract the first word of "ar", so it can be a program name with args.
34160 set dummy ar; ac_word=$2
34161 echo "$as_me:$LINENO: checking for $ac_word" >&5
34162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34163 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34165 else
34166 if test -n "$ac_ct_AR"; then
34167 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34168 else
34169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34170 for as_dir in $PATH
34171 do
34172 IFS=$as_save_IFS
34173 test -z "$as_dir" && as_dir=.
34174 for ac_exec_ext in '' $ac_executable_extensions; do
34175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34176 ac_cv_prog_ac_ct_AR="ar"
34177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34178 break 2
34179 fi
34180 done
34181 done
34182
34183 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34184 fi
34185 fi
34186 ac_ct_AR=$ac_cv_prog_ac_ct_AR
34187 if test -n "$ac_ct_AR"; then
34188 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34189 echo "${ECHO_T}$ac_ct_AR" >&6
34190 else
34191 echo "$as_me:$LINENO: result: no" >&5
34192 echo "${ECHO_T}no" >&6
34193 fi
34194
34195 AR=$ac_ct_AR
34196 else
34197 AR="$ac_cv_prog_AR"
34198 fi
34199
34200 if test -n "$ac_tool_prefix"; then
34201 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34202 set dummy ${ac_tool_prefix}strip; ac_word=$2
34203 echo "$as_me:$LINENO: checking for $ac_word" >&5
34204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34205 if test "${ac_cv_prog_STRIP+set}" = set; then
34206 echo $ECHO_N "(cached) $ECHO_C" >&6
34207 else
34208 if test -n "$STRIP"; then
34209 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34210 else
34211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34212 for as_dir in $PATH
34213 do
34214 IFS=$as_save_IFS
34215 test -z "$as_dir" && as_dir=.
34216 for ac_exec_ext in '' $ac_executable_extensions; do
34217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34218 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34220 break 2
34221 fi
34222 done
34223 done
34224
34225 fi
34226 fi
34227 STRIP=$ac_cv_prog_STRIP
34228 if test -n "$STRIP"; then
34229 echo "$as_me:$LINENO: result: $STRIP" >&5
34230 echo "${ECHO_T}$STRIP" >&6
34231 else
34232 echo "$as_me:$LINENO: result: no" >&5
34233 echo "${ECHO_T}no" >&6
34234 fi
34235
34236 fi
34237 if test -z "$ac_cv_prog_STRIP"; then
34238 ac_ct_STRIP=$STRIP
34239 # Extract the first word of "strip", so it can be a program name with args.
34240 set dummy strip; ac_word=$2
34241 echo "$as_me:$LINENO: checking for $ac_word" >&5
34242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34243 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 else
34246 if test -n "$ac_ct_STRIP"; then
34247 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34248 else
34249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34250 for as_dir in $PATH
34251 do
34252 IFS=$as_save_IFS
34253 test -z "$as_dir" && as_dir=.
34254 for ac_exec_ext in '' $ac_executable_extensions; do
34255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34256 ac_cv_prog_ac_ct_STRIP="strip"
34257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34258 break 2
34259 fi
34260 done
34261 done
34262
34263 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34264 fi
34265 fi
34266 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34267 if test -n "$ac_ct_STRIP"; then
34268 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34269 echo "${ECHO_T}$ac_ct_STRIP" >&6
34270 else
34271 echo "$as_me:$LINENO: result: no" >&5
34272 echo "${ECHO_T}no" >&6
34273 fi
34274
34275 STRIP=$ac_ct_STRIP
34276 else
34277 STRIP="$ac_cv_prog_STRIP"
34278 fi
34279
34280 if test -n "$ac_tool_prefix"; then
34281 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34282 set dummy ${ac_tool_prefix}nm; ac_word=$2
34283 echo "$as_me:$LINENO: checking for $ac_word" >&5
34284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34285 if test "${ac_cv_prog_NM+set}" = set; then
34286 echo $ECHO_N "(cached) $ECHO_C" >&6
34287 else
34288 if test -n "$NM"; then
34289 ac_cv_prog_NM="$NM" # Let the user override the test.
34290 else
34291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34292 for as_dir in $PATH
34293 do
34294 IFS=$as_save_IFS
34295 test -z "$as_dir" && as_dir=.
34296 for ac_exec_ext in '' $ac_executable_extensions; do
34297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34298 ac_cv_prog_NM="${ac_tool_prefix}nm"
34299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34300 break 2
34301 fi
34302 done
34303 done
34304
34305 fi
34306 fi
34307 NM=$ac_cv_prog_NM
34308 if test -n "$NM"; then
34309 echo "$as_me:$LINENO: result: $NM" >&5
34310 echo "${ECHO_T}$NM" >&6
34311 else
34312 echo "$as_me:$LINENO: result: no" >&5
34313 echo "${ECHO_T}no" >&6
34314 fi
34315
34316 fi
34317 if test -z "$ac_cv_prog_NM"; then
34318 ac_ct_NM=$NM
34319 # Extract the first word of "nm", so it can be a program name with args.
34320 set dummy nm; ac_word=$2
34321 echo "$as_me:$LINENO: checking for $ac_word" >&5
34322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34323 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34324 echo $ECHO_N "(cached) $ECHO_C" >&6
34325 else
34326 if test -n "$ac_ct_NM"; then
34327 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34328 else
34329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34330 for as_dir in $PATH
34331 do
34332 IFS=$as_save_IFS
34333 test -z "$as_dir" && as_dir=.
34334 for ac_exec_ext in '' $ac_executable_extensions; do
34335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34336 ac_cv_prog_ac_ct_NM="nm"
34337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34338 break 2
34339 fi
34340 done
34341 done
34342
34343 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34344 fi
34345 fi
34346 ac_ct_NM=$ac_cv_prog_ac_ct_NM
34347 if test -n "$ac_ct_NM"; then
34348 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34349 echo "${ECHO_T}$ac_ct_NM" >&6
34350 else
34351 echo "$as_me:$LINENO: result: no" >&5
34352 echo "${ECHO_T}no" >&6
34353 fi
34354
34355 NM=$ac_ct_NM
34356 else
34357 NM="$ac_cv_prog_NM"
34358 fi
34359
34360
34361 case ${host} in
34362 *-hp-hpux* )
34363 INSTALL_DIR="mkdir"
34364 ;;
34365 *) INSTALL_DIR="$INSTALL -d"
34366 ;;
34367 esac
34368
34369
34370 LDFLAGS_GUI=
34371 case ${host} in
34372 *-*-cygwin* | *-*-mingw32* )
34373 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34374 esac
34375
34376
34377 fi
34378
34379 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34380 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34381 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 else
34384
34385 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34386 egrep -s GNU > /dev/null); then
34387 bakefile_cv_prog_makeisgnu="yes"
34388 else
34389 bakefile_cv_prog_makeisgnu="no"
34390 fi
34391
34392 fi
34393 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34394 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34395
34396 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34397 IF_GNU_MAKE=""
34398 else
34399 IF_GNU_MAKE="#"
34400 fi
34401
34402
34403
34404 PLATFORM_UNIX=0
34405 PLATFORM_WIN32=0
34406 PLATFORM_MSDOS=0
34407 PLATFORM_MAC=0
34408 PLATFORM_MACOSX=0
34409 PLATFORM_OS2=0
34410
34411 case "${host}" in
34412 *-*-cygwin* | *-*-mingw32* )
34413 PLATFORM_WIN32=1
34414 ;;
34415 *-pc-msdosdjgpp )
34416 PLATFORM_MSDOS=1
34417 ;;
34418 *-pc-os2_emx | *-pc-os2-emx )
34419 PLATFORM_OS2=1
34420 ;;
34421 powerpc-*-darwin* )
34422 PLATFORM_MAC=1
34423 PLATFORM_MACOSX=1
34424 ;;
34425 * )
34426 PLATFORM_UNIX=1
34427 ;;
34428 esac
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438 SO_SUFFIX="so"
34439 SO_SUFFIX_MODULE="so"
34440 EXEEXT=""
34441 LIBPREFIX=lib
34442 DLLPREFIX=lib
34443 DLLPREFIX_MODULE=
34444
34445 case "${host}" in
34446 *-hp-hpux* )
34447 SO_SUFFIX="sl"
34448 SO_SUFFIX_MODULE="sl"
34449 ;;
34450 *-*-aix* )
34451 SO_SUFFIX="a"
34452 SO_SUFFIX_MODULE="a"
34453 ;;
34454 *-*-cygwin* | *-*-mingw32* )
34455 SO_SUFFIX="dll"
34456 SO_SUFFIX_MODULE="dll"
34457 EXEEXT=".exe"
34458 DLLPREFIX=""
34459 ;;
34460 *-pc-msdosdjgpp )
34461 EXEEXT=".exe"
34462 DLLPREFIX=""
34463 ;;
34464 *-pc-os2_emx | *-pc-os2-emx )
34465 EXEEXT=".exe"
34466 DLLPREFIX=""
34467 LIBPREFIX=""
34468 ;;
34469 powerpc-*-darwin* )
34470 SO_SUFFIX="dylib"
34471 SO_SUFFIX_MODULE="bundle"
34472 ;;
34473 esac
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483 SHARED_LD_CC="\$(CC) -shared -o"
34484 SHARED_LD_CXX="\$(CXX) -shared -o"
34485
34486 if test "x$GCC" = "xyes"; then
34487 PIC_FLAG="-fPIC"
34488 fi
34489
34490 case "${host}" in
34491 *-hp-hpux* )
34492 if test "x$GCC" = "xyes"; then
34493 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34494 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34495 else
34496 LDFLAGS="$LDFLAGS -L/usr/lib"
34497
34498 SHARED_LD_CC="${CC} -b -o"
34499 SHARED_LD_CXX="${CXX} -b -o"
34500 PIC_FLAG="+Z"
34501 fi
34502 ;;
34503
34504 *-*-linux* )
34505 if test "x$GCC" != "xyes"; then
34506 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34507 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34508 if test "${bakefile_cv_prog_icc+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34510 else
34511
34512 cat >conftest.$ac_ext <<_ACEOF
34513 #line $LINENO "configure"
34514 /* confdefs.h. */
34515 _ACEOF
34516 cat confdefs.h >>conftest.$ac_ext
34517 cat >>conftest.$ac_ext <<_ACEOF
34518 /* end confdefs.h. */
34519
34520 int
34521 main ()
34522 {
34523
34524 #ifndef __INTEL_COMPILER
34525 #error Not icc
34526 #endif
34527
34528 ;
34529 return 0;
34530 }
34531 _ACEOF
34532 rm -f conftest.$ac_objext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34534 (eval $ac_compile) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); } &&
34538 { ac_try='test -s conftest.$ac_objext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34541 ac_status=$?
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34544 bakefile_cv_prog_icc=yes
34545 else
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.$ac_ext >&5
34548
34549 bakefile_cv_prog_icc=no
34550
34551 fi
34552 rm -f conftest.$ac_objext conftest.$ac_ext
34553
34554 fi
34555 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34556 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34557 if test "$bakefile_cv_prog_icc" = "yes"; then
34558 PIC_FLAG="-KPIC"
34559 fi
34560 fi
34561 ;;
34562
34563 *-*-solaris2* )
34564 if test "x$GCC" != xyes ; then
34565 SHARED_LD_CC="${CC} -G -o"
34566 SHARED_LD_CXX="${CXX} -G -o"
34567 PIC_FLAG="-KPIC"
34568 fi
34569 ;;
34570
34571 *-*-darwin* )
34572 CFLAGS="$CFLAGS -fno-common"
34573 CXXFLAGS="$CXXFLAGS -fno-common"
34574
34575
34576 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34577 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34578 if test "${wx_cv_gcc31+set}" = set; then
34579 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 else
34581
34582 cat >conftest.$ac_ext <<_ACEOF
34583 #line $LINENO "configure"
34584 /* confdefs.h. */
34585 _ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589
34590 int
34591 main ()
34592 {
34593
34594 #if (__GNUC__ < 3) || \
34595 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34596 #error old gcc
34597 #endif
34598
34599 ;
34600 return 0;
34601 }
34602 _ACEOF
34603 rm -f conftest.$ac_objext
34604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34605 (eval $ac_compile) 2>&5
34606 ac_status=$?
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); } &&
34609 { ac_try='test -s conftest.$ac_objext'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34612 ac_status=$?
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; }; then
34615
34616 wx_cv_gcc31=yes
34617
34618 else
34619 echo "$as_me: failed program was:" >&5
34620 sed 's/^/| /' conftest.$ac_ext >&5
34621
34622
34623 wx_cv_gcc31=no
34624
34625
34626 fi
34627 rm -f conftest.$ac_objext conftest.$ac_ext
34628
34629 fi
34630 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34631 echo "${ECHO_T}$wx_cv_gcc31" >&6
34632 if test "$wx_cv_gcc31" = "no"; then
34633 cat <<EOF >shared-ld-sh
34634 #!/bin/sh
34635 #-----------------------------------------------------------------------------
34636 #-- Name: distrib/mac/shared-ld-sh
34637 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34638 #-- Author: Gilles Depeyrot
34639 #-- Copyright: (c) 2002 Gilles Depeyrot
34640 #-- Licence: any use permitted
34641 #-----------------------------------------------------------------------------
34642
34643 verbose=0
34644 args=""
34645 objects=""
34646 linking_flag="-dynamiclib"
34647
34648 while test \${#} -gt 0; do
34649 case \${1} in
34650
34651 -v)
34652 verbose=1
34653 ;;
34654
34655 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34656 # collect these options and values
34657 args="\${args} \${1} \${2}"
34658 shift
34659 ;;
34660
34661 -l*|-L*|-flat_namespace)
34662 # collect these options
34663 args="\${args} \${1}"
34664 ;;
34665
34666 -dynamiclib|-bundle)
34667 linking_flag="\${1}"
34668 ;;
34669
34670 -*)
34671 echo "shared-ld: unhandled option '\${1}'"
34672 exit 1
34673 ;;
34674
34675 *.o | *.a | *.dylib)
34676 # collect object files
34677 objects="\${objects} \${1}"
34678 ;;
34679
34680 *)
34681 echo "shared-ld: unhandled argument '\${1}'"
34682 exit 1
34683 ;;
34684
34685 esac
34686 shift
34687 done
34688
34689 #
34690 # Link one module containing all the others
34691 #
34692 if test \${verbose} = 1; then
34693 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34694 fi
34695 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34696 status=\$?
34697 if test \${status} != 0; then
34698 exit \${status}
34699 fi
34700
34701 #
34702 # Link the shared library from the single module created
34703 #
34704 if test \${verbose} = 1; then
34705 echo "cc \${linking_flag} master.\$\$.o \${args}"
34706 fi
34707 c++ \${linking_flag} master.\$\$.o \${args}
34708 status=\$?
34709 if test \${status} != 0; then
34710 exit \${status}
34711 fi
34712
34713 #
34714 # Remove intermediate module
34715 #
34716 rm -f master.\$\$.o
34717
34718 exit 0
34719 EOF
34720 chmod +x shared-ld-sh
34721
34722 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o"
34723 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o"
34724 SHARED_LD_CXX="$SHARED_LD_CC"
34725 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34726 else
34727 SHARED_LD_CC="\${CC} -dynamiclib -single_module -o"
34728 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o"
34729 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o"
34730 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o"
34731 fi
34732
34733 PIC_FLAG="-dynamic -fPIC"
34734 ;;
34735
34736 *-*-aix* )
34737 if test "x$GCC" != "xyes"; then
34738 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34739 set dummy makeC++SharedLib; ac_word=$2
34740 echo "$as_me:$LINENO: checking for $ac_word" >&5
34741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34742 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 else
34745 if test -n "$AIX_CXX_LD"; then
34746 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34747 else
34748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34749 for as_dir in $PATH
34750 do
34751 IFS=$as_save_IFS
34752 test -z "$as_dir" && as_dir=.
34753 for ac_exec_ext in '' $ac_executable_extensions; do
34754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34755 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34757 break 2
34758 fi
34759 done
34760 done
34761
34762 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34763 fi
34764 fi
34765 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34766 if test -n "$AIX_CXX_LD"; then
34767 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34768 echo "${ECHO_T}$AIX_CXX_LD" >&6
34769 else
34770 echo "$as_me:$LINENO: result: no" >&5
34771 echo "${ECHO_T}no" >&6
34772 fi
34773
34774 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34775 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34776 fi
34777 ;;
34778
34779 *-*-beos* )
34780 SHARED_LD_CC="${LD} -shared -o"
34781 SHARED_LD_CXX="${LD} -shared -o"
34782 ;;
34783
34784 *-*-irix* )
34785 if test "x$GCC" != "xyes"; then
34786 PIC_FLAG="-KPIC"
34787 fi
34788 ;;
34789
34790 *-*-cygwin* | *-*-mingw32* )
34791 PIC_FLAG=""
34792 ;;
34793
34794 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34795 *-*-sunos4* | \
34796 *-*-osf* | \
34797 *-*-dgux5* | \
34798 *-pc-os2_emx | *-pc-os2-emx | \
34799 *-*-sysv5* )
34800 ;;
34801
34802 *)
34803 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34804 echo "$as_me: error: unknown system type $host." >&2;}
34805 { (exit 1); exit 1; }; }
34806 esac
34807
34808 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34809 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34810 fi
34811 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34812 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34813 fi
34814
34815
34816
34817
34818
34819
34820
34821
34822 USE_SOVERSION=0
34823 USE_SOVERLINUX=0
34824 USE_SOVERSOLARIS=0
34825 USE_SOSYMLINKS=0
34826 USE_MACVERSION=0
34827 SONAME_FLAG=
34828
34829 case "${host}" in
34830 *-*-linux* )
34831 SONAME_FLAG="-Wl,-soname,"
34832 USE_SOVERSION=1
34833 USE_SOVERLINUX=1
34834 USE_SOSYMLINKS=1
34835 ;;
34836
34837 *-*-solaris2* )
34838 SONAME_FLAG="-h "
34839 USE_SOVERSION=1
34840 USE_SOVERSOLARIS=1
34841 USE_SOSYMLINKS=1
34842 ;;
34843
34844 *-*-darwin* )
34845 USE_MACVERSION=1
34846 USE_SOVERSION=1
34847 USE_SOSYMLINKS=1
34848 ;;
34849 esac
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34860 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34861 DEPS_TRACKING=0
34862
34863 if test "x$GCC" = "xyes"; then
34864 DEPSMODE=gcc
34865 DEPS_TRACKING=1
34866 case "${host}" in
34867 powerpc-*-darwin* )
34868 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34869 ;;
34870 * )
34871 DEPSFLAG_GCC="-MMD"
34872 ;;
34873 esac
34874 echo "$as_me:$LINENO: result: gcc" >&5
34875 echo "${ECHO_T}gcc" >&6
34876 else
34877 echo "$as_me:$LINENO: result: none" >&5
34878 echo "${ECHO_T}none" >&6
34879 fi
34880
34881 if test $DEPS_TRACKING = 1 ; then
34882 cat <<EOF >bk-deps
34883 #!/bin/sh
34884
34885 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34886 # script. It is used to track C/C++ files dependencies in portable way.
34887 #
34888 # Permission is given to use this file in any way.
34889
34890 DEPSMODE=$DEPSMODE
34891 DEPSDIR=.deps
34892 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34893
34894 mkdir -p \$DEPSDIR
34895
34896 if test \$DEPSMODE = gcc ; then
34897 \${*} \${DEPSFLAG_GCC}
34898 status=\${?}
34899 if test \${status} != 0 ; then
34900 exit \${status}
34901 fi
34902 # move created file to the location we want it in:
34903 while test \${#} -gt 0; do
34904 case "\${1}" in
34905 -o )
34906 shift
34907 objfile=\${1}
34908 ;;
34909 -* )
34910 ;;
34911 * )
34912 srcfile=\${1}
34913 ;;
34914 esac
34915 shift
34916 done
34917 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34918 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34919 if test -f \$depfile ; then
34920 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34921 rm -f \$depfile
34922 else
34923 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34924 if test -f \$depfile ; then
34925 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34926 rm -f \$depfile
34927 fi
34928 fi
34929 exit 0
34930 else
34931 \${*}
34932 exit \${?}
34933 fi
34934 EOF
34935 chmod +x bk-deps
34936 fi
34937
34938
34939
34940
34941 RESCOMP=
34942 SETFILE=
34943
34944 case ${host} in
34945 *-*-cygwin* | *-*-mingw32* )
34946 if test "$build" != "$host" ; then
34947 RESCOMP=$host_alias-windres
34948 else
34949 # Extract the first word of "windres", so it can be a program name with args.
34950 set dummy windres; ac_word=$2
34951 echo "$as_me:$LINENO: checking for $ac_word" >&5
34952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34953 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34955 else
34956 if test -n "$RESCOMP"; then
34957 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34958 else
34959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34960 for as_dir in $PATH
34961 do
34962 IFS=$as_save_IFS
34963 test -z "$as_dir" && as_dir=.
34964 for ac_exec_ext in '' $ac_executable_extensions; do
34965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34966 ac_cv_prog_RESCOMP="windres"
34967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34968 break 2
34969 fi
34970 done
34971 done
34972
34973 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34974 fi
34975 fi
34976 RESCOMP=$ac_cv_prog_RESCOMP
34977 if test -n "$RESCOMP"; then
34978 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34979 echo "${ECHO_T}$RESCOMP" >&6
34980 else
34981 echo "$as_me:$LINENO: result: no" >&5
34982 echo "${ECHO_T}no" >&6
34983 fi
34984
34985 fi
34986 ;;
34987
34988 *-*-darwin* )
34989 # Extract the first word of "Rez", so it can be a program name with args.
34990 set dummy Rez; ac_word=$2
34991 echo "$as_me:$LINENO: checking for $ac_word" >&5
34992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34993 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 else
34996 if test -n "$RESCOMP"; then
34997 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34998 else
34999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35000 for as_dir in $PATH
35001 do
35002 IFS=$as_save_IFS
35003 test -z "$as_dir" && as_dir=.
35004 for ac_exec_ext in '' $ac_executable_extensions; do
35005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35006 ac_cv_prog_RESCOMP="Rez"
35007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35008 break 2
35009 fi
35010 done
35011 done
35012
35013 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35014 fi
35015 fi
35016 RESCOMP=$ac_cv_prog_RESCOMP
35017 if test -n "$RESCOMP"; then
35018 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35019 echo "${ECHO_T}$RESCOMP" >&6
35020 else
35021 echo "$as_me:$LINENO: result: no" >&5
35022 echo "${ECHO_T}no" >&6
35023 fi
35024
35025 # Extract the first word of "SetFile", so it can be a program name with args.
35026 set dummy SetFile; ac_word=$2
35027 echo "$as_me:$LINENO: checking for $ac_word" >&5
35028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35029 if test "${ac_cv_prog_SETFILE+set}" = set; then
35030 echo $ECHO_N "(cached) $ECHO_C" >&6
35031 else
35032 if test -n "$SETFILE"; then
35033 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35034 else
35035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35036 for as_dir in $PATH
35037 do
35038 IFS=$as_save_IFS
35039 test -z "$as_dir" && as_dir=.
35040 for ac_exec_ext in '' $ac_executable_extensions; do
35041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35042 ac_cv_prog_SETFILE="SetFile"
35043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35044 break 2
35045 fi
35046 done
35047 done
35048
35049 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35050 fi
35051 fi
35052 SETFILE=$ac_cv_prog_SETFILE
35053 if test -n "$SETFILE"; then
35054 echo "$as_me:$LINENO: result: $SETFILE" >&5
35055 echo "${ECHO_T}$SETFILE" >&6
35056 else
35057 echo "$as_me:$LINENO: result: no" >&5
35058 echo "${ECHO_T}no" >&6
35059 fi
35060
35061 ;;
35062 esac
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35074 if test "${enable_precomp_headers+set}" = set; then
35075 enableval="$enable_precomp_headers"
35076 bk_use_pch="$enableval"
35077 fi;
35078
35079 GCC_PCH=0
35080
35081 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35082 if test "x$GCC" = "xyes"; then
35083 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35084 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35085 cat >conftest.$ac_ext <<_ACEOF
35086 #line $LINENO "configure"
35087 /* confdefs.h. */
35088 _ACEOF
35089 cat confdefs.h >>conftest.$ac_ext
35090 cat >>conftest.$ac_ext <<_ACEOF
35091 /* end confdefs.h. */
35092
35093 int
35094 main ()
35095 {
35096
35097 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35098 #error "no pch support"
35099 #endif
35100 #if (__GNUC__ < 3)
35101 #error "no pch support"
35102 #endif
35103 #if (__GNUC__ == 3) && \
35104 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35105 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35106 #error "no pch support"
35107 #endif
35108
35109 ;
35110 return 0;
35111 }
35112 _ACEOF
35113 rm -f conftest.$ac_objext
35114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35115 (eval $ac_compile) 2>&5
35116 ac_status=$?
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try='test -s conftest.$ac_objext'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35122 ac_status=$?
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; }; then
35125
35126 echo "$as_me:$LINENO: result: yes" >&5
35127 echo "${ECHO_T}yes" >&6
35128 CPPFLAGS="-fpch-deps $CPPFLAGS"
35129 GCC_PCH=1
35130
35131 else
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35134
35135
35136 echo "$as_me:$LINENO: result: no" >&5
35137 echo "${ECHO_T}no" >&6
35138
35139 fi
35140 rm -f conftest.$ac_objext conftest.$ac_ext
35141 if test $GCC_PCH = 1 ; then
35142 cat <<EOF >bk-make-pch
35143 #!/bin/sh
35144
35145 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35146 # script. It is used to generated precompiled headers.
35147 #
35148 # Permission is given to use this file in any way.
35149
35150 outfile="\${1}"
35151 header="\${2}"
35152 shift
35153 shift
35154
35155 compiler=
35156 headerfile=
35157 while test \${#} -gt 0; do
35158 case "\${1}" in
35159 -I* )
35160 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35161 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35162 headerfile="\${incdir}/\${header}"
35163 fi
35164 ;;
35165 esac
35166 compiler="\${compiler} \${1}"
35167 shift
35168 done
35169
35170 if test "x\${headerfile}" = "x" ; then
35171 echo "error: can't find header \${header} in include paths" >2
35172 else
35173 if test -f \${outfile} ; then
35174 rm -f \${outfile}
35175 else
35176 mkdir -p \`dirname \${outfile}\`
35177 fi
35178 depsfile=".deps/\`basename \${outfile}\`.d"
35179 mkdir -p .deps
35180 # can do this because gcc is >= 3.4:
35181 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35182 exit \${?}
35183 fi
35184 EOF
35185 chmod +x bk-make-pch
35186 fi
35187 fi
35188 fi
35189
35190
35191
35192
35193
35194 COND_BUILD_DEBUG="#"
35195 if test "x$BUILD" = "xdebug" ; then
35196 COND_BUILD_DEBUG=""
35197 fi
35198
35199 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35200 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35201 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35202 fi
35203
35204 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35205 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35206 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35207 fi
35208
35209 COND_BUILD_RELEASE="#"
35210 if test "x$BUILD" = "xrelease" ; then
35211 COND_BUILD_RELEASE=""
35212 fi
35213
35214 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35215 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35216 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35217 fi
35218
35219 COND_DEBUG_FLAG_1="#"
35220 if test "x$DEBUG_FLAG" = "x1" ; then
35221 COND_DEBUG_FLAG_1=""
35222 fi
35223
35224 COND_DEBUG_INFO_0="#"
35225 if test "x$DEBUG_INFO" = "x0" ; then
35226 COND_DEBUG_INFO_0=""
35227 fi
35228
35229 COND_DEBUG_INFO_1="#"
35230 if test "x$DEBUG_INFO" = "x1" ; then
35231 COND_DEBUG_INFO_1=""
35232 fi
35233
35234 COND_DEPS_TRACKING_0="#"
35235 if test "x$DEPS_TRACKING" = "x0" ; then
35236 COND_DEPS_TRACKING_0=""
35237 fi
35238
35239 COND_DEPS_TRACKING_1="#"
35240 if test "x$DEPS_TRACKING" = "x1" ; then
35241 COND_DEPS_TRACKING_1=""
35242 fi
35243
35244 COND_GCC_PCH_1="#"
35245 if test "x$GCC_PCH" = "x1" ; then
35246 COND_GCC_PCH_1=""
35247 fi
35248
35249 COND_MONOLITHIC_0="#"
35250 if test "x$MONOLITHIC" = "x0" ; then
35251 COND_MONOLITHIC_0=""
35252 fi
35253
35254 COND_MONOLITHIC_0_SHARED_0="#"
35255 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35256 COND_MONOLITHIC_0_SHARED_0=""
35257 fi
35258
35259 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35260 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35261 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35262 fi
35263
35264 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35265 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35267 fi
35268
35269 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35270 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35271 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35272 fi
35273
35274 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35275 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35276 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35277 fi
35278
35279 COND_MONOLITHIC_0_SHARED_1="#"
35280 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35281 COND_MONOLITHIC_0_SHARED_1=""
35282 fi
35283
35284 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35285 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35286 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35287 fi
35288
35289 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35290 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35291 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35292 fi
35293
35294 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35295 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35296 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35297 fi
35298
35299 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35300 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35301 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35302 fi
35303
35304 COND_MONOLITHIC_1="#"
35305 if test "x$MONOLITHIC" = "x1" ; then
35306 COND_MONOLITHIC_1=""
35307 fi
35308
35309 COND_MONOLITHIC_1_SHARED_0="#"
35310 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35311 COND_MONOLITHIC_1_SHARED_0=""
35312 fi
35313
35314 COND_MONOLITHIC_1_SHARED_1="#"
35315 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35316 COND_MONOLITHIC_1_SHARED_1=""
35317 fi
35318
35319 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35320 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35321 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35322 fi
35323
35324 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35325 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35326 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35327 fi
35328
35329 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35330 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35331 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35332 fi
35333
35334 COND_PLATFORM_MACOSX_1="#"
35335 if test "x$PLATFORM_MACOSX" = "x1" ; then
35336 COND_PLATFORM_MACOSX_1=""
35337 fi
35338
35339 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35340 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35341 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35342 fi
35343
35344 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35345 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35346 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35347 fi
35348
35349 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35350 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35351 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35352 fi
35353
35354 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35355 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35356 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35357 fi
35358
35359 COND_PLATFORM_MAC_1="#"
35360 if test "x$PLATFORM_MAC" = "x1" ; then
35361 COND_PLATFORM_MAC_1=""
35362 fi
35363
35364 COND_PLATFORM_OS2_1="#"
35365 if test "x$PLATFORM_OS2" = "x1" ; then
35366 COND_PLATFORM_OS2_1=""
35367 fi
35368
35369 COND_PLATFORM_UNIX_0="#"
35370 if test "x$PLATFORM_UNIX" = "x0" ; then
35371 COND_PLATFORM_UNIX_0=""
35372 fi
35373
35374 COND_PLATFORM_UNIX_1="#"
35375 if test "x$PLATFORM_UNIX" = "x1" ; then
35376 COND_PLATFORM_UNIX_1=""
35377 fi
35378
35379 COND_PLATFORM_WIN32_0="#"
35380 if test "x$PLATFORM_WIN32" = "x0" ; then
35381 COND_PLATFORM_WIN32_0=""
35382 fi
35383
35384 COND_PLATFORM_WIN32_1="#"
35385 if test "x$PLATFORM_WIN32" = "x1" ; then
35386 COND_PLATFORM_WIN32_1=""
35387 fi
35388
35389 COND_SHARED_0="#"
35390 if test "x$SHARED" = "x0" ; then
35391 COND_SHARED_0=""
35392 fi
35393
35394 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35395 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35396 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35397 fi
35398
35399 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35400 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35401 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35402 fi
35403
35404 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35405 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35406 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35407 fi
35408
35409 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35410 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35411 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35412 fi
35413
35414 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35415 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35416 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35417 fi
35418
35419 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35420 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35421 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35422 fi
35423
35424 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35425 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35426 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35427 fi
35428
35429 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35430 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35431 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35432 fi
35433
35434 COND_SHARED_1="#"
35435 if test "x$SHARED" = "x1" ; then
35436 COND_SHARED_1=""
35437 fi
35438
35439 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35440 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35441 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35442 fi
35443
35444 COND_TOOLKIT_COCOA="#"
35445 if test "x$TOOLKIT" = "xCOCOA" ; then
35446 COND_TOOLKIT_COCOA=""
35447 fi
35448
35449 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35450 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35451 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35452 fi
35453
35454 COND_TOOLKIT_GTK="#"
35455 if test "x$TOOLKIT" = "xGTK" ; then
35456 COND_TOOLKIT_GTK=""
35457 fi
35458
35459 COND_TOOLKIT_GTK_USE_GUI_1="#"
35460 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35461 COND_TOOLKIT_GTK_USE_GUI_1=""
35462 fi
35463
35464 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35465 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35466 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35467 fi
35468
35469 COND_TOOLKIT_MAC="#"
35470 if test "x$TOOLKIT" = "xMAC" ; then
35471 COND_TOOLKIT_MAC=""
35472 fi
35473
35474 COND_TOOLKIT_MAC_USE_GUI_1="#"
35475 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35476 COND_TOOLKIT_MAC_USE_GUI_1=""
35477 fi
35478
35479 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35480 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35481 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35482 fi
35483
35484 COND_TOOLKIT_MGL="#"
35485 if test "x$TOOLKIT" = "xMGL" ; then
35486 COND_TOOLKIT_MGL=""
35487 fi
35488
35489 COND_TOOLKIT_MGL_USE_GUI_1="#"
35490 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35491 COND_TOOLKIT_MGL_USE_GUI_1=""
35492 fi
35493
35494 COND_TOOLKIT_MOTIF="#"
35495 if test "x$TOOLKIT" = "xMOTIF" ; then
35496 COND_TOOLKIT_MOTIF=""
35497 fi
35498
35499 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35500 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35501 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35502 fi
35503
35504 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35505 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35506 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35507 fi
35508
35509 COND_TOOLKIT_MSW="#"
35510 if test "x$TOOLKIT" = "xMSW" ; then
35511 COND_TOOLKIT_MSW=""
35512 fi
35513
35514 COND_TOOLKIT_MSW_USE_GUI_1="#"
35515 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35516 COND_TOOLKIT_MSW_USE_GUI_1=""
35517 fi
35518
35519 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35520 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35521 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35522 fi
35523
35524 COND_TOOLKIT_PM="#"
35525 if test "x$TOOLKIT" = "xPM" ; then
35526 COND_TOOLKIT_PM=""
35527 fi
35528
35529 COND_TOOLKIT_PM_USE_GUI_1="#"
35530 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35531 COND_TOOLKIT_PM_USE_GUI_1=""
35532 fi
35533
35534 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35535 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35536 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35537 fi
35538
35539 COND_TOOLKIT_X11="#"
35540 if test "x$TOOLKIT" = "xX11" ; then
35541 COND_TOOLKIT_X11=""
35542 fi
35543
35544 COND_TOOLKIT_X11_USE_GUI_1="#"
35545 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35546 COND_TOOLKIT_X11_USE_GUI_1=""
35547 fi
35548
35549 COND_UNICODE_1="#"
35550 if test "x$UNICODE" = "x1" ; then
35551 COND_UNICODE_1=""
35552 fi
35553
35554 COND_USE_EXCEPTIONS_0="#"
35555 if test "x$USE_EXCEPTIONS" = "x0" ; then
35556 COND_USE_EXCEPTIONS_0=""
35557 fi
35558
35559 COND_USE_EXCEPTIONS_1="#"
35560 if test "x$USE_EXCEPTIONS" = "x1" ; then
35561 COND_USE_EXCEPTIONS_1=""
35562 fi
35563
35564 COND_USE_GUI_0="#"
35565 if test "x$USE_GUI" = "x0" ; then
35566 COND_USE_GUI_0=""
35567 fi
35568
35569 COND_USE_GUI_1="#"
35570 if test "x$USE_GUI" = "x1" ; then
35571 COND_USE_GUI_1=""
35572 fi
35573
35574 COND_USE_GUI_1_WXUNIV_0="#"
35575 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35576 COND_USE_GUI_1_WXUNIV_0=""
35577 fi
35578
35579 COND_USE_GUI_1_WXUNIV_1="#"
35580 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35581 COND_USE_GUI_1_WXUNIV_1=""
35582 fi
35583
35584 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35585 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35586 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35587 fi
35588
35589 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35590 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35591 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35592 fi
35593
35594 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35595 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35596 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35597 fi
35598
35599 COND_USE_ODBC_1="#"
35600 if test "x$USE_ODBC" = "x1" ; then
35601 COND_USE_ODBC_1=""
35602 fi
35603
35604 COND_USE_SOSYMLINKS_1="#"
35605 if test "x$USE_SOSYMLINKS" = "x1" ; then
35606 COND_USE_SOSYMLINKS_1=""
35607 fi
35608
35609 COND_USE_SOVERLINUX_1="#"
35610 if test "x$USE_SOVERLINUX" = "x1" ; then
35611 COND_USE_SOVERLINUX_1=""
35612 fi
35613
35614 COND_USE_SOVERSION_0="#"
35615 if test "x$USE_SOVERSION" = "x0" ; then
35616 COND_USE_SOVERSION_0=""
35617 fi
35618
35619 COND_USE_SOVERSOLARIS_1="#"
35620 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35621 COND_USE_SOVERSOLARIS_1=""
35622 fi
35623
35624 COND_WXUNIV_1="#"
35625 if test "x$WXUNIV" = "x1" ; then
35626 COND_WXUNIV_1=""
35627 fi
35628
35629 COND_WXUSE_EXPAT_BUILTIN="#"
35630 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35631 COND_WXUSE_EXPAT_BUILTIN=""
35632 fi
35633
35634 COND_WXUSE_LIBJPEG_BUILTIN="#"
35635 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35636 COND_WXUSE_LIBJPEG_BUILTIN=""
35637 fi
35638
35639 COND_WXUSE_LIBPNG_BUILTIN="#"
35640 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35641 COND_WXUSE_LIBPNG_BUILTIN=""
35642 fi
35643
35644 COND_WXUSE_LIBTIFF_BUILTIN="#"
35645 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35646 COND_WXUSE_LIBTIFF_BUILTIN=""
35647 fi
35648
35649 COND_WXUSE_ODBC_BUILTIN="#"
35650 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35651 COND_WXUSE_ODBC_BUILTIN=""
35652 fi
35653
35654 COND_WXUSE_REGEX_BUILTIN="#"
35655 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35656 COND_WXUSE_REGEX_BUILTIN=""
35657 fi
35658
35659 COND_WXUSE_ZLIB_BUILTIN="#"
35660 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35661 COND_WXUSE_ZLIB_BUILTIN=""
35662 fi
35663
35664
35665
35666
35667
35668 if test $GCC_PCH = 1 ; then
35669 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35670 else
35671 case "${host}" in
35672 powerpc-*-darwin* )
35673 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35674 ;;
35675 esac
35676 fi
35677 case "${host}" in
35678 powerpc-*-darwin* )
35679 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35680 ;;
35681 esac
35682
35683
35684 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 else
35791 cat >conftest.make <<\_ACEOF
35792 all:
35793 @echo 'ac_maketemp="$(MAKE)"'
35794 _ACEOF
35795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35797 if test -n "$ac_maketemp"; then
35798 eval ac_cv_prog_make_${ac_make}_set=yes
35799 else
35800 eval ac_cv_prog_make_${ac_make}_set=no
35801 fi
35802 rm -f conftest.make
35803 fi
35804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35805 echo "$as_me:$LINENO: result: yes" >&5
35806 echo "${ECHO_T}yes" >&6
35807 SET_MAKE=
35808 else
35809 echo "$as_me:$LINENO: result: no" >&5
35810 echo "${ECHO_T}no" >&6
35811 SET_MAKE="MAKE=${MAKE-make}"
35812 fi
35813
35814
35815 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35816 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35817 fi
35818
35819 ac_config_headers="$ac_config_headers setup.h"
35820
35821
35822 ac_config_files="$ac_config_files wx-config version-script Makefile"
35823
35824
35825 ac_config_commands="$ac_config_commands default"
35826
35827
35828
35829 if test "$wxUSE_GUI" = "yes"; then
35830 SUBDIRS="samples demos utils contrib"
35831 else SUBDIRS="samples utils"
35832 fi
35833
35834 for subdir in `echo $SUBDIRS`; do
35835 if test -d ${srcdir}/${subdir} ; then
35836 if test "$wxUSE_GUI" = "yes"; then
35837 if test ${subdir} = "samples"; then
35838 makefiles="samples/Makefile.in $makefiles"
35839 for sample in `echo $SAMPLES_SUBDIRS`; do
35840 if test -d $srcdir/samples/$sample; then
35841 makefiles="samples/$sample/Makefile.in $makefiles"
35842 fi
35843 done
35844 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35845 fi
35846 else if test ${subdir} = "samples"; then
35847 makefiles="samples/Makefile.in samples/console/Makefile.in"
35848 else makefiles="utils/HelpGen/Makefile.in \
35849 utils/HelpGen/src/Makefile.in"
35850 fi
35851 fi
35852
35853 for mkin in $makefiles ; do
35854 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35855 ac_config_files="$ac_config_files $mk"
35856
35857 done
35858 fi
35859 done
35860
35861
35862 cat >confcache <<\_ACEOF
35863 # This file is a shell script that caches the results of configure
35864 # tests run on this system so they can be shared between configure
35865 # scripts and configure runs, see configure's option --config-cache.
35866 # It is not useful on other systems. If it contains results you don't
35867 # want to keep, you may remove or edit it.
35868 #
35869 # config.status only pays attention to the cache file if you give it
35870 # the --recheck option to rerun configure.
35871 #
35872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35874 # following values.
35875
35876 _ACEOF
35877
35878 # The following way of writing the cache mishandles newlines in values,
35879 # but we know of no workaround that is simple, portable, and efficient.
35880 # So, don't put newlines in cache variables' values.
35881 # Ultrix sh set writes to stderr and can't be redirected directly,
35882 # and sets the high bit in the cache file unless we assign to the vars.
35883 {
35884 (set) 2>&1 |
35885 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35886 *ac_space=\ *)
35887 # `set' does not quote correctly, so add quotes (double-quote
35888 # substitution turns \\\\ into \\, and sed turns \\ into \).
35889 sed -n \
35890 "s/'/'\\\\''/g;
35891 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35892 ;;
35893 *)
35894 # `set' quotes correctly as required by POSIX, so do not add quotes.
35895 sed -n \
35896 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35897 ;;
35898 esac;
35899 } |
35900 sed '
35901 t clear
35902 : clear
35903 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35904 t end
35905 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35906 : end' >>confcache
35907 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35908 if test -w $cache_file; then
35909 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35910 cat confcache >$cache_file
35911 else
35912 echo "not updating unwritable cache $cache_file"
35913 fi
35914 fi
35915 rm -f confcache
35916
35917 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35918 # Let make expand exec_prefix.
35919 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35920
35921 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35922 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35923 # trailing colons and then remove the whole line if VPATH becomes empty
35924 # (actually we leave an empty line to preserve line numbers).
35925 if test "x$srcdir" = x.; then
35926 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35927 s/:*\$(srcdir):*/:/;
35928 s/:*\${srcdir}:*/:/;
35929 s/:*@srcdir@:*/:/;
35930 s/^\([^=]*=[ ]*\):*/\1/;
35931 s/:*$//;
35932 s/^[^=]*=[ ]*$//;
35933 }'
35934 fi
35935
35936 DEFS=-DHAVE_CONFIG_H
35937
35938 ac_libobjs=
35939 ac_ltlibobjs=
35940 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35941 # 1. Remove the extension, and $U if already installed.
35942 ac_i=`echo "$ac_i" |
35943 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35944 # 2. Add them.
35945 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35946 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35947 done
35948 LIBOBJS=$ac_libobjs
35949
35950 LTLIBOBJS=$ac_ltlibobjs
35951
35952
35953
35954 : ${CONFIG_STATUS=./config.status}
35955 ac_clean_files_save=$ac_clean_files
35956 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35957 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35958 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35959 cat >$CONFIG_STATUS <<_ACEOF
35960 #! $SHELL
35961 # Generated by $as_me.
35962 # Run this file to recreate the current configuration.
35963 # Compiler output produced by configure, useful for debugging
35964 # configure, is in config.log if it exists.
35965
35966 debug=false
35967 ac_cs_recheck=false
35968 ac_cs_silent=false
35969 SHELL=\${CONFIG_SHELL-$SHELL}
35970 _ACEOF
35971
35972 cat >>$CONFIG_STATUS <<\_ACEOF
35973 ## --------------------- ##
35974 ## M4sh Initialization. ##
35975 ## --------------------- ##
35976
35977 # Be Bourne compatible
35978 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35979 emulate sh
35980 NULLCMD=:
35981 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35982 # is contrary to our usage. Disable this feature.
35983 alias -g '${1+"$@"}'='"$@"'
35984 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35985 set -o posix
35986 fi
35987
35988 # Support unset when possible.
35989 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35990 as_unset=unset
35991 else
35992 as_unset=false
35993 fi
35994
35995
35996 # Work around bugs in pre-3.0 UWIN ksh.
35997 $as_unset ENV MAIL MAILPATH
35998 PS1='$ '
35999 PS2='> '
36000 PS4='+ '
36001
36002 # NLS nuisances.
36003 for as_var in \
36004 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36005 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36006 LC_TELEPHONE LC_TIME
36007 do
36008 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36009 eval $as_var=C; export $as_var
36010 else
36011 $as_unset $as_var
36012 fi
36013 done
36014
36015 # Required to use basename.
36016 if expr a : '\(a\)' >/dev/null 2>&1; then
36017 as_expr=expr
36018 else
36019 as_expr=false
36020 fi
36021
36022 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36023 as_basename=basename
36024 else
36025 as_basename=false
36026 fi
36027
36028
36029 # Name of the executable.
36030 as_me=`$as_basename "$0" ||
36031 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36032 X"$0" : 'X\(//\)$' \| \
36033 X"$0" : 'X\(/\)$' \| \
36034 . : '\(.\)' 2>/dev/null ||
36035 echo X/"$0" |
36036 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36037 /^X\/\(\/\/\)$/{ s//\1/; q; }
36038 /^X\/\(\/\).*/{ s//\1/; q; }
36039 s/.*/./; q'`
36040
36041
36042 # PATH needs CR, and LINENO needs CR and PATH.
36043 # Avoid depending upon Character Ranges.
36044 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36045 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36046 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36047 as_cr_digits='0123456789'
36048 as_cr_alnum=$as_cr_Letters$as_cr_digits
36049
36050 # The user is always right.
36051 if test "${PATH_SEPARATOR+set}" != set; then
36052 echo "#! /bin/sh" >conf$$.sh
36053 echo "exit 0" >>conf$$.sh
36054 chmod +x conf$$.sh
36055 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36056 PATH_SEPARATOR=';'
36057 else
36058 PATH_SEPARATOR=:
36059 fi
36060 rm -f conf$$.sh
36061 fi
36062
36063
36064 as_lineno_1=$LINENO
36065 as_lineno_2=$LINENO
36066 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36067 test "x$as_lineno_1" != "x$as_lineno_2" &&
36068 test "x$as_lineno_3" = "x$as_lineno_2" || {
36069 # Find who we are. Look in the path if we contain no path at all
36070 # relative or not.
36071 case $0 in
36072 *[\\/]* ) as_myself=$0 ;;
36073 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36074 for as_dir in $PATH
36075 do
36076 IFS=$as_save_IFS
36077 test -z "$as_dir" && as_dir=.
36078 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36079 done
36080
36081 ;;
36082 esac
36083 # We did not find ourselves, most probably we were run as `sh COMMAND'
36084 # in which case we are not to be found in the path.
36085 if test "x$as_myself" = x; then
36086 as_myself=$0
36087 fi
36088 if test ! -f "$as_myself"; then
36089 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36090 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36091 { (exit 1); exit 1; }; }
36092 fi
36093 case $CONFIG_SHELL in
36094 '')
36095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36096 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36097 do
36098 IFS=$as_save_IFS
36099 test -z "$as_dir" && as_dir=.
36100 for as_base in sh bash ksh sh5; do
36101 case $as_dir in
36102 /*)
36103 if ("$as_dir/$as_base" -c '
36104 as_lineno_1=$LINENO
36105 as_lineno_2=$LINENO
36106 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36107 test "x$as_lineno_1" != "x$as_lineno_2" &&
36108 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36109 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36110 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36111 CONFIG_SHELL=$as_dir/$as_base
36112 export CONFIG_SHELL
36113 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36114 fi;;
36115 esac
36116 done
36117 done
36118 ;;
36119 esac
36120
36121 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36122 # uniformly replaced by the line number. The first 'sed' inserts a
36123 # line-number line before each line; the second 'sed' does the real
36124 # work. The second script uses 'N' to pair each line-number line
36125 # with the numbered line, and appends trailing '-' during
36126 # substitution so that $LINENO is not a special case at line end.
36127 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36128 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36129 sed '=' <$as_myself |
36130 sed '
36131 N
36132 s,$,-,
36133 : loop
36134 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36135 t loop
36136 s,-$,,
36137 s,^['$as_cr_digits']*\n,,
36138 ' >$as_me.lineno &&
36139 chmod +x $as_me.lineno ||
36140 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36141 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36142 { (exit 1); exit 1; }; }
36143
36144 # Don't try to exec as it changes $[0], causing all sort of problems
36145 # (the dirname of $[0] is not the place where we might find the
36146 # original and so on. Autoconf is especially sensible to this).
36147 . ./$as_me.lineno
36148 # Exit status is that of the last command.
36149 exit
36150 }
36151
36152
36153 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36154 *c*,-n*) ECHO_N= ECHO_C='
36155 ' ECHO_T=' ' ;;
36156 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36157 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36158 esac
36159
36160 if expr a : '\(a\)' >/dev/null 2>&1; then
36161 as_expr=expr
36162 else
36163 as_expr=false
36164 fi
36165
36166 rm -f conf$$ conf$$.exe conf$$.file
36167 echo >conf$$.file
36168 if ln -s conf$$.file conf$$ 2>/dev/null; then
36169 # We could just check for DJGPP; but this test a) works b) is more generic
36170 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36171 if test -f conf$$.exe; then
36172 # Don't use ln at all; we don't have any links
36173 as_ln_s='cp -p'
36174 else
36175 as_ln_s='ln -s'
36176 fi
36177 elif ln conf$$.file conf$$ 2>/dev/null; then
36178 as_ln_s=ln
36179 else
36180 as_ln_s='cp -p'
36181 fi
36182 rm -f conf$$ conf$$.exe conf$$.file
36183
36184 if mkdir -p . 2>/dev/null; then
36185 as_mkdir_p=:
36186 else
36187 as_mkdir_p=false
36188 fi
36189
36190 as_executable_p="test -f"
36191
36192 # Sed expression to map a string onto a valid CPP name.
36193 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36194
36195 # Sed expression to map a string onto a valid variable name.
36196 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36197
36198
36199 # IFS
36200 # We need space, tab and new line, in precisely that order.
36201 as_nl='
36202 '
36203 IFS=" $as_nl"
36204
36205 # CDPATH.
36206 $as_unset CDPATH
36207
36208 exec 6>&1
36209
36210 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36211 # report actual input values of CONFIG_FILES etc. instead of their
36212 # values after options handling. Logging --version etc. is OK.
36213 exec 5>>config.log
36214 {
36215 echo
36216 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36217 ## Running $as_me. ##
36218 _ASBOX
36219 } >&5
36220 cat >&5 <<_CSEOF
36221
36222 This file was extended by wxWindows $as_me 2.5.1, which was
36223 generated by GNU Autoconf 2.57. Invocation command line was
36224
36225 CONFIG_FILES = $CONFIG_FILES
36226 CONFIG_HEADERS = $CONFIG_HEADERS
36227 CONFIG_LINKS = $CONFIG_LINKS
36228 CONFIG_COMMANDS = $CONFIG_COMMANDS
36229 $ $0 $@
36230
36231 _CSEOF
36232 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36233 echo >&5
36234 _ACEOF
36235
36236 # Files that config.status was made for.
36237 if test -n "$ac_config_files"; then
36238 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36239 fi
36240
36241 if test -n "$ac_config_headers"; then
36242 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36243 fi
36244
36245 if test -n "$ac_config_links"; then
36246 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36247 fi
36248
36249 if test -n "$ac_config_commands"; then
36250 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36251 fi
36252
36253 cat >>$CONFIG_STATUS <<\_ACEOF
36254
36255 ac_cs_usage="\
36256 \`$as_me' instantiates files from templates according to the
36257 current configuration.
36258
36259 Usage: $0 [OPTIONS] [FILE]...
36260
36261 -h, --help print this help, then exit
36262 -V, --version print version number, then exit
36263 -q, --quiet do not print progress messages
36264 -d, --debug don't remove temporary files
36265 --recheck update $as_me by reconfiguring in the same conditions
36266 --file=FILE[:TEMPLATE]
36267 instantiate the configuration file FILE
36268 --header=FILE[:TEMPLATE]
36269 instantiate the configuration header FILE
36270
36271 Configuration files:
36272 $config_files
36273
36274 Configuration headers:
36275 $config_headers
36276
36277 Configuration commands:
36278 $config_commands
36279
36280 Report bugs to <bug-autoconf@gnu.org>."
36281 _ACEOF
36282
36283 cat >>$CONFIG_STATUS <<_ACEOF
36284 ac_cs_version="\\
36285 wxWindows config.status 2.5.1
36286 configured by $0, generated by GNU Autoconf 2.57,
36287 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36288
36289 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36290 Free Software Foundation, Inc.
36291 This config.status script is free software; the Free Software Foundation
36292 gives unlimited permission to copy, distribute and modify it."
36293 srcdir=$srcdir
36294 INSTALL="$INSTALL"
36295 _ACEOF
36296
36297 cat >>$CONFIG_STATUS <<\_ACEOF
36298 # If no file are specified by the user, then we need to provide default
36299 # value. By we need to know if files were specified by the user.
36300 ac_need_defaults=:
36301 while test $# != 0
36302 do
36303 case $1 in
36304 --*=*)
36305 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36306 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36307 ac_shift=:
36308 ;;
36309 -*)
36310 ac_option=$1
36311 ac_optarg=$2
36312 ac_shift=shift
36313 ;;
36314 *) # This is not an option, so the user has probably given explicit
36315 # arguments.
36316 ac_option=$1
36317 ac_need_defaults=false;;
36318 esac
36319
36320 case $ac_option in
36321 # Handling of the options.
36322 _ACEOF
36323 cat >>$CONFIG_STATUS <<\_ACEOF
36324 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36325 ac_cs_recheck=: ;;
36326 --version | --vers* | -V )
36327 echo "$ac_cs_version"; exit 0 ;;
36328 --he | --h)
36329 # Conflict between --help and --header
36330 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36331 Try \`$0 --help' for more information." >&5
36332 echo "$as_me: error: ambiguous option: $1
36333 Try \`$0 --help' for more information." >&2;}
36334 { (exit 1); exit 1; }; };;
36335 --help | --hel | -h )
36336 echo "$ac_cs_usage"; exit 0 ;;
36337 --debug | --d* | -d )
36338 debug=: ;;
36339 --file | --fil | --fi | --f )
36340 $ac_shift
36341 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36342 ac_need_defaults=false;;
36343 --header | --heade | --head | --hea )
36344 $ac_shift
36345 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36346 ac_need_defaults=false;;
36347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36348 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36349 ac_cs_silent=: ;;
36350
36351 # This is an error.
36352 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36353 Try \`$0 --help' for more information." >&5
36354 echo "$as_me: error: unrecognized option: $1
36355 Try \`$0 --help' for more information." >&2;}
36356 { (exit 1); exit 1; }; } ;;
36357
36358 *) ac_config_targets="$ac_config_targets $1" ;;
36359
36360 esac
36361 shift
36362 done
36363
36364 ac_configure_extra_args=
36365
36366 if $ac_cs_silent; then
36367 exec 6>/dev/null
36368 ac_configure_extra_args="$ac_configure_extra_args --silent"
36369 fi
36370
36371 _ACEOF
36372 cat >>$CONFIG_STATUS <<_ACEOF
36373 if \$ac_cs_recheck; then
36374 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36375 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36376 fi
36377
36378 _ACEOF
36379
36380 cat >>$CONFIG_STATUS <<_ACEOF
36381 #
36382 # INIT-COMMANDS section.
36383 #
36384
36385
36386 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36387 LN_S="${LN_S}"
36388
36389
36390
36391 _ACEOF
36392
36393
36394
36395 cat >>$CONFIG_STATUS <<\_ACEOF
36396 for ac_config_target in $ac_config_targets
36397 do
36398 case "$ac_config_target" in
36399 # Handling of arguments.
36400 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36401 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36402 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36403 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36404 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36405 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36406 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36407 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36408 { (exit 1); exit 1; }; };;
36409 esac
36410 done
36411
36412 # If the user did not use the arguments to specify the items to instantiate,
36413 # then the envvar interface is used. Set only those that are not.
36414 # We use the long form for the default assignment because of an extremely
36415 # bizarre bug on SunOS 4.1.3.
36416 if $ac_need_defaults; then
36417 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36418 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36419 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36420 fi
36421
36422 # Have a temporary directory for convenience. Make it in the build tree
36423 # simply because there is no reason to put it here, and in addition,
36424 # creating and moving files from /tmp can sometimes cause problems.
36425 # Create a temporary directory, and hook for its removal unless debugging.
36426 $debug ||
36427 {
36428 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36429 trap '{ (exit 1); exit 1; }' 1 2 13 15
36430 }
36431
36432 # Create a (secure) tmp directory for tmp files.
36433
36434 {
36435 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36436 test -n "$tmp" && test -d "$tmp"
36437 } ||
36438 {
36439 tmp=./confstat$$-$RANDOM
36440 (umask 077 && mkdir $tmp)
36441 } ||
36442 {
36443 echo "$me: cannot create a temporary directory in ." >&2
36444 { (exit 1); exit 1; }
36445 }
36446
36447 _ACEOF
36448
36449 cat >>$CONFIG_STATUS <<_ACEOF
36450
36451 #
36452 # CONFIG_FILES section.
36453 #
36454
36455 # No need to generate the scripts if there are no CONFIG_FILES.
36456 # This happens for instance when ./config.status config.h
36457 if test -n "\$CONFIG_FILES"; then
36458 # Protect against being on the right side of a sed subst in config.status.
36459 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36460 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36461 s,@SHELL@,$SHELL,;t t
36462 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36463 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36464 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36465 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36466 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36467 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36468 s,@exec_prefix@,$exec_prefix,;t t
36469 s,@prefix@,$prefix,;t t
36470 s,@program_transform_name@,$program_transform_name,;t t
36471 s,@bindir@,$bindir,;t t
36472 s,@sbindir@,$sbindir,;t t
36473 s,@libexecdir@,$libexecdir,;t t
36474 s,@datadir@,$datadir,;t t
36475 s,@sysconfdir@,$sysconfdir,;t t
36476 s,@sharedstatedir@,$sharedstatedir,;t t
36477 s,@localstatedir@,$localstatedir,;t t
36478 s,@libdir@,$libdir,;t t
36479 s,@includedir@,$includedir,;t t
36480 s,@oldincludedir@,$oldincludedir,;t t
36481 s,@infodir@,$infodir,;t t
36482 s,@mandir@,$mandir,;t t
36483 s,@build_alias@,$build_alias,;t t
36484 s,@host_alias@,$host_alias,;t t
36485 s,@target_alias@,$target_alias,;t t
36486 s,@DEFS@,$DEFS,;t t
36487 s,@ECHO_C@,$ECHO_C,;t t
36488 s,@ECHO_N@,$ECHO_N,;t t
36489 s,@ECHO_T@,$ECHO_T,;t t
36490 s,@LIBS@,$LIBS,;t t
36491 s,@build@,$build,;t t
36492 s,@build_cpu@,$build_cpu,;t t
36493 s,@build_vendor@,$build_vendor,;t t
36494 s,@build_os@,$build_os,;t t
36495 s,@host@,$host,;t t
36496 s,@host_cpu@,$host_cpu,;t t
36497 s,@host_vendor@,$host_vendor,;t t
36498 s,@host_os@,$host_os,;t t
36499 s,@target@,$target,;t t
36500 s,@target_cpu@,$target_cpu,;t t
36501 s,@target_vendor@,$target_vendor,;t t
36502 s,@target_os@,$target_os,;t t
36503 s,@CC@,$CC,;t t
36504 s,@CFLAGS@,$CFLAGS,;t t
36505 s,@LDFLAGS@,$LDFLAGS,;t t
36506 s,@CPPFLAGS@,$CPPFLAGS,;t t
36507 s,@ac_ct_CC@,$ac_ct_CC,;t t
36508 s,@EXEEXT@,$EXEEXT,;t t
36509 s,@OBJEXT@,$OBJEXT,;t t
36510 s,@CPP@,$CPP,;t t
36511 s,@EGREP@,$EGREP,;t t
36512 s,@CXX@,$CXX,;t t
36513 s,@CXXFLAGS@,$CXXFLAGS,;t t
36514 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36515 s,@RANLIB@,$RANLIB,;t t
36516 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36517 s,@AR@,$AR,;t t
36518 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36519 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36520 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36521 s,@STRIP@,$STRIP,;t t
36522 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36523 s,@LN_S@,$LN_S,;t t
36524 s,@CXXCPP@,$CXXCPP,;t t
36525 s,@subdirs@,$subdirs,;t t
36526 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36527 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36528 s,@GTK_LIBS@,$GTK_LIBS,;t t
36529 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36530 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36531 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36532 s,@X_CFLAGS@,$X_CFLAGS,;t t
36533 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36534 s,@X_LIBS@,$X_LIBS,;t t
36535 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36536 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36537 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36538 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36539 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36540 s,@RESCOMP@,$RESCOMP,;t t
36541 s,@DEREZ@,$DEREZ,;t t
36542 s,@SETFILE@,$SETFILE,;t t
36543 s,@LIBICONV@,$LIBICONV,;t t
36544 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36545 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36546 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36547 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36548 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36549 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36550 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36551 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36552 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36553 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36554 s,@VENDOR@,$VENDOR,;t t
36555 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36556 s,@WXUNIV@,$WXUNIV,;t t
36557 s,@MONOLITHIC@,$MONOLITHIC,;t t
36558 s,@EXTRALIBS@,$EXTRALIBS,;t t
36559 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36560 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36561 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36562 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36563 s,@UNICODE@,$UNICODE,;t t
36564 s,@BUILD@,$BUILD,;t t
36565 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36566 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36567 s,@SHARED@,$SHARED,;t t
36568 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36569 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36570 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36571 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36572 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36573 s,@SET_MAKE@,$SET_MAKE,;t t
36574 s,@MAKE_SET@,$MAKE_SET,;t t
36575 s,@ac_ct_AR@,$ac_ct_AR,;t t
36576 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36577 s,@NM@,$NM,;t t
36578 s,@ac_ct_NM@,$ac_ct_NM,;t t
36579 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36580 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36581 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36582 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36583 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36584 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36585 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36586 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36587 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36588 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36589 s,@LIBPREFIX@,$LIBPREFIX,;t t
36590 s,@DLLPREFIX@,$DLLPREFIX,;t t
36591 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36592 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36593 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36594 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36595 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36596 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36597 s,@PIC_FLAG@,$PIC_FLAG,;t t
36598 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36599 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36600 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36601 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36602 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36603 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36604 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36605 s,@GCC_PCH@,$GCC_PCH,;t t
36606 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36607 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36608 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36609 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36610 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36611 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36612 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36613 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36614 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36615 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36616 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36617 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36618 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36619 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36620 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
36621 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36622 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36623 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36624 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36625 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
36626 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36627 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36628 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36629 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36630 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36631 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36632 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36633 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36634 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36635 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36636 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36637 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36638 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36639 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36640 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36641 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36642 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36643 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36644 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36645 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36646 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36647 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36648 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36649 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36650 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36651 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36652 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36653 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36654 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36655 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36656 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36657 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36658 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36659 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36660 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36661 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36662 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36663 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36664 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36665 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36666 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36667 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36668 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36669 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36670 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36671 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36672 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36673 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36674 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36675 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36676 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36677 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36678 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36679 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36680 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36681 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36682 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36683 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36684 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36685 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36686 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36687 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36688 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36689 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36690 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36691 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36692 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36693 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36694 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36695 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36696 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36697 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36698 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36699 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36700 s,@PATH_IFS@,$PATH_IFS,;t t
36701 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36702 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36703 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36704 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36705 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36706 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36707 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36708 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36709 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36710 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36711 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36712 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36713 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36714 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36715 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36716 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36717 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36718 s,@WX_ALL@,$WX_ALL,;t t
36719 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36720 s,@SHARED_LD@,$SHARED_LD,;t t
36721 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36722 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36723 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36724 s,@USE_GUI@,$USE_GUI,;t t
36725 s,@AFMINSTALL@,$AFMINSTALL,;t t
36726 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36727 s,@TOOLKIT@,$TOOLKIT,;t t
36728 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36729 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36730 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36731 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36732 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36733 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36734 s,@cross_compiling@,$cross_compiling,;t t
36735 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36736 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36737 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36738 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36739 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36740 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36741 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36742 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36743 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36744 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36745 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36746 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36747 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36748 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36749 s,@GUIDIST@,$GUIDIST,;t t
36750 s,@PORT_FILES@,$PORT_FILES,;t t
36751 s,@DISTDIR@,$DISTDIR,;t t
36752 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36753 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36754 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36755 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36756 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36757 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36758 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36759 s,@RESFLAGS@,$RESFLAGS,;t t
36760 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36761 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36762 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36763 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36764 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36765 s,@MACRESCOMP@,$MACRESCOMP,;t t
36766 s,@MACSETFILE@,$MACSETFILE,;t t
36767 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36768 s,@GCC@,$GCC,;t t
36769 s,@DLLTOOL@,$DLLTOOL,;t t
36770 s,@AS@,$AS,;t t
36771 s,@LD@,$LD,;t t
36772 s,@MAKEINFO@,$MAKEINFO,;t t
36773 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36774 s,@LIBOBJS@,$LIBOBJS,;t t
36775 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36776 CEOF
36777
36778 _ACEOF
36779
36780 cat >>$CONFIG_STATUS <<\_ACEOF
36781 # Split the substitutions into bite-sized pieces for seds with
36782 # small command number limits, like on Digital OSF/1 and HP-UX.
36783 ac_max_sed_lines=48
36784 ac_sed_frag=1 # Number of current file.
36785 ac_beg=1 # First line for current file.
36786 ac_end=$ac_max_sed_lines # Line after last line for current file.
36787 ac_more_lines=:
36788 ac_sed_cmds=
36789 while $ac_more_lines; do
36790 if test $ac_beg -gt 1; then
36791 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36792 else
36793 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36794 fi
36795 if test ! -s $tmp/subs.frag; then
36796 ac_more_lines=false
36797 else
36798 # The purpose of the label and of the branching condition is to
36799 # speed up the sed processing (if there are no `@' at all, there
36800 # is no need to browse any of the substitutions).
36801 # These are the two extra sed commands mentioned above.
36802 (echo ':t
36803 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36804 if test -z "$ac_sed_cmds"; then
36805 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36806 else
36807 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36808 fi
36809 ac_sed_frag=`expr $ac_sed_frag + 1`
36810 ac_beg=$ac_end
36811 ac_end=`expr $ac_end + $ac_max_sed_lines`
36812 fi
36813 done
36814 if test -z "$ac_sed_cmds"; then
36815 ac_sed_cmds=cat
36816 fi
36817 fi # test -n "$CONFIG_FILES"
36818
36819 _ACEOF
36820 cat >>$CONFIG_STATUS <<\_ACEOF
36821 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36822 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36823 case $ac_file in
36824 - | *:- | *:-:* ) # input from stdin
36825 cat >$tmp/stdin
36826 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36827 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36828 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36829 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36830 * ) ac_file_in=$ac_file.in ;;
36831 esac
36832
36833 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36834 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36835 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36836 X"$ac_file" : 'X\(//\)[^/]' \| \
36837 X"$ac_file" : 'X\(//\)$' \| \
36838 X"$ac_file" : 'X\(/\)' \| \
36839 . : '\(.\)' 2>/dev/null ||
36840 echo X"$ac_file" |
36841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36843 /^X\(\/\/\)$/{ s//\1/; q; }
36844 /^X\(\/\).*/{ s//\1/; q; }
36845 s/.*/./; q'`
36846 { if $as_mkdir_p; then
36847 mkdir -p "$ac_dir"
36848 else
36849 as_dir="$ac_dir"
36850 as_dirs=
36851 while test ! -d "$as_dir"; do
36852 as_dirs="$as_dir $as_dirs"
36853 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36854 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36855 X"$as_dir" : 'X\(//\)[^/]' \| \
36856 X"$as_dir" : 'X\(//\)$' \| \
36857 X"$as_dir" : 'X\(/\)' \| \
36858 . : '\(.\)' 2>/dev/null ||
36859 echo X"$as_dir" |
36860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36862 /^X\(\/\/\)$/{ s//\1/; q; }
36863 /^X\(\/\).*/{ s//\1/; q; }
36864 s/.*/./; q'`
36865 done
36866 test ! -n "$as_dirs" || mkdir $as_dirs
36867 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36868 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36869 { (exit 1); exit 1; }; }; }
36870
36871 ac_builddir=.
36872
36873 if test "$ac_dir" != .; then
36874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36875 # A "../" for each directory in $ac_dir_suffix.
36876 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36877 else
36878 ac_dir_suffix= ac_top_builddir=
36879 fi
36880
36881 case $srcdir in
36882 .) # No --srcdir option. We are building in place.
36883 ac_srcdir=.
36884 if test -z "$ac_top_builddir"; then
36885 ac_top_srcdir=.
36886 else
36887 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36888 fi ;;
36889 [\\/]* | ?:[\\/]* ) # Absolute path.
36890 ac_srcdir=$srcdir$ac_dir_suffix;
36891 ac_top_srcdir=$srcdir ;;
36892 *) # Relative path.
36893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36895 esac
36896 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36897 # absolute.
36898 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36899 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36900 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36901 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36902
36903
36904 case $INSTALL in
36905 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36906 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36907 esac
36908
36909 if test x"$ac_file" != x-; then
36910 { echo "$as_me:$LINENO: creating $ac_file" >&5
36911 echo "$as_me: creating $ac_file" >&6;}
36912 rm -f "$ac_file"
36913 fi
36914 # Let's still pretend it is `configure' which instantiates (i.e., don't
36915 # use $as_me), people would be surprised to read:
36916 # /* config.h. Generated by config.status. */
36917 if test x"$ac_file" = x-; then
36918 configure_input=
36919 else
36920 configure_input="$ac_file. "
36921 fi
36922 configure_input=$configure_input"Generated from `echo $ac_file_in |
36923 sed 's,.*/,,'` by configure."
36924
36925 # First look for the input files in the build tree, otherwise in the
36926 # src tree.
36927 ac_file_inputs=`IFS=:
36928 for f in $ac_file_in; do
36929 case $f in
36930 -) echo $tmp/stdin ;;
36931 [\\/$]*)
36932 # Absolute (can't be DOS-style, as IFS=:)
36933 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36934 echo "$as_me: error: cannot find input file: $f" >&2;}
36935 { (exit 1); exit 1; }; }
36936 echo $f;;
36937 *) # Relative
36938 if test -f "$f"; then
36939 # Build tree
36940 echo $f
36941 elif test -f "$srcdir/$f"; then
36942 # Source tree
36943 echo $srcdir/$f
36944 else
36945 # /dev/null tree
36946 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36947 echo "$as_me: error: cannot find input file: $f" >&2;}
36948 { (exit 1); exit 1; }; }
36949 fi;;
36950 esac
36951 done` || { (exit 1); exit 1; }
36952 _ACEOF
36953 cat >>$CONFIG_STATUS <<_ACEOF
36954 sed "$ac_vpsub
36955 $extrasub
36956 _ACEOF
36957 cat >>$CONFIG_STATUS <<\_ACEOF
36958 :t
36959 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36960 s,@configure_input@,$configure_input,;t t
36961 s,@srcdir@,$ac_srcdir,;t t
36962 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36963 s,@top_srcdir@,$ac_top_srcdir,;t t
36964 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36965 s,@builddir@,$ac_builddir,;t t
36966 s,@abs_builddir@,$ac_abs_builddir,;t t
36967 s,@top_builddir@,$ac_top_builddir,;t t
36968 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36969 s,@INSTALL@,$ac_INSTALL,;t t
36970 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36971 rm -f $tmp/stdin
36972 if test x"$ac_file" != x-; then
36973 mv $tmp/out $ac_file
36974 else
36975 cat $tmp/out
36976 rm -f $tmp/out
36977 fi
36978
36979 done
36980 _ACEOF
36981 cat >>$CONFIG_STATUS <<\_ACEOF
36982
36983 #
36984 # CONFIG_HEADER section.
36985 #
36986
36987 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36988 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36989 #
36990 # ac_d sets the value in "#define NAME VALUE" lines.
36991 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36992 ac_dB='[ ].*$,\1#\2'
36993 ac_dC=' '
36994 ac_dD=',;t'
36995 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36996 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36997 ac_uB='$,\1#\2define\3'
36998 ac_uC=' '
36999 ac_uD=',;t'
37000
37001 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37003 case $ac_file in
37004 - | *:- | *:-:* ) # input from stdin
37005 cat >$tmp/stdin
37006 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37007 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37008 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37010 * ) ac_file_in=$ac_file.in ;;
37011 esac
37012
37013 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37014 echo "$as_me: creating $ac_file" >&6;}
37015
37016 # First look for the input files in the build tree, otherwise in the
37017 # src tree.
37018 ac_file_inputs=`IFS=:
37019 for f in $ac_file_in; do
37020 case $f in
37021 -) echo $tmp/stdin ;;
37022 [\\/$]*)
37023 # Absolute (can't be DOS-style, as IFS=:)
37024 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37025 echo "$as_me: error: cannot find input file: $f" >&2;}
37026 { (exit 1); exit 1; }; }
37027 echo $f;;
37028 *) # Relative
37029 if test -f "$f"; then
37030 # Build tree
37031 echo $f
37032 elif test -f "$srcdir/$f"; then
37033 # Source tree
37034 echo $srcdir/$f
37035 else
37036 # /dev/null tree
37037 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37038 echo "$as_me: error: cannot find input file: $f" >&2;}
37039 { (exit 1); exit 1; }; }
37040 fi;;
37041 esac
37042 done` || { (exit 1); exit 1; }
37043 # Remove the trailing spaces.
37044 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37045
37046 _ACEOF
37047
37048 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37049 # `conftest.undefs', that substitutes the proper values into
37050 # config.h.in to produce config.h. The first handles `#define'
37051 # templates, and the second `#undef' templates.
37052 # And first: Protect against being on the right side of a sed subst in
37053 # config.status. Protect against being in an unquoted here document
37054 # in config.status.
37055 rm -f conftest.defines conftest.undefs
37056 # Using a here document instead of a string reduces the quoting nightmare.
37057 # Putting comments in sed scripts is not portable.
37058 #
37059 # `end' is used to avoid that the second main sed command (meant for
37060 # 0-ary CPP macros) applies to n-ary macro definitions.
37061 # See the Autoconf documentation for `clear'.
37062 cat >confdef2sed.sed <<\_ACEOF
37063 s/[\\&,]/\\&/g
37064 s,[\\$`],\\&,g
37065 t clear
37066 : clear
37067 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37068 t end
37069 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37070 : end
37071 _ACEOF
37072 # If some macros were called several times there might be several times
37073 # the same #defines, which is useless. Nevertheless, we may not want to
37074 # sort them, since we want the *last* AC-DEFINE to be honored.
37075 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37076 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37077 rm -f confdef2sed.sed
37078
37079 # This sed command replaces #undef with comments. This is necessary, for
37080 # example, in the case of _POSIX_SOURCE, which is predefined and required
37081 # on some systems where configure will not decide to define it.
37082 cat >>conftest.undefs <<\_ACEOF
37083 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37084 _ACEOF
37085
37086 # Break up conftest.defines because some shells have a limit on the size
37087 # of here documents, and old seds have small limits too (100 cmds).
37088 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37089 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37090 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37091 echo ' :' >>$CONFIG_STATUS
37092 rm -f conftest.tail
37093 while grep . conftest.defines >/dev/null
37094 do
37095 # Write a limited-size here document to $tmp/defines.sed.
37096 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37097 # Speed up: don't consider the non `#define' lines.
37098 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37099 # Work around the forget-to-reset-the-flag bug.
37100 echo 't clr' >>$CONFIG_STATUS
37101 echo ': clr' >>$CONFIG_STATUS
37102 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37103 echo 'CEOF
37104 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37105 rm -f $tmp/in
37106 mv $tmp/out $tmp/in
37107 ' >>$CONFIG_STATUS
37108 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37109 rm -f conftest.defines
37110 mv conftest.tail conftest.defines
37111 done
37112 rm -f conftest.defines
37113 echo ' fi # grep' >>$CONFIG_STATUS
37114 echo >>$CONFIG_STATUS
37115
37116 # Break up conftest.undefs because some shells have a limit on the size
37117 # of here documents, and old seds have small limits too (100 cmds).
37118 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37119 rm -f conftest.tail
37120 while grep . conftest.undefs >/dev/null
37121 do
37122 # Write a limited-size here document to $tmp/undefs.sed.
37123 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37124 # Speed up: don't consider the non `#undef'
37125 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37126 # Work around the forget-to-reset-the-flag bug.
37127 echo 't clr' >>$CONFIG_STATUS
37128 echo ': clr' >>$CONFIG_STATUS
37129 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37130 echo 'CEOF
37131 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37132 rm -f $tmp/in
37133 mv $tmp/out $tmp/in
37134 ' >>$CONFIG_STATUS
37135 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37136 rm -f conftest.undefs
37137 mv conftest.tail conftest.undefs
37138 done
37139 rm -f conftest.undefs
37140
37141 cat >>$CONFIG_STATUS <<\_ACEOF
37142 # Let's still pretend it is `configure' which instantiates (i.e., don't
37143 # use $as_me), people would be surprised to read:
37144 # /* config.h. Generated by config.status. */
37145 if test x"$ac_file" = x-; then
37146 echo "/* Generated by configure. */" >$tmp/config.h
37147 else
37148 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37149 fi
37150 cat $tmp/in >>$tmp/config.h
37151 rm -f $tmp/in
37152 if test x"$ac_file" != x-; then
37153 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37154 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37155 echo "$as_me: $ac_file is unchanged" >&6;}
37156 else
37157 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37158 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37159 X"$ac_file" : 'X\(//\)[^/]' \| \
37160 X"$ac_file" : 'X\(//\)$' \| \
37161 X"$ac_file" : 'X\(/\)' \| \
37162 . : '\(.\)' 2>/dev/null ||
37163 echo X"$ac_file" |
37164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37165 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37166 /^X\(\/\/\)$/{ s//\1/; q; }
37167 /^X\(\/\).*/{ s//\1/; q; }
37168 s/.*/./; q'`
37169 { if $as_mkdir_p; then
37170 mkdir -p "$ac_dir"
37171 else
37172 as_dir="$ac_dir"
37173 as_dirs=
37174 while test ! -d "$as_dir"; do
37175 as_dirs="$as_dir $as_dirs"
37176 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37177 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37178 X"$as_dir" : 'X\(//\)[^/]' \| \
37179 X"$as_dir" : 'X\(//\)$' \| \
37180 X"$as_dir" : 'X\(/\)' \| \
37181 . : '\(.\)' 2>/dev/null ||
37182 echo X"$as_dir" |
37183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37184 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37185 /^X\(\/\/\)$/{ s//\1/; q; }
37186 /^X\(\/\).*/{ s//\1/; q; }
37187 s/.*/./; q'`
37188 done
37189 test ! -n "$as_dirs" || mkdir $as_dirs
37190 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37191 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37192 { (exit 1); exit 1; }; }; }
37193
37194 rm -f $ac_file
37195 mv $tmp/config.h $ac_file
37196 fi
37197 else
37198 cat $tmp/config.h
37199 rm -f $tmp/config.h
37200 fi
37201 done
37202 _ACEOF
37203 cat >>$CONFIG_STATUS <<\_ACEOF
37204
37205 #
37206 # CONFIG_COMMANDS section.
37207 #
37208 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37209 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37210 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37211 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37212 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37213 X"$ac_dest" : 'X\(//\)[^/]' \| \
37214 X"$ac_dest" : 'X\(//\)$' \| \
37215 X"$ac_dest" : 'X\(/\)' \| \
37216 . : '\(.\)' 2>/dev/null ||
37217 echo X"$ac_dest" |
37218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37220 /^X\(\/\/\)$/{ s//\1/; q; }
37221 /^X\(\/\).*/{ s//\1/; q; }
37222 s/.*/./; q'`
37223 ac_builddir=.
37224
37225 if test "$ac_dir" != .; then
37226 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37227 # A "../" for each directory in $ac_dir_suffix.
37228 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37229 else
37230 ac_dir_suffix= ac_top_builddir=
37231 fi
37232
37233 case $srcdir in
37234 .) # No --srcdir option. We are building in place.
37235 ac_srcdir=.
37236 if test -z "$ac_top_builddir"; then
37237 ac_top_srcdir=.
37238 else
37239 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37240 fi ;;
37241 [\\/]* | ?:[\\/]* ) # Absolute path.
37242 ac_srcdir=$srcdir$ac_dir_suffix;
37243 ac_top_srcdir=$srcdir ;;
37244 *) # Relative path.
37245 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37246 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37247 esac
37248 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37249 # absolute.
37250 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37251 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37252 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37253 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37254
37255
37256 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37257 echo "$as_me: executing $ac_dest commands" >&6;}
37258 case $ac_dest in
37259 default )
37260 if test ! -h wx-config; then
37261 chmod +x wx-config
37262 mv wx-config wx${TOOLCHAIN_NAME}-config
37263 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37264 fi
37265
37266 if test ! -d lib; then
37267 mkdir lib
37268 fi
37269 if test ! -d lib/wx; then
37270 mkdir lib/wx
37271 fi
37272 if test ! -d lib/wx/include; then
37273 mkdir lib/wx/include
37274 fi
37275 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37276 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37277 fi
37278 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37279 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37280 fi
37281 if test -f setup.h; then
37282 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37283 fi
37284 ;;
37285 esac
37286 done
37287 _ACEOF
37288
37289 cat >>$CONFIG_STATUS <<\_ACEOF
37290
37291 { (exit 0); exit 0; }
37292 _ACEOF
37293 chmod +x $CONFIG_STATUS
37294 ac_clean_files=$ac_clean_files_save
37295
37296
37297 # configure is writing to config.log, and then calls config.status.
37298 # config.status does its own redirection, appending to config.log.
37299 # Unfortunately, on DOS this fails, as config.log is still kept open
37300 # by configure, so config.status won't be able to write to it; its
37301 # output is simply discarded. So we exec the FD to /dev/null,
37302 # effectively closing config.log, so it can be properly (re)opened and
37303 # appended to by config.status. When coming back to configure, we
37304 # need to make the FD available again.
37305 if test "$no_create" != yes; then
37306 ac_cs_success=:
37307 ac_config_status_args=
37308 test "$silent" = yes &&
37309 ac_config_status_args="$ac_config_status_args --quiet"
37310 exec 5>/dev/null
37311 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37312 exec 5>>config.log
37313 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37314 # would make configure fail if this is the last instruction.
37315 $ac_cs_success || { (exit 1); exit 1; }
37316 fi
37317
37318 #
37319 # CONFIG_SUBDIRS section.
37320 #
37321 if test "$no_recursion" != yes; then
37322
37323 # Remove --cache-file and --srcdir arguments so they do not pile up.
37324 ac_sub_configure_args=
37325 ac_prev=
37326 for ac_arg in $ac_configure_args; do
37327 if test -n "$ac_prev"; then
37328 ac_prev=
37329 continue
37330 fi
37331 case $ac_arg in
37332 -cache-file | --cache-file | --cache-fil | --cache-fi \
37333 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37334 ac_prev=cache_file ;;
37335 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37336 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37337 | --c=*)
37338 ;;
37339 --config-cache | -C)
37340 ;;
37341 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37342 ac_prev=srcdir ;;
37343 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37344 ;;
37345 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37346 ac_prev=prefix ;;
37347 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37348 ;;
37349 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37350 esac
37351 done
37352
37353 # Always prepend --prefix to ensure using the same prefix
37354 # in subdir configurations.
37355 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37356
37357 ac_popdir=`pwd`
37358 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37359
37360 # Do not complain, so a configure script can configure whichever
37361 # parts of a large source tree are present.
37362 test -d $srcdir/$ac_dir || continue
37363
37364 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37365 echo "$as_me: configuring in $ac_dir" >&6;}
37366 { if $as_mkdir_p; then
37367 mkdir -p "$ac_dir"
37368 else
37369 as_dir="$ac_dir"
37370 as_dirs=
37371 while test ! -d "$as_dir"; do
37372 as_dirs="$as_dir $as_dirs"
37373 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37375 X"$as_dir" : 'X\(//\)[^/]' \| \
37376 X"$as_dir" : 'X\(//\)$' \| \
37377 X"$as_dir" : 'X\(/\)' \| \
37378 . : '\(.\)' 2>/dev/null ||
37379 echo X"$as_dir" |
37380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37382 /^X\(\/\/\)$/{ s//\1/; q; }
37383 /^X\(\/\).*/{ s//\1/; q; }
37384 s/.*/./; q'`
37385 done
37386 test ! -n "$as_dirs" || mkdir $as_dirs
37387 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37388 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37389 { (exit 1); exit 1; }; }; }
37390
37391 ac_builddir=.
37392
37393 if test "$ac_dir" != .; then
37394 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37395 # A "../" for each directory in $ac_dir_suffix.
37396 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37397 else
37398 ac_dir_suffix= ac_top_builddir=
37399 fi
37400
37401 case $srcdir in
37402 .) # No --srcdir option. We are building in place.
37403 ac_srcdir=.
37404 if test -z "$ac_top_builddir"; then
37405 ac_top_srcdir=.
37406 else
37407 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37408 fi ;;
37409 [\\/]* | ?:[\\/]* ) # Absolute path.
37410 ac_srcdir=$srcdir$ac_dir_suffix;
37411 ac_top_srcdir=$srcdir ;;
37412 *) # Relative path.
37413 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37414 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37415 esac
37416 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37417 # absolute.
37418 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37419 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37420 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37421 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37422
37423
37424 cd $ac_dir
37425
37426 # Check for guested configure; otherwise get Cygnus style configure.
37427 if test -f $ac_srcdir/configure.gnu; then
37428 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37429 elif test -f $ac_srcdir/configure; then
37430 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37431 elif test -f $ac_srcdir/configure.in; then
37432 ac_sub_configure=$ac_configure
37433 else
37434 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37435 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37436 ac_sub_configure=
37437 fi
37438
37439 # The recursion is here.
37440 if test -n "$ac_sub_configure"; then
37441 # Make the cache file name correct relative to the subdirectory.
37442 case $cache_file in
37443 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37444 *) # Relative path.
37445 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37446 esac
37447
37448 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37449 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37450 # The eval makes quoting arguments work.
37451 eval $ac_sub_configure $ac_sub_configure_args \
37452 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37453 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37454 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37455 { (exit 1); exit 1; }; }
37456 fi
37457
37458 cd $ac_popdir
37459 done
37460 fi
37461
37462
37463 echo
37464 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37465 echo ""
37466 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37467 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37468
37469 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37470 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37471 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37472
37473 echo " What level of wxWindows compatibility should be enabled?"
37474 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37475 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37476
37477 echo " Which libraries should wxWindows use?"
37478 echo " jpeg ${wxUSE_LIBJPEG-none}"
37479 echo " png ${wxUSE_LIBPNG-none}"
37480 echo " regex ${wxUSE_REGEX}"
37481 echo " tiff ${wxUSE_LIBTIFF-none}"
37482 echo " zlib ${wxUSE_ZLIB}"
37483 echo " odbc ${wxUSE_ODBC}"
37484 echo " expat ${wxUSE_EXPAT}"
37485
37486 echo ""
37487