]> git.saurik.com Git - wxWidgets.git/blob - configure
added all standard mac encodings
[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_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA 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-libxpm use libxpm (XPM file format)
1052 --with-libmspack use libmspack (CHM help files loading)
1053 --with-opengl use OpenGL (or Mesa)
1054 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1055 --with-regex enable support for wxRegEx class
1056 --with-zlib use zlib for LZW compression
1057 --with-odbc use the IODBC and wxODBC classes
1058 --with-expat enable XML support using expat parser
1059 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1060 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1061 --with-x use the X Window System
1062 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1063
1064 Some influential environment variables:
1065 CC C compiler command
1066 CFLAGS C compiler flags
1067 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1068 nonstandard directory <lib dir>
1069 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1070 headers in a nonstandard directory <include dir>
1071 CPP C preprocessor
1072 CXX C++ compiler command
1073 CXXFLAGS C++ compiler flags
1074 CXXCPP C++ preprocessor
1075
1076 Use these variables to override the choices made by `configure' or to help
1077 it to find libraries and programs with nonstandard names/locations.
1078
1079 Report bugs to <wx-dev@lists.wxwindows.org>.
1080 _ACEOF
1081 fi
1082
1083 if test "$ac_init_help" = "recursive"; then
1084 # If there are subdirs, report their specific --help.
1085 ac_popdir=`pwd`
1086 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1087 test -d $ac_dir || continue
1088 ac_builddir=.
1089
1090 if test "$ac_dir" != .; then
1091 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1092 # A "../" for each directory in $ac_dir_suffix.
1093 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1094 else
1095 ac_dir_suffix= ac_top_builddir=
1096 fi
1097
1098 case $srcdir in
1099 .) # No --srcdir option. We are building in place.
1100 ac_srcdir=.
1101 if test -z "$ac_top_builddir"; then
1102 ac_top_srcdir=.
1103 else
1104 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1105 fi ;;
1106 [\\/]* | ?:[\\/]* ) # Absolute path.
1107 ac_srcdir=$srcdir$ac_dir_suffix;
1108 ac_top_srcdir=$srcdir ;;
1109 *) # Relative path.
1110 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1111 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1112 esac
1113 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1114 # absolute.
1115 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1116 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1117 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1118 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1119
1120 cd $ac_dir
1121 # Check for guested configure; otherwise get Cygnus style configure.
1122 if test -f $ac_srcdir/configure.gnu; then
1123 echo
1124 $SHELL $ac_srcdir/configure.gnu --help=recursive
1125 elif test -f $ac_srcdir/configure; then
1126 echo
1127 $SHELL $ac_srcdir/configure --help=recursive
1128 elif test -f $ac_srcdir/configure.ac ||
1129 test -f $ac_srcdir/configure.in; then
1130 echo
1131 $ac_configure --help
1132 else
1133 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1134 fi
1135 cd $ac_popdir
1136 done
1137 fi
1138
1139 test -n "$ac_init_help" && exit 0
1140 if $ac_init_version; then
1141 cat <<\_ACEOF
1142 wxWindows configure 2.5.1
1143 generated by GNU Autoconf 2.57
1144
1145 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1146 Free Software Foundation, Inc.
1147 This configure script is free software; the Free Software Foundation
1148 gives unlimited permission to copy, distribute and modify it.
1149 _ACEOF
1150 exit 0
1151 fi
1152 exec 5>config.log
1153 cat >&5 <<_ACEOF
1154 This file contains any messages produced by compilers while
1155 running configure, to aid debugging if configure makes a mistake.
1156
1157 It was created by wxWindows $as_me 2.5.1, which was
1158 generated by GNU Autoconf 2.57. Invocation command line was
1159
1160 $ $0 $@
1161
1162 _ACEOF
1163 {
1164 cat <<_ASUNAME
1165 ## --------- ##
1166 ## Platform. ##
1167 ## --------- ##
1168
1169 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1170 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1171 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1172 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1173 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1174
1175 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1176 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1177
1178 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1179 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1180 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1181 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1182 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1183 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1184 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1185
1186 _ASUNAME
1187
1188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1189 for as_dir in $PATH
1190 do
1191 IFS=$as_save_IFS
1192 test -z "$as_dir" && as_dir=.
1193 echo "PATH: $as_dir"
1194 done
1195
1196 } >&5
1197
1198 cat >&5 <<_ACEOF
1199
1200
1201 ## ----------- ##
1202 ## Core tests. ##
1203 ## ----------- ##
1204
1205 _ACEOF
1206
1207
1208 # Keep a trace of the command line.
1209 # Strip out --no-create and --no-recursion so they do not pile up.
1210 # Strip out --silent because we don't want to record it for future runs.
1211 # Also quote any args containing shell meta-characters.
1212 # Make two passes to allow for proper duplicate-argument suppression.
1213 ac_configure_args=
1214 ac_configure_args0=
1215 ac_configure_args1=
1216 ac_sep=
1217 ac_must_keep_next=false
1218 for ac_pass in 1 2
1219 do
1220 for ac_arg
1221 do
1222 case $ac_arg in
1223 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1224 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1225 | -silent | --silent | --silen | --sile | --sil)
1226 continue ;;
1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1228 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1229 esac
1230 case $ac_pass in
1231 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1232 2)
1233 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1234 if test $ac_must_keep_next = true; then
1235 ac_must_keep_next=false # Got value, back to normal.
1236 else
1237 case $ac_arg in
1238 *=* | --config-cache | -C | -disable-* | --disable-* \
1239 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1240 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1241 | -with-* | --with-* | -without-* | --without-* | --x)
1242 case "$ac_configure_args0 " in
1243 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1244 esac
1245 ;;
1246 -* ) ac_must_keep_next=true ;;
1247 esac
1248 fi
1249 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1250 # Get rid of the leading space.
1251 ac_sep=" "
1252 ;;
1253 esac
1254 done
1255 done
1256 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1257 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1258
1259 # When interrupted or exit'd, cleanup temporary files, and complete
1260 # config.log. We remove comments because anyway the quotes in there
1261 # would cause problems or look ugly.
1262 # WARNING: Be sure not to use single quotes in there, as some shells,
1263 # such as our DU 5.0 friend, will then `close' the trap.
1264 trap 'exit_status=$?
1265 # Save into config.log some information that might help in debugging.
1266 {
1267 echo
1268
1269 cat <<\_ASBOX
1270 ## ---------------- ##
1271 ## Cache variables. ##
1272 ## ---------------- ##
1273 _ASBOX
1274 echo
1275 # The following way of writing the cache mishandles newlines in values,
1276 {
1277 (set) 2>&1 |
1278 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1279 *ac_space=\ *)
1280 sed -n \
1281 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1283 ;;
1284 *)
1285 sed -n \
1286 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ;;
1288 esac;
1289 }
1290 echo
1291
1292 cat <<\_ASBOX
1293 ## ----------------- ##
1294 ## Output variables. ##
1295 ## ----------------- ##
1296 _ASBOX
1297 echo
1298 for ac_var in $ac_subst_vars
1299 do
1300 eval ac_val=$`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1302 done | sort
1303 echo
1304
1305 if test -n "$ac_subst_files"; then
1306 cat <<\_ASBOX
1307 ## ------------- ##
1308 ## Output files. ##
1309 ## ------------- ##
1310 _ASBOX
1311 echo
1312 for ac_var in $ac_subst_files
1313 do
1314 eval ac_val=$`echo $ac_var`
1315 echo "$ac_var='"'"'$ac_val'"'"'"
1316 done | sort
1317 echo
1318 fi
1319
1320 if test -s confdefs.h; then
1321 cat <<\_ASBOX
1322 ## ----------- ##
1323 ## confdefs.h. ##
1324 ## ----------- ##
1325 _ASBOX
1326 echo
1327 sed "/^$/d" confdefs.h | sort
1328 echo
1329 fi
1330 test "$ac_signal" != 0 &&
1331 echo "$as_me: caught signal $ac_signal"
1332 echo "$as_me: exit $exit_status"
1333 } >&5
1334 rm -f core core.* *.core &&
1335 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1336 exit $exit_status
1337 ' 0
1338 for ac_signal in 1 2 13 15; do
1339 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1340 done
1341 ac_signal=0
1342
1343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1344 rm -rf conftest* confdefs.h
1345 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1346 echo >confdefs.h
1347
1348 # Predefined preprocessor variables.
1349
1350 cat >>confdefs.h <<_ACEOF
1351 #define PACKAGE_NAME "$PACKAGE_NAME"
1352 _ACEOF
1353
1354
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1357 _ACEOF
1358
1359
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1362 _ACEOF
1363
1364
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_STRING "$PACKAGE_STRING"
1367 _ACEOF
1368
1369
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1372 _ACEOF
1373
1374
1375 # Let the site file select an alternate cache file if it wants to.
1376 # Prefer explicitly selected file to automatically selected ones.
1377 if test -z "$CONFIG_SITE"; then
1378 if test "x$prefix" != xNONE; then
1379 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1380 else
1381 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1382 fi
1383 fi
1384 for ac_site_file in $CONFIG_SITE; do
1385 if test -r "$ac_site_file"; then
1386 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1387 echo "$as_me: loading site script $ac_site_file" >&6;}
1388 sed 's/^/| /' "$ac_site_file" >&5
1389 . "$ac_site_file"
1390 fi
1391 done
1392
1393 if test -r "$cache_file"; then
1394 # Some versions of bash will fail to source /dev/null (special
1395 # files actually), so we avoid doing that.
1396 if test -f "$cache_file"; then
1397 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1398 echo "$as_me: loading cache $cache_file" >&6;}
1399 case $cache_file in
1400 [\\/]* | ?:[\\/]* ) . $cache_file;;
1401 *) . ./$cache_file;;
1402 esac
1403 fi
1404 else
1405 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1406 echo "$as_me: creating cache $cache_file" >&6;}
1407 >$cache_file
1408 fi
1409
1410 # Check that the precious variables saved in the cache have kept the same
1411 # value.
1412 ac_cache_corrupted=false
1413 for ac_var in `(set) 2>&1 |
1414 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1415 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1416 eval ac_new_set=\$ac_env_${ac_var}_set
1417 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1418 eval ac_new_val="\$ac_env_${ac_var}_value"
1419 case $ac_old_set,$ac_new_set in
1420 set,)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,set)
1425 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1426 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1427 ac_cache_corrupted=: ;;
1428 ,);;
1429 *)
1430 if test "x$ac_old_val" != "x$ac_new_val"; then
1431 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1432 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1433 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1434 echo "$as_me: former value: $ac_old_val" >&2;}
1435 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1436 echo "$as_me: current value: $ac_new_val" >&2;}
1437 ac_cache_corrupted=:
1438 fi;;
1439 esac
1440 # Pass precious variables to config.status.
1441 if test "$ac_new_set" = set; then
1442 case $ac_new_val in
1443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1444 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1445 *) ac_arg=$ac_var=$ac_new_val ;;
1446 esac
1447 case " $ac_configure_args " in
1448 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1449 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1450 esac
1451 fi
1452 done
1453 if $ac_cache_corrupted; then
1454 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1455 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1456 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1457 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1458 { (exit 1); exit 1; }; }
1459 fi
1460
1461 ac_ext=c
1462 ac_cpp='$CPP $CPPFLAGS'
1463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1495
1496 ac_aux_dir=
1497 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1498 if test -f $ac_dir/install-sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install-sh -c"
1501 break
1502 elif test -f $ac_dir/install.sh; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/install.sh -c"
1505 break
1506 elif test -f $ac_dir/shtool; then
1507 ac_aux_dir=$ac_dir
1508 ac_install_sh="$ac_aux_dir/shtool install -c"
1509 break
1510 fi
1511 done
1512 if test -z "$ac_aux_dir"; then
1513 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1514 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1515 { (exit 1); exit 1; }; }
1516 fi
1517 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1518 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1519 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1520
1521 # Make sure we can run config.sub.
1522 $ac_config_sub sun4 >/dev/null 2>&1 ||
1523 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1524 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1525 { (exit 1); exit 1; }; }
1526
1527 echo "$as_me:$LINENO: checking build system type" >&5
1528 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1529 if test "${ac_cv_build+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 else
1532 ac_cv_build_alias=$build_alias
1533 test -z "$ac_cv_build_alias" &&
1534 ac_cv_build_alias=`$ac_config_guess`
1535 test -z "$ac_cv_build_alias" &&
1536 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1537 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1538 { (exit 1); exit 1; }; }
1539 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1541 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1543
1544 fi
1545 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1546 echo "${ECHO_T}$ac_cv_build" >&6
1547 build=$ac_cv_build
1548 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1549 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1550 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1551
1552
1553 echo "$as_me:$LINENO: checking host system type" >&5
1554 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1555 if test "${ac_cv_host+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 else
1558 ac_cv_host_alias=$host_alias
1559 test -z "$ac_cv_host_alias" &&
1560 ac_cv_host_alias=$ac_cv_build_alias
1561 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1565
1566 fi
1567 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1568 echo "${ECHO_T}$ac_cv_host" >&6
1569 host=$ac_cv_host
1570 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1571 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1572 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1573
1574
1575 echo "$as_me:$LINENO: checking target system type" >&5
1576 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1577 if test "${ac_cv_target+set}" = set; then
1578 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 else
1580 ac_cv_target_alias=$target_alias
1581 test "x$ac_cv_target_alias" = "x" &&
1582 ac_cv_target_alias=$ac_cv_host_alias
1583 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1584 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1585 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1586 { (exit 1); exit 1; }; }
1587
1588 fi
1589 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1590 echo "${ECHO_T}$ac_cv_target" >&6
1591 target=$ac_cv_target
1592 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1593 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1594 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1595
1596
1597 # The aliases save the names the user supplied, while $host etc.
1598 # will get canonicalized.
1599 test -n "$target_alias" &&
1600 test "$program_prefix$program_suffix$program_transform_name" = \
1601 NONENONEs,x,x, &&
1602 program_prefix=${target_alias}-
1603
1604
1605
1606 WX_MAJOR_VERSION_NUMBER=2
1607 WX_MINOR_VERSION_NUMBER=5
1608 WX_RELEASE_NUMBER=1
1609
1610 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1611 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1612
1613 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1614
1615 WX_CURRENT=1
1616 WX_REVISION=0
1617 WX_AGE=0
1618
1619
1620
1621 USE_UNIX=1
1622 USE_OS2=0
1623 USE_WIN32=0
1624 USE_DOS=0
1625 USE_BEOS=0
1626 USE_MAC=0
1627
1628 USE_AIX=
1629 USE_BSD= USE_DARWIN= USE_FREEBSD=
1630 USE_GNU= USE_HPUX=
1631 USE_LINUX=
1632 USE_NETBSD=
1633 USE_OPENBSD=
1634 USE_OSF= USE_SGI=
1635 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1636 USE_ULTRIX=
1637 USE_UNIXWARE=
1638
1639 USE_ALPHA=
1640
1641 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1642
1643 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1644
1645 DEFAULT_wxUSE_COCOA=0
1646 DEFAULT_wxUSE_GTK=0
1647 DEFAULT_wxUSE_MAC=0
1648 DEFAULT_wxUSE_MGL=0
1649 DEFAULT_wxUSE_MICROWIN=0
1650 DEFAULT_wxUSE_MOTIF=0
1651 DEFAULT_wxUSE_MSW=0
1652 DEFAULT_wxUSE_PM=0
1653 DEFAULT_wxUSE_X11=0
1654
1655 DEFAULT_DEFAULT_wxUSE_COCOA=0
1656 DEFAULT_DEFAULT_wxUSE_GTK=0
1657 DEFAULT_DEFAULT_wxUSE_MAC=0
1658 DEFAULT_DEFAULT_wxUSE_MGL=0
1659 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1660 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1661 DEFAULT_DEFAULT_wxUSE_MSW=0
1662 DEFAULT_DEFAULT_wxUSE_PM=0
1663 DEFAULT_DEFAULT_wxUSE_X11=0
1664
1665 PROGRAM_EXT=
1666 SO_SUFFIX=so
1667 SAMPLES_RPATH_FLAG=
1668 SAMPLES_RPATH_POSTLINK=
1669
1670 case "${host}" in
1671 *-hp-hpux* )
1672 USE_HPUX=1
1673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1674 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1675 SO_SUFFIX=sl
1676 cat >>confdefs.h <<\_ACEOF
1677 #define __HPUX__ 1
1678 _ACEOF
1679
1680 ;;
1681 *-*-linux* )
1682 USE_LINUX=1
1683 cat >>confdefs.h <<\_ACEOF
1684 #define __LINUX__ 1
1685 _ACEOF
1686
1687 TMP=`uname -m`
1688 if test "x$TMP" = "xalpha"; then
1689 USE_ALPHA=1
1690 cat >>confdefs.h <<\_ACEOF
1691 #define __ALPHA__ 1
1692 _ACEOF
1693
1694 fi
1695 DEFAULT_DEFAULT_wxUSE_GTK=1
1696 ;;
1697 *-*-gnu* )
1698 USE_GNU=1
1699 cat >>confdefs.h <<\_ACEOF
1700 #define __GNU__ 1
1701 _ACEOF
1702
1703 TMP=`uname -m`
1704 if test "x$TMP" = "xalpha"; then
1705 USE_ALPHA=1
1706 cat >>confdefs.h <<\_ACEOF
1707 #define __ALPHA__ 1
1708 _ACEOF
1709
1710 fi
1711 DEFAULT_DEFAULT_wxUSE_GTK=1
1712 ;;
1713 *-*-irix5* | *-*-irix6* )
1714 USE_SGI=1
1715 USE_SVR4=1
1716 cat >>confdefs.h <<\_ACEOF
1717 #define __SGI__ 1
1718 _ACEOF
1719
1720 cat >>confdefs.h <<\_ACEOF
1721 #define __SVR4__ 1
1722 _ACEOF
1723
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1725 ;;
1726 *-*-solaris2* )
1727 USE_SUN=1
1728 USE_SOLARIS=1
1729 USE_SVR4=1
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SUN__ 1
1732 _ACEOF
1733
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __SOLARIS__ 1
1736 _ACEOF
1737
1738 cat >>confdefs.h <<\_ACEOF
1739 #define __SVR4__ 1
1740 _ACEOF
1741
1742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1744 ;;
1745 *-*-sunos4* )
1746 USE_SUN=1
1747 USE_SUNOS=1
1748 USE_BSD=1
1749 cat >>confdefs.h <<\_ACEOF
1750 #define __SUN__ 1
1751 _ACEOF
1752
1753 cat >>confdefs.h <<\_ACEOF
1754 #define __SUNOS__ 1
1755 _ACEOF
1756
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __BSD__ 1
1759 _ACEOF
1760
1761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1762 ;;
1763 *-*-freebsd*)
1764 USE_BSD=1
1765 USE_FREEBSD=1
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __FREEBSD__ 1
1768 _ACEOF
1769
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __BSD__ 1
1772 _ACEOF
1773
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 ;;
1776 *-*-openbsd*)
1777 USE_BSD=1
1778 USE_OPENBSD=1
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __OPENBSD__ 1
1781 _ACEOF
1782
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __BSD__ 1
1785 _ACEOF
1786
1787 DEFAULT_DEFAULT_wxUSE_GTK=1
1788 ;;
1789 *-*-netbsd*)
1790 USE_BSD=1
1791 USE_NETBSD=1
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __NETBSD__ 1
1794 _ACEOF
1795
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __BSD__ 1
1798 _ACEOF
1799
1800 DEFAULT_DEFAULT_wxUSE_GTK=1
1801 ;;
1802 *-*-osf* )
1803 USE_ALPHA=1
1804 USE_OSF=1
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __ALPHA__ 1
1807 _ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __OSF__ 1
1811 _ACEOF
1812
1813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1814 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1815 ;;
1816 *-*-dgux5* )
1817 USE_ALPHA=1
1818 USE_SVR4=1
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __ALPHA__ 1
1821 _ACEOF
1822
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __SVR4__ 1
1825 _ACEOF
1826
1827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1828 ;;
1829 *-*-sysv5* )
1830 USE_SYSV=1
1831 USE_SVR4=1
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __SYSV__ 1
1834 _ACEOF
1835
1836 cat >>confdefs.h <<\_ACEOF
1837 #define __SVR4__ 1
1838 _ACEOF
1839
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1841 ;;
1842 *-*-aix* )
1843 USE_AIX=1
1844 USE_SYSV=1
1845 USE_SVR4=1
1846 SO_SUFFIX=a
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __AIX__ 1
1849 _ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __SYSV__ 1
1853 _ACEOF
1854
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __SVR4__ 1
1857 _ACEOF
1858
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1860 ;;
1861
1862 *-*-*UnixWare*)
1863 USE_SYSV=1
1864 USE_SVR4=1
1865 USE_UNIXWARE=1
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __UNIXWARE__ 1
1868 _ACEOF
1869
1870 ;;
1871
1872 *-*-cygwin* | *-*-mingw32* )
1873 SO_SUFFIX=dll
1874 PROGRAM_EXT=".exe"
1875 RESCOMP=windres
1876 DEFAULT_DEFAULT_wxUSE_MSW=1
1877 ;;
1878
1879 *-pc-msdosdjgpp )
1880 USE_UNIX=0
1881 USE_DOS=1
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __DOS__ 1
1884 _ACEOF
1885
1886 PROGRAM_EXT=".exe"
1887 DEFAULT_DEFAULT_wxUSE_MGL=1
1888 LIBS="$LIBS -lstdc++"
1889 ;;
1890
1891 *-pc-os2_emx | *-pc-os2-emx )
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __EMX__ 1
1894 _ACEOF
1895
1896 USE_OS2=1
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __OS2__ 1
1899 _ACEOF
1900
1901 PROGRAM_EXT=".exe"
1902 DEFAULT_DEFAULT_wxUSE_PM=1
1903 CXX=gcc
1904 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1905 ac_executable_extensions=".exe"
1906 export ac_executable_extensions
1907 ac_save_IFS="$IFS"
1908 IFS='\\'
1909 ac_TEMP_PATH=
1910 for ac_dir in $PATH; do
1911 IFS=$ac_save_IFS
1912 if test -z "$ac_TEMP_PATH"; then
1913 ac_TEMP_PATH="$ac_dir"
1914 else
1915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1916 fi
1917 done
1918 export PATH="$ac_TEMP_PATH"
1919 unset ac_TEMP_PATH
1920 ;;
1921
1922 powerpc-*-darwin* )
1923 USE_BSD=1
1924 USE_DARWIN=1
1925 SO_SUFFIX=dylib
1926 cat >>confdefs.h <<\_ACEOF
1927 #define __BSD__ 1
1928 _ACEOF
1929
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __DARWIN__ 1
1932 _ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __POWERPC__ 1
1936 _ACEOF
1937
1938 cat >>confdefs.h <<\_ACEOF
1939 #define TARGET_CARBON 1
1940 _ACEOF
1941
1942 DEFAULT_DEFAULT_wxUSE_MAC=1
1943 ;;
1944
1945 *-*-beos* )
1946 USE_BEOS=1
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __BEOS__ 1
1949 _ACEOF
1950
1951 ;;
1952
1953 *)
1954 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1955 echo "$as_me: error: unknown system type ${host}." >&2;}
1956 { (exit 1); exit 1; }; }
1957 esac
1958
1959
1960
1961
1962 wx_arg_cache_file="configarg.cache"
1963 echo "loading argument cache $wx_arg_cache_file"
1964 rm -f ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}.tmp
1966 touch ${wx_arg_cache_file}
1967
1968
1969 DEBUG_CONFIGURE=0
1970 if test $DEBUG_CONFIGURE = 1; then
1971 DEFAULT_wxUSE_UNIVERSAL=no
1972 DEFAULT_wxUSE_STL=no
1973
1974 DEFAULT_wxUSE_NANOX=no
1975
1976 DEFAULT_wxUSE_THREADS=yes
1977
1978 DEFAULT_wxUSE_SHARED=yes
1979 DEFAULT_wxUSE_OPTIMISE=no
1980 DEFAULT_wxUSE_PROFILE=no
1981 DEFAULT_wxUSE_NO_DEPS=no
1982 DEFAULT_wxUSE_NO_RTTI=no
1983 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1984 DEFAULT_wxUSE_PERMISSIVE=no
1985 DEFAULT_wxUSE_DEBUG_FLAG=yes
1986 DEFAULT_wxUSE_DEBUG_INFO=yes
1987 DEFAULT_wxUSE_DEBUG_GDB=yes
1988 DEFAULT_wxUSE_MEM_TRACING=no
1989 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1990 DEFAULT_wxUSE_DMALLOC=no
1991 DEFAULT_wxUSE_APPLE_IEEE=no
1992
1993 DEFAULT_wxUSE_EXCEPTIONS=no
1994 DEFAULT_wxUSE_LOG=yes
1995 DEFAULT_wxUSE_LOGWINDOW=no
1996 DEFAULT_wxUSE_LOGGUI=no
1997 DEFAULT_wxUSE_LOGDIALOG=no
1998
1999 DEFAULT_wxUSE_GUI=yes
2000 DEFAULT_wxUSE_CONTROLS=no
2001
2002 DEFAULT_wxUSE_REGEX=no
2003 DEFAULT_wxUSE_XML=no
2004 DEFAULT_wxUSE_EXPAT=no
2005 DEFAULT_wxUSE_ZLIB=no
2006 DEFAULT_wxUSE_LIBPNG=no
2007 DEFAULT_wxUSE_LIBJPEG=no
2008 DEFAULT_wxUSE_LIBTIFF=no
2009 DEFAULT_wxUSE_LIBXPM=no
2010 DEFAULT_wxUSE_ODBC=no
2011 DEFAULT_wxUSE_OPENGL=no
2012
2013 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2014 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2015 DEFAULT_wxUSE_STD_IOSTREAM=no
2016 DEFAULT_wxUSE_CMDLINE_PARSER=no
2017 DEFAULT_wxUSE_DATETIME=no
2018 DEFAULT_wxUSE_TIMER=no
2019 DEFAULT_wxUSE_STOPWATCH=no
2020 DEFAULT_wxUSE_FILE=no
2021 DEFAULT_wxUSE_FFILE=no
2022 DEFAULT_wxUSE_TEXTBUFFER=no
2023 DEFAULT_wxUSE_TEXTFILE=no
2024 DEFAULT_wxUSE_WAVE=no
2025 DEFAULT_wxUSE_INTL=no
2026 DEFAULT_wxUSE_CONFIG=no
2027 DEFAULT_wxUSE_FONTMAP=no
2028 DEFAULT_wxUSE_STREAMS=no
2029 DEFAULT_wxUSE_SOCKETS=no
2030 DEFAULT_wxUSE_OLE=no
2031 DEFAULT_wxUSE_DATAOBJ=no
2032 DEFAULT_wxUSE_DIALUP_MANAGER=no
2033 DEFAULT_wxUSE_JOYSTICK=no
2034 DEFAULT_wxUSE_DYNLIB_CLASS=no
2035 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2036 DEFAULT_wxUSE_LONGLONG=no
2037 DEFAULT_wxUSE_GEOMETRY=no
2038
2039 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2040 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2041 DEFAULT_wxUSE_POSTSCRIPT=no
2042
2043 DEFAULT_wxUSE_CLIPBOARD=no
2044 DEFAULT_wxUSE_TOOLTIPS=no
2045 DEFAULT_wxUSE_DRAG_AND_DROP=no
2046 DEFAULT_wxUSE_DRAGIMAGE=no
2047 DEFAULT_wxUSE_SPLINES=no
2048
2049 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2050 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2051 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2052
2053 DEFAULT_wxUSE_RESOURCES=no
2054 DEFAULT_wxUSE_CONSTRAINTS=no
2055 DEFAULT_wxUSE_IPC=no
2056 DEFAULT_wxUSE_HELP=no
2057 DEFAULT_wxUSE_MS_HTML_HELP=no
2058 DEFAULT_wxUSE_WXHTML_HELP=no
2059 DEFAULT_wxUSE_TREELAYOUT=no
2060 DEFAULT_wxUSE_METAFILE=no
2061 DEFAULT_wxUSE_MIMETYPE=no
2062 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2063 DEFAULT_wxUSE_PROTOCOL=no
2064 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2065 DEFAULT_wxUSE_PROTOCOL_FTP=no
2066 DEFAULT_wxUSE_PROTOCOL_FILE=no
2067 DEFAULT_wxUSE_URL=no
2068
2069 DEFAULT_wxUSE_COMMONDLGS=no
2070 DEFAULT_wxUSE_CHOICEDLG=no
2071 DEFAULT_wxUSE_COLOURDLG=no
2072 DEFAULT_wxUSE_DIRDLG=no
2073 DEFAULT_wxUSE_FILEDLG=no
2074 DEFAULT_wxUSE_FINDREPLDLG=no
2075 DEFAULT_wxUSE_FONTDLG=no
2076 DEFAULT_wxUSE_MSGDLG=no
2077 DEFAULT_wxUSE_NUMBERDLG=no
2078 DEFAULT_wxUSE_TEXTDLG=no
2079 DEFAULT_wxUSE_SPLASH=no
2080 DEFAULT_wxUSE_STARTUP_TIPS=no
2081 DEFAULT_wxUSE_PROGRESSDLG=no
2082 DEFAULT_wxUSE_WIZARDDLG=no
2083
2084 DEFAULT_wxUSE_MENUS=no
2085 DEFAULT_wxUSE_MINIFRAME=no
2086 DEFAULT_wxUSE_HTML=no
2087 DEFAULT_wxUSE_FILESYSTEM=no
2088 DEFAULT_wxUSE_FS_INET=no
2089 DEFAULT_wxUSE_FS_ZIP=no
2090 DEFAULT_wxUSE_BUSYINFO=no
2091 DEFAULT_wxUSE_ZIPSTREAM=no
2092 DEFAULT_wxUSE_GZSTREAM=no
2093 DEFAULT_wxUSE_VALIDATORS=no
2094
2095 DEFAULT_wxUSE_ACCEL=no
2096 DEFAULT_wxUSE_BUTTON=no
2097 DEFAULT_wxUSE_BMPBUTTON=no
2098 DEFAULT_wxUSE_CALCTRL=no
2099 DEFAULT_wxUSE_CARET=no
2100 DEFAULT_wxUSE_CHECKBOX=no
2101 DEFAULT_wxUSE_CHECKLST=no
2102 DEFAULT_wxUSE_CHOICE=no
2103 DEFAULT_wxUSE_COMBOBOX=no
2104 DEFAULT_wxUSE_DISPLAY=no
2105 DEFAULT_wxUSE_GAUGE=no
2106 DEFAULT_wxUSE_GRID=no
2107 DEFAULT_wxUSE_IMAGLIST=no
2108 DEFAULT_wxUSE_LISTBOOK=no
2109 DEFAULT_wxUSE_LISTBOX=no
2110 DEFAULT_wxUSE_LISTCTRL=no
2111 DEFAULT_wxUSE_NOTEBOOK=no
2112 DEFAULT_wxUSE_RADIOBOX=no
2113 DEFAULT_wxUSE_RADIOBTN=no
2114 DEFAULT_wxUSE_SASH=no
2115 DEFAULT_wxUSE_SCROLLBAR=no
2116 DEFAULT_wxUSE_SLIDER=no
2117 DEFAULT_wxUSE_SPINBTN=no
2118 DEFAULT_wxUSE_SPINCTRL=no
2119 DEFAULT_wxUSE_SPLITTER=no
2120 DEFAULT_wxUSE_STATBMP=no
2121 DEFAULT_wxUSE_STATBOX=no
2122 DEFAULT_wxUSE_STATLINE=no
2123 DEFAULT_wxUSE_STATTEXT=no
2124 DEFAULT_wxUSE_STATUSBAR=yes
2125 DEFAULT_wxUSE_TABDIALOG=no
2126 DEFAULT_wxUSE_TEXTCTRL=no
2127 DEFAULT_wxUSE_TOGGLEBTN=no
2128 DEFAULT_wxUSE_TOOLBAR=no
2129 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2130 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2131 DEFAULT_wxUSE_TREECTRL=no
2132 DEFAULT_wxUSE_POPUPWIN=no
2133 DEFAULT_wxUSE_TIPWINDOW=no
2134
2135 DEFAULT_wxUSE_UNICODE=no
2136 DEFAULT_wxUSE_UNICODE_MSLU=no
2137 DEFAULT_wxUSE_WCSRTOMBS=no
2138
2139 DEFAULT_wxUSE_PALETTE=no
2140 DEFAULT_wxUSE_IMAGE=no
2141 DEFAULT_wxUSE_GIF=no
2142 DEFAULT_wxUSE_PCX=no
2143 DEFAULT_wxUSE_PNM=no
2144 DEFAULT_wxUSE_IFF=no
2145 DEFAULT_wxUSE_XPM=no
2146 DEFAULT_wxUSE_ICO_CUR=no
2147 DEFAULT_wxUSE_ACCESSIBILITY=no
2148
2149 DEFAULT_wxUSE_MONOLITHIC=no
2150 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2151 else
2152 DEFAULT_wxUSE_UNIVERSAL=no
2153 DEFAULT_wxUSE_STL=no
2154
2155 DEFAULT_wxUSE_NANOX=no
2156
2157 DEFAULT_wxUSE_THREADS=yes
2158
2159 DEFAULT_wxUSE_SHARED=yes
2160 DEFAULT_wxUSE_OPTIMISE=yes
2161 DEFAULT_wxUSE_PROFILE=no
2162 DEFAULT_wxUSE_NO_DEPS=no
2163 DEFAULT_wxUSE_NO_RTTI=no
2164 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2165 DEFAULT_wxUSE_PERMISSIVE=no
2166 DEFAULT_wxUSE_DEBUG_FLAG=no
2167 DEFAULT_wxUSE_DEBUG_INFO=no
2168 DEFAULT_wxUSE_DEBUG_GDB=no
2169 DEFAULT_wxUSE_MEM_TRACING=no
2170 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2171 DEFAULT_wxUSE_DMALLOC=no
2172 DEFAULT_wxUSE_APPLE_IEEE=yes
2173
2174 DEFAULT_wxUSE_EXCEPTIONS=yes
2175 DEFAULT_wxUSE_LOG=yes
2176 DEFAULT_wxUSE_LOGWINDOW=yes
2177 DEFAULT_wxUSE_LOGGUI=yes
2178 DEFAULT_wxUSE_LOGDIALOG=yes
2179
2180 DEFAULT_wxUSE_GUI=yes
2181
2182 DEFAULT_wxUSE_REGEX=yes
2183 DEFAULT_wxUSE_XML=yes
2184 DEFAULT_wxUSE_EXPAT=yes
2185 DEFAULT_wxUSE_ZLIB=yes
2186 DEFAULT_wxUSE_LIBPNG=yes
2187 DEFAULT_wxUSE_LIBJPEG=yes
2188 DEFAULT_wxUSE_LIBTIFF=yes
2189 DEFAULT_wxUSE_LIBXPM=yes
2190 DEFAULT_wxUSE_LIBMSPACK=yes
2191 DEFAULT_wxUSE_ODBC=no
2192 DEFAULT_wxUSE_OPENGL=no
2193
2194 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2195 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2196 DEFAULT_wxUSE_STD_IOSTREAM=no
2197 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2198 DEFAULT_wxUSE_DATETIME=yes
2199 DEFAULT_wxUSE_TIMER=yes
2200 DEFAULT_wxUSE_STOPWATCH=yes
2201 DEFAULT_wxUSE_FILE=yes
2202 DEFAULT_wxUSE_FFILE=yes
2203 DEFAULT_wxUSE_TEXTBUFFER=yes
2204 DEFAULT_wxUSE_TEXTFILE=yes
2205 DEFAULT_wxUSE_WAVE=no
2206 DEFAULT_wxUSE_INTL=yes
2207 DEFAULT_wxUSE_CONFIG=yes
2208 DEFAULT_wxUSE_FONTMAP=yes
2209 DEFAULT_wxUSE_STREAMS=yes
2210 DEFAULT_wxUSE_SOCKETS=yes
2211 DEFAULT_wxUSE_OLE=yes
2212 DEFAULT_wxUSE_DATAOBJ=yes
2213 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2214 DEFAULT_wxUSE_JOYSTICK=yes
2215 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2216 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2217 DEFAULT_wxUSE_LONGLONG=yes
2218 DEFAULT_wxUSE_GEOMETRY=yes
2219
2220 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2221 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2222 DEFAULT_wxUSE_POSTSCRIPT=yes
2223
2224 DEFAULT_wxUSE_CLIPBOARD=yes
2225 DEFAULT_wxUSE_TOOLTIPS=yes
2226 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2227 DEFAULT_wxUSE_DRAGIMAGE=yes
2228 DEFAULT_wxUSE_SPLINES=yes
2229
2230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2233
2234 DEFAULT_wxUSE_RESOURCES=no
2235 DEFAULT_wxUSE_CONSTRAINTS=yes
2236 DEFAULT_wxUSE_IPC=yes
2237 DEFAULT_wxUSE_HELP=yes
2238 DEFAULT_wxUSE_MS_HTML_HELP=yes
2239 DEFAULT_wxUSE_WXHTML_HELP=yes
2240 DEFAULT_wxUSE_TREELAYOUT=yes
2241 DEFAULT_wxUSE_METAFILE=yes
2242 DEFAULT_wxUSE_MIMETYPE=yes
2243 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2244 DEFAULT_wxUSE_PROTOCOL=yes
2245 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2246 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2247 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2248 DEFAULT_wxUSE_URL=yes
2249
2250 DEFAULT_wxUSE_COMMONDLGS=yes
2251 DEFAULT_wxUSE_CHOICEDLG=yes
2252 DEFAULT_wxUSE_COLOURDLG=yes
2253 DEFAULT_wxUSE_DIRDLG=yes
2254 DEFAULT_wxUSE_FILEDLG=yes
2255 DEFAULT_wxUSE_FINDREPLDLG=yes
2256 DEFAULT_wxUSE_FONTDLG=yes
2257 DEFAULT_wxUSE_MSGDLG=yes
2258 DEFAULT_wxUSE_NUMBERDLG=yes
2259 DEFAULT_wxUSE_TEXTDLG=yes
2260 DEFAULT_wxUSE_SPLASH=yes
2261 DEFAULT_wxUSE_STARTUP_TIPS=yes
2262 DEFAULT_wxUSE_PROGRESSDLG=yes
2263 DEFAULT_wxUSE_WIZARDDLG=yes
2264
2265 DEFAULT_wxUSE_MENUS=yes
2266 DEFAULT_wxUSE_MINIFRAME=yes
2267 DEFAULT_wxUSE_HTML=yes
2268 DEFAULT_wxUSE_FILESYSTEM=yes
2269 DEFAULT_wxUSE_FS_INET=yes
2270 DEFAULT_wxUSE_FS_ZIP=yes
2271 DEFAULT_wxUSE_BUSYINFO=yes
2272 DEFAULT_wxUSE_ZIPSTREAM=yes
2273 DEFAULT_wxUSE_GZSTREAM=yes
2274 DEFAULT_wxUSE_VALIDATORS=yes
2275
2276 DEFAULT_wxUSE_ACCEL=yes
2277 DEFAULT_wxUSE_BUTTON=yes
2278 DEFAULT_wxUSE_BMPBUTTON=yes
2279 DEFAULT_wxUSE_CALCTRL=yes
2280 DEFAULT_wxUSE_CARET=yes
2281 DEFAULT_wxUSE_CHECKBOX=yes
2282 DEFAULT_wxUSE_CHECKLST=yes
2283 DEFAULT_wxUSE_CHOICE=yes
2284 DEFAULT_wxUSE_COMBOBOX=yes
2285 DEFAULT_wxUSE_DISPLAY=no
2286 DEFAULT_wxUSE_GAUGE=yes
2287 DEFAULT_wxUSE_GRID=yes
2288 DEFAULT_wxUSE_IMAGLIST=yes
2289 DEFAULT_wxUSE_LISTBOOK=yes
2290 DEFAULT_wxUSE_LISTBOX=yes
2291 DEFAULT_wxUSE_LISTCTRL=yes
2292 DEFAULT_wxUSE_NOTEBOOK=yes
2293 DEFAULT_wxUSE_RADIOBOX=yes
2294 DEFAULT_wxUSE_RADIOBTN=yes
2295 DEFAULT_wxUSE_SASH=yes
2296 DEFAULT_wxUSE_SCROLLBAR=yes
2297 DEFAULT_wxUSE_SLIDER=yes
2298 DEFAULT_wxUSE_SPINBTN=yes
2299 DEFAULT_wxUSE_SPINCTRL=yes
2300 DEFAULT_wxUSE_SPLITTER=yes
2301 DEFAULT_wxUSE_STATBMP=yes
2302 DEFAULT_wxUSE_STATBOX=yes
2303 DEFAULT_wxUSE_STATLINE=yes
2304 DEFAULT_wxUSE_STATTEXT=yes
2305 DEFAULT_wxUSE_STATUSBAR=yes
2306 DEFAULT_wxUSE_TABDIALOG=no
2307 DEFAULT_wxUSE_TEXTCTRL=yes
2308 DEFAULT_wxUSE_TOGGLEBTN=yes
2309 DEFAULT_wxUSE_TOOLBAR=yes
2310 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2311 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2312 DEFAULT_wxUSE_TREECTRL=yes
2313 DEFAULT_wxUSE_POPUPWIN=yes
2314 DEFAULT_wxUSE_TIPWINDOW=yes
2315
2316 DEFAULT_wxUSE_UNICODE=no
2317 DEFAULT_wxUSE_UNICODE_MSLU=yes
2318 DEFAULT_wxUSE_WCSRTOMBS=no
2319
2320 DEFAULT_wxUSE_PALETTE=yes
2321 DEFAULT_wxUSE_IMAGE=yes
2322 DEFAULT_wxUSE_GIF=yes
2323 DEFAULT_wxUSE_PCX=yes
2324 DEFAULT_wxUSE_IFF=no
2325 DEFAULT_wxUSE_PNM=yes
2326 DEFAULT_wxUSE_XPM=yes
2327 DEFAULT_wxUSE_ICO_CUR=yes
2328 DEFAULT_wxUSE_ACCESSIBILITY=no
2329
2330 DEFAULT_wxUSE_MONOLITHIC=no
2331 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2332 fi
2333
2334
2335
2336 for toolkit in `echo $ALL_TOOLKITS`; do
2337 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2338 if test "x$LINE" != "x" ; then
2339 has_toolkit_in_cache=1
2340 eval "DEFAULT_$LINE"
2341 eval "CACHE_$toolkit=1"
2342 fi
2343 done
2344
2345
2346
2347 enablestring=
2348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2349 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2350 no_cache=0
2351 # Check whether --enable-gui or --disable-gui was given.
2352 if test "${enable_gui+set}" = set; then
2353 enableval="$enable_gui"
2354
2355 if test "$enableval" = yes; then
2356 ac_cv_use_gui='wxUSE_GUI=yes'
2357 else
2358 ac_cv_use_gui='wxUSE_GUI=no'
2359 fi
2360
2361 else
2362
2363 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2364 if test "x$LINE" != x ; then
2365 eval "DEFAULT_$LINE"
2366 else
2367 no_cache=1
2368 fi
2369
2370 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2371
2372 fi;
2373
2374 eval "$ac_cv_use_gui"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2377 fi
2378
2379 if test "$wxUSE_GUI" = yes; then
2380 echo "$as_me:$LINENO: result: yes" >&5
2381 echo "${ECHO_T}yes" >&6
2382 else
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2385 fi
2386
2387
2388 enablestring=
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2391 no_cache=0
2392 # Check whether --enable-monolithic or --disable-monolithic was given.
2393 if test "${enable_monolithic+set}" = set; then
2394 enableval="$enable_monolithic"
2395
2396 if test "$enableval" = yes; then
2397 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2398 else
2399 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2400 fi
2401
2402 else
2403
2404 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2407 else
2408 no_cache=1
2409 fi
2410
2411 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2412
2413 fi;
2414
2415 eval "$ac_cv_use_monolithic"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2418 fi
2419
2420 if test "$wxUSE_MONOLITHIC" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2423 else
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2426 fi
2427
2428
2429 if test "$wxUSE_GUI" = "yes"; then
2430
2431
2432 enablestring=
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2435 no_cache=0
2436 # Check whether --enable-universal or --disable-universal was given.
2437 if test "${enable_universal+set}" = set; then
2438 enableval="$enable_universal"
2439
2440 if test "$enableval" = yes; then
2441 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2442 else
2443 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2444 fi
2445
2446 else
2447
2448 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2451 else
2452 no_cache=1
2453 fi
2454
2455 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2456
2457 fi;
2458
2459 eval "$ac_cv_use_universal"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2462 fi
2463
2464 if test "$wxUSE_UNIVERSAL" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2470 fi
2471
2472
2473 # Check whether --with-gtk or --without-gtk was given.
2474 if test "${with_gtk+set}" = set; then
2475 withval="$with_gtk"
2476 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2477 fi;
2478
2479 # Check whether --with-motif or --without-motif was given.
2480 if test "${with_motif+set}" = set; then
2481 withval="$with_motif"
2482 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2483 fi;
2484
2485 # Check whether --with-mac or --without-mac was given.
2486 if test "${with_mac+set}" = set; then
2487 withval="$with_mac"
2488 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2489 fi;
2490
2491 # Check whether --with-cocoa or --without-cocoa was given.
2492 if test "${with_cocoa+set}" = set; then
2493 withval="$with_cocoa"
2494 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2495 fi;
2496
2497 # Check whether --with-wine or --without-wine was given.
2498 if test "${with_wine+set}" = set; then
2499 withval="$with_wine"
2500 wxUSE_WINE="$withval" CACHE_WINE=1
2501 fi;
2502
2503 # Check whether --with-msw or --without-msw was given.
2504 if test "${with_msw+set}" = set; then
2505 withval="$with_msw"
2506 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2507 fi;
2508
2509 # Check whether --with-pm or --without-pm was given.
2510 if test "${with_pm+set}" = set; then
2511 withval="$with_pm"
2512 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2513 fi;
2514
2515 # Check whether --with-mgl or --without-mgl was given.
2516 if test "${with_mgl+set}" = set; then
2517 withval="$with_mgl"
2518 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2519 fi;
2520
2521 # Check whether --with-microwin or --without-microwin was given.
2522 if test "${with_microwin+set}" = set; then
2523 withval="$with_microwin"
2524 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2525 fi;
2526
2527 # Check whether --with-x11 or --without-x11 was given.
2528 if test "${with_x11+set}" = set; then
2529 withval="$with_x11"
2530 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2531 fi;
2532
2533 enablestring=
2534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2535 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2536 no_cache=0
2537 # Check whether --enable-nanox or --disable-nanox was given.
2538 if test "${enable_nanox+set}" = set; then
2539 enableval="$enable_nanox"
2540
2541 if test "$enableval" = yes; then
2542 ac_cv_use_nanox='wxUSE_NANOX=yes'
2543 else
2544 ac_cv_use_nanox='wxUSE_NANOX=no'
2545 fi
2546
2547 else
2548
2549 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x ; then
2551 eval "DEFAULT_$LINE"
2552 else
2553 no_cache=1
2554 fi
2555
2556 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2557
2558 fi;
2559
2560 eval "$ac_cv_use_nanox"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2563 fi
2564
2565 if test "$wxUSE_NANOX" = yes; then
2566 echo "$as_me:$LINENO: result: yes" >&5
2567 echo "${ECHO_T}yes" >&6
2568 else
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2571 fi
2572
2573
2574
2575 enablestring=
2576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2577 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2578 no_cache=0
2579 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2580 if test "${enable_gtk2+set}" = set; then
2581 enableval="$enable_gtk2"
2582
2583 if test "$enableval" = yes; then
2584 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2585 else
2586 ac_cv_use_gtk2='wxUSE_GTK2=no'
2587 fi
2588
2589 else
2590
2591 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x ; then
2593 eval "DEFAULT_$LINE"
2594 else
2595 no_cache=1
2596 fi
2597
2598 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2599
2600 fi;
2601
2602 eval "$ac_cv_use_gtk2"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2605 fi
2606
2607 if test "$wxUSE_GTK2" = yes; then
2608 echo "$as_me:$LINENO: result: yes" >&5
2609 echo "${ECHO_T}yes" >&6
2610 else
2611 echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6
2613 fi
2614
2615
2616
2617 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2618 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2619 no_cache=0
2620
2621 # Check whether --with-libpng or --without-libpng was given.
2622 if test "${with_libpng+set}" = set; then
2623 withval="$with_libpng"
2624
2625 if test "$withval" = yes; then
2626 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2627 elif test "$withval" = no; then
2628 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2629 elif test "$withval" = sys; then
2630 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2631 elif test "$withval" = builtin; then
2632 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2633 else
2634 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2635 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2636 { (exit 1); exit 1; }; }
2637 fi
2638
2639 else
2640
2641 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2642 if test "x$LINE" != x ; then
2643 eval "DEFAULT_$LINE"
2644 else
2645 no_cache=1
2646 fi
2647
2648 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2649
2650 fi;
2651
2652 eval "$ac_cv_use_libpng"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2655 fi
2656
2657 if test "$wxUSE_LIBPNG" = yes; then
2658 echo "$as_me:$LINENO: result: yes" >&5
2659 echo "${ECHO_T}yes" >&6
2660 elif test "$wxUSE_LIBPNG" = no; then
2661 echo "$as_me:$LINENO: result: no" >&5
2662 echo "${ECHO_T}no" >&6
2663 elif test "$wxUSE_LIBPNG" = sys; then
2664 echo "$as_me:$LINENO: result: system version" >&5
2665 echo "${ECHO_T}system version" >&6
2666 elif test "$wxUSE_LIBPNG" = builtin; then
2667 echo "$as_me:$LINENO: result: builtin version" >&5
2668 echo "${ECHO_T}builtin version" >&6
2669 else
2670 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2671 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2672 { (exit 1); exit 1; }; }
2673 fi
2674
2675
2676 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2677 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2678 no_cache=0
2679
2680 # Check whether --with-libjpeg or --without-libjpeg was given.
2681 if test "${with_libjpeg+set}" = set; then
2682 withval="$with_libjpeg"
2683
2684 if test "$withval" = yes; then
2685 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2686 elif test "$withval" = no; then
2687 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2688 elif test "$withval" = sys; then
2689 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2690 elif test "$withval" = builtin; then
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2692 else
2693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2695 { (exit 1); exit 1; }; }
2696 fi
2697
2698 else
2699
2700 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2703 else
2704 no_cache=1
2705 fi
2706
2707 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2708
2709 fi;
2710
2711 eval "$ac_cv_use_libjpeg"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2714 fi
2715
2716 if test "$wxUSE_LIBJPEG" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2719 elif test "$wxUSE_LIBJPEG" = no; then
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2722 elif test "$wxUSE_LIBJPEG" = sys; then
2723 echo "$as_me:$LINENO: result: system version" >&5
2724 echo "${ECHO_T}system version" >&6
2725 elif test "$wxUSE_LIBJPEG" = builtin; then
2726 echo "$as_me:$LINENO: result: builtin version" >&5
2727 echo "${ECHO_T}builtin version" >&6
2728 else
2729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2731 { (exit 1); exit 1; }; }
2732 fi
2733
2734
2735 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2736 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2737 no_cache=0
2738
2739 # Check whether --with-libtiff or --without-libtiff was given.
2740 if test "${with_libtiff+set}" = set; then
2741 withval="$with_libtiff"
2742
2743 if test "$withval" = yes; then
2744 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2745 elif test "$withval" = no; then
2746 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2747 elif test "$withval" = sys; then
2748 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2749 elif test "$withval" = builtin; then
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2751 else
2752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2753 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2754 { (exit 1); exit 1; }; }
2755 fi
2756
2757 else
2758
2759 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x ; then
2761 eval "DEFAULT_$LINE"
2762 else
2763 no_cache=1
2764 fi
2765
2766 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2767
2768 fi;
2769
2770 eval "$ac_cv_use_libtiff"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2773 fi
2774
2775 if test "$wxUSE_LIBTIFF" = yes; then
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 elif test "$wxUSE_LIBTIFF" = no; then
2779 echo "$as_me:$LINENO: result: no" >&5
2780 echo "${ECHO_T}no" >&6
2781 elif test "$wxUSE_LIBTIFF" = sys; then
2782 echo "$as_me:$LINENO: result: system version" >&5
2783 echo "${ECHO_T}system version" >&6
2784 elif test "$wxUSE_LIBTIFF" = builtin; then
2785 echo "$as_me:$LINENO: result: builtin version" >&5
2786 echo "${ECHO_T}builtin version" >&6
2787 else
2788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2789 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2790 { (exit 1); exit 1; }; }
2791 fi
2792
2793
2794 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2795 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2796 no_cache=0
2797
2798 # Check whether --with-libxpm or --without-libxpm was given.
2799 if test "${with_libxpm+set}" = set; then
2800 withval="$with_libxpm"
2801
2802 if test "$withval" = yes; then
2803 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2804 elif test "$withval" = no; then
2805 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2806 elif test "$withval" = sys; then
2807 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2808 elif test "$withval" = builtin; then
2809 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2810 else
2811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2812 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2813 { (exit 1); exit 1; }; }
2814 fi
2815
2816 else
2817
2818 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x ; then
2820 eval "DEFAULT_$LINE"
2821 else
2822 no_cache=1
2823 fi
2824
2825 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2826
2827 fi;
2828
2829 eval "$ac_cv_use_libxpm"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2832 fi
2833
2834 if test "$wxUSE_LIBXPM" = yes; then
2835 echo "$as_me:$LINENO: result: yes" >&5
2836 echo "${ECHO_T}yes" >&6
2837 elif test "$wxUSE_LIBXPM" = no; then
2838 echo "$as_me:$LINENO: result: no" >&5
2839 echo "${ECHO_T}no" >&6
2840 elif test "$wxUSE_LIBXPM" = sys; then
2841 echo "$as_me:$LINENO: result: system version" >&5
2842 echo "${ECHO_T}system version" >&6
2843 elif test "$wxUSE_LIBXPM" = builtin; then
2844 echo "$as_me:$LINENO: result: builtin version" >&5
2845 echo "${ECHO_T}builtin version" >&6
2846 else
2847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2848 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2849 { (exit 1); exit 1; }; }
2850 fi
2851
2852
2853 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2854 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2855 no_cache=0
2856
2857 # Check whether --with-libmspack or --without-libmspack was given.
2858 if test "${with_libmspack+set}" = set; then
2859 withval="$with_libmspack"
2860
2861 if test "$withval" = yes; then
2862 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2863 else
2864 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2865 fi
2866
2867 else
2868
2869 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x ; then
2871 eval "DEFAULT_$LINE"
2872 else
2873 no_cache=1
2874 fi
2875
2876 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2877
2878 fi;
2879
2880 eval "$ac_cv_use_libmspack"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2883 fi
2884
2885 if test "$wxUSE_LIBMSPACK" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2888 else
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2891 fi
2892
2893
2894 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2895 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2896 no_cache=0
2897
2898 # Check whether --with-opengl or --without-opengl was given.
2899 if test "${with_opengl+set}" = set; then
2900 withval="$with_opengl"
2901
2902 if test "$withval" = yes; then
2903 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2904 else
2905 ac_cv_use_opengl='wxUSE_OPENGL=no'
2906 fi
2907
2908 else
2909
2910 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x ; then
2912 eval "DEFAULT_$LINE"
2913 else
2914 no_cache=1
2915 fi
2916
2917 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2918
2919 fi;
2920
2921 eval "$ac_cv_use_opengl"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2924 fi
2925
2926 if test "$wxUSE_OPENGL" = yes; then
2927 echo "$as_me:$LINENO: result: yes" >&5
2928 echo "${ECHO_T}yes" >&6
2929 else
2930 echo "$as_me:$LINENO: result: no" >&5
2931 echo "${ECHO_T}no" >&6
2932 fi
2933
2934
2935 fi
2936
2937
2938 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2939 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2940 no_cache=0
2941
2942 # Check whether --with-dmalloc or --without-dmalloc was given.
2943 if test "${with_dmalloc+set}" = set; then
2944 withval="$with_dmalloc"
2945
2946 if test "$withval" = yes; then
2947 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2948 else
2949 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2950 fi
2951
2952 else
2953
2954 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x ; then
2956 eval "DEFAULT_$LINE"
2957 else
2958 no_cache=1
2959 fi
2960
2961 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2962
2963 fi;
2964
2965 eval "$ac_cv_use_dmalloc"
2966 if test "$no_cache" != 1; then
2967 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2968 fi
2969
2970 if test "$wxUSE_DMALLOC" = yes; then
2971 echo "$as_me:$LINENO: result: yes" >&5
2972 echo "${ECHO_T}yes" >&6
2973 else
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2976 fi
2977
2978
2979 echo "$as_me:$LINENO: checking for --with-regex" >&5
2980 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2981 no_cache=0
2982
2983 # Check whether --with-regex or --without-regex was given.
2984 if test "${with_regex+set}" = set; then
2985 withval="$with_regex"
2986
2987 if test "$withval" = yes; then
2988 ac_cv_use_regex='wxUSE_REGEX=yes'
2989 elif test "$withval" = no; then
2990 ac_cv_use_regex='wxUSE_REGEX=no'
2991 elif test "$withval" = sys; then
2992 ac_cv_use_regex='wxUSE_REGEX=sys'
2993 elif test "$withval" = builtin; then
2994 ac_cv_use_regex='wxUSE_REGEX=builtin'
2995 else
2996 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2997 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2998 { (exit 1); exit 1; }; }
2999 fi
3000
3001 else
3002
3003 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3006 else
3007 no_cache=1
3008 fi
3009
3010 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3011
3012 fi;
3013
3014 eval "$ac_cv_use_regex"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3017 fi
3018
3019 if test "$wxUSE_REGEX" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3022 elif test "$wxUSE_REGEX" = no; then
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3025 elif test "$wxUSE_REGEX" = sys; then
3026 echo "$as_me:$LINENO: result: system version" >&5
3027 echo "${ECHO_T}system version" >&6
3028 elif test "$wxUSE_REGEX" = builtin; then
3029 echo "$as_me:$LINENO: result: builtin version" >&5
3030 echo "${ECHO_T}builtin version" >&6
3031 else
3032 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3033 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3034 { (exit 1); exit 1; }; }
3035 fi
3036
3037
3038 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3039 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3040 no_cache=0
3041
3042 # Check whether --with-zlib or --without-zlib was given.
3043 if test "${with_zlib+set}" = set; then
3044 withval="$with_zlib"
3045
3046 if test "$withval" = yes; then
3047 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3048 elif test "$withval" = no; then
3049 ac_cv_use_zlib='wxUSE_ZLIB=no'
3050 elif test "$withval" = sys; then
3051 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3052 elif test "$withval" = builtin; then
3053 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3054 else
3055 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3056 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3057 { (exit 1); exit 1; }; }
3058 fi
3059
3060 else
3061
3062 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3065 else
3066 no_cache=1
3067 fi
3068
3069 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3070
3071 fi;
3072
3073 eval "$ac_cv_use_zlib"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3076 fi
3077
3078 if test "$wxUSE_ZLIB" = yes; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3081 elif test "$wxUSE_ZLIB" = no; then
3082 echo "$as_me:$LINENO: result: no" >&5
3083 echo "${ECHO_T}no" >&6
3084 elif test "$wxUSE_ZLIB" = sys; then
3085 echo "$as_me:$LINENO: result: system version" >&5
3086 echo "${ECHO_T}system version" >&6
3087 elif test "$wxUSE_ZLIB" = builtin; then
3088 echo "$as_me:$LINENO: result: builtin version" >&5
3089 echo "${ECHO_T}builtin version" >&6
3090 else
3091 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3092 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3093 { (exit 1); exit 1; }; }
3094 fi
3095
3096
3097 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3098 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3099 no_cache=0
3100
3101 # Check whether --with-odbc or --without-odbc was given.
3102 if test "${with_odbc+set}" = set; then
3103 withval="$with_odbc"
3104
3105 if test "$withval" = yes; then
3106 ac_cv_use_odbc='wxUSE_ODBC=yes'
3107 elif test "$withval" = no; then
3108 ac_cv_use_odbc='wxUSE_ODBC=no'
3109 elif test "$withval" = sys; then
3110 ac_cv_use_odbc='wxUSE_ODBC=sys'
3111 elif test "$withval" = builtin; then
3112 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3113 else
3114 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3115 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3116 { (exit 1); exit 1; }; }
3117 fi
3118
3119 else
3120
3121 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 else
3125 no_cache=1
3126 fi
3127
3128 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3129
3130 fi;
3131
3132 eval "$ac_cv_use_odbc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3135 fi
3136
3137 if test "$wxUSE_ODBC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3140 elif test "$wxUSE_ODBC" = no; then
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3143 elif test "$wxUSE_ODBC" = sys; then
3144 echo "$as_me:$LINENO: result: system version" >&5
3145 echo "${ECHO_T}system version" >&6
3146 elif test "$wxUSE_ODBC" = builtin; then
3147 echo "$as_me:$LINENO: result: builtin version" >&5
3148 echo "${ECHO_T}builtin version" >&6
3149 else
3150 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3151 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3152 { (exit 1); exit 1; }; }
3153 fi
3154
3155
3156 echo "$as_me:$LINENO: checking for --with-expat" >&5
3157 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3158 no_cache=0
3159
3160 # Check whether --with-expat or --without-expat was given.
3161 if test "${with_expat+set}" = set; then
3162 withval="$with_expat"
3163
3164 if test "$withval" = yes; then
3165 ac_cv_use_expat='wxUSE_EXPAT=yes'
3166 elif test "$withval" = no; then
3167 ac_cv_use_expat='wxUSE_EXPAT=no'
3168 elif test "$withval" = sys; then
3169 ac_cv_use_expat='wxUSE_EXPAT=sys'
3170 elif test "$withval" = builtin; then
3171 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3172 else
3173 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3174 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3175 { (exit 1); exit 1; }; }
3176 fi
3177
3178 else
3179
3180 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3181 if test "x$LINE" != x ; then
3182 eval "DEFAULT_$LINE"
3183 else
3184 no_cache=1
3185 fi
3186
3187 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3188
3189 fi;
3190
3191 eval "$ac_cv_use_expat"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3194 fi
3195
3196 if test "$wxUSE_EXPAT" = yes; then
3197 echo "$as_me:$LINENO: result: yes" >&5
3198 echo "${ECHO_T}yes" >&6
3199 elif test "$wxUSE_EXPAT" = no; then
3200 echo "$as_me:$LINENO: result: no" >&5
3201 echo "${ECHO_T}no" >&6
3202 elif test "$wxUSE_EXPAT" = sys; then
3203 echo "$as_me:$LINENO: result: system version" >&5
3204 echo "${ECHO_T}system version" >&6
3205 elif test "$wxUSE_EXPAT" = builtin; then
3206 echo "$as_me:$LINENO: result: builtin version" >&5
3207 echo "${ECHO_T}builtin version" >&6
3208 else
3209 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3210 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3211 { (exit 1); exit 1; }; }
3212 fi
3213
3214
3215
3216
3217 enablestring=
3218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3219 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3220 no_cache=0
3221 # Check whether --enable-shared or --disable-shared was given.
3222 if test "${enable_shared+set}" = set; then
3223 enableval="$enable_shared"
3224
3225 if test "$enableval" = yes; then
3226 ac_cv_use_shared='wxUSE_SHARED=yes'
3227 else
3228 ac_cv_use_shared='wxUSE_SHARED=no'
3229 fi
3230
3231 else
3232
3233 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3234 if test "x$LINE" != x ; then
3235 eval "DEFAULT_$LINE"
3236 else
3237 no_cache=1
3238 fi
3239
3240 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3241
3242 fi;
3243
3244 eval "$ac_cv_use_shared"
3245 if test "$no_cache" != 1; then
3246 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3247 fi
3248
3249 if test "$wxUSE_SHARED" = yes; then
3250 echo "$as_me:$LINENO: result: yes" >&5
3251 echo "${ECHO_T}yes" >&6
3252 else
3253 echo "$as_me:$LINENO: result: no" >&5
3254 echo "${ECHO_T}no" >&6
3255 fi
3256
3257
3258 enablestring=
3259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3260 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3261 no_cache=0
3262 # Check whether --enable-optimise or --disable-optimise was given.
3263 if test "${enable_optimise+set}" = set; then
3264 enableval="$enable_optimise"
3265
3266 if test "$enableval" = yes; then
3267 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3268 else
3269 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3270 fi
3271
3272 else
3273
3274 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3277 else
3278 no_cache=1
3279 fi
3280
3281 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3282
3283 fi;
3284
3285 eval "$ac_cv_use_optimise"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3288 fi
3289
3290 if test "$wxUSE_OPTIMISE" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3293 else
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3296 fi
3297
3298
3299 enablestring=
3300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3301 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3302 no_cache=0
3303 # Check whether --enable-debug or --disable-debug was given.
3304 if test "${enable_debug+set}" = set; then
3305 enableval="$enable_debug"
3306
3307 if test "$enableval" = yes; then
3308 ac_cv_use_debug='wxUSE_DEBUG=yes'
3309 else
3310 ac_cv_use_debug='wxUSE_DEBUG=no'
3311 fi
3312
3313 else
3314
3315 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x ; then
3317 eval "DEFAULT_$LINE"
3318 else
3319 no_cache=1
3320 fi
3321
3322 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3323
3324 fi;
3325
3326 eval "$ac_cv_use_debug"
3327 if test "$no_cache" != 1; then
3328 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3329 fi
3330
3331 if test "$wxUSE_DEBUG" = yes; then
3332 echo "$as_me:$LINENO: result: yes" >&5
3333 echo "${ECHO_T}yes" >&6
3334 else
3335 echo "$as_me:$LINENO: result: no" >&5
3336 echo "${ECHO_T}no" >&6
3337 fi
3338
3339
3340 enablestring=
3341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3342 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3343 no_cache=0
3344 # Check whether --enable-stl or --disable-stl was given.
3345 if test "${enable_stl+set}" = set; then
3346 enableval="$enable_stl"
3347
3348 if test "$enableval" = yes; then
3349 ac_cv_use_stl='wxUSE_STL=yes'
3350 else
3351 ac_cv_use_stl='wxUSE_STL=no'
3352 fi
3353
3354 else
3355
3356 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3357 if test "x$LINE" != x ; then
3358 eval "DEFAULT_$LINE"
3359 else
3360 no_cache=1
3361 fi
3362
3363 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3364
3365 fi;
3366
3367 eval "$ac_cv_use_stl"
3368 if test "$no_cache" != 1; then
3369 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test "$wxUSE_STL" = yes; then
3373 echo "$as_me:$LINENO: result: yes" >&5
3374 echo "${ECHO_T}yes" >&6
3375 else
3376 echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6
3378 fi
3379
3380
3381 if test "$wxUSE_DEBUG" = "yes"; then
3382 DEFAULT_wxUSE_DEBUG_FLAG=yes
3383 DEFAULT_wxUSE_DEBUG_INFO=yes
3384 BUILD=debug
3385 elif test "$wxUSE_DEBUG" = "no"; then
3386 DEFAULT_wxUSE_DEBUG_FLAG=no
3387 DEFAULT_wxUSE_DEBUG_INFO=no
3388 BUILD=release
3389 fi
3390
3391
3392 enablestring=
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3395 no_cache=0
3396 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3397 if test "${enable_debug_flag+set}" = set; then
3398 enableval="$enable_debug_flag"
3399
3400 if test "$enableval" = yes; then
3401 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3402 else
3403 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3404 fi
3405
3406 else
3407
3408 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3416
3417 fi;
3418
3419 eval "$ac_cv_use_debug_flag"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3422 fi
3423
3424 if test "$wxUSE_DEBUG_FLAG" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3427 else
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3430 fi
3431
3432
3433 enablestring=
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3436 no_cache=0
3437 # Check whether --enable-debug_info or --disable-debug_info was given.
3438 if test "${enable_debug_info+set}" = set; then
3439 enableval="$enable_debug_info"
3440
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3443 else
3444 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3445 fi
3446
3447 else
3448
3449 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3452 else
3453 no_cache=1
3454 fi
3455
3456 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3457
3458 fi;
3459
3460 eval "$ac_cv_use_debug_info"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3463 fi
3464
3465 if test "$wxUSE_DEBUG_INFO" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3468 else
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3471 fi
3472
3473
3474 enablestring=
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3477 no_cache=0
3478 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3479 if test "${enable_debug_gdb+set}" = set; then
3480 enableval="$enable_debug_gdb"
3481
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3484 else
3485 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3486 fi
3487
3488 else
3489
3490 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3493 else
3494 no_cache=1
3495 fi
3496
3497 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3498
3499 fi;
3500
3501 eval "$ac_cv_use_debug_gdb"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3504 fi
3505
3506 if test "$wxUSE_DEBUG_GDB" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3509 else
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3512 fi
3513
3514
3515 enablestring=
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3518 no_cache=0
3519 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3520 if test "${enable_debug_cntxt+set}" = set; then
3521 enableval="$enable_debug_cntxt"
3522
3523 if test "$enableval" = yes; then
3524 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3525 else
3526 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3527 fi
3528
3529 else
3530
3531 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3534 else
3535 no_cache=1
3536 fi
3537
3538 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3539
3540 fi;
3541
3542 eval "$ac_cv_use_debug_cntxt"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3545 fi
3546
3547 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549 echo "${ECHO_T}yes" >&6
3550 else
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3553 fi
3554
3555
3556 enablestring=
3557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3558 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3559 no_cache=0
3560 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3561 if test "${enable_mem_tracing+set}" = set; then
3562 enableval="$enable_mem_tracing"
3563
3564 if test "$enableval" = yes; then
3565 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3566 else
3567 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3568 fi
3569
3570 else
3571
3572 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x ; then
3574 eval "DEFAULT_$LINE"
3575 else
3576 no_cache=1
3577 fi
3578
3579 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3580
3581 fi;
3582
3583 eval "$ac_cv_use_mem_tracing"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3586 fi
3587
3588 if test "$wxUSE_MEM_TRACING" = yes; then
3589 echo "$as_me:$LINENO: result: yes" >&5
3590 echo "${ECHO_T}yes" >&6
3591 else
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3594 fi
3595
3596
3597 enablestring=
3598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3599 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3600 no_cache=0
3601 # Check whether --enable-profile or --disable-profile was given.
3602 if test "${enable_profile+set}" = set; then
3603 enableval="$enable_profile"
3604
3605 if test "$enableval" = yes; then
3606 ac_cv_use_profile='wxUSE_PROFILE=yes'
3607 else
3608 ac_cv_use_profile='wxUSE_PROFILE=no'
3609 fi
3610
3611 else
3612
3613 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3614 if test "x$LINE" != x ; then
3615 eval "DEFAULT_$LINE"
3616 else
3617 no_cache=1
3618 fi
3619
3620 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3621
3622 fi;
3623
3624 eval "$ac_cv_use_profile"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3627 fi
3628
3629 if test "$wxUSE_PROFILE" = yes; then
3630 echo "$as_me:$LINENO: result: yes" >&5
3631 echo "${ECHO_T}yes" >&6
3632 else
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3635 fi
3636
3637
3638 enablestring=
3639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3640 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3641 no_cache=0
3642 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3643 if test "${enable_no_rtti+set}" = set; then
3644 enableval="$enable_no_rtti"
3645
3646 if test "$enableval" = yes; then
3647 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3648 else
3649 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3650 fi
3651
3652 else
3653
3654 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x ; then
3656 eval "DEFAULT_$LINE"
3657 else
3658 no_cache=1
3659 fi
3660
3661 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3662
3663 fi;
3664
3665 eval "$ac_cv_use_no_rtti"
3666 if test "$no_cache" != 1; then
3667 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3668 fi
3669
3670 if test "$wxUSE_NO_RTTI" = yes; then
3671 echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6
3673 else
3674 echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6
3676 fi
3677
3678
3679 enablestring=
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3682 no_cache=0
3683 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3684 if test "${enable_no_exceptions+set}" = set; then
3685 enableval="$enable_no_exceptions"
3686
3687 if test "$enableval" = yes; then
3688 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3689 else
3690 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3691 fi
3692
3693 else
3694
3695 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3698 else
3699 no_cache=1
3700 fi
3701
3702 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3703
3704 fi;
3705
3706 eval "$ac_cv_use_no_exceptions"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3709 fi
3710
3711 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3712 echo "$as_me:$LINENO: result: yes" >&5
3713 echo "${ECHO_T}yes" >&6
3714 else
3715 echo "$as_me:$LINENO: result: no" >&5
3716 echo "${ECHO_T}no" >&6
3717 fi
3718
3719
3720 enablestring=
3721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3722 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3723 no_cache=0
3724 # Check whether --enable-permissive or --disable-permissive was given.
3725 if test "${enable_permissive+set}" = set; then
3726 enableval="$enable_permissive"
3727
3728 if test "$enableval" = yes; then
3729 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3730 else
3731 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3732 fi
3733
3734 else
3735
3736 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x ; then
3738 eval "DEFAULT_$LINE"
3739 else
3740 no_cache=1
3741 fi
3742
3743 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3744
3745 fi;
3746
3747 eval "$ac_cv_use_permissive"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3750 fi
3751
3752 if test "$wxUSE_PERMISSIVE" = yes; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3755 else
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3758 fi
3759
3760
3761 enablestring=
3762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3763 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3764 no_cache=0
3765 # Check whether --enable-no_deps or --disable-no_deps was given.
3766 if test "${enable_no_deps+set}" = set; then
3767 enableval="$enable_no_deps"
3768
3769 if test "$enableval" = yes; then
3770 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3771 else
3772 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3773 fi
3774
3775 else
3776
3777 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x ; then
3779 eval "DEFAULT_$LINE"
3780 else
3781 no_cache=1
3782 fi
3783
3784 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3785
3786 fi;
3787
3788 eval "$ac_cv_use_no_deps"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3791 fi
3792
3793 if test "$wxUSE_NO_DEPS" = yes; then
3794 echo "$as_me:$LINENO: result: yes" >&5
3795 echo "${ECHO_T}yes" >&6
3796 else
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3799 fi
3800
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-compat22 or --disable-compat22 was given.
3808 if test "${enable_compat22+set}" = set; then
3809 enableval="$enable_compat22"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3813 else
3814 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3815 fi
3816
3817 else
3818
3819 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3827
3828 fi;
3829
3830 eval "$ac_cv_use_compat22"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=disable
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-compat24 or --disable-compat24 was given.
3849 if test "${enable_compat24+set}" = set; then
3850 enableval="$enable_compat24"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3854 else
3855 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3856 fi
3857
3858 else
3859
3860 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3868
3869 fi;
3870
3871 eval "$ac_cv_use_compat24"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885 # Check whether --enable-rpath or --disable-rpath was given.
3886 if test "${enable_rpath+set}" = set; then
3887 enableval="$enable_rpath"
3888 wxRPATH_DIR="$enableval"
3889 fi;
3890
3891 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3892 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3893 fi
3894
3895
3896
3897
3898 enablestring=
3899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3900 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3901 no_cache=0
3902 # Check whether --enable-intl or --disable-intl was given.
3903 if test "${enable_intl+set}" = set; then
3904 enableval="$enable_intl"
3905
3906 if test "$enableval" = yes; then
3907 ac_cv_use_intl='wxUSE_INTL=yes'
3908 else
3909 ac_cv_use_intl='wxUSE_INTL=no'
3910 fi
3911
3912 else
3913
3914 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x ; then
3916 eval "DEFAULT_$LINE"
3917 else
3918 no_cache=1
3919 fi
3920
3921 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3922
3923 fi;
3924
3925 eval "$ac_cv_use_intl"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3928 fi
3929
3930 if test "$wxUSE_INTL" = yes; then
3931 echo "$as_me:$LINENO: result: yes" >&5
3932 echo "${ECHO_T}yes" >&6
3933 else
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3936 fi
3937
3938
3939 enablestring=
3940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3941 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3942 no_cache=0
3943 # Check whether --enable-config or --disable-config was given.
3944 if test "${enable_config+set}" = set; then
3945 enableval="$enable_config"
3946
3947 if test "$enableval" = yes; then
3948 ac_cv_use_config='wxUSE_CONFIG=yes'
3949 else
3950 ac_cv_use_config='wxUSE_CONFIG=no'
3951 fi
3952
3953 else
3954
3955 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x ; then
3957 eval "DEFAULT_$LINE"
3958 else
3959 no_cache=1
3960 fi
3961
3962 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3963
3964 fi;
3965
3966 eval "$ac_cv_use_config"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3969 fi
3970
3971 if test "$wxUSE_CONFIG" = yes; then
3972 echo "$as_me:$LINENO: result: yes" >&5
3973 echo "${ECHO_T}yes" >&6
3974 else
3975 echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6
3977 fi
3978
3979
3980
3981 enablestring=
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3984 no_cache=0
3985 # Check whether --enable-protocols or --disable-protocols was given.
3986 if test "${enable_protocols+set}" = set; then
3987 enableval="$enable_protocols"
3988
3989 if test "$enableval" = yes; then
3990 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3991 else
3992 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3993 fi
3994
3995 else
3996
3997 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4000 else
4001 no_cache=1
4002 fi
4003
4004 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4005
4006 fi;
4007
4008 eval "$ac_cv_use_protocols"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4011 fi
4012
4013 if test "$wxUSE_PROTOCOL" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4016 else
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4019 fi
4020
4021
4022 enablestring=
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4025 no_cache=0
4026 # Check whether --enable-ftp or --disable-ftp was given.
4027 if test "${enable_ftp+set}" = set; then
4028 enableval="$enable_ftp"
4029
4030 if test "$enableval" = yes; then
4031 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4032 else
4033 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4034 fi
4035
4036 else
4037
4038 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4041 else
4042 no_cache=1
4043 fi
4044
4045 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4046
4047 fi;
4048
4049 eval "$ac_cv_use_ftp"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4052 fi
4053
4054 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4060 fi
4061
4062
4063 enablestring=
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4066 no_cache=0
4067 # Check whether --enable-http or --disable-http was given.
4068 if test "${enable_http+set}" = set; then
4069 enableval="$enable_http"
4070
4071 if test "$enableval" = yes; then
4072 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4073 else
4074 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4075 fi
4076
4077 else
4078
4079 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 else
4083 no_cache=1
4084 fi
4085
4086 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4087
4088 fi;
4089
4090 eval "$ac_cv_use_http"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4093 fi
4094
4095 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4101 fi
4102
4103
4104 enablestring=
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4107 no_cache=0
4108 # Check whether --enable-fileproto or --disable-fileproto was given.
4109 if test "${enable_fileproto+set}" = set; then
4110 enableval="$enable_fileproto"
4111
4112 if test "$enableval" = yes; then
4113 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4114 else
4115 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4116 fi
4117
4118 else
4119
4120 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 else
4124 no_cache=1
4125 fi
4126
4127 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4128
4129 fi;
4130
4131 eval "$ac_cv_use_fileproto"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4139 else
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4142 fi
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-sockets or --disable-sockets was given.
4150 if test "${enable_sockets+set}" = set; then
4151 enableval="$enable_sockets"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4155 else
4156 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4157 fi
4158
4159 else
4160
4161 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4169
4170 fi;
4171
4172 eval "$ac_cv_use_sockets"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_SOCKETS" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-ole or --disable-ole was given.
4191 if test "${enable_ole+set}" = set; then
4192 enableval="$enable_ole"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_ole='wxUSE_OLE=yes'
4196 else
4197 ac_cv_use_ole='wxUSE_OLE=no'
4198 fi
4199
4200 else
4201
4202 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4210
4211 fi;
4212
4213 eval "$ac_cv_use_ole"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_OLE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-dataobj or --disable-dataobj was given.
4232 if test "${enable_dataobj+set}" = set; then
4233 enableval="$enable_dataobj"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4237 else
4238 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4239 fi
4240
4241 else
4242
4243 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4251
4252 fi;
4253
4254 eval "$ac_cv_use_dataobj"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_DATAOBJ" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268
4269 enablestring=
4270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4271 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4272 no_cache=0
4273 # Check whether --enable-ipc or --disable-ipc was given.
4274 if test "${enable_ipc+set}" = set; then
4275 enableval="$enable_ipc"
4276
4277 if test "$enableval" = yes; then
4278 ac_cv_use_ipc='wxUSE_IPC=yes'
4279 else
4280 ac_cv_use_ipc='wxUSE_IPC=no'
4281 fi
4282
4283 else
4284
4285 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4286 if test "x$LINE" != x ; then
4287 eval "DEFAULT_$LINE"
4288 else
4289 no_cache=1
4290 fi
4291
4292 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4293
4294 fi;
4295
4296 eval "$ac_cv_use_ipc"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4299 fi
4300
4301 if test "$wxUSE_IPC" = yes; then
4302 echo "$as_me:$LINENO: result: yes" >&5
4303 echo "${ECHO_T}yes" >&6
4304 else
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4307 fi
4308
4309
4310
4311 enablestring=
4312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4313 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4314 no_cache=0
4315 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4316 if test "${enable_apple_ieee+set}" = set; then
4317 enableval="$enable_apple_ieee"
4318
4319 if test "$enableval" = yes; then
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4321 else
4322 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4323 fi
4324
4325 else
4326
4327 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4330 else
4331 no_cache=1
4332 fi
4333
4334 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4335
4336 fi;
4337
4338 eval "$ac_cv_use_apple_ieee"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4341 fi
4342
4343 if test "$wxUSE_APPLE_IEEE" = yes; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4346 else
4347 echo "$as_me:$LINENO: result: no" >&5
4348 echo "${ECHO_T}no" >&6
4349 fi
4350
4351
4352 enablestring=
4353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4354 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4355 no_cache=0
4356 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4357 if test "${enable_catch_segvs+set}" = set; then
4358 enableval="$enable_catch_segvs"
4359
4360 if test "$enableval" = yes; then
4361 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4362 else
4363 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4364 fi
4365
4366 else
4367
4368 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4369 if test "x$LINE" != x ; then
4370 eval "DEFAULT_$LINE"
4371 else
4372 no_cache=1
4373 fi
4374
4375 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4376
4377 fi;
4378
4379 eval "$ac_cv_use_catch_segvs"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4382 fi
4383
4384 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6
4387 else
4388 echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6
4390 fi
4391
4392
4393 enablestring=
4394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4395 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4396 no_cache=0
4397 # Check whether --enable-cmdline or --disable-cmdline was given.
4398 if test "${enable_cmdline+set}" = set; then
4399 enableval="$enable_cmdline"
4400
4401 if test "$enableval" = yes; then
4402 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4403 else
4404 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4405 fi
4406
4407 else
4408
4409 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4412 else
4413 no_cache=1
4414 fi
4415
4416 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4417
4418 fi;
4419
4420 eval "$ac_cv_use_cmdline"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4423 fi
4424
4425 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4426 echo "$as_me:$LINENO: result: yes" >&5
4427 echo "${ECHO_T}yes" >&6
4428 else
4429 echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6
4431 fi
4432
4433
4434 enablestring=
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4437 no_cache=0
4438 # Check whether --enable-datetime or --disable-datetime was given.
4439 if test "${enable_datetime+set}" = set; then
4440 enableval="$enable_datetime"
4441
4442 if test "$enableval" = yes; then
4443 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4444 else
4445 ac_cv_use_datetime='wxUSE_DATETIME=no'
4446 fi
4447
4448 else
4449
4450 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4453 else
4454 no_cache=1
4455 fi
4456
4457 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4458
4459 fi;
4460
4461 eval "$ac_cv_use_datetime"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4464 fi
4465
4466 if test "$wxUSE_DATETIME" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4469 else
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4472 fi
4473
4474
4475 enablestring=
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4478 no_cache=0
4479 # Check whether --enable-dialupman or --disable-dialupman was given.
4480 if test "${enable_dialupman+set}" = set; then
4481 enableval="$enable_dialupman"
4482
4483 if test "$enableval" = yes; then
4484 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4485 else
4486 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4487 fi
4488
4489 else
4490
4491 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4494 else
4495 no_cache=1
4496 fi
4497
4498 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4499
4500 fi;
4501
4502 eval "$ac_cv_use_dialupman"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6
4510 else
4511 echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6
4513 fi
4514
4515
4516 enablestring=
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4518 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4519 no_cache=0
4520 # Check whether --enable-dynlib or --disable-dynlib was given.
4521 if test "${enable_dynlib+set}" = set; then
4522 enableval="$enable_dynlib"
4523
4524 if test "$enableval" = yes; then
4525 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4526 else
4527 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4528 fi
4529
4530 else
4531
4532 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4535 else
4536 no_cache=1
4537 fi
4538
4539 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4540
4541 fi;
4542
4543 eval "$ac_cv_use_dynlib"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4546 fi
4547
4548 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4551 else
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4554 fi
4555
4556
4557 enablestring=
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4560 no_cache=0
4561 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4562 if test "${enable_dynamicloader+set}" = set; then
4563 enableval="$enable_dynamicloader"
4564
4565 if test "$enableval" = yes; then
4566 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4567 else
4568 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4569 fi
4570
4571 else
4572
4573 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4576 else
4577 no_cache=1
4578 fi
4579
4580 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4581
4582 fi;
4583
4584 eval "$ac_cv_use_dynamicloader"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4587 fi
4588
4589 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6
4592 else
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4595 fi
4596
4597
4598 enablestring=
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4601 no_cache=0
4602 # Check whether --enable-exceptions or --disable-exceptions was given.
4603 if test "${enable_exceptions+set}" = set; then
4604 enableval="$enable_exceptions"
4605
4606 if test "$enableval" = yes; then
4607 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4608 else
4609 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4610 fi
4611
4612 else
4613
4614 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4617 else
4618 no_cache=1
4619 fi
4620
4621 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4622
4623 fi;
4624
4625 eval "$ac_cv_use_exceptions"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4628 fi
4629
4630 if test "$wxUSE_EXCEPTIONS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6
4633 else
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4636 fi
4637
4638
4639 enablestring=
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4642 no_cache=0
4643 # Check whether --enable-ffile or --disable-ffile was given.
4644 if test "${enable_ffile+set}" = set; then
4645 enableval="$enable_ffile"
4646
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ffile='wxUSE_FFILE=yes'
4649 else
4650 ac_cv_use_ffile='wxUSE_FFILE=no'
4651 fi
4652
4653 else
4654
4655 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4658 else
4659 no_cache=1
4660 fi
4661
4662 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4663
4664 fi;
4665
4666 eval "$ac_cv_use_ffile"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4669 fi
4670
4671 if test "$wxUSE_FFILE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673 echo "${ECHO_T}yes" >&6
4674 else
4675 echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6
4677 fi
4678
4679
4680 enablestring=
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4683 no_cache=0
4684 # Check whether --enable-file or --disable-file was given.
4685 if test "${enable_file+set}" = set; then
4686 enableval="$enable_file"
4687
4688 if test "$enableval" = yes; then
4689 ac_cv_use_file='wxUSE_FILE=yes'
4690 else
4691 ac_cv_use_file='wxUSE_FILE=no'
4692 fi
4693
4694 else
4695
4696 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4699 else
4700 no_cache=1
4701 fi
4702
4703 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4704
4705 fi;
4706
4707 eval "$ac_cv_use_file"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4710 fi
4711
4712 if test "$wxUSE_FILE" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6
4715 else
4716 echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6
4718 fi
4719
4720
4721 enablestring=
4722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4723 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4724 no_cache=0
4725 # Check whether --enable-filesystem or --disable-filesystem was given.
4726 if test "${enable_filesystem+set}" = set; then
4727 enableval="$enable_filesystem"
4728
4729 if test "$enableval" = yes; then
4730 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4731 else
4732 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4733 fi
4734
4735 else
4736
4737 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4740 else
4741 no_cache=1
4742 fi
4743
4744 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4745
4746 fi;
4747
4748 eval "$ac_cv_use_filesystem"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4751 fi
4752
4753 if test "$wxUSE_FILESYSTEM" = yes; then
4754 echo "$as_me:$LINENO: result: yes" >&5
4755 echo "${ECHO_T}yes" >&6
4756 else
4757 echo "$as_me:$LINENO: result: no" >&5
4758 echo "${ECHO_T}no" >&6
4759 fi
4760
4761
4762 enablestring=
4763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4764 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4765 no_cache=0
4766 # Check whether --enable-fontmap or --disable-fontmap was given.
4767 if test "${enable_fontmap+set}" = set; then
4768 enableval="$enable_fontmap"
4769
4770 if test "$enableval" = yes; then
4771 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4772 else
4773 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4774 fi
4775
4776 else
4777
4778 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4781 else
4782 no_cache=1
4783 fi
4784
4785 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4786
4787 fi;
4788
4789 eval "$ac_cv_use_fontmap"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4792 fi
4793
4794 if test "$wxUSE_FONTMAP" = yes; then
4795 echo "$as_me:$LINENO: result: yes" >&5
4796 echo "${ECHO_T}yes" >&6
4797 else
4798 echo "$as_me:$LINENO: result: no" >&5
4799 echo "${ECHO_T}no" >&6
4800 fi
4801
4802
4803 enablestring=
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4806 no_cache=0
4807 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4808 if test "${enable_fs_inet+set}" = set; then
4809 enableval="$enable_fs_inet"
4810
4811 if test "$enableval" = yes; then
4812 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4813 else
4814 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4815 fi
4816
4817 else
4818
4819 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4822 else
4823 no_cache=1
4824 fi
4825
4826 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4827
4828 fi;
4829
4830 eval "$ac_cv_use_fs_inet"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4833 fi
4834
4835 if test "$wxUSE_FS_INET" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837 echo "${ECHO_T}yes" >&6
4838 else
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4841 fi
4842
4843
4844 enablestring=
4845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4847 no_cache=0
4848 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4849 if test "${enable_fs_zip+set}" = set; then
4850 enableval="$enable_fs_zip"
4851
4852 if test "$enableval" = yes; then
4853 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4854 else
4855 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4856 fi
4857
4858 else
4859
4860 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4863 else
4864 no_cache=1
4865 fi
4866
4867 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4868
4869 fi;
4870
4871 eval "$ac_cv_use_fs_zip"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4874 fi
4875
4876 if test "$wxUSE_FS_ZIP" = yes; then
4877 echo "$as_me:$LINENO: result: yes" >&5
4878 echo "${ECHO_T}yes" >&6
4879 else
4880 echo "$as_me:$LINENO: result: no" >&5
4881 echo "${ECHO_T}no" >&6
4882 fi
4883
4884
4885 enablestring=
4886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4887 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4888 no_cache=0
4889 # Check whether --enable-geometry or --disable-geometry was given.
4890 if test "${enable_geometry+set}" = set; then
4891 enableval="$enable_geometry"
4892
4893 if test "$enableval" = yes; then
4894 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4895 else
4896 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4897 fi
4898
4899 else
4900
4901 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4904 else
4905 no_cache=1
4906 fi
4907
4908 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4909
4910 fi;
4911
4912 eval "$ac_cv_use_geometry"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4915 fi
4916
4917 if test "$wxUSE_GEOMETRY" = yes; then
4918 echo "$as_me:$LINENO: result: yes" >&5
4919 echo "${ECHO_T}yes" >&6
4920 else
4921 echo "$as_me:$LINENO: result: no" >&5
4922 echo "${ECHO_T}no" >&6
4923 fi
4924
4925
4926 enablestring=
4927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4929 no_cache=0
4930 # Check whether --enable-log or --disable-log was given.
4931 if test "${enable_log+set}" = set; then
4932 enableval="$enable_log"
4933
4934 if test "$enableval" = yes; then
4935 ac_cv_use_log='wxUSE_LOG=yes'
4936 else
4937 ac_cv_use_log='wxUSE_LOG=no'
4938 fi
4939
4940 else
4941
4942 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4945 else
4946 no_cache=1
4947 fi
4948
4949 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4950
4951 fi;
4952
4953 eval "$ac_cv_use_log"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4956 fi
4957
4958 if test "$wxUSE_LOG" = yes; then
4959 echo "$as_me:$LINENO: result: yes" >&5
4960 echo "${ECHO_T}yes" >&6
4961 else
4962 echo "$as_me:$LINENO: result: no" >&5
4963 echo "${ECHO_T}no" >&6
4964 fi
4965
4966
4967 enablestring=
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4970 no_cache=0
4971 # Check whether --enable-longlong or --disable-longlong was given.
4972 if test "${enable_longlong+set}" = set; then
4973 enableval="$enable_longlong"
4974
4975 if test "$enableval" = yes; then
4976 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4977 else
4978 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4979 fi
4980
4981 else
4982
4983 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4986 else
4987 no_cache=1
4988 fi
4989
4990 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4991
4992 fi;
4993
4994 eval "$ac_cv_use_longlong"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4997 fi
4998
4999 if test "$wxUSE_LONGLONG" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5002 else
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5005 fi
5006
5007
5008 enablestring=
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5011 no_cache=0
5012 # Check whether --enable-mimetype or --disable-mimetype was given.
5013 if test "${enable_mimetype+set}" = set; then
5014 enableval="$enable_mimetype"
5015
5016 if test "$enableval" = yes; then
5017 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5018 else
5019 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5020 fi
5021
5022 else
5023
5024 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5027 else
5028 no_cache=1
5029 fi
5030
5031 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5032
5033 fi;
5034
5035 eval "$ac_cv_use_mimetype"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5038 fi
5039
5040 if test "$wxUSE_MIMETYPE" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5043 else
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5046 fi
5047
5048
5049 enablestring=
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5052 no_cache=0
5053 # Check whether --enable-mslu or --disable-mslu was given.
5054 if test "${enable_mslu+set}" = set; then
5055 enableval="$enable_mslu"
5056
5057 if test "$enableval" = yes; then
5058 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5059 else
5060 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5061 fi
5062
5063 else
5064
5065 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5068 else
5069 no_cache=1
5070 fi
5071
5072 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5073
5074 fi;
5075
5076 eval "$ac_cv_use_mslu"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5079 fi
5080
5081 if test "$wxUSE_UNICODE_MSLU" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5084 else
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5087 fi
5088
5089
5090 enablestring=
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5093 no_cache=0
5094 # Check whether --enable-snglinst or --disable-snglinst was given.
5095 if test "${enable_snglinst+set}" = set; then
5096 enableval="$enable_snglinst"
5097
5098 if test "$enableval" = yes; then
5099 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5100 else
5101 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5102 fi
5103
5104 else
5105
5106 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5109 else
5110 no_cache=1
5111 fi
5112
5113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5114
5115 fi;
5116
5117 eval "$ac_cv_use_snglinst"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5120 fi
5121
5122 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5125 else
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5128 fi
5129
5130
5131 enablestring=
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5134 no_cache=0
5135 # Check whether --enable-streams or --disable-streams was given.
5136 if test "${enable_streams+set}" = set; then
5137 enableval="$enable_streams"
5138
5139 if test "$enableval" = yes; then
5140 ac_cv_use_streams='wxUSE_STREAMS=yes'
5141 else
5142 ac_cv_use_streams='wxUSE_STREAMS=no'
5143 fi
5144
5145 else
5146
5147 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5150 else
5151 no_cache=1
5152 fi
5153
5154 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5155
5156 fi;
5157
5158 eval "$ac_cv_use_streams"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5161 fi
5162
5163 if test "$wxUSE_STREAMS" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5166 else
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5169 fi
5170
5171
5172 enablestring=
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5175 no_cache=0
5176 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5177 if test "${enable_std_iostreams+set}" = set; then
5178 enableval="$enable_std_iostreams"
5179
5180 if test "$enableval" = yes; then
5181 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5182 else
5183 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5184 fi
5185
5186 else
5187
5188 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5191 else
5192 no_cache=1
5193 fi
5194
5195 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5196
5197 fi;
5198
5199 eval "$ac_cv_use_std_iostreams"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 if test "$wxUSE_STD_IOSTREAM" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5207 else
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5210 fi
5211
5212
5213 enablestring=
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5216 no_cache=0
5217 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5218 if test "${enable_stopwatch+set}" = set; then
5219 enableval="$enable_stopwatch"
5220
5221 if test "$enableval" = yes; then
5222 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5223 else
5224 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5225 fi
5226
5227 else
5228
5229 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5232 else
5233 no_cache=1
5234 fi
5235
5236 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5237
5238 fi;
5239
5240 eval "$ac_cv_use_stopwatch"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5243 fi
5244
5245 if test "$wxUSE_STOPWATCH" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5248 else
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5251 fi
5252
5253
5254 enablestring=
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5257 no_cache=0
5258 # Check whether --enable-system_options or --disable-system_options was given.
5259 if test "${enable_system_options+set}" = set; then
5260 enableval="$enable_system_options"
5261
5262 if test "$enableval" = yes; then
5263 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5264 else
5265 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5266 fi
5267
5268 else
5269
5270 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5273 else
5274 no_cache=1
5275 fi
5276
5277 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5278
5279 fi;
5280
5281 eval "$ac_cv_use_system_options"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5284 fi
5285
5286 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5292 fi
5293
5294
5295 enablestring=
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5298 no_cache=0
5299 # Check whether --enable-textbuf or --disable-textbuf was given.
5300 if test "${enable_textbuf+set}" = set; then
5301 enableval="$enable_textbuf"
5302
5303 if test "$enableval" = yes; then
5304 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5305 else
5306 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5307 fi
5308
5309 else
5310
5311 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5314 else
5315 no_cache=1
5316 fi
5317
5318 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5319
5320 fi;
5321
5322 eval "$ac_cv_use_textbuf"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5325 fi
5326
5327 if test "$wxUSE_TEXTBUFFER" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5330 else
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5333 fi
5334
5335
5336 enablestring=
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5339 no_cache=0
5340 # Check whether --enable-textfile or --disable-textfile was given.
5341 if test "${enable_textfile+set}" = set; then
5342 enableval="$enable_textfile"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5346 else
5347 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5348 fi
5349
5350 else
5351
5352 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5360
5361 fi;
5362
5363 eval "$ac_cv_use_textfile"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_TEXTFILE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5371 else
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5374 fi
5375
5376
5377 enablestring=
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5380 no_cache=0
5381 # Check whether --enable-timer or --disable-timer was given.
5382 if test "${enable_timer+set}" = set; then
5383 enableval="$enable_timer"
5384
5385 if test "$enableval" = yes; then
5386 ac_cv_use_timer='wxUSE_TIMER=yes'
5387 else
5388 ac_cv_use_timer='wxUSE_TIMER=no'
5389 fi
5390
5391 else
5392
5393 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 else
5397 no_cache=1
5398 fi
5399
5400 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5401
5402 fi;
5403
5404 eval "$ac_cv_use_timer"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_TIMER" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5412 else
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5415 fi
5416
5417
5418 enablestring=
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5421 no_cache=0
5422 # Check whether --enable-unicode or --disable-unicode was given.
5423 if test "${enable_unicode+set}" = set; then
5424 enableval="$enable_unicode"
5425
5426 if test "$enableval" = yes; then
5427 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5428 else
5429 ac_cv_use_unicode='wxUSE_UNICODE=no'
5430 fi
5431
5432 else
5433
5434 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5442
5443 fi;
5444
5445 eval "$ac_cv_use_unicode"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test "$wxUSE_UNICODE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5453 else
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5456 fi
5457
5458
5459 enablestring=
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5462 no_cache=0
5463 # Check whether --enable-wave or --disable-wave was given.
5464 if test "${enable_wave+set}" = set; then
5465 enableval="$enable_wave"
5466
5467 if test "$enableval" = yes; then
5468 ac_cv_use_wave='wxUSE_WAVE=yes'
5469 else
5470 ac_cv_use_wave='wxUSE_WAVE=no'
5471 fi
5472
5473 else
5474
5475 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5483
5484 fi;
5485
5486 eval "$ac_cv_use_wave"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5489 fi
5490
5491 if test "$wxUSE_WAVE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5494 else
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5497 fi
5498
5499
5500 enablestring=
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5503 no_cache=0
5504 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5505 if test "${enable_wxprintfv+set}" = set; then
5506 enableval="$enable_wxprintfv"
5507
5508 if test "$enableval" = yes; then
5509 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5510 else
5511 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5512 fi
5513
5514 else
5515
5516 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5524
5525 fi;
5526
5527 eval "$ac_cv_use_wxprintfv"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5535 else
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5538 fi
5539
5540
5541 enablestring=
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5544 no_cache=0
5545 # Check whether --enable-zipstream or --disable-zipstream was given.
5546 if test "${enable_zipstream+set}" = set; then
5547 enableval="$enable_zipstream"
5548
5549 if test "$enableval" = yes; then
5550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5551 else
5552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5553 fi
5554
5555 else
5556
5557 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5565
5566 fi;
5567
5568 eval "$ac_cv_use_zipstream"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5571 fi
5572
5573 if test "$wxUSE_ZIPSTREAM" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5576 else
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5579 fi
5580
5581
5582 enablestring=
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5585 no_cache=0
5586 # Check whether --enable-gzstream or --disable-gzstream was given.
5587 if test "${enable_gzstream+set}" = set; then
5588 enableval="$enable_gzstream"
5589
5590 if test "$enableval" = yes; then
5591 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5592 else
5593 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5594 fi
5595
5596 else
5597
5598 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5606
5607 fi;
5608
5609 eval "$ac_cv_use_gzstream"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5612 fi
5613
5614 if test "$wxUSE_GZSTREAM" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5617 else
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5620 fi
5621
5622
5623
5624 enablestring=
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5627 no_cache=0
5628 # Check whether --enable-url or --disable-url was given.
5629 if test "${enable_url+set}" = set; then
5630 enableval="$enable_url"
5631
5632 if test "$enableval" = yes; then
5633 ac_cv_use_url='wxUSE_URL=yes'
5634 else
5635 ac_cv_use_url='wxUSE_URL=no'
5636 fi
5637
5638 else
5639
5640 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5643 else
5644 no_cache=1
5645 fi
5646
5647 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5648
5649 fi;
5650
5651 eval "$ac_cv_use_url"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test "$wxUSE_URL" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5659 else
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5662 fi
5663
5664
5665 enablestring=
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5668 no_cache=0
5669 # Check whether --enable-protocol or --disable-protocol was given.
5670 if test "${enable_protocol+set}" = set; then
5671 enableval="$enable_protocol"
5672
5673 if test "$enableval" = yes; then
5674 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5675 else
5676 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5677 fi
5678
5679 else
5680
5681 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5684 else
5685 no_cache=1
5686 fi
5687
5688 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5689
5690 fi;
5691
5692 eval "$ac_cv_use_protocol"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5695 fi
5696
5697 if test "$wxUSE_PROTOCOL" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5700 else
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5703 fi
5704
5705
5706 enablestring=
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5709 no_cache=0
5710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5711 if test "${enable_protocol_http+set}" = set; then
5712 enableval="$enable_protocol_http"
5713
5714 if test "$enableval" = yes; then
5715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5716 else
5717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5718 fi
5719
5720 else
5721
5722 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5730
5731 fi;
5732
5733 eval "$ac_cv_use_protocol_http"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5736 fi
5737
5738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5741 else
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5744 fi
5745
5746
5747 enablestring=
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5750 no_cache=0
5751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5752 if test "${enable_protocol_ftp+set}" = set; then
5753 enableval="$enable_protocol_ftp"
5754
5755 if test "$enableval" = yes; then
5756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5757 else
5758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5759 fi
5760
5761 else
5762
5763 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5766 else
5767 no_cache=1
5768 fi
5769
5770 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5771
5772 fi;
5773
5774 eval "$ac_cv_use_protocol_ftp"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5777 fi
5778
5779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5782 else
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5785 fi
5786
5787
5788 enablestring=
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5791 no_cache=0
5792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5793 if test "${enable_protocol_file+set}" = set; then
5794 enableval="$enable_protocol_file"
5795
5796 if test "$enableval" = yes; then
5797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5798 else
5799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5800 fi
5801
5802 else
5803
5804 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5807 else
5808 no_cache=1
5809 fi
5810
5811 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5812
5813 fi;
5814
5815 eval "$ac_cv_use_protocol_file"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5818 fi
5819
5820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822 echo "${ECHO_T}yes" >&6
5823 else
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5826 fi
5827
5828
5829
5830
5831
5832 enablestring=
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5835 no_cache=0
5836 # Check whether --enable-threads or --disable-threads was given.
5837 if test "${enable_threads+set}" = set; then
5838 enableval="$enable_threads"
5839
5840 if test "$enableval" = yes; then
5841 ac_cv_use_threads='wxUSE_THREADS=yes'
5842 else
5843 ac_cv_use_threads='wxUSE_THREADS=no'
5844 fi
5845
5846 else
5847
5848 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 else
5852 no_cache=1
5853 fi
5854
5855 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5856
5857 fi;
5858
5859 eval "$ac_cv_use_threads"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5862 fi
5863
5864 if test "$wxUSE_THREADS" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5867 else
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5870 fi
5871
5872
5873 if test "$wxUSE_GUI" = "yes"; then
5874
5875
5876
5877 enablestring=
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5880 no_cache=0
5881 # Check whether --enable-docview or --disable-docview was given.
5882 if test "${enable_docview+set}" = set; then
5883 enableval="$enable_docview"
5884
5885 if test "$enableval" = yes; then
5886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5887 else
5888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5889 fi
5890
5891 else
5892
5893 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5896 else
5897 no_cache=1
5898 fi
5899
5900 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5901
5902 fi;
5903
5904 eval "$ac_cv_use_docview"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911 echo "${ECHO_T}yes" >&6
5912 else
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5915 fi
5916
5917
5918 enablestring=
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5921 no_cache=0
5922 # Check whether --enable-help or --disable-help was given.
5923 if test "${enable_help+set}" = set; then
5924 enableval="$enable_help"
5925
5926 if test "$enableval" = yes; then
5927 ac_cv_use_help='wxUSE_HELP=yes'
5928 else
5929 ac_cv_use_help='wxUSE_HELP=no'
5930 fi
5931
5932 else
5933
5934 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5942
5943 fi;
5944
5945 eval "$ac_cv_use_help"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5948 fi
5949
5950 if test "$wxUSE_HELP" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952 echo "${ECHO_T}yes" >&6
5953 else
5954 echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6
5956 fi
5957
5958
5959 enablestring=
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5962 no_cache=0
5963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5964 if test "${enable_mshtmlhelp+set}" = set; then
5965 enableval="$enable_mshtmlhelp"
5966
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5969 else
5970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5971 fi
5972
5973 else
5974
5975 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5978 else
5979 no_cache=1
5980 fi
5981
5982 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5983
5984 fi;
5985
5986 eval "$ac_cv_use_mshtmlhelp"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5989 fi
5990
5991 if test "$wxUSE_MS_HTML_HELP" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993 echo "${ECHO_T}yes" >&6
5994 else
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
5997 fi
5998
5999
6000 enablestring=
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6003 no_cache=0
6004 # Check whether --enable-html or --disable-html was given.
6005 if test "${enable_html+set}" = set; then
6006 enableval="$enable_html"
6007
6008 if test "$enableval" = yes; then
6009 ac_cv_use_html='wxUSE_HTML=yes'
6010 else
6011 ac_cv_use_html='wxUSE_HTML=no'
6012 fi
6013
6014 else
6015
6016 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6024
6025 fi;
6026
6027 eval "$ac_cv_use_html"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6030 fi
6031
6032 if test "$wxUSE_HTML" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034 echo "${ECHO_T}yes" >&6
6035 else
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6038 fi
6039
6040
6041 enablestring=
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6044 no_cache=0
6045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6046 if test "${enable_htmlhelp+set}" = set; then
6047 enableval="$enable_htmlhelp"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6051 else
6052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6053 fi
6054
6055 else
6056
6057 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6065
6066 fi;
6067
6068 eval "$ac_cv_use_htmlhelp"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_WXHTML_HELP" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6076 else
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6079 fi
6080
6081
6082 enablestring=
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6084 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6085 no_cache=0
6086 # Check whether --enable-constraints or --disable-constraints was given.
6087 if test "${enable_constraints+set}" = set; then
6088 enableval="$enable_constraints"
6089
6090 if test "$enableval" = yes; then
6091 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6092 else
6093 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6094 fi
6095
6096 else
6097
6098 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6101 else
6102 no_cache=1
6103 fi
6104
6105 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6106
6107 fi;
6108
6109 eval "$ac_cv_use_constraints"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6112 fi
6113
6114 if test "$wxUSE_CONSTRAINTS" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116 echo "${ECHO_T}yes" >&6
6117 else
6118 echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6
6120 fi
6121
6122
6123 enablestring=
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6126 no_cache=0
6127 # Check whether --enable-printarch or --disable-printarch was given.
6128 if test "${enable_printarch+set}" = set; then
6129 enableval="$enable_printarch"
6130
6131 if test "$enableval" = yes; then
6132 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6133 else
6134 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6135 fi
6136
6137 else
6138
6139 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6142 else
6143 no_cache=1
6144 fi
6145
6146 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6147
6148 fi;
6149
6150 eval "$ac_cv_use_printarch"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6153 fi
6154
6155 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157 echo "${ECHO_T}yes" >&6
6158 else
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6161 fi
6162
6163
6164 enablestring=
6165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6167 no_cache=0
6168 # Check whether --enable-mdi or --disable-mdi was given.
6169 if test "${enable_mdi+set}" = set; then
6170 enableval="$enable_mdi"
6171
6172 if test "$enableval" = yes; then
6173 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6174 else
6175 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6176 fi
6177
6178 else
6179
6180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6183 else
6184 no_cache=1
6185 fi
6186
6187 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6188
6189 fi;
6190
6191 eval "$ac_cv_use_mdi"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6194 fi
6195
6196 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6197 echo "$as_me:$LINENO: result: yes" >&5
6198 echo "${ECHO_T}yes" >&6
6199 else
6200 echo "$as_me:$LINENO: result: no" >&5
6201 echo "${ECHO_T}no" >&6
6202 fi
6203
6204
6205 enablestring=
6206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6208 no_cache=0
6209 # Check whether --enable-loggui or --disable-loggui was given.
6210 if test "${enable_loggui+set}" = set; then
6211 enableval="$enable_loggui"
6212
6213 if test "$enableval" = yes; then
6214 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6215 else
6216 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6217 fi
6218
6219 else
6220
6221 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6224 else
6225 no_cache=1
6226 fi
6227
6228 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6229
6230 fi;
6231
6232 eval "$ac_cv_use_loggui"
6233 if test "$no_cache" != 1; then
6234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6235 fi
6236
6237 if test "$wxUSE_LOGGUI" = yes; then
6238 echo "$as_me:$LINENO: result: yes" >&5
6239 echo "${ECHO_T}yes" >&6
6240 else
6241 echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6
6243 fi
6244
6245
6246 enablestring=
6247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6249 no_cache=0
6250 # Check whether --enable-logwin or --disable-logwin was given.
6251 if test "${enable_logwin+set}" = set; then
6252 enableval="$enable_logwin"
6253
6254 if test "$enableval" = yes; then
6255 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6256 else
6257 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6258 fi
6259
6260 else
6261
6262 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6265 else
6266 no_cache=1
6267 fi
6268
6269 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6270
6271 fi;
6272
6273 eval "$ac_cv_use_logwin"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6276 fi
6277
6278 if test "$wxUSE_LOGWINDOW" = yes; then
6279 echo "$as_me:$LINENO: result: yes" >&5
6280 echo "${ECHO_T}yes" >&6
6281 else
6282 echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6
6284 fi
6285
6286
6287 enablestring=
6288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6290 no_cache=0
6291 # Check whether --enable-logdialog or --disable-logdialog was given.
6292 if test "${enable_logdialog+set}" = set; then
6293 enableval="$enable_logdialog"
6294
6295 if test "$enableval" = yes; then
6296 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6297 else
6298 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6299 fi
6300
6301 else
6302
6303 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6306 else
6307 no_cache=1
6308 fi
6309
6310 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6311
6312 fi;
6313
6314 eval "$ac_cv_use_logdialog"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6317 fi
6318
6319 if test "$wxUSE_LOGDIALOG" = yes; then
6320 echo "$as_me:$LINENO: result: yes" >&5
6321 echo "${ECHO_T}yes" >&6
6322 else
6323 echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6
6325 fi
6326
6327
6328
6329 enablestring=
6330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6332 no_cache=0
6333 # Check whether --enable-postscript or --disable-postscript was given.
6334 if test "${enable_postscript+set}" = set; then
6335 enableval="$enable_postscript"
6336
6337 if test "$enableval" = yes; then
6338 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6339 else
6340 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6341 fi
6342
6343 else
6344
6345 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6346 if test "x$LINE" != x ; then
6347 eval "DEFAULT_$LINE"
6348 else
6349 no_cache=1
6350 fi
6351
6352 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6353
6354 fi;
6355
6356 eval "$ac_cv_use_postscript"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6359 fi
6360
6361 if test "$wxUSE_POSTSCRIPT" = yes; then
6362 echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6
6364 else
6365 echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6
6367 fi
6368
6369
6370
6371
6372
6373 enablestring=
6374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6376 no_cache=0
6377 # Check whether --enable-prologio or --disable-prologio was given.
6378 if test "${enable_prologio+set}" = set; then
6379 enableval="$enable_prologio"
6380
6381 if test "$enableval" = yes; then
6382 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6383 else
6384 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6385 fi
6386
6387 else
6388
6389 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x ; then
6391 eval "DEFAULT_$LINE"
6392 else
6393 no_cache=1
6394 fi
6395
6396 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6397
6398 fi;
6399
6400 eval "$ac_cv_use_prologio"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test "$wxUSE_PROLOGIO" = yes; then
6406 echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6
6408 else
6409 echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6
6411 fi
6412
6413
6414 enablestring=
6415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6417 no_cache=0
6418 # Check whether --enable-resources or --disable-resources was given.
6419 if test "${enable_resources+set}" = set; then
6420 enableval="$enable_resources"
6421
6422 if test "$enableval" = yes; then
6423 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6424 else
6425 ac_cv_use_resources='wxUSE_RESOURCES=no'
6426 fi
6427
6428 else
6429
6430 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6431 if test "x$LINE" != x ; then
6432 eval "DEFAULT_$LINE"
6433 else
6434 no_cache=1
6435 fi
6436
6437 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6438
6439 fi;
6440
6441 eval "$ac_cv_use_resources"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6444 fi
6445
6446 if test "$wxUSE_RESOURCES" = yes; then
6447 echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6
6449 else
6450 echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6
6452 fi
6453
6454
6455
6456
6457 enablestring=
6458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6459 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6460 no_cache=0
6461 # Check whether --enable-clipboard or --disable-clipboard was given.
6462 if test "${enable_clipboard+set}" = set; then
6463 enableval="$enable_clipboard"
6464
6465 if test "$enableval" = yes; then
6466 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6467 else
6468 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6469 fi
6470
6471 else
6472
6473 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6474 if test "x$LINE" != x ; then
6475 eval "DEFAULT_$LINE"
6476 else
6477 no_cache=1
6478 fi
6479
6480 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6481
6482 fi;
6483
6484 eval "$ac_cv_use_clipboard"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6487 fi
6488
6489 if test "$wxUSE_CLIPBOARD" = yes; then
6490 echo "$as_me:$LINENO: result: yes" >&5
6491 echo "${ECHO_T}yes" >&6
6492 else
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6495 fi
6496
6497
6498 enablestring=
6499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6501 no_cache=0
6502 # Check whether --enable-dnd or --disable-dnd was given.
6503 if test "${enable_dnd+set}" = set; then
6504 enableval="$enable_dnd"
6505
6506 if test "$enableval" = yes; then
6507 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6508 else
6509 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6510 fi
6511
6512 else
6513
6514 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6517 else
6518 no_cache=1
6519 fi
6520
6521 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6522
6523 fi;
6524
6525 eval "$ac_cv_use_dnd"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6528 fi
6529
6530 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6531 echo "$as_me:$LINENO: result: yes" >&5
6532 echo "${ECHO_T}yes" >&6
6533 else
6534 echo "$as_me:$LINENO: result: no" >&5
6535 echo "${ECHO_T}no" >&6
6536 fi
6537
6538
6539 enablestring=
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6542 no_cache=0
6543 # Check whether --enable-metafile or --disable-metafile was given.
6544 if test "${enable_metafile+set}" = set; then
6545 enableval="$enable_metafile"
6546
6547 if test "$enableval" = yes; then
6548 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6549 else
6550 ac_cv_use_metafile='wxUSE_METAFILE=no'
6551 fi
6552
6553 else
6554
6555 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 else
6559 no_cache=1
6560 fi
6561
6562 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6563
6564 fi;
6565
6566 eval "$ac_cv_use_metafile"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test "$wxUSE_METAFILE" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6574 else
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6577 fi
6578
6579
6580
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-controls or --disable-controls was given.
6588 if test "${enable_controls+set}" = set; then
6589 enableval="$enable_controls"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6593 else
6594 ac_cv_use_controls='wxUSE_CONTROLS=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6607
6608 fi;
6609
6610 eval "$ac_cv_use_controls"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_CONTROLS" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624 if test "$wxUSE_CONTROLS" = "yes"; then
6625 DEFAULT_wxUSE_ACCEL=yes
6626 DEFAULT_wxUSE_BMPBUTTON=yes
6627 DEFAULT_wxUSE_BUTTON=yes
6628 DEFAULT_wxUSE_CALCTRL=no
6629 DEFAULT_wxUSE_CARET=yes
6630 DEFAULT_wxUSE_COMBOBOX=yes
6631 DEFAULT_wxUSE_CHECKBOX=yes
6632 DEFAULT_wxUSE_CHECKLISTBOX=yes
6633 DEFAULT_wxUSE_CHOICE=yes
6634 DEFAULT_wxUSE_GAUGE=yes
6635 DEFAULT_wxUSE_GRID=yes
6636 DEFAULT_wxUSE_IMAGLIST=yes
6637 DEFAULT_wxUSE_LISTBOOK=yes
6638 DEFAULT_wxUSE_LISTBOX=yes
6639 DEFAULT_wxUSE_LISTCTRL=yes
6640 DEFAULT_wxUSE_NOTEBOOK=yes
6641 DEFAULT_wxUSE_RADIOBOX=yes
6642 DEFAULT_wxUSE_RADIOBTN=yes
6643 DEFAULT_wxUSE_SASH=yes
6644 DEFAULT_wxUSE_SCROLLBAR=yes
6645 DEFAULT_wxUSE_SLIDER=yes
6646 DEFAULT_wxUSE_SPINBTN=yes
6647 DEFAULT_wxUSE_SPINCTRL=yes
6648 DEFAULT_wxUSE_SPLITTER=yes
6649 DEFAULT_wxUSE_STATBMP=yes
6650 DEFAULT_wxUSE_STATBOX=yes
6651 DEFAULT_wxUSE_STATLINE=yes
6652 DEFAULT_wxUSE_STATUSBAR=yes
6653 DEFAULT_wxUSE_TAB_DIALOG=yes
6654 DEFAULT_wxUSE_TOGGLEBTN=yes
6655 DEFAULT_wxUSE_TOOLBAR=yes
6656 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6657 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6658 DEFAULT_wxUSE_TOOLTIPS=yes
6659 DEFAULT_wxUSE_TREECTRL=yes
6660 DEFAULT_wxUSE_POPUPWIN=yes
6661 DEFAULT_wxUSE_TIPWINDOW=yes
6662 elif test "$wxUSE_CONTROLS" = "no"; then
6663 DEFAULT_wxUSE_ACCEL=no
6664 DEFAULT_wxUSE_BMPBUTTON=no
6665 DEFAULT_wxUSE_BUTTON=no
6666 DEFAULT_wxUSE_CALCTRL=no
6667 DEFAULT_wxUSE_CARET=no
6668 DEFAULT_wxUSE_COMBOBOX=no
6669 DEFAULT_wxUSE_CHECKBOX=no
6670 DEFAULT_wxUSE_CHECKLISTBOX=no
6671 DEFAULT_wxUSE_CHOICE=no
6672 DEFAULT_wxUSE_GAUGE=no
6673 DEFAULT_wxUSE_GRID=no
6674 DEFAULT_wxUSE_IMAGLIST=no
6675 DEFAULT_wxUSE_LISTBOOK=no
6676 DEFAULT_wxUSE_LISTBOX=no
6677 DEFAULT_wxUSE_LISTCTRL=no
6678 DEFAULT_wxUSE_NOTEBOOK=no
6679 DEFAULT_wxUSE_RADIOBOX=no
6680 DEFAULT_wxUSE_RADIOBTN=no
6681 DEFAULT_wxUSE_SASH=no
6682 DEFAULT_wxUSE_SCROLLBAR=no
6683 DEFAULT_wxUSE_SLIDER=no
6684 DEFAULT_wxUSE_SPINBTN=no
6685 DEFAULT_wxUSE_SPINCTRL=no
6686 DEFAULT_wxUSE_SPLITTER=no
6687 DEFAULT_wxUSE_STATBMP=no
6688 DEFAULT_wxUSE_STATBOX=no
6689 DEFAULT_wxUSE_STATLINE=no
6690 DEFAULT_wxUSE_STATUSBAR=no
6691 DEFAULT_wxUSE_TAB_DIALOG=no
6692 DEFAULT_wxUSE_TOGGLEBTN=no
6693 DEFAULT_wxUSE_TOOLBAR=no
6694 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6695 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6696 DEFAULT_wxUSE_TOOLTIPS=no
6697 DEFAULT_wxUSE_TREECTRL=no
6698 DEFAULT_wxUSE_POPUPWIN=no
6699 DEFAULT_wxUSE_TIPWINDOW=no
6700 fi
6701
6702 ## FIXME: This is a blatant hack
6703 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6704 wxUSE_PRINTING_ARCHITECTURE=no
6705 wxUSE_DRAG_AND_DROP=no
6706 # Generic notebook requires tab dialog
6707 DEFAULT_wxUSE_TABDIALOG=yes
6708 DEFAULT_wxUSE_SCROLLBAR=no
6709 DEFAULT_wxUSE_TOOLTIPS=no
6710 DEFAULT_wxUSE_DRAGIMAGE=no
6711 fi
6712
6713
6714 enablestring=
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6717 no_cache=0
6718 # Check whether --enable-accel or --disable-accel was given.
6719 if test "${enable_accel+set}" = set; then
6720 enableval="$enable_accel"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_accel='wxUSE_ACCEL=yes'
6724 else
6725 ac_cv_use_accel='wxUSE_ACCEL=no'
6726 fi
6727
6728 else
6729
6730 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 else
6734 no_cache=1
6735 fi
6736
6737 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6738
6739 fi;
6740
6741 eval "$ac_cv_use_accel"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_ACCEL" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6749 else
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6752 fi
6753
6754
6755 enablestring=
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6758 no_cache=0
6759 # Check whether --enable-button or --disable-button was given.
6760 if test "${enable_button+set}" = set; then
6761 enableval="$enable_button"
6762
6763 if test "$enableval" = yes; then
6764 ac_cv_use_button='wxUSE_BUTTON=yes'
6765 else
6766 ac_cv_use_button='wxUSE_BUTTON=no'
6767 fi
6768
6769 else
6770
6771 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x ; then
6773 eval "DEFAULT_$LINE"
6774 else
6775 no_cache=1
6776 fi
6777
6778 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6779
6780 fi;
6781
6782 eval "$ac_cv_use_button"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6785 fi
6786
6787 if test "$wxUSE_BUTTON" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6790 else
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6793 fi
6794
6795
6796 enablestring=
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6799 no_cache=0
6800 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6801 if test "${enable_bmpbutton+set}" = set; then
6802 enableval="$enable_bmpbutton"
6803
6804 if test "$enableval" = yes; then
6805 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6806 else
6807 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6808 fi
6809
6810 else
6811
6812 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x ; then
6814 eval "DEFAULT_$LINE"
6815 else
6816 no_cache=1
6817 fi
6818
6819 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6820
6821 fi;
6822
6823 eval "$ac_cv_use_bmpbutton"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6826 fi
6827
6828 if test "$wxUSE_BMPBUTTON" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6831 else
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6834 fi
6835
6836
6837 enablestring=
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6840 no_cache=0
6841 # Check whether --enable-calendar or --disable-calendar was given.
6842 if test "${enable_calendar+set}" = set; then
6843 enableval="$enable_calendar"
6844
6845 if test "$enableval" = yes; then
6846 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6847 else
6848 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6849 fi
6850
6851 else
6852
6853 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x ; then
6855 eval "DEFAULT_$LINE"
6856 else
6857 no_cache=1
6858 fi
6859
6860 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6861
6862 fi;
6863
6864 eval "$ac_cv_use_calendar"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6867 fi
6868
6869 if test "$wxUSE_CALCTRL" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6872 else
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6875 fi
6876
6877
6878 enablestring=
6879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6880 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6881 no_cache=0
6882 # Check whether --enable-caret or --disable-caret was given.
6883 if test "${enable_caret+set}" = set; then
6884 enableval="$enable_caret"
6885
6886 if test "$enableval" = yes; then
6887 ac_cv_use_caret='wxUSE_CARET=yes'
6888 else
6889 ac_cv_use_caret='wxUSE_CARET=no'
6890 fi
6891
6892 else
6893
6894 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6895 if test "x$LINE" != x ; then
6896 eval "DEFAULT_$LINE"
6897 else
6898 no_cache=1
6899 fi
6900
6901 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6902
6903 fi;
6904
6905 eval "$ac_cv_use_caret"
6906 if test "$no_cache" != 1; then
6907 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6908 fi
6909
6910 if test "$wxUSE_CARET" = yes; then
6911 echo "$as_me:$LINENO: result: yes" >&5
6912 echo "${ECHO_T}yes" >&6
6913 else
6914 echo "$as_me:$LINENO: result: no" >&5
6915 echo "${ECHO_T}no" >&6
6916 fi
6917
6918
6919 enablestring=
6920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6921 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6922 no_cache=0
6923 # Check whether --enable-checkbox or --disable-checkbox was given.
6924 if test "${enable_checkbox+set}" = set; then
6925 enableval="$enable_checkbox"
6926
6927 if test "$enableval" = yes; then
6928 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6929 else
6930 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6931 fi
6932
6933 else
6934
6935 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6936 if test "x$LINE" != x ; then
6937 eval "DEFAULT_$LINE"
6938 else
6939 no_cache=1
6940 fi
6941
6942 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6943
6944 fi;
6945
6946 eval "$ac_cv_use_checkbox"
6947 if test "$no_cache" != 1; then
6948 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6949 fi
6950
6951 if test "$wxUSE_CHECKBOX" = yes; then
6952 echo "$as_me:$LINENO: result: yes" >&5
6953 echo "${ECHO_T}yes" >&6
6954 else
6955 echo "$as_me:$LINENO: result: no" >&5
6956 echo "${ECHO_T}no" >&6
6957 fi
6958
6959
6960 enablestring=
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6963 no_cache=0
6964 # Check whether --enable-checklst or --disable-checklst was given.
6965 if test "${enable_checklst+set}" = set; then
6966 enableval="$enable_checklst"
6967
6968 if test "$enableval" = yes; then
6969 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6970 else
6971 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6972 fi
6973
6974 else
6975
6976 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x ; then
6978 eval "DEFAULT_$LINE"
6979 else
6980 no_cache=1
6981 fi
6982
6983 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6984
6985 fi;
6986
6987 eval "$ac_cv_use_checklst"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6990 fi
6991
6992 if test "$wxUSE_CHECKLST" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6995 else
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
6998 fi
6999
7000
7001 enablestring=
7002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7003 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7004 no_cache=0
7005 # Check whether --enable-choice or --disable-choice was given.
7006 if test "${enable_choice+set}" = set; then
7007 enableval="$enable_choice"
7008
7009 if test "$enableval" = yes; then
7010 ac_cv_use_choice='wxUSE_CHOICE=yes'
7011 else
7012 ac_cv_use_choice='wxUSE_CHOICE=no'
7013 fi
7014
7015 else
7016
7017 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7018 if test "x$LINE" != x ; then
7019 eval "DEFAULT_$LINE"
7020 else
7021 no_cache=1
7022 fi
7023
7024 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7025
7026 fi;
7027
7028 eval "$ac_cv_use_choice"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7031 fi
7032
7033 if test "$wxUSE_CHOICE" = yes; then
7034 echo "$as_me:$LINENO: result: yes" >&5
7035 echo "${ECHO_T}yes" >&6
7036 else
7037 echo "$as_me:$LINENO: result: no" >&5
7038 echo "${ECHO_T}no" >&6
7039 fi
7040
7041
7042 enablestring=
7043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7045 no_cache=0
7046 # Check whether --enable-combobox or --disable-combobox was given.
7047 if test "${enable_combobox+set}" = set; then
7048 enableval="$enable_combobox"
7049
7050 if test "$enableval" = yes; then
7051 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7052 else
7053 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7054 fi
7055
7056 else
7057
7058 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7059 if test "x$LINE" != x ; then
7060 eval "DEFAULT_$LINE"
7061 else
7062 no_cache=1
7063 fi
7064
7065 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7066
7067 fi;
7068
7069 eval "$ac_cv_use_combobox"
7070 if test "$no_cache" != 1; then
7071 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7072 fi
7073
7074 if test "$wxUSE_COMBOBOX" = yes; then
7075 echo "$as_me:$LINENO: result: yes" >&5
7076 echo "${ECHO_T}yes" >&6
7077 else
7078 echo "$as_me:$LINENO: result: no" >&5
7079 echo "${ECHO_T}no" >&6
7080 fi
7081
7082
7083 enablestring=
7084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7085 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7086 no_cache=0
7087 # Check whether --enable-display or --disable-display was given.
7088 if test "${enable_display+set}" = set; then
7089 enableval="$enable_display"
7090
7091 if test "$enableval" = yes; then
7092 ac_cv_use_display='wxUSE_DISPLAY=yes'
7093 else
7094 ac_cv_use_display='wxUSE_DISPLAY=no'
7095 fi
7096
7097 else
7098
7099 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x ; then
7101 eval "DEFAULT_$LINE"
7102 else
7103 no_cache=1
7104 fi
7105
7106 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7107
7108 fi;
7109
7110 eval "$ac_cv_use_display"
7111 if test "$no_cache" != 1; then
7112 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7113 fi
7114
7115 if test "$wxUSE_DISPLAY" = yes; then
7116 echo "$as_me:$LINENO: result: yes" >&5
7117 echo "${ECHO_T}yes" >&6
7118 else
7119 echo "$as_me:$LINENO: result: no" >&5
7120 echo "${ECHO_T}no" >&6
7121 fi
7122
7123
7124 enablestring=
7125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7127 no_cache=0
7128 # Check whether --enable-gauge or --disable-gauge was given.
7129 if test "${enable_gauge+set}" = set; then
7130 enableval="$enable_gauge"
7131
7132 if test "$enableval" = yes; then
7133 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7134 else
7135 ac_cv_use_gauge='wxUSE_GAUGE=no'
7136 fi
7137
7138 else
7139
7140 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7141 if test "x$LINE" != x ; then
7142 eval "DEFAULT_$LINE"
7143 else
7144 no_cache=1
7145 fi
7146
7147 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7148
7149 fi;
7150
7151 eval "$ac_cv_use_gauge"
7152 if test "$no_cache" != 1; then
7153 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7154 fi
7155
7156 if test "$wxUSE_GAUGE" = yes; then
7157 echo "$as_me:$LINENO: result: yes" >&5
7158 echo "${ECHO_T}yes" >&6
7159 else
7160 echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6
7162 fi
7163
7164
7165 enablestring=
7166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7167 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7168 no_cache=0
7169 # Check whether --enable-grid or --disable-grid was given.
7170 if test "${enable_grid+set}" = set; then
7171 enableval="$enable_grid"
7172
7173 if test "$enableval" = yes; then
7174 ac_cv_use_grid='wxUSE_GRID=yes'
7175 else
7176 ac_cv_use_grid='wxUSE_GRID=no'
7177 fi
7178
7179 else
7180
7181 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7182 if test "x$LINE" != x ; then
7183 eval "DEFAULT_$LINE"
7184 else
7185 no_cache=1
7186 fi
7187
7188 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7189
7190 fi;
7191
7192 eval "$ac_cv_use_grid"
7193 if test "$no_cache" != 1; then
7194 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7195 fi
7196
7197 if test "$wxUSE_GRID" = yes; then
7198 echo "$as_me:$LINENO: result: yes" >&5
7199 echo "${ECHO_T}yes" >&6
7200 else
7201 echo "$as_me:$LINENO: result: no" >&5
7202 echo "${ECHO_T}no" >&6
7203 fi
7204
7205
7206 enablestring=
7207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7208 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7209 no_cache=0
7210 # Check whether --enable-imaglist or --disable-imaglist was given.
7211 if test "${enable_imaglist+set}" = set; then
7212 enableval="$enable_imaglist"
7213
7214 if test "$enableval" = yes; then
7215 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7216 else
7217 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7218 fi
7219
7220 else
7221
7222 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7223 if test "x$LINE" != x ; then
7224 eval "DEFAULT_$LINE"
7225 else
7226 no_cache=1
7227 fi
7228
7229 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7230
7231 fi;
7232
7233 eval "$ac_cv_use_imaglist"
7234 if test "$no_cache" != 1; then
7235 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7236 fi
7237
7238 if test "$wxUSE_IMAGLIST" = yes; then
7239 echo "$as_me:$LINENO: result: yes" >&5
7240 echo "${ECHO_T}yes" >&6
7241 else
7242 echo "$as_me:$LINENO: result: no" >&5
7243 echo "${ECHO_T}no" >&6
7244 fi
7245
7246
7247 enablestring=
7248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7249 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7250 no_cache=0
7251 # Check whether --enable-listbook or --disable-listbook was given.
7252 if test "${enable_listbook+set}" = set; then
7253 enableval="$enable_listbook"
7254
7255 if test "$enableval" = yes; then
7256 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7257 else
7258 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7259 fi
7260
7261 else
7262
7263 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7264 if test "x$LINE" != x ; then
7265 eval "DEFAULT_$LINE"
7266 else
7267 no_cache=1
7268 fi
7269
7270 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7271
7272 fi;
7273
7274 eval "$ac_cv_use_listbook"
7275 if test "$no_cache" != 1; then
7276 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7277 fi
7278
7279 if test "$wxUSE_LISTBOOK" = yes; then
7280 echo "$as_me:$LINENO: result: yes" >&5
7281 echo "${ECHO_T}yes" >&6
7282 else
7283 echo "$as_me:$LINENO: result: no" >&5
7284 echo "${ECHO_T}no" >&6
7285 fi
7286
7287
7288 enablestring=
7289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7291 no_cache=0
7292 # Check whether --enable-listbox or --disable-listbox was given.
7293 if test "${enable_listbox+set}" = set; then
7294 enableval="$enable_listbox"
7295
7296 if test "$enableval" = yes; then
7297 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7298 else
7299 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7300 fi
7301
7302 else
7303
7304 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x ; then
7306 eval "DEFAULT_$LINE"
7307 else
7308 no_cache=1
7309 fi
7310
7311 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7312
7313 fi;
7314
7315 eval "$ac_cv_use_listbox"
7316 if test "$no_cache" != 1; then
7317 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7318 fi
7319
7320 if test "$wxUSE_LISTBOX" = yes; then
7321 echo "$as_me:$LINENO: result: yes" >&5
7322 echo "${ECHO_T}yes" >&6
7323 else
7324 echo "$as_me:$LINENO: result: no" >&5
7325 echo "${ECHO_T}no" >&6
7326 fi
7327
7328
7329 enablestring=
7330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7331 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7332 no_cache=0
7333 # Check whether --enable-listctrl or --disable-listctrl was given.
7334 if test "${enable_listctrl+set}" = set; then
7335 enableval="$enable_listctrl"
7336
7337 if test "$enableval" = yes; then
7338 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7339 else
7340 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7341 fi
7342
7343 else
7344
7345 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7346 if test "x$LINE" != x ; then
7347 eval "DEFAULT_$LINE"
7348 else
7349 no_cache=1
7350 fi
7351
7352 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7353
7354 fi;
7355
7356 eval "$ac_cv_use_listctrl"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7359 fi
7360
7361 if test "$wxUSE_LISTCTRL" = yes; then
7362 echo "$as_me:$LINENO: result: yes" >&5
7363 echo "${ECHO_T}yes" >&6
7364 else
7365 echo "$as_me:$LINENO: result: no" >&5
7366 echo "${ECHO_T}no" >&6
7367 fi
7368
7369
7370 enablestring=
7371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7373 no_cache=0
7374 # Check whether --enable-notebook or --disable-notebook was given.
7375 if test "${enable_notebook+set}" = set; then
7376 enableval="$enable_notebook"
7377
7378 if test "$enableval" = yes; then
7379 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7380 else
7381 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7382 fi
7383
7384 else
7385
7386 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7387 if test "x$LINE" != x ; then
7388 eval "DEFAULT_$LINE"
7389 else
7390 no_cache=1
7391 fi
7392
7393 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7394
7395 fi;
7396
7397 eval "$ac_cv_use_notebook"
7398 if test "$no_cache" != 1; then
7399 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7400 fi
7401
7402 if test "$wxUSE_NOTEBOOK" = yes; then
7403 echo "$as_me:$LINENO: result: yes" >&5
7404 echo "${ECHO_T}yes" >&6
7405 else
7406 echo "$as_me:$LINENO: result: no" >&5
7407 echo "${ECHO_T}no" >&6
7408 fi
7409
7410
7411 enablestring=
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7414 no_cache=0
7415 # Check whether --enable-radiobox or --disable-radiobox was given.
7416 if test "${enable_radiobox+set}" = set; then
7417 enableval="$enable_radiobox"
7418
7419 if test "$enableval" = yes; then
7420 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7421 else
7422 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7423 fi
7424
7425 else
7426
7427 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x ; then
7429 eval "DEFAULT_$LINE"
7430 else
7431 no_cache=1
7432 fi
7433
7434 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7435
7436 fi;
7437
7438 eval "$ac_cv_use_radiobox"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test "$wxUSE_RADIOBOX" = yes; then
7444 echo "$as_me:$LINENO: result: yes" >&5
7445 echo "${ECHO_T}yes" >&6
7446 else
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7449 fi
7450
7451
7452 enablestring=
7453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7454 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7455 no_cache=0
7456 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7457 if test "${enable_radiobtn+set}" = set; then
7458 enableval="$enable_radiobtn"
7459
7460 if test "$enableval" = yes; then
7461 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7462 else
7463 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7464 fi
7465
7466 else
7467
7468 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7469 if test "x$LINE" != x ; then
7470 eval "DEFAULT_$LINE"
7471 else
7472 no_cache=1
7473 fi
7474
7475 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7476
7477 fi;
7478
7479 eval "$ac_cv_use_radiobtn"
7480 if test "$no_cache" != 1; then
7481 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7482 fi
7483
7484 if test "$wxUSE_RADIOBTN" = yes; then
7485 echo "$as_me:$LINENO: result: yes" >&5
7486 echo "${ECHO_T}yes" >&6
7487 else
7488 echo "$as_me:$LINENO: result: no" >&5
7489 echo "${ECHO_T}no" >&6
7490 fi
7491
7492
7493 enablestring=
7494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7495 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7496 no_cache=0
7497 # Check whether --enable-sash or --disable-sash was given.
7498 if test "${enable_sash+set}" = set; then
7499 enableval="$enable_sash"
7500
7501 if test "$enableval" = yes; then
7502 ac_cv_use_sash='wxUSE_SASH=yes'
7503 else
7504 ac_cv_use_sash='wxUSE_SASH=no'
7505 fi
7506
7507 else
7508
7509 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7510 if test "x$LINE" != x ; then
7511 eval "DEFAULT_$LINE"
7512 else
7513 no_cache=1
7514 fi
7515
7516 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7517
7518 fi;
7519
7520 eval "$ac_cv_use_sash"
7521 if test "$no_cache" != 1; then
7522 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7523 fi
7524
7525 if test "$wxUSE_SASH" = yes; then
7526 echo "$as_me:$LINENO: result: yes" >&5
7527 echo "${ECHO_T}yes" >&6
7528 else
7529 echo "$as_me:$LINENO: result: no" >&5
7530 echo "${ECHO_T}no" >&6
7531 fi
7532
7533
7534 enablestring=
7535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7536 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7537 no_cache=0
7538 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7539 if test "${enable_scrollbar+set}" = set; then
7540 enableval="$enable_scrollbar"
7541
7542 if test "$enableval" = yes; then
7543 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7544 else
7545 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7546 fi
7547
7548 else
7549
7550 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7551 if test "x$LINE" != x ; then
7552 eval "DEFAULT_$LINE"
7553 else
7554 no_cache=1
7555 fi
7556
7557 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7558
7559 fi;
7560
7561 eval "$ac_cv_use_scrollbar"
7562 if test "$no_cache" != 1; then
7563 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7564 fi
7565
7566 if test "$wxUSE_SCROLLBAR" = yes; then
7567 echo "$as_me:$LINENO: result: yes" >&5
7568 echo "${ECHO_T}yes" >&6
7569 else
7570 echo "$as_me:$LINENO: result: no" >&5
7571 echo "${ECHO_T}no" >&6
7572 fi
7573
7574
7575 enablestring=
7576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7577 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7578 no_cache=0
7579 # Check whether --enable-slider or --disable-slider was given.
7580 if test "${enable_slider+set}" = set; then
7581 enableval="$enable_slider"
7582
7583 if test "$enableval" = yes; then
7584 ac_cv_use_slider='wxUSE_SLIDER=yes'
7585 else
7586 ac_cv_use_slider='wxUSE_SLIDER=no'
7587 fi
7588
7589 else
7590
7591 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7592 if test "x$LINE" != x ; then
7593 eval "DEFAULT_$LINE"
7594 else
7595 no_cache=1
7596 fi
7597
7598 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7599
7600 fi;
7601
7602 eval "$ac_cv_use_slider"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7605 fi
7606
7607 if test "$wxUSE_SLIDER" = yes; then
7608 echo "$as_me:$LINENO: result: yes" >&5
7609 echo "${ECHO_T}yes" >&6
7610 else
7611 echo "$as_me:$LINENO: result: no" >&5
7612 echo "${ECHO_T}no" >&6
7613 fi
7614
7615
7616 enablestring=
7617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7618 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7619 no_cache=0
7620 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7621 if test "${enable_spinbtn+set}" = set; then
7622 enableval="$enable_spinbtn"
7623
7624 if test "$enableval" = yes; then
7625 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7626 else
7627 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7628 fi
7629
7630 else
7631
7632 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7633 if test "x$LINE" != x ; then
7634 eval "DEFAULT_$LINE"
7635 else
7636 no_cache=1
7637 fi
7638
7639 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7640
7641 fi;
7642
7643 eval "$ac_cv_use_spinbtn"
7644 if test "$no_cache" != 1; then
7645 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7646 fi
7647
7648 if test "$wxUSE_SPINBTN" = yes; then
7649 echo "$as_me:$LINENO: result: yes" >&5
7650 echo "${ECHO_T}yes" >&6
7651 else
7652 echo "$as_me:$LINENO: result: no" >&5
7653 echo "${ECHO_T}no" >&6
7654 fi
7655
7656
7657 enablestring=
7658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7660 no_cache=0
7661 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7662 if test "${enable_spinctrl+set}" = set; then
7663 enableval="$enable_spinctrl"
7664
7665 if test "$enableval" = yes; then
7666 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7667 else
7668 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7669 fi
7670
7671 else
7672
7673 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7674 if test "x$LINE" != x ; then
7675 eval "DEFAULT_$LINE"
7676 else
7677 no_cache=1
7678 fi
7679
7680 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7681
7682 fi;
7683
7684 eval "$ac_cv_use_spinctrl"
7685 if test "$no_cache" != 1; then
7686 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7687 fi
7688
7689 if test "$wxUSE_SPINCTRL" = yes; then
7690 echo "$as_me:$LINENO: result: yes" >&5
7691 echo "${ECHO_T}yes" >&6
7692 else
7693 echo "$as_me:$LINENO: result: no" >&5
7694 echo "${ECHO_T}no" >&6
7695 fi
7696
7697
7698 enablestring=
7699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7700 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7701 no_cache=0
7702 # Check whether --enable-splitter or --disable-splitter was given.
7703 if test "${enable_splitter+set}" = set; then
7704 enableval="$enable_splitter"
7705
7706 if test "$enableval" = yes; then
7707 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7708 else
7709 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7710 fi
7711
7712 else
7713
7714 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7715 if test "x$LINE" != x ; then
7716 eval "DEFAULT_$LINE"
7717 else
7718 no_cache=1
7719 fi
7720
7721 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7722
7723 fi;
7724
7725 eval "$ac_cv_use_splitter"
7726 if test "$no_cache" != 1; then
7727 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7728 fi
7729
7730 if test "$wxUSE_SPLITTER" = yes; then
7731 echo "$as_me:$LINENO: result: yes" >&5
7732 echo "${ECHO_T}yes" >&6
7733 else
7734 echo "$as_me:$LINENO: result: no" >&5
7735 echo "${ECHO_T}no" >&6
7736 fi
7737
7738
7739 enablestring=
7740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7742 no_cache=0
7743 # Check whether --enable-statbmp or --disable-statbmp was given.
7744 if test "${enable_statbmp+set}" = set; then
7745 enableval="$enable_statbmp"
7746
7747 if test "$enableval" = yes; then
7748 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7749 else
7750 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7751 fi
7752
7753 else
7754
7755 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x ; then
7757 eval "DEFAULT_$LINE"
7758 else
7759 no_cache=1
7760 fi
7761
7762 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7763
7764 fi;
7765
7766 eval "$ac_cv_use_statbmp"
7767 if test "$no_cache" != 1; then
7768 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7769 fi
7770
7771 if test "$wxUSE_STATBMP" = yes; then
7772 echo "$as_me:$LINENO: result: yes" >&5
7773 echo "${ECHO_T}yes" >&6
7774 else
7775 echo "$as_me:$LINENO: result: no" >&5
7776 echo "${ECHO_T}no" >&6
7777 fi
7778
7779
7780 enablestring=
7781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7782 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7783 no_cache=0
7784 # Check whether --enable-statbox or --disable-statbox was given.
7785 if test "${enable_statbox+set}" = set; then
7786 enableval="$enable_statbox"
7787
7788 if test "$enableval" = yes; then
7789 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7790 else
7791 ac_cv_use_statbox='wxUSE_STATBOX=no'
7792 fi
7793
7794 else
7795
7796 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x ; then
7798 eval "DEFAULT_$LINE"
7799 else
7800 no_cache=1
7801 fi
7802
7803 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7804
7805 fi;
7806
7807 eval "$ac_cv_use_statbox"
7808 if test "$no_cache" != 1; then
7809 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7810 fi
7811
7812 if test "$wxUSE_STATBOX" = yes; then
7813 echo "$as_me:$LINENO: result: yes" >&5
7814 echo "${ECHO_T}yes" >&6
7815 else
7816 echo "$as_me:$LINENO: result: no" >&5
7817 echo "${ECHO_T}no" >&6
7818 fi
7819
7820
7821 enablestring=
7822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7823 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7824 no_cache=0
7825 # Check whether --enable-statline or --disable-statline was given.
7826 if test "${enable_statline+set}" = set; then
7827 enableval="$enable_statline"
7828
7829 if test "$enableval" = yes; then
7830 ac_cv_use_statline='wxUSE_STATLINE=yes'
7831 else
7832 ac_cv_use_statline='wxUSE_STATLINE=no'
7833 fi
7834
7835 else
7836
7837 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7838 if test "x$LINE" != x ; then
7839 eval "DEFAULT_$LINE"
7840 else
7841 no_cache=1
7842 fi
7843
7844 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7845
7846 fi;
7847
7848 eval "$ac_cv_use_statline"
7849 if test "$no_cache" != 1; then
7850 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7851 fi
7852
7853 if test "$wxUSE_STATLINE" = yes; then
7854 echo "$as_me:$LINENO: result: yes" >&5
7855 echo "${ECHO_T}yes" >&6
7856 else
7857 echo "$as_me:$LINENO: result: no" >&5
7858 echo "${ECHO_T}no" >&6
7859 fi
7860
7861
7862 enablestring=
7863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7865 no_cache=0
7866 # Check whether --enable-stattext or --disable-stattext was given.
7867 if test "${enable_stattext+set}" = set; then
7868 enableval="$enable_stattext"
7869
7870 if test "$enableval" = yes; then
7871 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7872 else
7873 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7874 fi
7875
7876 else
7877
7878 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x ; then
7880 eval "DEFAULT_$LINE"
7881 else
7882 no_cache=1
7883 fi
7884
7885 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7886
7887 fi;
7888
7889 eval "$ac_cv_use_stattext"
7890 if test "$no_cache" != 1; then
7891 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7892 fi
7893
7894 if test "$wxUSE_STATTEXT" = yes; then
7895 echo "$as_me:$LINENO: result: yes" >&5
7896 echo "${ECHO_T}yes" >&6
7897 else
7898 echo "$as_me:$LINENO: result: no" >&5
7899 echo "${ECHO_T}no" >&6
7900 fi
7901
7902
7903 enablestring=
7904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7905 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7906 no_cache=0
7907 # Check whether --enable-statusbar or --disable-statusbar was given.
7908 if test "${enable_statusbar+set}" = set; then
7909 enableval="$enable_statusbar"
7910
7911 if test "$enableval" = yes; then
7912 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7913 else
7914 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7915 fi
7916
7917 else
7918
7919 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x ; then
7921 eval "DEFAULT_$LINE"
7922 else
7923 no_cache=1
7924 fi
7925
7926 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7927
7928 fi;
7929
7930 eval "$ac_cv_use_statusbar"
7931 if test "$no_cache" != 1; then
7932 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7933 fi
7934
7935 if test "$wxUSE_STATUSBAR" = yes; then
7936 echo "$as_me:$LINENO: result: yes" >&5
7937 echo "${ECHO_T}yes" >&6
7938 else
7939 echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6
7941 fi
7942
7943
7944 enablestring=
7945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7946 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7947 no_cache=0
7948 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7949 if test "${enable_tabdialog+set}" = set; then
7950 enableval="$enable_tabdialog"
7951
7952 if test "$enableval" = yes; then
7953 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7954 else
7955 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7956 fi
7957
7958 else
7959
7960 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7963 else
7964 no_cache=1
7965 fi
7966
7967 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7968
7969 fi;
7970
7971 eval "$ac_cv_use_tabdialog"
7972 if test "$no_cache" != 1; then
7973 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7974 fi
7975
7976 if test "$wxUSE_TABDIALOG" = yes; then
7977 echo "$as_me:$LINENO: result: yes" >&5
7978 echo "${ECHO_T}yes" >&6
7979 else
7980 echo "$as_me:$LINENO: result: no" >&5
7981 echo "${ECHO_T}no" >&6
7982 fi
7983
7984
7985 enablestring=
7986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7988 no_cache=0
7989 # Check whether --enable-textctrl or --disable-textctrl was given.
7990 if test "${enable_textctrl+set}" = set; then
7991 enableval="$enable_textctrl"
7992
7993 if test "$enableval" = yes; then
7994 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7995 else
7996 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7997 fi
7998
7999 else
8000
8001 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8002 if test "x$LINE" != x ; then
8003 eval "DEFAULT_$LINE"
8004 else
8005 no_cache=1
8006 fi
8007
8008 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8009
8010 fi;
8011
8012 eval "$ac_cv_use_textctrl"
8013 if test "$no_cache" != 1; then
8014 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8015 fi
8016
8017 if test "$wxUSE_TEXTCTRL" = yes; then
8018 echo "$as_me:$LINENO: result: yes" >&5
8019 echo "${ECHO_T}yes" >&6
8020 else
8021 echo "$as_me:$LINENO: result: no" >&5
8022 echo "${ECHO_T}no" >&6
8023 fi
8024
8025
8026 enablestring=
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8029 no_cache=0
8030 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8031 if test "${enable_togglebtn+set}" = set; then
8032 enableval="$enable_togglebtn"
8033
8034 if test "$enableval" = yes; then
8035 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8036 else
8037 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8038 fi
8039
8040 else
8041
8042 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x ; then
8044 eval "DEFAULT_$LINE"
8045 else
8046 no_cache=1
8047 fi
8048
8049 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8050
8051 fi;
8052
8053 eval "$ac_cv_use_togglebtn"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8056 fi
8057
8058 if test "$wxUSE_TOGGLEBTN" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8061 else
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8064 fi
8065
8066
8067 enablestring=
8068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8069 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8070 no_cache=0
8071 # Check whether --enable-toolbar or --disable-toolbar was given.
8072 if test "${enable_toolbar+set}" = set; then
8073 enableval="$enable_toolbar"
8074
8075 if test "$enableval" = yes; then
8076 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8077 else
8078 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8079 fi
8080
8081 else
8082
8083 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x ; then
8085 eval "DEFAULT_$LINE"
8086 else
8087 no_cache=1
8088 fi
8089
8090 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8091
8092 fi;
8093
8094 eval "$ac_cv_use_toolbar"
8095 if test "$no_cache" != 1; then
8096 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8097 fi
8098
8099 if test "$wxUSE_TOOLBAR" = yes; then
8100 echo "$as_me:$LINENO: result: yes" >&5
8101 echo "${ECHO_T}yes" >&6
8102 else
8103 echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6
8105 fi
8106
8107
8108 enablestring=
8109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8110 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8111 no_cache=0
8112 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8113 if test "${enable_tbarnative+set}" = set; then
8114 enableval="$enable_tbarnative"
8115
8116 if test "$enableval" = yes; then
8117 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8118 else
8119 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8120 fi
8121
8122 else
8123
8124 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x ; then
8126 eval "DEFAULT_$LINE"
8127 else
8128 no_cache=1
8129 fi
8130
8131 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8132
8133 fi;
8134
8135 eval "$ac_cv_use_tbarnative"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8138 fi
8139
8140 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8141 echo "$as_me:$LINENO: result: yes" >&5
8142 echo "${ECHO_T}yes" >&6
8143 else
8144 echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6
8146 fi
8147
8148
8149 enablestring=
8150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8152 no_cache=0
8153 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8154 if test "${enable_tbarsmpl+set}" = set; then
8155 enableval="$enable_tbarsmpl"
8156
8157 if test "$enableval" = yes; then
8158 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8159 else
8160 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8161 fi
8162
8163 else
8164
8165 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x ; then
8167 eval "DEFAULT_$LINE"
8168 else
8169 no_cache=1
8170 fi
8171
8172 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8173
8174 fi;
8175
8176 eval "$ac_cv_use_tbarsmpl"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8179 fi
8180
8181 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8182 echo "$as_me:$LINENO: result: yes" >&5
8183 echo "${ECHO_T}yes" >&6
8184 else
8185 echo "$as_me:$LINENO: result: no" >&5
8186 echo "${ECHO_T}no" >&6
8187 fi
8188
8189
8190 enablestring=
8191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8192 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8193 no_cache=0
8194 # Check whether --enable-treectrl or --disable-treectrl was given.
8195 if test "${enable_treectrl+set}" = set; then
8196 enableval="$enable_treectrl"
8197
8198 if test "$enableval" = yes; then
8199 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8200 else
8201 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8202 fi
8203
8204 else
8205
8206 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8207 if test "x$LINE" != x ; then
8208 eval "DEFAULT_$LINE"
8209 else
8210 no_cache=1
8211 fi
8212
8213 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8214
8215 fi;
8216
8217 eval "$ac_cv_use_treectrl"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8220 fi
8221
8222 if test "$wxUSE_TREECTRL" = yes; then
8223 echo "$as_me:$LINENO: result: yes" >&5
8224 echo "${ECHO_T}yes" >&6
8225 else
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8228 fi
8229
8230
8231 enablestring=
8232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8233 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8234 no_cache=0
8235 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8236 if test "${enable_tipwindow+set}" = set; then
8237 enableval="$enable_tipwindow"
8238
8239 if test "$enableval" = yes; then
8240 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8241 else
8242 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8243 fi
8244
8245 else
8246
8247 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8248 if test "x$LINE" != x ; then
8249 eval "DEFAULT_$LINE"
8250 else
8251 no_cache=1
8252 fi
8253
8254 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8255
8256 fi;
8257
8258 eval "$ac_cv_use_tipwindow"
8259 if test "$no_cache" != 1; then
8260 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8261 fi
8262
8263 if test "$wxUSE_TIPWINDOW" = yes; then
8264 echo "$as_me:$LINENO: result: yes" >&5
8265 echo "${ECHO_T}yes" >&6
8266 else
8267 echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6
8269 fi
8270
8271
8272 enablestring=
8273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8275 no_cache=0
8276 # Check whether --enable-popupwin or --disable-popupwin was given.
8277 if test "${enable_popupwin+set}" = set; then
8278 enableval="$enable_popupwin"
8279
8280 if test "$enableval" = yes; then
8281 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8282 else
8283 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8284 fi
8285
8286 else
8287
8288 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8289 if test "x$LINE" != x ; then
8290 eval "DEFAULT_$LINE"
8291 else
8292 no_cache=1
8293 fi
8294
8295 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8296
8297 fi;
8298
8299 eval "$ac_cv_use_popupwin"
8300 if test "$no_cache" != 1; then
8301 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8302 fi
8303
8304 if test "$wxUSE_POPUPWIN" = yes; then
8305 echo "$as_me:$LINENO: result: yes" >&5
8306 echo "${ECHO_T}yes" >&6
8307 else
8308 echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6
8310 fi
8311
8312
8313
8314
8315 enablestring=
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8318 no_cache=0
8319 # Check whether --enable-commondlg or --disable-commondlg was given.
8320 if test "${enable_commondlg+set}" = set; then
8321 enableval="$enable_commondlg"
8322
8323 if test "$enableval" = yes; then
8324 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8325 else
8326 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8339
8340 fi;
8341
8342 eval "$ac_cv_use_commondlg"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_COMMONDLGS" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8350 else
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8353 fi
8354
8355
8356 enablestring=
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8359 no_cache=0
8360 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8361 if test "${enable_choicedlg+set}" = set; then
8362 enableval="$enable_choicedlg"
8363
8364 if test "$enableval" = yes; then
8365 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8366 else
8367 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8368 fi
8369
8370 else
8371
8372 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x ; then
8374 eval "DEFAULT_$LINE"
8375 else
8376 no_cache=1
8377 fi
8378
8379 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8380
8381 fi;
8382
8383 eval "$ac_cv_use_choicedlg"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_CHOICEDLG" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8391 else
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8394 fi
8395
8396
8397 enablestring=
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8400 no_cache=0
8401 # Check whether --enable-coldlg or --disable-coldlg was given.
8402 if test "${enable_coldlg+set}" = set; then
8403 enableval="$enable_coldlg"
8404
8405 if test "$enableval" = yes; then
8406 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8407 else
8408 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8409 fi
8410
8411 else
8412
8413 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8416 else
8417 no_cache=1
8418 fi
8419
8420 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8421
8422 fi;
8423
8424 eval "$ac_cv_use_coldlg"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_COLOURDLG" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8432 else
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435 fi
8436
8437
8438 enablestring=
8439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8441 no_cache=0
8442 # Check whether --enable-filedlg or --disable-filedlg was given.
8443 if test "${enable_filedlg+set}" = set; then
8444 enableval="$enable_filedlg"
8445
8446 if test "$enableval" = yes; then
8447 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8448 else
8449 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8450 fi
8451
8452 else
8453
8454 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8455 if test "x$LINE" != x ; then
8456 eval "DEFAULT_$LINE"
8457 else
8458 no_cache=1
8459 fi
8460
8461 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8462
8463 fi;
8464
8465 eval "$ac_cv_use_filedlg"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_FILEDLG" = yes; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8473 else
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8476 fi
8477
8478
8479 enablestring=
8480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8482 no_cache=0
8483 # Check whether --enable-finddlg or --disable-finddlg was given.
8484 if test "${enable_finddlg+set}" = set; then
8485 enableval="$enable_finddlg"
8486
8487 if test "$enableval" = yes; then
8488 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8489 else
8490 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8491 fi
8492
8493 else
8494
8495 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8498 else
8499 no_cache=1
8500 fi
8501
8502 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8503
8504 fi;
8505
8506 eval "$ac_cv_use_finddlg"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_FINDREPLDLG" = yes; then
8512 echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6
8514 else
8515 echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6
8517 fi
8518
8519
8520 enablestring=
8521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8523 no_cache=0
8524 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8525 if test "${enable_fontdlg+set}" = set; then
8526 enableval="$enable_fontdlg"
8527
8528 if test "$enableval" = yes; then
8529 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8530 else
8531 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8532 fi
8533
8534 else
8535
8536 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x ; then
8538 eval "DEFAULT_$LINE"
8539 else
8540 no_cache=1
8541 fi
8542
8543 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8544
8545 fi;
8546
8547 eval "$ac_cv_use_fontdlg"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_FONTDLG" = yes; then
8553 echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6
8555 else
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8558 fi
8559
8560
8561 enablestring=
8562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8564 no_cache=0
8565 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8566 if test "${enable_dirdlg+set}" = set; then
8567 enableval="$enable_dirdlg"
8568
8569 if test "$enableval" = yes; then
8570 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8571 else
8572 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8573 fi
8574
8575 else
8576
8577 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8578 if test "x$LINE" != x ; then
8579 eval "DEFAULT_$LINE"
8580 else
8581 no_cache=1
8582 fi
8583
8584 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8585
8586 fi;
8587
8588 eval "$ac_cv_use_dirdlg"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8591 fi
8592
8593 if test "$wxUSE_DIRDLG" = yes; then
8594 echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6
8596 else
8597 echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6
8599 fi
8600
8601
8602 enablestring=
8603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8605 no_cache=0
8606 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8607 if test "${enable_msgdlg+set}" = set; then
8608 enableval="$enable_msgdlg"
8609
8610 if test "$enableval" = yes; then
8611 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8612 else
8613 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8626
8627 fi;
8628
8629 eval "$ac_cv_use_msgdlg"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8632 fi
8633
8634 if test "$wxUSE_MSGDLG" = yes; then
8635 echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6
8637 else
8638 echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6
8640 fi
8641
8642
8643 enablestring=
8644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8645 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8646 no_cache=0
8647 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8648 if test "${enable_numberdlg+set}" = set; then
8649 enableval="$enable_numberdlg"
8650
8651 if test "$enableval" = yes; then
8652 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8653 else
8654 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8655 fi
8656
8657 else
8658
8659 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8662 else
8663 no_cache=1
8664 fi
8665
8666 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8667
8668 fi;
8669
8670 eval "$ac_cv_use_numberdlg"
8671 if test "$no_cache" != 1; then
8672 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8673 fi
8674
8675 if test "$wxUSE_NUMBERDLG" = yes; then
8676 echo "$as_me:$LINENO: result: yes" >&5
8677 echo "${ECHO_T}yes" >&6
8678 else
8679 echo "$as_me:$LINENO: result: no" >&5
8680 echo "${ECHO_T}no" >&6
8681 fi
8682
8683
8684 enablestring=
8685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8686 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8687 no_cache=0
8688 # Check whether --enable-splash or --disable-splash was given.
8689 if test "${enable_splash+set}" = set; then
8690 enableval="$enable_splash"
8691
8692 if test "$enableval" = yes; then
8693 ac_cv_use_splash='wxUSE_SPLASH=yes'
8694 else
8695 ac_cv_use_splash='wxUSE_SPLASH=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8708
8709 fi;
8710
8711 eval "$ac_cv_use_splash"
8712 if test "$no_cache" != 1; then
8713 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8714 fi
8715
8716 if test "$wxUSE_SPLASH" = yes; then
8717 echo "$as_me:$LINENO: result: yes" >&5
8718 echo "${ECHO_T}yes" >&6
8719 else
8720 echo "$as_me:$LINENO: result: no" >&5
8721 echo "${ECHO_T}no" >&6
8722 fi
8723
8724
8725 enablestring=
8726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8727 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8728 no_cache=0
8729 # Check whether --enable-textdlg or --disable-textdlg was given.
8730 if test "${enable_textdlg+set}" = set; then
8731 enableval="$enable_textdlg"
8732
8733 if test "$enableval" = yes; then
8734 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8735 else
8736 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8737 fi
8738
8739 else
8740
8741 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8742 if test "x$LINE" != x ; then
8743 eval "DEFAULT_$LINE"
8744 else
8745 no_cache=1
8746 fi
8747
8748 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8749
8750 fi;
8751
8752 eval "$ac_cv_use_textdlg"
8753 if test "$no_cache" != 1; then
8754 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8755 fi
8756
8757 if test "$wxUSE_TEXTDLG" = yes; then
8758 echo "$as_me:$LINENO: result: yes" >&5
8759 echo "${ECHO_T}yes" >&6
8760 else
8761 echo "$as_me:$LINENO: result: no" >&5
8762 echo "${ECHO_T}no" >&6
8763 fi
8764
8765
8766 enablestring=
8767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8769 no_cache=0
8770 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8771 if test "${enable_tipdlg+set}" = set; then
8772 enableval="$enable_tipdlg"
8773
8774 if test "$enableval" = yes; then
8775 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8776 else
8777 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8778 fi
8779
8780 else
8781
8782 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8783 if test "x$LINE" != x ; then
8784 eval "DEFAULT_$LINE"
8785 else
8786 no_cache=1
8787 fi
8788
8789 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8790
8791 fi;
8792
8793 eval "$ac_cv_use_tipdlg"
8794 if test "$no_cache" != 1; then
8795 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8796 fi
8797
8798 if test "$wxUSE_STARTUP_TIPS" = yes; then
8799 echo "$as_me:$LINENO: result: yes" >&5
8800 echo "${ECHO_T}yes" >&6
8801 else
8802 echo "$as_me:$LINENO: result: no" >&5
8803 echo "${ECHO_T}no" >&6
8804 fi
8805
8806
8807 enablestring=
8808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8810 no_cache=0
8811 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8812 if test "${enable_progressdlg+set}" = set; then
8813 enableval="$enable_progressdlg"
8814
8815 if test "$enableval" = yes; then
8816 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8817 else
8818 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8819 fi
8820
8821 else
8822
8823 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8824 if test "x$LINE" != x ; then
8825 eval "DEFAULT_$LINE"
8826 else
8827 no_cache=1
8828 fi
8829
8830 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8831
8832 fi;
8833
8834 eval "$ac_cv_use_progressdlg"
8835 if test "$no_cache" != 1; then
8836 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8837 fi
8838
8839 if test "$wxUSE_PROGRESSDLG" = yes; then
8840 echo "$as_me:$LINENO: result: yes" >&5
8841 echo "${ECHO_T}yes" >&6
8842 else
8843 echo "$as_me:$LINENO: result: no" >&5
8844 echo "${ECHO_T}no" >&6
8845 fi
8846
8847
8848 enablestring=
8849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8850 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8851 no_cache=0
8852 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8853 if test "${enable_wizarddlg+set}" = set; then
8854 enableval="$enable_wizarddlg"
8855
8856 if test "$enableval" = yes; then
8857 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8858 else
8859 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8860 fi
8861
8862 else
8863
8864 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8865 if test "x$LINE" != x ; then
8866 eval "DEFAULT_$LINE"
8867 else
8868 no_cache=1
8869 fi
8870
8871 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8872
8873 fi;
8874
8875 eval "$ac_cv_use_wizarddlg"
8876 if test "$no_cache" != 1; then
8877 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8878 fi
8879
8880 if test "$wxUSE_WIZARDDLG" = yes; then
8881 echo "$as_me:$LINENO: result: yes" >&5
8882 echo "${ECHO_T}yes" >&6
8883 else
8884 echo "$as_me:$LINENO: result: no" >&5
8885 echo "${ECHO_T}no" >&6
8886 fi
8887
8888
8889
8890
8891 enablestring=
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8894 no_cache=0
8895 # Check whether --enable-menus or --disable-menus was given.
8896 if test "${enable_menus+set}" = set; then
8897 enableval="$enable_menus"
8898
8899 if test "$enableval" = yes; then
8900 ac_cv_use_menus='wxUSE_MENUS=yes'
8901 else
8902 ac_cv_use_menus='wxUSE_MENUS=no'
8903 fi
8904
8905 else
8906
8907 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8910 else
8911 no_cache=1
8912 fi
8913
8914 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8915
8916 fi;
8917
8918 eval "$ac_cv_use_menus"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8921 fi
8922
8923 if test "$wxUSE_MENUS" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8926 else
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8929 fi
8930
8931
8932 enablestring=
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8935 no_cache=0
8936 # Check whether --enable-miniframe or --disable-miniframe was given.
8937 if test "${enable_miniframe+set}" = set; then
8938 enableval="$enable_miniframe"
8939
8940 if test "$enableval" = yes; then
8941 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8942 else
8943 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8944 fi
8945
8946 else
8947
8948 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 else
8952 no_cache=1
8953 fi
8954
8955 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8956
8957 fi;
8958
8959 eval "$ac_cv_use_miniframe"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8962 fi
8963
8964 if test "$wxUSE_MINIFRAME" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8967 else
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8970 fi
8971
8972
8973 enablestring=
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8976 no_cache=0
8977 # Check whether --enable-tooltips or --disable-tooltips was given.
8978 if test "${enable_tooltips+set}" = set; then
8979 enableval="$enable_tooltips"
8980
8981 if test "$enableval" = yes; then
8982 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8983 else
8984 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8985 fi
8986
8987 else
8988
8989 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8992 else
8993 no_cache=1
8994 fi
8995
8996 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8997
8998 fi;
8999
9000 eval "$ac_cv_use_tooltips"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9003 fi
9004
9005 if test "$wxUSE_TOOLTIPS" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9008 else
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9011 fi
9012
9013
9014 enablestring=
9015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9017 no_cache=0
9018 # Check whether --enable-splines or --disable-splines was given.
9019 if test "${enable_splines+set}" = set; then
9020 enableval="$enable_splines"
9021
9022 if test "$enableval" = yes; then
9023 ac_cv_use_splines='wxUSE_SPLINES=yes'
9024 else
9025 ac_cv_use_splines='wxUSE_SPLINES=no'
9026 fi
9027
9028 else
9029
9030 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9033 else
9034 no_cache=1
9035 fi
9036
9037 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9038
9039 fi;
9040
9041 eval "$ac_cv_use_splines"
9042 if test "$no_cache" != 1; then
9043 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9044 fi
9045
9046 if test "$wxUSE_SPLINES" = yes; then
9047 echo "$as_me:$LINENO: result: yes" >&5
9048 echo "${ECHO_T}yes" >&6
9049 else
9050 echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6
9052 fi
9053
9054
9055 enablestring=
9056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9057 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9058 no_cache=0
9059 # Check whether --enable-validators or --disable-validators was given.
9060 if test "${enable_validators+set}" = set; then
9061 enableval="$enable_validators"
9062
9063 if test "$enableval" = yes; then
9064 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9065 else
9066 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9067 fi
9068
9069 else
9070
9071 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9072 if test "x$LINE" != x ; then
9073 eval "DEFAULT_$LINE"
9074 else
9075 no_cache=1
9076 fi
9077
9078 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9079
9080 fi;
9081
9082 eval "$ac_cv_use_validators"
9083 if test "$no_cache" != 1; then
9084 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9085 fi
9086
9087 if test "$wxUSE_VALIDATORS" = yes; then
9088 echo "$as_me:$LINENO: result: yes" >&5
9089 echo "${ECHO_T}yes" >&6
9090 else
9091 echo "$as_me:$LINENO: result: no" >&5
9092 echo "${ECHO_T}no" >&6
9093 fi
9094
9095
9096 enablestring=
9097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9099 no_cache=0
9100 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9101 if test "${enable_busyinfo+set}" = set; then
9102 enableval="$enable_busyinfo"
9103
9104 if test "$enableval" = yes; then
9105 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9106 else
9107 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9108 fi
9109
9110 else
9111
9112 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9113 if test "x$LINE" != x ; then
9114 eval "DEFAULT_$LINE"
9115 else
9116 no_cache=1
9117 fi
9118
9119 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9120
9121 fi;
9122
9123 eval "$ac_cv_use_busyinfo"
9124 if test "$no_cache" != 1; then
9125 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9126 fi
9127
9128 if test "$wxUSE_BUSYINFO" = yes; then
9129 echo "$as_me:$LINENO: result: yes" >&5
9130 echo "${ECHO_T}yes" >&6
9131 else
9132 echo "$as_me:$LINENO: result: no" >&5
9133 echo "${ECHO_T}no" >&6
9134 fi
9135
9136
9137 enablestring=
9138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9139 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9140 no_cache=0
9141 # Check whether --enable-joystick or --disable-joystick was given.
9142 if test "${enable_joystick+set}" = set; then
9143 enableval="$enable_joystick"
9144
9145 if test "$enableval" = yes; then
9146 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9147 else
9148 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9149 fi
9150
9151 else
9152
9153 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9154 if test "x$LINE" != x ; then
9155 eval "DEFAULT_$LINE"
9156 else
9157 no_cache=1
9158 fi
9159
9160 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9161
9162 fi;
9163
9164 eval "$ac_cv_use_joystick"
9165 if test "$no_cache" != 1; then
9166 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9167 fi
9168
9169 if test "$wxUSE_JOYSTICK" = yes; then
9170 echo "$as_me:$LINENO: result: yes" >&5
9171 echo "${ECHO_T}yes" >&6
9172 else
9173 echo "$as_me:$LINENO: result: no" >&5
9174 echo "${ECHO_T}no" >&6
9175 fi
9176
9177
9178 enablestring=
9179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9180 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9181 no_cache=0
9182 # Check whether --enable-metafile or --disable-metafile was given.
9183 if test "${enable_metafile+set}" = set; then
9184 enableval="$enable_metafile"
9185
9186 if test "$enableval" = yes; then
9187 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9188 else
9189 ac_cv_use_metafile='wxUSE_METAFILE=no'
9190 fi
9191
9192 else
9193
9194 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9195 if test "x$LINE" != x ; then
9196 eval "DEFAULT_$LINE"
9197 else
9198 no_cache=1
9199 fi
9200
9201 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9202
9203 fi;
9204
9205 eval "$ac_cv_use_metafile"
9206 if test "$no_cache" != 1; then
9207 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9208 fi
9209
9210 if test "$wxUSE_METAFILE" = yes; then
9211 echo "$as_me:$LINENO: result: yes" >&5
9212 echo "${ECHO_T}yes" >&6
9213 else
9214 echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6
9216 fi
9217
9218
9219 enablestring=
9220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9221 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9222 no_cache=0
9223 # Check whether --enable-dragimage or --disable-dragimage was given.
9224 if test "${enable_dragimage+set}" = set; then
9225 enableval="$enable_dragimage"
9226
9227 if test "$enableval" = yes; then
9228 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9229 else
9230 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9231 fi
9232
9233 else
9234
9235 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9236 if test "x$LINE" != x ; then
9237 eval "DEFAULT_$LINE"
9238 else
9239 no_cache=1
9240 fi
9241
9242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9243
9244 fi;
9245
9246 eval "$ac_cv_use_dragimage"
9247 if test "$no_cache" != 1; then
9248 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9249 fi
9250
9251 if test "$wxUSE_DRAGIMAGE" = yes; then
9252 echo "$as_me:$LINENO: result: yes" >&5
9253 echo "${ECHO_T}yes" >&6
9254 else
9255 echo "$as_me:$LINENO: result: no" >&5
9256 echo "${ECHO_T}no" >&6
9257 fi
9258
9259
9260 enablestring=
9261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9262 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9263 no_cache=0
9264 # Check whether --enable-accessibility or --disable-accessibility was given.
9265 if test "${enable_accessibility+set}" = set; then
9266 enableval="$enable_accessibility"
9267
9268 if test "$enableval" = yes; then
9269 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9270 else
9271 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9272 fi
9273
9274 else
9275
9276 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9277 if test "x$LINE" != x ; then
9278 eval "DEFAULT_$LINE"
9279 else
9280 no_cache=1
9281 fi
9282
9283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9284
9285 fi;
9286
9287 eval "$ac_cv_use_accessibility"
9288 if test "$no_cache" != 1; then
9289 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9290 fi
9291
9292 if test "$wxUSE_ACCESSIBILITY" = yes; then
9293 echo "$as_me:$LINENO: result: yes" >&5
9294 echo "${ECHO_T}yes" >&6
9295 else
9296 echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6
9298 fi
9299
9300
9301
9302
9303 enablestring=
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9306 no_cache=0
9307 # Check whether --enable-palette or --disable-palette was given.
9308 if test "${enable_palette+set}" = set; then
9309 enableval="$enable_palette"
9310
9311 if test "$enableval" = yes; then
9312 ac_cv_use_palette='wxUSE_PALETTE=yes'
9313 else
9314 ac_cv_use_palette='wxUSE_PALETTE=no'
9315 fi
9316
9317 else
9318
9319 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9322 else
9323 no_cache=1
9324 fi
9325
9326 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9327
9328 fi;
9329
9330 eval "$ac_cv_use_palette"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9333 fi
9334
9335 if test "$wxUSE_PALETTE" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9338 else
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9341 fi
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-image or --disable-image was given.
9349 if test "${enable_image+set}" = set; then
9350 enableval="$enable_image"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_image='wxUSE_IMAGE=yes'
9354 else
9355 ac_cv_use_image='wxUSE_IMAGE=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9368
9369 fi;
9370
9371 eval "$ac_cv_use_image"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_IMAGE" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 enablestring=
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-gif or --disable-gif was given.
9390 if test "${enable_gif+set}" = set; then
9391 enableval="$enable_gif"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_gif='wxUSE_GIF=yes'
9395 else
9396 ac_cv_use_gif='wxUSE_GIF=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9409
9410 fi;
9411
9412 eval "$ac_cv_use_gif"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test "$wxUSE_GIF" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9420 else
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9423 fi
9424
9425
9426 enablestring=
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9429 no_cache=0
9430 # Check whether --enable-pcx or --disable-pcx was given.
9431 if test "${enable_pcx+set}" = set; then
9432 enableval="$enable_pcx"
9433
9434 if test "$enableval" = yes; then
9435 ac_cv_use_pcx='wxUSE_PCX=yes'
9436 else
9437 ac_cv_use_pcx='wxUSE_PCX=no'
9438 fi
9439
9440 else
9441
9442 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9445 else
9446 no_cache=1
9447 fi
9448
9449 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9450
9451 fi;
9452
9453 eval "$ac_cv_use_pcx"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9456 fi
9457
9458 if test "$wxUSE_PCX" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9461 else
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9464 fi
9465
9466
9467 enablestring=
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9470 no_cache=0
9471 # Check whether --enable-iff or --disable-iff was given.
9472 if test "${enable_iff+set}" = set; then
9473 enableval="$enable_iff"
9474
9475 if test "$enableval" = yes; then
9476 ac_cv_use_iff='wxUSE_IFF=yes'
9477 else
9478 ac_cv_use_iff='wxUSE_IFF=no'
9479 fi
9480
9481 else
9482
9483 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9486 else
9487 no_cache=1
9488 fi
9489
9490 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9491
9492 fi;
9493
9494 eval "$ac_cv_use_iff"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9497 fi
9498
9499 if test "$wxUSE_IFF" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9502 else
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9505 fi
9506
9507
9508 enablestring=
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9511 no_cache=0
9512 # Check whether --enable-pnm or --disable-pnm was given.
9513 if test "${enable_pnm+set}" = set; then
9514 enableval="$enable_pnm"
9515
9516 if test "$enableval" = yes; then
9517 ac_cv_use_pnm='wxUSE_PNM=yes'
9518 else
9519 ac_cv_use_pnm='wxUSE_PNM=no'
9520 fi
9521
9522 else
9523
9524 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9527 else
9528 no_cache=1
9529 fi
9530
9531 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9532
9533 fi;
9534
9535 eval "$ac_cv_use_pnm"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9538 fi
9539
9540 if test "$wxUSE_PNM" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9543 else
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9546 fi
9547
9548
9549 enablestring=
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9552 no_cache=0
9553 # Check whether --enable-xpm or --disable-xpm was given.
9554 if test "${enable_xpm+set}" = set; then
9555 enableval="$enable_xpm"
9556
9557 if test "$enableval" = yes; then
9558 ac_cv_use_xpm='wxUSE_XPM=yes'
9559 else
9560 ac_cv_use_xpm='wxUSE_XPM=no'
9561 fi
9562
9563 else
9564
9565 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9568 else
9569 no_cache=1
9570 fi
9571
9572 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9573
9574 fi;
9575
9576 eval "$ac_cv_use_xpm"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test "$wxUSE_XPM" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9584 else
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9587 fi
9588
9589
9590 enablestring=
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9593 no_cache=0
9594 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9595 if test "${enable_ico_cur+set}" = set; then
9596 enableval="$enable_ico_cur"
9597
9598 if test "$enableval" = yes; then
9599 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9600 else
9601 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9602 fi
9603
9604 else
9605
9606 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9609 else
9610 no_cache=1
9611 fi
9612
9613 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9614
9615 fi;
9616
9617 eval "$ac_cv_use_ico_cur"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9620 fi
9621
9622 if test "$wxUSE_ICO_CUR" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9625 else
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9628 fi
9629
9630
9631 fi
9632
9633
9634
9635 enablestring=
9636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9637 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9638 no_cache=0
9639 # Check whether --enable-official_build or --disable-official_build was given.
9640 if test "${enable_official_build+set}" = set; then
9641 enableval="$enable_official_build"
9642
9643 if test "$enableval" = yes; then
9644 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9645 else
9646 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9647 fi
9648
9649 else
9650
9651 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9652 if test "x$LINE" != x ; then
9653 eval "DEFAULT_$LINE"
9654 else
9655 no_cache=1
9656 fi
9657
9658 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9659
9660 fi;
9661
9662 eval "$ac_cv_use_official_build"
9663 if test "$no_cache" != 1; then
9664 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9665 fi
9666
9667 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9668 echo "$as_me:$LINENO: result: yes" >&5
9669 echo "${ECHO_T}yes" >&6
9670 else
9671 echo "$as_me:$LINENO: result: no" >&5
9672 echo "${ECHO_T}no" >&6
9673 fi
9674
9675 # Check whether --enable-vendor or --disable-vendor was given.
9676 if test "${enable_vendor+set}" = set; then
9677 enableval="$enable_vendor"
9678 VENDOR="$enableval"
9679 fi;
9680 if test "x$VENDOR" = "x"; then
9681 VENDOR="custom"
9682 fi
9683
9684 case "${host}" in
9685 *-pc-os2_emx | *-pc-os2-emx )
9686 PATH_IFS=';'
9687 ;;
9688 *)
9689 PATH_IFS=':'
9690 ;;
9691 esac
9692
9693
9694
9695 echo "saving argument cache $wx_arg_cache_file"
9696 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9697
9698
9699
9700 echo "$as_me:$LINENO: checking for toolkit" >&5
9701 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9702
9703 # In Wine, we need to default to MSW, not GTK or MOTIF
9704 if test "$wxUSE_WINE" = "yes"; then
9705 DEFAULT_DEFAULT_wxUSE_GTK=0
9706 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9707 DEFAULT_DEFAULT_wxUSE_MSW=1
9708 wxUSE_SHARED=no
9709 fi
9710
9711 if test "$wxUSE_GUI" = "yes"; then
9712
9713 if test "$USE_BEOS" = 1; then
9714 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9715 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9716 { (exit 1); exit 1; }; }
9717 fi
9718
9719 if test "$TOOLKIT_GIVEN" = 1; then
9720 for toolkit in `echo $ALL_TOOLKITS`; do
9721 var=wxUSE_$toolkit
9722 eval "value=\$${var}"
9723 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9724 done
9725 else
9726 for toolkit in `echo $ALL_TOOLKITS`; do
9727 if test "$has_toolkit_in_cache" != 1; then
9728 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9729 else
9730 var=DEFAULT_wxUSE_$toolkit
9731 fi
9732 eval "wxUSE_$toolkit=\$${var}"
9733 done
9734 fi
9735
9736 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9737 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9738 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9739
9740 case "${host}" in
9741 *-pc-os2_emx | *-pc-os2-emx )
9742 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9743 esac
9744
9745 case "$NUM_TOOLKITS" in
9746 1)
9747 ;;
9748 0)
9749 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9750 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9751 { (exit 1); exit 1; }; }
9752 ;;
9753 *)
9754 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9755 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9756 { (exit 1); exit 1; }; }
9757 esac
9758
9759 for toolkit in `echo $ALL_TOOLKITS`; do
9760 var=wxUSE_$toolkit
9761 eval "value=\$${var}"
9762 if test "x$value" != x; then
9763 cache_var=CACHE_$toolkit
9764 eval "cache=\$${cache_var}"
9765 if test "$cache" = 1; then
9766 echo "$var=$value" >> ${wx_arg_cache_file}
9767 fi
9768 if test "$value" = 1; then
9769 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9770 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9771 echo "${ECHO_T}$toolkit_echo" >&6
9772 fi
9773 fi
9774 done
9775 else
9776 if test "x$host_alias" != "x"; then
9777 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9778 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9779 else
9780 echo "$as_me:$LINENO: result: base only" >&5
9781 echo "${ECHO_T}base only" >&6
9782 fi
9783 fi
9784
9785 wants_win32=0
9786 doesnt_want_win32=0
9787 case "${host}" in
9788 *-*-cygwin*)
9789 if test "$wxUSE_MSW" = 1 ; then
9790 wants_win32=1
9791 else
9792 doesnt_want_win32=1
9793 fi
9794 ;;
9795 *-*-mingw*)
9796 wants_win32=1
9797 ;;
9798 esac
9799
9800 if test "$wxUSE_WINE" = "yes"; then
9801 wants_win32=1
9802 CC=winegcc
9803 CXX=wineg++
9804 RESCOMP=wrc
9805 LDFLAGS_GUI="-mwindows"
9806 fi
9807
9808 if test "$wants_win32" = 1 ; then
9809 USE_UNIX=0
9810 USE_WIN32=1
9811 cat >>confdefs.h <<\_ACEOF
9812 #define __WIN32__ 1
9813 _ACEOF
9814
9815 cat >>confdefs.h <<\_ACEOF
9816 #define __WIN95__ 1
9817 _ACEOF
9818
9819 cat >>confdefs.h <<\_ACEOF
9820 #define __WINDOWS__ 1
9821 _ACEOF
9822
9823 cat >>confdefs.h <<\_ACEOF
9824 #define __GNUWIN32__ 1
9825 _ACEOF
9826
9827 cat >>confdefs.h <<\_ACEOF
9828 #define STRICT 1
9829 _ACEOF
9830
9831 cat >>confdefs.h <<\_ACEOF
9832 #define WINVER 0x0400
9833 _ACEOF
9834
9835 fi
9836 if test "$doesnt_want_win32" = 1 ; then
9837 USE_UNIX=1
9838 USE_WIN32=0
9839 fi
9840
9841 if test "$USE_UNIX" = 1 ; then
9842 wxUSE_UNIX=yes
9843 cat >>confdefs.h <<\_ACEOF
9844 #define __UNIX__ 1
9845 _ACEOF
9846
9847 fi
9848
9849
9850 cat >confcache <<\_ACEOF
9851 # This file is a shell script that caches the results of configure
9852 # tests run on this system so they can be shared between configure
9853 # scripts and configure runs, see configure's option --config-cache.
9854 # It is not useful on other systems. If it contains results you don't
9855 # want to keep, you may remove or edit it.
9856 #
9857 # config.status only pays attention to the cache file if you give it
9858 # the --recheck option to rerun configure.
9859 #
9860 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9861 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9862 # following values.
9863
9864 _ACEOF
9865
9866 # The following way of writing the cache mishandles newlines in values,
9867 # but we know of no workaround that is simple, portable, and efficient.
9868 # So, don't put newlines in cache variables' values.
9869 # Ultrix sh set writes to stderr and can't be redirected directly,
9870 # and sets the high bit in the cache file unless we assign to the vars.
9871 {
9872 (set) 2>&1 |
9873 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9874 *ac_space=\ *)
9875 # `set' does not quote correctly, so add quotes (double-quote
9876 # substitution turns \\\\ into \\, and sed turns \\ into \).
9877 sed -n \
9878 "s/'/'\\\\''/g;
9879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9880 ;;
9881 *)
9882 # `set' quotes correctly as required by POSIX, so do not add quotes.
9883 sed -n \
9884 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9885 ;;
9886 esac;
9887 } |
9888 sed '
9889 t clear
9890 : clear
9891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9892 t end
9893 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9894 : end' >>confcache
9895 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9896 if test -w $cache_file; then
9897 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9898 cat confcache >$cache_file
9899 else
9900 echo "not updating unwritable cache $cache_file"
9901 fi
9902 fi
9903 rm -f confcache
9904
9905 if test "$build" != "$host" ; then
9906 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9907 CC=$host_alias-gcc
9908 CXX=$host_alias-c++
9909 AR=$host_alias-ar
9910 RANLIB=$host_alias-ranlib
9911 DLLTOOL=$host_alias-dlltool
9912 RESCOMP=$host_alias-windres
9913 LD=$host_alias-ld
9914 NM=$host_alias-nm
9915 STRIP=$host_alias-strip
9916 else
9917 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9918 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9919 { (exit 1); exit 1; }; }
9920 fi
9921 fi
9922
9923 CFLAGS=${CFLAGS:=}
9924 ac_ext=c
9925 ac_cpp='$CPP $CPPFLAGS'
9926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9929 if test -n "$ac_tool_prefix"; then
9930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9932 echo "$as_me:$LINENO: checking for $ac_word" >&5
9933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9934 if test "${ac_cv_prog_CC+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9936 else
9937 if test -n "$CC"; then
9938 ac_cv_prog_CC="$CC" # Let the user override the test.
9939 else
9940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9941 for as_dir in $PATH
9942 do
9943 IFS=$as_save_IFS
9944 test -z "$as_dir" && as_dir=.
9945 for ac_exec_ext in '' $ac_executable_extensions; do
9946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9947 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9949 break 2
9950 fi
9951 done
9952 done
9953
9954 fi
9955 fi
9956 CC=$ac_cv_prog_CC
9957 if test -n "$CC"; then
9958 echo "$as_me:$LINENO: result: $CC" >&5
9959 echo "${ECHO_T}$CC" >&6
9960 else
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9963 fi
9964
9965 fi
9966 if test -z "$ac_cv_prog_CC"; then
9967 ac_ct_CC=$CC
9968 # Extract the first word of "gcc", so it can be a program name with args.
9969 set dummy gcc; ac_word=$2
9970 echo "$as_me:$LINENO: checking for $ac_word" >&5
9971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9972 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9973 echo $ECHO_N "(cached) $ECHO_C" >&6
9974 else
9975 if test -n "$ac_ct_CC"; then
9976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9977 else
9978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9979 for as_dir in $PATH
9980 do
9981 IFS=$as_save_IFS
9982 test -z "$as_dir" && as_dir=.
9983 for ac_exec_ext in '' $ac_executable_extensions; do
9984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9985 ac_cv_prog_ac_ct_CC="gcc"
9986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9987 break 2
9988 fi
9989 done
9990 done
9991
9992 fi
9993 fi
9994 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9995 if test -n "$ac_ct_CC"; then
9996 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9997 echo "${ECHO_T}$ac_ct_CC" >&6
9998 else
9999 echo "$as_me:$LINENO: result: no" >&5
10000 echo "${ECHO_T}no" >&6
10001 fi
10002
10003 CC=$ac_ct_CC
10004 else
10005 CC="$ac_cv_prog_CC"
10006 fi
10007
10008 if test -z "$CC"; then
10009 if test -n "$ac_tool_prefix"; then
10010 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10011 set dummy ${ac_tool_prefix}cc; ac_word=$2
10012 echo "$as_me:$LINENO: checking for $ac_word" >&5
10013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10014 if test "${ac_cv_prog_CC+set}" = set; then
10015 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 else
10017 if test -n "$CC"; then
10018 ac_cv_prog_CC="$CC" # Let the user override the test.
10019 else
10020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10021 for as_dir in $PATH
10022 do
10023 IFS=$as_save_IFS
10024 test -z "$as_dir" && as_dir=.
10025 for ac_exec_ext in '' $ac_executable_extensions; do
10026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10027 ac_cv_prog_CC="${ac_tool_prefix}cc"
10028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10029 break 2
10030 fi
10031 done
10032 done
10033
10034 fi
10035 fi
10036 CC=$ac_cv_prog_CC
10037 if test -n "$CC"; then
10038 echo "$as_me:$LINENO: result: $CC" >&5
10039 echo "${ECHO_T}$CC" >&6
10040 else
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10043 fi
10044
10045 fi
10046 if test -z "$ac_cv_prog_CC"; then
10047 ac_ct_CC=$CC
10048 # Extract the first word of "cc", so it can be a program name with args.
10049 set dummy cc; ac_word=$2
10050 echo "$as_me:$LINENO: checking for $ac_word" >&5
10051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10052 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10053 echo $ECHO_N "(cached) $ECHO_C" >&6
10054 else
10055 if test -n "$ac_ct_CC"; then
10056 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10057 else
10058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10059 for as_dir in $PATH
10060 do
10061 IFS=$as_save_IFS
10062 test -z "$as_dir" && as_dir=.
10063 for ac_exec_ext in '' $ac_executable_extensions; do
10064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10065 ac_cv_prog_ac_ct_CC="cc"
10066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10067 break 2
10068 fi
10069 done
10070 done
10071
10072 fi
10073 fi
10074 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10075 if test -n "$ac_ct_CC"; then
10076 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10077 echo "${ECHO_T}$ac_ct_CC" >&6
10078 else
10079 echo "$as_me:$LINENO: result: no" >&5
10080 echo "${ECHO_T}no" >&6
10081 fi
10082
10083 CC=$ac_ct_CC
10084 else
10085 CC="$ac_cv_prog_CC"
10086 fi
10087
10088 fi
10089 if test -z "$CC"; then
10090 # Extract the first word of "cc", so it can be a program name with args.
10091 set dummy cc; ac_word=$2
10092 echo "$as_me:$LINENO: checking for $ac_word" >&5
10093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10094 if test "${ac_cv_prog_CC+set}" = set; then
10095 echo $ECHO_N "(cached) $ECHO_C" >&6
10096 else
10097 if test -n "$CC"; then
10098 ac_cv_prog_CC="$CC" # Let the user override the test.
10099 else
10100 ac_prog_rejected=no
10101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10102 for as_dir in $PATH
10103 do
10104 IFS=$as_save_IFS
10105 test -z "$as_dir" && as_dir=.
10106 for ac_exec_ext in '' $ac_executable_extensions; do
10107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10108 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10109 ac_prog_rejected=yes
10110 continue
10111 fi
10112 ac_cv_prog_CC="cc"
10113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10114 break 2
10115 fi
10116 done
10117 done
10118
10119 if test $ac_prog_rejected = yes; then
10120 # We found a bogon in the path, so make sure we never use it.
10121 set dummy $ac_cv_prog_CC
10122 shift
10123 if test $# != 0; then
10124 # We chose a different compiler from the bogus one.
10125 # However, it has the same basename, so the bogon will be chosen
10126 # first if we set CC to just the basename; use the full file name.
10127 shift
10128 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10129 fi
10130 fi
10131 fi
10132 fi
10133 CC=$ac_cv_prog_CC
10134 if test -n "$CC"; then
10135 echo "$as_me:$LINENO: result: $CC" >&5
10136 echo "${ECHO_T}$CC" >&6
10137 else
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10140 fi
10141
10142 fi
10143 if test -z "$CC"; then
10144 if test -n "$ac_tool_prefix"; then
10145 for ac_prog in cl
10146 do
10147 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10148 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10149 echo "$as_me:$LINENO: checking for $ac_word" >&5
10150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10151 if test "${ac_cv_prog_CC+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10153 else
10154 if test -n "$CC"; then
10155 ac_cv_prog_CC="$CC" # Let the user override the test.
10156 else
10157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10158 for as_dir in $PATH
10159 do
10160 IFS=$as_save_IFS
10161 test -z "$as_dir" && as_dir=.
10162 for ac_exec_ext in '' $ac_executable_extensions; do
10163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10164 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10166 break 2
10167 fi
10168 done
10169 done
10170
10171 fi
10172 fi
10173 CC=$ac_cv_prog_CC
10174 if test -n "$CC"; then
10175 echo "$as_me:$LINENO: result: $CC" >&5
10176 echo "${ECHO_T}$CC" >&6
10177 else
10178 echo "$as_me:$LINENO: result: no" >&5
10179 echo "${ECHO_T}no" >&6
10180 fi
10181
10182 test -n "$CC" && break
10183 done
10184 fi
10185 if test -z "$CC"; then
10186 ac_ct_CC=$CC
10187 for ac_prog in cl
10188 do
10189 # Extract the first word of "$ac_prog", so it can be a program name with args.
10190 set dummy $ac_prog; ac_word=$2
10191 echo "$as_me:$LINENO: checking for $ac_word" >&5
10192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10193 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 else
10196 if test -n "$ac_ct_CC"; then
10197 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10198 else
10199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10200 for as_dir in $PATH
10201 do
10202 IFS=$as_save_IFS
10203 test -z "$as_dir" && as_dir=.
10204 for ac_exec_ext in '' $ac_executable_extensions; do
10205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10206 ac_cv_prog_ac_ct_CC="$ac_prog"
10207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10208 break 2
10209 fi
10210 done
10211 done
10212
10213 fi
10214 fi
10215 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10216 if test -n "$ac_ct_CC"; then
10217 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10218 echo "${ECHO_T}$ac_ct_CC" >&6
10219 else
10220 echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6
10222 fi
10223
10224 test -n "$ac_ct_CC" && break
10225 done
10226
10227 CC=$ac_ct_CC
10228 fi
10229
10230 fi
10231
10232
10233 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10234 See \`config.log' for more details." >&5
10235 echo "$as_me: error: no acceptable C compiler found in \$PATH
10236 See \`config.log' for more details." >&2;}
10237 { (exit 1); exit 1; }; }
10238
10239 # Provide some information about the compiler.
10240 echo "$as_me:$LINENO:" \
10241 "checking for C compiler version" >&5
10242 ac_compiler=`set X $ac_compile; echo $2`
10243 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10244 (eval $ac_compiler --version </dev/null >&5) 2>&5
10245 ac_status=$?
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); }
10248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10249 (eval $ac_compiler -v </dev/null >&5) 2>&5
10250 ac_status=$?
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }
10253 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10254 (eval $ac_compiler -V </dev/null >&5) 2>&5
10255 ac_status=$?
10256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257 (exit $ac_status); }
10258
10259 cat >conftest.$ac_ext <<_ACEOF
10260 #line $LINENO "configure"
10261 /* confdefs.h. */
10262 _ACEOF
10263 cat confdefs.h >>conftest.$ac_ext
10264 cat >>conftest.$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10266
10267 int
10268 main ()
10269 {
10270
10271 ;
10272 return 0;
10273 }
10274 _ACEOF
10275 ac_clean_files_save=$ac_clean_files
10276 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10277 # Try to create an executable without -o first, disregard a.out.
10278 # It will help us diagnose broken compilers, and finding out an intuition
10279 # of exeext.
10280 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10281 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10282 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10283 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10284 (eval $ac_link_default) 2>&5
10285 ac_status=$?
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; then
10288 # Find the output, starting from the most likely. This scheme is
10289 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10290 # resort.
10291
10292 # Be careful to initialize this variable, since it used to be cached.
10293 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10294 ac_cv_exeext=
10295 # b.out is created by i960 compilers.
10296 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10297 do
10298 test -f "$ac_file" || continue
10299 case $ac_file in
10300 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10301 ;;
10302 conftest.$ac_ext )
10303 # This is the source file.
10304 ;;
10305 [ab].out )
10306 # We found the default executable, but exeext='' is most
10307 # certainly right.
10308 break;;
10309 *.* )
10310 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10311 # FIXME: I believe we export ac_cv_exeext for Libtool,
10312 # but it would be cool to find out if it's true. Does anybody
10313 # maintain Libtool? --akim.
10314 export ac_cv_exeext
10315 break;;
10316 * )
10317 break;;
10318 esac
10319 done
10320 else
10321 echo "$as_me: failed program was:" >&5
10322 sed 's/^/| /' conftest.$ac_ext >&5
10323
10324 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10325 See \`config.log' for more details." >&5
10326 echo "$as_me: error: C compiler cannot create executables
10327 See \`config.log' for more details." >&2;}
10328 { (exit 77); exit 77; }; }
10329 fi
10330
10331 ac_exeext=$ac_cv_exeext
10332 echo "$as_me:$LINENO: result: $ac_file" >&5
10333 echo "${ECHO_T}$ac_file" >&6
10334
10335 # Check the compiler produces executables we can run. If not, either
10336 # the compiler is broken, or we cross compile.
10337 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10338 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10339 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10340 # If not cross compiling, check that we can run a simple program.
10341 if test "$cross_compiling" != yes; then
10342 if { ac_try='./$ac_file'
10343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 (eval $ac_try) 2>&5
10345 ac_status=$?
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); }; }; then
10348 cross_compiling=no
10349 else
10350 if test "$cross_compiling" = maybe; then
10351 cross_compiling=yes
10352 else
10353 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10354 If you meant to cross compile, use \`--host'.
10355 See \`config.log' for more details." >&5
10356 echo "$as_me: error: cannot run C compiled programs.
10357 If you meant to cross compile, use \`--host'.
10358 See \`config.log' for more details." >&2;}
10359 { (exit 1); exit 1; }; }
10360 fi
10361 fi
10362 fi
10363 echo "$as_me:$LINENO: result: yes" >&5
10364 echo "${ECHO_T}yes" >&6
10365
10366 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10367 ac_clean_files=$ac_clean_files_save
10368 # Check the compiler produces executables we can run. If not, either
10369 # the compiler is broken, or we cross compile.
10370 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10371 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10372 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10373 echo "${ECHO_T}$cross_compiling" >&6
10374
10375 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10376 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10378 (eval $ac_link) 2>&5
10379 ac_status=$?
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }; then
10382 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10383 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10384 # work properly (i.e., refer to `conftest.exe'), while it won't with
10385 # `rm'.
10386 for ac_file in conftest.exe conftest conftest.*; do
10387 test -f "$ac_file" || continue
10388 case $ac_file in
10389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10390 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10391 export ac_cv_exeext
10392 break;;
10393 * ) break;;
10394 esac
10395 done
10396 else
10397 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10398 See \`config.log' for more details." >&5
10399 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10400 See \`config.log' for more details." >&2;}
10401 { (exit 1); exit 1; }; }
10402 fi
10403
10404 rm -f conftest$ac_cv_exeext
10405 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10406 echo "${ECHO_T}$ac_cv_exeext" >&6
10407
10408 rm -f conftest.$ac_ext
10409 EXEEXT=$ac_cv_exeext
10410 ac_exeext=$EXEEXT
10411 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10412 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10413 if test "${ac_cv_objext+set}" = set; then
10414 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 else
10416 cat >conftest.$ac_ext <<_ACEOF
10417 #line $LINENO "configure"
10418 /* confdefs.h. */
10419 _ACEOF
10420 cat confdefs.h >>conftest.$ac_ext
10421 cat >>conftest.$ac_ext <<_ACEOF
10422 /* end confdefs.h. */
10423
10424 int
10425 main ()
10426 {
10427
10428 ;
10429 return 0;
10430 }
10431 _ACEOF
10432 rm -f conftest.o conftest.obj
10433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; then
10438 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10439 case $ac_file in
10440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10441 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10442 break;;
10443 esac
10444 done
10445 else
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10448
10449 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10450 See \`config.log' for more details." >&5
10451 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10452 See \`config.log' for more details." >&2;}
10453 { (exit 1); exit 1; }; }
10454 fi
10455
10456 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10457 fi
10458 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10459 echo "${ECHO_T}$ac_cv_objext" >&6
10460 OBJEXT=$ac_cv_objext
10461 ac_objext=$OBJEXT
10462 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10463 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10464 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10465 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 else
10467 cat >conftest.$ac_ext <<_ACEOF
10468 #line $LINENO "configure"
10469 /* confdefs.h. */
10470 _ACEOF
10471 cat confdefs.h >>conftest.$ac_ext
10472 cat >>conftest.$ac_ext <<_ACEOF
10473 /* end confdefs.h. */
10474
10475 int
10476 main ()
10477 {
10478 #ifndef __GNUC__
10479 choke me
10480 #endif
10481
10482 ;
10483 return 0;
10484 }
10485 _ACEOF
10486 rm -f conftest.$ac_objext
10487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10488 (eval $ac_compile) 2>&5
10489 ac_status=$?
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); } &&
10492 { ac_try='test -s conftest.$ac_objext'
10493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10494 (eval $ac_try) 2>&5
10495 ac_status=$?
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; }; then
10498 ac_compiler_gnu=yes
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10502
10503 ac_compiler_gnu=no
10504 fi
10505 rm -f conftest.$ac_objext conftest.$ac_ext
10506 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10507
10508 fi
10509 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10510 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10511 GCC=`test $ac_compiler_gnu = yes && echo yes`
10512 ac_test_CFLAGS=${CFLAGS+set}
10513 ac_save_CFLAGS=$CFLAGS
10514 CFLAGS="-g"
10515 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10516 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10517 if test "${ac_cv_prog_cc_g+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 else
10520 cat >conftest.$ac_ext <<_ACEOF
10521 #line $LINENO "configure"
10522 /* confdefs.h. */
10523 _ACEOF
10524 cat confdefs.h >>conftest.$ac_ext
10525 cat >>conftest.$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10527
10528 int
10529 main ()
10530 {
10531
10532 ;
10533 return 0;
10534 }
10535 _ACEOF
10536 rm -f conftest.$ac_objext
10537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10538 (eval $ac_compile) 2>&5
10539 ac_status=$?
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); } &&
10542 { ac_try='test -s conftest.$ac_objext'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10545 ac_status=$?
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; }; then
10548 ac_cv_prog_cc_g=yes
10549 else
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.$ac_ext >&5
10552
10553 ac_cv_prog_cc_g=no
10554 fi
10555 rm -f conftest.$ac_objext conftest.$ac_ext
10556 fi
10557 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10558 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10559 if test "$ac_test_CFLAGS" = set; then
10560 CFLAGS=$ac_save_CFLAGS
10561 elif test $ac_cv_prog_cc_g = yes; then
10562 if test "$GCC" = yes; then
10563 CFLAGS="-g -O2"
10564 else
10565 CFLAGS="-g"
10566 fi
10567 else
10568 if test "$GCC" = yes; then
10569 CFLAGS="-O2"
10570 else
10571 CFLAGS=
10572 fi
10573 fi
10574 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10575 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10576 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 else
10579 ac_cv_prog_cc_stdc=no
10580 ac_save_CC=$CC
10581 cat >conftest.$ac_ext <<_ACEOF
10582 #line $LINENO "configure"
10583 /* confdefs.h. */
10584 _ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 #include <stdarg.h>
10589 #include <stdio.h>
10590 #include <sys/types.h>
10591 #include <sys/stat.h>
10592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10593 struct buf { int x; };
10594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10595 static char *e (p, i)
10596 char **p;
10597 int i;
10598 {
10599 return p[i];
10600 }
10601 static char *f (char * (*g) (char **, int), char **p, ...)
10602 {
10603 char *s;
10604 va_list v;
10605 va_start (v,p);
10606 s = g (p, va_arg (v,int));
10607 va_end (v);
10608 return s;
10609 }
10610 int test (int i, double x);
10611 struct s1 {int (*f) (int a);};
10612 struct s2 {int (*f) (double a);};
10613 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10614 int argc;
10615 char **argv;
10616 int
10617 main ()
10618 {
10619 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10620 ;
10621 return 0;
10622 }
10623 _ACEOF
10624 # Don't try gcc -ansi; that turns off useful extensions and
10625 # breaks some systems' header files.
10626 # AIX -qlanglvl=ansi
10627 # Ultrix and OSF/1 -std1
10628 # HP-UX 10.20 and later -Ae
10629 # HP-UX older versions -Aa -D_HPUX_SOURCE
10630 # SVR4 -Xc -D__EXTENSIONS__
10631 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10632 do
10633 CC="$ac_save_CC $ac_arg"
10634 rm -f conftest.$ac_objext
10635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10636 (eval $ac_compile) 2>&5
10637 ac_status=$?
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); } &&
10640 { ac_try='test -s conftest.$ac_objext'
10641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10642 (eval $ac_try) 2>&5
10643 ac_status=$?
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }; }; then
10646 ac_cv_prog_cc_stdc=$ac_arg
10647 break
10648 else
10649 echo "$as_me: failed program was:" >&5
10650 sed 's/^/| /' conftest.$ac_ext >&5
10651
10652 fi
10653 rm -f conftest.$ac_objext
10654 done
10655 rm -f conftest.$ac_ext conftest.$ac_objext
10656 CC=$ac_save_CC
10657
10658 fi
10659
10660 case "x$ac_cv_prog_cc_stdc" in
10661 x|xno)
10662 echo "$as_me:$LINENO: result: none needed" >&5
10663 echo "${ECHO_T}none needed" >&6 ;;
10664 *)
10665 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10666 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10667 CC="$CC $ac_cv_prog_cc_stdc" ;;
10668 esac
10669
10670 # Some people use a C++ compiler to compile C. Since we use `exit',
10671 # in C++ we need to declare it. In case someone uses the same compiler
10672 # for both compiling C and C++ we need to have the C++ compiler decide
10673 # the declaration of exit, since it's the most demanding environment.
10674 cat >conftest.$ac_ext <<_ACEOF
10675 #ifndef __cplusplus
10676 choke me
10677 #endif
10678 _ACEOF
10679 rm -f conftest.$ac_objext
10680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10681 (eval $ac_compile) 2>&5
10682 ac_status=$?
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } &&
10685 { ac_try='test -s conftest.$ac_objext'
10686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10687 (eval $ac_try) 2>&5
10688 ac_status=$?
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); }; }; then
10691 for ac_declaration in \
10692 ''\
10693 '#include <stdlib.h>' \
10694 'extern "C" void std::exit (int) throw (); using std::exit;' \
10695 'extern "C" void std::exit (int); using std::exit;' \
10696 'extern "C" void exit (int) throw ();' \
10697 'extern "C" void exit (int);' \
10698 'void exit (int);'
10699 do
10700 cat >conftest.$ac_ext <<_ACEOF
10701 #line $LINENO "configure"
10702 /* confdefs.h. */
10703 _ACEOF
10704 cat confdefs.h >>conftest.$ac_ext
10705 cat >>conftest.$ac_ext <<_ACEOF
10706 /* end confdefs.h. */
10707 #include <stdlib.h>
10708 $ac_declaration
10709 int
10710 main ()
10711 {
10712 exit (42);
10713 ;
10714 return 0;
10715 }
10716 _ACEOF
10717 rm -f conftest.$ac_objext
10718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10719 (eval $ac_compile) 2>&5
10720 ac_status=$?
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } &&
10723 { ac_try='test -s conftest.$ac_objext'
10724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10725 (eval $ac_try) 2>&5
10726 ac_status=$?
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; }; then
10729 :
10730 else
10731 echo "$as_me: failed program was:" >&5
10732 sed 's/^/| /' conftest.$ac_ext >&5
10733
10734 continue
10735 fi
10736 rm -f conftest.$ac_objext conftest.$ac_ext
10737 cat >conftest.$ac_ext <<_ACEOF
10738 #line $LINENO "configure"
10739 /* confdefs.h. */
10740 _ACEOF
10741 cat confdefs.h >>conftest.$ac_ext
10742 cat >>conftest.$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10744 $ac_declaration
10745 int
10746 main ()
10747 {
10748 exit (42);
10749 ;
10750 return 0;
10751 }
10752 _ACEOF
10753 rm -f conftest.$ac_objext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10755 (eval $ac_compile) 2>&5
10756 ac_status=$?
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } &&
10759 { ac_try='test -s conftest.$ac_objext'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10762 ac_status=$?
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; }; then
10765 break
10766 else
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10769
10770 fi
10771 rm -f conftest.$ac_objext conftest.$ac_ext
10772 done
10773 rm -f conftest*
10774 if test -n "$ac_declaration"; then
10775 echo '#ifdef __cplusplus' >>confdefs.h
10776 echo $ac_declaration >>confdefs.h
10777 echo '#endif' >>confdefs.h
10778 fi
10779
10780 else
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.$ac_ext >&5
10783
10784 fi
10785 rm -f conftest.$ac_objext conftest.$ac_ext
10786 ac_ext=c
10787 ac_cpp='$CPP $CPPFLAGS'
10788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10791
10792
10793
10794 ac_ext=c
10795 ac_cpp='$CPP $CPPFLAGS'
10796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10799 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10800 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10801 # On Suns, sometimes $CPP names a directory.
10802 if test -n "$CPP" && test -d "$CPP"; then
10803 CPP=
10804 fi
10805 if test -z "$CPP"; then
10806 if test "${ac_cv_prog_CPP+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 else
10809 # Double quotes because CPP needs to be expanded
10810 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10811 do
10812 ac_preproc_ok=false
10813 for ac_c_preproc_warn_flag in '' yes
10814 do
10815 # Use a header file that comes with gcc, so configuring glibc
10816 # with a fresh cross-compiler works.
10817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10818 # <limits.h> exists even on freestanding compilers.
10819 # On the NeXT, cc -E runs the code through the compiler's parser,
10820 # not just through cpp. "Syntax error" is here to catch this case.
10821 cat >conftest.$ac_ext <<_ACEOF
10822 #line $LINENO "configure"
10823 /* confdefs.h. */
10824 _ACEOF
10825 cat confdefs.h >>conftest.$ac_ext
10826 cat >>conftest.$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10828 #ifdef __STDC__
10829 # include <limits.h>
10830 #else
10831 # include <assert.h>
10832 #endif
10833 Syntax error
10834 _ACEOF
10835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10837 ac_status=$?
10838 grep -v '^ *+' conftest.er1 >conftest.err
10839 rm -f conftest.er1
10840 cat conftest.err >&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); } >/dev/null; then
10843 if test -s conftest.err; then
10844 ac_cpp_err=$ac_c_preproc_warn_flag
10845 else
10846 ac_cpp_err=
10847 fi
10848 else
10849 ac_cpp_err=yes
10850 fi
10851 if test -z "$ac_cpp_err"; then
10852 :
10853 else
10854 echo "$as_me: failed program was:" >&5
10855 sed 's/^/| /' conftest.$ac_ext >&5
10856
10857 # Broken: fails on valid input.
10858 continue
10859 fi
10860 rm -f conftest.err conftest.$ac_ext
10861
10862 # OK, works on sane cases. Now check whether non-existent headers
10863 # can be detected and how.
10864 cat >conftest.$ac_ext <<_ACEOF
10865 #line $LINENO "configure"
10866 /* confdefs.h. */
10867 _ACEOF
10868 cat confdefs.h >>conftest.$ac_ext
10869 cat >>conftest.$ac_ext <<_ACEOF
10870 /* end confdefs.h. */
10871 #include <ac_nonexistent.h>
10872 _ACEOF
10873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10875 ac_status=$?
10876 grep -v '^ *+' conftest.er1 >conftest.err
10877 rm -f conftest.er1
10878 cat conftest.err >&5
10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10880 (exit $ac_status); } >/dev/null; then
10881 if test -s conftest.err; then
10882 ac_cpp_err=$ac_c_preproc_warn_flag
10883 else
10884 ac_cpp_err=
10885 fi
10886 else
10887 ac_cpp_err=yes
10888 fi
10889 if test -z "$ac_cpp_err"; then
10890 # Broken: success on invalid input.
10891 continue
10892 else
10893 echo "$as_me: failed program was:" >&5
10894 sed 's/^/| /' conftest.$ac_ext >&5
10895
10896 # Passes both tests.
10897 ac_preproc_ok=:
10898 break
10899 fi
10900 rm -f conftest.err conftest.$ac_ext
10901
10902 done
10903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10904 rm -f conftest.err conftest.$ac_ext
10905 if $ac_preproc_ok; then
10906 break
10907 fi
10908
10909 done
10910 ac_cv_prog_CPP=$CPP
10911
10912 fi
10913 CPP=$ac_cv_prog_CPP
10914 else
10915 ac_cv_prog_CPP=$CPP
10916 fi
10917 echo "$as_me:$LINENO: result: $CPP" >&5
10918 echo "${ECHO_T}$CPP" >&6
10919 ac_preproc_ok=false
10920 for ac_c_preproc_warn_flag in '' yes
10921 do
10922 # Use a header file that comes with gcc, so configuring glibc
10923 # with a fresh cross-compiler works.
10924 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10925 # <limits.h> exists even on freestanding compilers.
10926 # On the NeXT, cc -E runs the code through the compiler's parser,
10927 # not just through cpp. "Syntax error" is here to catch this case.
10928 cat >conftest.$ac_ext <<_ACEOF
10929 #line $LINENO "configure"
10930 /* confdefs.h. */
10931 _ACEOF
10932 cat confdefs.h >>conftest.$ac_ext
10933 cat >>conftest.$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10935 #ifdef __STDC__
10936 # include <limits.h>
10937 #else
10938 # include <assert.h>
10939 #endif
10940 Syntax error
10941 _ACEOF
10942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10944 ac_status=$?
10945 grep -v '^ *+' conftest.er1 >conftest.err
10946 rm -f conftest.er1
10947 cat conftest.err >&5
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); } >/dev/null; then
10950 if test -s conftest.err; then
10951 ac_cpp_err=$ac_c_preproc_warn_flag
10952 else
10953 ac_cpp_err=
10954 fi
10955 else
10956 ac_cpp_err=yes
10957 fi
10958 if test -z "$ac_cpp_err"; then
10959 :
10960 else
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.$ac_ext >&5
10963
10964 # Broken: fails on valid input.
10965 continue
10966 fi
10967 rm -f conftest.err conftest.$ac_ext
10968
10969 # OK, works on sane cases. Now check whether non-existent headers
10970 # can be detected and how.
10971 cat >conftest.$ac_ext <<_ACEOF
10972 #line $LINENO "configure"
10973 /* confdefs.h. */
10974 _ACEOF
10975 cat confdefs.h >>conftest.$ac_ext
10976 cat >>conftest.$ac_ext <<_ACEOF
10977 /* end confdefs.h. */
10978 #include <ac_nonexistent.h>
10979 _ACEOF
10980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10982 ac_status=$?
10983 grep -v '^ *+' conftest.er1 >conftest.err
10984 rm -f conftest.er1
10985 cat conftest.err >&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } >/dev/null; then
10988 if test -s conftest.err; then
10989 ac_cpp_err=$ac_c_preproc_warn_flag
10990 else
10991 ac_cpp_err=
10992 fi
10993 else
10994 ac_cpp_err=yes
10995 fi
10996 if test -z "$ac_cpp_err"; then
10997 # Broken: success on invalid input.
10998 continue
10999 else
11000 echo "$as_me: failed program was:" >&5
11001 sed 's/^/| /' conftest.$ac_ext >&5
11002
11003 # Passes both tests.
11004 ac_preproc_ok=:
11005 break
11006 fi
11007 rm -f conftest.err conftest.$ac_ext
11008
11009 done
11010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11011 rm -f conftest.err conftest.$ac_ext
11012 if $ac_preproc_ok; then
11013 :
11014 else
11015 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11016 See \`config.log' for more details." >&5
11017 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11018 See \`config.log' for more details." >&2;}
11019 { (exit 1); exit 1; }; }
11020 fi
11021
11022 ac_ext=c
11023 ac_cpp='$CPP $CPPFLAGS'
11024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11027
11028
11029 echo "$as_me:$LINENO: checking for egrep" >&5
11030 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11031 if test "${ac_cv_prog_egrep+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11033 else
11034 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11035 then ac_cv_prog_egrep='grep -E'
11036 else ac_cv_prog_egrep='egrep'
11037 fi
11038 fi
11039 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11040 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11041 EGREP=$ac_cv_prog_egrep
11042
11043
11044 if test $ac_cv_c_compiler_gnu = yes; then
11045 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11046 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11047 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11049 else
11050 ac_pattern="Autoconf.*'x'"
11051 cat >conftest.$ac_ext <<_ACEOF
11052 #line $LINENO "configure"
11053 /* confdefs.h. */
11054 _ACEOF
11055 cat confdefs.h >>conftest.$ac_ext
11056 cat >>conftest.$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11058 #include <sgtty.h>
11059 Autoconf TIOCGETP
11060 _ACEOF
11061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11062 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11063 ac_cv_prog_gcc_traditional=yes
11064 else
11065 ac_cv_prog_gcc_traditional=no
11066 fi
11067 rm -f conftest*
11068
11069
11070 if test $ac_cv_prog_gcc_traditional = no; then
11071 cat >conftest.$ac_ext <<_ACEOF
11072 #line $LINENO "configure"
11073 /* confdefs.h. */
11074 _ACEOF
11075 cat confdefs.h >>conftest.$ac_ext
11076 cat >>conftest.$ac_ext <<_ACEOF
11077 /* end confdefs.h. */
11078 #include <termio.h>
11079 Autoconf TCGETA
11080 _ACEOF
11081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11082 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11083 ac_cv_prog_gcc_traditional=yes
11084 fi
11085 rm -f conftest*
11086
11087 fi
11088 fi
11089 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11090 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11091 if test $ac_cv_prog_gcc_traditional = yes; then
11092 CC="$CC -traditional"
11093 fi
11094 fi
11095
11096
11097
11098
11099 ac_ext=cc
11100 ac_cpp='$CXXCPP $CPPFLAGS'
11101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11104
11105
11106 CXXFLAGS=${CXXFLAGS:=}
11107 ac_ext=cc
11108 ac_cpp='$CXXCPP $CPPFLAGS'
11109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11112 if test -n "$ac_tool_prefix"; then
11113 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11114 do
11115 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11116 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11117 echo "$as_me:$LINENO: checking for $ac_word" >&5
11118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11119 if test "${ac_cv_prog_CXX+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 else
11122 if test -n "$CXX"; then
11123 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11124 else
11125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11126 for as_dir in $PATH
11127 do
11128 IFS=$as_save_IFS
11129 test -z "$as_dir" && as_dir=.
11130 for ac_exec_ext in '' $ac_executable_extensions; do
11131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11132 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11134 break 2
11135 fi
11136 done
11137 done
11138
11139 fi
11140 fi
11141 CXX=$ac_cv_prog_CXX
11142 if test -n "$CXX"; then
11143 echo "$as_me:$LINENO: result: $CXX" >&5
11144 echo "${ECHO_T}$CXX" >&6
11145 else
11146 echo "$as_me:$LINENO: result: no" >&5
11147 echo "${ECHO_T}no" >&6
11148 fi
11149
11150 test -n "$CXX" && break
11151 done
11152 fi
11153 if test -z "$CXX"; then
11154 ac_ct_CXX=$CXX
11155 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11156 do
11157 # Extract the first word of "$ac_prog", so it can be a program name with args.
11158 set dummy $ac_prog; ac_word=$2
11159 echo "$as_me:$LINENO: checking for $ac_word" >&5
11160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11161 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11163 else
11164 if test -n "$ac_ct_CXX"; then
11165 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11166 else
11167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11168 for as_dir in $PATH
11169 do
11170 IFS=$as_save_IFS
11171 test -z "$as_dir" && as_dir=.
11172 for ac_exec_ext in '' $ac_executable_extensions; do
11173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11174 ac_cv_prog_ac_ct_CXX="$ac_prog"
11175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11176 break 2
11177 fi
11178 done
11179 done
11180
11181 fi
11182 fi
11183 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11184 if test -n "$ac_ct_CXX"; then
11185 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11186 echo "${ECHO_T}$ac_ct_CXX" >&6
11187 else
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11190 fi
11191
11192 test -n "$ac_ct_CXX" && break
11193 done
11194 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11195
11196 CXX=$ac_ct_CXX
11197 fi
11198
11199
11200 # Provide some information about the compiler.
11201 echo "$as_me:$LINENO:" \
11202 "checking for C++ compiler version" >&5
11203 ac_compiler=`set X $ac_compile; echo $2`
11204 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11205 (eval $ac_compiler --version </dev/null >&5) 2>&5
11206 ac_status=$?
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); }
11209 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11210 (eval $ac_compiler -v </dev/null >&5) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }
11214 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11215 (eval $ac_compiler -V </dev/null >&5) 2>&5
11216 ac_status=$?
11217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218 (exit $ac_status); }
11219
11220 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11221 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11222 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11224 else
11225 cat >conftest.$ac_ext <<_ACEOF
11226 #line $LINENO "configure"
11227 /* confdefs.h. */
11228 _ACEOF
11229 cat confdefs.h >>conftest.$ac_ext
11230 cat >>conftest.$ac_ext <<_ACEOF
11231 /* end confdefs.h. */
11232
11233 int
11234 main ()
11235 {
11236 #ifndef __GNUC__
11237 choke me
11238 #endif
11239
11240 ;
11241 return 0;
11242 }
11243 _ACEOF
11244 rm -f conftest.$ac_objext
11245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11246 (eval $ac_compile) 2>&5
11247 ac_status=$?
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } &&
11250 { ac_try='test -s conftest.$ac_objext'
11251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11252 (eval $ac_try) 2>&5
11253 ac_status=$?
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); }; }; then
11256 ac_compiler_gnu=yes
11257 else
11258 echo "$as_me: failed program was:" >&5
11259 sed 's/^/| /' conftest.$ac_ext >&5
11260
11261 ac_compiler_gnu=no
11262 fi
11263 rm -f conftest.$ac_objext conftest.$ac_ext
11264 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11265
11266 fi
11267 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11268 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11269 GXX=`test $ac_compiler_gnu = yes && echo yes`
11270 ac_test_CXXFLAGS=${CXXFLAGS+set}
11271 ac_save_CXXFLAGS=$CXXFLAGS
11272 CXXFLAGS="-g"
11273 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11274 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11275 if test "${ac_cv_prog_cxx_g+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 else
11278 cat >conftest.$ac_ext <<_ACEOF
11279 #line $LINENO "configure"
11280 /* confdefs.h. */
11281 _ACEOF
11282 cat confdefs.h >>conftest.$ac_ext
11283 cat >>conftest.$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11285
11286 int
11287 main ()
11288 {
11289
11290 ;
11291 return 0;
11292 }
11293 _ACEOF
11294 rm -f conftest.$ac_objext
11295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11296 (eval $ac_compile) 2>&5
11297 ac_status=$?
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } &&
11300 { ac_try='test -s conftest.$ac_objext'
11301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 (eval $ac_try) 2>&5
11303 ac_status=$?
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }; }; then
11306 ac_cv_prog_cxx_g=yes
11307 else
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11310
11311 ac_cv_prog_cxx_g=no
11312 fi
11313 rm -f conftest.$ac_objext conftest.$ac_ext
11314 fi
11315 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11316 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11317 if test "$ac_test_CXXFLAGS" = set; then
11318 CXXFLAGS=$ac_save_CXXFLAGS
11319 elif test $ac_cv_prog_cxx_g = yes; then
11320 if test "$GXX" = yes; then
11321 CXXFLAGS="-g -O2"
11322 else
11323 CXXFLAGS="-g"
11324 fi
11325 else
11326 if test "$GXX" = yes; then
11327 CXXFLAGS="-O2"
11328 else
11329 CXXFLAGS=
11330 fi
11331 fi
11332 for ac_declaration in \
11333 ''\
11334 '#include <stdlib.h>' \
11335 'extern "C" void std::exit (int) throw (); using std::exit;' \
11336 'extern "C" void std::exit (int); using std::exit;' \
11337 'extern "C" void exit (int) throw ();' \
11338 'extern "C" void exit (int);' \
11339 'void exit (int);'
11340 do
11341 cat >conftest.$ac_ext <<_ACEOF
11342 #line $LINENO "configure"
11343 /* confdefs.h. */
11344 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <stdlib.h>
11349 $ac_declaration
11350 int
11351 main ()
11352 {
11353 exit (42);
11354 ;
11355 return 0;
11356 }
11357 _ACEOF
11358 rm -f conftest.$ac_objext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11360 (eval $ac_compile) 2>&5
11361 ac_status=$?
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); } &&
11364 { ac_try='test -s conftest.$ac_objext'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11367 ac_status=$?
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; }; then
11370 :
11371 else
11372 echo "$as_me: failed program was:" >&5
11373 sed 's/^/| /' conftest.$ac_ext >&5
11374
11375 continue
11376 fi
11377 rm -f conftest.$ac_objext conftest.$ac_ext
11378 cat >conftest.$ac_ext <<_ACEOF
11379 #line $LINENO "configure"
11380 /* confdefs.h. */
11381 _ACEOF
11382 cat confdefs.h >>conftest.$ac_ext
11383 cat >>conftest.$ac_ext <<_ACEOF
11384 /* end confdefs.h. */
11385 $ac_declaration
11386 int
11387 main ()
11388 {
11389 exit (42);
11390 ;
11391 return 0;
11392 }
11393 _ACEOF
11394 rm -f conftest.$ac_objext
11395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11396 (eval $ac_compile) 2>&5
11397 ac_status=$?
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); } &&
11400 { ac_try='test -s conftest.$ac_objext'
11401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11402 (eval $ac_try) 2>&5
11403 ac_status=$?
11404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405 (exit $ac_status); }; }; then
11406 break
11407 else
11408 echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.$ac_ext >&5
11410
11411 fi
11412 rm -f conftest.$ac_objext conftest.$ac_ext
11413 done
11414 rm -f conftest*
11415 if test -n "$ac_declaration"; then
11416 echo '#ifdef __cplusplus' >>confdefs.h
11417 echo $ac_declaration >>confdefs.h
11418 echo '#endif' >>confdefs.h
11419 fi
11420
11421 ac_ext=cc
11422 ac_cpp='$CXXCPP $CPPFLAGS'
11423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11426
11427
11428 ac_ext=c
11429 ac_cpp='$CPP $CPPFLAGS'
11430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11433
11434
11435 if test -n "$ac_tool_prefix"; then
11436 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11437 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11438 echo "$as_me:$LINENO: checking for $ac_word" >&5
11439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11440 if test "${ac_cv_prog_RANLIB+set}" = set; then
11441 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 else
11443 if test -n "$RANLIB"; then
11444 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11445 else
11446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11447 for as_dir in $PATH
11448 do
11449 IFS=$as_save_IFS
11450 test -z "$as_dir" && as_dir=.
11451 for ac_exec_ext in '' $ac_executable_extensions; do
11452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11453 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11455 break 2
11456 fi
11457 done
11458 done
11459
11460 fi
11461 fi
11462 RANLIB=$ac_cv_prog_RANLIB
11463 if test -n "$RANLIB"; then
11464 echo "$as_me:$LINENO: result: $RANLIB" >&5
11465 echo "${ECHO_T}$RANLIB" >&6
11466 else
11467 echo "$as_me:$LINENO: result: no" >&5
11468 echo "${ECHO_T}no" >&6
11469 fi
11470
11471 fi
11472 if test -z "$ac_cv_prog_RANLIB"; then
11473 ac_ct_RANLIB=$RANLIB
11474 # Extract the first word of "ranlib", so it can be a program name with args.
11475 set dummy ranlib; ac_word=$2
11476 echo "$as_me:$LINENO: checking for $ac_word" >&5
11477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11478 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 else
11481 if test -n "$ac_ct_RANLIB"; then
11482 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11483 else
11484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11485 for as_dir in $PATH
11486 do
11487 IFS=$as_save_IFS
11488 test -z "$as_dir" && as_dir=.
11489 for ac_exec_ext in '' $ac_executable_extensions; do
11490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11491 ac_cv_prog_ac_ct_RANLIB="ranlib"
11492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11493 break 2
11494 fi
11495 done
11496 done
11497
11498 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11499 fi
11500 fi
11501 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11502 if test -n "$ac_ct_RANLIB"; then
11503 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11504 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11505 else
11506 echo "$as_me:$LINENO: result: no" >&5
11507 echo "${ECHO_T}no" >&6
11508 fi
11509
11510 RANLIB=$ac_ct_RANLIB
11511 else
11512 RANLIB="$ac_cv_prog_RANLIB"
11513 fi
11514
11515
11516 # Extract the first word of "ar", so it can be a program name with args.
11517 set dummy ar; ac_word=$2
11518 echo "$as_me:$LINENO: checking for $ac_word" >&5
11519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11520 if test "${ac_cv_prog_AR+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 else
11523 if test -n "$AR"; then
11524 ac_cv_prog_AR="$AR" # Let the user override the test.
11525 else
11526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11527 for as_dir in $PATH
11528 do
11529 IFS=$as_save_IFS
11530 test -z "$as_dir" && as_dir=.
11531 for ac_exec_ext in '' $ac_executable_extensions; do
11532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11533 ac_cv_prog_AR="ar"
11534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11535 break 2
11536 fi
11537 done
11538 done
11539
11540 fi
11541 fi
11542 AR=$ac_cv_prog_AR
11543 if test -n "$AR"; then
11544 echo "$as_me:$LINENO: result: $AR" >&5
11545 echo "${ECHO_T}$AR" >&6
11546 else
11547 echo "$as_me:$LINENO: result: no" >&5
11548 echo "${ECHO_T}no" >&6
11549 fi
11550
11551 if test "x$AR" = "x" ; then
11552 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11553 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11554 { (exit 1); exit 1; }; }
11555 fi
11556
11557 # Find a good install program. We prefer a C program (faster),
11558 # so one script is as good as another. But avoid the broken or
11559 # incompatible versions:
11560 # SysV /etc/install, /usr/sbin/install
11561 # SunOS /usr/etc/install
11562 # IRIX /sbin/install
11563 # AIX /bin/install
11564 # AmigaOS /C/install, which installs bootblocks on floppy discs
11565 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11566 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11567 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11568 # ./install, which can be erroneously created by make from ./install.sh.
11569 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11570 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11571 if test -z "$INSTALL"; then
11572 if test "${ac_cv_path_install+set}" = set; then
11573 echo $ECHO_N "(cached) $ECHO_C" >&6
11574 else
11575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11576 for as_dir in $PATH
11577 do
11578 IFS=$as_save_IFS
11579 test -z "$as_dir" && as_dir=.
11580 # Account for people who put trailing slashes in PATH elements.
11581 case $as_dir/ in
11582 ./ | .// | /cC/* | \
11583 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11584 /usr/ucb/* ) ;;
11585 *)
11586 # OSF1 and SCO ODT 3.0 have their own names for install.
11587 # Don't use installbsd from OSF since it installs stuff as root
11588 # by default.
11589 for ac_prog in ginstall scoinst install; do
11590 for ac_exec_ext in '' $ac_executable_extensions; do
11591 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11592 if test $ac_prog = install &&
11593 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11594 # AIX install. It has an incompatible calling convention.
11595 :
11596 elif test $ac_prog = install &&
11597 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11598 # program-specific install script used by HP pwplus--don't use.
11599 :
11600 else
11601 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11602 break 3
11603 fi
11604 fi
11605 done
11606 done
11607 ;;
11608 esac
11609 done
11610
11611
11612 fi
11613 if test "${ac_cv_path_install+set}" = set; then
11614 INSTALL=$ac_cv_path_install
11615 else
11616 # As a last resort, use the slow shell script. We don't cache a
11617 # path for INSTALL within a source directory, because that will
11618 # break other packages using the cache if that directory is
11619 # removed, or if the path is relative.
11620 INSTALL=$ac_install_sh
11621 fi
11622 fi
11623 echo "$as_me:$LINENO: result: $INSTALL" >&5
11624 echo "${ECHO_T}$INSTALL" >&6
11625
11626 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11627 # It thinks the first close brace ends the variable substitution.
11628 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11629
11630 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11631
11632 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11633
11634
11635 case ${INSTALL} in
11636 /* ) # Absolute
11637 ;;
11638 ?:* ) # Drive letter, considered as absolute.
11639 ;;
11640 *)
11641 INSTALL=`pwd`/${INSTALL} ;;
11642 esac
11643
11644 case ${host} in
11645 *-hp-hpux* )
11646 INSTALL_DIR="mkdir"
11647 ;;
11648
11649 *) INSTALL_DIR="$INSTALL -d"
11650 ;;
11651 esac
11652
11653
11654 case "${host}" in
11655
11656 powerpc-*-darwin* )
11657 INSTALL_PROGRAM="cp -fp"
11658 INSTALL_DATA="cp -fp"
11659 ;;
11660 *)
11661 ;;
11662 esac
11663
11664 # Extract the first word of "strip", so it can be a program name with args.
11665 set dummy strip; ac_word=$2
11666 echo "$as_me:$LINENO: checking for $ac_word" >&5
11667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11668 if test "${ac_cv_prog_STRIP+set}" = set; then
11669 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 else
11671 if test -n "$STRIP"; then
11672 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11673 else
11674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11675 for as_dir in $PATH
11676 do
11677 IFS=$as_save_IFS
11678 test -z "$as_dir" && as_dir=.
11679 for ac_exec_ext in '' $ac_executable_extensions; do
11680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11681 ac_cv_prog_STRIP="strip"
11682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11683 break 2
11684 fi
11685 done
11686 done
11687
11688 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11689 fi
11690 fi
11691 STRIP=$ac_cv_prog_STRIP
11692 if test -n "$STRIP"; then
11693 echo "$as_me:$LINENO: result: $STRIP" >&5
11694 echo "${ECHO_T}$STRIP" >&6
11695 else
11696 echo "$as_me:$LINENO: result: no" >&5
11697 echo "${ECHO_T}no" >&6
11698 fi
11699
11700
11701 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11702 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11703 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11704 echo $ECHO_N "(cached) $ECHO_C" >&6
11705 else
11706
11707 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11708 egrep -s GNU > /dev/null); then
11709 wx_cv_prog_makeisgnu="yes"
11710 else
11711 wx_cv_prog_makeisgnu="no"
11712 fi
11713
11714 fi
11715 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11716 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11717
11718 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11719 IF_GNU_MAKE=""
11720 else
11721 IF_GNU_MAKE="#"
11722 fi
11723
11724
11725
11726 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11727 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11728 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11729 if test "${wx_cv_prog_makevpath+set}" = set; then
11730 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 else
11732
11733 cat - << EOF > confMake
11734 check : file
11735 cp \$? \$@
11736 cp \$? final_file
11737 EOF
11738
11739 if test ! -d sub ; then
11740 mkdir sub
11741 fi
11742 echo dummy > sub/file
11743 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11744 RESULT=$?
11745 rm -f sub/file check final_file confMake
11746 rmdir sub
11747 if test "$RESULT" = 0; then
11748 wx_cv_prog_makevpath="yes"
11749 else
11750 wx_cv_prog_makevpath="no"
11751 fi
11752
11753 fi
11754 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11755 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11756
11757 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11758 { { echo "$as_me:$LINENO: error:
11759 You need a make-utility that is able to use the variable
11760 VPATH correctly.
11761 If your version of make does not support VPATH correctly,
11762 please install GNU-make (possibly as gmake), and start
11763 configure with the following command:
11764 export MAKE=gmake; ./configure for sh-type shells
11765 setenv MAKE gmake; ./configure for csh-type shells
11766 Also please do remember to use gmake in this case every time
11767 you are trying to compile.
11768 " >&5
11769 echo "$as_me: error:
11770 You need a make-utility that is able to use the variable
11771 VPATH correctly.
11772 If your version of make does not support VPATH correctly,
11773 please install GNU-make (possibly as gmake), and start
11774 configure with the following command:
11775 export MAKE=gmake; ./configure for sh-type shells
11776 setenv MAKE gmake; ./configure for csh-type shells
11777 Also please do remember to use gmake in this case every time
11778 you are trying to compile.
11779 " >&2;}
11780 { (exit 1); exit 1; }; }
11781 fi fi
11782 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11783 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11784 LN_S=$as_ln_s
11785 if test "$LN_S" = "ln -s"; then
11786 echo "$as_me:$LINENO: result: yes" >&5
11787 echo "${ECHO_T}yes" >&6
11788 else
11789 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11790 echo "${ECHO_T}no, using $LN_S" >&6
11791 fi
11792
11793
11794 case "${host}" in
11795 *-pc-os2_emx | *-pc-os2-emx )
11796 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11797 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11798 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11799 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 else
11802 ac_check_lib_save_LIBS=$LIBS
11803 LIBS="-lcExt $LIBS"
11804 cat >conftest.$ac_ext <<_ACEOF
11805 #line $LINENO "configure"
11806 /* confdefs.h. */
11807 _ACEOF
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811
11812 /* Override any gcc2 internal prototype to avoid an error. */
11813 #ifdef __cplusplus
11814 extern "C"
11815 #endif
11816 /* We use char because int might match the return type of a gcc2
11817 builtin and then its argument prototype would still apply. */
11818 char drand48 ();
11819 int
11820 main ()
11821 {
11822 drand48 ();
11823 ;
11824 return 0;
11825 }
11826 _ACEOF
11827 rm -f conftest.$ac_objext conftest$ac_exeext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11829 (eval $ac_link) 2>&5
11830 ac_status=$?
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try='test -s conftest$ac_exeext'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11836 ac_status=$?
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; }; then
11839 ac_cv_lib_cExt_drand48=yes
11840 else
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.$ac_ext >&5
11843
11844 ac_cv_lib_cExt_drand48=no
11845 fi
11846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_lib_save_LIBS
11848 fi
11849 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11850 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11851 if test $ac_cv_lib_cExt_drand48 = yes; then
11852 LIBS="$LIBS -lcExt"
11853 fi
11854
11855 else
11856 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11857 fi
11858 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11859 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11860 if test "${wx_cv_gcc3+set}" = set; then
11861 echo $ECHO_N "(cached) $ECHO_C" >&6
11862 else
11863
11864 cat >conftest.$ac_ext <<_ACEOF
11865 #line $LINENO "configure"
11866 /* confdefs.h. */
11867 _ACEOF
11868 cat confdefs.h >>conftest.$ac_ext
11869 cat >>conftest.$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11871
11872 int
11873 main ()
11874 {
11875
11876 #if (__GNUC__ < 3)
11877 #error old gcc
11878 #endif
11879
11880 ;
11881 return 0;
11882 }
11883 _ACEOF
11884 rm -f conftest.$ac_objext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>&5
11887 ac_status=$?
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try='test -s conftest.$ac_objext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11893 ac_status=$?
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896
11897 wx_cv_gcc3=yes
11898
11899 else
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.$ac_ext >&5
11902
11903
11904 wx_cv_gcc3=no
11905
11906
11907 fi
11908 rm -f conftest.$ac_objext conftest.$ac_ext
11909
11910 fi
11911 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11912 echo "${ECHO_T}$wx_cv_gcc3" >&6
11913 if test "$wx_cv_gcc3" = "no"; then
11914 LIBS="$LIBS -lstdcpp"
11915 else
11916 LIBS="$LIBS -lstdcxx"
11917 fi
11918 ;;
11919 esac
11920
11921
11922 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11923 echo "$as_me:$LINENO: checking for strings.h" >&5
11924 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11925 if test "${ac_cv_header_strings_h+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 else
11928 ac_cv_header_strings_h=no
11929 fi
11930 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11931 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11932 if test "$ac_cv_header_strings_h" = "no"; then
11933 echo "$as_me:$LINENO: result: forced no into cache" >&5
11934 echo "${ECHO_T}forced no into cache" >&6
11935 else
11936 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11937 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11938 fi
11939 fi
11940 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11941 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11942 if test "${ac_cv_header_stdc+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 else
11945 cat >conftest.$ac_ext <<_ACEOF
11946 #line $LINENO "configure"
11947 /* confdefs.h. */
11948 _ACEOF
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11952 #include <stdlib.h>
11953 #include <stdarg.h>
11954 #include <string.h>
11955 #include <float.h>
11956
11957 int
11958 main ()
11959 {
11960
11961 ;
11962 return 0;
11963 }
11964 _ACEOF
11965 rm -f conftest.$ac_objext
11966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11967 (eval $ac_compile) 2>&5
11968 ac_status=$?
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); } &&
11971 { ac_try='test -s conftest.$ac_objext'
11972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973 (eval $ac_try) 2>&5
11974 ac_status=$?
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); }; }; then
11977 ac_cv_header_stdc=yes
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11981
11982 ac_cv_header_stdc=no
11983 fi
11984 rm -f conftest.$ac_objext conftest.$ac_ext
11985
11986 if test $ac_cv_header_stdc = yes; then
11987 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11988 cat >conftest.$ac_ext <<_ACEOF
11989 #line $LINENO "configure"
11990 /* confdefs.h. */
11991 _ACEOF
11992 cat confdefs.h >>conftest.$ac_ext
11993 cat >>conftest.$ac_ext <<_ACEOF
11994 /* end confdefs.h. */
11995 #include <string.h>
11996
11997 _ACEOF
11998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11999 $EGREP "memchr" >/dev/null 2>&1; then
12000 :
12001 else
12002 ac_cv_header_stdc=no
12003 fi
12004 rm -f conftest*
12005
12006 fi
12007
12008 if test $ac_cv_header_stdc = yes; then
12009 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12010 cat >conftest.$ac_ext <<_ACEOF
12011 #line $LINENO "configure"
12012 /* confdefs.h. */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <stdlib.h>
12018
12019 _ACEOF
12020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12021 $EGREP "free" >/dev/null 2>&1; then
12022 :
12023 else
12024 ac_cv_header_stdc=no
12025 fi
12026 rm -f conftest*
12027
12028 fi
12029
12030 if test $ac_cv_header_stdc = yes; then
12031 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12032 if test "$cross_compiling" = yes; then
12033 :
12034 else
12035 cat >conftest.$ac_ext <<_ACEOF
12036 #line $LINENO "configure"
12037 /* confdefs.h. */
12038 _ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 #include <ctype.h>
12043 #if ((' ' & 0x0FF) == 0x020)
12044 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12045 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12046 #else
12047 # define ISLOWER(c) \
12048 (('a' <= (c) && (c) <= 'i') \
12049 || ('j' <= (c) && (c) <= 'r') \
12050 || ('s' <= (c) && (c) <= 'z'))
12051 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12052 #endif
12053
12054 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12055 int
12056 main ()
12057 {
12058 int i;
12059 for (i = 0; i < 256; i++)
12060 if (XOR (islower (i), ISLOWER (i))
12061 || toupper (i) != TOUPPER (i))
12062 exit(2);
12063 exit (0);
12064 }
12065 _ACEOF
12066 rm -f conftest$ac_exeext
12067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12068 (eval $ac_link) 2>&5
12069 ac_status=$?
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073 (eval $ac_try) 2>&5
12074 ac_status=$?
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); }; }; then
12077 :
12078 else
12079 echo "$as_me: program exited with status $ac_status" >&5
12080 echo "$as_me: failed program was:" >&5
12081 sed 's/^/| /' conftest.$ac_ext >&5
12082
12083 ( exit $ac_status )
12084 ac_cv_header_stdc=no
12085 fi
12086 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12087 fi
12088 fi
12089 fi
12090 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12091 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12092 if test $ac_cv_header_stdc = yes; then
12093
12094 cat >>confdefs.h <<\_ACEOF
12095 #define STDC_HEADERS 1
12096 _ACEOF
12097
12098 fi
12099
12100 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12111 inttypes.h stdint.h unistd.h
12112 do
12113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12114 echo "$as_me:$LINENO: checking for $ac_header" >&5
12115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12117 echo $ECHO_N "(cached) $ECHO_C" >&6
12118 else
12119 cat >conftest.$ac_ext <<_ACEOF
12120 #line $LINENO "configure"
12121 /* confdefs.h. */
12122 _ACEOF
12123 cat confdefs.h >>conftest.$ac_ext
12124 cat >>conftest.$ac_ext <<_ACEOF
12125 /* end confdefs.h. */
12126 $ac_includes_default
12127
12128 #include <$ac_header>
12129 _ACEOF
12130 rm -f conftest.$ac_objext
12131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12132 (eval $ac_compile) 2>&5
12133 ac_status=$?
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } &&
12136 { ac_try='test -s conftest.$ac_objext'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12139 ac_status=$?
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; }; then
12142 eval "$as_ac_Header=yes"
12143 else
12144 echo "$as_me: failed program was:" >&5
12145 sed 's/^/| /' conftest.$ac_ext >&5
12146
12147 eval "$as_ac_Header=no"
12148 fi
12149 rm -f conftest.$ac_objext conftest.$ac_ext
12150 fi
12151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12154 cat >>confdefs.h <<_ACEOF
12155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12156 _ACEOF
12157
12158 fi
12159
12160 done
12161
12162
12163
12164 for ac_header in strings.h
12165 do
12166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo "$as_me:$LINENO: checking for $ac_header" >&5
12169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12172 fi
12173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12175 else
12176 # Is the header compilable?
12177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12179 cat >conftest.$ac_ext <<_ACEOF
12180 #line $LINENO "configure"
12181 /* confdefs.h. */
12182 _ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 $ac_includes_default
12187 #include <$ac_header>
12188 _ACEOF
12189 rm -f conftest.$ac_objext
12190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12191 (eval $ac_compile) 2>&5
12192 ac_status=$?
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try='test -s conftest.$ac_objext'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12198 ac_status=$?
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; }; then
12201 ac_header_compiler=yes
12202 else
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.$ac_ext >&5
12205
12206 ac_header_compiler=no
12207 fi
12208 rm -f conftest.$ac_objext conftest.$ac_ext
12209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12210 echo "${ECHO_T}$ac_header_compiler" >&6
12211
12212 # Is the header present?
12213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12215 cat >conftest.$ac_ext <<_ACEOF
12216 #line $LINENO "configure"
12217 /* confdefs.h. */
12218 _ACEOF
12219 cat confdefs.h >>conftest.$ac_ext
12220 cat >>conftest.$ac_ext <<_ACEOF
12221 /* end confdefs.h. */
12222 #include <$ac_header>
12223 _ACEOF
12224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12226 ac_status=$?
12227 grep -v '^ *+' conftest.er1 >conftest.err
12228 rm -f conftest.er1
12229 cat conftest.err >&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); } >/dev/null; then
12232 if test -s conftest.err; then
12233 ac_cpp_err=$ac_c_preproc_warn_flag
12234 else
12235 ac_cpp_err=
12236 fi
12237 else
12238 ac_cpp_err=yes
12239 fi
12240 if test -z "$ac_cpp_err"; then
12241 ac_header_preproc=yes
12242 else
12243 echo "$as_me: failed program was:" >&5
12244 sed 's/^/| /' conftest.$ac_ext >&5
12245
12246 ac_header_preproc=no
12247 fi
12248 rm -f conftest.err conftest.$ac_ext
12249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12250 echo "${ECHO_T}$ac_header_preproc" >&6
12251
12252 # So? What about this header?
12253 case $ac_header_compiler:$ac_header_preproc in
12254 yes:no )
12255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12259 (
12260 cat <<\_ASBOX
12261 ## ------------------------------------ ##
12262 ## Report this to bug-autoconf@gnu.org. ##
12263 ## ------------------------------------ ##
12264 _ASBOX
12265 ) |
12266 sed "s/^/$as_me: WARNING: /" >&2
12267 ;;
12268 no:yes )
12269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12275 (
12276 cat <<\_ASBOX
12277 ## ------------------------------------ ##
12278 ## Report this to bug-autoconf@gnu.org. ##
12279 ## ------------------------------------ ##
12280 _ASBOX
12281 ) |
12282 sed "s/^/$as_me: WARNING: /" >&2
12283 ;;
12284 esac
12285 echo "$as_me:$LINENO: checking for $ac_header" >&5
12286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 else
12290 eval "$as_ac_Header=$ac_header_preproc"
12291 fi
12292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12294
12295 fi
12296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12297 cat >>confdefs.h <<_ACEOF
12298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12299 _ACEOF
12300
12301 fi
12302
12303 done
12304
12305
12306
12307 for ac_header in stdlib.h
12308 do
12309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo "$as_me:$LINENO: checking for $ac_header" >&5
12312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12314 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 fi
12316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12318 else
12319 # Is the header compilable?
12320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12322 cat >conftest.$ac_ext <<_ACEOF
12323 #line $LINENO "configure"
12324 /* confdefs.h. */
12325 _ACEOF
12326 cat confdefs.h >>conftest.$ac_ext
12327 cat >>conftest.$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12329 $ac_includes_default
12330 #include <$ac_header>
12331 _ACEOF
12332 rm -f conftest.$ac_objext
12333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 (eval $ac_compile) 2>&5
12335 ac_status=$?
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try='test -s conftest.$ac_objext'
12339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 (eval $ac_try) 2>&5
12341 ac_status=$?
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); }; }; then
12344 ac_header_compiler=yes
12345 else
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12348
12349 ac_header_compiler=no
12350 fi
12351 rm -f conftest.$ac_objext conftest.$ac_ext
12352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12353 echo "${ECHO_T}$ac_header_compiler" >&6
12354
12355 # Is the header present?
12356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12357 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
12366 _ACEOF
12367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12369 ac_status=$?
12370 grep -v '^ *+' conftest.er1 >conftest.err
12371 rm -f conftest.er1
12372 cat conftest.err >&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } >/dev/null; then
12375 if test -s conftest.err; then
12376 ac_cpp_err=$ac_c_preproc_warn_flag
12377 else
12378 ac_cpp_err=
12379 fi
12380 else
12381 ac_cpp_err=yes
12382 fi
12383 if test -z "$ac_cpp_err"; then
12384 ac_header_preproc=yes
12385 else
12386 echo "$as_me: failed program was:" >&5
12387 sed 's/^/| /' conftest.$ac_ext >&5
12388
12389 ac_header_preproc=no
12390 fi
12391 rm -f conftest.err conftest.$ac_ext
12392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12393 echo "${ECHO_T}$ac_header_preproc" >&6
12394
12395 # So? What about this header?
12396 case $ac_header_compiler:$ac_header_preproc in
12397 yes:no )
12398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12402 (
12403 cat <<\_ASBOX
12404 ## ------------------------------------ ##
12405 ## Report this to bug-autoconf@gnu.org. ##
12406 ## ------------------------------------ ##
12407 _ASBOX
12408 ) |
12409 sed "s/^/$as_me: WARNING: /" >&2
12410 ;;
12411 no:yes )
12412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12418 (
12419 cat <<\_ASBOX
12420 ## ------------------------------------ ##
12421 ## Report this to bug-autoconf@gnu.org. ##
12422 ## ------------------------------------ ##
12423 _ASBOX
12424 ) |
12425 sed "s/^/$as_me: WARNING: /" >&2
12426 ;;
12427 esac
12428 echo "$as_me:$LINENO: checking for $ac_header" >&5
12429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 else
12433 eval "$as_ac_Header=$ac_header_preproc"
12434 fi
12435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12437
12438 fi
12439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12440 cat >>confdefs.h <<_ACEOF
12441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12442 _ACEOF
12443
12444 fi
12445
12446 done
12447
12448
12449 for ac_header in malloc.h
12450 do
12451 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo "$as_me:$LINENO: checking for $ac_header" >&5
12454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 fi
12458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12460 else
12461 # Is the header compilable?
12462 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12464 cat >conftest.$ac_ext <<_ACEOF
12465 #line $LINENO "configure"
12466 /* confdefs.h. */
12467 _ACEOF
12468 cat confdefs.h >>conftest.$ac_ext
12469 cat >>conftest.$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12471 $ac_includes_default
12472 #include <$ac_header>
12473 _ACEOF
12474 rm -f conftest.$ac_objext
12475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12476 (eval $ac_compile) 2>&5
12477 ac_status=$?
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); } &&
12480 { ac_try='test -s conftest.$ac_objext'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12483 ac_status=$?
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; }; then
12486 ac_header_compiler=yes
12487 else
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.$ac_ext >&5
12490
12491 ac_header_compiler=no
12492 fi
12493 rm -f conftest.$ac_objext conftest.$ac_ext
12494 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12495 echo "${ECHO_T}$ac_header_compiler" >&6
12496
12497 # Is the header present?
12498 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12499 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
12508 _ACEOF
12509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12511 ac_status=$?
12512 grep -v '^ *+' conftest.er1 >conftest.err
12513 rm -f conftest.er1
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } >/dev/null; then
12517 if test -s conftest.err; then
12518 ac_cpp_err=$ac_c_preproc_warn_flag
12519 else
12520 ac_cpp_err=
12521 fi
12522 else
12523 ac_cpp_err=yes
12524 fi
12525 if test -z "$ac_cpp_err"; then
12526 ac_header_preproc=yes
12527 else
12528 echo "$as_me: failed program was:" >&5
12529 sed 's/^/| /' conftest.$ac_ext >&5
12530
12531 ac_header_preproc=no
12532 fi
12533 rm -f conftest.err conftest.$ac_ext
12534 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12535 echo "${ECHO_T}$ac_header_preproc" >&6
12536
12537 # So? What about this header?
12538 case $ac_header_compiler:$ac_header_preproc in
12539 yes:no )
12540 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12541 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12544 (
12545 cat <<\_ASBOX
12546 ## ------------------------------------ ##
12547 ## Report this to bug-autoconf@gnu.org. ##
12548 ## ------------------------------------ ##
12549 _ASBOX
12550 ) |
12551 sed "s/^/$as_me: WARNING: /" >&2
12552 ;;
12553 no:yes )
12554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12560 (
12561 cat <<\_ASBOX
12562 ## ------------------------------------ ##
12563 ## Report this to bug-autoconf@gnu.org. ##
12564 ## ------------------------------------ ##
12565 _ASBOX
12566 ) |
12567 sed "s/^/$as_me: WARNING: /" >&2
12568 ;;
12569 esac
12570 echo "$as_me:$LINENO: checking for $ac_header" >&5
12571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 else
12575 eval "$as_ac_Header=$ac_header_preproc"
12576 fi
12577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12579
12580 fi
12581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12582 cat >>confdefs.h <<_ACEOF
12583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12584 _ACEOF
12585
12586 fi
12587
12588 done
12589
12590
12591 for ac_header in unistd.h
12592 do
12593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo "$as_me:$LINENO: checking for $ac_header" >&5
12596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12598 echo $ECHO_N "(cached) $ECHO_C" >&6
12599 fi
12600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12602 else
12603 # Is the header compilable?
12604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12606 cat >conftest.$ac_ext <<_ACEOF
12607 #line $LINENO "configure"
12608 /* confdefs.h. */
12609 _ACEOF
12610 cat confdefs.h >>conftest.$ac_ext
12611 cat >>conftest.$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12613 $ac_includes_default
12614 #include <$ac_header>
12615 _ACEOF
12616 rm -f conftest.$ac_objext
12617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12618 (eval $ac_compile) 2>&5
12619 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } &&
12622 { ac_try='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12625 ac_status=$?
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12628 ac_header_compiler=yes
12629 else
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.$ac_ext >&5
12632
12633 ac_header_compiler=no
12634 fi
12635 rm -f conftest.$ac_objext conftest.$ac_ext
12636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12637 echo "${ECHO_T}$ac_header_compiler" >&6
12638
12639 # Is the header present?
12640 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12641 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
12650 _ACEOF
12651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12653 ac_status=$?
12654 grep -v '^ *+' conftest.er1 >conftest.err
12655 rm -f conftest.er1
12656 cat conftest.err >&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); } >/dev/null; then
12659 if test -s conftest.err; then
12660 ac_cpp_err=$ac_c_preproc_warn_flag
12661 else
12662 ac_cpp_err=
12663 fi
12664 else
12665 ac_cpp_err=yes
12666 fi
12667 if test -z "$ac_cpp_err"; then
12668 ac_header_preproc=yes
12669 else
12670 echo "$as_me: failed program was:" >&5
12671 sed 's/^/| /' conftest.$ac_ext >&5
12672
12673 ac_header_preproc=no
12674 fi
12675 rm -f conftest.err conftest.$ac_ext
12676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12677 echo "${ECHO_T}$ac_header_preproc" >&6
12678
12679 # So? What about this header?
12680 case $ac_header_compiler:$ac_header_preproc in
12681 yes:no )
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12683 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12686 (
12687 cat <<\_ASBOX
12688 ## ------------------------------------ ##
12689 ## Report this to bug-autoconf@gnu.org. ##
12690 ## ------------------------------------ ##
12691 _ASBOX
12692 ) |
12693 sed "s/^/$as_me: WARNING: /" >&2
12694 ;;
12695 no:yes )
12696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12702 (
12703 cat <<\_ASBOX
12704 ## ------------------------------------ ##
12705 ## Report this to bug-autoconf@gnu.org. ##
12706 ## ------------------------------------ ##
12707 _ASBOX
12708 ) |
12709 sed "s/^/$as_me: WARNING: /" >&2
12710 ;;
12711 esac
12712 echo "$as_me:$LINENO: checking for $ac_header" >&5
12713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12715 echo $ECHO_N "(cached) $ECHO_C" >&6
12716 else
12717 eval "$as_ac_Header=$ac_header_preproc"
12718 fi
12719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12721
12722 fi
12723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12724 cat >>confdefs.h <<_ACEOF
12725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12726 _ACEOF
12727
12728 fi
12729
12730 done
12731
12732
12733 for ac_header in wchar.h
12734 do
12735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12737 echo "$as_me:$LINENO: checking for $ac_header" >&5
12738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 fi
12742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12744 else
12745 # Is the header compilable?
12746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12748 cat >conftest.$ac_ext <<_ACEOF
12749 #line $LINENO "configure"
12750 /* confdefs.h. */
12751 _ACEOF
12752 cat confdefs.h >>conftest.$ac_ext
12753 cat >>conftest.$ac_ext <<_ACEOF
12754 /* end confdefs.h. */
12755 $ac_includes_default
12756 #include <$ac_header>
12757 _ACEOF
12758 rm -f conftest.$ac_objext
12759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12760 (eval $ac_compile) 2>&5
12761 ac_status=$?
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); } &&
12764 { ac_try='test -s conftest.$ac_objext'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12767 ac_status=$?
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; }; then
12770 ac_header_compiler=yes
12771 else
12772 echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.$ac_ext >&5
12774
12775 ac_header_compiler=no
12776 fi
12777 rm -f conftest.$ac_objext conftest.$ac_ext
12778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12779 echo "${ECHO_T}$ac_header_compiler" >&6
12780
12781 # Is the header present?
12782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12784 cat >conftest.$ac_ext <<_ACEOF
12785 #line $LINENO "configure"
12786 /* confdefs.h. */
12787 _ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 #include <$ac_header>
12792 _ACEOF
12793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12795 ac_status=$?
12796 grep -v '^ *+' conftest.er1 >conftest.err
12797 rm -f conftest.er1
12798 cat conftest.err >&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } >/dev/null; then
12801 if test -s conftest.err; then
12802 ac_cpp_err=$ac_c_preproc_warn_flag
12803 else
12804 ac_cpp_err=
12805 fi
12806 else
12807 ac_cpp_err=yes
12808 fi
12809 if test -z "$ac_cpp_err"; then
12810 ac_header_preproc=yes
12811 else
12812 echo "$as_me: failed program was:" >&5
12813 sed 's/^/| /' conftest.$ac_ext >&5
12814
12815 ac_header_preproc=no
12816 fi
12817 rm -f conftest.err conftest.$ac_ext
12818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12819 echo "${ECHO_T}$ac_header_preproc" >&6
12820
12821 # So? What about this header?
12822 case $ac_header_compiler:$ac_header_preproc in
12823 yes:no )
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12828 (
12829 cat <<\_ASBOX
12830 ## ------------------------------------ ##
12831 ## Report this to bug-autoconf@gnu.org. ##
12832 ## ------------------------------------ ##
12833 _ASBOX
12834 ) |
12835 sed "s/^/$as_me: WARNING: /" >&2
12836 ;;
12837 no:yes )
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12844 (
12845 cat <<\_ASBOX
12846 ## ------------------------------------ ##
12847 ## Report this to bug-autoconf@gnu.org. ##
12848 ## ------------------------------------ ##
12849 _ASBOX
12850 ) |
12851 sed "s/^/$as_me: WARNING: /" >&2
12852 ;;
12853 esac
12854 echo "$as_me:$LINENO: checking for $ac_header" >&5
12855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12858 else
12859 eval "$as_ac_Header=$ac_header_preproc"
12860 fi
12861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12863
12864 fi
12865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12866 cat >>confdefs.h <<_ACEOF
12867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12868 _ACEOF
12869
12870 fi
12871
12872 done
12873
12874
12875 if test "$ac_cv_header_wchar_h" != "yes"; then
12876
12877 for ac_header in wcstr.h
12878 do
12879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12881 echo "$as_me:$LINENO: checking for $ac_header" >&5
12882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12885 fi
12886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12888 else
12889 # Is the header compilable?
12890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12892 cat >conftest.$ac_ext <<_ACEOF
12893 #line $LINENO "configure"
12894 /* confdefs.h. */
12895 _ACEOF
12896 cat confdefs.h >>conftest.$ac_ext
12897 cat >>conftest.$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12899 $ac_includes_default
12900 #include <$ac_header>
12901 _ACEOF
12902 rm -f conftest.$ac_objext
12903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12904 (eval $ac_compile) 2>&5
12905 ac_status=$?
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } &&
12908 { ac_try='test -s conftest.$ac_objext'
12909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12910 (eval $ac_try) 2>&5
12911 ac_status=$?
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); }; }; then
12914 ac_header_compiler=yes
12915 else
12916 echo "$as_me: failed program was:" >&5
12917 sed 's/^/| /' conftest.$ac_ext >&5
12918
12919 ac_header_compiler=no
12920 fi
12921 rm -f conftest.$ac_objext conftest.$ac_ext
12922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12923 echo "${ECHO_T}$ac_header_compiler" >&6
12924
12925 # Is the header present?
12926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12928 cat >conftest.$ac_ext <<_ACEOF
12929 #line $LINENO "configure"
12930 /* confdefs.h. */
12931 _ACEOF
12932 cat confdefs.h >>conftest.$ac_ext
12933 cat >>conftest.$ac_ext <<_ACEOF
12934 /* end confdefs.h. */
12935 #include <$ac_header>
12936 _ACEOF
12937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12939 ac_status=$?
12940 grep -v '^ *+' conftest.er1 >conftest.err
12941 rm -f conftest.er1
12942 cat conftest.err >&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); } >/dev/null; then
12945 if test -s conftest.err; then
12946 ac_cpp_err=$ac_c_preproc_warn_flag
12947 else
12948 ac_cpp_err=
12949 fi
12950 else
12951 ac_cpp_err=yes
12952 fi
12953 if test -z "$ac_cpp_err"; then
12954 ac_header_preproc=yes
12955 else
12956 echo "$as_me: failed program was:" >&5
12957 sed 's/^/| /' conftest.$ac_ext >&5
12958
12959 ac_header_preproc=no
12960 fi
12961 rm -f conftest.err conftest.$ac_ext
12962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12963 echo "${ECHO_T}$ac_header_preproc" >&6
12964
12965 # So? What about this header?
12966 case $ac_header_compiler:$ac_header_preproc in
12967 yes:no )
12968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12972 (
12973 cat <<\_ASBOX
12974 ## ------------------------------------ ##
12975 ## Report this to bug-autoconf@gnu.org. ##
12976 ## ------------------------------------ ##
12977 _ASBOX
12978 ) |
12979 sed "s/^/$as_me: WARNING: /" >&2
12980 ;;
12981 no:yes )
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12988 (
12989 cat <<\_ASBOX
12990 ## ------------------------------------ ##
12991 ## Report this to bug-autoconf@gnu.org. ##
12992 ## ------------------------------------ ##
12993 _ASBOX
12994 ) |
12995 sed "s/^/$as_me: WARNING: /" >&2
12996 ;;
12997 esac
12998 echo "$as_me:$LINENO: checking for $ac_header" >&5
12999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 else
13003 eval "$as_ac_Header=$ac_header_preproc"
13004 fi
13005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13007
13008 fi
13009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13010 cat >>confdefs.h <<_ACEOF
13011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13012 _ACEOF
13013
13014 fi
13015
13016 done
13017
13018 fi
13019
13020
13021 for ac_header in fnmatch.h
13022 do
13023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13025 echo "$as_me:$LINENO: checking for $ac_header" >&5
13026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 fi
13030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13032 else
13033 # Is the header compilable?
13034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13036 cat >conftest.$ac_ext <<_ACEOF
13037 #line $LINENO "configure"
13038 /* confdefs.h. */
13039 _ACEOF
13040 cat confdefs.h >>conftest.$ac_ext
13041 cat >>conftest.$ac_ext <<_ACEOF
13042 /* end confdefs.h. */
13043 $ac_includes_default
13044 #include <$ac_header>
13045 _ACEOF
13046 rm -f conftest.$ac_objext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13048 (eval $ac_compile) 2>&5
13049 ac_status=$?
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); } &&
13052 { ac_try='test -s conftest.$ac_objext'
13053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13054 (eval $ac_try) 2>&5
13055 ac_status=$?
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); }; }; then
13058 ac_header_compiler=yes
13059 else
13060 echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.$ac_ext >&5
13062
13063 ac_header_compiler=no
13064 fi
13065 rm -f conftest.$ac_objext conftest.$ac_ext
13066 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13067 echo "${ECHO_T}$ac_header_compiler" >&6
13068
13069 # Is the header present?
13070 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13071 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13072 cat >conftest.$ac_ext <<_ACEOF
13073 #line $LINENO "configure"
13074 /* confdefs.h. */
13075 _ACEOF
13076 cat confdefs.h >>conftest.$ac_ext
13077 cat >>conftest.$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13079 #include <$ac_header>
13080 _ACEOF
13081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13083 ac_status=$?
13084 grep -v '^ *+' conftest.er1 >conftest.err
13085 rm -f conftest.er1
13086 cat conftest.err >&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } >/dev/null; then
13089 if test -s conftest.err; then
13090 ac_cpp_err=$ac_c_preproc_warn_flag
13091 else
13092 ac_cpp_err=
13093 fi
13094 else
13095 ac_cpp_err=yes
13096 fi
13097 if test -z "$ac_cpp_err"; then
13098 ac_header_preproc=yes
13099 else
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.$ac_ext >&5
13102
13103 ac_header_preproc=no
13104 fi
13105 rm -f conftest.err conftest.$ac_ext
13106 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13107 echo "${ECHO_T}$ac_header_preproc" >&6
13108
13109 # So? What about this header?
13110 case $ac_header_compiler:$ac_header_preproc in
13111 yes:no )
13112 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13113 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13116 (
13117 cat <<\_ASBOX
13118 ## ------------------------------------ ##
13119 ## Report this to bug-autoconf@gnu.org. ##
13120 ## ------------------------------------ ##
13121 _ASBOX
13122 ) |
13123 sed "s/^/$as_me: WARNING: /" >&2
13124 ;;
13125 no:yes )
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13132 (
13133 cat <<\_ASBOX
13134 ## ------------------------------------ ##
13135 ## Report this to bug-autoconf@gnu.org. ##
13136 ## ------------------------------------ ##
13137 _ASBOX
13138 ) |
13139 sed "s/^/$as_me: WARNING: /" >&2
13140 ;;
13141 esac
13142 echo "$as_me:$LINENO: checking for $ac_header" >&5
13143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 else
13147 eval "$as_ac_Header=$ac_header_preproc"
13148 fi
13149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13151
13152 fi
13153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13154 cat >>confdefs.h <<_ACEOF
13155 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13156 _ACEOF
13157
13158 fi
13159
13160 done
13161
13162
13163 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13164
13165 for ac_func in fnmatch
13166 do
13167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13168 echo "$as_me:$LINENO: checking for $ac_func" >&5
13169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13170 if eval "test \"\${$as_ac_var+set}\" = set"; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 cat >conftest.$ac_ext <<_ACEOF
13174 #line $LINENO "configure"
13175 /* confdefs.h. */
13176 _ACEOF
13177 cat confdefs.h >>conftest.$ac_ext
13178 cat >>conftest.$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13180 /* System header to define __stub macros and hopefully few prototypes,
13181 which can conflict with char $ac_func (); below.
13182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13183 <limits.h> exists even on freestanding compilers. */
13184 #ifdef __STDC__
13185 # include <limits.h>
13186 #else
13187 # include <assert.h>
13188 #endif
13189 /* Override any gcc2 internal prototype to avoid an error. */
13190 #ifdef __cplusplus
13191 extern "C"
13192 {
13193 #endif
13194 /* We use char because int might match the return type of a gcc2
13195 builtin and then its argument prototype would still apply. */
13196 char $ac_func ();
13197 /* The GNU C library defines this for functions which it implements
13198 to always fail with ENOSYS. Some functions are actually named
13199 something starting with __ and the normal name is an alias. */
13200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13201 choke me
13202 #else
13203 char (*f) () = $ac_func;
13204 #endif
13205 #ifdef __cplusplus
13206 }
13207 #endif
13208
13209 int
13210 main ()
13211 {
13212 return f != $ac_func;
13213 ;
13214 return 0;
13215 }
13216 _ACEOF
13217 rm -f conftest.$ac_objext conftest$ac_exeext
13218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13219 (eval $ac_link) 2>&5
13220 ac_status=$?
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); } &&
13223 { ac_try='test -s conftest$ac_exeext'
13224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13225 (eval $ac_try) 2>&5
13226 ac_status=$?
13227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228 (exit $ac_status); }; }; then
13229 eval "$as_ac_var=yes"
13230 else
13231 echo "$as_me: failed program was:" >&5
13232 sed 's/^/| /' conftest.$ac_ext >&5
13233
13234 eval "$as_ac_var=no"
13235 fi
13236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13237 fi
13238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13240 if test `eval echo '${'$as_ac_var'}'` = yes; then
13241 cat >>confdefs.h <<_ACEOF
13242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13243 _ACEOF
13244
13245 fi
13246 done
13247
13248 fi
13249
13250
13251 for ac_header in langinfo.h
13252 do
13253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13255 echo "$as_me:$LINENO: checking for $ac_header" >&5
13256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13258 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 fi
13260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13262 else
13263 # Is the header compilable?
13264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13266 cat >conftest.$ac_ext <<_ACEOF
13267 #line $LINENO "configure"
13268 /* confdefs.h. */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13273 $ac_includes_default
13274 #include <$ac_header>
13275 _ACEOF
13276 rm -f conftest.$ac_objext
13277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13278 (eval $ac_compile) 2>&5
13279 ac_status=$?
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try='test -s conftest.$ac_objext'
13283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13284 (eval $ac_try) 2>&5
13285 ac_status=$?
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; }; then
13288 ac_header_compiler=yes
13289 else
13290 echo "$as_me: failed program was:" >&5
13291 sed 's/^/| /' conftest.$ac_ext >&5
13292
13293 ac_header_compiler=no
13294 fi
13295 rm -f conftest.$ac_objext conftest.$ac_ext
13296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13297 echo "${ECHO_T}$ac_header_compiler" >&6
13298
13299 # Is the header present?
13300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13302 cat >conftest.$ac_ext <<_ACEOF
13303 #line $LINENO "configure"
13304 /* confdefs.h. */
13305 _ACEOF
13306 cat confdefs.h >>conftest.$ac_ext
13307 cat >>conftest.$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13309 #include <$ac_header>
13310 _ACEOF
13311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13313 ac_status=$?
13314 grep -v '^ *+' conftest.er1 >conftest.err
13315 rm -f conftest.er1
13316 cat conftest.err >&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } >/dev/null; then
13319 if test -s conftest.err; then
13320 ac_cpp_err=$ac_c_preproc_warn_flag
13321 else
13322 ac_cpp_err=
13323 fi
13324 else
13325 ac_cpp_err=yes
13326 fi
13327 if test -z "$ac_cpp_err"; then
13328 ac_header_preproc=yes
13329 else
13330 echo "$as_me: failed program was:" >&5
13331 sed 's/^/| /' conftest.$ac_ext >&5
13332
13333 ac_header_preproc=no
13334 fi
13335 rm -f conftest.err conftest.$ac_ext
13336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13337 echo "${ECHO_T}$ac_header_preproc" >&6
13338
13339 # So? What about this header?
13340 case $ac_header_compiler:$ac_header_preproc in
13341 yes:no )
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13346 (
13347 cat <<\_ASBOX
13348 ## ------------------------------------ ##
13349 ## Report this to bug-autoconf@gnu.org. ##
13350 ## ------------------------------------ ##
13351 _ASBOX
13352 ) |
13353 sed "s/^/$as_me: WARNING: /" >&2
13354 ;;
13355 no:yes )
13356 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13357 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13358 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13359 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13362 (
13363 cat <<\_ASBOX
13364 ## ------------------------------------ ##
13365 ## Report this to bug-autoconf@gnu.org. ##
13366 ## ------------------------------------ ##
13367 _ASBOX
13368 ) |
13369 sed "s/^/$as_me: WARNING: /" >&2
13370 ;;
13371 esac
13372 echo "$as_me:$LINENO: checking for $ac_header" >&5
13373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 else
13377 eval "$as_ac_Header=$ac_header_preproc"
13378 fi
13379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13381
13382 fi
13383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13384 cat >>confdefs.h <<_ACEOF
13385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13386 _ACEOF
13387
13388 fi
13389
13390 done
13391
13392
13393 case "${host}" in
13394 *-pc-os2_emx | *-pc-os2-emx )
13395 if test $ac_cv_header_langinfo_h = "yes"; then
13396 LIBS="$LIBS -lintl"
13397 fi
13398 ;;
13399 esac
13400
13401 if test "$wxUSE_GUI" = "yes"; then
13402 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13403
13404 for ac_header in X11/Xlib.h
13405 do
13406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13408 echo "$as_me:$LINENO: checking for $ac_header" >&5
13409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 fi
13413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13415 else
13416 # Is the header compilable?
13417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13419 cat >conftest.$ac_ext <<_ACEOF
13420 #line $LINENO "configure"
13421 /* confdefs.h. */
13422 _ACEOF
13423 cat confdefs.h >>conftest.$ac_ext
13424 cat >>conftest.$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 $ac_includes_default
13427 #include <$ac_header>
13428 _ACEOF
13429 rm -f conftest.$ac_objext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13431 (eval $ac_compile) 2>&5
13432 ac_status=$?
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } &&
13435 { ac_try='test -s conftest.$ac_objext'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13438 ac_status=$?
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; }; then
13441 ac_header_compiler=yes
13442 else
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13445
13446 ac_header_compiler=no
13447 fi
13448 rm -f conftest.$ac_objext conftest.$ac_ext
13449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13450 echo "${ECHO_T}$ac_header_compiler" >&6
13451
13452 # Is the header present?
13453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13455 cat >conftest.$ac_ext <<_ACEOF
13456 #line $LINENO "configure"
13457 /* confdefs.h. */
13458 _ACEOF
13459 cat confdefs.h >>conftest.$ac_ext
13460 cat >>conftest.$ac_ext <<_ACEOF
13461 /* end confdefs.h. */
13462 #include <$ac_header>
13463 _ACEOF
13464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13466 ac_status=$?
13467 grep -v '^ *+' conftest.er1 >conftest.err
13468 rm -f conftest.er1
13469 cat conftest.err >&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } >/dev/null; then
13472 if test -s conftest.err; then
13473 ac_cpp_err=$ac_c_preproc_warn_flag
13474 else
13475 ac_cpp_err=
13476 fi
13477 else
13478 ac_cpp_err=yes
13479 fi
13480 if test -z "$ac_cpp_err"; then
13481 ac_header_preproc=yes
13482 else
13483 echo "$as_me: failed program was:" >&5
13484 sed 's/^/| /' conftest.$ac_ext >&5
13485
13486 ac_header_preproc=no
13487 fi
13488 rm -f conftest.err conftest.$ac_ext
13489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13490 echo "${ECHO_T}$ac_header_preproc" >&6
13491
13492 # So? What about this header?
13493 case $ac_header_compiler:$ac_header_preproc in
13494 yes:no )
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13499 (
13500 cat <<\_ASBOX
13501 ## ------------------------------------ ##
13502 ## Report this to bug-autoconf@gnu.org. ##
13503 ## ------------------------------------ ##
13504 _ASBOX
13505 ) |
13506 sed "s/^/$as_me: WARNING: /" >&2
13507 ;;
13508 no:yes )
13509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13515 (
13516 cat <<\_ASBOX
13517 ## ------------------------------------ ##
13518 ## Report this to bug-autoconf@gnu.org. ##
13519 ## ------------------------------------ ##
13520 _ASBOX
13521 ) |
13522 sed "s/^/$as_me: WARNING: /" >&2
13523 ;;
13524 esac
13525 echo "$as_me:$LINENO: checking for $ac_header" >&5
13526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530 eval "$as_ac_Header=$ac_header_preproc"
13531 fi
13532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13534
13535 fi
13536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13537 cat >>confdefs.h <<_ACEOF
13538 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13539 _ACEOF
13540
13541 fi
13542
13543 done
13544
13545
13546 for ac_header in X11/XKBlib.h
13547 do
13548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13549 echo "$as_me:$LINENO: checking for $ac_header" >&5
13550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13553 else
13554 cat >conftest.$ac_ext <<_ACEOF
13555 #line $LINENO "configure"
13556 /* confdefs.h. */
13557 _ACEOF
13558 cat confdefs.h >>conftest.$ac_ext
13559 cat >>conftest.$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13561
13562 #if HAVE_X11_XLIB_H
13563 #include <X11/Xlib.h>
13564 #endif
13565
13566
13567 #include <$ac_header>
13568 _ACEOF
13569 rm -f conftest.$ac_objext
13570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13571 (eval $ac_compile) 2>&5
13572 ac_status=$?
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } &&
13575 { ac_try='test -s conftest.$ac_objext'
13576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13577 (eval $ac_try) 2>&5
13578 ac_status=$?
13579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13580 (exit $ac_status); }; }; then
13581 eval "$as_ac_Header=yes"
13582 else
13583 echo "$as_me: failed program was:" >&5
13584 sed 's/^/| /' conftest.$ac_ext >&5
13585
13586 eval "$as_ac_Header=no"
13587 fi
13588 rm -f conftest.$ac_objext conftest.$ac_ext
13589 fi
13590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13593 cat >>confdefs.h <<_ACEOF
13594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13595 _ACEOF
13596
13597 fi
13598
13599 done
13600
13601 fi
13602 fi
13603
13604
13605 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13606 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13607 if test "${ac_cv_c_const+set}" = set; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 else
13610 cat >conftest.$ac_ext <<_ACEOF
13611 #line $LINENO "configure"
13612 /* confdefs.h. */
13613 _ACEOF
13614 cat confdefs.h >>conftest.$ac_ext
13615 cat >>conftest.$ac_ext <<_ACEOF
13616 /* end confdefs.h. */
13617
13618 int
13619 main ()
13620 {
13621 /* FIXME: Include the comments suggested by Paul. */
13622 #ifndef __cplusplus
13623 /* Ultrix mips cc rejects this. */
13624 typedef int charset[2];
13625 const charset x;
13626 /* SunOS 4.1.1 cc rejects this. */
13627 char const *const *ccp;
13628 char **p;
13629 /* NEC SVR4.0.2 mips cc rejects this. */
13630 struct point {int x, y;};
13631 static struct point const zero = {0,0};
13632 /* AIX XL C 1.02.0.0 rejects this.
13633 It does not let you subtract one const X* pointer from another in
13634 an arm of an if-expression whose if-part is not a constant
13635 expression */
13636 const char *g = "string";
13637 ccp = &g + (g ? g-g : 0);
13638 /* HPUX 7.0 cc rejects these. */
13639 ++ccp;
13640 p = (char**) ccp;
13641 ccp = (char const *const *) p;
13642 { /* SCO 3.2v4 cc rejects this. */
13643 char *t;
13644 char const *s = 0 ? (char *) 0 : (char const *) 0;
13645
13646 *t++ = 0;
13647 }
13648 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13649 int x[] = {25, 17};
13650 const int *foo = &x[0];
13651 ++foo;
13652 }
13653 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13654 typedef const int *iptr;
13655 iptr p = 0;
13656 ++p;
13657 }
13658 { /* AIX XL C 1.02.0.0 rejects this saying
13659 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13660 struct s { int j; const int *ap[3]; };
13661 struct s *b; b->j = 5;
13662 }
13663 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13664 const int foo = 10;
13665 }
13666 #endif
13667
13668 ;
13669 return 0;
13670 }
13671 _ACEOF
13672 rm -f conftest.$ac_objext
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>&5
13675 ac_status=$?
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try='test -s conftest.$ac_objext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 ac_cv_c_const=yes
13685 else
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13688
13689 ac_cv_c_const=no
13690 fi
13691 rm -f conftest.$ac_objext conftest.$ac_ext
13692 fi
13693 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13694 echo "${ECHO_T}$ac_cv_c_const" >&6
13695 if test $ac_cv_c_const = no; then
13696
13697 cat >>confdefs.h <<\_ACEOF
13698 #define const
13699 _ACEOF
13700
13701 fi
13702
13703 echo "$as_me:$LINENO: checking for inline" >&5
13704 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13705 if test "${ac_cv_c_inline+set}" = set; then
13706 echo $ECHO_N "(cached) $ECHO_C" >&6
13707 else
13708 ac_cv_c_inline=no
13709 for ac_kw in inline __inline__ __inline; do
13710 cat >conftest.$ac_ext <<_ACEOF
13711 #line $LINENO "configure"
13712 /* confdefs.h. */
13713 _ACEOF
13714 cat confdefs.h >>conftest.$ac_ext
13715 cat >>conftest.$ac_ext <<_ACEOF
13716 /* end confdefs.h. */
13717 #ifndef __cplusplus
13718 typedef int foo_t;
13719 static $ac_kw foo_t static_foo () {return 0; }
13720 $ac_kw foo_t foo () {return 0; }
13721 #endif
13722
13723 _ACEOF
13724 rm -f conftest.$ac_objext
13725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13726 (eval $ac_compile) 2>&5
13727 ac_status=$?
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } &&
13730 { ac_try='test -s conftest.$ac_objext'
13731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 (eval $ac_try) 2>&5
13733 ac_status=$?
13734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13735 (exit $ac_status); }; }; then
13736 ac_cv_c_inline=$ac_kw; break
13737 else
13738 echo "$as_me: failed program was:" >&5
13739 sed 's/^/| /' conftest.$ac_ext >&5
13740
13741 fi
13742 rm -f conftest.$ac_objext conftest.$ac_ext
13743 done
13744
13745 fi
13746 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13747 echo "${ECHO_T}$ac_cv_c_inline" >&6
13748 case $ac_cv_c_inline in
13749 inline | yes) ;;
13750 no)
13751 cat >>confdefs.h <<\_ACEOF
13752 #define inline
13753 _ACEOF
13754 ;;
13755 *) cat >>confdefs.h <<_ACEOF
13756 #define inline $ac_cv_c_inline
13757 _ACEOF
13758 ;;
13759 esac
13760
13761
13762 echo "$as_me:$LINENO: checking for char" >&5
13763 echo $ECHO_N "checking for char... $ECHO_C" >&6
13764 if test "${ac_cv_type_char+set}" = set; then
13765 echo $ECHO_N "(cached) $ECHO_C" >&6
13766 else
13767 cat >conftest.$ac_ext <<_ACEOF
13768 #line $LINENO "configure"
13769 /* confdefs.h. */
13770 _ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 $ac_includes_default
13775 int
13776 main ()
13777 {
13778 if ((char *) 0)
13779 return 0;
13780 if (sizeof (char))
13781 return 0;
13782 ;
13783 return 0;
13784 }
13785 _ACEOF
13786 rm -f conftest.$ac_objext
13787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13788 (eval $ac_compile) 2>&5
13789 ac_status=$?
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } &&
13792 { ac_try='test -s conftest.$ac_objext'
13793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13794 (eval $ac_try) 2>&5
13795 ac_status=$?
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); }; }; then
13798 ac_cv_type_char=yes
13799 else
13800 echo "$as_me: failed program was:" >&5
13801 sed 's/^/| /' conftest.$ac_ext >&5
13802
13803 ac_cv_type_char=no
13804 fi
13805 rm -f conftest.$ac_objext conftest.$ac_ext
13806 fi
13807 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13808 echo "${ECHO_T}$ac_cv_type_char" >&6
13809
13810 echo "$as_me:$LINENO: checking size of char" >&5
13811 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13812 if test "${ac_cv_sizeof_char+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13814 else
13815 if test "$ac_cv_type_char" = yes; then
13816 # The cast to unsigned long works around a bug in the HP C Compiler
13817 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13818 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13819 # This bug is HP SR number 8606223364.
13820 if test "$cross_compiling" = yes; then
13821 # Depending upon the size, compute the lo and hi bounds.
13822 cat >conftest.$ac_ext <<_ACEOF
13823 #line $LINENO "configure"
13824 /* confdefs.h. */
13825 _ACEOF
13826 cat confdefs.h >>conftest.$ac_ext
13827 cat >>conftest.$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13829 $ac_includes_default
13830 int
13831 main ()
13832 {
13833 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13834 test_array [0] = 0
13835
13836 ;
13837 return 0;
13838 }
13839 _ACEOF
13840 rm -f conftest.$ac_objext
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } &&
13846 { ac_try='test -s conftest.$ac_objext'
13847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13848 (eval $ac_try) 2>&5
13849 ac_status=$?
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; }; then
13852 ac_lo=0 ac_mid=0
13853 while :; do
13854 cat >conftest.$ac_ext <<_ACEOF
13855 #line $LINENO "configure"
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 $ac_includes_default
13862 int
13863 main ()
13864 {
13865 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13866 test_array [0] = 0
13867
13868 ;
13869 return 0;
13870 }
13871 _ACEOF
13872 rm -f conftest.$ac_objext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 (eval $ac_compile) 2>&5
13875 ac_status=$?
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } &&
13878 { ac_try='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_hi=$ac_mid; break
13885 else
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13888
13889 ac_lo=`expr $ac_mid + 1`
13890 if test $ac_lo -le $ac_mid; then
13891 ac_lo= ac_hi=
13892 break
13893 fi
13894 ac_mid=`expr 2 '*' $ac_mid + 1`
13895 fi
13896 rm -f conftest.$ac_objext conftest.$ac_ext
13897 done
13898 else
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.$ac_ext >&5
13901
13902 cat >conftest.$ac_ext <<_ACEOF
13903 #line $LINENO "configure"
13904 /* confdefs.h. */
13905 _ACEOF
13906 cat confdefs.h >>conftest.$ac_ext
13907 cat >>conftest.$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 $ac_includes_default
13910 int
13911 main ()
13912 {
13913 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13914 test_array [0] = 0
13915
13916 ;
13917 return 0;
13918 }
13919 _ACEOF
13920 rm -f conftest.$ac_objext
13921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13922 (eval $ac_compile) 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } &&
13926 { ac_try='test -s conftest.$ac_objext'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; }; then
13932 ac_hi=-1 ac_mid=-1
13933 while :; do
13934 cat >conftest.$ac_ext <<_ACEOF
13935 #line $LINENO "configure"
13936 /* confdefs.h. */
13937 _ACEOF
13938 cat confdefs.h >>conftest.$ac_ext
13939 cat >>conftest.$ac_ext <<_ACEOF
13940 /* end confdefs.h. */
13941 $ac_includes_default
13942 int
13943 main ()
13944 {
13945 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13946 test_array [0] = 0
13947
13948 ;
13949 return 0;
13950 }
13951 _ACEOF
13952 rm -f conftest.$ac_objext
13953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13954 (eval $ac_compile) 2>&5
13955 ac_status=$?
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } &&
13958 { ac_try='test -s conftest.$ac_objext'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13961 ac_status=$?
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; }; then
13964 ac_lo=$ac_mid; break
13965 else
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13968
13969 ac_hi=`expr '(' $ac_mid ')' - 1`
13970 if test $ac_mid -le $ac_hi; then
13971 ac_lo= ac_hi=
13972 break
13973 fi
13974 ac_mid=`expr 2 '*' $ac_mid`
13975 fi
13976 rm -f conftest.$ac_objext conftest.$ac_ext
13977 done
13978 else
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.$ac_ext >&5
13981
13982 ac_lo= ac_hi=
13983 fi
13984 rm -f conftest.$ac_objext conftest.$ac_ext
13985 fi
13986 rm -f conftest.$ac_objext conftest.$ac_ext
13987 # Binary search between lo and hi bounds.
13988 while test "x$ac_lo" != "x$ac_hi"; do
13989 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13990 cat >conftest.$ac_ext <<_ACEOF
13991 #line $LINENO "configure"
13992 /* confdefs.h. */
13993 _ACEOF
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13997 $ac_includes_default
13998 int
13999 main ()
14000 {
14001 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14002 test_array [0] = 0
14003
14004 ;
14005 return 0;
14006 }
14007 _ACEOF
14008 rm -f conftest.$ac_objext
14009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14010 (eval $ac_compile) 2>&5
14011 ac_status=$?
14012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14013 (exit $ac_status); } &&
14014 { ac_try='test -s conftest.$ac_objext'
14015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14016 (eval $ac_try) 2>&5
14017 ac_status=$?
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); }; }; then
14020 ac_hi=$ac_mid
14021 else
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.$ac_ext >&5
14024
14025 ac_lo=`expr '(' $ac_mid ')' + 1`
14026 fi
14027 rm -f conftest.$ac_objext conftest.$ac_ext
14028 done
14029 case $ac_lo in
14030 ?*) ac_cv_sizeof_char=$ac_lo;;
14031 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14032 See \`config.log' for more details." >&5
14033 echo "$as_me: error: cannot compute sizeof (char), 77
14034 See \`config.log' for more details." >&2;}
14035 { (exit 1); exit 1; }; } ;;
14036 esac
14037 else
14038 if test "$cross_compiling" = yes; then
14039 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14040 See \`config.log' for more details." >&5
14041 echo "$as_me: error: cannot run test program while cross compiling
14042 See \`config.log' for more details." >&2;}
14043 { (exit 1); exit 1; }; }
14044 else
14045 cat >conftest.$ac_ext <<_ACEOF
14046 #line $LINENO "configure"
14047 /* confdefs.h. */
14048 _ACEOF
14049 cat confdefs.h >>conftest.$ac_ext
14050 cat >>conftest.$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14052 $ac_includes_default
14053 long longval () { return (long) (sizeof (char)); }
14054 unsigned long ulongval () { return (long) (sizeof (char)); }
14055 #include <stdio.h>
14056 #include <stdlib.h>
14057 int
14058 main ()
14059 {
14060
14061 FILE *f = fopen ("conftest.val", "w");
14062 if (! f)
14063 exit (1);
14064 if (((long) (sizeof (char))) < 0)
14065 {
14066 long i = longval ();
14067 if (i != ((long) (sizeof (char))))
14068 exit (1);
14069 fprintf (f, "%ld\n", i);
14070 }
14071 else
14072 {
14073 unsigned long i = ulongval ();
14074 if (i != ((long) (sizeof (char))))
14075 exit (1);
14076 fprintf (f, "%lu\n", i);
14077 }
14078 exit (ferror (f) || fclose (f) != 0);
14079
14080 ;
14081 return 0;
14082 }
14083 _ACEOF
14084 rm -f conftest$ac_exeext
14085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14086 (eval $ac_link) 2>&5
14087 ac_status=$?
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14092 ac_status=$?
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; }; then
14095 ac_cv_sizeof_char=`cat conftest.val`
14096 else
14097 echo "$as_me: program exited with status $ac_status" >&5
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.$ac_ext >&5
14100
14101 ( exit $ac_status )
14102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14103 See \`config.log' for more details." >&5
14104 echo "$as_me: error: cannot compute sizeof (char), 77
14105 See \`config.log' for more details." >&2;}
14106 { (exit 1); exit 1; }; }
14107 fi
14108 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14109 fi
14110 fi
14111 rm -f conftest.val
14112 else
14113 ac_cv_sizeof_char=0
14114 fi
14115 fi
14116 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14117 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14118 cat >>confdefs.h <<_ACEOF
14119 #define SIZEOF_CHAR $ac_cv_sizeof_char
14120 _ACEOF
14121
14122
14123 echo "$as_me:$LINENO: checking for short" >&5
14124 echo $ECHO_N "checking for short... $ECHO_C" >&6
14125 if test "${ac_cv_type_short+set}" = set; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14127 else
14128 cat >conftest.$ac_ext <<_ACEOF
14129 #line $LINENO "configure"
14130 /* confdefs.h. */
14131 _ACEOF
14132 cat confdefs.h >>conftest.$ac_ext
14133 cat >>conftest.$ac_ext <<_ACEOF
14134 /* end confdefs.h. */
14135 $ac_includes_default
14136 int
14137 main ()
14138 {
14139 if ((short *) 0)
14140 return 0;
14141 if (sizeof (short))
14142 return 0;
14143 ;
14144 return 0;
14145 }
14146 _ACEOF
14147 rm -f conftest.$ac_objext
14148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14149 (eval $ac_compile) 2>&5
14150 ac_status=$?
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } &&
14153 { ac_try='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14156 ac_status=$?
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_cv_type_short=yes
14160 else
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.$ac_ext >&5
14163
14164 ac_cv_type_short=no
14165 fi
14166 rm -f conftest.$ac_objext conftest.$ac_ext
14167 fi
14168 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14169 echo "${ECHO_T}$ac_cv_type_short" >&6
14170
14171 echo "$as_me:$LINENO: checking size of short" >&5
14172 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14173 if test "${ac_cv_sizeof_short+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 else
14176 if test "$ac_cv_type_short" = yes; then
14177 # The cast to unsigned long works around a bug in the HP C Compiler
14178 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14179 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14180 # This bug is HP SR number 8606223364.
14181 if test "$cross_compiling" = yes; then
14182 # Depending upon the size, compute the lo and hi bounds.
14183 cat >conftest.$ac_ext <<_ACEOF
14184 #line $LINENO "configure"
14185 /* confdefs.h. */
14186 _ACEOF
14187 cat confdefs.h >>conftest.$ac_ext
14188 cat >>conftest.$ac_ext <<_ACEOF
14189 /* end confdefs.h. */
14190 $ac_includes_default
14191 int
14192 main ()
14193 {
14194 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14195 test_array [0] = 0
14196
14197 ;
14198 return 0;
14199 }
14200 _ACEOF
14201 rm -f conftest.$ac_objext
14202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14203 (eval $ac_compile) 2>&5
14204 ac_status=$?
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } &&
14207 { ac_try='test -s conftest.$ac_objext'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14213 ac_lo=0 ac_mid=0
14214 while :; do
14215 cat >conftest.$ac_ext <<_ACEOF
14216 #line $LINENO "configure"
14217 /* confdefs.h. */
14218 _ACEOF
14219 cat confdefs.h >>conftest.$ac_ext
14220 cat >>conftest.$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14222 $ac_includes_default
14223 int
14224 main ()
14225 {
14226 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14227 test_array [0] = 0
14228
14229 ;
14230 return 0;
14231 }
14232 _ACEOF
14233 rm -f conftest.$ac_objext
14234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14235 (eval $ac_compile) 2>&5
14236 ac_status=$?
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } &&
14239 { ac_try='test -s conftest.$ac_objext'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14242 ac_status=$?
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; }; then
14245 ac_hi=$ac_mid; break
14246 else
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.$ac_ext >&5
14249
14250 ac_lo=`expr $ac_mid + 1`
14251 if test $ac_lo -le $ac_mid; then
14252 ac_lo= ac_hi=
14253 break
14254 fi
14255 ac_mid=`expr 2 '*' $ac_mid + 1`
14256 fi
14257 rm -f conftest.$ac_objext conftest.$ac_ext
14258 done
14259 else
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14262
14263 cat >conftest.$ac_ext <<_ACEOF
14264 #line $LINENO "configure"
14265 /* confdefs.h. */
14266 _ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14270 $ac_includes_default
14271 int
14272 main ()
14273 {
14274 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14275 test_array [0] = 0
14276
14277 ;
14278 return 0;
14279 }
14280 _ACEOF
14281 rm -f conftest.$ac_objext
14282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14283 (eval $ac_compile) 2>&5
14284 ac_status=$?
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } &&
14287 { ac_try='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14290 ac_status=$?
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_hi=-1 ac_mid=-1
14294 while :; do
14295 cat >conftest.$ac_ext <<_ACEOF
14296 #line $LINENO "configure"
14297 /* confdefs.h. */
14298 _ACEOF
14299 cat confdefs.h >>conftest.$ac_ext
14300 cat >>conftest.$ac_ext <<_ACEOF
14301 /* end confdefs.h. */
14302 $ac_includes_default
14303 int
14304 main ()
14305 {
14306 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14307 test_array [0] = 0
14308
14309 ;
14310 return 0;
14311 }
14312 _ACEOF
14313 rm -f conftest.$ac_objext
14314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14315 (eval $ac_compile) 2>&5
14316 ac_status=$?
14317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14318 (exit $ac_status); } &&
14319 { ac_try='test -s conftest.$ac_objext'
14320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14321 (eval $ac_try) 2>&5
14322 ac_status=$?
14323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14324 (exit $ac_status); }; }; then
14325 ac_lo=$ac_mid; break
14326 else
14327 echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.$ac_ext >&5
14329
14330 ac_hi=`expr '(' $ac_mid ')' - 1`
14331 if test $ac_mid -le $ac_hi; then
14332 ac_lo= ac_hi=
14333 break
14334 fi
14335 ac_mid=`expr 2 '*' $ac_mid`
14336 fi
14337 rm -f conftest.$ac_objext conftest.$ac_ext
14338 done
14339 else
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.$ac_ext >&5
14342
14343 ac_lo= ac_hi=
14344 fi
14345 rm -f conftest.$ac_objext conftest.$ac_ext
14346 fi
14347 rm -f conftest.$ac_objext conftest.$ac_ext
14348 # Binary search between lo and hi bounds.
14349 while test "x$ac_lo" != "x$ac_hi"; do
14350 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14351 cat >conftest.$ac_ext <<_ACEOF
14352 #line $LINENO "configure"
14353 /* confdefs.h. */
14354 _ACEOF
14355 cat confdefs.h >>conftest.$ac_ext
14356 cat >>conftest.$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14358 $ac_includes_default
14359 int
14360 main ()
14361 {
14362 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14363 test_array [0] = 0
14364
14365 ;
14366 return 0;
14367 }
14368 _ACEOF
14369 rm -f conftest.$ac_objext
14370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14371 (eval $ac_compile) 2>&5
14372 ac_status=$?
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } &&
14375 { ac_try='test -s conftest.$ac_objext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 ac_hi=$ac_mid
14382 else
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14385
14386 ac_lo=`expr '(' $ac_mid ')' + 1`
14387 fi
14388 rm -f conftest.$ac_objext conftest.$ac_ext
14389 done
14390 case $ac_lo in
14391 ?*) ac_cv_sizeof_short=$ac_lo;;
14392 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14393 See \`config.log' for more details." >&5
14394 echo "$as_me: error: cannot compute sizeof (short), 77
14395 See \`config.log' for more details." >&2;}
14396 { (exit 1); exit 1; }; } ;;
14397 esac
14398 else
14399 if test "$cross_compiling" = yes; then
14400 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14401 See \`config.log' for more details." >&5
14402 echo "$as_me: error: cannot run test program while cross compiling
14403 See \`config.log' for more details." >&2;}
14404 { (exit 1); exit 1; }; }
14405 else
14406 cat >conftest.$ac_ext <<_ACEOF
14407 #line $LINENO "configure"
14408 /* confdefs.h. */
14409 _ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14414 long longval () { return (long) (sizeof (short)); }
14415 unsigned long ulongval () { return (long) (sizeof (short)); }
14416 #include <stdio.h>
14417 #include <stdlib.h>
14418 int
14419 main ()
14420 {
14421
14422 FILE *f = fopen ("conftest.val", "w");
14423 if (! f)
14424 exit (1);
14425 if (((long) (sizeof (short))) < 0)
14426 {
14427 long i = longval ();
14428 if (i != ((long) (sizeof (short))))
14429 exit (1);
14430 fprintf (f, "%ld\n", i);
14431 }
14432 else
14433 {
14434 unsigned long i = ulongval ();
14435 if (i != ((long) (sizeof (short))))
14436 exit (1);
14437 fprintf (f, "%lu\n", i);
14438 }
14439 exit (ferror (f) || fclose (f) != 0);
14440
14441 ;
14442 return 0;
14443 }
14444 _ACEOF
14445 rm -f conftest$ac_exeext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14447 (eval $ac_link) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14453 ac_status=$?
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 ac_cv_sizeof_short=`cat conftest.val`
14457 else
14458 echo "$as_me: program exited with status $ac_status" >&5
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14461
14462 ( exit $ac_status )
14463 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14464 See \`config.log' for more details." >&5
14465 echo "$as_me: error: cannot compute sizeof (short), 77
14466 See \`config.log' for more details." >&2;}
14467 { (exit 1); exit 1; }; }
14468 fi
14469 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14470 fi
14471 fi
14472 rm -f conftest.val
14473 else
14474 ac_cv_sizeof_short=0
14475 fi
14476 fi
14477 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14478 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14479 cat >>confdefs.h <<_ACEOF
14480 #define SIZEOF_SHORT $ac_cv_sizeof_short
14481 _ACEOF
14482
14483
14484 echo "$as_me:$LINENO: checking for void *" >&5
14485 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14486 if test "${ac_cv_type_void_p+set}" = set; then
14487 echo $ECHO_N "(cached) $ECHO_C" >&6
14488 else
14489 cat >conftest.$ac_ext <<_ACEOF
14490 #line $LINENO "configure"
14491 /* confdefs.h. */
14492 _ACEOF
14493 cat confdefs.h >>conftest.$ac_ext
14494 cat >>conftest.$ac_ext <<_ACEOF
14495 /* end confdefs.h. */
14496 $ac_includes_default
14497 int
14498 main ()
14499 {
14500 if ((void * *) 0)
14501 return 0;
14502 if (sizeof (void *))
14503 return 0;
14504 ;
14505 return 0;
14506 }
14507 _ACEOF
14508 rm -f conftest.$ac_objext
14509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14510 (eval $ac_compile) 2>&5
14511 ac_status=$?
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } &&
14514 { ac_try='test -s conftest.$ac_objext'
14515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14516 (eval $ac_try) 2>&5
14517 ac_status=$?
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; }; then
14520 ac_cv_type_void_p=yes
14521 else
14522 echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.$ac_ext >&5
14524
14525 ac_cv_type_void_p=no
14526 fi
14527 rm -f conftest.$ac_objext conftest.$ac_ext
14528 fi
14529 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14530 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14531
14532 echo "$as_me:$LINENO: checking size of void *" >&5
14533 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14534 if test "${ac_cv_sizeof_void_p+set}" = set; then
14535 echo $ECHO_N "(cached) $ECHO_C" >&6
14536 else
14537 if test "$ac_cv_type_void_p" = yes; then
14538 # The cast to unsigned long works around a bug in the HP C Compiler
14539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14541 # This bug is HP SR number 8606223364.
14542 if test "$cross_compiling" = yes; then
14543 # Depending upon the size, compute the lo and hi bounds.
14544 cat >conftest.$ac_ext <<_ACEOF
14545 #line $LINENO "configure"
14546 /* confdefs.h. */
14547 _ACEOF
14548 cat confdefs.h >>conftest.$ac_ext
14549 cat >>conftest.$ac_ext <<_ACEOF
14550 /* end confdefs.h. */
14551 $ac_includes_default
14552 int
14553 main ()
14554 {
14555 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14556 test_array [0] = 0
14557
14558 ;
14559 return 0;
14560 }
14561 _ACEOF
14562 rm -f conftest.$ac_objext
14563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14564 (eval $ac_compile) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); } &&
14568 { ac_try='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_lo=0 ac_mid=0
14575 while :; do
14576 cat >conftest.$ac_ext <<_ACEOF
14577 #line $LINENO "configure"
14578 /* confdefs.h. */
14579 _ACEOF
14580 cat confdefs.h >>conftest.$ac_ext
14581 cat >>conftest.$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14583 $ac_includes_default
14584 int
14585 main ()
14586 {
14587 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14588 test_array [0] = 0
14589
14590 ;
14591 return 0;
14592 }
14593 _ACEOF
14594 rm -f conftest.$ac_objext
14595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14596 (eval $ac_compile) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14603 ac_status=$?
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14606 ac_hi=$ac_mid; break
14607 else
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.$ac_ext >&5
14610
14611 ac_lo=`expr $ac_mid + 1`
14612 if test $ac_lo -le $ac_mid; then
14613 ac_lo= ac_hi=
14614 break
14615 fi
14616 ac_mid=`expr 2 '*' $ac_mid + 1`
14617 fi
14618 rm -f conftest.$ac_objext conftest.$ac_ext
14619 done
14620 else
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.$ac_ext >&5
14623
14624 cat >conftest.$ac_ext <<_ACEOF
14625 #line $LINENO "configure"
14626 /* confdefs.h. */
14627 _ACEOF
14628 cat confdefs.h >>conftest.$ac_ext
14629 cat >>conftest.$ac_ext <<_ACEOF
14630 /* end confdefs.h. */
14631 $ac_includes_default
14632 int
14633 main ()
14634 {
14635 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14636 test_array [0] = 0
14637
14638 ;
14639 return 0;
14640 }
14641 _ACEOF
14642 rm -f conftest.$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>&5
14645 ac_status=$?
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); } &&
14648 { ac_try='test -s conftest.$ac_objext'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14651 ac_status=$?
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; }; then
14654 ac_hi=-1 ac_mid=-1
14655 while :; do
14656 cat >conftest.$ac_ext <<_ACEOF
14657 #line $LINENO "configure"
14658 /* confdefs.h. */
14659 _ACEOF
14660 cat confdefs.h >>conftest.$ac_ext
14661 cat >>conftest.$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14663 $ac_includes_default
14664 int
14665 main ()
14666 {
14667 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14668 test_array [0] = 0
14669
14670 ;
14671 return 0;
14672 }
14673 _ACEOF
14674 rm -f conftest.$ac_objext
14675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14676 (eval $ac_compile) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } &&
14680 { ac_try='test -s conftest.$ac_objext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14683 ac_status=$?
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 ac_lo=$ac_mid; break
14687 else
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.$ac_ext >&5
14690
14691 ac_hi=`expr '(' $ac_mid ')' - 1`
14692 if test $ac_mid -le $ac_hi; then
14693 ac_lo= ac_hi=
14694 break
14695 fi
14696 ac_mid=`expr 2 '*' $ac_mid`
14697 fi
14698 rm -f conftest.$ac_objext conftest.$ac_ext
14699 done
14700 else
14701 echo "$as_me: failed program was:" >&5
14702 sed 's/^/| /' conftest.$ac_ext >&5
14703
14704 ac_lo= ac_hi=
14705 fi
14706 rm -f conftest.$ac_objext conftest.$ac_ext
14707 fi
14708 rm -f conftest.$ac_objext conftest.$ac_ext
14709 # Binary search between lo and hi bounds.
14710 while test "x$ac_lo" != "x$ac_hi"; do
14711 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14712 cat >conftest.$ac_ext <<_ACEOF
14713 #line $LINENO "configure"
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 $ac_includes_default
14720 int
14721 main ()
14722 {
14723 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14724 test_array [0] = 0
14725
14726 ;
14727 return 0;
14728 }
14729 _ACEOF
14730 rm -f conftest.$ac_objext
14731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14732 (eval $ac_compile) 2>&5
14733 ac_status=$?
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 ac_hi=$ac_mid
14743 else
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14746
14747 ac_lo=`expr '(' $ac_mid ')' + 1`
14748 fi
14749 rm -f conftest.$ac_objext conftest.$ac_ext
14750 done
14751 case $ac_lo in
14752 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14753 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: cannot compute sizeof (void *), 77
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; } ;;
14758 esac
14759 else
14760 if test "$cross_compiling" = yes; then
14761 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14762 See \`config.log' for more details." >&5
14763 echo "$as_me: error: cannot run test program while cross compiling
14764 See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14766 else
14767 cat >conftest.$ac_ext <<_ACEOF
14768 #line $LINENO "configure"
14769 /* confdefs.h. */
14770 _ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14775 long longval () { return (long) (sizeof (void *)); }
14776 unsigned long ulongval () { return (long) (sizeof (void *)); }
14777 #include <stdio.h>
14778 #include <stdlib.h>
14779 int
14780 main ()
14781 {
14782
14783 FILE *f = fopen ("conftest.val", "w");
14784 if (! f)
14785 exit (1);
14786 if (((long) (sizeof (void *))) < 0)
14787 {
14788 long i = longval ();
14789 if (i != ((long) (sizeof (void *))))
14790 exit (1);
14791 fprintf (f, "%ld\n", i);
14792 }
14793 else
14794 {
14795 unsigned long i = ulongval ();
14796 if (i != ((long) (sizeof (void *))))
14797 exit (1);
14798 fprintf (f, "%lu\n", i);
14799 }
14800 exit (ferror (f) || fclose (f) != 0);
14801
14802 ;
14803 return 0;
14804 }
14805 _ACEOF
14806 rm -f conftest$ac_exeext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14808 (eval $ac_link) 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; }; then
14817 ac_cv_sizeof_void_p=`cat conftest.val`
14818 else
14819 echo "$as_me: program exited with status $ac_status" >&5
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.$ac_ext >&5
14822
14823 ( exit $ac_status )
14824 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14825 See \`config.log' for more details." >&5
14826 echo "$as_me: error: cannot compute sizeof (void *), 77
14827 See \`config.log' for more details." >&2;}
14828 { (exit 1); exit 1; }; }
14829 fi
14830 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14831 fi
14832 fi
14833 rm -f conftest.val
14834 else
14835 ac_cv_sizeof_void_p=0
14836 fi
14837 fi
14838 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14839 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14840 cat >>confdefs.h <<_ACEOF
14841 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14842 _ACEOF
14843
14844
14845 echo "$as_me:$LINENO: checking for int" >&5
14846 echo $ECHO_N "checking for int... $ECHO_C" >&6
14847 if test "${ac_cv_type_int+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14850 cat >conftest.$ac_ext <<_ACEOF
14851 #line $LINENO "configure"
14852 /* confdefs.h. */
14853 _ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857 $ac_includes_default
14858 int
14859 main ()
14860 {
14861 if ((int *) 0)
14862 return 0;
14863 if (sizeof (int))
14864 return 0;
14865 ;
14866 return 0;
14867 }
14868 _ACEOF
14869 rm -f conftest.$ac_objext
14870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14871 (eval $ac_compile) 2>&5
14872 ac_status=$?
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } &&
14875 { ac_try='test -s conftest.$ac_objext'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; }; then
14881 ac_cv_type_int=yes
14882 else
14883 echo "$as_me: failed program was:" >&5
14884 sed 's/^/| /' conftest.$ac_ext >&5
14885
14886 ac_cv_type_int=no
14887 fi
14888 rm -f conftest.$ac_objext conftest.$ac_ext
14889 fi
14890 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14891 echo "${ECHO_T}$ac_cv_type_int" >&6
14892
14893 echo "$as_me:$LINENO: checking size of int" >&5
14894 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14895 if test "${ac_cv_sizeof_int+set}" = set; then
14896 echo $ECHO_N "(cached) $ECHO_C" >&6
14897 else
14898 if test "$ac_cv_type_int" = yes; then
14899 # The cast to unsigned long works around a bug in the HP C Compiler
14900 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14901 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14902 # This bug is HP SR number 8606223364.
14903 if test "$cross_compiling" = yes; then
14904 # Depending upon the size, compute the lo and hi bounds.
14905 cat >conftest.$ac_ext <<_ACEOF
14906 #line $LINENO "configure"
14907 /* confdefs.h. */
14908 _ACEOF
14909 cat confdefs.h >>conftest.$ac_ext
14910 cat >>conftest.$ac_ext <<_ACEOF
14911 /* end confdefs.h. */
14912 $ac_includes_default
14913 int
14914 main ()
14915 {
14916 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14917 test_array [0] = 0
14918
14919 ;
14920 return 0;
14921 }
14922 _ACEOF
14923 rm -f conftest.$ac_objext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14925 (eval $ac_compile) 2>&5
14926 ac_status=$?
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); } &&
14929 { ac_try='test -s conftest.$ac_objext'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14932 ac_status=$?
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; }; then
14935 ac_lo=0 ac_mid=0
14936 while :; do
14937 cat >conftest.$ac_ext <<_ACEOF
14938 #line $LINENO "configure"
14939 /* confdefs.h. */
14940 _ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 $ac_includes_default
14945 int
14946 main ()
14947 {
14948 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14949 test_array [0] = 0
14950
14951 ;
14952 return 0;
14953 }
14954 _ACEOF
14955 rm -f conftest.$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_hi=$ac_mid; break
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 ac_lo=`expr $ac_mid + 1`
14973 if test $ac_lo -le $ac_mid; then
14974 ac_lo= ac_hi=
14975 break
14976 fi
14977 ac_mid=`expr 2 '*' $ac_mid + 1`
14978 fi
14979 rm -f conftest.$ac_objext conftest.$ac_ext
14980 done
14981 else
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14984
14985 cat >conftest.$ac_ext <<_ACEOF
14986 #line $LINENO "configure"
14987 /* confdefs.h. */
14988 _ACEOF
14989 cat confdefs.h >>conftest.$ac_ext
14990 cat >>conftest.$ac_ext <<_ACEOF
14991 /* end confdefs.h. */
14992 $ac_includes_default
14993 int
14994 main ()
14995 {
14996 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14997 test_array [0] = 0
14998
14999 ;
15000 return 0;
15001 }
15002 _ACEOF
15003 rm -f conftest.$ac_objext
15004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15005 (eval $ac_compile) 2>&5
15006 ac_status=$?
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try='test -s conftest.$ac_objext'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15012 ac_status=$?
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; }; then
15015 ac_hi=-1 ac_mid=-1
15016 while :; do
15017 cat >conftest.$ac_ext <<_ACEOF
15018 #line $LINENO "configure"
15019 /* confdefs.h. */
15020 _ACEOF
15021 cat confdefs.h >>conftest.$ac_ext
15022 cat >>conftest.$ac_ext <<_ACEOF
15023 /* end confdefs.h. */
15024 $ac_includes_default
15025 int
15026 main ()
15027 {
15028 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15029 test_array [0] = 0
15030
15031 ;
15032 return 0;
15033 }
15034 _ACEOF
15035 rm -f conftest.$ac_objext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15037 (eval $ac_compile) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); } &&
15041 { ac_try='test -s conftest.$ac_objext'
15042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15043 (eval $ac_try) 2>&5
15044 ac_status=$?
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); }; }; then
15047 ac_lo=$ac_mid; break
15048 else
15049 echo "$as_me: failed program was:" >&5
15050 sed 's/^/| /' conftest.$ac_ext >&5
15051
15052 ac_hi=`expr '(' $ac_mid ')' - 1`
15053 if test $ac_mid -le $ac_hi; then
15054 ac_lo= ac_hi=
15055 break
15056 fi
15057 ac_mid=`expr 2 '*' $ac_mid`
15058 fi
15059 rm -f conftest.$ac_objext conftest.$ac_ext
15060 done
15061 else
15062 echo "$as_me: failed program was:" >&5
15063 sed 's/^/| /' conftest.$ac_ext >&5
15064
15065 ac_lo= ac_hi=
15066 fi
15067 rm -f conftest.$ac_objext conftest.$ac_ext
15068 fi
15069 rm -f conftest.$ac_objext conftest.$ac_ext
15070 # Binary search between lo and hi bounds.
15071 while test "x$ac_lo" != "x$ac_hi"; do
15072 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15073 cat >conftest.$ac_ext <<_ACEOF
15074 #line $LINENO "configure"
15075 /* confdefs.h. */
15076 _ACEOF
15077 cat confdefs.h >>conftest.$ac_ext
15078 cat >>conftest.$ac_ext <<_ACEOF
15079 /* end confdefs.h. */
15080 $ac_includes_default
15081 int
15082 main ()
15083 {
15084 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15085 test_array [0] = 0
15086
15087 ;
15088 return 0;
15089 }
15090 _ACEOF
15091 rm -f conftest.$ac_objext
15092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15093 (eval $ac_compile) 2>&5
15094 ac_status=$?
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } &&
15097 { ac_try='test -s conftest.$ac_objext'
15098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15099 (eval $ac_try) 2>&5
15100 ac_status=$?
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); }; }; then
15103 ac_hi=$ac_mid
15104 else
15105 echo "$as_me: failed program was:" >&5
15106 sed 's/^/| /' conftest.$ac_ext >&5
15107
15108 ac_lo=`expr '(' $ac_mid ')' + 1`
15109 fi
15110 rm -f conftest.$ac_objext conftest.$ac_ext
15111 done
15112 case $ac_lo in
15113 ?*) ac_cv_sizeof_int=$ac_lo;;
15114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15115 See \`config.log' for more details." >&5
15116 echo "$as_me: error: cannot compute sizeof (int), 77
15117 See \`config.log' for more details." >&2;}
15118 { (exit 1); exit 1; }; } ;;
15119 esac
15120 else
15121 if test "$cross_compiling" = yes; then
15122 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15123 See \`config.log' for more details." >&5
15124 echo "$as_me: error: cannot run test program while cross compiling
15125 See \`config.log' for more details." >&2;}
15126 { (exit 1); exit 1; }; }
15127 else
15128 cat >conftest.$ac_ext <<_ACEOF
15129 #line $LINENO "configure"
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 long longval () { return (long) (sizeof (int)); }
15137 unsigned long ulongval () { return (long) (sizeof (int)); }
15138 #include <stdio.h>
15139 #include <stdlib.h>
15140 int
15141 main ()
15142 {
15143
15144 FILE *f = fopen ("conftest.val", "w");
15145 if (! f)
15146 exit (1);
15147 if (((long) (sizeof (int))) < 0)
15148 {
15149 long i = longval ();
15150 if (i != ((long) (sizeof (int))))
15151 exit (1);
15152 fprintf (f, "%ld\n", i);
15153 }
15154 else
15155 {
15156 unsigned long i = ulongval ();
15157 if (i != ((long) (sizeof (int))))
15158 exit (1);
15159 fprintf (f, "%lu\n", i);
15160 }
15161 exit (ferror (f) || fclose (f) != 0);
15162
15163 ;
15164 return 0;
15165 }
15166 _ACEOF
15167 rm -f conftest$ac_exeext
15168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15169 (eval $ac_link) 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15174 (eval $ac_try) 2>&5
15175 ac_status=$?
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; }; then
15178 ac_cv_sizeof_int=`cat conftest.val`
15179 else
15180 echo "$as_me: program exited with status $ac_status" >&5
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.$ac_ext >&5
15183
15184 ( exit $ac_status )
15185 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15186 See \`config.log' for more details." >&5
15187 echo "$as_me: error: cannot compute sizeof (int), 77
15188 See \`config.log' for more details." >&2;}
15189 { (exit 1); exit 1; }; }
15190 fi
15191 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15192 fi
15193 fi
15194 rm -f conftest.val
15195 else
15196 ac_cv_sizeof_int=0
15197 fi
15198 fi
15199 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15200 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15201 cat >>confdefs.h <<_ACEOF
15202 #define SIZEOF_INT $ac_cv_sizeof_int
15203 _ACEOF
15204
15205
15206 echo "$as_me:$LINENO: checking for long" >&5
15207 echo $ECHO_N "checking for long... $ECHO_C" >&6
15208 if test "${ac_cv_type_long+set}" = set; then
15209 echo $ECHO_N "(cached) $ECHO_C" >&6
15210 else
15211 cat >conftest.$ac_ext <<_ACEOF
15212 #line $LINENO "configure"
15213 /* confdefs.h. */
15214 _ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15218 $ac_includes_default
15219 int
15220 main ()
15221 {
15222 if ((long *) 0)
15223 return 0;
15224 if (sizeof (long))
15225 return 0;
15226 ;
15227 return 0;
15228 }
15229 _ACEOF
15230 rm -f conftest.$ac_objext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15232 (eval $ac_compile) 2>&5
15233 ac_status=$?
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); } &&
15236 { ac_try='test -s conftest.$ac_objext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15239 ac_status=$?
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15242 ac_cv_type_long=yes
15243 else
15244 echo "$as_me: failed program was:" >&5
15245 sed 's/^/| /' conftest.$ac_ext >&5
15246
15247 ac_cv_type_long=no
15248 fi
15249 rm -f conftest.$ac_objext conftest.$ac_ext
15250 fi
15251 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15252 echo "${ECHO_T}$ac_cv_type_long" >&6
15253
15254 echo "$as_me:$LINENO: checking size of long" >&5
15255 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15256 if test "${ac_cv_sizeof_long+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259 if test "$ac_cv_type_long" = yes; then
15260 # The cast to unsigned long works around a bug in the HP C Compiler
15261 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15262 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15263 # This bug is HP SR number 8606223364.
15264 if test "$cross_compiling" = yes; then
15265 # Depending upon the size, compute the lo and hi bounds.
15266 cat >conftest.$ac_ext <<_ACEOF
15267 #line $LINENO "configure"
15268 /* confdefs.h. */
15269 _ACEOF
15270 cat confdefs.h >>conftest.$ac_ext
15271 cat >>conftest.$ac_ext <<_ACEOF
15272 /* end confdefs.h. */
15273 $ac_includes_default
15274 int
15275 main ()
15276 {
15277 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15278 test_array [0] = 0
15279
15280 ;
15281 return 0;
15282 }
15283 _ACEOF
15284 rm -f conftest.$ac_objext
15285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15286 (eval $ac_compile) 2>&5
15287 ac_status=$?
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); } &&
15290 { ac_try='test -s conftest.$ac_objext'
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15293 ac_status=$?
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; }; then
15296 ac_lo=0 ac_mid=0
15297 while :; do
15298 cat >conftest.$ac_ext <<_ACEOF
15299 #line $LINENO "configure"
15300 /* confdefs.h. */
15301 _ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 $ac_includes_default
15306 int
15307 main ()
15308 {
15309 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15310 test_array [0] = 0
15311
15312 ;
15313 return 0;
15314 }
15315 _ACEOF
15316 rm -f conftest.$ac_objext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15318 (eval $ac_compile) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_hi=$ac_mid; break
15329 else
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.$ac_ext >&5
15332
15333 ac_lo=`expr $ac_mid + 1`
15334 if test $ac_lo -le $ac_mid; then
15335 ac_lo= ac_hi=
15336 break
15337 fi
15338 ac_mid=`expr 2 '*' $ac_mid + 1`
15339 fi
15340 rm -f conftest.$ac_objext conftest.$ac_ext
15341 done
15342 else
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15345
15346 cat >conftest.$ac_ext <<_ACEOF
15347 #line $LINENO "configure"
15348 /* confdefs.h. */
15349 _ACEOF
15350 cat confdefs.h >>conftest.$ac_ext
15351 cat >>conftest.$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15353 $ac_includes_default
15354 int
15355 main ()
15356 {
15357 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15358 test_array [0] = 0
15359
15360 ;
15361 return 0;
15362 }
15363 _ACEOF
15364 rm -f conftest.$ac_objext
15365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15366 (eval $ac_compile) 2>&5
15367 ac_status=$?
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } &&
15370 { ac_try='test -s conftest.$ac_objext'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15373 ac_status=$?
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15376 ac_hi=-1 ac_mid=-1
15377 while :; do
15378 cat >conftest.$ac_ext <<_ACEOF
15379 #line $LINENO "configure"
15380 /* confdefs.h. */
15381 _ACEOF
15382 cat confdefs.h >>conftest.$ac_ext
15383 cat >>conftest.$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15385 $ac_includes_default
15386 int
15387 main ()
15388 {
15389 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15390 test_array [0] = 0
15391
15392 ;
15393 return 0;
15394 }
15395 _ACEOF
15396 rm -f conftest.$ac_objext
15397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15398 (eval $ac_compile) 2>&5
15399 ac_status=$?
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } &&
15402 { ac_try='test -s conftest.$ac_objext'
15403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15404 (eval $ac_try) 2>&5
15405 ac_status=$?
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); }; }; then
15408 ac_lo=$ac_mid; break
15409 else
15410 echo "$as_me: failed program was:" >&5
15411 sed 's/^/| /' conftest.$ac_ext >&5
15412
15413 ac_hi=`expr '(' $ac_mid ')' - 1`
15414 if test $ac_mid -le $ac_hi; then
15415 ac_lo= ac_hi=
15416 break
15417 fi
15418 ac_mid=`expr 2 '*' $ac_mid`
15419 fi
15420 rm -f conftest.$ac_objext conftest.$ac_ext
15421 done
15422 else
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.$ac_ext >&5
15425
15426 ac_lo= ac_hi=
15427 fi
15428 rm -f conftest.$ac_objext conftest.$ac_ext
15429 fi
15430 rm -f conftest.$ac_objext conftest.$ac_ext
15431 # Binary search between lo and hi bounds.
15432 while test "x$ac_lo" != "x$ac_hi"; do
15433 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15434 cat >conftest.$ac_ext <<_ACEOF
15435 #line $LINENO "configure"
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15442 int
15443 main ()
15444 {
15445 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15446 test_array [0] = 0
15447
15448 ;
15449 return 0;
15450 }
15451 _ACEOF
15452 rm -f conftest.$ac_objext
15453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15454 (eval $ac_compile) 2>&5
15455 ac_status=$?
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); } &&
15458 { ac_try='test -s conftest.$ac_objext'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15461 ac_status=$?
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; }; then
15464 ac_hi=$ac_mid
15465 else
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.$ac_ext >&5
15468
15469 ac_lo=`expr '(' $ac_mid ')' + 1`
15470 fi
15471 rm -f conftest.$ac_objext conftest.$ac_ext
15472 done
15473 case $ac_lo in
15474 ?*) ac_cv_sizeof_long=$ac_lo;;
15475 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15476 See \`config.log' for more details." >&5
15477 echo "$as_me: error: cannot compute sizeof (long), 77
15478 See \`config.log' for more details." >&2;}
15479 { (exit 1); exit 1; }; } ;;
15480 esac
15481 else
15482 if test "$cross_compiling" = yes; then
15483 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15484 See \`config.log' for more details." >&5
15485 echo "$as_me: error: cannot run test program while cross compiling
15486 See \`config.log' for more details." >&2;}
15487 { (exit 1); exit 1; }; }
15488 else
15489 cat >conftest.$ac_ext <<_ACEOF
15490 #line $LINENO "configure"
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 $ac_includes_default
15497 long longval () { return (long) (sizeof (long)); }
15498 unsigned long ulongval () { return (long) (sizeof (long)); }
15499 #include <stdio.h>
15500 #include <stdlib.h>
15501 int
15502 main ()
15503 {
15504
15505 FILE *f = fopen ("conftest.val", "w");
15506 if (! f)
15507 exit (1);
15508 if (((long) (sizeof (long))) < 0)
15509 {
15510 long i = longval ();
15511 if (i != ((long) (sizeof (long))))
15512 exit (1);
15513 fprintf (f, "%ld\n", i);
15514 }
15515 else
15516 {
15517 unsigned long i = ulongval ();
15518 if (i != ((long) (sizeof (long))))
15519 exit (1);
15520 fprintf (f, "%lu\n", i);
15521 }
15522 exit (ferror (f) || fclose (f) != 0);
15523
15524 ;
15525 return 0;
15526 }
15527 _ACEOF
15528 rm -f conftest$ac_exeext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15530 (eval $ac_link) 2>&5
15531 ac_status=$?
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15535 (eval $ac_try) 2>&5
15536 ac_status=$?
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); }; }; then
15539 ac_cv_sizeof_long=`cat conftest.val`
15540 else
15541 echo "$as_me: program exited with status $ac_status" >&5
15542 echo "$as_me: failed program was:" >&5
15543 sed 's/^/| /' conftest.$ac_ext >&5
15544
15545 ( exit $ac_status )
15546 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15547 See \`config.log' for more details." >&5
15548 echo "$as_me: error: cannot compute sizeof (long), 77
15549 See \`config.log' for more details." >&2;}
15550 { (exit 1); exit 1; }; }
15551 fi
15552 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15553 fi
15554 fi
15555 rm -f conftest.val
15556 else
15557 ac_cv_sizeof_long=0
15558 fi
15559 fi
15560 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15561 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15562 cat >>confdefs.h <<_ACEOF
15563 #define SIZEOF_LONG $ac_cv_sizeof_long
15564 _ACEOF
15565
15566
15567
15568 case "${host}" in
15569 arm-*-linux* )
15570 echo "$as_me:$LINENO: checking for long long" >&5
15571 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15572 if test "${ac_cv_type_long_long+set}" = set; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 else
15575 cat >conftest.$ac_ext <<_ACEOF
15576 #line $LINENO "configure"
15577 /* confdefs.h. */
15578 _ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15582 $ac_includes_default
15583 int
15584 main ()
15585 {
15586 if ((long long *) 0)
15587 return 0;
15588 if (sizeof (long long))
15589 return 0;
15590 ;
15591 return 0;
15592 }
15593 _ACEOF
15594 rm -f conftest.$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>&5
15597 ac_status=$?
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); } &&
15600 { ac_try='test -s conftest.$ac_objext'
15601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15602 (eval $ac_try) 2>&5
15603 ac_status=$?
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); }; }; then
15606 ac_cv_type_long_long=yes
15607 else
15608 echo "$as_me: failed program was:" >&5
15609 sed 's/^/| /' conftest.$ac_ext >&5
15610
15611 ac_cv_type_long_long=no
15612 fi
15613 rm -f conftest.$ac_objext conftest.$ac_ext
15614 fi
15615 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15616 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15617
15618 echo "$as_me:$LINENO: checking size of long long" >&5
15619 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15620 if test "${ac_cv_sizeof_long_long+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 else
15623 if test "$ac_cv_type_long_long" = yes; then
15624 # The cast to unsigned long works around a bug in the HP C Compiler
15625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15627 # This bug is HP SR number 8606223364.
15628 if test "$cross_compiling" = yes; then
15629 # Depending upon the size, compute the lo and hi bounds.
15630 cat >conftest.$ac_ext <<_ACEOF
15631 #line $LINENO "configure"
15632 /* confdefs.h. */
15633 _ACEOF
15634 cat confdefs.h >>conftest.$ac_ext
15635 cat >>conftest.$ac_ext <<_ACEOF
15636 /* end confdefs.h. */
15637 $ac_includes_default
15638 int
15639 main ()
15640 {
15641 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15642 test_array [0] = 0
15643
15644 ;
15645 return 0;
15646 }
15647 _ACEOF
15648 rm -f conftest.$ac_objext
15649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15650 (eval $ac_compile) 2>&5
15651 ac_status=$?
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } &&
15654 { ac_try='test -s conftest.$ac_objext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15657 ac_status=$?
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15660 ac_lo=0 ac_mid=0
15661 while :; do
15662 cat >conftest.$ac_ext <<_ACEOF
15663 #line $LINENO "configure"
15664 /* confdefs.h. */
15665 _ACEOF
15666 cat confdefs.h >>conftest.$ac_ext
15667 cat >>conftest.$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 $ac_includes_default
15670 int
15671 main ()
15672 {
15673 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15674 test_array [0] = 0
15675
15676 ;
15677 return 0;
15678 }
15679 _ACEOF
15680 rm -f conftest.$ac_objext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try='test -s conftest.$ac_objext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 ac_hi=$ac_mid; break
15693 else
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15696
15697 ac_lo=`expr $ac_mid + 1`
15698 if test $ac_lo -le $ac_mid; then
15699 ac_lo= ac_hi=
15700 break
15701 fi
15702 ac_mid=`expr 2 '*' $ac_mid + 1`
15703 fi
15704 rm -f conftest.$ac_objext conftest.$ac_ext
15705 done
15706 else
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15709
15710 cat >conftest.$ac_ext <<_ACEOF
15711 #line $LINENO "configure"
15712 /* confdefs.h. */
15713 _ACEOF
15714 cat confdefs.h >>conftest.$ac_ext
15715 cat >>conftest.$ac_ext <<_ACEOF
15716 /* end confdefs.h. */
15717 $ac_includes_default
15718 int
15719 main ()
15720 {
15721 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15722 test_array [0] = 0
15723
15724 ;
15725 return 0;
15726 }
15727 _ACEOF
15728 rm -f conftest.$ac_objext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15730 (eval $ac_compile) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } &&
15734 { ac_try='test -s conftest.$ac_objext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15737 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then
15740 ac_hi=-1 ac_mid=-1
15741 while :; do
15742 cat >conftest.$ac_ext <<_ACEOF
15743 #line $LINENO "configure"
15744 /* confdefs.h. */
15745 _ACEOF
15746 cat confdefs.h >>conftest.$ac_ext
15747 cat >>conftest.$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15749 $ac_includes_default
15750 int
15751 main ()
15752 {
15753 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15754 test_array [0] = 0
15755
15756 ;
15757 return 0;
15758 }
15759 _ACEOF
15760 rm -f conftest.$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>&5
15763 ac_status=$?
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try='test -s conftest.$ac_objext'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15769 ac_status=$?
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; }; then
15772 ac_lo=$ac_mid; break
15773 else
15774 echo "$as_me: failed program was:" >&5
15775 sed 's/^/| /' conftest.$ac_ext >&5
15776
15777 ac_hi=`expr '(' $ac_mid ')' - 1`
15778 if test $ac_mid -le $ac_hi; then
15779 ac_lo= ac_hi=
15780 break
15781 fi
15782 ac_mid=`expr 2 '*' $ac_mid`
15783 fi
15784 rm -f conftest.$ac_objext conftest.$ac_ext
15785 done
15786 else
15787 echo "$as_me: failed program was:" >&5
15788 sed 's/^/| /' conftest.$ac_ext >&5
15789
15790 ac_lo= ac_hi=
15791 fi
15792 rm -f conftest.$ac_objext conftest.$ac_ext
15793 fi
15794 rm -f conftest.$ac_objext conftest.$ac_ext
15795 # Binary search between lo and hi bounds.
15796 while test "x$ac_lo" != "x$ac_hi"; do
15797 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15798 cat >conftest.$ac_ext <<_ACEOF
15799 #line $LINENO "configure"
15800 /* confdefs.h. */
15801 _ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805 $ac_includes_default
15806 int
15807 main ()
15808 {
15809 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15810 test_array [0] = 0
15811
15812 ;
15813 return 0;
15814 }
15815 _ACEOF
15816 rm -f conftest.$ac_objext
15817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15818 (eval $ac_compile) 2>&5
15819 ac_status=$?
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); } &&
15822 { ac_try='test -s conftest.$ac_objext'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15825 ac_status=$?
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; }; then
15828 ac_hi=$ac_mid
15829 else
15830 echo "$as_me: failed program was:" >&5
15831 sed 's/^/| /' conftest.$ac_ext >&5
15832
15833 ac_lo=`expr '(' $ac_mid ')' + 1`
15834 fi
15835 rm -f conftest.$ac_objext conftest.$ac_ext
15836 done
15837 case $ac_lo in
15838 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15839 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15840 See \`config.log' for more details." >&5
15841 echo "$as_me: error: cannot compute sizeof (long long), 77
15842 See \`config.log' for more details." >&2;}
15843 { (exit 1); exit 1; }; } ;;
15844 esac
15845 else
15846 if test "$cross_compiling" = yes; then
15847 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15848 See \`config.log' for more details." >&5
15849 echo "$as_me: error: cannot run test program while cross compiling
15850 See \`config.log' for more details." >&2;}
15851 { (exit 1); exit 1; }; }
15852 else
15853 cat >conftest.$ac_ext <<_ACEOF
15854 #line $LINENO "configure"
15855 /* confdefs.h. */
15856 _ACEOF
15857 cat confdefs.h >>conftest.$ac_ext
15858 cat >>conftest.$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15860 $ac_includes_default
15861 long longval () { return (long) (sizeof (long long)); }
15862 unsigned long ulongval () { return (long) (sizeof (long long)); }
15863 #include <stdio.h>
15864 #include <stdlib.h>
15865 int
15866 main ()
15867 {
15868
15869 FILE *f = fopen ("conftest.val", "w");
15870 if (! f)
15871 exit (1);
15872 if (((long) (sizeof (long long))) < 0)
15873 {
15874 long i = longval ();
15875 if (i != ((long) (sizeof (long long))))
15876 exit (1);
15877 fprintf (f, "%ld\n", i);
15878 }
15879 else
15880 {
15881 unsigned long i = ulongval ();
15882 if (i != ((long) (sizeof (long long))))
15883 exit (1);
15884 fprintf (f, "%lu\n", i);
15885 }
15886 exit (ferror (f) || fclose (f) != 0);
15887
15888 ;
15889 return 0;
15890 }
15891 _ACEOF
15892 rm -f conftest$ac_exeext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15894 (eval $ac_link) 2>&5
15895 ac_status=$?
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; }; then
15903 ac_cv_sizeof_long_long=`cat conftest.val`
15904 else
15905 echo "$as_me: program exited with status $ac_status" >&5
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15908
15909 ( exit $ac_status )
15910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15911 See \`config.log' for more details." >&5
15912 echo "$as_me: error: cannot compute sizeof (long long), 77
15913 See \`config.log' for more details." >&2;}
15914 { (exit 1); exit 1; }; }
15915 fi
15916 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15917 fi
15918 fi
15919 rm -f conftest.val
15920 else
15921 ac_cv_sizeof_long_long=0
15922 fi
15923 fi
15924 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15925 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15926 cat >>confdefs.h <<_ACEOF
15927 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15928 _ACEOF
15929
15930
15931 ;;
15932 *-hp-hpux* )
15933 echo "$as_me:$LINENO: checking for long long" >&5
15934 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15935 if test "${ac_cv_type_long_long+set}" = set; then
15936 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 else
15938 cat >conftest.$ac_ext <<_ACEOF
15939 #line $LINENO "configure"
15940 /* confdefs.h. */
15941 _ACEOF
15942 cat confdefs.h >>conftest.$ac_ext
15943 cat >>conftest.$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15945 $ac_includes_default
15946 int
15947 main ()
15948 {
15949 if ((long long *) 0)
15950 return 0;
15951 if (sizeof (long long))
15952 return 0;
15953 ;
15954 return 0;
15955 }
15956 _ACEOF
15957 rm -f conftest.$ac_objext
15958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15959 (eval $ac_compile) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } &&
15963 { ac_try='test -s conftest.$ac_objext'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 ac_cv_type_long_long=yes
15970 else
15971 echo "$as_me: failed program was:" >&5
15972 sed 's/^/| /' conftest.$ac_ext >&5
15973
15974 ac_cv_type_long_long=no
15975 fi
15976 rm -f conftest.$ac_objext conftest.$ac_ext
15977 fi
15978 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15979 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15980
15981 echo "$as_me:$LINENO: checking size of long long" >&5
15982 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15983 if test "${ac_cv_sizeof_long_long+set}" = set; then
15984 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 else
15986 if test "$ac_cv_type_long_long" = yes; then
15987 # The cast to unsigned long works around a bug in the HP C Compiler
15988 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15989 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15990 # This bug is HP SR number 8606223364.
15991 if test "$cross_compiling" = yes; then
15992 # Depending upon the size, compute the lo and hi bounds.
15993 cat >conftest.$ac_ext <<_ACEOF
15994 #line $LINENO "configure"
15995 /* confdefs.h. */
15996 _ACEOF
15997 cat confdefs.h >>conftest.$ac_ext
15998 cat >>conftest.$ac_ext <<_ACEOF
15999 /* end confdefs.h. */
16000 $ac_includes_default
16001 int
16002 main ()
16003 {
16004 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16005 test_array [0] = 0
16006
16007 ;
16008 return 0;
16009 }
16010 _ACEOF
16011 rm -f conftest.$ac_objext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16013 (eval $ac_compile) 2>&5
16014 ac_status=$?
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); } &&
16017 { ac_try='test -s conftest.$ac_objext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 ac_lo=0 ac_mid=0
16024 while :; do
16025 cat >conftest.$ac_ext <<_ACEOF
16026 #line $LINENO "configure"
16027 /* confdefs.h. */
16028 _ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 $ac_includes_default
16033 int
16034 main ()
16035 {
16036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16037 test_array [0] = 0
16038
16039 ;
16040 return 0;
16041 }
16042 _ACEOF
16043 rm -f conftest.$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16045 (eval $ac_compile) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try='test -s conftest.$ac_objext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16055 ac_hi=$ac_mid; break
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16059
16060 ac_lo=`expr $ac_mid + 1`
16061 if test $ac_lo -le $ac_mid; then
16062 ac_lo= ac_hi=
16063 break
16064 fi
16065 ac_mid=`expr 2 '*' $ac_mid + 1`
16066 fi
16067 rm -f conftest.$ac_objext conftest.$ac_ext
16068 done
16069 else
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16072
16073 cat >conftest.$ac_ext <<_ACEOF
16074 #line $LINENO "configure"
16075 /* confdefs.h. */
16076 _ACEOF
16077 cat confdefs.h >>conftest.$ac_ext
16078 cat >>conftest.$ac_ext <<_ACEOF
16079 /* end confdefs.h. */
16080 $ac_includes_default
16081 int
16082 main ()
16083 {
16084 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16085 test_array [0] = 0
16086
16087 ;
16088 return 0;
16089 }
16090 _ACEOF
16091 rm -f conftest.$ac_objext
16092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16093 (eval $ac_compile) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); } &&
16097 { ac_try='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16100 ac_status=$?
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_hi=-1 ac_mid=-1
16104 while :; do
16105 cat >conftest.$ac_ext <<_ACEOF
16106 #line $LINENO "configure"
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 $ac_includes_default
16113 int
16114 main ()
16115 {
16116 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16117 test_array [0] = 0
16118
16119 ;
16120 return 0;
16121 }
16122 _ACEOF
16123 rm -f conftest.$ac_objext
16124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16125 (eval $ac_compile) 2>&5
16126 ac_status=$?
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); } &&
16129 { ac_try='test -s conftest.$ac_objext'
16130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16131 (eval $ac_try) 2>&5
16132 ac_status=$?
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); }; }; then
16135 ac_lo=$ac_mid; break
16136 else
16137 echo "$as_me: failed program was:" >&5
16138 sed 's/^/| /' conftest.$ac_ext >&5
16139
16140 ac_hi=`expr '(' $ac_mid ')' - 1`
16141 if test $ac_mid -le $ac_hi; then
16142 ac_lo= ac_hi=
16143 break
16144 fi
16145 ac_mid=`expr 2 '*' $ac_mid`
16146 fi
16147 rm -f conftest.$ac_objext conftest.$ac_ext
16148 done
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 ac_lo= ac_hi=
16154 fi
16155 rm -f conftest.$ac_objext conftest.$ac_ext
16156 fi
16157 rm -f conftest.$ac_objext conftest.$ac_ext
16158 # Binary search between lo and hi bounds.
16159 while test "x$ac_lo" != "x$ac_hi"; do
16160 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16161 cat >conftest.$ac_ext <<_ACEOF
16162 #line $LINENO "configure"
16163 /* confdefs.h. */
16164 _ACEOF
16165 cat confdefs.h >>conftest.$ac_ext
16166 cat >>conftest.$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 $ac_includes_default
16169 int
16170 main ()
16171 {
16172 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16173 test_array [0] = 0
16174
16175 ;
16176 return 0;
16177 }
16178 _ACEOF
16179 rm -f conftest.$ac_objext
16180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16181 (eval $ac_compile) 2>&5
16182 ac_status=$?
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); } &&
16185 { ac_try='test -s conftest.$ac_objext'
16186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187 (eval $ac_try) 2>&5
16188 ac_status=$?
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); }; }; then
16191 ac_hi=$ac_mid
16192 else
16193 echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.$ac_ext >&5
16195
16196 ac_lo=`expr '(' $ac_mid ')' + 1`
16197 fi
16198 rm -f conftest.$ac_objext conftest.$ac_ext
16199 done
16200 case $ac_lo in
16201 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16202 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16203 See \`config.log' for more details." >&5
16204 echo "$as_me: error: cannot compute sizeof (long long), 77
16205 See \`config.log' for more details." >&2;}
16206 { (exit 1); exit 1; }; } ;;
16207 esac
16208 else
16209 if test "$cross_compiling" = yes; then
16210 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16211 See \`config.log' for more details." >&5
16212 echo "$as_me: error: cannot run test program while cross compiling
16213 See \`config.log' for more details." >&2;}
16214 { (exit 1); exit 1; }; }
16215 else
16216 cat >conftest.$ac_ext <<_ACEOF
16217 #line $LINENO "configure"
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16224 long longval () { return (long) (sizeof (long long)); }
16225 unsigned long ulongval () { return (long) (sizeof (long long)); }
16226 #include <stdio.h>
16227 #include <stdlib.h>
16228 int
16229 main ()
16230 {
16231
16232 FILE *f = fopen ("conftest.val", "w");
16233 if (! f)
16234 exit (1);
16235 if (((long) (sizeof (long long))) < 0)
16236 {
16237 long i = longval ();
16238 if (i != ((long) (sizeof (long long))))
16239 exit (1);
16240 fprintf (f, "%ld\n", i);
16241 }
16242 else
16243 {
16244 unsigned long i = ulongval ();
16245 if (i != ((long) (sizeof (long long))))
16246 exit (1);
16247 fprintf (f, "%lu\n", i);
16248 }
16249 exit (ferror (f) || fclose (f) != 0);
16250
16251 ;
16252 return 0;
16253 }
16254 _ACEOF
16255 rm -f conftest$ac_exeext
16256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16257 (eval $ac_link) 2>&5
16258 ac_status=$?
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262 (eval $ac_try) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); }; }; then
16266 ac_cv_sizeof_long_long=`cat conftest.val`
16267 else
16268 echo "$as_me: program exited with status $ac_status" >&5
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.$ac_ext >&5
16271
16272 ( exit $ac_status )
16273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16274 See \`config.log' for more details." >&5
16275 echo "$as_me: error: cannot compute sizeof (long long), 77
16276 See \`config.log' for more details." >&2;}
16277 { (exit 1); exit 1; }; }
16278 fi
16279 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16280 fi
16281 fi
16282 rm -f conftest.val
16283 else
16284 ac_cv_sizeof_long_long=0
16285 fi
16286 fi
16287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16288 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16289 cat >>confdefs.h <<_ACEOF
16290 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16291 _ACEOF
16292
16293
16294 if test "$ac_cv_sizeof_long_long" != "0"; then
16295 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16296 fi
16297 ;;
16298 * )
16299 echo "$as_me:$LINENO: checking for long long" >&5
16300 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16301 if test "${ac_cv_type_long_long+set}" = set; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 else
16304 cat >conftest.$ac_ext <<_ACEOF
16305 #line $LINENO "configure"
16306 /* confdefs.h. */
16307 _ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 $ac_includes_default
16312 int
16313 main ()
16314 {
16315 if ((long long *) 0)
16316 return 0;
16317 if (sizeof (long long))
16318 return 0;
16319 ;
16320 return 0;
16321 }
16322 _ACEOF
16323 rm -f conftest.$ac_objext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16325 (eval $ac_compile) 2>&5
16326 ac_status=$?
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } &&
16329 { ac_try='test -s conftest.$ac_objext'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16332 ac_status=$?
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; }; then
16335 ac_cv_type_long_long=yes
16336 else
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16339
16340 ac_cv_type_long_long=no
16341 fi
16342 rm -f conftest.$ac_objext conftest.$ac_ext
16343 fi
16344 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16345 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16346
16347 echo "$as_me:$LINENO: checking size of long long" >&5
16348 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16349 if test "${ac_cv_sizeof_long_long+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 else
16352 if test "$ac_cv_type_long_long" = yes; then
16353 # The cast to unsigned long works around a bug in the HP C Compiler
16354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16356 # This bug is HP SR number 8606223364.
16357 if test "$cross_compiling" = yes; then
16358 # Depending upon the size, compute the lo and hi bounds.
16359 cat >conftest.$ac_ext <<_ACEOF
16360 #line $LINENO "configure"
16361 /* confdefs.h. */
16362 _ACEOF
16363 cat confdefs.h >>conftest.$ac_ext
16364 cat >>conftest.$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16366 $ac_includes_default
16367 int
16368 main ()
16369 {
16370 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16371 test_array [0] = 0
16372
16373 ;
16374 return 0;
16375 }
16376 _ACEOF
16377 rm -f conftest.$ac_objext
16378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16379 (eval $ac_compile) 2>&5
16380 ac_status=$?
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); } &&
16383 { ac_try='test -s conftest.$ac_objext'
16384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16385 (eval $ac_try) 2>&5
16386 ac_status=$?
16387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388 (exit $ac_status); }; }; then
16389 ac_lo=0 ac_mid=0
16390 while :; do
16391 cat >conftest.$ac_ext <<_ACEOF
16392 #line $LINENO "configure"
16393 /* confdefs.h. */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16399 int
16400 main ()
16401 {
16402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16403 test_array [0] = 0
16404
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>&5
16412 ac_status=$?
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try='test -s conftest.$ac_objext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16418 ac_status=$?
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 ac_hi=$ac_mid; break
16422 else
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.$ac_ext >&5
16425
16426 ac_lo=`expr $ac_mid + 1`
16427 if test $ac_lo -le $ac_mid; then
16428 ac_lo= ac_hi=
16429 break
16430 fi
16431 ac_mid=`expr 2 '*' $ac_mid + 1`
16432 fi
16433 rm -f conftest.$ac_objext conftest.$ac_ext
16434 done
16435 else
16436 echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16438
16439 cat >conftest.$ac_ext <<_ACEOF
16440 #line $LINENO "configure"
16441 /* confdefs.h. */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 $ac_includes_default
16447 int
16448 main ()
16449 {
16450 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16451 test_array [0] = 0
16452
16453 ;
16454 return 0;
16455 }
16456 _ACEOF
16457 rm -f conftest.$ac_objext
16458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16459 (eval $ac_compile) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 ac_hi=-1 ac_mid=-1
16470 while :; do
16471 cat >conftest.$ac_ext <<_ACEOF
16472 #line $LINENO "configure"
16473 /* confdefs.h. */
16474 _ACEOF
16475 cat confdefs.h >>conftest.$ac_ext
16476 cat >>conftest.$ac_ext <<_ACEOF
16477 /* end confdefs.h. */
16478 $ac_includes_default
16479 int
16480 main ()
16481 {
16482 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16483 test_array [0] = 0
16484
16485 ;
16486 return 0;
16487 }
16488 _ACEOF
16489 rm -f conftest.$ac_objext
16490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16491 (eval $ac_compile) 2>&5
16492 ac_status=$?
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try='test -s conftest.$ac_objext'
16496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16497 (eval $ac_try) 2>&5
16498 ac_status=$?
16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16500 (exit $ac_status); }; }; then
16501 ac_lo=$ac_mid; break
16502 else
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.$ac_ext >&5
16505
16506 ac_hi=`expr '(' $ac_mid ')' - 1`
16507 if test $ac_mid -le $ac_hi; then
16508 ac_lo= ac_hi=
16509 break
16510 fi
16511 ac_mid=`expr 2 '*' $ac_mid`
16512 fi
16513 rm -f conftest.$ac_objext conftest.$ac_ext
16514 done
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16518
16519 ac_lo= ac_hi=
16520 fi
16521 rm -f conftest.$ac_objext conftest.$ac_ext
16522 fi
16523 rm -f conftest.$ac_objext conftest.$ac_ext
16524 # Binary search between lo and hi bounds.
16525 while test "x$ac_lo" != "x$ac_hi"; do
16526 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16527 cat >conftest.$ac_ext <<_ACEOF
16528 #line $LINENO "configure"
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 $ac_includes_default
16535 int
16536 main ()
16537 {
16538 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16539 test_array [0] = 0
16540
16541 ;
16542 return 0;
16543 }
16544 _ACEOF
16545 rm -f conftest.$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>&5
16548 ac_status=$?
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try='test -s conftest.$ac_objext'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16554 ac_status=$?
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; }; then
16557 ac_hi=$ac_mid
16558 else
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.$ac_ext >&5
16561
16562 ac_lo=`expr '(' $ac_mid ')' + 1`
16563 fi
16564 rm -f conftest.$ac_objext conftest.$ac_ext
16565 done
16566 case $ac_lo in
16567 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16568 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16569 See \`config.log' for more details." >&5
16570 echo "$as_me: error: cannot compute sizeof (long long), 77
16571 See \`config.log' for more details." >&2;}
16572 { (exit 1); exit 1; }; } ;;
16573 esac
16574 else
16575 if test "$cross_compiling" = yes; then
16576 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16577 See \`config.log' for more details." >&5
16578 echo "$as_me: error: cannot run test program while cross compiling
16579 See \`config.log' for more details." >&2;}
16580 { (exit 1); exit 1; }; }
16581 else
16582 cat >conftest.$ac_ext <<_ACEOF
16583 #line $LINENO "configure"
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 $ac_includes_default
16590 long longval () { return (long) (sizeof (long long)); }
16591 unsigned long ulongval () { return (long) (sizeof (long long)); }
16592 #include <stdio.h>
16593 #include <stdlib.h>
16594 int
16595 main ()
16596 {
16597
16598 FILE *f = fopen ("conftest.val", "w");
16599 if (! f)
16600 exit (1);
16601 if (((long) (sizeof (long long))) < 0)
16602 {
16603 long i = longval ();
16604 if (i != ((long) (sizeof (long long))))
16605 exit (1);
16606 fprintf (f, "%ld\n", i);
16607 }
16608 else
16609 {
16610 unsigned long i = ulongval ();
16611 if (i != ((long) (sizeof (long long))))
16612 exit (1);
16613 fprintf (f, "%lu\n", i);
16614 }
16615 exit (ferror (f) || fclose (f) != 0);
16616
16617 ;
16618 return 0;
16619 }
16620 _ACEOF
16621 rm -f conftest$ac_exeext
16622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16623 (eval $ac_link) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628 (eval $ac_try) 2>&5
16629 ac_status=$?
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); }; }; then
16632 ac_cv_sizeof_long_long=`cat conftest.val`
16633 else
16634 echo "$as_me: program exited with status $ac_status" >&5
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16637
16638 ( exit $ac_status )
16639 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16640 See \`config.log' for more details." >&5
16641 echo "$as_me: error: cannot compute sizeof (long long), 77
16642 See \`config.log' for more details." >&2;}
16643 { (exit 1); exit 1; }; }
16644 fi
16645 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16646 fi
16647 fi
16648 rm -f conftest.val
16649 else
16650 ac_cv_sizeof_long_long=0
16651 fi
16652 fi
16653 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16654 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16655 cat >>confdefs.h <<_ACEOF
16656 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16657 _ACEOF
16658
16659
16660 esac
16661
16662 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16663 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16664 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 else
16667
16668 if test "$cross_compiling" = yes; then
16669
16670 case "${host}" in
16671 *-pc-msdosdjgpp )
16672 wx_cv_sizeof_wchar_t=0
16673 ;;
16674 * )
16675 wx_cv_sizeof_wchar_t=4
16676 ;;
16677 esac
16678
16679
16680 else
16681 cat >conftest.$ac_ext <<_ACEOF
16682 #line $LINENO "configure"
16683 /* confdefs.h. */
16684 _ACEOF
16685 cat confdefs.h >>conftest.$ac_ext
16686 cat >>conftest.$ac_ext <<_ACEOF
16687 /* end confdefs.h. */
16688
16689 /* DJGPP only has fake wchar_t: */
16690 #ifdef __DJGPP__
16691 # error "fake wchar_t"
16692 #endif
16693 #ifdef HAVE_WCHAR_H
16694 # ifdef __CYGWIN__
16695 # include <stddef.h>
16696 # endif
16697 # include <wchar.h>
16698 #endif
16699 #ifdef HAVE_STDLIB_H
16700 # include <stdlib.h>
16701 #endif
16702 #include <stdio.h>
16703 int main()
16704 {
16705 FILE *f=fopen("conftestval", "w");
16706 if (!f) exit(1);
16707 fprintf(f, "%i", sizeof(wchar_t));
16708 exit(0);
16709 }
16710
16711 _ACEOF
16712 rm -f conftest$ac_exeext
16713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16714 (eval $ac_link) 2>&5
16715 ac_status=$?
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16720 ac_status=$?
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 wx_cv_sizeof_wchar_t=`cat conftestval`
16724 else
16725 echo "$as_me: program exited with status $ac_status" >&5
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16728
16729 ( exit $ac_status )
16730 wx_cv_sizeof_wchar_t=0
16731 fi
16732 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16733 fi
16734
16735 fi
16736 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16737 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16738
16739 cat >>confdefs.h <<_ACEOF
16740 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16741 _ACEOF
16742
16743
16744 # Check whether --enable-largefile or --disable-largefile was given.
16745 if test "${enable_largefile+set}" = set; then
16746 enableval="$enable_largefile"
16747
16748 fi;
16749 if test "$enable_largefile" != no; then
16750 wx_largefile=no
16751
16752 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16753 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16754 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 else
16757
16758 cat >conftest.$ac_ext <<_ACEOF
16759 #line $LINENO "configure"
16760 /* confdefs.h. */
16761 _ACEOF
16762 cat confdefs.h >>conftest.$ac_ext
16763 cat >>conftest.$ac_ext <<_ACEOF
16764 /* end confdefs.h. */
16765 #define _FILE_OFFSET_BITS 64
16766 #include <sys/types.h>
16767 int
16768 main ()
16769 {
16770 typedef struct {
16771 unsigned int field: sizeof(off_t) == 8;
16772 } wxlf;
16773
16774 ;
16775 return 0;
16776 }
16777 _ACEOF
16778 rm -f conftest.$ac_objext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16780 (eval $ac_compile) 2>&5
16781 ac_status=$?
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try='test -s conftest.$ac_objext'
16785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 (eval $ac_try) 2>&5
16787 ac_status=$?
16788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16789 (exit $ac_status); }; }; then
16790 ac_cv_sys_file_offset_bits=64
16791 else
16792 echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16794
16795 ac_cv_sys_file_offset_bits=no
16796 fi
16797 rm -f conftest.$ac_objext conftest.$ac_ext
16798
16799
16800 fi
16801 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16802 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16803
16804 if test "$ac_cv_sys_file_offset_bits" != no; then
16805 wx_largefile=yes
16806 cat >>confdefs.h <<_ACEOF
16807 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16808 _ACEOF
16809
16810 fi
16811
16812 if test "x$wx_largefile" != "xyes"; then
16813
16814 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16815 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16816 if test "${ac_cv_sys_large_files+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819
16820 cat >conftest.$ac_ext <<_ACEOF
16821 #line $LINENO "configure"
16822 /* confdefs.h. */
16823 _ACEOF
16824 cat confdefs.h >>conftest.$ac_ext
16825 cat >>conftest.$ac_ext <<_ACEOF
16826 /* end confdefs.h. */
16827 #define _LARGE_FILES 1
16828 #include <sys/types.h>
16829 int
16830 main ()
16831 {
16832 typedef struct {
16833 unsigned int field: sizeof(off_t) == 8;
16834 } wxlf;
16835
16836 ;
16837 return 0;
16838 }
16839 _ACEOF
16840 rm -f conftest.$ac_objext
16841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16842 (eval $ac_compile) 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try='test -s conftest.$ac_objext'
16847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16848 (eval $ac_try) 2>&5
16849 ac_status=$?
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }; }; then
16852 ac_cv_sys_large_files=1
16853 else
16854 echo "$as_me: failed program was:" >&5
16855 sed 's/^/| /' conftest.$ac_ext >&5
16856
16857 ac_cv_sys_large_files=no
16858 fi
16859 rm -f conftest.$ac_objext conftest.$ac_ext
16860
16861
16862 fi
16863 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16864 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16865
16866 if test "$ac_cv_sys_large_files" != no; then
16867 wx_largefile=yes
16868 cat >>confdefs.h <<_ACEOF
16869 #define _LARGE_FILES $ac_cv_sys_large_files
16870 _ACEOF
16871
16872 fi
16873
16874 fi
16875
16876 echo "$as_me:$LINENO: checking if large file support is available" >&5
16877 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16878 if test "x$wx_largefile" = "xyes"; then
16879 cat >>confdefs.h <<\_ACEOF
16880 #define HAVE_LARGEFILE_SUPPORT 1
16881 _ACEOF
16882
16883 fi
16884 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16885 echo "${ECHO_T}$wx_largefile" >&6
16886 fi
16887
16888
16889 if test "x$wx_largefile" = "xyes"; then
16890 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16891 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16892 else
16893 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16894 fi
16895 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16896 fi
16897
16898 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16899 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16900 if test "${ac_cv_c_bigendian+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 else
16903 ac_cv_c_bigendian=unknown
16904 # See if sys/param.h defines the BYTE_ORDER macro.
16905 cat >conftest.$ac_ext <<_ACEOF
16906 #line $LINENO "configure"
16907 /* confdefs.h. */
16908 _ACEOF
16909 cat confdefs.h >>conftest.$ac_ext
16910 cat >>conftest.$ac_ext <<_ACEOF
16911 /* end confdefs.h. */
16912 #include <sys/types.h>
16913 #include <sys/param.h>
16914 int
16915 main ()
16916 {
16917
16918 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16919 bogus endian macros
16920 #endif
16921 ;
16922 return 0;
16923 }
16924 _ACEOF
16925 rm -f conftest.$ac_objext
16926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16927 (eval $ac_compile) 2>&5
16928 ac_status=$?
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } &&
16931 { ac_try='test -s conftest.$ac_objext'
16932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933 (eval $ac_try) 2>&5
16934 ac_status=$?
16935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936 (exit $ac_status); }; }; then
16937 # It does; now see whether it defined to BIG_ENDIAN or not.
16938 cat >conftest.$ac_ext <<_ACEOF
16939 #line $LINENO "configure"
16940 /* confdefs.h. */
16941 _ACEOF
16942 cat confdefs.h >>conftest.$ac_ext
16943 cat >>conftest.$ac_ext <<_ACEOF
16944 /* end confdefs.h. */
16945 #include <sys/types.h>
16946 #include <sys/param.h>
16947 int
16948 main ()
16949 {
16950
16951 #if BYTE_ORDER != BIG_ENDIAN
16952 not big endian
16953 #endif
16954 ;
16955 return 0;
16956 }
16957 _ACEOF
16958 rm -f conftest.$ac_objext
16959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16960 (eval $ac_compile) 2>&5
16961 ac_status=$?
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); } &&
16964 { ac_try='test -s conftest.$ac_objext'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; }; then
16970 ac_cv_c_bigendian=yes
16971 else
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.$ac_ext >&5
16974
16975 ac_cv_c_bigendian=no
16976 fi
16977 rm -f conftest.$ac_objext conftest.$ac_ext
16978 else
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16981
16982 fi
16983 rm -f conftest.$ac_objext conftest.$ac_ext
16984 if test $ac_cv_c_bigendian = unknown; then
16985 if test "$cross_compiling" = yes; then
16986 ac_cv_c_bigendian=unknown
16987 else
16988 cat >conftest.$ac_ext <<_ACEOF
16989 #line $LINENO "configure"
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 main () {
16996 /* Are we little or big endian? From Harbison&Steele. */
16997 union
16998 {
16999 long l;
17000 char c[sizeof (long)];
17001 } u;
17002 u.l = 1;
17003 exit (u.c[sizeof (long) - 1] == 1);
17004 }
17005 _ACEOF
17006 rm -f conftest$ac_exeext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17008 (eval $ac_link) 2>&5
17009 ac_status=$?
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013 (eval $ac_try) 2>&5
17014 ac_status=$?
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); }; }; then
17017 ac_cv_c_bigendian=no
17018 else
17019 echo "$as_me: program exited with status $ac_status" >&5
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17022
17023 ( exit $ac_status )
17024 ac_cv_c_bigendian=yes
17025 fi
17026 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17027 fi
17028 fi
17029 fi
17030 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17031 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17032 if test $ac_cv_c_bigendian = unknown; then
17033 { 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
17034 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;}
17035 fi
17036 if test $ac_cv_c_bigendian = yes; then
17037 cat >>confdefs.h <<\_ACEOF
17038 #define WORDS_BIGENDIAN 1
17039 _ACEOF
17040
17041 fi
17042
17043
17044
17045 ac_ext=cc
17046 ac_cpp='$CXXCPP $CPPFLAGS'
17047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17050 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17051 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17052 if test -z "$CXXCPP"; then
17053 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 else
17056 # Double quotes because CXXCPP needs to be expanded
17057 for CXXCPP in "$CXX -E" "/lib/cpp"
17058 do
17059 ac_preproc_ok=false
17060 for ac_cxx_preproc_warn_flag in '' yes
17061 do
17062 # Use a header file that comes with gcc, so configuring glibc
17063 # with a fresh cross-compiler works.
17064 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17065 # <limits.h> exists even on freestanding compilers.
17066 # On the NeXT, cc -E runs the code through the compiler's parser,
17067 # not just through cpp. "Syntax error" is here to catch this case.
17068 cat >conftest.$ac_ext <<_ACEOF
17069 #line $LINENO "configure"
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17075 #ifdef __STDC__
17076 # include <limits.h>
17077 #else
17078 # include <assert.h>
17079 #endif
17080 Syntax error
17081 _ACEOF
17082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17084 ac_status=$?
17085 grep -v '^ *+' conftest.er1 >conftest.err
17086 rm -f conftest.er1
17087 cat conftest.err >&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } >/dev/null; then
17090 if test -s conftest.err; then
17091 ac_cpp_err=$ac_cxx_preproc_warn_flag
17092 else
17093 ac_cpp_err=
17094 fi
17095 else
17096 ac_cpp_err=yes
17097 fi
17098 if test -z "$ac_cpp_err"; then
17099 :
17100 else
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.$ac_ext >&5
17103
17104 # Broken: fails on valid input.
17105 continue
17106 fi
17107 rm -f conftest.err conftest.$ac_ext
17108
17109 # OK, works on sane cases. Now check whether non-existent headers
17110 # can be detected and how.
17111 cat >conftest.$ac_ext <<_ACEOF
17112 #line $LINENO "configure"
17113 /* confdefs.h. */
17114 _ACEOF
17115 cat confdefs.h >>conftest.$ac_ext
17116 cat >>conftest.$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 #include <ac_nonexistent.h>
17119 _ACEOF
17120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17122 ac_status=$?
17123 grep -v '^ *+' conftest.er1 >conftest.err
17124 rm -f conftest.er1
17125 cat conftest.err >&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } >/dev/null; then
17128 if test -s conftest.err; then
17129 ac_cpp_err=$ac_cxx_preproc_warn_flag
17130 else
17131 ac_cpp_err=
17132 fi
17133 else
17134 ac_cpp_err=yes
17135 fi
17136 if test -z "$ac_cpp_err"; then
17137 # Broken: success on invalid input.
17138 continue
17139 else
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.$ac_ext >&5
17142
17143 # Passes both tests.
17144 ac_preproc_ok=:
17145 break
17146 fi
17147 rm -f conftest.err conftest.$ac_ext
17148
17149 done
17150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17151 rm -f conftest.err conftest.$ac_ext
17152 if $ac_preproc_ok; then
17153 break
17154 fi
17155
17156 done
17157 ac_cv_prog_CXXCPP=$CXXCPP
17158
17159 fi
17160 CXXCPP=$ac_cv_prog_CXXCPP
17161 else
17162 ac_cv_prog_CXXCPP=$CXXCPP
17163 fi
17164 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17165 echo "${ECHO_T}$CXXCPP" >&6
17166 ac_preproc_ok=false
17167 for ac_cxx_preproc_warn_flag in '' yes
17168 do
17169 # Use a header file that comes with gcc, so configuring glibc
17170 # with a fresh cross-compiler works.
17171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17172 # <limits.h> exists even on freestanding compilers.
17173 # On the NeXT, cc -E runs the code through the compiler's parser,
17174 # not just through cpp. "Syntax error" is here to catch this case.
17175 cat >conftest.$ac_ext <<_ACEOF
17176 #line $LINENO "configure"
17177 /* confdefs.h. */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182 #ifdef __STDC__
17183 # include <limits.h>
17184 #else
17185 # include <assert.h>
17186 #endif
17187 Syntax error
17188 _ACEOF
17189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17191 ac_status=$?
17192 grep -v '^ *+' conftest.er1 >conftest.err
17193 rm -f conftest.er1
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } >/dev/null; then
17197 if test -s conftest.err; then
17198 ac_cpp_err=$ac_cxx_preproc_warn_flag
17199 else
17200 ac_cpp_err=
17201 fi
17202 else
17203 ac_cpp_err=yes
17204 fi
17205 if test -z "$ac_cpp_err"; then
17206 :
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17210
17211 # Broken: fails on valid input.
17212 continue
17213 fi
17214 rm -f conftest.err conftest.$ac_ext
17215
17216 # OK, works on sane cases. Now check whether non-existent headers
17217 # can be detected and how.
17218 cat >conftest.$ac_ext <<_ACEOF
17219 #line $LINENO "configure"
17220 /* confdefs.h. */
17221 _ACEOF
17222 cat confdefs.h >>conftest.$ac_ext
17223 cat >>conftest.$ac_ext <<_ACEOF
17224 /* end confdefs.h. */
17225 #include <ac_nonexistent.h>
17226 _ACEOF
17227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17229 ac_status=$?
17230 grep -v '^ *+' conftest.er1 >conftest.err
17231 rm -f conftest.er1
17232 cat conftest.err >&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } >/dev/null; then
17235 if test -s conftest.err; then
17236 ac_cpp_err=$ac_cxx_preproc_warn_flag
17237 else
17238 ac_cpp_err=
17239 fi
17240 else
17241 ac_cpp_err=yes
17242 fi
17243 if test -z "$ac_cpp_err"; then
17244 # Broken: success on invalid input.
17245 continue
17246 else
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.$ac_ext >&5
17249
17250 # Passes both tests.
17251 ac_preproc_ok=:
17252 break
17253 fi
17254 rm -f conftest.err conftest.$ac_ext
17255
17256 done
17257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17258 rm -f conftest.err conftest.$ac_ext
17259 if $ac_preproc_ok; then
17260 :
17261 else
17262 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17263 See \`config.log' for more details." >&5
17264 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17265 See \`config.log' for more details." >&2;}
17266 { (exit 1); exit 1; }; }
17267 fi
17268
17269 ac_ext=cc
17270 ac_cpp='$CXXCPP $CPPFLAGS'
17271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17274
17275
17276
17277 if test "$cross_compiling" = "yes"; then
17278 cat >>confdefs.h <<\_ACEOF
17279 #define wxUSE_IOSTREAMH 1
17280 _ACEOF
17281
17282 else
17283
17284
17285 ac_ext=cc
17286 ac_cpp='$CXXCPP $CPPFLAGS'
17287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17290
17291
17292
17293 for ac_header in iostream
17294 do
17295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17297 echo "$as_me:$LINENO: checking for $ac_header" >&5
17298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 fi
17302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17304 else
17305 # Is the header compilable?
17306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17308 cat >conftest.$ac_ext <<_ACEOF
17309 #line $LINENO "configure"
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 $ac_includes_default
17316 #include <$ac_header>
17317 _ACEOF
17318 rm -f conftest.$ac_objext
17319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17320 (eval $ac_compile) 2>&5
17321 ac_status=$?
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } &&
17324 { ac_try='test -s conftest.$ac_objext'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17327 ac_status=$?
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; }; then
17330 ac_header_compiler=yes
17331 else
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17334
17335 ac_header_compiler=no
17336 fi
17337 rm -f conftest.$ac_objext conftest.$ac_ext
17338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17339 echo "${ECHO_T}$ac_header_compiler" >&6
17340
17341 # Is the header present?
17342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17344 cat >conftest.$ac_ext <<_ACEOF
17345 #line $LINENO "configure"
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <$ac_header>
17352 _ACEOF
17353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } >/dev/null; then
17361 if test -s conftest.err; then
17362 ac_cpp_err=$ac_cxx_preproc_warn_flag
17363 else
17364 ac_cpp_err=
17365 fi
17366 else
17367 ac_cpp_err=yes
17368 fi
17369 if test -z "$ac_cpp_err"; then
17370 ac_header_preproc=yes
17371 else
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17374
17375 ac_header_preproc=no
17376 fi
17377 rm -f conftest.err conftest.$ac_ext
17378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17379 echo "${ECHO_T}$ac_header_preproc" >&6
17380
17381 # So? What about this header?
17382 case $ac_header_compiler:$ac_header_preproc in
17383 yes:no )
17384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17388 (
17389 cat <<\_ASBOX
17390 ## ------------------------------------ ##
17391 ## Report this to bug-autoconf@gnu.org. ##
17392 ## ------------------------------------ ##
17393 _ASBOX
17394 ) |
17395 sed "s/^/$as_me: WARNING: /" >&2
17396 ;;
17397 no:yes )
17398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17404 (
17405 cat <<\_ASBOX
17406 ## ------------------------------------ ##
17407 ## Report this to bug-autoconf@gnu.org. ##
17408 ## ------------------------------------ ##
17409 _ASBOX
17410 ) |
17411 sed "s/^/$as_me: WARNING: /" >&2
17412 ;;
17413 esac
17414 echo "$as_me:$LINENO: checking for $ac_header" >&5
17415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17418 else
17419 eval "$as_ac_Header=$ac_header_preproc"
17420 fi
17421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17423
17424 fi
17425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17426 cat >>confdefs.h <<_ACEOF
17427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17428 _ACEOF
17429
17430 fi
17431
17432 done
17433
17434
17435 if test "$ac_cv_header_iostream" = "yes" ; then
17436 :
17437 else
17438 cat >>confdefs.h <<\_ACEOF
17439 #define wxUSE_IOSTREAMH 1
17440 _ACEOF
17441
17442 fi
17443
17444 ac_ext=c
17445 ac_cpp='$CPP $CPPFLAGS'
17446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17449
17450 fi
17451
17452
17453
17454 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17455 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17456 if test "${wx_cv_cpp_bool+set}" = set; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17458 else
17459
17460
17461
17462 ac_ext=cc
17463 ac_cpp='$CXXCPP $CPPFLAGS'
17464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17467
17468
17469 cat >conftest.$ac_ext <<_ACEOF
17470 #line $LINENO "configure"
17471 /* confdefs.h. */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476
17477
17478 int
17479 main ()
17480 {
17481
17482 bool b = true;
17483
17484 return 0;
17485
17486 ;
17487 return 0;
17488 }
17489 _ACEOF
17490 rm -f conftest.$ac_objext
17491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17492 (eval $ac_compile) 2>&5
17493 ac_status=$?
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } &&
17496 { ac_try='test -s conftest.$ac_objext'
17497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17498 (eval $ac_try) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); }; }; then
17502
17503 wx_cv_cpp_bool=yes
17504
17505 else
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17508
17509
17510 wx_cv_cpp_bool=no
17511
17512
17513 fi
17514 rm -f conftest.$ac_objext conftest.$ac_ext
17515
17516 ac_ext=c
17517 ac_cpp='$CPP $CPPFLAGS'
17518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17521
17522
17523 fi
17524 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17525 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17526
17527 if test "$wx_cv_cpp_bool" = "yes"; then
17528 cat >>confdefs.h <<\_ACEOF
17529 #define HAVE_BOOL 1
17530 _ACEOF
17531
17532 fi
17533
17534
17535
17536 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17537 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17538 if test "${wx_cv_explicit+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 else
17541
17542
17543
17544 ac_ext=cc
17545 ac_cpp='$CXXCPP $CPPFLAGS'
17546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17549
17550
17551 cat >conftest.$ac_ext <<_ACEOF
17552 #line $LINENO "configure"
17553 /* confdefs.h. */
17554 _ACEOF
17555 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558
17559 class Foo { public: explicit Foo(int) {} };
17560
17561 int
17562 main ()
17563 {
17564
17565 return 0;
17566
17567 ;
17568 return 0;
17569 }
17570 _ACEOF
17571 rm -f conftest.$ac_objext
17572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17573 (eval $ac_compile) 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try='test -s conftest.$ac_objext'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17583
17584 cat >conftest.$ac_ext <<_ACEOF
17585 #line $LINENO "configure"
17586 /* confdefs.h. */
17587 _ACEOF
17588 cat confdefs.h >>conftest.$ac_ext
17589 cat >>conftest.$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17591
17592 class Foo { public: explicit Foo(int) {} };
17593 static void TakeFoo(const Foo& foo) { }
17594
17595 int
17596 main ()
17597 {
17598
17599 TakeFoo(17);
17600 return 0;
17601
17602 ;
17603 return 0;
17604 }
17605 _ACEOF
17606 rm -f conftest.$ac_objext
17607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17608 (eval $ac_compile) 2>&5
17609 ac_status=$?
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); } &&
17612 { ac_try='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 wx_cv_explicit=no
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17622
17623 wx_cv_explicit=yes
17624
17625 fi
17626 rm -f conftest.$ac_objext conftest.$ac_ext
17627
17628 else
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17631
17632 wx_cv_explicit=no
17633
17634 fi
17635 rm -f conftest.$ac_objext conftest.$ac_ext
17636
17637 ac_ext=c
17638 ac_cpp='$CPP $CPPFLAGS'
17639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17642
17643
17644 fi
17645 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17646 echo "${ECHO_T}$wx_cv_explicit" >&6
17647
17648 if test "$wx_cv_explicit" = "yes"; then
17649 cat >>confdefs.h <<\_ACEOF
17650 #define HAVE_EXPLICIT 1
17651 _ACEOF
17652
17653 fi
17654
17655
17656 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17657 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17658 if test "${ac_cv_cxx_const_cast+set}" = set; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17660 else
17661
17662
17663 ac_ext=cc
17664 ac_cpp='$CXXCPP $CPPFLAGS'
17665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17668
17669 cat >conftest.$ac_ext <<_ACEOF
17670 #line $LINENO "configure"
17671 /* confdefs.h. */
17672 _ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676
17677 int
17678 main ()
17679 {
17680 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17681 ;
17682 return 0;
17683 }
17684 _ACEOF
17685 rm -f conftest.$ac_objext
17686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17687 (eval $ac_compile) 2>&5
17688 ac_status=$?
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } &&
17691 { ac_try='test -s conftest.$ac_objext'
17692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17693 (eval $ac_try) 2>&5
17694 ac_status=$?
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }; }; then
17697 ac_cv_cxx_const_cast=yes
17698 else
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17701
17702 ac_cv_cxx_const_cast=no
17703 fi
17704 rm -f conftest.$ac_objext conftest.$ac_ext
17705 ac_ext=c
17706 ac_cpp='$CPP $CPPFLAGS'
17707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17710
17711
17712 fi
17713 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17714 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17715 if test "$ac_cv_cxx_const_cast" = yes; then
17716
17717 cat >>confdefs.h <<\_ACEOF
17718 #define HAVE_CONST_CAST
17719 _ACEOF
17720
17721 fi
17722
17723
17724 if test "$wxUSE_STL" = "yes"; then
17725 ac_ext=cc
17726 ac_cpp='$CXXCPP $CPPFLAGS'
17727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17730
17731
17732 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17733 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17734 cat >conftest.$ac_ext <<_ACEOF
17735 #line $LINENO "configure"
17736 /* confdefs.h. */
17737 _ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 #include <string>
17742 #include <functional>
17743 #include <algorithm>
17744 #include <vector>
17745 #include <list>
17746 int
17747 main ()
17748 {
17749 std::vector<int> moo;
17750 std::list<int> foo;
17751 std::vector<int>::iterator it =
17752 std::find_if(moo.begin(), moo.end(),
17753 std::bind2nd(std::less<int>(), 3));
17754 ;
17755 return 0;
17756 }
17757 _ACEOF
17758 rm -f conftest.$ac_objext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17760 (eval $ac_compile) 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try='test -s conftest.$ac_objext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17767 ac_status=$?
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 echo "$as_me:$LINENO: result: yes" >&5
17771 echo "${ECHO_T}yes" >&6
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17775
17776 echo "$as_me:$LINENO: result: no" >&5
17777 echo "${ECHO_T}no" >&6
17778 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17779 echo "$as_me: error: Basic STL functionality missing" >&2;}
17780 { (exit 1); exit 1; }; }
17781 fi
17782 rm -f conftest.$ac_objext conftest.$ac_ext
17783
17784 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17785 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17786 cat >conftest.$ac_ext <<_ACEOF
17787 #line $LINENO "configure"
17788 /* confdefs.h. */
17789 _ACEOF
17790 cat confdefs.h >>conftest.$ac_ext
17791 cat >>conftest.$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17793 #include <string>
17794 int
17795 main ()
17796 {
17797 std::wstring foo;
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>&5
17805 ac_status=$?
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } &&
17808 { ac_try='test -s conftest.$ac_objext'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17811 ac_status=$?
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; }; then
17814 echo "$as_me:$LINENO: result: yes" >&5
17815 echo "${ECHO_T}yes" >&6
17816 cat >>confdefs.h <<\_ACEOF
17817 #define HAVE_STD_WSTRING 1
17818 _ACEOF
17819
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 echo "$as_me:$LINENO: result: no" >&5
17825 echo "${ECHO_T}no" >&6
17826 fi
17827 rm -f conftest.$ac_objext conftest.$ac_ext
17828
17829 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17830 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17831 cat >conftest.$ac_ext <<_ACEOF
17832 #line $LINENO "configure"
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838 #include <string>
17839 int
17840 main ()
17841 {
17842 std::string foo, bar;
17843 foo.compare(bar);
17844 foo.compare(1, 1, bar);
17845 foo.compare(1, 1, bar, 1, 1);
17846 foo.compare("");
17847 foo.compare(1, 1, "");
17848 foo.compare(1, 1, "", 2);
17849 ;
17850 return 0;
17851 }
17852 _ACEOF
17853 rm -f conftest.$ac_objext
17854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17855 (eval $ac_compile) 2>&5
17856 ac_status=$?
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try='test -s conftest.$ac_objext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17862 ac_status=$?
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 echo "$as_me:$LINENO: result: yes" >&5
17866 echo "${ECHO_T}yes" >&6
17867 cat >>confdefs.h <<\_ACEOF
17868 #define HAVE_STD_STRING_COMPARE 1
17869 _ACEOF
17870
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17874
17875 echo "$as_me:$LINENO: result: no" >&5
17876 echo "${ECHO_T}no" >&6
17877 fi
17878 rm -f conftest.$ac_objext conftest.$ac_ext
17879
17880 ac_ext=c
17881 ac_cpp='$CPP $CPPFLAGS'
17882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17885
17886 fi
17887
17888
17889 SEARCH_INCLUDE="\
17890 /usr/local/include \
17891 \
17892 /usr/Motif-1.2/include \
17893 /usr/Motif-2.1/include \
17894 \
17895 /usr/include/Motif1.2 \
17896 /opt/xpm/include/X11 \
17897 /opt/GBxpm/include/ \
17898 /opt/GBxpm/X11/include/ \
17899 \
17900 /usr/Motif1.2/include \
17901 /usr/dt/include \
17902 /usr/openwin/include \
17903 \
17904 /usr/include/Xm \
17905 \
17906 /usr/X11R6/include \
17907 /usr/X11R6.4/include \
17908 /usr/X11R5/include \
17909 /usr/X11R4/include \
17910 \
17911 /usr/include/X11R6 \
17912 /usr/include/X11R5 \
17913 /usr/include/X11R4 \
17914 \
17915 /usr/local/X11R6/include \
17916 /usr/local/X11R5/include \
17917 /usr/local/X11R4/include \
17918 \
17919 /usr/local/include/X11R6 \
17920 /usr/local/include/X11R5 \
17921 /usr/local/include/X11R4 \
17922 \
17923 /usr/X11/include \
17924 /usr/include/X11 \
17925 /usr/local/X11/include \
17926 /usr/local/include/X11 \
17927 \
17928 /usr/X386/include \
17929 /usr/x386/include \
17930 /usr/XFree86/include/X11 \
17931 \
17932 X:/XFree86/include \
17933 X:/XFree86/include/X11 \
17934 \
17935 /usr/include/gtk \
17936 /usr/local/include/gtk \
17937 /usr/include/glib \
17938 /usr/local/include/glib \
17939 \
17940 /usr/include/qt \
17941 /usr/local/include/qt \
17942 \
17943 /usr/include/windows \
17944 /usr/include/wine \
17945 /usr/local/include/wine \
17946 \
17947 /usr/unsupported/include \
17948 /usr/athena/include \
17949 /usr/local/x11r5/include \
17950 /usr/lpp/Xamples/include \
17951 \
17952 /usr/openwin/share/include"
17953
17954 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17955
17956
17957 cat >confcache <<\_ACEOF
17958 # This file is a shell script that caches the results of configure
17959 # tests run on this system so they can be shared between configure
17960 # scripts and configure runs, see configure's option --config-cache.
17961 # It is not useful on other systems. If it contains results you don't
17962 # want to keep, you may remove or edit it.
17963 #
17964 # config.status only pays attention to the cache file if you give it
17965 # the --recheck option to rerun configure.
17966 #
17967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17969 # following values.
17970
17971 _ACEOF
17972
17973 # The following way of writing the cache mishandles newlines in values,
17974 # but we know of no workaround that is simple, portable, and efficient.
17975 # So, don't put newlines in cache variables' values.
17976 # Ultrix sh set writes to stderr and can't be redirected directly,
17977 # and sets the high bit in the cache file unless we assign to the vars.
17978 {
17979 (set) 2>&1 |
17980 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17981 *ac_space=\ *)
17982 # `set' does not quote correctly, so add quotes (double-quote
17983 # substitution turns \\\\ into \\, and sed turns \\ into \).
17984 sed -n \
17985 "s/'/'\\\\''/g;
17986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17987 ;;
17988 *)
17989 # `set' quotes correctly as required by POSIX, so do not add quotes.
17990 sed -n \
17991 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17992 ;;
17993 esac;
17994 } |
17995 sed '
17996 t clear
17997 : clear
17998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17999 t end
18000 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18001 : end' >>confcache
18002 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18003 if test -w $cache_file; then
18004 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18005 cat confcache >$cache_file
18006 else
18007 echo "not updating unwritable cache $cache_file"
18008 fi
18009 fi
18010 rm -f confcache
18011
18012 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18013 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18014 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18015 if test "${wx_cv_lib_glibc21+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18017 else
18018
18019 cat >conftest.$ac_ext <<_ACEOF
18020 #line $LINENO "configure"
18021 /* confdefs.h. */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026 #include <features.h>
18027 int
18028 main ()
18029 {
18030
18031 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18032 #error not glibc2.1
18033 #endif
18034
18035 ;
18036 return 0;
18037 }
18038 _ACEOF
18039 rm -f conftest.$ac_objext
18040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18041 (eval $ac_compile) 2>&5
18042 ac_status=$?
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); } &&
18045 { ac_try='test -s conftest.$ac_objext'
18046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047 (eval $ac_try) 2>&5
18048 ac_status=$?
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); }; }; then
18051
18052 wx_cv_lib_glibc21=yes
18053
18054 else
18055 echo "$as_me: failed program was:" >&5
18056 sed 's/^/| /' conftest.$ac_ext >&5
18057
18058
18059 wx_cv_lib_glibc21=no
18060
18061
18062 fi
18063 rm -f conftest.$ac_objext conftest.$ac_ext
18064
18065 fi
18066 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18067 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18068 if test "$wx_cv_lib_glibc21" = "yes"; then
18069 cat >>confdefs.h <<\_ACEOF
18070 #define wxHAVE_GLIBC2 1
18071 _ACEOF
18072
18073 fi
18074 fi
18075
18076 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18077 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18078 cat >>confdefs.h <<\_ACEOF
18079 #define _GNU_SOURCE 1
18080 _ACEOF
18081
18082 fi
18083 fi
18084
18085
18086
18087 if test "$wxUSE_REGEX" != "no"; then
18088 cat >>confdefs.h <<\_ACEOF
18089 #define wxUSE_REGEX 1
18090 _ACEOF
18091
18092
18093 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18094 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18095 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18096 wxUSE_REGEX=builtin
18097 fi
18098
18099 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18100 if test "${ac_cv_header_regex_h+set}" = set; then
18101 echo "$as_me:$LINENO: checking for regex.h" >&5
18102 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18103 if test "${ac_cv_header_regex_h+set}" = set; then
18104 echo $ECHO_N "(cached) $ECHO_C" >&6
18105 fi
18106 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18107 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18108 else
18109 # Is the header compilable?
18110 echo "$as_me:$LINENO: checking regex.h usability" >&5
18111 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18112 cat >conftest.$ac_ext <<_ACEOF
18113 #line $LINENO "configure"
18114 /* confdefs.h. */
18115 _ACEOF
18116 cat confdefs.h >>conftest.$ac_ext
18117 cat >>conftest.$ac_ext <<_ACEOF
18118 /* end confdefs.h. */
18119 $ac_includes_default
18120 #include <regex.h>
18121 _ACEOF
18122 rm -f conftest.$ac_objext
18123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18124 (eval $ac_compile) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); } &&
18128 { ac_try='test -s conftest.$ac_objext'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; }; then
18134 ac_header_compiler=yes
18135 else
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18138
18139 ac_header_compiler=no
18140 fi
18141 rm -f conftest.$ac_objext conftest.$ac_ext
18142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18143 echo "${ECHO_T}$ac_header_compiler" >&6
18144
18145 # Is the header present?
18146 echo "$as_me:$LINENO: checking regex.h presence" >&5
18147 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18148 cat >conftest.$ac_ext <<_ACEOF
18149 #line $LINENO "configure"
18150 /* confdefs.h. */
18151 _ACEOF
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18155 #include <regex.h>
18156 _ACEOF
18157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18159 ac_status=$?
18160 grep -v '^ *+' conftest.er1 >conftest.err
18161 rm -f conftest.er1
18162 cat conftest.err >&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); } >/dev/null; then
18165 if test -s conftest.err; then
18166 ac_cpp_err=$ac_c_preproc_warn_flag
18167 else
18168 ac_cpp_err=
18169 fi
18170 else
18171 ac_cpp_err=yes
18172 fi
18173 if test -z "$ac_cpp_err"; then
18174 ac_header_preproc=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 ac_header_preproc=no
18180 fi
18181 rm -f conftest.err conftest.$ac_ext
18182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18183 echo "${ECHO_T}$ac_header_preproc" >&6
18184
18185 # So? What about this header?
18186 case $ac_header_compiler:$ac_header_preproc in
18187 yes:no )
18188 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18189 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18190 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18191 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18192 (
18193 cat <<\_ASBOX
18194 ## ------------------------------------ ##
18195 ## Report this to bug-autoconf@gnu.org. ##
18196 ## ------------------------------------ ##
18197 _ASBOX
18198 ) |
18199 sed "s/^/$as_me: WARNING: /" >&2
18200 ;;
18201 no:yes )
18202 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18203 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18204 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18205 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18206 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18207 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18208 (
18209 cat <<\_ASBOX
18210 ## ------------------------------------ ##
18211 ## Report this to bug-autoconf@gnu.org. ##
18212 ## ------------------------------------ ##
18213 _ASBOX
18214 ) |
18215 sed "s/^/$as_me: WARNING: /" >&2
18216 ;;
18217 esac
18218 echo "$as_me:$LINENO: checking for regex.h" >&5
18219 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18220 if test "${ac_cv_header_regex_h+set}" = set; then
18221 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 else
18223 ac_cv_header_regex_h=$ac_header_preproc
18224 fi
18225 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18226 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18227
18228 fi
18229 if test $ac_cv_header_regex_h = yes; then
18230
18231 for ac_func in regcomp
18232 do
18233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18234 echo "$as_me:$LINENO: checking for $ac_func" >&5
18235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18236 if eval "test \"\${$as_ac_var+set}\" = set"; then
18237 echo $ECHO_N "(cached) $ECHO_C" >&6
18238 else
18239 cat >conftest.$ac_ext <<_ACEOF
18240 #line $LINENO "configure"
18241 /* confdefs.h. */
18242 _ACEOF
18243 cat confdefs.h >>conftest.$ac_ext
18244 cat >>conftest.$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246 /* System header to define __stub macros and hopefully few prototypes,
18247 which can conflict with char $ac_func (); below.
18248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18249 <limits.h> exists even on freestanding compilers. */
18250 #ifdef __STDC__
18251 # include <limits.h>
18252 #else
18253 # include <assert.h>
18254 #endif
18255 /* Override any gcc2 internal prototype to avoid an error. */
18256 #ifdef __cplusplus
18257 extern "C"
18258 {
18259 #endif
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18262 char $ac_func ();
18263 /* The GNU C library defines this for functions which it implements
18264 to always fail with ENOSYS. Some functions are actually named
18265 something starting with __ and the normal name is an alias. */
18266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18267 choke me
18268 #else
18269 char (*f) () = $ac_func;
18270 #endif
18271 #ifdef __cplusplus
18272 }
18273 #endif
18274
18275 int
18276 main ()
18277 {
18278 return f != $ac_func;
18279 ;
18280 return 0;
18281 }
18282 _ACEOF
18283 rm -f conftest.$ac_objext conftest$ac_exeext
18284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18285 (eval $ac_link) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } &&
18289 { ac_try='test -s conftest$ac_exeext'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18292 ac_status=$?
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; }; then
18295 eval "$as_ac_var=yes"
18296 else
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.$ac_ext >&5
18299
18300 eval "$as_ac_var=no"
18301 fi
18302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18303 fi
18304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18306 if test `eval echo '${'$as_ac_var'}'` = yes; then
18307 cat >>confdefs.h <<_ACEOF
18308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18309 _ACEOF
18310
18311 fi
18312 done
18313
18314 fi
18315
18316
18317
18318 if test "x$ac_cv_func_regcomp" != "xyes"; then
18319 if test "$wxUSE_REGEX" = "sys" ; then
18320 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18321 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18322 { (exit 1); exit 1; }; }
18323 else
18324 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18325 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18326 wxUSE_REGEX=builtin
18327 fi
18328 else
18329 wxUSE_REGEX=sys
18330 fi
18331 fi
18332 fi
18333
18334
18335 ZLIB_LINK=
18336 if test "$wxUSE_ZLIB" != "no" ; then
18337 cat >>confdefs.h <<\_ACEOF
18338 #define wxUSE_ZLIB 1
18339 _ACEOF
18340
18341
18342 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18343 if test "$USE_DARWIN" = 1; then
18344 system_zlib_h_ok="yes"
18345 else
18346 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18347 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18348 if test "${ac_cv_header_zlib_h+set}" = set; then
18349 echo $ECHO_N "(cached) $ECHO_C" >&6
18350 else
18351 if test "$cross_compiling" = yes; then
18352 unset ac_cv_header_zlib_h
18353
18354 else
18355 cat >conftest.$ac_ext <<_ACEOF
18356 #line $LINENO "configure"
18357 /* confdefs.h. */
18358 _ACEOF
18359 cat confdefs.h >>conftest.$ac_ext
18360 cat >>conftest.$ac_ext <<_ACEOF
18361 /* end confdefs.h. */
18362
18363 #include <zlib.h>
18364 #include <stdio.h>
18365
18366 int main()
18367 {
18368 FILE *f=fopen("conftestval", "w");
18369 if (!f) exit(1);
18370 fprintf(f, "%s",
18371 ZLIB_VERSION[0] == '1' &&
18372 (ZLIB_VERSION[2] > '1' ||
18373 (ZLIB_VERSION[2] == '1' &&
18374 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18375 exit(0);
18376 }
18377
18378 _ACEOF
18379 rm -f conftest$ac_exeext
18380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18381 (eval $ac_link) 2>&5
18382 ac_status=$?
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18386 (eval $ac_try) 2>&5
18387 ac_status=$?
18388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389 (exit $ac_status); }; }; then
18390 ac_cv_header_zlib_h=`cat conftestval`
18391 else
18392 echo "$as_me: program exited with status $ac_status" >&5
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.$ac_ext >&5
18395
18396 ( exit $ac_status )
18397 ac_cv_header_zlib_h=no
18398 fi
18399 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18400 fi
18401
18402 fi
18403 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18404 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18405 if test "${ac_cv_header_zlib_h+set}" = set; then
18406 echo "$as_me:$LINENO: checking for zlib.h" >&5
18407 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18408 if test "${ac_cv_header_zlib_h+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 fi
18411 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18412 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18413 else
18414 # Is the header compilable?
18415 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18416 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18417 cat >conftest.$ac_ext <<_ACEOF
18418 #line $LINENO "configure"
18419 /* confdefs.h. */
18420 _ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18424 $ac_includes_default
18425 #include <zlib.h>
18426 _ACEOF
18427 rm -f conftest.$ac_objext
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>&5
18430 ac_status=$?
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } &&
18433 { ac_try='test -s conftest.$ac_objext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 ac_header_compiler=yes
18440 else
18441 echo "$as_me: failed program was:" >&5
18442 sed 's/^/| /' conftest.$ac_ext >&5
18443
18444 ac_header_compiler=no
18445 fi
18446 rm -f conftest.$ac_objext conftest.$ac_ext
18447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18448 echo "${ECHO_T}$ac_header_compiler" >&6
18449
18450 # Is the header present?
18451 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18452 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18453 cat >conftest.$ac_ext <<_ACEOF
18454 #line $LINENO "configure"
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 #include <zlib.h>
18461 _ACEOF
18462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18464 ac_status=$?
18465 grep -v '^ *+' conftest.er1 >conftest.err
18466 rm -f conftest.er1
18467 cat conftest.err >&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } >/dev/null; then
18470 if test -s conftest.err; then
18471 ac_cpp_err=$ac_c_preproc_warn_flag
18472 else
18473 ac_cpp_err=
18474 fi
18475 else
18476 ac_cpp_err=yes
18477 fi
18478 if test -z "$ac_cpp_err"; then
18479 ac_header_preproc=yes
18480 else
18481 echo "$as_me: failed program was:" >&5
18482 sed 's/^/| /' conftest.$ac_ext >&5
18483
18484 ac_header_preproc=no
18485 fi
18486 rm -f conftest.err conftest.$ac_ext
18487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18488 echo "${ECHO_T}$ac_header_preproc" >&6
18489
18490 # So? What about this header?
18491 case $ac_header_compiler:$ac_header_preproc in
18492 yes:no )
18493 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18494 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18495 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18496 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18497 (
18498 cat <<\_ASBOX
18499 ## ------------------------------------ ##
18500 ## Report this to bug-autoconf@gnu.org. ##
18501 ## ------------------------------------ ##
18502 _ASBOX
18503 ) |
18504 sed "s/^/$as_me: WARNING: /" >&2
18505 ;;
18506 no:yes )
18507 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18508 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18509 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18510 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18511 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18512 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18513 (
18514 cat <<\_ASBOX
18515 ## ------------------------------------ ##
18516 ## Report this to bug-autoconf@gnu.org. ##
18517 ## ------------------------------------ ##
18518 _ASBOX
18519 ) |
18520 sed "s/^/$as_me: WARNING: /" >&2
18521 ;;
18522 esac
18523 echo "$as_me:$LINENO: checking for zlib.h" >&5
18524 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18525 if test "${ac_cv_header_zlib_h+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 else
18528 ac_cv_header_zlib_h=$ac_header_preproc
18529 fi
18530 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18531 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18532
18533 fi
18534
18535
18536
18537 system_zlib_h_ok=$ac_cv_header_zlib_h
18538 fi
18539
18540 if test "$system_zlib_h_ok" = "yes"; then
18541 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18542 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18543 if test "${ac_cv_lib_z_deflate+set}" = set; then
18544 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 else
18546 ac_check_lib_save_LIBS=$LIBS
18547 LIBS="-lz $LIBS"
18548 cat >conftest.$ac_ext <<_ACEOF
18549 #line $LINENO "configure"
18550 /* confdefs.h. */
18551 _ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18555
18556 /* Override any gcc2 internal prototype to avoid an error. */
18557 #ifdef __cplusplus
18558 extern "C"
18559 #endif
18560 /* We use char because int might match the return type of a gcc2
18561 builtin and then its argument prototype would still apply. */
18562 char deflate ();
18563 int
18564 main ()
18565 {
18566 deflate ();
18567 ;
18568 return 0;
18569 }
18570 _ACEOF
18571 rm -f conftest.$ac_objext conftest$ac_exeext
18572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18573 (eval $ac_link) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try='test -s conftest$ac_exeext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18580 ac_status=$?
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_cv_lib_z_deflate=yes
18584 else
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.$ac_ext >&5
18587
18588 ac_cv_lib_z_deflate=no
18589 fi
18590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18591 LIBS=$ac_check_lib_save_LIBS
18592 fi
18593 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18594 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18595 if test $ac_cv_lib_z_deflate = yes; then
18596 ZLIB_LINK=" -lz"
18597 fi
18598
18599 fi
18600
18601 if test "x$ZLIB_LINK" = "x" ; then
18602 if test "$wxUSE_ZLIB" = "sys" ; then
18603 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18604 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18605 { (exit 1); exit 1; }; }
18606 else
18607 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18608 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18609 wxUSE_ZLIB=builtin
18610 fi
18611 else
18612 wxUSE_ZLIB=sys
18613 fi
18614 fi
18615 fi
18616
18617
18618 PNG_LINK=
18619 if test "$wxUSE_LIBPNG" != "no" ; then
18620 cat >>confdefs.h <<\_ACEOF
18621 #define wxUSE_LIBPNG 1
18622 _ACEOF
18623
18624
18625 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18626 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18627 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18628 wxUSE_LIBPNG=sys
18629 fi
18630
18631 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18632 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18633 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18634 wxUSE_LIBPNG=builtin
18635 fi
18636
18637 if test "$wxUSE_MGL" != 1 ; then
18638 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18639 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18640 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18641 if test "${ac_cv_header_png_h+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 else
18644 if test "$cross_compiling" = yes; then
18645 unset ac_cv_header_png_h
18646
18647 else
18648 cat >conftest.$ac_ext <<_ACEOF
18649 #line $LINENO "configure"
18650 /* confdefs.h. */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655
18656 #include <png.h>
18657 #include <stdio.h>
18658
18659 int main()
18660 {
18661 FILE *f=fopen("conftestval", "w");
18662 if (!f) exit(1);
18663 fprintf(f, "%s",
18664 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18665 exit(0);
18666 }
18667
18668 _ACEOF
18669 rm -f conftest$ac_exeext
18670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18671 (eval $ac_link) 2>&5
18672 ac_status=$?
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676 (eval $ac_try) 2>&5
18677 ac_status=$?
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); }; }; then
18680 ac_cv_header_png_h=`cat conftestval`
18681 else
18682 echo "$as_me: program exited with status $ac_status" >&5
18683 echo "$as_me: failed program was:" >&5
18684 sed 's/^/| /' conftest.$ac_ext >&5
18685
18686 ( exit $ac_status )
18687 ac_cv_header_png_h=no
18688 fi
18689 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18690 fi
18691
18692 fi
18693 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18694 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18695 if test "${ac_cv_header_png_h+set}" = set; then
18696 echo "$as_me:$LINENO: checking for png.h" >&5
18697 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18698 if test "${ac_cv_header_png_h+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 fi
18701 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18702 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18703 else
18704 # Is the header compilable?
18705 echo "$as_me:$LINENO: checking png.h usability" >&5
18706 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18707 cat >conftest.$ac_ext <<_ACEOF
18708 #line $LINENO "configure"
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 #include <png.h>
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>&5
18720 ac_status=$?
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try='test -s conftest.$ac_objext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18726 ac_status=$?
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_header_compiler=yes
18730 else
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18733
18734 ac_header_compiler=no
18735 fi
18736 rm -f conftest.$ac_objext conftest.$ac_ext
18737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18738 echo "${ECHO_T}$ac_header_compiler" >&6
18739
18740 # Is the header present?
18741 echo "$as_me:$LINENO: checking png.h presence" >&5
18742 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18743 cat >conftest.$ac_ext <<_ACEOF
18744 #line $LINENO "configure"
18745 /* confdefs.h. */
18746 _ACEOF
18747 cat confdefs.h >>conftest.$ac_ext
18748 cat >>conftest.$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18750 #include <png.h>
18751 _ACEOF
18752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18754 ac_status=$?
18755 grep -v '^ *+' conftest.er1 >conftest.err
18756 rm -f conftest.er1
18757 cat conftest.err >&5
18758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18759 (exit $ac_status); } >/dev/null; then
18760 if test -s conftest.err; then
18761 ac_cpp_err=$ac_c_preproc_warn_flag
18762 else
18763 ac_cpp_err=
18764 fi
18765 else
18766 ac_cpp_err=yes
18767 fi
18768 if test -z "$ac_cpp_err"; then
18769 ac_header_preproc=yes
18770 else
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.$ac_ext >&5
18773
18774 ac_header_preproc=no
18775 fi
18776 rm -f conftest.err conftest.$ac_ext
18777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18778 echo "${ECHO_T}$ac_header_preproc" >&6
18779
18780 # So? What about this header?
18781 case $ac_header_compiler:$ac_header_preproc in
18782 yes:no )
18783 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18784 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18785 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18786 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18787 (
18788 cat <<\_ASBOX
18789 ## ------------------------------------ ##
18790 ## Report this to bug-autoconf@gnu.org. ##
18791 ## ------------------------------------ ##
18792 _ASBOX
18793 ) |
18794 sed "s/^/$as_me: WARNING: /" >&2
18795 ;;
18796 no:yes )
18797 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18798 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18799 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18800 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18801 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18802 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18803 (
18804 cat <<\_ASBOX
18805 ## ------------------------------------ ##
18806 ## Report this to bug-autoconf@gnu.org. ##
18807 ## ------------------------------------ ##
18808 _ASBOX
18809 ) |
18810 sed "s/^/$as_me: WARNING: /" >&2
18811 ;;
18812 esac
18813 echo "$as_me:$LINENO: checking for png.h" >&5
18814 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18815 if test "${ac_cv_header_png_h+set}" = set; then
18816 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 else
18818 ac_cv_header_png_h=$ac_header_preproc
18819 fi
18820 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18821 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18822
18823 fi
18824
18825
18826
18827 if test "$ac_cv_header_png_h" = "yes"; then
18828 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18829 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18830 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18832 else
18833 ac_check_lib_save_LIBS=$LIBS
18834 LIBS="-lpng -lz -lm $LIBS"
18835 cat >conftest.$ac_ext <<_ACEOF
18836 #line $LINENO "configure"
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842
18843 /* Override any gcc2 internal prototype to avoid an error. */
18844 #ifdef __cplusplus
18845 extern "C"
18846 #endif
18847 /* We use char because int might match the return type of a gcc2
18848 builtin and then its argument prototype would still apply. */
18849 char png_check_sig ();
18850 int
18851 main ()
18852 {
18853 png_check_sig ();
18854 ;
18855 return 0;
18856 }
18857 _ACEOF
18858 rm -f conftest.$ac_objext conftest$ac_exeext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18860 (eval $ac_link) 2>&5
18861 ac_status=$?
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } &&
18864 { ac_try='test -s conftest$ac_exeext'
18865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18866 (eval $ac_try) 2>&5
18867 ac_status=$?
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); }; }; then
18870 ac_cv_lib_png_png_check_sig=yes
18871 else
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875 ac_cv_lib_png_png_check_sig=no
18876 fi
18877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18878 LIBS=$ac_check_lib_save_LIBS
18879 fi
18880 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18881 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18882 if test $ac_cv_lib_png_png_check_sig = yes; then
18883 PNG_LINK=" -lpng"
18884 fi
18885
18886 fi
18887
18888 if test "x$PNG_LINK" = "x" ; then
18889 if test "$wxUSE_LIBPNG" = "sys" ; then
18890 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18891 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18892 { (exit 1); exit 1; }; }
18893 else
18894 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18895 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18896 wxUSE_LIBPNG=builtin
18897 fi
18898 else
18899 wxUSE_LIBPNG=sys
18900 fi
18901 fi
18902 fi
18903
18904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18905 fi
18906
18907
18908 JPEG_LINK=
18909 if test "$wxUSE_LIBJPEG" != "no" ; then
18910 cat >>confdefs.h <<\_ACEOF
18911 #define wxUSE_LIBJPEG 1
18912 _ACEOF
18913
18914
18915 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18916 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18917 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18918 wxUSE_LIBJPEG=sys
18919 fi
18920
18921 if test "$wxUSE_MGL" != 1 ; then
18922 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18923 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18924 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18925 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18928 cat >conftest.$ac_ext <<_ACEOF
18929 #line $LINENO "configure"
18930 /* confdefs.h. */
18931 _ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935
18936 #undef HAVE_STDLIB_H
18937 #include <stdio.h>
18938 #include <jpeglib.h>
18939
18940 int
18941 main ()
18942 {
18943
18944
18945 ;
18946 return 0;
18947 }
18948 _ACEOF
18949 rm -f conftest.$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>&5
18952 ac_status=$?
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18958 ac_status=$?
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_cv_header_jpeglib_h=yes
18962 else
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18965
18966 ac_cv_header_jpeglib_h=no
18967
18968 fi
18969 rm -f conftest.$ac_objext conftest.$ac_ext
18970
18971 fi
18972
18973 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18974 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18975
18976 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18977 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18978 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18979 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 else
18982 ac_check_lib_save_LIBS=$LIBS
18983 LIBS="-ljpeg $LIBS"
18984 cat >conftest.$ac_ext <<_ACEOF
18985 #line $LINENO "configure"
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991
18992 /* Override any gcc2 internal prototype to avoid an error. */
18993 #ifdef __cplusplus
18994 extern "C"
18995 #endif
18996 /* We use char because int might match the return type of a gcc2
18997 builtin and then its argument prototype would still apply. */
18998 char jpeg_read_header ();
18999 int
19000 main ()
19001 {
19002 jpeg_read_header ();
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 rm -f conftest.$ac_objext conftest$ac_exeext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -s conftest$ac_exeext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19016 ac_status=$?
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_cv_lib_jpeg_jpeg_read_header=yes
19020 else
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.$ac_ext >&5
19023
19024 ac_cv_lib_jpeg_jpeg_read_header=no
19025 fi
19026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19027 LIBS=$ac_check_lib_save_LIBS
19028 fi
19029 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19030 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19031 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19032 JPEG_LINK=" -ljpeg"
19033 fi
19034
19035 fi
19036
19037 if test "x$JPEG_LINK" = "x" ; then
19038 if test "$wxUSE_LIBJPEG" = "sys" ; then
19039 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19040 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19041 { (exit 1); exit 1; }; }
19042 else
19043 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19044 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19045 wxUSE_LIBJPEG=builtin
19046 fi
19047 else
19048 wxUSE_LIBJPEG=sys
19049 fi
19050 fi
19051 fi
19052 fi
19053
19054
19055 TIFF_LINK=
19056 TIFF_PREREQ_LINKS=-lm
19057 if test "$wxUSE_LIBTIFF" != "no" ; then
19058 cat >>confdefs.h <<\_ACEOF
19059 #define wxUSE_LIBTIFF 1
19060 _ACEOF
19061
19062
19063 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19064 if test "$wxUSE_LIBJPEG" = "sys"; then
19065 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19066 fi
19067 if test "$wxUSE_ZLIB" = "sys"; then
19068 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19069 fi
19070 if test "${ac_cv_header_tiffio_h+set}" = set; then
19071 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19072 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19073 if test "${ac_cv_header_tiffio_h+set}" = set; then
19074 echo $ECHO_N "(cached) $ECHO_C" >&6
19075 fi
19076 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19077 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19078 else
19079 # Is the header compilable?
19080 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19081 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19082 cat >conftest.$ac_ext <<_ACEOF
19083 #line $LINENO "configure"
19084 /* confdefs.h. */
19085 _ACEOF
19086 cat confdefs.h >>conftest.$ac_ext
19087 cat >>conftest.$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 $ac_includes_default
19090 #include <tiffio.h>
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19094 (eval $ac_compile) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } &&
19098 { ac_try='test -s conftest.$ac_objext'
19099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100 (eval $ac_try) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); }; }; then
19104 ac_header_compiler=yes
19105 else
19106 echo "$as_me: failed program was:" >&5
19107 sed 's/^/| /' conftest.$ac_ext >&5
19108
19109 ac_header_compiler=no
19110 fi
19111 rm -f conftest.$ac_objext conftest.$ac_ext
19112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19113 echo "${ECHO_T}$ac_header_compiler" >&6
19114
19115 # Is the header present?
19116 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19117 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19118 cat >conftest.$ac_ext <<_ACEOF
19119 #line $LINENO "configure"
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 #include <tiffio.h>
19126 _ACEOF
19127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19128 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19129 ac_status=$?
19130 grep -v '^ *+' conftest.er1 >conftest.err
19131 rm -f conftest.er1
19132 cat conftest.err >&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } >/dev/null; then
19135 if test -s conftest.err; then
19136 ac_cpp_err=$ac_c_preproc_warn_flag
19137 else
19138 ac_cpp_err=
19139 fi
19140 else
19141 ac_cpp_err=yes
19142 fi
19143 if test -z "$ac_cpp_err"; then
19144 ac_header_preproc=yes
19145 else
19146 echo "$as_me: failed program was:" >&5
19147 sed 's/^/| /' conftest.$ac_ext >&5
19148
19149 ac_header_preproc=no
19150 fi
19151 rm -f conftest.err conftest.$ac_ext
19152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19153 echo "${ECHO_T}$ac_header_preproc" >&6
19154
19155 # So? What about this header?
19156 case $ac_header_compiler:$ac_header_preproc in
19157 yes:no )
19158 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19159 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19160 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19161 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19162 (
19163 cat <<\_ASBOX
19164 ## ------------------------------------ ##
19165 ## Report this to bug-autoconf@gnu.org. ##
19166 ## ------------------------------------ ##
19167 _ASBOX
19168 ) |
19169 sed "s/^/$as_me: WARNING: /" >&2
19170 ;;
19171 no:yes )
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19173 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19174 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19175 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19176 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19177 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19178 (
19179 cat <<\_ASBOX
19180 ## ------------------------------------ ##
19181 ## Report this to bug-autoconf@gnu.org. ##
19182 ## ------------------------------------ ##
19183 _ASBOX
19184 ) |
19185 sed "s/^/$as_me: WARNING: /" >&2
19186 ;;
19187 esac
19188 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19189 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19190 if test "${ac_cv_header_tiffio_h+set}" = set; then
19191 echo $ECHO_N "(cached) $ECHO_C" >&6
19192 else
19193 ac_cv_header_tiffio_h=$ac_header_preproc
19194 fi
19195 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19196 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19197
19198 fi
19199 if test $ac_cv_header_tiffio_h = yes; then
19200
19201 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19202 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19203 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19204 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 else
19206 ac_check_lib_save_LIBS=$LIBS
19207 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19208 cat >conftest.$ac_ext <<_ACEOF
19209 #line $LINENO "configure"
19210 /* confdefs.h. */
19211 _ACEOF
19212 cat confdefs.h >>conftest.$ac_ext
19213 cat >>conftest.$ac_ext <<_ACEOF
19214 /* end confdefs.h. */
19215
19216 /* Override any gcc2 internal prototype to avoid an error. */
19217 #ifdef __cplusplus
19218 extern "C"
19219 #endif
19220 /* We use char because int might match the return type of a gcc2
19221 builtin and then its argument prototype would still apply. */
19222 char TIFFError ();
19223 int
19224 main ()
19225 {
19226 TIFFError ();
19227 ;
19228 return 0;
19229 }
19230 _ACEOF
19231 rm -f conftest.$ac_objext conftest$ac_exeext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19233 (eval $ac_link) 2>&5
19234 ac_status=$?
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } &&
19237 { ac_try='test -s conftest$ac_exeext'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19240 ac_status=$?
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; }; then
19243 ac_cv_lib_tiff_TIFFError=yes
19244 else
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.$ac_ext >&5
19247
19248 ac_cv_lib_tiff_TIFFError=no
19249 fi
19250 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19251 LIBS=$ac_check_lib_save_LIBS
19252 fi
19253 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19254 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19255 if test $ac_cv_lib_tiff_TIFFError = yes; then
19256 TIFF_LINK=" -ltiff"
19257 fi
19258
19259
19260
19261 fi
19262
19263
19264
19265 if test "x$TIFF_LINK" = "x" ; then
19266 if test "$wxUSE_LIBTIFF" = "sys" ; then
19267 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19268 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19269 { (exit 1); exit 1; }; }
19270 else
19271 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19272 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19273 wxUSE_LIBTIFF=builtin
19274 fi
19275 else
19276 wxUSE_LIBTIFF=sys
19277 fi
19278 fi
19279 fi
19280
19281
19282 if test "$wxUSE_EXPAT" != "no"; then
19283 wxUSE_XML=yes
19284 cat >>confdefs.h <<\_ACEOF
19285 #define wxUSE_EXPAT 1
19286 _ACEOF
19287
19288 cat >>confdefs.h <<\_ACEOF
19289 #define wxUSE_XML 1
19290 _ACEOF
19291
19292
19293 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19294 if test "${ac_cv_header_expat_h+set}" = set; then
19295 echo "$as_me:$LINENO: checking for expat.h" >&5
19296 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19297 if test "${ac_cv_header_expat_h+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 fi
19300 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19301 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19302 else
19303 # Is the header compilable?
19304 echo "$as_me:$LINENO: checking expat.h usability" >&5
19305 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19306 cat >conftest.$ac_ext <<_ACEOF
19307 #line $LINENO "configure"
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19314 #include <expat.h>
19315 _ACEOF
19316 rm -f conftest.$ac_objext
19317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19318 (eval $ac_compile) 2>&5
19319 ac_status=$?
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try='test -s conftest.$ac_objext'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; }; then
19328 ac_header_compiler=yes
19329 else
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19332
19333 ac_header_compiler=no
19334 fi
19335 rm -f conftest.$ac_objext conftest.$ac_ext
19336 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19337 echo "${ECHO_T}$ac_header_compiler" >&6
19338
19339 # Is the header present?
19340 echo "$as_me:$LINENO: checking expat.h presence" >&5
19341 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19342 cat >conftest.$ac_ext <<_ACEOF
19343 #line $LINENO "configure"
19344 /* confdefs.h. */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <expat.h>
19350 _ACEOF
19351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19353 ac_status=$?
19354 grep -v '^ *+' conftest.er1 >conftest.err
19355 rm -f conftest.er1
19356 cat conftest.err >&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); } >/dev/null; then
19359 if test -s conftest.err; then
19360 ac_cpp_err=$ac_c_preproc_warn_flag
19361 else
19362 ac_cpp_err=
19363 fi
19364 else
19365 ac_cpp_err=yes
19366 fi
19367 if test -z "$ac_cpp_err"; then
19368 ac_header_preproc=yes
19369 else
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19372
19373 ac_header_preproc=no
19374 fi
19375 rm -f conftest.err conftest.$ac_ext
19376 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19377 echo "${ECHO_T}$ac_header_preproc" >&6
19378
19379 # So? What about this header?
19380 case $ac_header_compiler:$ac_header_preproc in
19381 yes:no )
19382 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19383 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19384 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19385 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19386 (
19387 cat <<\_ASBOX
19388 ## ------------------------------------ ##
19389 ## Report this to bug-autoconf@gnu.org. ##
19390 ## ------------------------------------ ##
19391 _ASBOX
19392 ) |
19393 sed "s/^/$as_me: WARNING: /" >&2
19394 ;;
19395 no:yes )
19396 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19397 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19398 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19399 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19400 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19401 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19402 (
19403 cat <<\_ASBOX
19404 ## ------------------------------------ ##
19405 ## Report this to bug-autoconf@gnu.org. ##
19406 ## ------------------------------------ ##
19407 _ASBOX
19408 ) |
19409 sed "s/^/$as_me: WARNING: /" >&2
19410 ;;
19411 esac
19412 echo "$as_me:$LINENO: checking for expat.h" >&5
19413 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19414 if test "${ac_cv_header_expat_h+set}" = set; then
19415 echo $ECHO_N "(cached) $ECHO_C" >&6
19416 else
19417 ac_cv_header_expat_h=$ac_header_preproc
19418 fi
19419 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19420 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19421
19422 fi
19423 if test $ac_cv_header_expat_h = yes; then
19424 found_expat_h=1
19425 fi
19426
19427
19428 if test "x$found_expat_h" = "x1"; then
19429 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19430 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19431 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 else
19434
19435
19436
19437 ac_ext=cc
19438 ac_cpp='$CXXCPP $CPPFLAGS'
19439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19442
19443 cat >conftest.$ac_ext <<_ACEOF
19444 #line $LINENO "configure"
19445 /* confdefs.h. */
19446 _ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 #include <expat.h>
19451 int
19452 main ()
19453 {
19454
19455 ;
19456 return 0;
19457 }
19458 _ACEOF
19459 rm -f conftest.$ac_objext
19460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19461 (eval $ac_compile) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try='test -s conftest.$ac_objext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19468 ac_status=$?
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 wx_cv_expat_is_not_broken=yes
19472 else
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19475
19476 wx_cv_expat_is_not_broken=no
19477
19478 fi
19479 rm -f conftest.$ac_objext conftest.$ac_ext
19480 ac_ext=c
19481 ac_cpp='$CPP $CPPFLAGS'
19482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19485
19486
19487
19488 fi
19489 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19490 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19491 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19492 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19493 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19494 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 else
19497 ac_check_lib_save_LIBS=$LIBS
19498 LIBS="-lexpat $LIBS"
19499 cat >conftest.$ac_ext <<_ACEOF
19500 #line $LINENO "configure"
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506
19507 /* Override any gcc2 internal prototype to avoid an error. */
19508 #ifdef __cplusplus
19509 extern "C"
19510 #endif
19511 /* We use char because int might match the return type of a gcc2
19512 builtin and then its argument prototype would still apply. */
19513 char XML_ParserCreate ();
19514 int
19515 main ()
19516 {
19517 XML_ParserCreate ();
19518 ;
19519 return 0;
19520 }
19521 _ACEOF
19522 rm -f conftest.$ac_objext conftest$ac_exeext
19523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19524 (eval $ac_link) 2>&5
19525 ac_status=$?
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try='test -s conftest$ac_exeext'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19531 ac_status=$?
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; }; then
19534 ac_cv_lib_expat_XML_ParserCreate=yes
19535 else
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19538
19539 ac_cv_lib_expat_XML_ParserCreate=no
19540 fi
19541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19542 LIBS=$ac_check_lib_save_LIBS
19543 fi
19544 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19545 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19546 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19547 EXPAT_LINK=" -lexpat"
19548 fi
19549
19550 fi
19551 fi
19552 if test "x$EXPAT_LINK" = "x" ; then
19553 if test "$wxUSE_EXPAT" = "sys" ; then
19554 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19555 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19556 { (exit 1); exit 1; }; }
19557 else
19558 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19559 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19560 wxUSE_EXPAT=builtin
19561 fi
19562 else
19563 wxUSE_EXPAT=sys
19564 fi
19565 fi
19566 if test "$wxUSE_EXPAT" = "builtin" ; then
19567
19568
19569 subdirs="$subdirs src/expat"
19570
19571 fi
19572 fi
19573
19574
19575
19576 if test "$wxUSE_LIBMSPACK" != "no"; then
19577
19578 if test "${ac_cv_header_mspack_h+set}" = set; then
19579 echo "$as_me:$LINENO: checking for mspack.h" >&5
19580 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19581 if test "${ac_cv_header_mspack_h+set}" = set; then
19582 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 fi
19584 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19585 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19586 else
19587 # Is the header compilable?
19588 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19589 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19590 cat >conftest.$ac_ext <<_ACEOF
19591 #line $LINENO "configure"
19592 /* confdefs.h. */
19593 _ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 $ac_includes_default
19598 #include <mspack.h>
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602 (eval $ac_compile) 2>&5
19603 ac_status=$?
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } &&
19606 { ac_try='test -s conftest.$ac_objext'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19609 ac_status=$?
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; }; then
19612 ac_header_compiler=yes
19613 else
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.$ac_ext >&5
19616
19617 ac_header_compiler=no
19618 fi
19619 rm -f conftest.$ac_objext conftest.$ac_ext
19620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19621 echo "${ECHO_T}$ac_header_compiler" >&6
19622
19623 # Is the header present?
19624 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19625 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19626 cat >conftest.$ac_ext <<_ACEOF
19627 #line $LINENO "configure"
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #include <mspack.h>
19634 _ACEOF
19635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19636 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19637 ac_status=$?
19638 grep -v '^ *+' conftest.er1 >conftest.err
19639 rm -f conftest.er1
19640 cat conftest.err >&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } >/dev/null; then
19643 if test -s conftest.err; then
19644 ac_cpp_err=$ac_c_preproc_warn_flag
19645 else
19646 ac_cpp_err=
19647 fi
19648 else
19649 ac_cpp_err=yes
19650 fi
19651 if test -z "$ac_cpp_err"; then
19652 ac_header_preproc=yes
19653 else
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19656
19657 ac_header_preproc=no
19658 fi
19659 rm -f conftest.err conftest.$ac_ext
19660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19661 echo "${ECHO_T}$ac_header_preproc" >&6
19662
19663 # So? What about this header?
19664 case $ac_header_compiler:$ac_header_preproc in
19665 yes:no )
19666 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19667 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19668 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19669 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19670 (
19671 cat <<\_ASBOX
19672 ## ------------------------------------ ##
19673 ## Report this to bug-autoconf@gnu.org. ##
19674 ## ------------------------------------ ##
19675 _ASBOX
19676 ) |
19677 sed "s/^/$as_me: WARNING: /" >&2
19678 ;;
19679 no:yes )
19680 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19681 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19682 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19683 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19685 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19686 (
19687 cat <<\_ASBOX
19688 ## ------------------------------------ ##
19689 ## Report this to bug-autoconf@gnu.org. ##
19690 ## ------------------------------------ ##
19691 _ASBOX
19692 ) |
19693 sed "s/^/$as_me: WARNING: /" >&2
19694 ;;
19695 esac
19696 echo "$as_me:$LINENO: checking for mspack.h" >&5
19697 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19698 if test "${ac_cv_header_mspack_h+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19700 else
19701 ac_cv_header_mspack_h=$ac_header_preproc
19702 fi
19703 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19704 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19705
19706 fi
19707 if test $ac_cv_header_mspack_h = yes; then
19708 found_mspack_h=1
19709 fi
19710
19711
19712 if test "x$found_mspack_h" = "x1"; then
19713 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19714 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19715 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19716 echo $ECHO_N "(cached) $ECHO_C" >&6
19717 else
19718 ac_check_lib_save_LIBS=$LIBS
19719 LIBS="-lmspack $LIBS"
19720 cat >conftest.$ac_ext <<_ACEOF
19721 #line $LINENO "configure"
19722 /* confdefs.h. */
19723 _ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727
19728 /* Override any gcc2 internal prototype to avoid an error. */
19729 #ifdef __cplusplus
19730 extern "C"
19731 #endif
19732 /* We use char because int might match the return type of a gcc2
19733 builtin and then its argument prototype would still apply. */
19734 char mspack_create_chm_decompressor ();
19735 int
19736 main ()
19737 {
19738 mspack_create_chm_decompressor ();
19739 ;
19740 return 0;
19741 }
19742 _ACEOF
19743 rm -f conftest.$ac_objext conftest$ac_exeext
19744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19745 (eval $ac_link) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try='test -s conftest$ac_exeext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19756 else
19757 echo "$as_me: failed program was:" >&5
19758 sed 's/^/| /' conftest.$ac_ext >&5
19759
19760 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19761 fi
19762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19763 LIBS=$ac_check_lib_save_LIBS
19764 fi
19765 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19766 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19767 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19768 MSPACK_LINK=" -lmspack"
19769 fi
19770
19771 fi
19772 if test "x$MSPACK_LINK" = "x" ; then
19773 wxUSE_LIBMSPACK=no
19774 else
19775 cat >>confdefs.h <<\_ACEOF
19776 #define wxUSE_LIBMSPACK 1
19777 _ACEOF
19778
19779 fi
19780 fi
19781
19782
19783
19784 AFMINSTALL=
19785 WIN32INSTALL=
19786
19787 TOOLKIT=
19788 TOOLKIT_INCLUDE=
19789 WIDGET_SET=
19790
19791 if test "$USE_WIN32" = 1 ; then
19792
19793 for ac_header in w32api.h
19794 do
19795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19797 echo "$as_me:$LINENO: checking for $ac_header" >&5
19798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19800 echo $ECHO_N "(cached) $ECHO_C" >&6
19801 fi
19802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19804 else
19805 # Is the header compilable?
19806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19808 cat >conftest.$ac_ext <<_ACEOF
19809 #line $LINENO "configure"
19810 /* confdefs.h. */
19811 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 $ac_includes_default
19816 #include <$ac_header>
19817 _ACEOF
19818 rm -f conftest.$ac_objext
19819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19820 (eval $ac_compile) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try='test -s conftest.$ac_objext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 ac_header_compiler=yes
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19834
19835 ac_header_compiler=no
19836 fi
19837 rm -f conftest.$ac_objext conftest.$ac_ext
19838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19839 echo "${ECHO_T}$ac_header_compiler" >&6
19840
19841 # Is the header present?
19842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19844 cat >conftest.$ac_ext <<_ACEOF
19845 #line $LINENO "configure"
19846 /* confdefs.h. */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <$ac_header>
19852 _ACEOF
19853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19855 ac_status=$?
19856 grep -v '^ *+' conftest.er1 >conftest.err
19857 rm -f conftest.er1
19858 cat conftest.err >&5
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); } >/dev/null; then
19861 if test -s conftest.err; then
19862 ac_cpp_err=$ac_c_preproc_warn_flag
19863 else
19864 ac_cpp_err=
19865 fi
19866 else
19867 ac_cpp_err=yes
19868 fi
19869 if test -z "$ac_cpp_err"; then
19870 ac_header_preproc=yes
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875 ac_header_preproc=no
19876 fi
19877 rm -f conftest.err conftest.$ac_ext
19878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19879 echo "${ECHO_T}$ac_header_preproc" >&6
19880
19881 # So? What about this header?
19882 case $ac_header_compiler:$ac_header_preproc in
19883 yes:no )
19884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19887 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19888 (
19889 cat <<\_ASBOX
19890 ## ------------------------------------ ##
19891 ## Report this to bug-autoconf@gnu.org. ##
19892 ## ------------------------------------ ##
19893 _ASBOX
19894 ) |
19895 sed "s/^/$as_me: WARNING: /" >&2
19896 ;;
19897 no:yes )
19898 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19899 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19900 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19901 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19904 (
19905 cat <<\_ASBOX
19906 ## ------------------------------------ ##
19907 ## Report this to bug-autoconf@gnu.org. ##
19908 ## ------------------------------------ ##
19909 _ASBOX
19910 ) |
19911 sed "s/^/$as_me: WARNING: /" >&2
19912 ;;
19913 esac
19914 echo "$as_me:$LINENO: checking for $ac_header" >&5
19915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 else
19919 eval "$as_ac_Header=$ac_header_preproc"
19920 fi
19921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19923
19924 fi
19925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19926 cat >>confdefs.h <<_ACEOF
19927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19928 _ACEOF
19929
19930 fi
19931
19932 done
19933
19934 if test "${ac_cv_header_windows_h+set}" = set; then
19935 echo "$as_me:$LINENO: checking for windows.h" >&5
19936 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19937 if test "${ac_cv_header_windows_h+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 fi
19940 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19941 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19942 else
19943 # Is the header compilable?
19944 echo "$as_me:$LINENO: checking windows.h usability" >&5
19945 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19946 cat >conftest.$ac_ext <<_ACEOF
19947 #line $LINENO "configure"
19948 /* confdefs.h. */
19949 _ACEOF
19950 cat confdefs.h >>conftest.$ac_ext
19951 cat >>conftest.$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19953 $ac_includes_default
19954 #include <windows.h>
19955 _ACEOF
19956 rm -f conftest.$ac_objext
19957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19958 (eval $ac_compile) 2>&5
19959 ac_status=$?
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try='test -s conftest.$ac_objext'
19963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19964 (eval $ac_try) 2>&5
19965 ac_status=$?
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); }; }; then
19968 ac_header_compiler=yes
19969 else
19970 echo "$as_me: failed program was:" >&5
19971 sed 's/^/| /' conftest.$ac_ext >&5
19972
19973 ac_header_compiler=no
19974 fi
19975 rm -f conftest.$ac_objext conftest.$ac_ext
19976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19977 echo "${ECHO_T}$ac_header_compiler" >&6
19978
19979 # Is the header present?
19980 echo "$as_me:$LINENO: checking windows.h presence" >&5
19981 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19982 cat >conftest.$ac_ext <<_ACEOF
19983 #line $LINENO "configure"
19984 /* confdefs.h. */
19985 _ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 #include <windows.h>
19990 _ACEOF
19991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19993 ac_status=$?
19994 grep -v '^ *+' conftest.er1 >conftest.err
19995 rm -f conftest.er1
19996 cat conftest.err >&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } >/dev/null; then
19999 if test -s conftest.err; then
20000 ac_cpp_err=$ac_c_preproc_warn_flag
20001 else
20002 ac_cpp_err=
20003 fi
20004 else
20005 ac_cpp_err=yes
20006 fi
20007 if test -z "$ac_cpp_err"; then
20008 ac_header_preproc=yes
20009 else
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.$ac_ext >&5
20012
20013 ac_header_preproc=no
20014 fi
20015 rm -f conftest.err conftest.$ac_ext
20016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20017 echo "${ECHO_T}$ac_header_preproc" >&6
20018
20019 # So? What about this header?
20020 case $ac_header_compiler:$ac_header_preproc in
20021 yes:no )
20022 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20023 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20024 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20025 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20026 (
20027 cat <<\_ASBOX
20028 ## ------------------------------------ ##
20029 ## Report this to bug-autoconf@gnu.org. ##
20030 ## ------------------------------------ ##
20031 _ASBOX
20032 ) |
20033 sed "s/^/$as_me: WARNING: /" >&2
20034 ;;
20035 no:yes )
20036 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20037 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20038 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20039 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20040 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20041 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20042 (
20043 cat <<\_ASBOX
20044 ## ------------------------------------ ##
20045 ## Report this to bug-autoconf@gnu.org. ##
20046 ## ------------------------------------ ##
20047 _ASBOX
20048 ) |
20049 sed "s/^/$as_me: WARNING: /" >&2
20050 ;;
20051 esac
20052 echo "$as_me:$LINENO: checking for windows.h" >&5
20053 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20054 if test "${ac_cv_header_windows_h+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057 ac_cv_header_windows_h=$ac_header_preproc
20058 fi
20059 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20060 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20061
20062 fi
20063 if test $ac_cv_header_windows_h = yes; then
20064 :
20065 else
20066
20067 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20068 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20069 { (exit 1); exit 1; }; }
20070
20071 fi
20072
20073
20074
20075 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20076
20077 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20078 LIBS="$LIBS -loleacc"
20079 fi
20080
20081 case "${host}" in
20082 *-*-cygwin* )
20083 LIBS="$LIBS -lkernel32 -luser32"
20084 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20085 esac
20086
20087 if test "$wxUSE_ODBC" = "sys" ; then
20088 wxUSE_ODBC = "yes"
20089 fi
20090 if test "$wxUSE_ODBC" = "yes" ; then
20091 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20092 cat >>confdefs.h <<\_ACEOF
20093 #define wxUSE_ODBC 1
20094 _ACEOF
20095
20096 fi
20097
20098 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20099 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20100
20101 WIN32INSTALL=win32install
20102 fi
20103
20104 if test "$wxUSE_GUI" = "yes"; then
20105 USE_GUI=1
20106
20107 GUI_TK_LIBRARY=
20108
20109 WXGTK12=
20110 WXGTK127=
20111 WXGTK20=
20112
20113 if test "$wxUSE_MSW" = 1 ; then
20114 TOOLKIT=MSW
20115 GUIDIST=MSW_DIST
20116
20117 case "${host}" in
20118 *-*-mingw32* )
20119 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20120 esac
20121 fi
20122
20123 if test "$wxUSE_GTK" = 1; then
20124 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20125 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20126
20127 gtk_version_cached=1
20128 if test "${wx_cv_lib_gtk+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 else
20131
20132 gtk_version_cached=0
20133 echo "$as_me:$LINENO: result: " >&5
20134 echo "${ECHO_T}" >&6
20135
20136 GTK_MODULES=
20137 if test "$wxUSE_THREADS" = "yes"; then
20138 GTK_MODULES=gthread
20139 fi
20140
20141 wx_cv_lib_gtk=
20142 if test "x$wxUSE_GTK2" = "xyes"; then
20143 # Check whether --enable-gtktest or --disable-gtktest was given.
20144 if test "${enable_gtktest+set}" = set; then
20145 enableval="$enable_gtktest"
20146
20147 else
20148 enable_gtktest=yes
20149 fi;
20150
20151 pkg_config_args=gtk+-2.0
20152 for module in . $GTK_MODULES
20153 do
20154 case "$module" in
20155 gthread)
20156 pkg_config_args="$pkg_config_args gthread-2.0"
20157 ;;
20158 esac
20159 done
20160
20161 no_gtk=""
20162
20163 # Extract the first word of "pkg-config", so it can be a program name with args.
20164 set dummy pkg-config; ac_word=$2
20165 echo "$as_me:$LINENO: checking for $ac_word" >&5
20166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20167 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 else
20170 case $PKG_CONFIG in
20171 [\\/]* | ?:[\\/]*)
20172 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20173 ;;
20174 *)
20175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20176 for as_dir in $PATH
20177 do
20178 IFS=$as_save_IFS
20179 test -z "$as_dir" && as_dir=.
20180 for ac_exec_ext in '' $ac_executable_extensions; do
20181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20182 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20184 break 2
20185 fi
20186 done
20187 done
20188
20189 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20190 ;;
20191 esac
20192 fi
20193 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20194
20195 if test -n "$PKG_CONFIG"; then
20196 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20197 echo "${ECHO_T}$PKG_CONFIG" >&6
20198 else
20199 echo "$as_me:$LINENO: result: no" >&5
20200 echo "${ECHO_T}no" >&6
20201 fi
20202
20203
20204 if test x$PKG_CONFIG != xno ; then
20205 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20206 :
20207 else
20208 echo *** pkg-config too old; version 0.7 or better required.
20209 no_gtk=yes
20210 PKG_CONFIG=no
20211 fi
20212 else
20213 no_gtk=yes
20214 fi
20215
20216 min_gtk_version=2.0.0
20217 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20218 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20219
20220 if test x$PKG_CONFIG != xno ; then
20221 ## don't try to run the test against uninstalled libtool libs
20222 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20223 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20224 enable_gtktest=no
20225 fi
20226
20227 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20228 :
20229 else
20230 no_gtk=yes
20231 fi
20232 fi
20233
20234 if test x"$no_gtk" = x ; then
20235 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20236 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20237 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20239 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20241 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20243 if test "x$enable_gtktest" = "xyes" ; then
20244 ac_save_CFLAGS="$CFLAGS"
20245 ac_save_LIBS="$LIBS"
20246 CFLAGS="$CFLAGS $GTK_CFLAGS"
20247 LIBS="$GTK_LIBS $LIBS"
20248 rm -f conf.gtktest
20249 if test "$cross_compiling" = yes; then
20250 echo $ac_n "cross compiling; assumed OK... $ac_c"
20251 else
20252 cat >conftest.$ac_ext <<_ACEOF
20253 #line $LINENO "configure"
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259
20260 #include <gtk/gtk.h>
20261 #include <stdio.h>
20262 #include <stdlib.h>
20263
20264 int
20265 main ()
20266 {
20267 int major, minor, micro;
20268 char *tmp_version;
20269
20270 system ("touch conf.gtktest");
20271
20272 /* HP/UX 9 (%@#!) writes to sscanf strings */
20273 tmp_version = g_strdup("$min_gtk_version");
20274 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20275 printf("%s, bad version string\n", "$min_gtk_version");
20276 exit(1);
20277 }
20278
20279 if ((gtk_major_version != $gtk_config_major_version) ||
20280 (gtk_minor_version != $gtk_config_minor_version) ||
20281 (gtk_micro_version != $gtk_config_micro_version))
20282 {
20283 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20284 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20285 gtk_major_version, gtk_minor_version, gtk_micro_version);
20286 printf ("*** was found! If pkg-config was correct, then it is best\n");
20287 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20288 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20289 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20290 printf("*** required on your system.\n");
20291 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20292 printf("*** to point to the correct configuration files\n");
20293 }
20294 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20295 (gtk_minor_version != GTK_MINOR_VERSION) ||
20296 (gtk_micro_version != GTK_MICRO_VERSION))
20297 {
20298 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20299 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20300 printf("*** library (version %d.%d.%d)\n",
20301 gtk_major_version, gtk_minor_version, gtk_micro_version);
20302 }
20303 else
20304 {
20305 if ((gtk_major_version > major) ||
20306 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20307 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20308 {
20309 return 0;
20310 }
20311 else
20312 {
20313 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20314 gtk_major_version, gtk_minor_version, gtk_micro_version);
20315 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20316 major, minor, micro);
20317 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20318 printf("***\n");
20319 printf("*** If you have already installed a sufficiently new version, this error\n");
20320 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20321 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20322 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20323 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20324 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20325 printf("*** so that the correct libraries are found at run-time))\n");
20326 }
20327 }
20328 return 1;
20329 }
20330
20331 _ACEOF
20332 rm -f conftest$ac_exeext
20333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20334 (eval $ac_link) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20340 ac_status=$?
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; }; then
20343 :
20344 else
20345 echo "$as_me: program exited with status $ac_status" >&5
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.$ac_ext >&5
20348
20349 ( exit $ac_status )
20350 no_gtk=yes
20351 fi
20352 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20353 fi
20354 CFLAGS="$ac_save_CFLAGS"
20355 LIBS="$ac_save_LIBS"
20356 fi
20357 fi
20358 if test "x$no_gtk" = x ; then
20359 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20360 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20361 wx_cv_lib_gtk=2.0
20362 else
20363 echo "$as_me:$LINENO: result: no" >&5
20364 echo "${ECHO_T}no" >&6
20365 if test "$PKG_CONFIG" = "no" ; then
20366 echo "*** A new enough version of pkg-config was not found."
20367 echo "*** See http://pkgconfig.sourceforge.net"
20368 else
20369 if test -f conf.gtktest ; then
20370 :
20371 else
20372 echo "*** Could not run GTK+ test program, checking why..."
20373 ac_save_CFLAGS="$CFLAGS"
20374 ac_save_LIBS="$LIBS"
20375 CFLAGS="$CFLAGS $GTK_CFLAGS"
20376 LIBS="$LIBS $GTK_LIBS"
20377 cat >conftest.$ac_ext <<_ACEOF
20378 #line $LINENO "configure"
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384
20385 #include <gtk/gtk.h>
20386 #include <stdio.h>
20387
20388 int
20389 main ()
20390 {
20391 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20392 ;
20393 return 0;
20394 }
20395 _ACEOF
20396 rm -f conftest.$ac_objext conftest$ac_exeext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20398 (eval $ac_link) 2>&5
20399 ac_status=$?
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try='test -s conftest$ac_exeext'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20405 ac_status=$?
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; }; then
20408 echo "*** The test program compiled, but did not run. This usually means"
20409 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20410 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20411 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20412 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20413 echo "*** is required on your system"
20414 echo "***"
20415 echo "*** If you have an old version installed, it is best to remove it, although"
20416 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20417 else
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.$ac_ext >&5
20420
20421 echo "*** The test program failed to compile or link. See the file config.log for the"
20422 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20423 fi
20424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20425 CFLAGS="$ac_save_CFLAGS"
20426 LIBS="$ac_save_LIBS"
20427 fi
20428 fi
20429 GTK_CFLAGS=""
20430 GTK_LIBS=""
20431 :
20432 fi
20433
20434
20435 rm -f conf.gtktest
20436
20437 else
20438
20439 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20440 if test "${with_gtk_prefix+set}" = set; then
20441 withval="$with_gtk_prefix"
20442 gtk_config_prefix="$withval"
20443 else
20444 gtk_config_prefix=""
20445 fi;
20446
20447 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20448 if test "${with_gtk_exec_prefix+set}" = set; then
20449 withval="$with_gtk_exec_prefix"
20450 gtk_config_exec_prefix="$withval"
20451 else
20452 gtk_config_exec_prefix=""
20453 fi;
20454 # Check whether --enable-gtktest or --disable-gtktest was given.
20455 if test "${enable_gtktest+set}" = set; then
20456 enableval="$enable_gtktest"
20457
20458 else
20459 enable_gtktest=yes
20460 fi;
20461
20462 for module in . $GTK_MODULES
20463 do
20464 case "$module" in
20465 gthread)
20466 gtk_config_args="$gtk_config_args gthread"
20467 ;;
20468 esac
20469 done
20470
20471 if test x$gtk_config_exec_prefix != x ; then
20472 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20473 if test x${GTK_CONFIG+set} != xset ; then
20474 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20475 fi
20476 fi
20477 if test x$gtk_config_prefix != x ; then
20478 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20479 if test x${GTK_CONFIG+set} != xset ; then
20480 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20481 fi
20482 fi
20483
20484 # Extract the first word of "gtk-config", so it can be a program name with args.
20485 set dummy gtk-config; ac_word=$2
20486 echo "$as_me:$LINENO: checking for $ac_word" >&5
20487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20488 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20491 case $GTK_CONFIG in
20492 [\\/]* | ?:[\\/]*)
20493 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20494 ;;
20495 *)
20496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20497 for as_dir in $PATH
20498 do
20499 IFS=$as_save_IFS
20500 test -z "$as_dir" && as_dir=.
20501 for ac_exec_ext in '' $ac_executable_extensions; do
20502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20503 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20505 break 2
20506 fi
20507 done
20508 done
20509
20510 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20511 ;;
20512 esac
20513 fi
20514 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20515
20516 if test -n "$GTK_CONFIG"; then
20517 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20518 echo "${ECHO_T}$GTK_CONFIG" >&6
20519 else
20520 echo "$as_me:$LINENO: result: no" >&5
20521 echo "${ECHO_T}no" >&6
20522 fi
20523
20524 min_gtk_version=1.2.7
20525 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20526 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20527 no_gtk=""
20528 if test "$GTK_CONFIG" = "no" ; then
20529 no_gtk=yes
20530 else
20531 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20532 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20533 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20535 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20537 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20538 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20539 if test "x$enable_gtktest" = "xyes" ; then
20540 ac_save_CFLAGS="$CFLAGS"
20541 ac_save_LIBS="$LIBS"
20542 CFLAGS="$CFLAGS $GTK_CFLAGS"
20543 LIBS="$GTK_LIBS $LIBS"
20544 rm -f conf.gtktest
20545 if test "$cross_compiling" = yes; then
20546 echo $ac_n "cross compiling; assumed OK... $ac_c"
20547 else
20548 cat >conftest.$ac_ext <<_ACEOF
20549 #line $LINENO "configure"
20550 /* confdefs.h. */
20551 _ACEOF
20552 cat confdefs.h >>conftest.$ac_ext
20553 cat >>conftest.$ac_ext <<_ACEOF
20554 /* end confdefs.h. */
20555
20556 #include <gtk/gtk.h>
20557 #include <stdio.h>
20558 #include <stdlib.h>
20559
20560 int
20561 main ()
20562 {
20563 int major, minor, micro;
20564 char *tmp_version;
20565
20566 system ("touch conf.gtktest");
20567
20568 /* HP/UX 9 (%@#!) writes to sscanf strings */
20569 tmp_version = g_strdup("$min_gtk_version");
20570 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20571 printf("%s, bad version string\n", "$min_gtk_version");
20572 exit(1);
20573 }
20574
20575 if ((gtk_major_version != $gtk_config_major_version) ||
20576 (gtk_minor_version != $gtk_config_minor_version) ||
20577 (gtk_micro_version != $gtk_config_micro_version))
20578 {
20579 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20580 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20581 gtk_major_version, gtk_minor_version, gtk_micro_version);
20582 printf ("*** was found! If gtk-config was correct, then it is best\n");
20583 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20584 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20585 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20586 printf("*** required on your system.\n");
20587 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20588 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20589 printf("*** before re-running configure\n");
20590 }
20591 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20592 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20593 (gtk_minor_version != GTK_MINOR_VERSION) ||
20594 (gtk_micro_version != GTK_MICRO_VERSION))
20595 {
20596 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20597 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20598 printf("*** library (version %d.%d.%d)\n",
20599 gtk_major_version, gtk_minor_version, gtk_micro_version);
20600 }
20601 #endif /* defined (GTK_MAJOR_VERSION) ... */
20602 else
20603 {
20604 if ((gtk_major_version > major) ||
20605 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20606 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20607 {
20608 return 0;
20609 }
20610 else
20611 {
20612 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20613 gtk_major_version, gtk_minor_version, gtk_micro_version);
20614 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20615 major, minor, micro);
20616 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20617 printf("***\n");
20618 printf("*** If you have already installed a sufficiently new version, this error\n");
20619 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20620 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20621 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20622 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20623 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20624 printf("*** so that the correct libraries are found at run-time))\n");
20625 }
20626 }
20627 return 1;
20628 }
20629
20630 _ACEOF
20631 rm -f conftest$ac_exeext
20632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20633 (eval $ac_link) 2>&5
20634 ac_status=$?
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20638 (eval $ac_try) 2>&5
20639 ac_status=$?
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); }; }; then
20642 :
20643 else
20644 echo "$as_me: program exited with status $ac_status" >&5
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20647
20648 ( exit $ac_status )
20649 no_gtk=yes
20650 fi
20651 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20652 fi
20653 CFLAGS="$ac_save_CFLAGS"
20654 LIBS="$ac_save_LIBS"
20655 fi
20656 fi
20657 if test "x$no_gtk" = x ; then
20658 echo "$as_me:$LINENO: result: yes" >&5
20659 echo "${ECHO_T}yes" >&6
20660 wx_cv_lib_gtk=1.2.7
20661 else
20662 echo "$as_me:$LINENO: result: no" >&5
20663 echo "${ECHO_T}no" >&6
20664 if test "$GTK_CONFIG" = "no" ; then
20665 echo "*** The gtk-config script installed by GTK could not be found"
20666 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20667 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20668 echo "*** full path to gtk-config."
20669 else
20670 if test -f conf.gtktest ; then
20671 :
20672 else
20673 echo "*** Could not run GTK test program, checking why..."
20674 CFLAGS="$CFLAGS $GTK_CFLAGS"
20675 LIBS="$LIBS $GTK_LIBS"
20676 cat >conftest.$ac_ext <<_ACEOF
20677 #line $LINENO "configure"
20678 /* confdefs.h. */
20679 _ACEOF
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683
20684 #include <gtk/gtk.h>
20685 #include <stdio.h>
20686
20687 int
20688 main ()
20689 {
20690 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20691 ;
20692 return 0;
20693 }
20694 _ACEOF
20695 rm -f conftest.$ac_objext conftest$ac_exeext
20696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20697 (eval $ac_link) 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } &&
20701 { ac_try='test -s conftest$ac_exeext'
20702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20703 (eval $ac_try) 2>&5
20704 ac_status=$?
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); }; }; then
20707 echo "*** The test program compiled, but did not run. This usually means"
20708 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20709 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20712 echo "*** is required on your system"
20713 echo "***"
20714 echo "*** If you have an old version installed, it is best to remove it, although"
20715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20716 echo "***"
20717 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20718 echo "*** came with the system with the command"
20719 echo "***"
20720 echo "*** rpm --erase --nodeps gtk gtk-devel"
20721 else
20722 echo "$as_me: failed program was:" >&5
20723 sed 's/^/| /' conftest.$ac_ext >&5
20724
20725 echo "*** The test program failed to compile or link. See the file config.log for the"
20726 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20727 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20728 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20729 fi
20730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20731 CFLAGS="$ac_save_CFLAGS"
20732 LIBS="$ac_save_LIBS"
20733 fi
20734 fi
20735 GTK_CFLAGS=""
20736 GTK_LIBS=""
20737 :
20738 fi
20739
20740
20741 rm -f conf.gtktest
20742
20743
20744 if test -z "$wx_cv_lib_gtk"; then
20745
20746 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20747 if test "${with_gtk_prefix+set}" = set; then
20748 withval="$with_gtk_prefix"
20749 gtk_config_prefix="$withval"
20750 else
20751 gtk_config_prefix=""
20752 fi;
20753
20754 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20755 if test "${with_gtk_exec_prefix+set}" = set; then
20756 withval="$with_gtk_exec_prefix"
20757 gtk_config_exec_prefix="$withval"
20758 else
20759 gtk_config_exec_prefix=""
20760 fi;
20761 # Check whether --enable-gtktest or --disable-gtktest was given.
20762 if test "${enable_gtktest+set}" = set; then
20763 enableval="$enable_gtktest"
20764
20765 else
20766 enable_gtktest=yes
20767 fi;
20768
20769 for module in . $GTK_MODULES
20770 do
20771 case "$module" in
20772 gthread)
20773 gtk_config_args="$gtk_config_args gthread"
20774 ;;
20775 esac
20776 done
20777
20778 if test x$gtk_config_exec_prefix != x ; then
20779 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20780 if test x${GTK_CONFIG+set} != xset ; then
20781 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20782 fi
20783 fi
20784 if test x$gtk_config_prefix != x ; then
20785 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20786 if test x${GTK_CONFIG+set} != xset ; then
20787 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20788 fi
20789 fi
20790
20791 # Extract the first word of "gtk-config", so it can be a program name with args.
20792 set dummy gtk-config; ac_word=$2
20793 echo "$as_me:$LINENO: checking for $ac_word" >&5
20794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20795 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 else
20798 case $GTK_CONFIG in
20799 [\\/]* | ?:[\\/]*)
20800 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20801 ;;
20802 *)
20803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20804 for as_dir in $PATH
20805 do
20806 IFS=$as_save_IFS
20807 test -z "$as_dir" && as_dir=.
20808 for ac_exec_ext in '' $ac_executable_extensions; do
20809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20810 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20812 break 2
20813 fi
20814 done
20815 done
20816
20817 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20818 ;;
20819 esac
20820 fi
20821 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20822
20823 if test -n "$GTK_CONFIG"; then
20824 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20825 echo "${ECHO_T}$GTK_CONFIG" >&6
20826 else
20827 echo "$as_me:$LINENO: result: no" >&5
20828 echo "${ECHO_T}no" >&6
20829 fi
20830
20831 min_gtk_version=1.2.3
20832 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20833 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20834 no_gtk=""
20835 if test "$GTK_CONFIG" = "no" ; then
20836 no_gtk=yes
20837 else
20838 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20839 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20840 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20842 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20844 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20846 if test "x$enable_gtktest" = "xyes" ; then
20847 ac_save_CFLAGS="$CFLAGS"
20848 ac_save_LIBS="$LIBS"
20849 CFLAGS="$CFLAGS $GTK_CFLAGS"
20850 LIBS="$GTK_LIBS $LIBS"
20851 rm -f conf.gtktest
20852 if test "$cross_compiling" = yes; then
20853 echo $ac_n "cross compiling; assumed OK... $ac_c"
20854 else
20855 cat >conftest.$ac_ext <<_ACEOF
20856 #line $LINENO "configure"
20857 /* confdefs.h. */
20858 _ACEOF
20859 cat confdefs.h >>conftest.$ac_ext
20860 cat >>conftest.$ac_ext <<_ACEOF
20861 /* end confdefs.h. */
20862
20863 #include <gtk/gtk.h>
20864 #include <stdio.h>
20865 #include <stdlib.h>
20866
20867 int
20868 main ()
20869 {
20870 int major, minor, micro;
20871 char *tmp_version;
20872
20873 system ("touch conf.gtktest");
20874
20875 /* HP/UX 9 (%@#!) writes to sscanf strings */
20876 tmp_version = g_strdup("$min_gtk_version");
20877 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20878 printf("%s, bad version string\n", "$min_gtk_version");
20879 exit(1);
20880 }
20881
20882 if ((gtk_major_version != $gtk_config_major_version) ||
20883 (gtk_minor_version != $gtk_config_minor_version) ||
20884 (gtk_micro_version != $gtk_config_micro_version))
20885 {
20886 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20887 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20888 gtk_major_version, gtk_minor_version, gtk_micro_version);
20889 printf ("*** was found! If gtk-config was correct, then it is best\n");
20890 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20891 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20892 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20893 printf("*** required on your system.\n");
20894 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20895 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20896 printf("*** before re-running configure\n");
20897 }
20898 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20899 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20900 (gtk_minor_version != GTK_MINOR_VERSION) ||
20901 (gtk_micro_version != GTK_MICRO_VERSION))
20902 {
20903 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20904 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20905 printf("*** library (version %d.%d.%d)\n",
20906 gtk_major_version, gtk_minor_version, gtk_micro_version);
20907 }
20908 #endif /* defined (GTK_MAJOR_VERSION) ... */
20909 else
20910 {
20911 if ((gtk_major_version > major) ||
20912 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20913 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20914 {
20915 return 0;
20916 }
20917 else
20918 {
20919 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20920 gtk_major_version, gtk_minor_version, gtk_micro_version);
20921 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20922 major, minor, micro);
20923 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20924 printf("***\n");
20925 printf("*** If you have already installed a sufficiently new version, this error\n");
20926 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20927 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20928 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20929 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20930 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20931 printf("*** so that the correct libraries are found at run-time))\n");
20932 }
20933 }
20934 return 1;
20935 }
20936
20937 _ACEOF
20938 rm -f conftest$ac_exeext
20939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20940 (eval $ac_link) 2>&5
20941 ac_status=$?
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20945 (eval $ac_try) 2>&5
20946 ac_status=$?
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20949 :
20950 else
20951 echo "$as_me: program exited with status $ac_status" >&5
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20954
20955 ( exit $ac_status )
20956 no_gtk=yes
20957 fi
20958 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20959 fi
20960 CFLAGS="$ac_save_CFLAGS"
20961 LIBS="$ac_save_LIBS"
20962 fi
20963 fi
20964 if test "x$no_gtk" = x ; then
20965 echo "$as_me:$LINENO: result: yes" >&5
20966 echo "${ECHO_T}yes" >&6
20967 wx_cv_lib_gtk=1.2.3
20968 else
20969 echo "$as_me:$LINENO: result: no" >&5
20970 echo "${ECHO_T}no" >&6
20971 if test "$GTK_CONFIG" = "no" ; then
20972 echo "*** The gtk-config script installed by GTK could not be found"
20973 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20974 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20975 echo "*** full path to gtk-config."
20976 else
20977 if test -f conf.gtktest ; then
20978 :
20979 else
20980 echo "*** Could not run GTK test program, checking why..."
20981 CFLAGS="$CFLAGS $GTK_CFLAGS"
20982 LIBS="$LIBS $GTK_LIBS"
20983 cat >conftest.$ac_ext <<_ACEOF
20984 #line $LINENO "configure"
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990
20991 #include <gtk/gtk.h>
20992 #include <stdio.h>
20993
20994 int
20995 main ()
20996 {
20997 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20998 ;
20999 return 0;
21000 }
21001 _ACEOF
21002 rm -f conftest.$ac_objext conftest$ac_exeext
21003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21004 (eval $ac_link) 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try='test -s conftest$ac_exeext'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21011 ac_status=$?
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; }; then
21014 echo "*** The test program compiled, but did not run. This usually means"
21015 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21016 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21017 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21018 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21019 echo "*** is required on your system"
21020 echo "***"
21021 echo "*** If you have an old version installed, it is best to remove it, although"
21022 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21023 echo "***"
21024 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21025 echo "*** came with the system with the command"
21026 echo "***"
21027 echo "*** rpm --erase --nodeps gtk gtk-devel"
21028 else
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21031
21032 echo "*** The test program failed to compile or link. See the file config.log for the"
21033 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21034 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21035 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21036 fi
21037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21038 CFLAGS="$ac_save_CFLAGS"
21039 LIBS="$ac_save_LIBS"
21040 fi
21041 fi
21042 GTK_CFLAGS=""
21043 GTK_LIBS=""
21044 :
21045 fi
21046
21047
21048 rm -f conf.gtktest
21049
21050 fi
21051 fi
21052
21053 if test -z "$wx_cv_lib_gtk"; then
21054 wx_cv_lib_gtk=none
21055 else
21056 wx_cv_cflags_gtk=$GTK_CFLAGS
21057 wx_cv_libs_gtk=$GTK_LIBS
21058 fi
21059
21060
21061 fi
21062
21063
21064 if test "$gtk_version_cached" = 1; then
21065 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21066 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21067 fi
21068
21069 case "$wx_cv_lib_gtk" in
21070 2.0) WXGTK20=1
21071 TOOLKIT_VERSION=2
21072 ;;
21073 1.2.7) WXGTK127=1
21074 WXGTK12=1
21075 ;;
21076 1.2.3) WXGTK12=1
21077 ;;
21078 *) { { echo "$as_me:$LINENO: error:
21079 Please check that gtk-config is in path, the directory
21080 where GTK+ libraries are installed (returned by
21081 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21082 equivalent variable and GTK+ is version 1.2.3 or above.
21083 " >&5
21084 echo "$as_me: error:
21085 Please check that gtk-config is in path, the directory
21086 where GTK+ libraries are installed (returned by
21087 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21088 equivalent variable and GTK+ is version 1.2.3 or above.
21089 " >&2;}
21090 { (exit 1); exit 1; }; }
21091 ;;
21092 esac
21093
21094 if test "$WXGTK20" = 1; then
21095 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21096
21097 succeeded=no
21098
21099 if test -z "$PKG_CONFIG"; then
21100 # Extract the first word of "pkg-config", so it can be a program name with args.
21101 set dummy pkg-config; ac_word=$2
21102 echo "$as_me:$LINENO: checking for $ac_word" >&5
21103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21104 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21105 echo $ECHO_N "(cached) $ECHO_C" >&6
21106 else
21107 case $PKG_CONFIG in
21108 [\\/]* | ?:[\\/]*)
21109 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21110 ;;
21111 *)
21112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21113 for as_dir in $PATH
21114 do
21115 IFS=$as_save_IFS
21116 test -z "$as_dir" && as_dir=.
21117 for ac_exec_ext in '' $ac_executable_extensions; do
21118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21119 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21121 break 2
21122 fi
21123 done
21124 done
21125
21126 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21127 ;;
21128 esac
21129 fi
21130 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21131
21132 if test -n "$PKG_CONFIG"; then
21133 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21134 echo "${ECHO_T}$PKG_CONFIG" >&6
21135 else
21136 echo "$as_me:$LINENO: result: no" >&5
21137 echo "${ECHO_T}no" >&6
21138 fi
21139
21140 fi
21141
21142 if test "$PKG_CONFIG" = "no" ; then
21143 echo "*** The pkg-config script could not be found. Make sure it is"
21144 echo "*** in your path, or set the PKG_CONFIG environment variable"
21145 echo "*** to the full path to pkg-config."
21146 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21147 else
21148 PKG_CONFIG_MIN_VERSION=0.9.0
21149 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21150 echo "$as_me:$LINENO: checking for pangoft2" >&5
21151 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21152
21153 if $PKG_CONFIG --exists "pangoft2" ; then
21154 echo "$as_me:$LINENO: result: yes" >&5
21155 echo "${ECHO_T}yes" >&6
21156 succeeded=yes
21157
21158 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21159 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21160 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21161 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21162 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21163
21164 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21165 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21166 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21167 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21168 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21169 else
21170 PANGOFT2_CFLAGS=""
21171 PANGOFT2_LIBS=""
21172 ## If we have a custom action on failure, don't print errors, but
21173 ## do set a variable so people can do so.
21174 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21175
21176 fi
21177
21178
21179
21180 else
21181 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21182 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21183 fi
21184 fi
21185
21186 if test $succeeded = yes; then
21187
21188 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21190
21191 else
21192
21193 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21194 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21195 wxUSE_PRINTING_ARCHITECTURE="no"
21196
21197
21198 fi
21199
21200 fi
21201 else
21202 if test "$wxUSE_UNICODE" = "yes"; then
21203 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21204 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21205 wxUSE_UNICODE=no
21206 fi
21207 fi
21208
21209 if test "$USE_DARWIN" != 1; then
21210
21211 for ac_func in poll
21212 do
21213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21214 echo "$as_me:$LINENO: checking for $ac_func" >&5
21215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21216 if eval "test \"\${$as_ac_var+set}\" = set"; then
21217 echo $ECHO_N "(cached) $ECHO_C" >&6
21218 else
21219 cat >conftest.$ac_ext <<_ACEOF
21220 #line $LINENO "configure"
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 /* System header to define __stub macros and hopefully few prototypes,
21227 which can conflict with char $ac_func (); below.
21228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21229 <limits.h> exists even on freestanding compilers. */
21230 #ifdef __STDC__
21231 # include <limits.h>
21232 #else
21233 # include <assert.h>
21234 #endif
21235 /* Override any gcc2 internal prototype to avoid an error. */
21236 #ifdef __cplusplus
21237 extern "C"
21238 {
21239 #endif
21240 /* We use char because int might match the return type of a gcc2
21241 builtin and then its argument prototype would still apply. */
21242 char $ac_func ();
21243 /* The GNU C library defines this for functions which it implements
21244 to always fail with ENOSYS. Some functions are actually named
21245 something starting with __ and the normal name is an alias. */
21246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21247 choke me
21248 #else
21249 char (*f) () = $ac_func;
21250 #endif
21251 #ifdef __cplusplus
21252 }
21253 #endif
21254
21255 int
21256 main ()
21257 {
21258 return f != $ac_func;
21259 ;
21260 return 0;
21261 }
21262 _ACEOF
21263 rm -f conftest.$ac_objext conftest$ac_exeext
21264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21265 (eval $ac_link) 2>&5
21266 ac_status=$?
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try='test -s conftest$ac_exeext'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21272 ac_status=$?
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 eval "$as_ac_var=yes"
21276 else
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.$ac_ext >&5
21279
21280 eval "$as_ac_var=no"
21281 fi
21282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21283 fi
21284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21286 if test `eval echo '${'$as_ac_var'}'` = yes; then
21287 cat >>confdefs.h <<_ACEOF
21288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21289 _ACEOF
21290
21291 fi
21292 done
21293
21294 fi
21295
21296 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21297 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21298
21299 AFMINSTALL=afminstall
21300 TOOLKIT=GTK
21301 GUIDIST=GTK_DIST
21302
21303 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21304 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21305 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21306 echo $ECHO_N "(cached) $ECHO_C" >&6
21307 else
21308 ac_check_lib_save_LIBS=$LIBS
21309 LIBS="-lgdk $LIBS"
21310 cat >conftest.$ac_ext <<_ACEOF
21311 #line $LINENO "configure"
21312 /* confdefs.h. */
21313 _ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317
21318 /* Override any gcc2 internal prototype to avoid an error. */
21319 #ifdef __cplusplus
21320 extern "C"
21321 #endif
21322 /* We use char because int might match the return type of a gcc2
21323 builtin and then its argument prototype would still apply. */
21324 char gdk_im_open ();
21325 int
21326 main ()
21327 {
21328 gdk_im_open ();
21329 ;
21330 return 0;
21331 }
21332 _ACEOF
21333 rm -f conftest.$ac_objext conftest$ac_exeext
21334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21335 (eval $ac_link) 2>&5
21336 ac_status=$?
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try='test -s conftest$ac_exeext'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21342 ac_status=$?
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; }; then
21345 ac_cv_lib_gdk_gdk_im_open=yes
21346 else
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.$ac_ext >&5
21349
21350 ac_cv_lib_gdk_gdk_im_open=no
21351 fi
21352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21353 LIBS=$ac_check_lib_save_LIBS
21354 fi
21355 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21356 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21357 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21358 cat >>confdefs.h <<\_ACEOF
21359 #define HAVE_XIM 1
21360 _ACEOF
21361
21362 fi
21363
21364 fi
21365
21366 if test "$wxUSE_MGL" = 1; then
21367 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21368 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21369 if test "x$MGL_ROOT" = x ; then
21370 echo "$as_me:$LINENO: result: not found" >&5
21371 echo "${ECHO_T}not found" >&6
21372 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21373 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21374 { (exit 1); exit 1; }; }
21375 else
21376 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21377 echo "${ECHO_T}$MGL_ROOT" >&6
21378 fi
21379
21380 echo "$as_me:$LINENO: checking for libmgl location" >&5
21381 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21382 case "${host}" in
21383 *-*-linux* )
21384 if test "x$wxUSE_SHARED" = xyes ; then
21385 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21386 else
21387 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21388 fi
21389 ;;
21390 *-pc-msdosdjgpp )
21391 mgl_os_candidates="dos32/dj2"
21392 ;;
21393 *)
21394 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21395 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21396 { (exit 1); exit 1; }; }
21397 esac
21398
21399 mgl_lib_type=""
21400 mgl_os=""
21401
21402 for mgl_os_i in $mgl_os_candidates ; do
21403 if test "x$mgl_os" = x ; then
21404 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21405 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21406 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21407 mgl_lib_type=debug
21408 mgl_os=$mgl_os_i
21409 fi
21410 fi
21411 if test "x$mgl_lib_type" = x ; then
21412 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21413 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21414 mgl_lib_type=release
21415 mgl_os=$mgl_os_i
21416 fi
21417 fi
21418 fi
21419 done
21420
21421 if test "x$mgl_os" = x ; then
21422 echo "$as_me:$LINENO: result: not found" >&5
21423 echo "${ECHO_T}not found" >&6
21424 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21425 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21426 { (exit 1); exit 1; }; }
21427 fi
21428 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21429 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21430
21431 wxUSE_UNIVERSAL="yes"
21432
21433 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21434 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21435
21436 AFMINSTALL=afminstall
21437 TOOLKIT=MGL
21438 GUIDIST=MGL_DIST
21439 fi
21440
21441 if test "$wxUSE_MICROWIN" = 1; then
21442 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21443 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21444 if test "x$MICROWINDOWS" = x ; then
21445 echo "$as_me:$LINENO: result: not found" >&5
21446 echo "${ECHO_T}not found" >&6
21447 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21448 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21449 { (exit 1); exit 1; }; }
21450 else
21451 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21452 echo "${ECHO_T}$MICROWINDOWS" >&6
21453 fi
21454
21455 if test -f $MICROWINDOWS/lib/libmwin.a; then
21456 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21457 echo "${ECHO_T}MicroWindows' libraries found." >&6
21458 else
21459 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21460 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21461 { (exit 1); exit 1; }; }
21462 fi
21463
21464 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21465 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21466
21467 wxUSE_UNIVERSAL="yes"
21468
21469 AFMINSTALL=afminstall
21470 TOOLKIT=MICROWIN
21471 GUIDIST=MICROWIN_DIST
21472
21473 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21474 fi
21475
21476 if test "$wxUSE_X11" = 1; then
21477 echo "$as_me:$LINENO: checking for X" >&5
21478 echo $ECHO_N "checking for X... $ECHO_C" >&6
21479
21480
21481 # Check whether --with-x or --without-x was given.
21482 if test "${with_x+set}" = set; then
21483 withval="$with_x"
21484
21485 fi;
21486 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21487 if test "x$with_x" = xno; then
21488 # The user explicitly disabled X.
21489 have_x=disabled
21490 else
21491 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21492 # Both variables are already set.
21493 have_x=yes
21494 else
21495 if test "${ac_cv_have_x+set}" = set; then
21496 echo $ECHO_N "(cached) $ECHO_C" >&6
21497 else
21498 # One or both of the vars are not set, and there is no cached value.
21499 ac_x_includes=no ac_x_libraries=no
21500 rm -fr conftest.dir
21501 if mkdir conftest.dir; then
21502 cd conftest.dir
21503 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21504 cat >Imakefile <<'_ACEOF'
21505 acfindx:
21506 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21507 _ACEOF
21508 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21509 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21510 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21511 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21512 for ac_extension in a so sl; do
21513 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21514 test -f $ac_im_libdir/libX11.$ac_extension; then
21515 ac_im_usrlibdir=$ac_im_libdir; break
21516 fi
21517 done
21518 # Screen out bogus values from the imake configuration. They are
21519 # bogus both because they are the default anyway, and because
21520 # using them would break gcc on systems where it needs fixed includes.
21521 case $ac_im_incroot in
21522 /usr/include) ;;
21523 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21524 esac
21525 case $ac_im_usrlibdir in
21526 /usr/lib | /lib) ;;
21527 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21528 esac
21529 fi
21530 cd ..
21531 rm -fr conftest.dir
21532 fi
21533
21534 # Standard set of common directories for X headers.
21535 # Check X11 before X11Rn because it is often a symlink to the current release.
21536 ac_x_header_dirs='
21537 /usr/X11/include
21538 /usr/X11R6/include
21539 /usr/X11R5/include
21540 /usr/X11R4/include
21541
21542 /usr/include/X11
21543 /usr/include/X11R6
21544 /usr/include/X11R5
21545 /usr/include/X11R4
21546
21547 /usr/local/X11/include
21548 /usr/local/X11R6/include
21549 /usr/local/X11R5/include
21550 /usr/local/X11R4/include
21551
21552 /usr/local/include/X11
21553 /usr/local/include/X11R6
21554 /usr/local/include/X11R5
21555 /usr/local/include/X11R4
21556
21557 /usr/X386/include
21558 /usr/x386/include
21559 /usr/XFree86/include/X11
21560
21561 /usr/include
21562 /usr/local/include
21563 /usr/unsupported/include
21564 /usr/athena/include
21565 /usr/local/x11r5/include
21566 /usr/lpp/Xamples/include
21567
21568 /usr/openwin/include
21569 /usr/openwin/share/include'
21570
21571 if test "$ac_x_includes" = no; then
21572 # Guess where to find include files, by looking for Intrinsic.h.
21573 # First, try using that file with no special directory specified.
21574 cat >conftest.$ac_ext <<_ACEOF
21575 #line $LINENO "configure"
21576 /* confdefs.h. */
21577 _ACEOF
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 #include <X11/Intrinsic.h>
21582 _ACEOF
21583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21585 ac_status=$?
21586 grep -v '^ *+' conftest.er1 >conftest.err
21587 rm -f conftest.er1
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } >/dev/null; then
21591 if test -s conftest.err; then
21592 ac_cpp_err=$ac_c_preproc_warn_flag
21593 else
21594 ac_cpp_err=
21595 fi
21596 else
21597 ac_cpp_err=yes
21598 fi
21599 if test -z "$ac_cpp_err"; then
21600 # We can compile using X headers with no special include directory.
21601 ac_x_includes=
21602 else
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21605
21606 for ac_dir in $ac_x_header_dirs; do
21607 if test -r "$ac_dir/X11/Intrinsic.h"; then
21608 ac_x_includes=$ac_dir
21609 break
21610 fi
21611 done
21612 fi
21613 rm -f conftest.err conftest.$ac_ext
21614 fi # $ac_x_includes = no
21615
21616 if test "$ac_x_libraries" = no; then
21617 # Check for the libraries.
21618 # See if we find them without any special options.
21619 # Don't add to $LIBS permanently.
21620 ac_save_LIBS=$LIBS
21621 LIBS="-lXt $LIBS"
21622 cat >conftest.$ac_ext <<_ACEOF
21623 #line $LINENO "configure"
21624 /* confdefs.h. */
21625 _ACEOF
21626 cat confdefs.h >>conftest.$ac_ext
21627 cat >>conftest.$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629 #include <X11/Intrinsic.h>
21630 int
21631 main ()
21632 {
21633 XtMalloc (0)
21634 ;
21635 return 0;
21636 }
21637 _ACEOF
21638 rm -f conftest.$ac_objext conftest$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } &&
21644 { ac_try='test -s conftest$ac_exeext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 LIBS=$ac_save_LIBS
21651 # We can link X programs with no special library path.
21652 ac_x_libraries=
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 LIBS=$ac_save_LIBS
21658 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21659 do
21660 # Don't even attempt the hair of trying to link an X program!
21661 for ac_extension in a so sl; do
21662 if test -r $ac_dir/libXt.$ac_extension; then
21663 ac_x_libraries=$ac_dir
21664 break 2
21665 fi
21666 done
21667 done
21668 fi
21669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21670 fi # $ac_x_libraries = no
21671
21672 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21673 # Didn't find X anywhere. Cache the known absence of X.
21674 ac_cv_have_x="have_x=no"
21675 else
21676 # Record where we found X for the cache.
21677 ac_cv_have_x="have_x=yes \
21678 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21679 fi
21680 fi
21681
21682 fi
21683 eval "$ac_cv_have_x"
21684 fi # $with_x != no
21685
21686 if test "$have_x" != yes; then
21687 echo "$as_me:$LINENO: result: $have_x" >&5
21688 echo "${ECHO_T}$have_x" >&6
21689 no_x=yes
21690 else
21691 # If each of the values was on the command line, it overrides each guess.
21692 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21693 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21694 # Update the cache value to reflect the command line values.
21695 ac_cv_have_x="have_x=yes \
21696 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21697 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21698 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21699 fi
21700
21701 if test "$no_x" = yes; then
21702 # Not all programs may use this symbol, but it does not hurt to define it.
21703
21704 cat >>confdefs.h <<\_ACEOF
21705 #define X_DISPLAY_MISSING 1
21706 _ACEOF
21707
21708 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21709 else
21710 if test -n "$x_includes"; then
21711 X_CFLAGS="$X_CFLAGS -I$x_includes"
21712 fi
21713
21714 # It would also be nice to do this for all -L options, not just this one.
21715 if test -n "$x_libraries"; then
21716 X_LIBS="$X_LIBS -L$x_libraries"
21717 # For Solaris; some versions of Sun CC require a space after -R and
21718 # others require no space. Words are not sufficient . . . .
21719 case `(uname -sr) 2>/dev/null` in
21720 "SunOS 5"*)
21721 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21722 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21723 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21724 cat >conftest.$ac_ext <<_ACEOF
21725 #line $LINENO "configure"
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731
21732 int
21733 main ()
21734 {
21735
21736 ;
21737 return 0;
21738 }
21739 _ACEOF
21740 rm -f conftest.$ac_objext conftest$ac_exeext
21741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21742 (eval $ac_link) 2>&5
21743 ac_status=$?
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try='test -s conftest$ac_exeext'
21747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21748 (eval $ac_try) 2>&5
21749 ac_status=$?
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); }; }; then
21752 ac_R_nospace=yes
21753 else
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.$ac_ext >&5
21756
21757 ac_R_nospace=no
21758 fi
21759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21760 if test $ac_R_nospace = yes; then
21761 echo "$as_me:$LINENO: result: no" >&5
21762 echo "${ECHO_T}no" >&6
21763 X_LIBS="$X_LIBS -R$x_libraries"
21764 else
21765 LIBS="$ac_xsave_LIBS -R $x_libraries"
21766 cat >conftest.$ac_ext <<_ACEOF
21767 #line $LINENO "configure"
21768 /* confdefs.h. */
21769 _ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21773
21774 int
21775 main ()
21776 {
21777
21778 ;
21779 return 0;
21780 }
21781 _ACEOF
21782 rm -f conftest.$ac_objext conftest$ac_exeext
21783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21784 (eval $ac_link) 2>&5
21785 ac_status=$?
21786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 (exit $ac_status); } &&
21788 { ac_try='test -s conftest$ac_exeext'
21789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21790 (eval $ac_try) 2>&5
21791 ac_status=$?
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); }; }; then
21794 ac_R_space=yes
21795 else
21796 echo "$as_me: failed program was:" >&5
21797 sed 's/^/| /' conftest.$ac_ext >&5
21798
21799 ac_R_space=no
21800 fi
21801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21802 if test $ac_R_space = yes; then
21803 echo "$as_me:$LINENO: result: yes" >&5
21804 echo "${ECHO_T}yes" >&6
21805 X_LIBS="$X_LIBS -R $x_libraries"
21806 else
21807 echo "$as_me:$LINENO: result: neither works" >&5
21808 echo "${ECHO_T}neither works" >&6
21809 fi
21810 fi
21811 LIBS=$ac_xsave_LIBS
21812 esac
21813 fi
21814
21815 # Check for system-dependent libraries X programs must link with.
21816 # Do this before checking for the system-independent R6 libraries
21817 # (-lICE), since we may need -lsocket or whatever for X linking.
21818
21819 if test "$ISC" = yes; then
21820 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21821 else
21822 # Martyn Johnson says this is needed for Ultrix, if the X
21823 # libraries were built with DECnet support. And Karl Berry says
21824 # the Alpha needs dnet_stub (dnet does not exist).
21825 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21826 cat >conftest.$ac_ext <<_ACEOF
21827 #line $LINENO "configure"
21828 /* confdefs.h. */
21829 _ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21833
21834 /* Override any gcc2 internal prototype to avoid an error. */
21835 #ifdef __cplusplus
21836 extern "C"
21837 #endif
21838 /* We use char because int might match the return type of a gcc2
21839 builtin and then its argument prototype would still apply. */
21840 char XOpenDisplay ();
21841 int
21842 main ()
21843 {
21844 XOpenDisplay ();
21845 ;
21846 return 0;
21847 }
21848 _ACEOF
21849 rm -f conftest.$ac_objext conftest$ac_exeext
21850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21851 (eval $ac_link) 2>&5
21852 ac_status=$?
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -s conftest$ac_exeext'
21856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21857 (eval $ac_try) 2>&5
21858 ac_status=$?
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); }; }; then
21861 :
21862 else
21863 echo "$as_me: failed program was:" >&5
21864 sed 's/^/| /' conftest.$ac_ext >&5
21865
21866 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21867 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21868 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 else
21871 ac_check_lib_save_LIBS=$LIBS
21872 LIBS="-ldnet $LIBS"
21873 cat >conftest.$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880
21881 /* Override any gcc2 internal prototype to avoid an error. */
21882 #ifdef __cplusplus
21883 extern "C"
21884 #endif
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21887 char dnet_ntoa ();
21888 int
21889 main ()
21890 {
21891 dnet_ntoa ();
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 rm -f conftest.$ac_objext conftest$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>&5
21899 ac_status=$?
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try='test -s conftest$ac_exeext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21905 ac_status=$?
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 ac_cv_lib_dnet_dnet_ntoa=yes
21909 else
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21912
21913 ac_cv_lib_dnet_dnet_ntoa=no
21914 fi
21915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21916 LIBS=$ac_check_lib_save_LIBS
21917 fi
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21919 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21920 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21921 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21922 fi
21923
21924 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21925 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21926 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21927 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21929 else
21930 ac_check_lib_save_LIBS=$LIBS
21931 LIBS="-ldnet_stub $LIBS"
21932 cat >conftest.$ac_ext <<_ACEOF
21933 #line $LINENO "configure"
21934 /* confdefs.h. */
21935 _ACEOF
21936 cat confdefs.h >>conftest.$ac_ext
21937 cat >>conftest.$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21939
21940 /* Override any gcc2 internal prototype to avoid an error. */
21941 #ifdef __cplusplus
21942 extern "C"
21943 #endif
21944 /* We use char because int might match the return type of a gcc2
21945 builtin and then its argument prototype would still apply. */
21946 char dnet_ntoa ();
21947 int
21948 main ()
21949 {
21950 dnet_ntoa ();
21951 ;
21952 return 0;
21953 }
21954 _ACEOF
21955 rm -f conftest.$ac_objext conftest$ac_exeext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21957 (eval $ac_link) 2>&5
21958 ac_status=$?
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); } &&
21961 { ac_try='test -s conftest$ac_exeext'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21964 ac_status=$?
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; }; then
21967 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21968 else
21969 echo "$as_me: failed program was:" >&5
21970 sed 's/^/| /' conftest.$ac_ext >&5
21971
21972 ac_cv_lib_dnet_stub_dnet_ntoa=no
21973 fi
21974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21975 LIBS=$ac_check_lib_save_LIBS
21976 fi
21977 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21978 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21979 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21980 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21981 fi
21982
21983 fi
21984 fi
21985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21986 LIBS="$ac_xsave_LIBS"
21987
21988 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21989 # to get the SysV transport functions.
21990 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21991 # needs -lnsl.
21992 # The nsl library prevents programs from opening the X display
21993 # on Irix 5.2, according to T.E. Dickey.
21994 # The functions gethostbyname, getservbyname, and inet_addr are
21995 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21996 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21997 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21998 if test "${ac_cv_func_gethostbyname+set}" = set; then
21999 echo $ECHO_N "(cached) $ECHO_C" >&6
22000 else
22001 cat >conftest.$ac_ext <<_ACEOF
22002 #line $LINENO "configure"
22003 /* confdefs.h. */
22004 _ACEOF
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 /* System header to define __stub macros and hopefully few prototypes,
22009 which can conflict with char gethostbyname (); below.
22010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22011 <limits.h> exists even on freestanding compilers. */
22012 #ifdef __STDC__
22013 # include <limits.h>
22014 #else
22015 # include <assert.h>
22016 #endif
22017 /* Override any gcc2 internal prototype to avoid an error. */
22018 #ifdef __cplusplus
22019 extern "C"
22020 {
22021 #endif
22022 /* We use char because int might match the return type of a gcc2
22023 builtin and then its argument prototype would still apply. */
22024 char gethostbyname ();
22025 /* The GNU C library defines this for functions which it implements
22026 to always fail with ENOSYS. Some functions are actually named
22027 something starting with __ and the normal name is an alias. */
22028 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22029 choke me
22030 #else
22031 char (*f) () = gethostbyname;
22032 #endif
22033 #ifdef __cplusplus
22034 }
22035 #endif
22036
22037 int
22038 main ()
22039 {
22040 return f != gethostbyname;
22041 ;
22042 return 0;
22043 }
22044 _ACEOF
22045 rm -f conftest.$ac_objext conftest$ac_exeext
22046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22047 (eval $ac_link) 2>&5
22048 ac_status=$?
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try='test -s conftest$ac_exeext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22054 ac_status=$?
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 ac_cv_func_gethostbyname=yes
22058 else
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.$ac_ext >&5
22061
22062 ac_cv_func_gethostbyname=no
22063 fi
22064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22065 fi
22066 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22067 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22068
22069 if test $ac_cv_func_gethostbyname = no; then
22070 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22071 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22072 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22073 echo $ECHO_N "(cached) $ECHO_C" >&6
22074 else
22075 ac_check_lib_save_LIBS=$LIBS
22076 LIBS="-lnsl $LIBS"
22077 cat >conftest.$ac_ext <<_ACEOF
22078 #line $LINENO "configure"
22079 /* confdefs.h. */
22080 _ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084
22085 /* Override any gcc2 internal prototype to avoid an error. */
22086 #ifdef __cplusplus
22087 extern "C"
22088 #endif
22089 /* We use char because int might match the return type of a gcc2
22090 builtin and then its argument prototype would still apply. */
22091 char gethostbyname ();
22092 int
22093 main ()
22094 {
22095 gethostbyname ();
22096 ;
22097 return 0;
22098 }
22099 _ACEOF
22100 rm -f conftest.$ac_objext conftest$ac_exeext
22101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22102 (eval $ac_link) 2>&5
22103 ac_status=$?
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } &&
22106 { ac_try='test -s conftest$ac_exeext'
22107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108 (eval $ac_try) 2>&5
22109 ac_status=$?
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; }; then
22112 ac_cv_lib_nsl_gethostbyname=yes
22113 else
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22116
22117 ac_cv_lib_nsl_gethostbyname=no
22118 fi
22119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22120 LIBS=$ac_check_lib_save_LIBS
22121 fi
22122 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22123 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22124 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22125 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22126 fi
22127
22128 if test $ac_cv_lib_nsl_gethostbyname = no; then
22129 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22130 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22131 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22132 echo $ECHO_N "(cached) $ECHO_C" >&6
22133 else
22134 ac_check_lib_save_LIBS=$LIBS
22135 LIBS="-lbsd $LIBS"
22136 cat >conftest.$ac_ext <<_ACEOF
22137 #line $LINENO "configure"
22138 /* confdefs.h. */
22139 _ACEOF
22140 cat confdefs.h >>conftest.$ac_ext
22141 cat >>conftest.$ac_ext <<_ACEOF
22142 /* end confdefs.h. */
22143
22144 /* Override any gcc2 internal prototype to avoid an error. */
22145 #ifdef __cplusplus
22146 extern "C"
22147 #endif
22148 /* We use char because int might match the return type of a gcc2
22149 builtin and then its argument prototype would still apply. */
22150 char gethostbyname ();
22151 int
22152 main ()
22153 {
22154 gethostbyname ();
22155 ;
22156 return 0;
22157 }
22158 _ACEOF
22159 rm -f conftest.$ac_objext conftest$ac_exeext
22160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22161 (eval $ac_link) 2>&5
22162 ac_status=$?
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); } &&
22165 { ac_try='test -s conftest$ac_exeext'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; }; then
22171 ac_cv_lib_bsd_gethostbyname=yes
22172 else
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.$ac_ext >&5
22175
22176 ac_cv_lib_bsd_gethostbyname=no
22177 fi
22178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22179 LIBS=$ac_check_lib_save_LIBS
22180 fi
22181 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22182 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22183 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22184 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22185 fi
22186
22187 fi
22188 fi
22189
22190 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22191 # socket/setsockopt and other routines are undefined under SCO ODT
22192 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22193 # on later versions), says Simon Leinen: it contains gethostby*
22194 # variants that don't use the name server (or something). -lsocket
22195 # must be given before -lnsl if both are needed. We assume that
22196 # if connect needs -lnsl, so does gethostbyname.
22197 echo "$as_me:$LINENO: checking for connect" >&5
22198 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22199 if test "${ac_cv_func_connect+set}" = set; then
22200 echo $ECHO_N "(cached) $ECHO_C" >&6
22201 else
22202 cat >conftest.$ac_ext <<_ACEOF
22203 #line $LINENO "configure"
22204 /* confdefs.h. */
22205 _ACEOF
22206 cat confdefs.h >>conftest.$ac_ext
22207 cat >>conftest.$ac_ext <<_ACEOF
22208 /* end confdefs.h. */
22209 /* System header to define __stub macros and hopefully few prototypes,
22210 which can conflict with char connect (); below.
22211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22212 <limits.h> exists even on freestanding compilers. */
22213 #ifdef __STDC__
22214 # include <limits.h>
22215 #else
22216 # include <assert.h>
22217 #endif
22218 /* Override any gcc2 internal prototype to avoid an error. */
22219 #ifdef __cplusplus
22220 extern "C"
22221 {
22222 #endif
22223 /* We use char because int might match the return type of a gcc2
22224 builtin and then its argument prototype would still apply. */
22225 char connect ();
22226 /* The GNU C library defines this for functions which it implements
22227 to always fail with ENOSYS. Some functions are actually named
22228 something starting with __ and the normal name is an alias. */
22229 #if defined (__stub_connect) || defined (__stub___connect)
22230 choke me
22231 #else
22232 char (*f) () = connect;
22233 #endif
22234 #ifdef __cplusplus
22235 }
22236 #endif
22237
22238 int
22239 main ()
22240 {
22241 return f != connect;
22242 ;
22243 return 0;
22244 }
22245 _ACEOF
22246 rm -f conftest.$ac_objext conftest$ac_exeext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22248 (eval $ac_link) 2>&5
22249 ac_status=$?
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try='test -s conftest$ac_exeext'
22253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254 (eval $ac_try) 2>&5
22255 ac_status=$?
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; }; then
22258 ac_cv_func_connect=yes
22259 else
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 ac_cv_func_connect=no
22264 fi
22265 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22266 fi
22267 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22268 echo "${ECHO_T}$ac_cv_func_connect" >&6
22269
22270 if test $ac_cv_func_connect = no; then
22271 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22272 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22273 if test "${ac_cv_lib_socket_connect+set}" = set; then
22274 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 else
22276 ac_check_lib_save_LIBS=$LIBS
22277 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22278 cat >conftest.$ac_ext <<_ACEOF
22279 #line $LINENO "configure"
22280 /* confdefs.h. */
22281 _ACEOF
22282 cat confdefs.h >>conftest.$ac_ext
22283 cat >>conftest.$ac_ext <<_ACEOF
22284 /* end confdefs.h. */
22285
22286 /* Override any gcc2 internal prototype to avoid an error. */
22287 #ifdef __cplusplus
22288 extern "C"
22289 #endif
22290 /* We use char because int might match the return type of a gcc2
22291 builtin and then its argument prototype would still apply. */
22292 char connect ();
22293 int
22294 main ()
22295 {
22296 connect ();
22297 ;
22298 return 0;
22299 }
22300 _ACEOF
22301 rm -f conftest.$ac_objext conftest$ac_exeext
22302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22303 (eval $ac_link) 2>&5
22304 ac_status=$?
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } &&
22307 { ac_try='test -s conftest$ac_exeext'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22310 ac_status=$?
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; }; then
22313 ac_cv_lib_socket_connect=yes
22314 else
22315 echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.$ac_ext >&5
22317
22318 ac_cv_lib_socket_connect=no
22319 fi
22320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22321 LIBS=$ac_check_lib_save_LIBS
22322 fi
22323 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22324 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22325 if test $ac_cv_lib_socket_connect = yes; then
22326 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22327 fi
22328
22329 fi
22330
22331 # Guillermo Gomez says -lposix is necessary on A/UX.
22332 echo "$as_me:$LINENO: checking for remove" >&5
22333 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22334 if test "${ac_cv_func_remove+set}" = set; then
22335 echo $ECHO_N "(cached) $ECHO_C" >&6
22336 else
22337 cat >conftest.$ac_ext <<_ACEOF
22338 #line $LINENO "configure"
22339 /* confdefs.h. */
22340 _ACEOF
22341 cat confdefs.h >>conftest.$ac_ext
22342 cat >>conftest.$ac_ext <<_ACEOF
22343 /* end confdefs.h. */
22344 /* System header to define __stub macros and hopefully few prototypes,
22345 which can conflict with char remove (); below.
22346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22347 <limits.h> exists even on freestanding compilers. */
22348 #ifdef __STDC__
22349 # include <limits.h>
22350 #else
22351 # include <assert.h>
22352 #endif
22353 /* Override any gcc2 internal prototype to avoid an error. */
22354 #ifdef __cplusplus
22355 extern "C"
22356 {
22357 #endif
22358 /* We use char because int might match the return type of a gcc2
22359 builtin and then its argument prototype would still apply. */
22360 char remove ();
22361 /* The GNU C library defines this for functions which it implements
22362 to always fail with ENOSYS. Some functions are actually named
22363 something starting with __ and the normal name is an alias. */
22364 #if defined (__stub_remove) || defined (__stub___remove)
22365 choke me
22366 #else
22367 char (*f) () = remove;
22368 #endif
22369 #ifdef __cplusplus
22370 }
22371 #endif
22372
22373 int
22374 main ()
22375 {
22376 return f != remove;
22377 ;
22378 return 0;
22379 }
22380 _ACEOF
22381 rm -f conftest.$ac_objext conftest$ac_exeext
22382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22383 (eval $ac_link) 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); } &&
22387 { ac_try='test -s conftest$ac_exeext'
22388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22389 (eval $ac_try) 2>&5
22390 ac_status=$?
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); }; }; then
22393 ac_cv_func_remove=yes
22394 else
22395 echo "$as_me: failed program was:" >&5
22396 sed 's/^/| /' conftest.$ac_ext >&5
22397
22398 ac_cv_func_remove=no
22399 fi
22400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22401 fi
22402 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22403 echo "${ECHO_T}$ac_cv_func_remove" >&6
22404
22405 if test $ac_cv_func_remove = no; then
22406 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22407 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22408 if test "${ac_cv_lib_posix_remove+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22410 else
22411 ac_check_lib_save_LIBS=$LIBS
22412 LIBS="-lposix $LIBS"
22413 cat >conftest.$ac_ext <<_ACEOF
22414 #line $LINENO "configure"
22415 /* confdefs.h. */
22416 _ACEOF
22417 cat confdefs.h >>conftest.$ac_ext
22418 cat >>conftest.$ac_ext <<_ACEOF
22419 /* end confdefs.h. */
22420
22421 /* Override any gcc2 internal prototype to avoid an error. */
22422 #ifdef __cplusplus
22423 extern "C"
22424 #endif
22425 /* We use char because int might match the return type of a gcc2
22426 builtin and then its argument prototype would still apply. */
22427 char remove ();
22428 int
22429 main ()
22430 {
22431 remove ();
22432 ;
22433 return 0;
22434 }
22435 _ACEOF
22436 rm -f conftest.$ac_objext conftest$ac_exeext
22437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22438 (eval $ac_link) 2>&5
22439 ac_status=$?
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try='test -s conftest$ac_exeext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22445 ac_status=$?
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 ac_cv_lib_posix_remove=yes
22449 else
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.$ac_ext >&5
22452
22453 ac_cv_lib_posix_remove=no
22454 fi
22455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22456 LIBS=$ac_check_lib_save_LIBS
22457 fi
22458 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22459 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22460 if test $ac_cv_lib_posix_remove = yes; then
22461 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22462 fi
22463
22464 fi
22465
22466 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22467 echo "$as_me:$LINENO: checking for shmat" >&5
22468 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22469 if test "${ac_cv_func_shmat+set}" = set; then
22470 echo $ECHO_N "(cached) $ECHO_C" >&6
22471 else
22472 cat >conftest.$ac_ext <<_ACEOF
22473 #line $LINENO "configure"
22474 /* confdefs.h. */
22475 _ACEOF
22476 cat confdefs.h >>conftest.$ac_ext
22477 cat >>conftest.$ac_ext <<_ACEOF
22478 /* end confdefs.h. */
22479 /* System header to define __stub macros and hopefully few prototypes,
22480 which can conflict with char shmat (); below.
22481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22482 <limits.h> exists even on freestanding compilers. */
22483 #ifdef __STDC__
22484 # include <limits.h>
22485 #else
22486 # include <assert.h>
22487 #endif
22488 /* Override any gcc2 internal prototype to avoid an error. */
22489 #ifdef __cplusplus
22490 extern "C"
22491 {
22492 #endif
22493 /* We use char because int might match the return type of a gcc2
22494 builtin and then its argument prototype would still apply. */
22495 char shmat ();
22496 /* The GNU C library defines this for functions which it implements
22497 to always fail with ENOSYS. Some functions are actually named
22498 something starting with __ and the normal name is an alias. */
22499 #if defined (__stub_shmat) || defined (__stub___shmat)
22500 choke me
22501 #else
22502 char (*f) () = shmat;
22503 #endif
22504 #ifdef __cplusplus
22505 }
22506 #endif
22507
22508 int
22509 main ()
22510 {
22511 return f != shmat;
22512 ;
22513 return 0;
22514 }
22515 _ACEOF
22516 rm -f conftest.$ac_objext conftest$ac_exeext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22518 (eval $ac_link) 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } &&
22522 { ac_try='test -s conftest$ac_exeext'
22523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22524 (eval $ac_try) 2>&5
22525 ac_status=$?
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); }; }; then
22528 ac_cv_func_shmat=yes
22529 else
22530 echo "$as_me: failed program was:" >&5
22531 sed 's/^/| /' conftest.$ac_ext >&5
22532
22533 ac_cv_func_shmat=no
22534 fi
22535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22536 fi
22537 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22538 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22539
22540 if test $ac_cv_func_shmat = no; then
22541 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22542 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22543 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 else
22546 ac_check_lib_save_LIBS=$LIBS
22547 LIBS="-lipc $LIBS"
22548 cat >conftest.$ac_ext <<_ACEOF
22549 #line $LINENO "configure"
22550 /* confdefs.h. */
22551 _ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555
22556 /* Override any gcc2 internal prototype to avoid an error. */
22557 #ifdef __cplusplus
22558 extern "C"
22559 #endif
22560 /* We use char because int might match the return type of a gcc2
22561 builtin and then its argument prototype would still apply. */
22562 char shmat ();
22563 int
22564 main ()
22565 {
22566 shmat ();
22567 ;
22568 return 0;
22569 }
22570 _ACEOF
22571 rm -f conftest.$ac_objext conftest$ac_exeext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } &&
22577 { ac_try='test -s conftest$ac_exeext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22580 ac_status=$?
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 ac_cv_lib_ipc_shmat=yes
22584 else
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.$ac_ext >&5
22587
22588 ac_cv_lib_ipc_shmat=no
22589 fi
22590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22591 LIBS=$ac_check_lib_save_LIBS
22592 fi
22593 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22594 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22595 if test $ac_cv_lib_ipc_shmat = yes; then
22596 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22597 fi
22598
22599 fi
22600 fi
22601
22602 # Check for libraries that X11R6 Xt/Xaw programs need.
22603 ac_save_LDFLAGS=$LDFLAGS
22604 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22605 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22606 # check for ICE first), but we must link in the order -lSM -lICE or
22607 # we get undefined symbols. So assume we have SM if we have ICE.
22608 # These have to be linked with before -lX11, unlike the other
22609 # libraries we check for below, so use a different variable.
22610 # John Interrante, Karl Berry
22611 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22612 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22613 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22614 echo $ECHO_N "(cached) $ECHO_C" >&6
22615 else
22616 ac_check_lib_save_LIBS=$LIBS
22617 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22618 cat >conftest.$ac_ext <<_ACEOF
22619 #line $LINENO "configure"
22620 /* confdefs.h. */
22621 _ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625
22626 /* Override any gcc2 internal prototype to avoid an error. */
22627 #ifdef __cplusplus
22628 extern "C"
22629 #endif
22630 /* We use char because int might match the return type of a gcc2
22631 builtin and then its argument prototype would still apply. */
22632 char IceConnectionNumber ();
22633 int
22634 main ()
22635 {
22636 IceConnectionNumber ();
22637 ;
22638 return 0;
22639 }
22640 _ACEOF
22641 rm -f conftest.$ac_objext conftest$ac_exeext
22642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22643 (eval $ac_link) 2>&5
22644 ac_status=$?
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } &&
22647 { ac_try='test -s conftest$ac_exeext'
22648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649 (eval $ac_try) 2>&5
22650 ac_status=$?
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); }; }; then
22653 ac_cv_lib_ICE_IceConnectionNumber=yes
22654 else
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22657
22658 ac_cv_lib_ICE_IceConnectionNumber=no
22659 fi
22660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22661 LIBS=$ac_check_lib_save_LIBS
22662 fi
22663 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22664 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22665 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22666 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22667 fi
22668
22669 LDFLAGS=$ac_save_LDFLAGS
22670
22671 fi
22672
22673
22674 if test "$no_x" = "yes"; then
22675 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22676 echo "$as_me: error: X11 not found" >&2;}
22677 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22678 fi
22679
22680 GUI_TK_LIBRARY="$X_LIBS"
22681 TOOLKIT_INCLUDE="$X_CFLAGS"
22682 AFMINSTALL=afminstall
22683 COMPILED_X_PROGRAM=0
22684
22685 if test "$wxUSE_NANOX" = "yes"; then
22686 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22687 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22688 if test "x$MICROWIN" = x ; then
22689 echo "$as_me:$LINENO: result: not found" >&5
22690 echo "${ECHO_T}not found" >&6
22691 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22692 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22693 { (exit 1); exit 1; }; }
22694 else
22695 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22696 echo "${ECHO_T}$MICROWIN" >&6
22697 cat >>confdefs.h <<\_ACEOF
22698 #define wxUSE_NANOX 1
22699 _ACEOF
22700
22701 fi
22702 fi
22703
22704 if test "$wxUSE_UNICODE" = "yes"; then
22705
22706 succeeded=no
22707
22708 if test -z "$PKG_CONFIG"; then
22709 # Extract the first word of "pkg-config", so it can be a program name with args.
22710 set dummy pkg-config; ac_word=$2
22711 echo "$as_me:$LINENO: checking for $ac_word" >&5
22712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22713 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22714 echo $ECHO_N "(cached) $ECHO_C" >&6
22715 else
22716 case $PKG_CONFIG in
22717 [\\/]* | ?:[\\/]*)
22718 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22719 ;;
22720 *)
22721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22722 for as_dir in $PATH
22723 do
22724 IFS=$as_save_IFS
22725 test -z "$as_dir" && as_dir=.
22726 for ac_exec_ext in '' $ac_executable_extensions; do
22727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22728 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22730 break 2
22731 fi
22732 done
22733 done
22734
22735 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22736 ;;
22737 esac
22738 fi
22739 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22740
22741 if test -n "$PKG_CONFIG"; then
22742 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22743 echo "${ECHO_T}$PKG_CONFIG" >&6
22744 else
22745 echo "$as_me:$LINENO: result: no" >&5
22746 echo "${ECHO_T}no" >&6
22747 fi
22748
22749 fi
22750
22751 if test "$PKG_CONFIG" = "no" ; then
22752 echo "*** The pkg-config script could not be found. Make sure it is"
22753 echo "*** in your path, or set the PKG_CONFIG environment variable"
22754 echo "*** to the full path to pkg-config."
22755 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22756 else
22757 PKG_CONFIG_MIN_VERSION=0.9.0
22758 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22759 echo "$as_me:$LINENO: checking for pangox" >&5
22760 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22761
22762 if $PKG_CONFIG --exists "pangox" ; then
22763 echo "$as_me:$LINENO: result: yes" >&5
22764 echo "${ECHO_T}yes" >&6
22765 succeeded=yes
22766
22767 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22768 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22769 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22770 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22771 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22772
22773 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22774 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22775 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22776 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22777 echo "${ECHO_T}$PANGOX_LIBS" >&6
22778 else
22779 PANGOX_CFLAGS=""
22780 PANGOX_LIBS=""
22781 ## If we have a custom action on failure, don't print errors, but
22782 ## do set a variable so people can do so.
22783 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22784
22785 fi
22786
22787
22788
22789 else
22790 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22791 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22792 fi
22793 fi
22794
22795 if test $succeeded = yes; then
22796
22797 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22798 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22799
22800 else
22801
22802 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22803 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22804 { (exit 1); exit 1; }; }
22805
22806
22807 fi
22808
22809
22810 succeeded=no
22811
22812 if test -z "$PKG_CONFIG"; then
22813 # Extract the first word of "pkg-config", so it can be a program name with args.
22814 set dummy pkg-config; ac_word=$2
22815 echo "$as_me:$LINENO: checking for $ac_word" >&5
22816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22817 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 else
22820 case $PKG_CONFIG in
22821 [\\/]* | ?:[\\/]*)
22822 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22823 ;;
22824 *)
22825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22826 for as_dir in $PATH
22827 do
22828 IFS=$as_save_IFS
22829 test -z "$as_dir" && as_dir=.
22830 for ac_exec_ext in '' $ac_executable_extensions; do
22831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22832 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22834 break 2
22835 fi
22836 done
22837 done
22838
22839 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22840 ;;
22841 esac
22842 fi
22843 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22844
22845 if test -n "$PKG_CONFIG"; then
22846 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22847 echo "${ECHO_T}$PKG_CONFIG" >&6
22848 else
22849 echo "$as_me:$LINENO: result: no" >&5
22850 echo "${ECHO_T}no" >&6
22851 fi
22852
22853 fi
22854
22855 if test "$PKG_CONFIG" = "no" ; then
22856 echo "*** The pkg-config script could not be found. Make sure it is"
22857 echo "*** in your path, or set the PKG_CONFIG environment variable"
22858 echo "*** to the full path to pkg-config."
22859 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22860 else
22861 PKG_CONFIG_MIN_VERSION=0.9.0
22862 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22863 echo "$as_me:$LINENO: checking for pangoft2" >&5
22864 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22865
22866 if $PKG_CONFIG --exists "pangoft2" ; then
22867 echo "$as_me:$LINENO: result: yes" >&5
22868 echo "${ECHO_T}yes" >&6
22869 succeeded=yes
22870
22871 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22872 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22873 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22874 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22875 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22876
22877 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22878 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22879 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22880 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22881 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22882 else
22883 PANGOFT2_CFLAGS=""
22884 PANGOFT2_LIBS=""
22885 ## If we have a custom action on failure, don't print errors, but
22886 ## do set a variable so people can do so.
22887 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22888
22889 fi
22890
22891
22892
22893 else
22894 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22895 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22896 fi
22897 fi
22898
22899 if test $succeeded = yes; then
22900
22901 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22902 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22903
22904 else
22905
22906 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22907 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22908 wxUSE_PRINTING_ARCHITECTURE="no"
22909
22910
22911 fi
22912
22913
22914 succeeded=no
22915
22916 if test -z "$PKG_CONFIG"; then
22917 # Extract the first word of "pkg-config", so it can be a program name with args.
22918 set dummy pkg-config; ac_word=$2
22919 echo "$as_me:$LINENO: checking for $ac_word" >&5
22920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22921 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22922 echo $ECHO_N "(cached) $ECHO_C" >&6
22923 else
22924 case $PKG_CONFIG in
22925 [\\/]* | ?:[\\/]*)
22926 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22927 ;;
22928 *)
22929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22930 for as_dir in $PATH
22931 do
22932 IFS=$as_save_IFS
22933 test -z "$as_dir" && as_dir=.
22934 for ac_exec_ext in '' $ac_executable_extensions; do
22935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22936 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22938 break 2
22939 fi
22940 done
22941 done
22942
22943 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22944 ;;
22945 esac
22946 fi
22947 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22948
22949 if test -n "$PKG_CONFIG"; then
22950 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22951 echo "${ECHO_T}$PKG_CONFIG" >&6
22952 else
22953 echo "$as_me:$LINENO: result: no" >&5
22954 echo "${ECHO_T}no" >&6
22955 fi
22956
22957 fi
22958
22959 if test "$PKG_CONFIG" = "no" ; then
22960 echo "*** The pkg-config script could not be found. Make sure it is"
22961 echo "*** in your path, or set the PKG_CONFIG environment variable"
22962 echo "*** to the full path to pkg-config."
22963 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22964 else
22965 PKG_CONFIG_MIN_VERSION=0.9.0
22966 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22967 echo "$as_me:$LINENO: checking for pangoxft" >&5
22968 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22969
22970 if $PKG_CONFIG --exists "pangoxft" ; then
22971 echo "$as_me:$LINENO: result: yes" >&5
22972 echo "${ECHO_T}yes" >&6
22973 succeeded=yes
22974
22975 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22976 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22977 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22978 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22979 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22980
22981 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22982 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22983 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22984 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22985 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22986 else
22987 PANGOXFT_CFLAGS=""
22988 PANGOXFT_LIBS=""
22989 ## If we have a custom action on failure, don't print errors, but
22990 ## do set a variable so people can do so.
22991 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22992
22993 fi
22994
22995
22996
22997 else
22998 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22999 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23000 fi
23001 fi
23002
23003 if test $succeeded = yes; then
23004
23005 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23006 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23007
23008 else
23009
23010 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23011 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23012
23013
23014 fi
23015
23016 fi
23017
23018 wxUSE_UNIVERSAL="yes"
23019
23020 if test "$wxUSE_NANOX" = "yes"; then
23021 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23022 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"
23023 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23024 else
23025 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
23026 fi
23027
23028 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23029 TOOLKIT=X11
23030 GUIDIST=X11_DIST
23031 fi
23032
23033 if test "$wxUSE_MOTIF" = 1; then
23034 if test "$no_x" = yes; then
23035 # Not all programs may use this symbol, but it does not hurt to define it.
23036
23037 cat >>confdefs.h <<\_ACEOF
23038 #define X_DISPLAY_MISSING 1
23039 _ACEOF
23040
23041 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23042 else
23043 if test -n "$x_includes"; then
23044 X_CFLAGS="$X_CFLAGS -I$x_includes"
23045 fi
23046
23047 # It would also be nice to do this for all -L options, not just this one.
23048 if test -n "$x_libraries"; then
23049 X_LIBS="$X_LIBS -L$x_libraries"
23050 # For Solaris; some versions of Sun CC require a space after -R and
23051 # others require no space. Words are not sufficient . . . .
23052 case `(uname -sr) 2>/dev/null` in
23053 "SunOS 5"*)
23054 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23055 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23056 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23057 cat >conftest.$ac_ext <<_ACEOF
23058 #line $LINENO "configure"
23059 /* confdefs.h. */
23060 _ACEOF
23061 cat confdefs.h >>conftest.$ac_ext
23062 cat >>conftest.$ac_ext <<_ACEOF
23063 /* end confdefs.h. */
23064
23065 int
23066 main ()
23067 {
23068
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext conftest$ac_exeext
23074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23075 (eval $ac_link) 2>&5
23076 ac_status=$?
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); } &&
23079 { ac_try='test -s conftest$ac_exeext'
23080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081 (eval $ac_try) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); }; }; then
23085 ac_R_nospace=yes
23086 else
23087 echo "$as_me: failed program was:" >&5
23088 sed 's/^/| /' conftest.$ac_ext >&5
23089
23090 ac_R_nospace=no
23091 fi
23092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23093 if test $ac_R_nospace = yes; then
23094 echo "$as_me:$LINENO: result: no" >&5
23095 echo "${ECHO_T}no" >&6
23096 X_LIBS="$X_LIBS -R$x_libraries"
23097 else
23098 LIBS="$ac_xsave_LIBS -R $x_libraries"
23099 cat >conftest.$ac_ext <<_ACEOF
23100 #line $LINENO "configure"
23101 /* confdefs.h. */
23102 _ACEOF
23103 cat confdefs.h >>conftest.$ac_ext
23104 cat >>conftest.$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23106
23107 int
23108 main ()
23109 {
23110
23111 ;
23112 return 0;
23113 }
23114 _ACEOF
23115 rm -f conftest.$ac_objext conftest$ac_exeext
23116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23117 (eval $ac_link) 2>&5
23118 ac_status=$?
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } &&
23121 { ac_try='test -s conftest$ac_exeext'
23122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123 (eval $ac_try) 2>&5
23124 ac_status=$?
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; }; then
23127 ac_R_space=yes
23128 else
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.$ac_ext >&5
23131
23132 ac_R_space=no
23133 fi
23134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23135 if test $ac_R_space = yes; then
23136 echo "$as_me:$LINENO: result: yes" >&5
23137 echo "${ECHO_T}yes" >&6
23138 X_LIBS="$X_LIBS -R $x_libraries"
23139 else
23140 echo "$as_me:$LINENO: result: neither works" >&5
23141 echo "${ECHO_T}neither works" >&6
23142 fi
23143 fi
23144 LIBS=$ac_xsave_LIBS
23145 esac
23146 fi
23147
23148 # Check for system-dependent libraries X programs must link with.
23149 # Do this before checking for the system-independent R6 libraries
23150 # (-lICE), since we may need -lsocket or whatever for X linking.
23151
23152 if test "$ISC" = yes; then
23153 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23154 else
23155 # Martyn Johnson says this is needed for Ultrix, if the X
23156 # libraries were built with DECnet support. And Karl Berry says
23157 # the Alpha needs dnet_stub (dnet does not exist).
23158 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23159 cat >conftest.$ac_ext <<_ACEOF
23160 #line $LINENO "configure"
23161 /* confdefs.h. */
23162 _ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166
23167 /* Override any gcc2 internal prototype to avoid an error. */
23168 #ifdef __cplusplus
23169 extern "C"
23170 #endif
23171 /* We use char because int might match the return type of a gcc2
23172 builtin and then its argument prototype would still apply. */
23173 char XOpenDisplay ();
23174 int
23175 main ()
23176 {
23177 XOpenDisplay ();
23178 ;
23179 return 0;
23180 }
23181 _ACEOF
23182 rm -f conftest.$ac_objext conftest$ac_exeext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23184 (eval $ac_link) 2>&5
23185 ac_status=$?
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); } &&
23188 { ac_try='test -s conftest$ac_exeext'
23189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23190 (eval $ac_try) 2>&5
23191 ac_status=$?
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); }; }; then
23194 :
23195 else
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23198
23199 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23200 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23201 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23202 echo $ECHO_N "(cached) $ECHO_C" >&6
23203 else
23204 ac_check_lib_save_LIBS=$LIBS
23205 LIBS="-ldnet $LIBS"
23206 cat >conftest.$ac_ext <<_ACEOF
23207 #line $LINENO "configure"
23208 /* confdefs.h. */
23209 _ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213
23214 /* Override any gcc2 internal prototype to avoid an error. */
23215 #ifdef __cplusplus
23216 extern "C"
23217 #endif
23218 /* We use char because int might match the return type of a gcc2
23219 builtin and then its argument prototype would still apply. */
23220 char dnet_ntoa ();
23221 int
23222 main ()
23223 {
23224 dnet_ntoa ();
23225 ;
23226 return 0;
23227 }
23228 _ACEOF
23229 rm -f conftest.$ac_objext conftest$ac_exeext
23230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23231 (eval $ac_link) 2>&5
23232 ac_status=$?
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try='test -s conftest$ac_exeext'
23236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23237 (eval $ac_try) 2>&5
23238 ac_status=$?
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); }; }; then
23241 ac_cv_lib_dnet_dnet_ntoa=yes
23242 else
23243 echo "$as_me: failed program was:" >&5
23244 sed 's/^/| /' conftest.$ac_ext >&5
23245
23246 ac_cv_lib_dnet_dnet_ntoa=no
23247 fi
23248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23249 LIBS=$ac_check_lib_save_LIBS
23250 fi
23251 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23252 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23253 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23254 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23255 fi
23256
23257 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23259 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23260 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 else
23263 ac_check_lib_save_LIBS=$LIBS
23264 LIBS="-ldnet_stub $LIBS"
23265 cat >conftest.$ac_ext <<_ACEOF
23266 #line $LINENO "configure"
23267 /* confdefs.h. */
23268 _ACEOF
23269 cat confdefs.h >>conftest.$ac_ext
23270 cat >>conftest.$ac_ext <<_ACEOF
23271 /* end confdefs.h. */
23272
23273 /* Override any gcc2 internal prototype to avoid an error. */
23274 #ifdef __cplusplus
23275 extern "C"
23276 #endif
23277 /* We use char because int might match the return type of a gcc2
23278 builtin and then its argument prototype would still apply. */
23279 char dnet_ntoa ();
23280 int
23281 main ()
23282 {
23283 dnet_ntoa ();
23284 ;
23285 return 0;
23286 }
23287 _ACEOF
23288 rm -f conftest.$ac_objext conftest$ac_exeext
23289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23290 (eval $ac_link) 2>&5
23291 ac_status=$?
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); } &&
23294 { ac_try='test -s conftest$ac_exeext'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23297 ac_status=$?
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; }; then
23300 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23301 else
23302 echo "$as_me: failed program was:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23304
23305 ac_cv_lib_dnet_stub_dnet_ntoa=no
23306 fi
23307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23308 LIBS=$ac_check_lib_save_LIBS
23309 fi
23310 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23311 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23312 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23313 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23314 fi
23315
23316 fi
23317 fi
23318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23319 LIBS="$ac_xsave_LIBS"
23320
23321 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23322 # to get the SysV transport functions.
23323 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23324 # needs -lnsl.
23325 # The nsl library prevents programs from opening the X display
23326 # on Irix 5.2, according to T.E. Dickey.
23327 # The functions gethostbyname, getservbyname, and inet_addr are
23328 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23329 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23330 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23331 if test "${ac_cv_func_gethostbyname+set}" = set; then
23332 echo $ECHO_N "(cached) $ECHO_C" >&6
23333 else
23334 cat >conftest.$ac_ext <<_ACEOF
23335 #line $LINENO "configure"
23336 /* confdefs.h. */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 /* System header to define __stub macros and hopefully few prototypes,
23342 which can conflict with char gethostbyname (); below.
23343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23344 <limits.h> exists even on freestanding compilers. */
23345 #ifdef __STDC__
23346 # include <limits.h>
23347 #else
23348 # include <assert.h>
23349 #endif
23350 /* Override any gcc2 internal prototype to avoid an error. */
23351 #ifdef __cplusplus
23352 extern "C"
23353 {
23354 #endif
23355 /* We use char because int might match the return type of a gcc2
23356 builtin and then its argument prototype would still apply. */
23357 char gethostbyname ();
23358 /* The GNU C library defines this for functions which it implements
23359 to always fail with ENOSYS. Some functions are actually named
23360 something starting with __ and the normal name is an alias. */
23361 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23362 choke me
23363 #else
23364 char (*f) () = gethostbyname;
23365 #endif
23366 #ifdef __cplusplus
23367 }
23368 #endif
23369
23370 int
23371 main ()
23372 {
23373 return f != gethostbyname;
23374 ;
23375 return 0;
23376 }
23377 _ACEOF
23378 rm -f conftest.$ac_objext conftest$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>&5
23381 ac_status=$?
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try='test -s conftest$ac_exeext'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23387 ac_status=$?
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; }; then
23390 ac_cv_func_gethostbyname=yes
23391 else
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23394
23395 ac_cv_func_gethostbyname=no
23396 fi
23397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23398 fi
23399 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23400 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23401
23402 if test $ac_cv_func_gethostbyname = no; then
23403 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23404 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23405 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 else
23408 ac_check_lib_save_LIBS=$LIBS
23409 LIBS="-lnsl $LIBS"
23410 cat >conftest.$ac_ext <<_ACEOF
23411 #line $LINENO "configure"
23412 /* confdefs.h. */
23413 _ACEOF
23414 cat confdefs.h >>conftest.$ac_ext
23415 cat >>conftest.$ac_ext <<_ACEOF
23416 /* end confdefs.h. */
23417
23418 /* Override any gcc2 internal prototype to avoid an error. */
23419 #ifdef __cplusplus
23420 extern "C"
23421 #endif
23422 /* We use char because int might match the return type of a gcc2
23423 builtin and then its argument prototype would still apply. */
23424 char gethostbyname ();
23425 int
23426 main ()
23427 {
23428 gethostbyname ();
23429 ;
23430 return 0;
23431 }
23432 _ACEOF
23433 rm -f conftest.$ac_objext conftest$ac_exeext
23434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23435 (eval $ac_link) 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } &&
23439 { ac_try='test -s conftest$ac_exeext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23442 ac_status=$?
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445 ac_cv_lib_nsl_gethostbyname=yes
23446 else
23447 echo "$as_me: failed program was:" >&5
23448 sed 's/^/| /' conftest.$ac_ext >&5
23449
23450 ac_cv_lib_nsl_gethostbyname=no
23451 fi
23452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23453 LIBS=$ac_check_lib_save_LIBS
23454 fi
23455 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23456 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23457 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23458 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23459 fi
23460
23461 if test $ac_cv_lib_nsl_gethostbyname = no; then
23462 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23463 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23464 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23465 echo $ECHO_N "(cached) $ECHO_C" >&6
23466 else
23467 ac_check_lib_save_LIBS=$LIBS
23468 LIBS="-lbsd $LIBS"
23469 cat >conftest.$ac_ext <<_ACEOF
23470 #line $LINENO "configure"
23471 /* confdefs.h. */
23472 _ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23476
23477 /* Override any gcc2 internal prototype to avoid an error. */
23478 #ifdef __cplusplus
23479 extern "C"
23480 #endif
23481 /* We use char because int might match the return type of a gcc2
23482 builtin and then its argument prototype would still apply. */
23483 char gethostbyname ();
23484 int
23485 main ()
23486 {
23487 gethostbyname ();
23488 ;
23489 return 0;
23490 }
23491 _ACEOF
23492 rm -f conftest.$ac_objext conftest$ac_exeext
23493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23494 (eval $ac_link) 2>&5
23495 ac_status=$?
23496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23497 (exit $ac_status); } &&
23498 { ac_try='test -s conftest$ac_exeext'
23499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23500 (eval $ac_try) 2>&5
23501 ac_status=$?
23502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23503 (exit $ac_status); }; }; then
23504 ac_cv_lib_bsd_gethostbyname=yes
23505 else
23506 echo "$as_me: failed program was:" >&5
23507 sed 's/^/| /' conftest.$ac_ext >&5
23508
23509 ac_cv_lib_bsd_gethostbyname=no
23510 fi
23511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23512 LIBS=$ac_check_lib_save_LIBS
23513 fi
23514 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23515 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23516 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23518 fi
23519
23520 fi
23521 fi
23522
23523 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23524 # socket/setsockopt and other routines are undefined under SCO ODT
23525 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23526 # on later versions), says Simon Leinen: it contains gethostby*
23527 # variants that don't use the name server (or something). -lsocket
23528 # must be given before -lnsl if both are needed. We assume that
23529 # if connect needs -lnsl, so does gethostbyname.
23530 echo "$as_me:$LINENO: checking for connect" >&5
23531 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23532 if test "${ac_cv_func_connect+set}" = set; then
23533 echo $ECHO_N "(cached) $ECHO_C" >&6
23534 else
23535 cat >conftest.$ac_ext <<_ACEOF
23536 #line $LINENO "configure"
23537 /* confdefs.h. */
23538 _ACEOF
23539 cat confdefs.h >>conftest.$ac_ext
23540 cat >>conftest.$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23542 /* System header to define __stub macros and hopefully few prototypes,
23543 which can conflict with char connect (); below.
23544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23545 <limits.h> exists even on freestanding compilers. */
23546 #ifdef __STDC__
23547 # include <limits.h>
23548 #else
23549 # include <assert.h>
23550 #endif
23551 /* Override any gcc2 internal prototype to avoid an error. */
23552 #ifdef __cplusplus
23553 extern "C"
23554 {
23555 #endif
23556 /* We use char because int might match the return type of a gcc2
23557 builtin and then its argument prototype would still apply. */
23558 char connect ();
23559 /* The GNU C library defines this for functions which it implements
23560 to always fail with ENOSYS. Some functions are actually named
23561 something starting with __ and the normal name is an alias. */
23562 #if defined (__stub_connect) || defined (__stub___connect)
23563 choke me
23564 #else
23565 char (*f) () = connect;
23566 #endif
23567 #ifdef __cplusplus
23568 }
23569 #endif
23570
23571 int
23572 main ()
23573 {
23574 return f != connect;
23575 ;
23576 return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext conftest$ac_exeext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23581 (eval $ac_link) 2>&5
23582 ac_status=$?
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); } &&
23585 { ac_try='test -s conftest$ac_exeext'
23586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587 (eval $ac_try) 2>&5
23588 ac_status=$?
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; }; then
23591 ac_cv_func_connect=yes
23592 else
23593 echo "$as_me: failed program was:" >&5
23594 sed 's/^/| /' conftest.$ac_ext >&5
23595
23596 ac_cv_func_connect=no
23597 fi
23598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23599 fi
23600 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23601 echo "${ECHO_T}$ac_cv_func_connect" >&6
23602
23603 if test $ac_cv_func_connect = no; then
23604 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23605 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23606 if test "${ac_cv_lib_socket_connect+set}" = set; then
23607 echo $ECHO_N "(cached) $ECHO_C" >&6
23608 else
23609 ac_check_lib_save_LIBS=$LIBS
23610 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23611 cat >conftest.$ac_ext <<_ACEOF
23612 #line $LINENO "configure"
23613 /* confdefs.h. */
23614 _ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618
23619 /* Override any gcc2 internal prototype to avoid an error. */
23620 #ifdef __cplusplus
23621 extern "C"
23622 #endif
23623 /* We use char because int might match the return type of a gcc2
23624 builtin and then its argument prototype would still apply. */
23625 char connect ();
23626 int
23627 main ()
23628 {
23629 connect ();
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext conftest$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>&5
23637 ac_status=$?
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } &&
23640 { ac_try='test -s conftest$ac_exeext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23643 ac_status=$?
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 ac_cv_lib_socket_connect=yes
23647 else
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.$ac_ext >&5
23650
23651 ac_cv_lib_socket_connect=no
23652 fi
23653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23654 LIBS=$ac_check_lib_save_LIBS
23655 fi
23656 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23657 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23658 if test $ac_cv_lib_socket_connect = yes; then
23659 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23660 fi
23661
23662 fi
23663
23664 # Guillermo Gomez says -lposix is necessary on A/UX.
23665 echo "$as_me:$LINENO: checking for remove" >&5
23666 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23667 if test "${ac_cv_func_remove+set}" = set; then
23668 echo $ECHO_N "(cached) $ECHO_C" >&6
23669 else
23670 cat >conftest.$ac_ext <<_ACEOF
23671 #line $LINENO "configure"
23672 /* confdefs.h. */
23673 _ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677 /* System header to define __stub macros and hopefully few prototypes,
23678 which can conflict with char remove (); below.
23679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23680 <limits.h> exists even on freestanding compilers. */
23681 #ifdef __STDC__
23682 # include <limits.h>
23683 #else
23684 # include <assert.h>
23685 #endif
23686 /* Override any gcc2 internal prototype to avoid an error. */
23687 #ifdef __cplusplus
23688 extern "C"
23689 {
23690 #endif
23691 /* We use char because int might match the return type of a gcc2
23692 builtin and then its argument prototype would still apply. */
23693 char remove ();
23694 /* The GNU C library defines this for functions which it implements
23695 to always fail with ENOSYS. Some functions are actually named
23696 something starting with __ and the normal name is an alias. */
23697 #if defined (__stub_remove) || defined (__stub___remove)
23698 choke me
23699 #else
23700 char (*f) () = remove;
23701 #endif
23702 #ifdef __cplusplus
23703 }
23704 #endif
23705
23706 int
23707 main ()
23708 {
23709 return f != remove;
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext conftest$ac_exeext
23715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23716 (eval $ac_link) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try='test -s conftest$ac_exeext'
23721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23722 (eval $ac_try) 2>&5
23723 ac_status=$?
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); }; }; then
23726 ac_cv_func_remove=yes
23727 else
23728 echo "$as_me: failed program was:" >&5
23729 sed 's/^/| /' conftest.$ac_ext >&5
23730
23731 ac_cv_func_remove=no
23732 fi
23733 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23734 fi
23735 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23736 echo "${ECHO_T}$ac_cv_func_remove" >&6
23737
23738 if test $ac_cv_func_remove = no; then
23739 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23740 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23741 if test "${ac_cv_lib_posix_remove+set}" = set; then
23742 echo $ECHO_N "(cached) $ECHO_C" >&6
23743 else
23744 ac_check_lib_save_LIBS=$LIBS
23745 LIBS="-lposix $LIBS"
23746 cat >conftest.$ac_ext <<_ACEOF
23747 #line $LINENO "configure"
23748 /* confdefs.h. */
23749 _ACEOF
23750 cat confdefs.h >>conftest.$ac_ext
23751 cat >>conftest.$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23753
23754 /* Override any gcc2 internal prototype to avoid an error. */
23755 #ifdef __cplusplus
23756 extern "C"
23757 #endif
23758 /* We use char because int might match the return type of a gcc2
23759 builtin and then its argument prototype would still apply. */
23760 char remove ();
23761 int
23762 main ()
23763 {
23764 remove ();
23765 ;
23766 return 0;
23767 }
23768 _ACEOF
23769 rm -f conftest.$ac_objext conftest$ac_exeext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23771 (eval $ac_link) 2>&5
23772 ac_status=$?
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } &&
23775 { ac_try='test -s conftest$ac_exeext'
23776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23777 (eval $ac_try) 2>&5
23778 ac_status=$?
23779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23780 (exit $ac_status); }; }; then
23781 ac_cv_lib_posix_remove=yes
23782 else
23783 echo "$as_me: failed program was:" >&5
23784 sed 's/^/| /' conftest.$ac_ext >&5
23785
23786 ac_cv_lib_posix_remove=no
23787 fi
23788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23789 LIBS=$ac_check_lib_save_LIBS
23790 fi
23791 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23792 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23793 if test $ac_cv_lib_posix_remove = yes; then
23794 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23795 fi
23796
23797 fi
23798
23799 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23800 echo "$as_me:$LINENO: checking for shmat" >&5
23801 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23802 if test "${ac_cv_func_shmat+set}" = set; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 else
23805 cat >conftest.$ac_ext <<_ACEOF
23806 #line $LINENO "configure"
23807 /* confdefs.h. */
23808 _ACEOF
23809 cat confdefs.h >>conftest.$ac_ext
23810 cat >>conftest.$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812 /* System header to define __stub macros and hopefully few prototypes,
23813 which can conflict with char shmat (); below.
23814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23815 <limits.h> exists even on freestanding compilers. */
23816 #ifdef __STDC__
23817 # include <limits.h>
23818 #else
23819 # include <assert.h>
23820 #endif
23821 /* Override any gcc2 internal prototype to avoid an error. */
23822 #ifdef __cplusplus
23823 extern "C"
23824 {
23825 #endif
23826 /* We use char because int might match the return type of a gcc2
23827 builtin and then its argument prototype would still apply. */
23828 char shmat ();
23829 /* The GNU C library defines this for functions which it implements
23830 to always fail with ENOSYS. Some functions are actually named
23831 something starting with __ and the normal name is an alias. */
23832 #if defined (__stub_shmat) || defined (__stub___shmat)
23833 choke me
23834 #else
23835 char (*f) () = shmat;
23836 #endif
23837 #ifdef __cplusplus
23838 }
23839 #endif
23840
23841 int
23842 main ()
23843 {
23844 return f != shmat;
23845 ;
23846 return 0;
23847 }
23848 _ACEOF
23849 rm -f conftest.$ac_objext conftest$ac_exeext
23850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23851 (eval $ac_link) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } &&
23855 { ac_try='test -s conftest$ac_exeext'
23856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857 (eval $ac_try) 2>&5
23858 ac_status=$?
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); }; }; then
23861 ac_cv_func_shmat=yes
23862 else
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23865
23866 ac_cv_func_shmat=no
23867 fi
23868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23869 fi
23870 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23871 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23872
23873 if test $ac_cv_func_shmat = no; then
23874 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23875 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23876 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23878 else
23879 ac_check_lib_save_LIBS=$LIBS
23880 LIBS="-lipc $LIBS"
23881 cat >conftest.$ac_ext <<_ACEOF
23882 #line $LINENO "configure"
23883 /* confdefs.h. */
23884 _ACEOF
23885 cat confdefs.h >>conftest.$ac_ext
23886 cat >>conftest.$ac_ext <<_ACEOF
23887 /* end confdefs.h. */
23888
23889 /* Override any gcc2 internal prototype to avoid an error. */
23890 #ifdef __cplusplus
23891 extern "C"
23892 #endif
23893 /* We use char because int might match the return type of a gcc2
23894 builtin and then its argument prototype would still apply. */
23895 char shmat ();
23896 int
23897 main ()
23898 {
23899 shmat ();
23900 ;
23901 return 0;
23902 }
23903 _ACEOF
23904 rm -f conftest.$ac_objext conftest$ac_exeext
23905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23906 (eval $ac_link) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); } &&
23910 { ac_try='test -s conftest$ac_exeext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23913 ac_status=$?
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 ac_cv_lib_ipc_shmat=yes
23917 else
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23920
23921 ac_cv_lib_ipc_shmat=no
23922 fi
23923 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23924 LIBS=$ac_check_lib_save_LIBS
23925 fi
23926 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23927 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23928 if test $ac_cv_lib_ipc_shmat = yes; then
23929 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23930 fi
23931
23932 fi
23933 fi
23934
23935 # Check for libraries that X11R6 Xt/Xaw programs need.
23936 ac_save_LDFLAGS=$LDFLAGS
23937 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23938 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23939 # check for ICE first), but we must link in the order -lSM -lICE or
23940 # we get undefined symbols. So assume we have SM if we have ICE.
23941 # These have to be linked with before -lX11, unlike the other
23942 # libraries we check for below, so use a different variable.
23943 # John Interrante, Karl Berry
23944 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23945 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23946 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 else
23949 ac_check_lib_save_LIBS=$LIBS
23950 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23951 cat >conftest.$ac_ext <<_ACEOF
23952 #line $LINENO "configure"
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958
23959 /* Override any gcc2 internal prototype to avoid an error. */
23960 #ifdef __cplusplus
23961 extern "C"
23962 #endif
23963 /* We use char because int might match the return type of a gcc2
23964 builtin and then its argument prototype would still apply. */
23965 char IceConnectionNumber ();
23966 int
23967 main ()
23968 {
23969 IceConnectionNumber ();
23970 ;
23971 return 0;
23972 }
23973 _ACEOF
23974 rm -f conftest.$ac_objext conftest$ac_exeext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23976 (eval $ac_link) 2>&5
23977 ac_status=$?
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try='test -s conftest$ac_exeext'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23983 ac_status=$?
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; }; then
23986 ac_cv_lib_ICE_IceConnectionNumber=yes
23987 else
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.$ac_ext >&5
23990
23991 ac_cv_lib_ICE_IceConnectionNumber=no
23992 fi
23993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23994 LIBS=$ac_check_lib_save_LIBS
23995 fi
23996 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23997 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23998 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23999 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24000 fi
24001
24002 LDFLAGS=$ac_save_LDFLAGS
24003
24004 fi
24005
24006
24007 if test "$no_x" = "yes"; then
24008 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24009 echo "$as_me: error: X11 not found" >&2;}
24010 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24011 fi
24012
24013 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24014 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24015 AFMINSTALL=afminstall
24016 COMPILED_X_PROGRAM=0
24017
24018 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24019 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24020
24021 ac_find_includes=
24022 for ac_dir in $SEARCH_INCLUDE /usr/include;
24023 do
24024 if test -f "$ac_dir/Xm/Xm.h"; then
24025 ac_find_includes=$ac_dir
24026 break
24027 fi
24028 done
24029
24030 if test "$ac_find_includes" != "" ; then
24031 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24032 echo "${ECHO_T}found in $ac_find_includes" >&6
24033
24034 if test "x$ac_find_includes" = "x/usr/include"; then
24035 ac_path_to_include=""
24036 else
24037 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24038 result=$?
24039 if test $result = 0; then
24040 ac_path_to_include=""
24041 else
24042 ac_path_to_include=" -I$ac_find_includes"
24043 fi
24044 fi
24045
24046 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24047 else
24048 cat >conftest.$ac_ext <<_ACEOF
24049 #line $LINENO "configure"
24050 /* confdefs.h. */
24051 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24055
24056 #include <Xm/Xm.h>
24057
24058 int
24059 main ()
24060 {
24061
24062 int version;
24063 version = xmUseVersion;
24064
24065 ;
24066 return 0;
24067 }
24068 _ACEOF
24069 rm -f conftest.$ac_objext
24070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24071 (eval $ac_compile) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); } &&
24075 { ac_try='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081
24082 echo "$as_me:$LINENO: result: found in default search path" >&5
24083 echo "${ECHO_T}found in default search path" >&6
24084 COMPILED_X_PROGRAM=1
24085
24086 else
24087 echo "$as_me: failed program was:" >&5
24088 sed 's/^/| /' conftest.$ac_ext >&5
24089
24090
24091 echo "$as_me:$LINENO: result: no" >&5
24092 echo "${ECHO_T}no" >&6
24093 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24094 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24095 { (exit 1); exit 1; }; }
24096
24097
24098 fi
24099 rm -f conftest.$ac_objext conftest.$ac_ext
24100 fi
24101
24102 if test "$COMPILED_X_PROGRAM" = 0; then
24103 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24104 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24105
24106 ac_find_libraries=
24107 for ac_dir in $SEARCH_LIB /usr/lib;
24108 do
24109 for ac_extension in a so sl dylib; do
24110 if test -f "$ac_dir/libXm.$ac_extension"; then
24111 ac_find_libraries=$ac_dir
24112 break 2
24113 fi
24114 done
24115 done
24116
24117 if test "$ac_find_libraries" != "" ; then
24118 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24119 echo "${ECHO_T}found at $ac_find_libraries" >&6
24120
24121
24122 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24123 result=$?
24124 if test $result = 0; then
24125 ac_path_to_link=""
24126 else
24127 ac_path_to_link=" -L$ac_find_libraries"
24128 fi
24129
24130 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24131 else
24132 save_CFLAGS=$CFLAGS
24133 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24134
24135 cat >conftest.$ac_ext <<_ACEOF
24136 #line $LINENO "configure"
24137 /* confdefs.h. */
24138 _ACEOF
24139 cat confdefs.h >>conftest.$ac_ext
24140 cat >>conftest.$ac_ext <<_ACEOF
24141 /* end confdefs.h. */
24142
24143 #include <Xm/Xm.h>
24144
24145 int
24146 main ()
24147 {
24148
24149 int version;
24150 version = xmUseVersion;
24151
24152 ;
24153 return 0;
24154 }
24155 _ACEOF
24156 rm -f conftest.$ac_objext
24157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24158 (eval $ac_compile) 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); } &&
24162 { ac_try='test -s conftest.$ac_objext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24165 ac_status=$?
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168
24169 echo "$as_me:$LINENO: result: found in default search path" >&5
24170 echo "${ECHO_T}found in default search path" >&6
24171 COMPILED_X_PROGRAM=1
24172
24173 else
24174 echo "$as_me: failed program was:" >&5
24175 sed 's/^/| /' conftest.$ac_ext >&5
24176
24177
24178 echo "$as_me:$LINENO: result: no" >&5
24179 echo "${ECHO_T}no" >&6
24180 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24181 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24182 { (exit 1); exit 1; }; }
24183
24184
24185 fi
24186 rm -f conftest.$ac_objext conftest.$ac_ext
24187
24188 CFLAGS=$save_CFLAGS
24189 fi
24190 fi
24191
24192 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24193 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24194 libp_link=""
24195 libsm_ice_link=""
24196 libs_found=0
24197 for libp in "" " -lXp"; do
24198 if test "$libs_found" = "0"; then
24199 for libsm_ice in "" " -lSM -lICE"; do
24200 if test "$libs_found" = "0"; then
24201 save_LIBS="$LIBS"
24202 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24203 save_CFLAGS=$CFLAGS
24204 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24205
24206 cat >conftest.$ac_ext <<_ACEOF
24207 #line $LINENO "configure"
24208 /* confdefs.h. */
24209 _ACEOF
24210 cat confdefs.h >>conftest.$ac_ext
24211 cat >>conftest.$ac_ext <<_ACEOF
24212 /* end confdefs.h. */
24213
24214 #include <Xm/Xm.h>
24215 #include <Xm/List.h>
24216
24217 int
24218 main ()
24219 {
24220
24221 XmString string = NULL;
24222 Widget w = NULL;
24223 int position = 0;
24224 XmListAddItem(w, string, position);
24225
24226 ;
24227 return 0;
24228 }
24229 _ACEOF
24230 rm -f conftest.$ac_objext conftest$ac_exeext
24231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24232 (eval $ac_link) 2>&5
24233 ac_status=$?
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); } &&
24236 { ac_try='test -s conftest$ac_exeext'
24237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24238 (eval $ac_try) 2>&5
24239 ac_status=$?
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); }; }; then
24242
24243 libp_link="$libp"
24244 libsm_ice_link="$libsm_ice"
24245 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24246 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24247 libs_found=1
24248
24249 else
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.$ac_ext >&5
24252
24253
24254
24255 fi
24256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24257
24258 LIBS="$save_LIBS"
24259 CFLAGS=$save_CFLAGS
24260 fi
24261 done
24262 fi
24263 done
24264
24265 if test "$libs_found" = "0"; then
24266 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24267 echo "${ECHO_T}can't find the right libraries" >&6
24268 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24269 echo "$as_me: error: can't link a simple motif program" >&2;}
24270 { (exit 1); exit 1; }; }
24271 fi
24272
24273 save_CFLAGS=$CFLAGS
24274 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24275 echo "$as_me:$LINENO: checking for Motif 2" >&5
24276 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24277 cat >conftest.$ac_ext <<_ACEOF
24278 #line $LINENO "configure"
24279 /* confdefs.h. */
24280 _ACEOF
24281 cat confdefs.h >>conftest.$ac_ext
24282 cat >>conftest.$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24284
24285 #include <Xm/Xm.h>
24286
24287 int
24288 main ()
24289 {
24290
24291 #if XmVersion < 2000
24292 #error "Not Motif 2"
24293 #endif
24294
24295 ;
24296 return 0;
24297 }
24298 _ACEOF
24299 rm -f conftest.$ac_objext
24300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24301 (eval $ac_compile) 2>&5
24302 ac_status=$?
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try='test -s conftest.$ac_objext'
24306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24307 (eval $ac_try) 2>&5
24308 ac_status=$?
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); }; }; then
24311
24312 cat >>confdefs.h <<\_ACEOF
24313 #define __WXMOTIF20__ 1
24314 _ACEOF
24315
24316 echo "$as_me:$LINENO: result: found" >&5
24317 echo "${ECHO_T}found" >&6
24318
24319 else
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.$ac_ext >&5
24322
24323
24324 cat >>confdefs.h <<\_ACEOF
24325 #define __WXMOTIF20__ 0
24326 _ACEOF
24327
24328 echo "$as_me:$LINENO: result: not found" >&5
24329 echo "${ECHO_T}not found" >&6
24330
24331 fi
24332 rm -f conftest.$ac_objext conftest.$ac_ext
24333 CFLAGS=$save_CFLAGS
24334
24335 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24336 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24337 TOOLKIT=MOTIF
24338 GUIDIST=MOTIF_DIST
24339 fi
24340
24341 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24342 if test "$wxUSE_LIBXPM" = "sys"; then
24343 echo "$as_me:$LINENO: checking for Xpm library" >&5
24344 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24345
24346 ac_find_libraries=
24347 for ac_dir in $SEARCH_LIB /usr/lib;
24348 do
24349 for ac_extension in a so sl dylib; do
24350 if test -f "$ac_dir/libXpm.$ac_extension"; then
24351 ac_find_libraries=$ac_dir
24352 break 2
24353 fi
24354 done
24355 done
24356
24357 if test "$ac_find_libraries" != "" ; then
24358
24359 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24360 result=$?
24361 if test $result = 0; then
24362 ac_path_to_link=""
24363 else
24364 ac_path_to_link=" -L$ac_find_libraries"
24365 fi
24366
24367 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24368 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24369 echo "${ECHO_T}found at $ac_find_libraries" >&6
24370
24371 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24372 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24373 if test "${wx_cv_x11_xpm_h+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24375 else
24376
24377 save_CFLAGS=$CFLAGS
24378 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24379
24380 cat >conftest.$ac_ext <<_ACEOF
24381 #line $LINENO "configure"
24382 /* confdefs.h. */
24383 _ACEOF
24384 cat confdefs.h >>conftest.$ac_ext
24385 cat >>conftest.$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24387
24388 #include <X11/xpm.h>
24389
24390 int
24391 main ()
24392 {
24393
24394 int version;
24395 version = XpmLibraryVersion();
24396
24397 ;
24398 return 0;
24399 }
24400 _ACEOF
24401 rm -f conftest.$ac_objext
24402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24403 (eval $ac_compile) 2>&5
24404 ac_status=$?
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); } &&
24407 { ac_try='test -s conftest.$ac_objext'
24408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24409 (eval $ac_try) 2>&5
24410 ac_status=$?
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); }; }; then
24413 wx_cv_x11_xpm_h=yes
24414 else
24415 echo "$as_me: failed program was:" >&5
24416 sed 's/^/| /' conftest.$ac_ext >&5
24417
24418 wx_cv_x11_xpm_h=no
24419
24420 fi
24421 rm -f conftest.$ac_objext conftest.$ac_ext
24422
24423 CFLAGS=$save_CFLAGS
24424
24425
24426 fi
24427 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24428 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24429
24430 if test $wx_cv_x11_xpm_h = "yes"; then
24431 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
24432 cat >>confdefs.h <<\_ACEOF
24433 #define wxHAVE_LIB_XPM 1
24434 _ACEOF
24435
24436 else
24437 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24438 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24439 fi
24440 fi
24441
24442 fi
24443
24444 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24445 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24446 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24447 echo $ECHO_N "(cached) $ECHO_C" >&6
24448 else
24449 ac_check_lib_save_LIBS=$LIBS
24450 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24451 cat >conftest.$ac_ext <<_ACEOF
24452 #line $LINENO "configure"
24453 /* confdefs.h. */
24454 _ACEOF
24455 cat confdefs.h >>conftest.$ac_ext
24456 cat >>conftest.$ac_ext <<_ACEOF
24457 /* end confdefs.h. */
24458
24459 /* Override any gcc2 internal prototype to avoid an error. */
24460 #ifdef __cplusplus
24461 extern "C"
24462 #endif
24463 /* We use char because int might match the return type of a gcc2
24464 builtin and then its argument prototype would still apply. */
24465 char XShapeQueryExtension ();
24466 int
24467 main ()
24468 {
24469 XShapeQueryExtension ();
24470 ;
24471 return 0;
24472 }
24473 _ACEOF
24474 rm -f conftest.$ac_objext conftest$ac_exeext
24475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24476 (eval $ac_link) 2>&5
24477 ac_status=$?
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } &&
24480 { ac_try='test -s conftest$ac_exeext'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 ac_cv_lib_Xext_XShapeQueryExtension=yes
24487 else
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.$ac_ext >&5
24490
24491 ac_cv_lib_Xext_XShapeQueryExtension=no
24492 fi
24493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24494 LIBS=$ac_check_lib_save_LIBS
24495 fi
24496 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24497 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24498 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24499
24500 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
24501 wxHAVE_XEXT_LIB=1
24502
24503 fi
24504
24505
24506 if test "$wxHAVE_XEXT_LIB" = 1; then
24507 save_CFLAGS="$CFLAGS"
24508 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24509
24510 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24511 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24512 cat >conftest.$ac_ext <<_ACEOF
24513 #line $LINENO "configure"
24514 /* confdefs.h. */
24515 _ACEOF
24516 cat confdefs.h >>conftest.$ac_ext
24517 cat >>conftest.$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24519
24520 #include <X11/Xlib.h>
24521 #include <X11/extensions/shape.h>
24522
24523 int
24524 main ()
24525 {
24526
24527 int dummy1, dummy2;
24528 XShapeQueryExtension((Display*)NULL,
24529 (int*)NULL, (int*)NULL);
24530
24531 ;
24532 return 0;
24533 }
24534 _ACEOF
24535 rm -f conftest.$ac_objext
24536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24537 (eval $ac_compile) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } &&
24541 { ac_try='test -s conftest.$ac_objext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547
24548 cat >>confdefs.h <<\_ACEOF
24549 #define HAVE_XSHAPE 1
24550 _ACEOF
24551
24552 echo "$as_me:$LINENO: result: found" >&5
24553 echo "${ECHO_T}found" >&6
24554
24555 else
24556 echo "$as_me: failed program was:" >&5
24557 sed 's/^/| /' conftest.$ac_ext >&5
24558
24559
24560 echo "$as_me:$LINENO: result: not found" >&5
24561 echo "${ECHO_T}not found" >&6
24562
24563 fi
24564 rm -f conftest.$ac_objext conftest.$ac_ext
24565 CFLAGS="$save_CFLAGS"
24566
24567 fi
24568 fi
24569
24570 if test "$wxUSE_MAC" = 1; then
24571 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24572 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24573 if test "$GCC" = yes; then
24574 echo "$as_me:$LINENO: result: gcc" >&5
24575 echo "${ECHO_T}gcc" >&6
24576 CPPFLAGS_PASCAL="-fpascal-strings"
24577 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24578 echo "$as_me:$LINENO: result: xlc" >&5
24579 echo "${ECHO_T}xlc" >&6
24580 CPPFLAGS_PASCAL="-qmacpstr"
24581 else
24582 echo "$as_me:$LINENO: result: none" >&5
24583 echo "${ECHO_T}none" >&6
24584 fi
24585
24586 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24587
24588 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24589 TOOLKIT=MAC
24590 GUIDIST=MACX_DIST
24591 WXBASEPORT="_carbon"
24592 fi
24593
24594 if test "$wxUSE_COCOA" = 1; then
24595 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24596 TOOLKIT=COCOA
24597 GUIDIST=COCOA_DIST
24598 fi
24599
24600 if test "$wxUSE_PM" = 1; then
24601 TOOLKIT=PM
24602 GUIDIST=GTK_DIST
24603 fi
24604
24605 if test "$TOOLKIT" = "PM" ; then
24606 TOOLKIT_DIR="os2"
24607 else
24608 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24609 fi
24610
24611 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24612
24613 if test "$wxUSE_UNIVERSAL" = "yes"; then
24614 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24615
24616 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24617 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24618
24619 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24620 if test "$wxUSE_X11" = 1; then
24621 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24622 else
24623 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24624 fi
24625 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24626 WIDGET_SET=univ
24627 else
24628 ALL_OBJECTS="\$(GUIOBJS)"
24629 ALL_SOURCES="\$(ALL_SOURCES)"
24630 ALL_HEADERS="\$(ALL_HEADERS)"
24631 fi
24632
24633 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24634
24635 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24636 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24637 fi
24638
24639 if test "$wxUSE_HTML" = "yes"; then
24640 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24641 fi
24642
24643 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24644 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24645 fi
24646 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24647 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24648 fi
24649 if test "$wxUSE_LIBPNG" = "builtin" ; then
24650 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24651 fi
24652
24653 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24654 DISTDIR="wx\$(TOOLKIT)"
24655 else
24656 USE_GUI=0
24657
24658 TOOLKIT_DIR="base"
24659
24660 if test "$USE_WIN32" = 1 ; then
24661 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24662 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24663
24664 TOOLKIT="MSW"
24665 else
24666 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24667 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24668 fi
24669
24670 ALL_SOURCES="\$(ALL_SOURCES)"
24671 ALL_HEADERS="\$(ALL_HEADERS)"
24672
24673 PORT_FILES="\${top_srcdir}/src/files.lst"
24674
24675 GUIDIST="BASE_DIST"
24676 DISTDIR="wxBase"
24677 fi
24678
24679
24680
24681
24682 IODBC_C_SRC=""
24683
24684
24685 if test "$TOOLKIT" != "MSW" ; then
24686
24687 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24688
24689 if test "${ac_cv_header_sql_h+set}" = set; then
24690 echo "$as_me:$LINENO: checking for sql.h" >&5
24691 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24692 if test "${ac_cv_header_sql_h+set}" = set; then
24693 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 fi
24695 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24696 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24697 else
24698 # Is the header compilable?
24699 echo "$as_me:$LINENO: checking sql.h usability" >&5
24700 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24701 cat >conftest.$ac_ext <<_ACEOF
24702 #line $LINENO "configure"
24703 /* confdefs.h. */
24704 _ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 $ac_includes_default
24709 #include <sql.h>
24710 _ACEOF
24711 rm -f conftest.$ac_objext
24712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24713 (eval $ac_compile) 2>&5
24714 ac_status=$?
24715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24716 (exit $ac_status); } &&
24717 { ac_try='test -s conftest.$ac_objext'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24720 ac_status=$?
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; }; then
24723 ac_header_compiler=yes
24724 else
24725 echo "$as_me: failed program was:" >&5
24726 sed 's/^/| /' conftest.$ac_ext >&5
24727
24728 ac_header_compiler=no
24729 fi
24730 rm -f conftest.$ac_objext conftest.$ac_ext
24731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24732 echo "${ECHO_T}$ac_header_compiler" >&6
24733
24734 # Is the header present?
24735 echo "$as_me:$LINENO: checking sql.h presence" >&5
24736 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24737 cat >conftest.$ac_ext <<_ACEOF
24738 #line $LINENO "configure"
24739 /* confdefs.h. */
24740 _ACEOF
24741 cat confdefs.h >>conftest.$ac_ext
24742 cat >>conftest.$ac_ext <<_ACEOF
24743 /* end confdefs.h. */
24744 #include <sql.h>
24745 _ACEOF
24746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } >/dev/null; then
24754 if test -s conftest.err; then
24755 ac_cpp_err=$ac_c_preproc_warn_flag
24756 else
24757 ac_cpp_err=
24758 fi
24759 else
24760 ac_cpp_err=yes
24761 fi
24762 if test -z "$ac_cpp_err"; then
24763 ac_header_preproc=yes
24764 else
24765 echo "$as_me: failed program was:" >&5
24766 sed 's/^/| /' conftest.$ac_ext >&5
24767
24768 ac_header_preproc=no
24769 fi
24770 rm -f conftest.err conftest.$ac_ext
24771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24772 echo "${ECHO_T}$ac_header_preproc" >&6
24773
24774 # So? What about this header?
24775 case $ac_header_compiler:$ac_header_preproc in
24776 yes:no )
24777 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24778 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24779 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24780 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24781 (
24782 cat <<\_ASBOX
24783 ## ------------------------------------ ##
24784 ## Report this to bug-autoconf@gnu.org. ##
24785 ## ------------------------------------ ##
24786 _ASBOX
24787 ) |
24788 sed "s/^/$as_me: WARNING: /" >&2
24789 ;;
24790 no:yes )
24791 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24792 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24793 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24794 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24795 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24796 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24797 (
24798 cat <<\_ASBOX
24799 ## ------------------------------------ ##
24800 ## Report this to bug-autoconf@gnu.org. ##
24801 ## ------------------------------------ ##
24802 _ASBOX
24803 ) |
24804 sed "s/^/$as_me: WARNING: /" >&2
24805 ;;
24806 esac
24807 echo "$as_me:$LINENO: checking for sql.h" >&5
24808 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24809 if test "${ac_cv_header_sql_h+set}" = set; then
24810 echo $ECHO_N "(cached) $ECHO_C" >&6
24811 else
24812 ac_cv_header_sql_h=$ac_header_preproc
24813 fi
24814 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24815 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24816
24817 fi
24818 if test $ac_cv_header_sql_h = yes; then
24819 found_sql_h=1
24820 fi
24821
24822
24823 if test "x$found_sql_h" = "x1" ; then
24824 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24825 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24826 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 else
24829 ac_check_lib_save_LIBS=$LIBS
24830 LIBS="-liodbc $LIBS"
24831 cat >conftest.$ac_ext <<_ACEOF
24832 #line $LINENO "configure"
24833 /* confdefs.h. */
24834 _ACEOF
24835 cat confdefs.h >>conftest.$ac_ext
24836 cat >>conftest.$ac_ext <<_ACEOF
24837 /* end confdefs.h. */
24838
24839 /* Override any gcc2 internal prototype to avoid an error. */
24840 #ifdef __cplusplus
24841 extern "C"
24842 #endif
24843 /* We use char because int might match the return type of a gcc2
24844 builtin and then its argument prototype would still apply. */
24845 char SQLAllocEnv ();
24846 int
24847 main ()
24848 {
24849 SQLAllocEnv ();
24850 ;
24851 return 0;
24852 }
24853 _ACEOF
24854 rm -f conftest.$ac_objext conftest$ac_exeext
24855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24856 (eval $ac_link) 2>&5
24857 ac_status=$?
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } &&
24860 { ac_try='test -s conftest$ac_exeext'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; }; then
24866 ac_cv_lib_iodbc_SQLAllocEnv=yes
24867 else
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24870
24871 ac_cv_lib_iodbc_SQLAllocEnv=no
24872 fi
24873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24874 LIBS=$ac_check_lib_save_LIBS
24875 fi
24876 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24877 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24878 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24879 ODBC_LINK=" -liodbc"
24880 else
24881
24882 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24883 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24884 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24886 else
24887 ac_check_lib_save_LIBS=$LIBS
24888 LIBS="-lunixodbc $LIBS"
24889 cat >conftest.$ac_ext <<_ACEOF
24890 #line $LINENO "configure"
24891 /* confdefs.h. */
24892 _ACEOF
24893 cat confdefs.h >>conftest.$ac_ext
24894 cat >>conftest.$ac_ext <<_ACEOF
24895 /* end confdefs.h. */
24896
24897 /* Override any gcc2 internal prototype to avoid an error. */
24898 #ifdef __cplusplus
24899 extern "C"
24900 #endif
24901 /* We use char because int might match the return type of a gcc2
24902 builtin and then its argument prototype would still apply. */
24903 char SQLAllocEnv ();
24904 int
24905 main ()
24906 {
24907 SQLAllocEnv ();
24908 ;
24909 return 0;
24910 }
24911 _ACEOF
24912 rm -f conftest.$ac_objext conftest$ac_exeext
24913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24914 (eval $ac_link) 2>&5
24915 ac_status=$?
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); } &&
24918 { ac_try='test -s conftest$ac_exeext'
24919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24920 (eval $ac_try) 2>&5
24921 ac_status=$?
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); }; }; then
24924 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24925 else
24926 echo "$as_me: failed program was:" >&5
24927 sed 's/^/| /' conftest.$ac_ext >&5
24928
24929 ac_cv_lib_unixodbc_SQLAllocEnv=no
24930 fi
24931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24932 LIBS=$ac_check_lib_save_LIBS
24933 fi
24934 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24935 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24936 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24937 ODBC_LINK=" -lunixodbc"
24938 else
24939
24940 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24941 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24942 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24943 echo $ECHO_N "(cached) $ECHO_C" >&6
24944 else
24945 ac_check_lib_save_LIBS=$LIBS
24946 LIBS="-lodbc $LIBS"
24947 cat >conftest.$ac_ext <<_ACEOF
24948 #line $LINENO "configure"
24949 /* confdefs.h. */
24950 _ACEOF
24951 cat confdefs.h >>conftest.$ac_ext
24952 cat >>conftest.$ac_ext <<_ACEOF
24953 /* end confdefs.h. */
24954
24955 /* Override any gcc2 internal prototype to avoid an error. */
24956 #ifdef __cplusplus
24957 extern "C"
24958 #endif
24959 /* We use char because int might match the return type of a gcc2
24960 builtin and then its argument prototype would still apply. */
24961 char SQLAllocEnv ();
24962 int
24963 main ()
24964 {
24965 SQLAllocEnv ();
24966 ;
24967 return 0;
24968 }
24969 _ACEOF
24970 rm -f conftest.$ac_objext conftest$ac_exeext
24971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24972 (eval $ac_link) 2>&5
24973 ac_status=$?
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } &&
24976 { ac_try='test -s conftest$ac_exeext'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24979 ac_status=$?
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; }; then
24982 ac_cv_lib_odbc_SQLAllocEnv=yes
24983 else
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.$ac_ext >&5
24986
24987 ac_cv_lib_odbc_SQLAllocEnv=no
24988 fi
24989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24990 LIBS=$ac_check_lib_save_LIBS
24991 fi
24992 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
24993 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
24994 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
24995 ODBC_LINK=" -lodbc"
24996 fi
24997
24998
24999 fi
25000
25001
25002 fi
25003
25004 fi
25005 if test "x$ODBC_LINK" = "x" ; then
25006 if test "$wxUSE_ODBC" = "sys" ; then
25007 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25008 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25009 { (exit 1); exit 1; }; }
25010 else
25011 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25012 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25013 wxUSE_ODBC=builtin
25014 fi
25015 else
25016 wxUSE_ODBC=sys
25017 fi
25018 fi
25019 if test "$wxUSE_ODBC" != "no" ; then
25020 cat >>confdefs.h <<\_ACEOF
25021 #define wxUSE_ODBC 1
25022 _ACEOF
25023
25024 if test "$wxUSE_ODBC" = "builtin" ; then
25025 cat >>confdefs.h <<\_ACEOF
25026 #define wxUSE_BUILTIN_IODBC 1
25027 _ACEOF
25028
25029 fi
25030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25031
25032 WXODBCFLAG="-D_IODBC_"
25033 fi
25034 fi
25035
25036 if test "$wxUSE_REGEX" = "builtin" ; then
25037 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25038 fi
25039 if test "$wxUSE_ZLIB" = "builtin" ; then
25040 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25041 fi
25042
25043 if test "$wxUSE_DISPLAY" = "yes"; then
25044 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25045 echo "$as_me:$LINENO: checking for Xinerama" >&5
25046 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25047
25048 ac_find_libraries=
25049 for ac_dir in $SEARCH_LIB /usr/lib;
25050 do
25051 for ac_extension in a so sl dylib; do
25052 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25053 ac_find_libraries=$ac_dir
25054 break 2
25055 fi
25056 done
25057 done
25058
25059 if test "$ac_find_libraries" != "" ; then
25060
25061 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25062 result=$?
25063 if test $result = 0; then
25064 ac_path_to_link=""
25065 else
25066 ac_path_to_link=" -L$ac_find_libraries"
25067 fi
25068
25069 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25070 LDFLAGS="$LDFLAGS $ac_path_to_link"
25071 fi
25072 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
25073 echo "$as_me:$LINENO: result: yes" >&5
25074 echo "${ECHO_T}yes" >&6
25075
25076 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25077 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25078
25079 ac_find_libraries=
25080 for ac_dir in $SEARCH_LIB /usr/lib;
25081 do
25082 for ac_extension in a so sl dylib; do
25083 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25084 ac_find_libraries=$ac_dir
25085 break 2
25086 fi
25087 done
25088 done
25089
25090 if test "$ac_find_libraries" != "" ; then
25091 echo "$as_me:$LINENO: result: yes" >&5
25092 echo "${ECHO_T}yes" >&6
25093
25094 for ac_header in X11/extensions/xf86vmode.h
25095 do
25096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25097 echo "$as_me:$LINENO: checking for $ac_header" >&5
25098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 else
25102 cat >conftest.$ac_ext <<_ACEOF
25103 #line $LINENO "configure"
25104 /* confdefs.h. */
25105 _ACEOF
25106 cat confdefs.h >>conftest.$ac_ext
25107 cat >>conftest.$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109
25110 #if HAVE_X11_XLIB_H
25111 #include <X11/Xlib.h>
25112 #endif
25113
25114
25115 #include <$ac_header>
25116 _ACEOF
25117 rm -f conftest.$ac_objext
25118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25119 (eval $ac_compile) 2>&5
25120 ac_status=$?
25121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25122 (exit $ac_status); } &&
25123 { ac_try='test -s conftest.$ac_objext'
25124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25125 (eval $ac_try) 2>&5
25126 ac_status=$?
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); }; }; then
25129 eval "$as_ac_Header=yes"
25130 else
25131 echo "$as_me: failed program was:" >&5
25132 sed 's/^/| /' conftest.$ac_ext >&5
25133
25134 eval "$as_ac_Header=no"
25135 fi
25136 rm -f conftest.$ac_objext conftest.$ac_ext
25137 fi
25138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25141 cat >>confdefs.h <<_ACEOF
25142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25143 _ACEOF
25144
25145 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
25146
25147 fi
25148
25149 done
25150
25151 else
25152 echo "$as_me:$LINENO: result: no" >&5
25153 echo "${ECHO_T}no" >&6
25154 fi
25155
25156 else
25157 echo "$as_me:$LINENO: result: no" >&5
25158 echo "${ECHO_T}no" >&6
25159 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25160 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25161 wxUSE_DISPLAY="no"
25162 fi
25163 fi
25164 fi
25165
25166
25167 USE_OPENGL=0
25168 if test "$wxUSE_OPENGL" = "yes"; then
25169 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25170 OPENGL_LIBS="-framework OpenGL -framework AGL"
25171 elif test "$wxUSE_MSW" = 1; then
25172 OPENGL_LIBS="-lopengl32 -lglu32"
25173 else
25174
25175
25176 ac_find_includes=
25177 for ac_dir in $SEARCH_INCLUDE /usr/include;
25178 do
25179 if test -f "$ac_dir/GL/gl.h"; then
25180 ac_find_includes=$ac_dir
25181 break
25182 fi
25183 done
25184
25185 if test "$ac_find_includes" != "" ; then
25186 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25187 echo "${ECHO_T}found in $ac_find_includes" >&6
25188
25189 if test "x$ac_find_includes" = "x/usr/include"; then
25190 ac_path_to_include=""
25191 else
25192 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25193 result=$?
25194 if test $result = 0; then
25195 ac_path_to_include=""
25196 else
25197 ac_path_to_include=" -I$ac_find_includes"
25198 fi
25199 fi
25200
25201 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25202 fi
25203
25204 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25205 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25206 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25207 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25208 echo $ECHO_N "(cached) $ECHO_C" >&6
25209 fi
25210 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25211 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25212 else
25213 # Is the header compilable?
25214 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25215 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25216 cat >conftest.$ac_ext <<_ACEOF
25217 #line $LINENO "configure"
25218 /* confdefs.h. */
25219 _ACEOF
25220 cat confdefs.h >>conftest.$ac_ext
25221 cat >>conftest.$ac_ext <<_ACEOF
25222 /* end confdefs.h. */
25223 $ac_includes_default
25224 #include <GL/gl.h>
25225 _ACEOF
25226 rm -f conftest.$ac_objext
25227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25228 (eval $ac_compile) 2>&5
25229 ac_status=$?
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } &&
25232 { ac_try='test -s conftest.$ac_objext'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; }; then
25238 ac_header_compiler=yes
25239 else
25240 echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.$ac_ext >&5
25242
25243 ac_header_compiler=no
25244 fi
25245 rm -f conftest.$ac_objext conftest.$ac_ext
25246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25247 echo "${ECHO_T}$ac_header_compiler" >&6
25248
25249 # Is the header present?
25250 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25251 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25252 cat >conftest.$ac_ext <<_ACEOF
25253 #line $LINENO "configure"
25254 /* confdefs.h. */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25259 #include <GL/gl.h>
25260 _ACEOF
25261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25263 ac_status=$?
25264 grep -v '^ *+' conftest.er1 >conftest.err
25265 rm -f conftest.er1
25266 cat conftest.err >&5
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); } >/dev/null; then
25269 if test -s conftest.err; then
25270 ac_cpp_err=$ac_c_preproc_warn_flag
25271 else
25272 ac_cpp_err=
25273 fi
25274 else
25275 ac_cpp_err=yes
25276 fi
25277 if test -z "$ac_cpp_err"; then
25278 ac_header_preproc=yes
25279 else
25280 echo "$as_me: failed program was:" >&5
25281 sed 's/^/| /' conftest.$ac_ext >&5
25282
25283 ac_header_preproc=no
25284 fi
25285 rm -f conftest.err conftest.$ac_ext
25286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25287 echo "${ECHO_T}$ac_header_preproc" >&6
25288
25289 # So? What about this header?
25290 case $ac_header_compiler:$ac_header_preproc in
25291 yes:no )
25292 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25293 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25294 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25295 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25296 (
25297 cat <<\_ASBOX
25298 ## ------------------------------------ ##
25299 ## Report this to bug-autoconf@gnu.org. ##
25300 ## ------------------------------------ ##
25301 _ASBOX
25302 ) |
25303 sed "s/^/$as_me: WARNING: /" >&2
25304 ;;
25305 no:yes )
25306 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25307 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25308 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25309 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25310 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25311 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25312 (
25313 cat <<\_ASBOX
25314 ## ------------------------------------ ##
25315 ## Report this to bug-autoconf@gnu.org. ##
25316 ## ------------------------------------ ##
25317 _ASBOX
25318 ) |
25319 sed "s/^/$as_me: WARNING: /" >&2
25320 ;;
25321 esac
25322 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25323 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25324 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 else
25327 ac_cv_header_GL_gl_h=$ac_header_preproc
25328 fi
25329 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25330 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25331
25332 fi
25333 if test $ac_cv_header_GL_gl_h = yes; then
25334
25335 found_gl=0
25336
25337 echo "$as_me:$LINENO: checking for -lGL" >&5
25338 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25339
25340 ac_find_libraries=
25341 for ac_dir in $SEARCH_LIB /usr/lib;
25342 do
25343 for ac_extension in a so sl dylib; do
25344 if test -f "$ac_dir/libGL.$ac_extension"; then
25345 ac_find_libraries=$ac_dir
25346 break 2
25347 fi
25348 done
25349 done
25350
25351 if test "$ac_find_libraries" != "" ; then
25352
25353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25354 result=$?
25355 if test $result = 0; then
25356 ac_path_to_link=""
25357 else
25358 ac_path_to_link=" -L$ac_find_libraries"
25359 fi
25360
25361 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25362 LDFLAGS_GL="$ac_path_to_link"
25363 fi
25364
25365
25366 ac_find_libraries=
25367 for ac_dir in $SEARCH_LIB /usr/lib;
25368 do
25369 for ac_extension in a so sl dylib; do
25370 if test -f "$ac_dir/libGLU.$ac_extension"; then
25371 ac_find_libraries=$ac_dir
25372 break 2
25373 fi
25374 done
25375 done
25376
25377 if test "$ac_find_libraries" != "" ; then
25378
25379 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25380 result=$?
25381 if test $result = 0; then
25382 ac_path_to_link=""
25383 else
25384 ac_path_to_link=" -L$ac_find_libraries"
25385 fi
25386
25387 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25388 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25389 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25390 fi
25391
25392 found_gl=1
25393 OPENGL_LIBS="-lGL -lGLU"
25394 echo "$as_me:$LINENO: result: yes" >&5
25395 echo "${ECHO_T}yes" >&6
25396 fi
25397 fi
25398
25399 if test "$found_gl" != 1; then
25400 echo "$as_me:$LINENO: result: no" >&5
25401 echo "${ECHO_T}no" >&6
25402 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25403 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25404
25405 ac_find_libraries=
25406 for ac_dir in $SEARCH_LIB /usr/lib;
25407 do
25408 for ac_extension in a so sl dylib; do
25409 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25410 ac_find_libraries=$ac_dir
25411 break 2
25412 fi
25413 done
25414 done
25415
25416 if test "$ac_find_libraries" != "" ; then
25417
25418 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25419 result=$?
25420 if test $result = 0; then
25421 ac_path_to_link=""
25422 else
25423 ac_path_to_link=" -L$ac_find_libraries"
25424 fi
25425
25426 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25427 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25428 echo "$as_me:$LINENO: result: yes" >&5
25429 echo "${ECHO_T}yes" >&6
25430 else
25431 echo "$as_me:$LINENO: result: no" >&5
25432 echo "${ECHO_T}no" >&6
25433 fi
25434 fi
25435
25436 fi
25437
25438
25439
25440 if test "x$OPENGL_LIBS" = "x"; then
25441 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25442 echo "$as_me: error: OpenGL libraries not available" >&2;}
25443 { (exit 1); exit 1; }; }
25444 fi
25445 fi
25446
25447 if test "$wxUSE_OPENGL" = "yes"; then
25448 USE_OPENGL=1
25449 cat >>confdefs.h <<\_ACEOF
25450 #define wxUSE_OPENGL 1
25451 _ACEOF
25452
25453 cat >>confdefs.h <<\_ACEOF
25454 #define wxUSE_GLCANVAS 1
25455 _ACEOF
25456
25457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25458 fi
25459 fi
25460
25461 if test -z "$TOOLKIT_VPATH" ; then
25462 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25463 fi
25464
25465 if test -n "$TOOLKIT" ; then
25466 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25467 fi
25468
25469 UNICODE=0
25470 lib_unicode_suffix=
25471 if test "$wxUSE_UNICODE" = "yes"; then
25472 lib_unicode_suffix=u
25473 UNICODE=1
25474 fi
25475
25476 lib_debug_suffix=
25477 DEBUG_FLAG=0
25478 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25479 lib_debug_suffix=d
25480 DEBUG_FLAG=1
25481 fi
25482
25483 DEBUG_INFO=0
25484 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25485 DEBUG_INFO=1
25486 fi
25487
25488 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25489
25490 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25491 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25492
25493 if test "$cross_compiling" = "yes"; then
25494 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25495 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25496 HOST_SUFFIX="-${host_alias}"
25497 fi
25498
25499 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25500 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25501 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25502 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25503
25504 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25505 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25506
25507 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25508 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25509 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25510 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25511
25512 case "${host}" in
25513 *-*-cygwin* | *-*-mingw32* )
25514 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25515 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25516 ;;
25517
25518 *-*-darwin* )
25519
25520 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25521 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25522
25523 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25524 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25525 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25526 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25527
25528 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25529 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25530 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25531 fi
25532 ;;
25533 esac
25534
25535 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25536 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25537
25538 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25539 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25540
25541 if test "$wxUSE_OPENGL" = "yes"; then
25542 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25543 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25544 fi
25545
25546
25547
25548 if test "$wxUSE_SHARED" = "yes"; then
25549 case "${host}" in
25550 *-pc-os2_emx | *-pc-os2-emx | \
25551 *-pc-msdosdjgpp )
25552 wxUSE_SHARED=no
25553 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25554 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25555 ;;
25556 esac
25557 fi
25558
25559 SHARED=0
25560 if test "$wxUSE_SHARED" = "yes"; then
25561 SHARED=1
25562
25563
25564 found_versioning=no
25565
25566
25567 if test $found_versioning = no ; then
25568 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25569 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25570 if test "${wx_cv_version_script+set}" = set; then
25571 echo $ECHO_N "(cached) $ECHO_C" >&6
25572 else
25573
25574 echo "VER_1 { *; };" >conftest.sym
25575 echo "int main() { return 0; }" >conftest.cpp
25576
25577 if { ac_try='
25578 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25579 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25582 ac_status=$?
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; } ; then
25585 if test -s conftest.stderr ; then
25586 wx_cv_version_script=no
25587 else
25588 wx_cv_version_script=yes
25589 fi
25590 else
25591 wx_cv_version_script=no
25592 fi
25593 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25594
25595 fi
25596 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25597 echo "${ECHO_T}$wx_cv_version_script" >&6
25598 if test $wx_cv_version_script = yes ; then
25599 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25600 fi
25601 fi
25602
25603
25604 case "${host}" in
25605 *-*-linux* | *-*-gnu* )
25606 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25607 ;;
25608
25609 *-*-solaris2* )
25610 if test "$GCC" = yes ; then
25611 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25612
25613 saveLdflags="$LDFLAGS"
25614 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25615 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25616 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25617 cat >conftest.$ac_ext <<_ACEOF
25618 #line $LINENO "configure"
25619 /* confdefs.h. */
25620 _ACEOF
25621 cat confdefs.h >>conftest.$ac_ext
25622 cat >>conftest.$ac_ext <<_ACEOF
25623 /* end confdefs.h. */
25624
25625 int
25626 main ()
25627 {
25628
25629 ;
25630 return 0;
25631 }
25632 _ACEOF
25633 rm -f conftest.$ac_objext conftest$ac_exeext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25635 (eval $ac_link) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); } &&
25639 { ac_try='test -s conftest$ac_exeext'
25640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25641 (eval $ac_try) 2>&5
25642 ac_status=$?
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); }; }; then
25645
25646 echo "$as_me:$LINENO: result: yes" >&5
25647 echo "${ECHO_T}yes" >&6
25648 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25649
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25653
25654
25655 echo "$as_me:$LINENO: result: no" >&5
25656 echo "${ECHO_T}no" >&6
25657 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25658 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25659 LDFLAGS="$saveLdflags -Wl,-R,/"
25660 cat >conftest.$ac_ext <<_ACEOF
25661 #line $LINENO "configure"
25662 /* confdefs.h. */
25663 _ACEOF
25664 cat confdefs.h >>conftest.$ac_ext
25665 cat >>conftest.$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667
25668 int
25669 main ()
25670 {
25671
25672 ;
25673 return 0;
25674 }
25675 _ACEOF
25676 rm -f conftest.$ac_objext conftest$ac_exeext
25677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25678 (eval $ac_link) 2>&5
25679 ac_status=$?
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } &&
25682 { ac_try='test -s conftest$ac_exeext'
25683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684 (eval $ac_try) 2>&5
25685 ac_status=$?
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); }; }; then
25688
25689 echo "$as_me:$LINENO: result: yes" >&5
25690 echo "${ECHO_T}yes" >&6
25691 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25692 else
25693 echo "$as_me: failed program was:" >&5
25694 sed 's/^/| /' conftest.$ac_ext >&5
25695
25696
25697 echo "$as_me:$LINENO: result: no" >&5
25698 echo "${ECHO_T}no" >&6
25699
25700 fi
25701 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25702
25703 fi
25704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25705 LDFLAGS="$saveLdflags"
25706 else
25707 SHARED_LD="${CXX} -G -o"
25708 PIC_FLAG="-KPIC"
25709 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25710 fi
25711 ;;
25712
25713 powerpc-*-darwin* )
25714 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25715 cat <<EOF >change-install-names
25716 #!/bin/sh
25717 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25718 inst_cmd="install_name_tool "
25719 for i in \${libnames} ; do
25720 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25721 done
25722 \${inst_cmd} \${3}
25723 EOF
25724 chmod +x change-install-names
25725 ;;
25726
25727 esac
25728
25729 if test "x$WX_TARGET_LIBRARY" = "x"; then
25730 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25731 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25732 fi
25733
25734 WX_TARGET_LIBRARY_TYPE="so"
25735 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25736 fi
25737
25738 if test "$wxUSE_SHARED" = "no"; then
25739
25740 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25741 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25742 fi
25743
25744 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25745 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25746 fi
25747
25748 if test "$wxUSE_OPENGL" = "yes"; then
25749 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25750 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25751 else
25752 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25753 fi
25754
25755 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25756 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25757
25758 WX_TARGET_LIBRARY_TYPE="a"
25759 INSTALL_LIBRARY='$(INSTALL_DATA)'
25760
25761 STATIC_FLAG="yes"
25762 else
25763 STATIC_FLAG="no"
25764 fi
25765
25766 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
25767 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25768 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25769 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25770
25771 # Extract the first word of "Rez", so it can be a program name with args.
25772 set dummy Rez; ac_word=$2
25773 echo "$as_me:$LINENO: checking for $ac_word" >&5
25774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25775 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25778 if test -n "$RESCOMP"; then
25779 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25780 else
25781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25782 for as_dir in $PATH
25783 do
25784 IFS=$as_save_IFS
25785 test -z "$as_dir" && as_dir=.
25786 for ac_exec_ext in '' $ac_executable_extensions; do
25787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25788 ac_cv_prog_RESCOMP="Rez"
25789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25790 break 2
25791 fi
25792 done
25793 done
25794
25795 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25796 fi
25797 fi
25798 RESCOMP=$ac_cv_prog_RESCOMP
25799 if test -n "$RESCOMP"; then
25800 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25801 echo "${ECHO_T}$RESCOMP" >&6
25802 else
25803 echo "$as_me:$LINENO: result: no" >&5
25804 echo "${ECHO_T}no" >&6
25805 fi
25806
25807 # Extract the first word of "DeRez", so it can be a program name with args.
25808 set dummy DeRez; ac_word=$2
25809 echo "$as_me:$LINENO: checking for $ac_word" >&5
25810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25811 if test "${ac_cv_prog_DEREZ+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 else
25814 if test -n "$DEREZ"; then
25815 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25816 else
25817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25818 for as_dir in $PATH
25819 do
25820 IFS=$as_save_IFS
25821 test -z "$as_dir" && as_dir=.
25822 for ac_exec_ext in '' $ac_executable_extensions; do
25823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25824 ac_cv_prog_DEREZ="DeRez"
25825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25826 break 2
25827 fi
25828 done
25829 done
25830
25831 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25832 fi
25833 fi
25834 DEREZ=$ac_cv_prog_DEREZ
25835 if test -n "$DEREZ"; then
25836 echo "$as_me:$LINENO: result: $DEREZ" >&5
25837 echo "${ECHO_T}$DEREZ" >&6
25838 else
25839 echo "$as_me:$LINENO: result: no" >&5
25840 echo "${ECHO_T}no" >&6
25841 fi
25842
25843 # Extract the first word of "SetFile", so it can be a program name with args.
25844 set dummy SetFile; ac_word=$2
25845 echo "$as_me:$LINENO: checking for $ac_word" >&5
25846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25847 if test "${ac_cv_prog_SETFILE+set}" = set; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 else
25850 if test -n "$SETFILE"; then
25851 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25852 else
25853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25854 for as_dir in $PATH
25855 do
25856 IFS=$as_save_IFS
25857 test -z "$as_dir" && as_dir=.
25858 for ac_exec_ext in '' $ac_executable_extensions; do
25859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25860 ac_cv_prog_SETFILE="SetFile"
25861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25862 break 2
25863 fi
25864 done
25865 done
25866
25867 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25868 fi
25869 fi
25870 SETFILE=$ac_cv_prog_SETFILE
25871 if test -n "$SETFILE"; then
25872 echo "$as_me:$LINENO: result: $SETFILE" >&5
25873 echo "${ECHO_T}$SETFILE" >&6
25874 else
25875 echo "$as_me:$LINENO: result: no" >&5
25876 echo "${ECHO_T}no" >&6
25877 fi
25878
25879
25880 MACSETFILE="\$(SETFILE)"
25881
25882 if test "$wxUSE_MAC" = 1; then
25883 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25884
25885 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25886 else
25887 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25888 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25889 fi
25890 else
25891 MACSETFILE="@#"
25892 MACRESWXCONFIG="#"
25893
25894 if test "$wxUSE_PM" = 1; then
25895 MACRESCOMP="emxbind -ep"
25896 else
25897 MACRESCOMP="@#"
25898 fi
25899 fi
25900
25901
25902 echo "$as_me:$LINENO: checking for mode_t" >&5
25903 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25904 if test "${ac_cv_type_mode_t+set}" = set; then
25905 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 else
25907 cat >conftest.$ac_ext <<_ACEOF
25908 #line $LINENO "configure"
25909 /* confdefs.h. */
25910 _ACEOF
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25914 $ac_includes_default
25915 int
25916 main ()
25917 {
25918 if ((mode_t *) 0)
25919 return 0;
25920 if (sizeof (mode_t))
25921 return 0;
25922 ;
25923 return 0;
25924 }
25925 _ACEOF
25926 rm -f conftest.$ac_objext
25927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25928 (eval $ac_compile) 2>&5
25929 ac_status=$?
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try='test -s conftest.$ac_objext'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; }; then
25938 ac_cv_type_mode_t=yes
25939 else
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25942
25943 ac_cv_type_mode_t=no
25944 fi
25945 rm -f conftest.$ac_objext conftest.$ac_ext
25946 fi
25947 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25948 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25949 if test $ac_cv_type_mode_t = yes; then
25950 :
25951 else
25952
25953 cat >>confdefs.h <<_ACEOF
25954 #define mode_t int
25955 _ACEOF
25956
25957 fi
25958
25959 echo "$as_me:$LINENO: checking for off_t" >&5
25960 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25961 if test "${ac_cv_type_off_t+set}" = set; then
25962 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 else
25964 cat >conftest.$ac_ext <<_ACEOF
25965 #line $LINENO "configure"
25966 /* confdefs.h. */
25967 _ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25971 $ac_includes_default
25972 int
25973 main ()
25974 {
25975 if ((off_t *) 0)
25976 return 0;
25977 if (sizeof (off_t))
25978 return 0;
25979 ;
25980 return 0;
25981 }
25982 _ACEOF
25983 rm -f conftest.$ac_objext
25984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25985 (eval $ac_compile) 2>&5
25986 ac_status=$?
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } &&
25989 { ac_try='test -s conftest.$ac_objext'
25990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25991 (eval $ac_try) 2>&5
25992 ac_status=$?
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); }; }; then
25995 ac_cv_type_off_t=yes
25996 else
25997 echo "$as_me: failed program was:" >&5
25998 sed 's/^/| /' conftest.$ac_ext >&5
25999
26000 ac_cv_type_off_t=no
26001 fi
26002 rm -f conftest.$ac_objext conftest.$ac_ext
26003 fi
26004 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26005 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26006 if test $ac_cv_type_off_t = yes; then
26007 :
26008 else
26009
26010 cat >>confdefs.h <<_ACEOF
26011 #define off_t long
26012 _ACEOF
26013
26014 fi
26015
26016 echo "$as_me:$LINENO: checking for pid_t" >&5
26017 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26018 if test "${ac_cv_type_pid_t+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26020 else
26021 cat >conftest.$ac_ext <<_ACEOF
26022 #line $LINENO "configure"
26023 /* confdefs.h. */
26024 _ACEOF
26025 cat confdefs.h >>conftest.$ac_ext
26026 cat >>conftest.$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26028 $ac_includes_default
26029 int
26030 main ()
26031 {
26032 if ((pid_t *) 0)
26033 return 0;
26034 if (sizeof (pid_t))
26035 return 0;
26036 ;
26037 return 0;
26038 }
26039 _ACEOF
26040 rm -f conftest.$ac_objext
26041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26042 (eval $ac_compile) 2>&5
26043 ac_status=$?
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } &&
26046 { ac_try='test -s conftest.$ac_objext'
26047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26048 (eval $ac_try) 2>&5
26049 ac_status=$?
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); }; }; then
26052 ac_cv_type_pid_t=yes
26053 else
26054 echo "$as_me: failed program was:" >&5
26055 sed 's/^/| /' conftest.$ac_ext >&5
26056
26057 ac_cv_type_pid_t=no
26058 fi
26059 rm -f conftest.$ac_objext conftest.$ac_ext
26060 fi
26061 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26062 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26063 if test $ac_cv_type_pid_t = yes; then
26064 :
26065 else
26066
26067 cat >>confdefs.h <<_ACEOF
26068 #define pid_t int
26069 _ACEOF
26070
26071 fi
26072
26073 echo "$as_me:$LINENO: checking for size_t" >&5
26074 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26075 if test "${ac_cv_type_size_t+set}" = set; then
26076 echo $ECHO_N "(cached) $ECHO_C" >&6
26077 else
26078 cat >conftest.$ac_ext <<_ACEOF
26079 #line $LINENO "configure"
26080 /* confdefs.h. */
26081 _ACEOF
26082 cat confdefs.h >>conftest.$ac_ext
26083 cat >>conftest.$ac_ext <<_ACEOF
26084 /* end confdefs.h. */
26085 $ac_includes_default
26086 int
26087 main ()
26088 {
26089 if ((size_t *) 0)
26090 return 0;
26091 if (sizeof (size_t))
26092 return 0;
26093 ;
26094 return 0;
26095 }
26096 _ACEOF
26097 rm -f conftest.$ac_objext
26098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26099 (eval $ac_compile) 2>&5
26100 ac_status=$?
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); } &&
26103 { ac_try='test -s conftest.$ac_objext'
26104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26105 (eval $ac_try) 2>&5
26106 ac_status=$?
26107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26108 (exit $ac_status); }; }; then
26109 ac_cv_type_size_t=yes
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26113
26114 ac_cv_type_size_t=no
26115 fi
26116 rm -f conftest.$ac_objext conftest.$ac_ext
26117 fi
26118 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26119 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26120 if test $ac_cv_type_size_t = yes; then
26121 :
26122 else
26123
26124 cat >>confdefs.h <<_ACEOF
26125 #define size_t unsigned
26126 _ACEOF
26127
26128 fi
26129
26130 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26131 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26132 if test "${ac_cv_type_uid_t+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26134 else
26135 cat >conftest.$ac_ext <<_ACEOF
26136 #line $LINENO "configure"
26137 /* confdefs.h. */
26138 _ACEOF
26139 cat confdefs.h >>conftest.$ac_ext
26140 cat >>conftest.$ac_ext <<_ACEOF
26141 /* end confdefs.h. */
26142 #include <sys/types.h>
26143
26144 _ACEOF
26145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26146 $EGREP "uid_t" >/dev/null 2>&1; then
26147 ac_cv_type_uid_t=yes
26148 else
26149 ac_cv_type_uid_t=no
26150 fi
26151 rm -f conftest*
26152
26153 fi
26154 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26155 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26156 if test $ac_cv_type_uid_t = no; then
26157
26158 cat >>confdefs.h <<\_ACEOF
26159 #define uid_t int
26160 _ACEOF
26161
26162
26163 cat >>confdefs.h <<\_ACEOF
26164 #define gid_t int
26165 _ACEOF
26166
26167 fi
26168
26169
26170
26171
26172 ac_ext=cc
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26177
26178 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26179 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26180 if test "${wx_cv_size_t_is_uint+set}" = set; then
26181 echo $ECHO_N "(cached) $ECHO_C" >&6
26182 else
26183
26184 cat >conftest.$ac_ext <<_ACEOF
26185 #line $LINENO "configure"
26186 /* confdefs.h. */
26187 _ACEOF
26188 cat confdefs.h >>conftest.$ac_ext
26189 cat >>conftest.$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26191 #include <stddef.h>
26192 int
26193 main ()
26194 {
26195
26196 return 0; }
26197
26198 struct Foo { void foo(size_t); void foo(unsigned int); };
26199
26200 int bar() {
26201
26202 ;
26203 return 0;
26204 }
26205 _ACEOF
26206 rm -f conftest.$ac_objext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26208 (eval $ac_compile) 2>&5
26209 ac_status=$?
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try='test -s conftest.$ac_objext'
26213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214 (eval $ac_try) 2>&5
26215 ac_status=$?
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); }; }; then
26218 wx_cv_size_t_is_uint=no
26219 else
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 wx_cv_size_t_is_uint=yes
26224
26225 fi
26226 rm -f conftest.$ac_objext conftest.$ac_ext
26227
26228
26229 fi
26230 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26231 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26232
26233 if test "$wx_cv_size_t_is_uint" = "yes"; then
26234 cat >>confdefs.h <<\_ACEOF
26235 #define wxSIZE_T_IS_UINT 1
26236 _ACEOF
26237
26238 else
26239 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26240 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26241 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 else
26244 cat >conftest.$ac_ext <<_ACEOF
26245 #line $LINENO "configure"
26246 /* confdefs.h. */
26247 _ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26251 #include <stddef.h>
26252 int
26253 main ()
26254 {
26255
26256 return 0; }
26257
26258 struct Foo { void foo(size_t); void foo(unsigned long); };
26259
26260 int bar() {
26261
26262 ;
26263 return 0;
26264 }
26265 _ACEOF
26266 rm -f conftest.$ac_objext
26267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26268 (eval $ac_compile) 2>&5
26269 ac_status=$?
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } &&
26272 { ac_try='test -s conftest.$ac_objext'
26273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26274 (eval $ac_try) 2>&5
26275 ac_status=$?
26276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26277 (exit $ac_status); }; }; then
26278 wx_cv_size_t_is_ulong=no
26279 else
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.$ac_ext >&5
26282
26283 wx_cv_size_t_is_ulong=yes
26284
26285 fi
26286 rm -f conftest.$ac_objext conftest.$ac_ext
26287
26288 fi
26289 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26290 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26291
26292 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26293 cat >>confdefs.h <<\_ACEOF
26294 #define wxSIZE_T_IS_ULONG 1
26295 _ACEOF
26296
26297 fi
26298 fi
26299
26300 ac_ext=c
26301 ac_cpp='$CPP $CPPFLAGS'
26302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26305
26306
26307
26308 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26309 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26310 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 else
26313
26314 cat >conftest.$ac_ext <<_ACEOF
26315 #line $LINENO "configure"
26316 /* confdefs.h. */
26317 _ACEOF
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26321 #include <pwd.h>
26322 int
26323 main ()
26324 {
26325
26326 char *p;
26327 struct passwd *pw;
26328 p = pw->pw_gecos;
26329
26330 ;
26331 return 0;
26332 }
26333 _ACEOF
26334 rm -f conftest.$ac_objext
26335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26336 (eval $ac_compile) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } &&
26340 { ac_try='test -s conftest.$ac_objext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26346
26347 wx_cv_struct_pw_gecos=yes
26348
26349 else
26350 echo "$as_me: failed program was:" >&5
26351 sed 's/^/| /' conftest.$ac_ext >&5
26352
26353
26354 wx_cv_struct_pw_gecos=no
26355
26356
26357 fi
26358 rm -f conftest.$ac_objext conftest.$ac_ext
26359
26360
26361 fi
26362 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26363 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26364
26365 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26366 cat >>confdefs.h <<\_ACEOF
26367 #define HAVE_PW_GECOS 1
26368 _ACEOF
26369
26370 fi
26371
26372
26373 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26374 cat >>confdefs.h <<\_ACEOF
26375 #define wxUSE_WCHAR_T 1
26376 _ACEOF
26377
26378
26379 WCSLEN_FOUND=0
26380 WCHAR_LINK=
26381
26382 for ac_func in wcslen
26383 do
26384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26385 echo "$as_me:$LINENO: checking for $ac_func" >&5
26386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26387 if eval "test \"\${$as_ac_var+set}\" = set"; then
26388 echo $ECHO_N "(cached) $ECHO_C" >&6
26389 else
26390 cat >conftest.$ac_ext <<_ACEOF
26391 #line $LINENO "configure"
26392 /* confdefs.h. */
26393 _ACEOF
26394 cat confdefs.h >>conftest.$ac_ext
26395 cat >>conftest.$ac_ext <<_ACEOF
26396 /* end confdefs.h. */
26397 /* System header to define __stub macros and hopefully few prototypes,
26398 which can conflict with char $ac_func (); below.
26399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26400 <limits.h> exists even on freestanding compilers. */
26401 #ifdef __STDC__
26402 # include <limits.h>
26403 #else
26404 # include <assert.h>
26405 #endif
26406 /* Override any gcc2 internal prototype to avoid an error. */
26407 #ifdef __cplusplus
26408 extern "C"
26409 {
26410 #endif
26411 /* We use char because int might match the return type of a gcc2
26412 builtin and then its argument prototype would still apply. */
26413 char $ac_func ();
26414 /* The GNU C library defines this for functions which it implements
26415 to always fail with ENOSYS. Some functions are actually named
26416 something starting with __ and the normal name is an alias. */
26417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26418 choke me
26419 #else
26420 char (*f) () = $ac_func;
26421 #endif
26422 #ifdef __cplusplus
26423 }
26424 #endif
26425
26426 int
26427 main ()
26428 {
26429 return f != $ac_func;
26430 ;
26431 return 0;
26432 }
26433 _ACEOF
26434 rm -f conftest.$ac_objext conftest$ac_exeext
26435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26436 (eval $ac_link) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } &&
26440 { ac_try='test -s conftest$ac_exeext'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26443 ac_status=$?
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; }; then
26446 eval "$as_ac_var=yes"
26447 else
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.$ac_ext >&5
26450
26451 eval "$as_ac_var=no"
26452 fi
26453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26454 fi
26455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26457 if test `eval echo '${'$as_ac_var'}'` = yes; then
26458 cat >>confdefs.h <<_ACEOF
26459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26460 _ACEOF
26461 WCSLEN_FOUND=1
26462 fi
26463 done
26464
26465
26466 if test "$WCSLEN_FOUND" = 0; then
26467 if test "$TOOLKIT" = "MSW"; then
26468 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26469 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26470 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26471 echo $ECHO_N "(cached) $ECHO_C" >&6
26472 else
26473 ac_check_lib_save_LIBS=$LIBS
26474 LIBS="-lmsvcrt $LIBS"
26475 cat >conftest.$ac_ext <<_ACEOF
26476 #line $LINENO "configure"
26477 /* confdefs.h. */
26478 _ACEOF
26479 cat confdefs.h >>conftest.$ac_ext
26480 cat >>conftest.$ac_ext <<_ACEOF
26481 /* end confdefs.h. */
26482
26483 /* Override any gcc2 internal prototype to avoid an error. */
26484 #ifdef __cplusplus
26485 extern "C"
26486 #endif
26487 /* We use char because int might match the return type of a gcc2
26488 builtin and then its argument prototype would still apply. */
26489 char wcslen ();
26490 int
26491 main ()
26492 {
26493 wcslen ();
26494 ;
26495 return 0;
26496 }
26497 _ACEOF
26498 rm -f conftest.$ac_objext conftest$ac_exeext
26499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26500 (eval $ac_link) 2>&5
26501 ac_status=$?
26502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26503 (exit $ac_status); } &&
26504 { ac_try='test -s conftest$ac_exeext'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26507 ac_status=$?
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; }; then
26510 ac_cv_lib_msvcrt_wcslen=yes
26511 else
26512 echo "$as_me: failed program was:" >&5
26513 sed 's/^/| /' conftest.$ac_ext >&5
26514
26515 ac_cv_lib_msvcrt_wcslen=no
26516 fi
26517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26518 LIBS=$ac_check_lib_save_LIBS
26519 fi
26520 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26521 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26522 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26523 WCHAR_OK=1
26524 fi
26525
26526 else
26527 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26528 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26529 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26530 echo $ECHO_N "(cached) $ECHO_C" >&6
26531 else
26532 ac_check_lib_save_LIBS=$LIBS
26533 LIBS="-lw $LIBS"
26534 cat >conftest.$ac_ext <<_ACEOF
26535 #line $LINENO "configure"
26536 /* confdefs.h. */
26537 _ACEOF
26538 cat confdefs.h >>conftest.$ac_ext
26539 cat >>conftest.$ac_ext <<_ACEOF
26540 /* end confdefs.h. */
26541
26542 /* Override any gcc2 internal prototype to avoid an error. */
26543 #ifdef __cplusplus
26544 extern "C"
26545 #endif
26546 /* We use char because int might match the return type of a gcc2
26547 builtin and then its argument prototype would still apply. */
26548 char wcslen ();
26549 int
26550 main ()
26551 {
26552 wcslen ();
26553 ;
26554 return 0;
26555 }
26556 _ACEOF
26557 rm -f conftest.$ac_objext conftest$ac_exeext
26558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26559 (eval $ac_link) 2>&5
26560 ac_status=$?
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } &&
26563 { ac_try='test -s conftest$ac_exeext'
26564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26565 (eval $ac_try) 2>&5
26566 ac_status=$?
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); }; }; then
26569 ac_cv_lib_w_wcslen=yes
26570 else
26571 echo "$as_me: failed program was:" >&5
26572 sed 's/^/| /' conftest.$ac_ext >&5
26573
26574 ac_cv_lib_w_wcslen=no
26575 fi
26576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26577 LIBS=$ac_check_lib_save_LIBS
26578 fi
26579 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26580 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26581 if test $ac_cv_lib_w_wcslen = yes; then
26582
26583 WCHAR_LINK=" -lw"
26584 WCSLEN_FOUND=1
26585
26586 fi
26587
26588 fi
26589 fi
26590
26591 if test "$WCSLEN_FOUND" = 1; then
26592 cat >>confdefs.h <<\_ACEOF
26593 #define HAVE_WCSLEN 1
26594 _ACEOF
26595
26596 fi
26597
26598
26599 for ac_func in wcsrtombs
26600 do
26601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26602 echo "$as_me:$LINENO: checking for $ac_func" >&5
26603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26604 if eval "test \"\${$as_ac_var+set}\" = set"; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26606 else
26607 cat >conftest.$ac_ext <<_ACEOF
26608 #line $LINENO "configure"
26609 /* confdefs.h. */
26610 _ACEOF
26611 cat confdefs.h >>conftest.$ac_ext
26612 cat >>conftest.$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26614 /* System header to define __stub macros and hopefully few prototypes,
26615 which can conflict with char $ac_func (); below.
26616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26617 <limits.h> exists even on freestanding compilers. */
26618 #ifdef __STDC__
26619 # include <limits.h>
26620 #else
26621 # include <assert.h>
26622 #endif
26623 /* Override any gcc2 internal prototype to avoid an error. */
26624 #ifdef __cplusplus
26625 extern "C"
26626 {
26627 #endif
26628 /* We use char because int might match the return type of a gcc2
26629 builtin and then its argument prototype would still apply. */
26630 char $ac_func ();
26631 /* The GNU C library defines this for functions which it implements
26632 to always fail with ENOSYS. Some functions are actually named
26633 something starting with __ and the normal name is an alias. */
26634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26635 choke me
26636 #else
26637 char (*f) () = $ac_func;
26638 #endif
26639 #ifdef __cplusplus
26640 }
26641 #endif
26642
26643 int
26644 main ()
26645 {
26646 return f != $ac_func;
26647 ;
26648 return 0;
26649 }
26650 _ACEOF
26651 rm -f conftest.$ac_objext conftest$ac_exeext
26652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26653 (eval $ac_link) 2>&5
26654 ac_status=$?
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try='test -s conftest$ac_exeext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26660 ac_status=$?
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 eval "$as_ac_var=yes"
26664 else
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 eval "$as_ac_var=no"
26669 fi
26670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26671 fi
26672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26674 if test `eval echo '${'$as_ac_var'}'` = yes; then
26675 cat >>confdefs.h <<_ACEOF
26676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26677 _ACEOF
26678
26679 fi
26680 done
26681
26682 else
26683 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26684 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26685 fi
26686
26687
26688
26689 ac_ext=cc
26690 ac_cpp='$CXXCPP $CPPFLAGS'
26691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26694
26695
26696
26697 for ac_func in vsnprintf
26698 do
26699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26700 echo "$as_me:$LINENO: checking for $ac_func" >&5
26701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26702 if eval "test \"\${$as_ac_var+set}\" = set"; then
26703 echo $ECHO_N "(cached) $ECHO_C" >&6
26704 else
26705 cat >conftest.$ac_ext <<_ACEOF
26706 #line $LINENO "configure"
26707 /* confdefs.h. */
26708 _ACEOF
26709 cat confdefs.h >>conftest.$ac_ext
26710 cat >>conftest.$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26712 /* System header to define __stub macros and hopefully few prototypes,
26713 which can conflict with char $ac_func (); below.
26714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26715 <limits.h> exists even on freestanding compilers. */
26716 #ifdef __STDC__
26717 # include <limits.h>
26718 #else
26719 # include <assert.h>
26720 #endif
26721 /* Override any gcc2 internal prototype to avoid an error. */
26722 #ifdef __cplusplus
26723 extern "C"
26724 {
26725 #endif
26726 /* We use char because int might match the return type of a gcc2
26727 builtin and then its argument prototype would still apply. */
26728 char $ac_func ();
26729 /* The GNU C library defines this for functions which it implements
26730 to always fail with ENOSYS. Some functions are actually named
26731 something starting with __ and the normal name is an alias. */
26732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26733 choke me
26734 #else
26735 char (*f) () = $ac_func;
26736 #endif
26737 #ifdef __cplusplus
26738 }
26739 #endif
26740
26741 int
26742 main ()
26743 {
26744 return f != $ac_func;
26745 ;
26746 return 0;
26747 }
26748 _ACEOF
26749 rm -f conftest.$ac_objext conftest$ac_exeext
26750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26751 (eval $ac_link) 2>&5
26752 ac_status=$?
26753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26754 (exit $ac_status); } &&
26755 { ac_try='test -s conftest$ac_exeext'
26756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26757 (eval $ac_try) 2>&5
26758 ac_status=$?
26759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26760 (exit $ac_status); }; }; then
26761 eval "$as_ac_var=yes"
26762 else
26763 echo "$as_me: failed program was:" >&5
26764 sed 's/^/| /' conftest.$ac_ext >&5
26765
26766 eval "$as_ac_var=no"
26767 fi
26768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26769 fi
26770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26772 if test `eval echo '${'$as_ac_var'}'` = yes; then
26773 cat >>confdefs.h <<_ACEOF
26774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26775 _ACEOF
26776
26777 fi
26778 done
26779
26780
26781 if test "$ac_cv_func_vsnprintf" = "yes"; then
26782 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26783 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26784 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26785 echo $ECHO_N "(cached) $ECHO_C" >&6
26786 else
26787
26788 cat >conftest.$ac_ext <<_ACEOF
26789 #line $LINENO "configure"
26790 /* confdefs.h. */
26791 _ACEOF
26792 cat confdefs.h >>conftest.$ac_ext
26793 cat >>conftest.$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26795
26796 #include <stdio.h>
26797 #include <stdarg.h>
26798
26799 int
26800 main ()
26801 {
26802
26803 char *buf;
26804 va_list ap;
26805 vsnprintf(buf, 10u, "%s", ap);
26806
26807 ;
26808 return 0;
26809 }
26810 _ACEOF
26811 rm -f conftest.$ac_objext
26812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26813 (eval $ac_compile) 2>&5
26814 ac_status=$?
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } &&
26817 { ac_try='test -s conftest.$ac_objext'
26818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26819 (eval $ac_try) 2>&5
26820 ac_status=$?
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); }; }; then
26823 wx_cv_func_vsnprintf_decl=yes
26824 else
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.$ac_ext >&5
26827
26828 wx_cv_func_vsnprintf_decl=no
26829
26830 fi
26831 rm -f conftest.$ac_objext conftest.$ac_ext
26832
26833
26834 fi
26835 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26836 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26837
26838 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26839 cat >>confdefs.h <<\_ACEOF
26840 #define HAVE_VSNPRINTF_DECL 1
26841 _ACEOF
26842
26843 fi
26844 fi
26845
26846 if test "$wxUSE_UNICODE" = yes; then
26847
26848
26849
26850 for ac_func in fputwc wprintf vswprintf
26851 do
26852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26853 echo "$as_me:$LINENO: checking for $ac_func" >&5
26854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26855 if eval "test \"\${$as_ac_var+set}\" = set"; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 else
26858 cat >conftest.$ac_ext <<_ACEOF
26859 #line $LINENO "configure"
26860 /* confdefs.h. */
26861 _ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865 /* System header to define __stub macros and hopefully few prototypes,
26866 which can conflict with char $ac_func (); below.
26867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26868 <limits.h> exists even on freestanding compilers. */
26869 #ifdef __STDC__
26870 # include <limits.h>
26871 #else
26872 # include <assert.h>
26873 #endif
26874 /* Override any gcc2 internal prototype to avoid an error. */
26875 #ifdef __cplusplus
26876 extern "C"
26877 {
26878 #endif
26879 /* We use char because int might match the return type of a gcc2
26880 builtin and then its argument prototype would still apply. */
26881 char $ac_func ();
26882 /* The GNU C library defines this for functions which it implements
26883 to always fail with ENOSYS. Some functions are actually named
26884 something starting with __ and the normal name is an alias. */
26885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26886 choke me
26887 #else
26888 char (*f) () = $ac_func;
26889 #endif
26890 #ifdef __cplusplus
26891 }
26892 #endif
26893
26894 int
26895 main ()
26896 {
26897 return f != $ac_func;
26898 ;
26899 return 0;
26900 }
26901 _ACEOF
26902 rm -f conftest.$ac_objext conftest$ac_exeext
26903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26904 (eval $ac_link) 2>&5
26905 ac_status=$?
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try='test -s conftest$ac_exeext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26911 ac_status=$?
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914 eval "$as_ac_var=yes"
26915 else
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26918
26919 eval "$as_ac_var=no"
26920 fi
26921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26922 fi
26923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26925 if test `eval echo '${'$as_ac_var'}'` = yes; then
26926 cat >>confdefs.h <<_ACEOF
26927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26928 _ACEOF
26929
26930 fi
26931 done
26932
26933
26934 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26935 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26936 cat >conftest.$ac_ext <<_ACEOF
26937 #line $LINENO "configure"
26938 /* confdefs.h. */
26939 _ACEOF
26940 cat confdefs.h >>conftest.$ac_ext
26941 cat >>conftest.$ac_ext <<_ACEOF
26942 /* end confdefs.h. */
26943 #include <wchar.h>
26944 int
26945 main ()
26946 {
26947 &_vsnwprintf;
26948 ;
26949 return 0;
26950 }
26951 _ACEOF
26952 rm -f conftest.$ac_objext
26953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26954 (eval $ac_compile) 2>&5
26955 ac_status=$?
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } &&
26958 { ac_try='test -s conftest.$ac_objext'
26959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26960 (eval $ac_try) 2>&5
26961 ac_status=$?
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); }; }; then
26964 echo "$as_me:$LINENO: result: yes" >&5
26965 echo "${ECHO_T}yes" >&6
26966 cat >>confdefs.h <<\_ACEOF
26967 #define HAVE__VSNWPRINTF 1
26968 _ACEOF
26969
26970 else
26971 echo "$as_me: failed program was:" >&5
26972 sed 's/^/| /' conftest.$ac_ext >&5
26973
26974 echo "$as_me:$LINENO: result: no" >&5
26975 echo "${ECHO_T}no" >&6
26976 fi
26977 rm -f conftest.$ac_objext conftest.$ac_ext;
26978 fi
26979
26980 ac_ext=c
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26985
26986
26987
26988
26989 if test "$TOOLKIT" != "MSW"; then
26990
26991
26992
26993
26994 ac_ext=cc
26995 ac_cpp='$CXXCPP $CPPFLAGS'
26996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26999
27000
27001
27002
27003 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27004 if test "${with_libiconv_prefix+set}" = set; then
27005 withval="$with_libiconv_prefix"
27006
27007 for dir in `echo "$withval" | tr : ' '`; do
27008 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27009 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27010 done
27011
27012 fi;
27013
27014 echo "$as_me:$LINENO: checking for iconv" >&5
27015 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27016 if test "${am_cv_func_iconv+set}" = set; then
27017 echo $ECHO_N "(cached) $ECHO_C" >&6
27018 else
27019
27020 am_cv_func_iconv="no, consider installing GNU libiconv"
27021 am_cv_lib_iconv=no
27022 cat >conftest.$ac_ext <<_ACEOF
27023 #line $LINENO "configure"
27024 /* confdefs.h. */
27025 _ACEOF
27026 cat confdefs.h >>conftest.$ac_ext
27027 cat >>conftest.$ac_ext <<_ACEOF
27028 /* end confdefs.h. */
27029 #include <stdlib.h>
27030 #include <iconv.h>
27031 int
27032 main ()
27033 {
27034 iconv_t cd = iconv_open("","");
27035 iconv(cd,NULL,NULL,NULL,NULL);
27036 iconv_close(cd);
27037 ;
27038 return 0;
27039 }
27040 _ACEOF
27041 rm -f conftest.$ac_objext conftest$ac_exeext
27042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27043 (eval $ac_link) 2>&5
27044 ac_status=$?
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); } &&
27047 { ac_try='test -s conftest$ac_exeext'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27050 ac_status=$?
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 am_cv_func_iconv=yes
27054 else
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.$ac_ext >&5
27057
27058 fi
27059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27060 if test "$am_cv_func_iconv" != yes; then
27061 am_save_LIBS="$LIBS"
27062 LIBS="$LIBS -liconv"
27063 cat >conftest.$ac_ext <<_ACEOF
27064 #line $LINENO "configure"
27065 /* confdefs.h. */
27066 _ACEOF
27067 cat confdefs.h >>conftest.$ac_ext
27068 cat >>conftest.$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27070 #include <stdlib.h>
27071 #include <iconv.h>
27072 int
27073 main ()
27074 {
27075 iconv_t cd = iconv_open("","");
27076 iconv(cd,NULL,NULL,NULL,NULL);
27077 iconv_close(cd);
27078 ;
27079 return 0;
27080 }
27081 _ACEOF
27082 rm -f conftest.$ac_objext conftest$ac_exeext
27083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27084 (eval $ac_link) 2>&5
27085 ac_status=$?
27086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27087 (exit $ac_status); } &&
27088 { ac_try='test -s conftest$ac_exeext'
27089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27090 (eval $ac_try) 2>&5
27091 ac_status=$?
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); }; }; then
27094 am_cv_lib_iconv=yes
27095 am_cv_func_iconv=yes
27096 else
27097 echo "$as_me: failed program was:" >&5
27098 sed 's/^/| /' conftest.$ac_ext >&5
27099
27100 fi
27101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27102 LIBS="$am_save_LIBS"
27103 fi
27104
27105 fi
27106 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27107 echo "${ECHO_T}$am_cv_func_iconv" >&6
27108 if test "$am_cv_func_iconv" = yes; then
27109
27110 cat >>confdefs.h <<\_ACEOF
27111 #define HAVE_ICONV 1
27112 _ACEOF
27113
27114 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27115 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27116 if test "${wx_cv_func_iconv_const+set}" = set; then
27117 echo $ECHO_N "(cached) $ECHO_C" >&6
27118 else
27119 cat >conftest.$ac_ext <<_ACEOF
27120 #line $LINENO "configure"
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126
27127 #include <stdlib.h>
27128 #include <iconv.h>
27129 extern
27130 #ifdef __cplusplus
27131 "C"
27132 #endif
27133 #if defined(__STDC__) || defined(__cplusplus)
27134 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27135 #else
27136 size_t iconv();
27137 #endif
27138
27139 int
27140 main ()
27141 {
27142
27143 ;
27144 return 0;
27145 }
27146 _ACEOF
27147 rm -f conftest.$ac_objext
27148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27149 (eval $ac_compile) 2>&5
27150 ac_status=$?
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); } &&
27153 { ac_try='test -s conftest.$ac_objext'
27154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27155 (eval $ac_try) 2>&5
27156 ac_status=$?
27157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27158 (exit $ac_status); }; }; then
27159 wx_cv_func_iconv_const="no"
27160 else
27161 echo "$as_me: failed program was:" >&5
27162 sed 's/^/| /' conftest.$ac_ext >&5
27163
27164 wx_cv_func_iconv_const="yes"
27165
27166 fi
27167 rm -f conftest.$ac_objext conftest.$ac_ext
27168
27169 fi
27170 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27171 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27172
27173 iconv_const=
27174 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27175 iconv_const="const"
27176 fi
27177
27178
27179 cat >>confdefs.h <<_ACEOF
27180 #define ICONV_CONST $iconv_const
27181 _ACEOF
27182
27183 fi
27184 LIBICONV=
27185 if test "$am_cv_lib_iconv" = yes; then
27186 LIBICONV="-liconv"
27187 fi
27188
27189
27190 LIBS="$LIBICONV $LIBS"
27191 ac_ext=c
27192 ac_cpp='$CPP $CPPFLAGS'
27193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27196
27197
27198 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27199
27200 for ac_func in sigaction
27201 do
27202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27203 echo "$as_me:$LINENO: checking for $ac_func" >&5
27204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27205 if eval "test \"\${$as_ac_var+set}\" = set"; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27207 else
27208 cat >conftest.$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27210 /* confdefs.h. */
27211 _ACEOF
27212 cat confdefs.h >>conftest.$ac_ext
27213 cat >>conftest.$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 /* System header to define __stub macros and hopefully few prototypes,
27216 which can conflict with char $ac_func (); below.
27217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27218 <limits.h> exists even on freestanding compilers. */
27219 #ifdef __STDC__
27220 # include <limits.h>
27221 #else
27222 # include <assert.h>
27223 #endif
27224 /* Override any gcc2 internal prototype to avoid an error. */
27225 #ifdef __cplusplus
27226 extern "C"
27227 {
27228 #endif
27229 /* We use char because int might match the return type of a gcc2
27230 builtin and then its argument prototype would still apply. */
27231 char $ac_func ();
27232 /* The GNU C library defines this for functions which it implements
27233 to always fail with ENOSYS. Some functions are actually named
27234 something starting with __ and the normal name is an alias. */
27235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27236 choke me
27237 #else
27238 char (*f) () = $ac_func;
27239 #endif
27240 #ifdef __cplusplus
27241 }
27242 #endif
27243
27244 int
27245 main ()
27246 {
27247 return f != $ac_func;
27248 ;
27249 return 0;
27250 }
27251 _ACEOF
27252 rm -f conftest.$ac_objext conftest$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>&5
27255 ac_status=$?
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_var=yes"
27265 else
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27268
27269 eval "$as_ac_var=no"
27270 fi
27271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27272 fi
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27275 if test `eval echo '${'$as_ac_var'}'` = yes; then
27276 cat >>confdefs.h <<_ACEOF
27277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27278 _ACEOF
27279
27280 fi
27281 done
27282
27283
27284 if test "$ac_cv_func_sigaction" = "no"; then
27285 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27286 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27287 wxUSE_ON_FATAL_EXCEPTION=no
27288 fi
27289
27290 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27291
27292
27293 ac_ext=cc
27294 ac_cpp='$CXXCPP $CPPFLAGS'
27295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27298
27299
27300 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27301 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27302 if test "${wx_cv_type_sa_handler+set}" = set; then
27303 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 else
27305
27306 cat >conftest.$ac_ext <<_ACEOF
27307 #line $LINENO "configure"
27308 /* confdefs.h. */
27309 _ACEOF
27310 cat confdefs.h >>conftest.$ac_ext
27311 cat >>conftest.$ac_ext <<_ACEOF
27312 /* end confdefs.h. */
27313 #include <signal.h>
27314 int
27315 main ()
27316 {
27317
27318 extern void testSigHandler(int);
27319
27320 struct sigaction sa;
27321 sa.sa_handler = testSigHandler;
27322
27323 ;
27324 return 0;
27325 }
27326 _ACEOF
27327 rm -f conftest.$ac_objext
27328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27329 (eval $ac_compile) 2>&5
27330 ac_status=$?
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } &&
27333 { ac_try='test -s conftest.$ac_objext'
27334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27335 (eval $ac_try) 2>&5
27336 ac_status=$?
27337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338 (exit $ac_status); }; }; then
27339
27340 wx_cv_type_sa_handler=int
27341
27342 else
27343 echo "$as_me: failed program was:" >&5
27344 sed 's/^/| /' conftest.$ac_ext >&5
27345
27346
27347 wx_cv_type_sa_handler=void
27348
27349 fi
27350 rm -f conftest.$ac_objext conftest.$ac_ext
27351
27352 fi
27353 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27354 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27355
27356 ac_ext=c
27357 ac_cpp='$CPP $CPPFLAGS'
27358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27361
27362
27363 cat >>confdefs.h <<_ACEOF
27364 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27365 _ACEOF
27366
27367 fi
27368 fi
27369
27370
27371
27372 for ac_func in mkstemp mktemp
27373 do
27374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27375 echo "$as_me:$LINENO: checking for $ac_func" >&5
27376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27377 if eval "test \"\${$as_ac_var+set}\" = set"; then
27378 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 else
27380 cat >conftest.$ac_ext <<_ACEOF
27381 #line $LINENO "configure"
27382 /* confdefs.h. */
27383 _ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 /* System header to define __stub macros and hopefully few prototypes,
27388 which can conflict with char $ac_func (); below.
27389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27390 <limits.h> exists even on freestanding compilers. */
27391 #ifdef __STDC__
27392 # include <limits.h>
27393 #else
27394 # include <assert.h>
27395 #endif
27396 /* Override any gcc2 internal prototype to avoid an error. */
27397 #ifdef __cplusplus
27398 extern "C"
27399 {
27400 #endif
27401 /* We use char because int might match the return type of a gcc2
27402 builtin and then its argument prototype would still apply. */
27403 char $ac_func ();
27404 /* The GNU C library defines this for functions which it implements
27405 to always fail with ENOSYS. Some functions are actually named
27406 something starting with __ and the normal name is an alias. */
27407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27408 choke me
27409 #else
27410 char (*f) () = $ac_func;
27411 #endif
27412 #ifdef __cplusplus
27413 }
27414 #endif
27415
27416 int
27417 main ()
27418 {
27419 return f != $ac_func;
27420 ;
27421 return 0;
27422 }
27423 _ACEOF
27424 rm -f conftest.$ac_objext conftest$ac_exeext
27425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27426 (eval $ac_link) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); } &&
27430 { ac_try='test -s conftest$ac_exeext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 eval "$as_ac_var=yes"
27437 else
27438 echo "$as_me: failed program was:" >&5
27439 sed 's/^/| /' conftest.$ac_ext >&5
27440
27441 eval "$as_ac_var=no"
27442 fi
27443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27444 fi
27445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27447 if test `eval echo '${'$as_ac_var'}'` = yes; then
27448 cat >>confdefs.h <<_ACEOF
27449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27450 _ACEOF
27451 break
27452 fi
27453 done
27454
27455
27456 echo "$as_me:$LINENO: checking for statfs" >&5
27457 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27458 if test "${wx_cv_func_statfs+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27460 else
27461 cat >conftest.$ac_ext <<_ACEOF
27462 #line $LINENO "configure"
27463 /* confdefs.h. */
27464 _ACEOF
27465 cat confdefs.h >>conftest.$ac_ext
27466 cat >>conftest.$ac_ext <<_ACEOF
27467 /* end confdefs.h. */
27468
27469 #if defined(__BSD__)
27470 #include <sys/param.h>
27471 #include <sys/mount.h>
27472 #else
27473 #include <sys/vfs.h>
27474 #endif
27475
27476 int
27477 main ()
27478 {
27479
27480 long l;
27481 struct statfs fs;
27482 statfs("/", &fs);
27483 l = fs.f_bsize;
27484 l += fs.f_blocks;
27485 l += fs.f_bavail;
27486
27487 ;
27488 return 0;
27489 }
27490 _ACEOF
27491 rm -f conftest.$ac_objext
27492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27493 (eval $ac_compile) 2>&5
27494 ac_status=$?
27495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27496 (exit $ac_status); } &&
27497 { ac_try='test -s conftest.$ac_objext'
27498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27499 (eval $ac_try) 2>&5
27500 ac_status=$?
27501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27502 (exit $ac_status); }; }; then
27503
27504 wx_cv_func_statfs=yes
27505
27506 else
27507 echo "$as_me: failed program was:" >&5
27508 sed 's/^/| /' conftest.$ac_ext >&5
27509
27510
27511 wx_cv_func_statfs=no
27512
27513
27514 fi
27515 rm -f conftest.$ac_objext conftest.$ac_ext
27516
27517 fi
27518 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27519 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27520
27521 if test "$wx_cv_func_statfs" = "yes"; then
27522 wx_cv_type_statvfs_t="struct statfs"
27523 cat >>confdefs.h <<\_ACEOF
27524 #define HAVE_STATFS 1
27525 _ACEOF
27526
27527 else
27528 echo "$as_me:$LINENO: checking for statvfs" >&5
27529 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27530 if test "${wx_cv_func_statvfs+set}" = set; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27532 else
27533 cat >conftest.$ac_ext <<_ACEOF
27534 #line $LINENO "configure"
27535 /* confdefs.h. */
27536 _ACEOF
27537 cat confdefs.h >>conftest.$ac_ext
27538 cat >>conftest.$ac_ext <<_ACEOF
27539 /* end confdefs.h. */
27540
27541 #include <stddef.h>
27542 #include <sys/statvfs.h>
27543
27544 int
27545 main ()
27546 {
27547
27548 statvfs("/", NULL);
27549
27550 ;
27551 return 0;
27552 }
27553 _ACEOF
27554 rm -f conftest.$ac_objext
27555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27556 (eval $ac_compile) 2>&5
27557 ac_status=$?
27558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27559 (exit $ac_status); } &&
27560 { ac_try='test -s conftest.$ac_objext'
27561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27562 (eval $ac_try) 2>&5
27563 ac_status=$?
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; }; then
27566 wx_cv_func_statvfs=yes
27567 else
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.$ac_ext >&5
27570
27571 wx_cv_func_statvfs=no
27572
27573 fi
27574 rm -f conftest.$ac_objext conftest.$ac_ext
27575
27576 fi
27577 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27578 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27579
27580 if test "$wx_cv_func_statvfs" = "yes"; then
27581
27582
27583 ac_ext=cc
27584 ac_cpp='$CXXCPP $CPPFLAGS'
27585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27588
27589
27590 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27591 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27592 if test "${wx_cv_type_statvfs_t+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
27603 #include <sys/statvfs.h>
27604
27605 int
27606 main ()
27607 {
27608
27609 long l;
27610 statvfs_t fs;
27611 statvfs("/", &fs);
27612 l = fs.f_bsize;
27613 l += fs.f_blocks;
27614 l += fs.f_bavail;
27615
27616 ;
27617 return 0;
27618 }
27619 _ACEOF
27620 rm -f conftest.$ac_objext
27621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27622 (eval $ac_compile) 2>&5
27623 ac_status=$?
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } &&
27626 { ac_try='test -s conftest.$ac_objext'
27627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27628 (eval $ac_try) 2>&5
27629 ac_status=$?
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27632 wx_cv_type_statvfs_t=statvfs_t
27633 else
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.$ac_ext >&5
27636
27637
27638 cat >conftest.$ac_ext <<_ACEOF
27639 #line $LINENO "configure"
27640 /* confdefs.h. */
27641 _ACEOF
27642 cat confdefs.h >>conftest.$ac_ext
27643 cat >>conftest.$ac_ext <<_ACEOF
27644 /* end confdefs.h. */
27645
27646 #include <sys/statvfs.h>
27647
27648 int
27649 main ()
27650 {
27651
27652 long l;
27653 struct statvfs fs;
27654 statvfs("/", &fs);
27655 l = fs.f_bsize;
27656 l += fs.f_blocks;
27657 l += fs.f_bavail;
27658
27659 ;
27660 return 0;
27661 }
27662 _ACEOF
27663 rm -f conftest.$ac_objext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27665 (eval $ac_compile) 2>&5
27666 ac_status=$?
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } &&
27669 { ac_try='test -s conftest.$ac_objext'
27670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671 (eval $ac_try) 2>&5
27672 ac_status=$?
27673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674 (exit $ac_status); }; }; then
27675 wx_cv_type_statvfs_t="struct statvfs"
27676 else
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.$ac_ext >&5
27679
27680 wx_cv_type_statvfs_t="unknown"
27681
27682 fi
27683 rm -f conftest.$ac_objext conftest.$ac_ext
27684
27685
27686 fi
27687 rm -f conftest.$ac_objext conftest.$ac_ext
27688
27689 fi
27690 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27691 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27692
27693 ac_ext=c
27694 ac_cpp='$CPP $CPPFLAGS'
27695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27698
27699
27700 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27701 cat >>confdefs.h <<\_ACEOF
27702 #define HAVE_STATVFS 1
27703 _ACEOF
27704
27705 fi
27706 else
27707 wx_cv_type_statvfs_t="unknown"
27708 fi
27709 fi
27710
27711 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27712 cat >>confdefs.h <<_ACEOF
27713 #define WX_STATFS_T $wx_cv_type_statvfs_t
27714 _ACEOF
27715
27716 else
27717 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27718 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27719 fi
27720
27721 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27722
27723
27724 for ac_func in fcntl flock
27725 do
27726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27727 echo "$as_me:$LINENO: checking for $ac_func" >&5
27728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27729 if eval "test \"\${$as_ac_var+set}\" = set"; then
27730 echo $ECHO_N "(cached) $ECHO_C" >&6
27731 else
27732 cat >conftest.$ac_ext <<_ACEOF
27733 #line $LINENO "configure"
27734 /* confdefs.h. */
27735 _ACEOF
27736 cat confdefs.h >>conftest.$ac_ext
27737 cat >>conftest.$ac_ext <<_ACEOF
27738 /* end confdefs.h. */
27739 /* System header to define __stub macros and hopefully few prototypes,
27740 which can conflict with char $ac_func (); below.
27741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27742 <limits.h> exists even on freestanding compilers. */
27743 #ifdef __STDC__
27744 # include <limits.h>
27745 #else
27746 # include <assert.h>
27747 #endif
27748 /* Override any gcc2 internal prototype to avoid an error. */
27749 #ifdef __cplusplus
27750 extern "C"
27751 {
27752 #endif
27753 /* We use char because int might match the return type of a gcc2
27754 builtin and then its argument prototype would still apply. */
27755 char $ac_func ();
27756 /* The GNU C library defines this for functions which it implements
27757 to always fail with ENOSYS. Some functions are actually named
27758 something starting with __ and the normal name is an alias. */
27759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27760 choke me
27761 #else
27762 char (*f) () = $ac_func;
27763 #endif
27764 #ifdef __cplusplus
27765 }
27766 #endif
27767
27768 int
27769 main ()
27770 {
27771 return f != $ac_func;
27772 ;
27773 return 0;
27774 }
27775 _ACEOF
27776 rm -f conftest.$ac_objext conftest$ac_exeext
27777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27778 (eval $ac_link) 2>&5
27779 ac_status=$?
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } &&
27782 { ac_try='test -s conftest$ac_exeext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27785 ac_status=$?
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 eval "$as_ac_var=yes"
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27792
27793 eval "$as_ac_var=no"
27794 fi
27795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27796 fi
27797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27799 if test `eval echo '${'$as_ac_var'}'` = yes; then
27800 cat >>confdefs.h <<_ACEOF
27801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27802 _ACEOF
27803 break
27804 fi
27805 done
27806
27807
27808 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27809 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27810 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27811 wxUSE_SNGLINST_CHECKER=no
27812 fi
27813 fi
27814
27815
27816 for ac_func in timegm
27817 do
27818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27819 echo "$as_me:$LINENO: checking for $ac_func" >&5
27820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27821 if eval "test \"\${$as_ac_var+set}\" = set"; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 else
27824 cat >conftest.$ac_ext <<_ACEOF
27825 #line $LINENO "configure"
27826 /* confdefs.h. */
27827 _ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 /* System header to define __stub macros and hopefully few prototypes,
27832 which can conflict with char $ac_func (); below.
27833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27834 <limits.h> exists even on freestanding compilers. */
27835 #ifdef __STDC__
27836 # include <limits.h>
27837 #else
27838 # include <assert.h>
27839 #endif
27840 /* Override any gcc2 internal prototype to avoid an error. */
27841 #ifdef __cplusplus
27842 extern "C"
27843 {
27844 #endif
27845 /* We use char because int might match the return type of a gcc2
27846 builtin and then its argument prototype would still apply. */
27847 char $ac_func ();
27848 /* The GNU C library defines this for functions which it implements
27849 to always fail with ENOSYS. Some functions are actually named
27850 something starting with __ and the normal name is an alias. */
27851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27852 choke me
27853 #else
27854 char (*f) () = $ac_func;
27855 #endif
27856 #ifdef __cplusplus
27857 }
27858 #endif
27859
27860 int
27861 main ()
27862 {
27863 return f != $ac_func;
27864 ;
27865 return 0;
27866 }
27867 _ACEOF
27868 rm -f conftest.$ac_objext conftest$ac_exeext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27870 (eval $ac_link) 2>&5
27871 ac_status=$?
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); } &&
27874 { ac_try='test -s conftest$ac_exeext'
27875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27876 (eval $ac_try) 2>&5
27877 ac_status=$?
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); }; }; then
27880 eval "$as_ac_var=yes"
27881 else
27882 echo "$as_me: failed program was:" >&5
27883 sed 's/^/| /' conftest.$ac_ext >&5
27884
27885 eval "$as_ac_var=no"
27886 fi
27887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27888 fi
27889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27891 if test `eval echo '${'$as_ac_var'}'` = yes; then
27892 cat >>confdefs.h <<_ACEOF
27893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27894 _ACEOF
27895
27896 fi
27897 done
27898
27899
27900
27901
27902 for ac_func in putenv setenv
27903 do
27904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27905 echo "$as_me:$LINENO: checking for $ac_func" >&5
27906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27907 if eval "test \"\${$as_ac_var+set}\" = set"; then
27908 echo $ECHO_N "(cached) $ECHO_C" >&6
27909 else
27910 cat >conftest.$ac_ext <<_ACEOF
27911 #line $LINENO "configure"
27912 /* confdefs.h. */
27913 _ACEOF
27914 cat confdefs.h >>conftest.$ac_ext
27915 cat >>conftest.$ac_ext <<_ACEOF
27916 /* end confdefs.h. */
27917 /* System header to define __stub macros and hopefully few prototypes,
27918 which can conflict with char $ac_func (); below.
27919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27920 <limits.h> exists even on freestanding compilers. */
27921 #ifdef __STDC__
27922 # include <limits.h>
27923 #else
27924 # include <assert.h>
27925 #endif
27926 /* Override any gcc2 internal prototype to avoid an error. */
27927 #ifdef __cplusplus
27928 extern "C"
27929 {
27930 #endif
27931 /* We use char because int might match the return type of a gcc2
27932 builtin and then its argument prototype would still apply. */
27933 char $ac_func ();
27934 /* The GNU C library defines this for functions which it implements
27935 to always fail with ENOSYS. Some functions are actually named
27936 something starting with __ and the normal name is an alias. */
27937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27938 choke me
27939 #else
27940 char (*f) () = $ac_func;
27941 #endif
27942 #ifdef __cplusplus
27943 }
27944 #endif
27945
27946 int
27947 main ()
27948 {
27949 return f != $ac_func;
27950 ;
27951 return 0;
27952 }
27953 _ACEOF
27954 rm -f conftest.$ac_objext conftest$ac_exeext
27955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27956 (eval $ac_link) 2>&5
27957 ac_status=$?
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); } &&
27960 { ac_try='test -s conftest$ac_exeext'
27961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27962 (eval $ac_try) 2>&5
27963 ac_status=$?
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); }; }; then
27966 eval "$as_ac_var=yes"
27967 else
27968 echo "$as_me: failed program was:" >&5
27969 sed 's/^/| /' conftest.$ac_ext >&5
27970
27971 eval "$as_ac_var=no"
27972 fi
27973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27974 fi
27975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27977 if test `eval echo '${'$as_ac_var'}'` = yes; then
27978 cat >>confdefs.h <<_ACEOF
27979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27980 _ACEOF
27981 break
27982 fi
27983 done
27984
27985
27986 HAVE_SOME_SLEEP_FUNC=0
27987 if test "$USE_BEOS" = 1; then
27988 cat >>confdefs.h <<\_ACEOF
27989 #define HAVE_SLEEP 1
27990 _ACEOF
27991
27992 HAVE_SOME_SLEEP_FUNC=1
27993 fi
27994
27995 if test "$USE_DARWIN" = 1; then
27996 cat >>confdefs.h <<\_ACEOF
27997 #define HAVE_USLEEP 1
27998 _ACEOF
27999
28000 HAVE_SOME_SLEEP_FUNC=1
28001 fi
28002
28003 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28004 POSIX4_LINK=
28005
28006 for ac_func in nanosleep
28007 do
28008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28009 echo "$as_me:$LINENO: checking for $ac_func" >&5
28010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28011 if eval "test \"\${$as_ac_var+set}\" = set"; then
28012 echo $ECHO_N "(cached) $ECHO_C" >&6
28013 else
28014 cat >conftest.$ac_ext <<_ACEOF
28015 #line $LINENO "configure"
28016 /* confdefs.h. */
28017 _ACEOF
28018 cat confdefs.h >>conftest.$ac_ext
28019 cat >>conftest.$ac_ext <<_ACEOF
28020 /* end confdefs.h. */
28021 /* System header to define __stub macros and hopefully few prototypes,
28022 which can conflict with char $ac_func (); below.
28023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28024 <limits.h> exists even on freestanding compilers. */
28025 #ifdef __STDC__
28026 # include <limits.h>
28027 #else
28028 # include <assert.h>
28029 #endif
28030 /* Override any gcc2 internal prototype to avoid an error. */
28031 #ifdef __cplusplus
28032 extern "C"
28033 {
28034 #endif
28035 /* We use char because int might match the return type of a gcc2
28036 builtin and then its argument prototype would still apply. */
28037 char $ac_func ();
28038 /* The GNU C library defines this for functions which it implements
28039 to always fail with ENOSYS. Some functions are actually named
28040 something starting with __ and the normal name is an alias. */
28041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28042 choke me
28043 #else
28044 char (*f) () = $ac_func;
28045 #endif
28046 #ifdef __cplusplus
28047 }
28048 #endif
28049
28050 int
28051 main ()
28052 {
28053 return f != $ac_func;
28054 ;
28055 return 0;
28056 }
28057 _ACEOF
28058 rm -f conftest.$ac_objext conftest$ac_exeext
28059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28060 (eval $ac_link) 2>&5
28061 ac_status=$?
28062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28063 (exit $ac_status); } &&
28064 { ac_try='test -s conftest$ac_exeext'
28065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28066 (eval $ac_try) 2>&5
28067 ac_status=$?
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); }; }; then
28070 eval "$as_ac_var=yes"
28071 else
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28074
28075 eval "$as_ac_var=no"
28076 fi
28077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28078 fi
28079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28081 if test `eval echo '${'$as_ac_var'}'` = yes; then
28082 cat >>confdefs.h <<_ACEOF
28083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28084 _ACEOF
28085 cat >>confdefs.h <<\_ACEOF
28086 #define HAVE_NANOSLEEP 1
28087 _ACEOF
28088
28089 else
28090
28091 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28092 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28093 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28094 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 else
28096 ac_check_lib_save_LIBS=$LIBS
28097 LIBS="-lposix4 $LIBS"
28098 cat >conftest.$ac_ext <<_ACEOF
28099 #line $LINENO "configure"
28100 /* confdefs.h. */
28101 _ACEOF
28102 cat confdefs.h >>conftest.$ac_ext
28103 cat >>conftest.$ac_ext <<_ACEOF
28104 /* end confdefs.h. */
28105
28106 /* Override any gcc2 internal prototype to avoid an error. */
28107 #ifdef __cplusplus
28108 extern "C"
28109 #endif
28110 /* We use char because int might match the return type of a gcc2
28111 builtin and then its argument prototype would still apply. */
28112 char nanosleep ();
28113 int
28114 main ()
28115 {
28116 nanosleep ();
28117 ;
28118 return 0;
28119 }
28120 _ACEOF
28121 rm -f conftest.$ac_objext conftest$ac_exeext
28122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28123 (eval $ac_link) 2>&5
28124 ac_status=$?
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); } &&
28127 { ac_try='test -s conftest$ac_exeext'
28128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28129 (eval $ac_try) 2>&5
28130 ac_status=$?
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); }; }; then
28133 ac_cv_lib_posix4_nanosleep=yes
28134 else
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28137
28138 ac_cv_lib_posix4_nanosleep=no
28139 fi
28140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28141 LIBS=$ac_check_lib_save_LIBS
28142 fi
28143 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28144 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28145 if test $ac_cv_lib_posix4_nanosleep = yes; then
28146
28147 cat >>confdefs.h <<\_ACEOF
28148 #define HAVE_NANOSLEEP 1
28149 _ACEOF
28150
28151 POSIX4_LINK=" -lposix4"
28152
28153 else
28154
28155
28156 for ac_func in usleep
28157 do
28158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28159 echo "$as_me:$LINENO: checking for $ac_func" >&5
28160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28161 if eval "test \"\${$as_ac_var+set}\" = set"; then
28162 echo $ECHO_N "(cached) $ECHO_C" >&6
28163 else
28164 cat >conftest.$ac_ext <<_ACEOF
28165 #line $LINENO "configure"
28166 /* confdefs.h. */
28167 _ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28171 /* System header to define __stub macros and hopefully few prototypes,
28172 which can conflict with char $ac_func (); below.
28173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28174 <limits.h> exists even on freestanding compilers. */
28175 #ifdef __STDC__
28176 # include <limits.h>
28177 #else
28178 # include <assert.h>
28179 #endif
28180 /* Override any gcc2 internal prototype to avoid an error. */
28181 #ifdef __cplusplus
28182 extern "C"
28183 {
28184 #endif
28185 /* We use char because int might match the return type of a gcc2
28186 builtin and then its argument prototype would still apply. */
28187 char $ac_func ();
28188 /* The GNU C library defines this for functions which it implements
28189 to always fail with ENOSYS. Some functions are actually named
28190 something starting with __ and the normal name is an alias. */
28191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28192 choke me
28193 #else
28194 char (*f) () = $ac_func;
28195 #endif
28196 #ifdef __cplusplus
28197 }
28198 #endif
28199
28200 int
28201 main ()
28202 {
28203 return f != $ac_func;
28204 ;
28205 return 0;
28206 }
28207 _ACEOF
28208 rm -f conftest.$ac_objext conftest$ac_exeext
28209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28210 (eval $ac_link) 2>&5
28211 ac_status=$?
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); } &&
28214 { ac_try='test -s conftest$ac_exeext'
28215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28216 (eval $ac_try) 2>&5
28217 ac_status=$?
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); }; }; then
28220 eval "$as_ac_var=yes"
28221 else
28222 echo "$as_me: failed program was:" >&5
28223 sed 's/^/| /' conftest.$ac_ext >&5
28224
28225 eval "$as_ac_var=no"
28226 fi
28227 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28228 fi
28229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28231 if test `eval echo '${'$as_ac_var'}'` = yes; then
28232 cat >>confdefs.h <<_ACEOF
28233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28234 _ACEOF
28235 cat >>confdefs.h <<\_ACEOF
28236 #define HAVE_USLEEP 1
28237 _ACEOF
28238
28239 else
28240 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28241 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28242
28243 fi
28244 done
28245
28246
28247
28248 fi
28249
28250
28251
28252 fi
28253 done
28254
28255 fi
28256
28257
28258
28259 for ac_func in uname gethostname
28260 do
28261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28262 echo "$as_me:$LINENO: checking for $ac_func" >&5
28263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28264 if eval "test \"\${$as_ac_var+set}\" = set"; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 else
28267 cat >conftest.$ac_ext <<_ACEOF
28268 #line $LINENO "configure"
28269 /* confdefs.h. */
28270 _ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274 /* System header to define __stub macros and hopefully few prototypes,
28275 which can conflict with char $ac_func (); below.
28276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28277 <limits.h> exists even on freestanding compilers. */
28278 #ifdef __STDC__
28279 # include <limits.h>
28280 #else
28281 # include <assert.h>
28282 #endif
28283 /* Override any gcc2 internal prototype to avoid an error. */
28284 #ifdef __cplusplus
28285 extern "C"
28286 {
28287 #endif
28288 /* We use char because int might match the return type of a gcc2
28289 builtin and then its argument prototype would still apply. */
28290 char $ac_func ();
28291 /* The GNU C library defines this for functions which it implements
28292 to always fail with ENOSYS. Some functions are actually named
28293 something starting with __ and the normal name is an alias. */
28294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28295 choke me
28296 #else
28297 char (*f) () = $ac_func;
28298 #endif
28299 #ifdef __cplusplus
28300 }
28301 #endif
28302
28303 int
28304 main ()
28305 {
28306 return f != $ac_func;
28307 ;
28308 return 0;
28309 }
28310 _ACEOF
28311 rm -f conftest.$ac_objext conftest$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>&5
28314 ac_status=$?
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } &&
28317 { ac_try='test -s conftest$ac_exeext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28320 ac_status=$?
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 eval "$as_ac_var=yes"
28324 else
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28327
28328 eval "$as_ac_var=no"
28329 fi
28330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28331 fi
28332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28334 if test `eval echo '${'$as_ac_var'}'` = yes; then
28335 cat >>confdefs.h <<_ACEOF
28336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28337 _ACEOF
28338 break
28339 fi
28340 done
28341
28342
28343
28344
28345 ac_ext=cc
28346 ac_cpp='$CXXCPP $CPPFLAGS'
28347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28350
28351
28352
28353 for ac_func in strtok_r
28354 do
28355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28356 echo "$as_me:$LINENO: checking for $ac_func" >&5
28357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28358 if eval "test \"\${$as_ac_var+set}\" = set"; then
28359 echo $ECHO_N "(cached) $ECHO_C" >&6
28360 else
28361 cat >conftest.$ac_ext <<_ACEOF
28362 #line $LINENO "configure"
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368 /* System header to define __stub macros and hopefully few prototypes,
28369 which can conflict with char $ac_func (); below.
28370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28371 <limits.h> exists even on freestanding compilers. */
28372 #ifdef __STDC__
28373 # include <limits.h>
28374 #else
28375 # include <assert.h>
28376 #endif
28377 /* Override any gcc2 internal prototype to avoid an error. */
28378 #ifdef __cplusplus
28379 extern "C"
28380 {
28381 #endif
28382 /* We use char because int might match the return type of a gcc2
28383 builtin and then its argument prototype would still apply. */
28384 char $ac_func ();
28385 /* The GNU C library defines this for functions which it implements
28386 to always fail with ENOSYS. Some functions are actually named
28387 something starting with __ and the normal name is an alias. */
28388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28389 choke me
28390 #else
28391 char (*f) () = $ac_func;
28392 #endif
28393 #ifdef __cplusplus
28394 }
28395 #endif
28396
28397 int
28398 main ()
28399 {
28400 return f != $ac_func;
28401 ;
28402 return 0;
28403 }
28404 _ACEOF
28405 rm -f conftest.$ac_objext conftest$ac_exeext
28406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28407 (eval $ac_link) 2>&5
28408 ac_status=$?
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); } &&
28411 { ac_try='test -s conftest$ac_exeext'
28412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28413 (eval $ac_try) 2>&5
28414 ac_status=$?
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); }; }; then
28417 eval "$as_ac_var=yes"
28418 else
28419 echo "$as_me: failed program was:" >&5
28420 sed 's/^/| /' conftest.$ac_ext >&5
28421
28422 eval "$as_ac_var=no"
28423 fi
28424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28425 fi
28426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28428 if test `eval echo '${'$as_ac_var'}'` = yes; then
28429 cat >>confdefs.h <<_ACEOF
28430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28431 _ACEOF
28432
28433 fi
28434 done
28435
28436
28437 ac_ext=c
28438 ac_cpp='$CPP $CPPFLAGS'
28439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28442
28443
28444 INET_LINK=
28445
28446 for ac_func in inet_addr
28447 do
28448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28449 echo "$as_me:$LINENO: checking for $ac_func" >&5
28450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28451 if eval "test \"\${$as_ac_var+set}\" = set"; then
28452 echo $ECHO_N "(cached) $ECHO_C" >&6
28453 else
28454 cat >conftest.$ac_ext <<_ACEOF
28455 #line $LINENO "configure"
28456 /* confdefs.h. */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 /* System header to define __stub macros and hopefully few prototypes,
28462 which can conflict with char $ac_func (); below.
28463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28464 <limits.h> exists even on freestanding compilers. */
28465 #ifdef __STDC__
28466 # include <limits.h>
28467 #else
28468 # include <assert.h>
28469 #endif
28470 /* Override any gcc2 internal prototype to avoid an error. */
28471 #ifdef __cplusplus
28472 extern "C"
28473 {
28474 #endif
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28477 char $ac_func ();
28478 /* The GNU C library defines this for functions which it implements
28479 to always fail with ENOSYS. Some functions are actually named
28480 something starting with __ and the normal name is an alias. */
28481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28482 choke me
28483 #else
28484 char (*f) () = $ac_func;
28485 #endif
28486 #ifdef __cplusplus
28487 }
28488 #endif
28489
28490 int
28491 main ()
28492 {
28493 return f != $ac_func;
28494 ;
28495 return 0;
28496 }
28497 _ACEOF
28498 rm -f conftest.$ac_objext conftest$ac_exeext
28499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28500 (eval $ac_link) 2>&5
28501 ac_status=$?
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); } &&
28504 { ac_try='test -s conftest$ac_exeext'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28507 ac_status=$?
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; }; then
28510 eval "$as_ac_var=yes"
28511 else
28512 echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28514
28515 eval "$as_ac_var=no"
28516 fi
28517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28518 fi
28519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28521 if test `eval echo '${'$as_ac_var'}'` = yes; then
28522 cat >>confdefs.h <<_ACEOF
28523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28524 _ACEOF
28525 cat >>confdefs.h <<\_ACEOF
28526 #define HAVE_INET_ADDR 1
28527 _ACEOF
28528
28529 else
28530
28531 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28532 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28533 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28534 echo $ECHO_N "(cached) $ECHO_C" >&6
28535 else
28536 ac_check_lib_save_LIBS=$LIBS
28537 LIBS="-lnsl $LIBS"
28538 cat >conftest.$ac_ext <<_ACEOF
28539 #line $LINENO "configure"
28540 /* confdefs.h. */
28541 _ACEOF
28542 cat confdefs.h >>conftest.$ac_ext
28543 cat >>conftest.$ac_ext <<_ACEOF
28544 /* end confdefs.h. */
28545
28546 /* Override any gcc2 internal prototype to avoid an error. */
28547 #ifdef __cplusplus
28548 extern "C"
28549 #endif
28550 /* We use char because int might match the return type of a gcc2
28551 builtin and then its argument prototype would still apply. */
28552 char inet_addr ();
28553 int
28554 main ()
28555 {
28556 inet_addr ();
28557 ;
28558 return 0;
28559 }
28560 _ACEOF
28561 rm -f conftest.$ac_objext conftest$ac_exeext
28562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28563 (eval $ac_link) 2>&5
28564 ac_status=$?
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); } &&
28567 { ac_try='test -s conftest$ac_exeext'
28568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28569 (eval $ac_try) 2>&5
28570 ac_status=$?
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); }; }; then
28573 ac_cv_lib_nsl_inet_addr=yes
28574 else
28575 echo "$as_me: failed program was:" >&5
28576 sed 's/^/| /' conftest.$ac_ext >&5
28577
28578 ac_cv_lib_nsl_inet_addr=no
28579 fi
28580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28581 LIBS=$ac_check_lib_save_LIBS
28582 fi
28583 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28584 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28585 if test $ac_cv_lib_nsl_inet_addr = yes; then
28586 INET_LINK="nsl"
28587 else
28588
28589 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28590 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28591 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28593 else
28594 ac_check_lib_save_LIBS=$LIBS
28595 LIBS="-lresolv $LIBS"
28596 cat >conftest.$ac_ext <<_ACEOF
28597 #line $LINENO "configure"
28598 /* confdefs.h. */
28599 _ACEOF
28600 cat confdefs.h >>conftest.$ac_ext
28601 cat >>conftest.$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28603
28604 /* Override any gcc2 internal prototype to avoid an error. */
28605 #ifdef __cplusplus
28606 extern "C"
28607 #endif
28608 /* We use char because int might match the return type of a gcc2
28609 builtin and then its argument prototype would still apply. */
28610 char inet_addr ();
28611 int
28612 main ()
28613 {
28614 inet_addr ();
28615 ;
28616 return 0;
28617 }
28618 _ACEOF
28619 rm -f conftest.$ac_objext conftest$ac_exeext
28620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28621 (eval $ac_link) 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } &&
28625 { ac_try='test -s conftest$ac_exeext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28628 ac_status=$?
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_cv_lib_resolv_inet_addr=yes
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28635
28636 ac_cv_lib_resolv_inet_addr=no
28637 fi
28638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28639 LIBS=$ac_check_lib_save_LIBS
28640 fi
28641 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28642 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28643 if test $ac_cv_lib_resolv_inet_addr = yes; then
28644 INET_LINK="resolv"
28645 else
28646
28647 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28648 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28649 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 else
28652 ac_check_lib_save_LIBS=$LIBS
28653 LIBS="-lsocket $LIBS"
28654 cat >conftest.$ac_ext <<_ACEOF
28655 #line $LINENO "configure"
28656 /* confdefs.h. */
28657 _ACEOF
28658 cat confdefs.h >>conftest.$ac_ext
28659 cat >>conftest.$ac_ext <<_ACEOF
28660 /* end confdefs.h. */
28661
28662 /* Override any gcc2 internal prototype to avoid an error. */
28663 #ifdef __cplusplus
28664 extern "C"
28665 #endif
28666 /* We use char because int might match the return type of a gcc2
28667 builtin and then its argument prototype would still apply. */
28668 char inet_addr ();
28669 int
28670 main ()
28671 {
28672 inet_addr ();
28673 ;
28674 return 0;
28675 }
28676 _ACEOF
28677 rm -f conftest.$ac_objext conftest$ac_exeext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28679 (eval $ac_link) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); } &&
28683 { ac_try='test -s conftest$ac_exeext'
28684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28685 (eval $ac_try) 2>&5
28686 ac_status=$?
28687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28688 (exit $ac_status); }; }; then
28689 ac_cv_lib_socket_inet_addr=yes
28690 else
28691 echo "$as_me: failed program was:" >&5
28692 sed 's/^/| /' conftest.$ac_ext >&5
28693
28694 ac_cv_lib_socket_inet_addr=no
28695 fi
28696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28697 LIBS=$ac_check_lib_save_LIBS
28698 fi
28699 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28700 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28701 if test $ac_cv_lib_socket_inet_addr = yes; then
28702 INET_LINK="socket"
28703
28704 fi
28705
28706
28707
28708 fi
28709
28710
28711
28712 fi
28713
28714
28715
28716 fi
28717 done
28718
28719
28720
28721 for ac_func in inet_aton
28722 do
28723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28724 echo "$as_me:$LINENO: checking for $ac_func" >&5
28725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28726 if eval "test \"\${$as_ac_var+set}\" = set"; then
28727 echo $ECHO_N "(cached) $ECHO_C" >&6
28728 else
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 /* System header to define __stub macros and hopefully few prototypes,
28737 which can conflict with char $ac_func (); below.
28738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28739 <limits.h> exists even on freestanding compilers. */
28740 #ifdef __STDC__
28741 # include <limits.h>
28742 #else
28743 # include <assert.h>
28744 #endif
28745 /* Override any gcc2 internal prototype to avoid an error. */
28746 #ifdef __cplusplus
28747 extern "C"
28748 {
28749 #endif
28750 /* We use char because int might match the return type of a gcc2
28751 builtin and then its argument prototype would still apply. */
28752 char $ac_func ();
28753 /* The GNU C library defines this for functions which it implements
28754 to always fail with ENOSYS. Some functions are actually named
28755 something starting with __ and the normal name is an alias. */
28756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28757 choke me
28758 #else
28759 char (*f) () = $ac_func;
28760 #endif
28761 #ifdef __cplusplus
28762 }
28763 #endif
28764
28765 int
28766 main ()
28767 {
28768 return f != $ac_func;
28769 ;
28770 return 0;
28771 }
28772 _ACEOF
28773 rm -f conftest.$ac_objext conftest$ac_exeext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28775 (eval $ac_link) 2>&5
28776 ac_status=$?
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); } &&
28779 { ac_try='test -s conftest$ac_exeext'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28782 ac_status=$?
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 eval "$as_ac_var=yes"
28786 else
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28789
28790 eval "$as_ac_var=no"
28791 fi
28792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28793 fi
28794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28796 if test `eval echo '${'$as_ac_var'}'` = yes; then
28797 cat >>confdefs.h <<_ACEOF
28798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28799 _ACEOF
28800 cat >>confdefs.h <<\_ACEOF
28801 #define HAVE_INET_ATON 1
28802 _ACEOF
28803
28804 else
28805
28806 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28807 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28808 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28809 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28810 echo $ECHO_N "(cached) $ECHO_C" >&6
28811 else
28812 ac_check_lib_save_LIBS=$LIBS
28813 LIBS="-l$INET_LINK $LIBS"
28814 cat >conftest.$ac_ext <<_ACEOF
28815 #line $LINENO "configure"
28816 /* confdefs.h. */
28817 _ACEOF
28818 cat confdefs.h >>conftest.$ac_ext
28819 cat >>conftest.$ac_ext <<_ACEOF
28820 /* end confdefs.h. */
28821
28822 /* Override any gcc2 internal prototype to avoid an error. */
28823 #ifdef __cplusplus
28824 extern "C"
28825 #endif
28826 /* We use char because int might match the return type of a gcc2
28827 builtin and then its argument prototype would still apply. */
28828 char inet_aton ();
28829 int
28830 main ()
28831 {
28832 inet_aton ();
28833 ;
28834 return 0;
28835 }
28836 _ACEOF
28837 rm -f conftest.$ac_objext conftest$ac_exeext
28838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28839 (eval $ac_link) 2>&5
28840 ac_status=$?
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } &&
28843 { ac_try='test -s conftest$ac_exeext'
28844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28845 (eval $ac_try) 2>&5
28846 ac_status=$?
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); }; }; then
28849 eval "$as_ac_Lib=yes"
28850 else
28851 echo "$as_me: failed program was:" >&5
28852 sed 's/^/| /' conftest.$ac_ext >&5
28853
28854 eval "$as_ac_Lib=no"
28855 fi
28856 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28857 LIBS=$ac_check_lib_save_LIBS
28858 fi
28859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28860 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28861 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28862 cat >>confdefs.h <<\_ACEOF
28863 #define HAVE_INET_ATON 1
28864 _ACEOF
28865
28866 fi
28867
28868
28869 fi
28870 done
28871
28872
28873 if test "x$INET_LINK" != "x"; then
28874 cat >>confdefs.h <<\_ACEOF
28875 #define HAVE_INET_ADDR 1
28876 _ACEOF
28877
28878 INET_LINK=" -l$INET_LINK"
28879 fi
28880
28881 fi
28882
28883
28884
28885 EXTRALIBS_ESD=
28886 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28887 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28888 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891 ac_check_lib_save_LIBS=$LIBS
28892 LIBS="-lesd $LIBS"
28893 cat >conftest.$ac_ext <<_ACEOF
28894 #line $LINENO "configure"
28895 /* confdefs.h. */
28896 _ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900
28901 /* Override any gcc2 internal prototype to avoid an error. */
28902 #ifdef __cplusplus
28903 extern "C"
28904 #endif
28905 /* We use char because int might match the return type of a gcc2
28906 builtin and then its argument prototype would still apply. */
28907 char esd_close ();
28908 int
28909 main ()
28910 {
28911 esd_close ();
28912 ;
28913 return 0;
28914 }
28915 _ACEOF
28916 rm -f conftest.$ac_objext conftest$ac_exeext
28917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28918 (eval $ac_link) 2>&5
28919 ac_status=$?
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try='test -s conftest$ac_exeext'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28925 ac_status=$?
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; }; then
28928 ac_cv_lib_esd_esd_close=yes
28929 else
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28932
28933 ac_cv_lib_esd_esd_close=no
28934 fi
28935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28936 LIBS=$ac_check_lib_save_LIBS
28937 fi
28938 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28939 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28940 if test $ac_cv_lib_esd_esd_close = yes; then
28941
28942
28943 for ac_header in esd.h
28944 do
28945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28947 echo "$as_me:$LINENO: checking for $ac_header" >&5
28948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28950 echo $ECHO_N "(cached) $ECHO_C" >&6
28951 fi
28952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28954 else
28955 # Is the header compilable?
28956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28958 cat >conftest.$ac_ext <<_ACEOF
28959 #line $LINENO "configure"
28960 /* confdefs.h. */
28961 _ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28965 $ac_includes_default
28966 #include <$ac_header>
28967 _ACEOF
28968 rm -f conftest.$ac_objext
28969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28970 (eval $ac_compile) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try='test -s conftest.$ac_objext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 ac_header_compiler=yes
28981 else
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28984
28985 ac_header_compiler=no
28986 fi
28987 rm -f conftest.$ac_objext conftest.$ac_ext
28988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28989 echo "${ECHO_T}$ac_header_compiler" >&6
28990
28991 # Is the header present?
28992 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28993 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28994 cat >conftest.$ac_ext <<_ACEOF
28995 #line $LINENO "configure"
28996 /* confdefs.h. */
28997 _ACEOF
28998 cat confdefs.h >>conftest.$ac_ext
28999 cat >>conftest.$ac_ext <<_ACEOF
29000 /* end confdefs.h. */
29001 #include <$ac_header>
29002 _ACEOF
29003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29005 ac_status=$?
29006 grep -v '^ *+' conftest.er1 >conftest.err
29007 rm -f conftest.er1
29008 cat conftest.err >&5
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); } >/dev/null; then
29011 if test -s conftest.err; then
29012 ac_cpp_err=$ac_c_preproc_warn_flag
29013 else
29014 ac_cpp_err=
29015 fi
29016 else
29017 ac_cpp_err=yes
29018 fi
29019 if test -z "$ac_cpp_err"; then
29020 ac_header_preproc=yes
29021 else
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29024
29025 ac_header_preproc=no
29026 fi
29027 rm -f conftest.err conftest.$ac_ext
29028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29029 echo "${ECHO_T}$ac_header_preproc" >&6
29030
29031 # So? What about this header?
29032 case $ac_header_compiler:$ac_header_preproc in
29033 yes:no )
29034 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29035 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29038 (
29039 cat <<\_ASBOX
29040 ## ------------------------------------ ##
29041 ## Report this to bug-autoconf@gnu.org. ##
29042 ## ------------------------------------ ##
29043 _ASBOX
29044 ) |
29045 sed "s/^/$as_me: WARNING: /" >&2
29046 ;;
29047 no:yes )
29048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29054 (
29055 cat <<\_ASBOX
29056 ## ------------------------------------ ##
29057 ## Report this to bug-autoconf@gnu.org. ##
29058 ## ------------------------------------ ##
29059 _ASBOX
29060 ) |
29061 sed "s/^/$as_me: WARNING: /" >&2
29062 ;;
29063 esac
29064 echo "$as_me:$LINENO: checking for $ac_header" >&5
29065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29067 echo $ECHO_N "(cached) $ECHO_C" >&6
29068 else
29069 eval "$as_ac_Header=$ac_header_preproc"
29070 fi
29071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29073
29074 fi
29075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29076 cat >>confdefs.h <<_ACEOF
29077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29078 _ACEOF
29079
29080 EXTRALIBS_ESD="-lesd"
29081
29082 fi
29083
29084 done
29085
29086
29087 fi
29088
29089
29090
29091 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29092 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29093 cat >conftest.$ac_ext <<_ACEOF
29094 #line $LINENO "configure"
29095 /* confdefs.h. */
29096 _ACEOF
29097 cat confdefs.h >>conftest.$ac_ext
29098 cat >>conftest.$ac_ext <<_ACEOF
29099 /* end confdefs.h. */
29100 #ifdef __linux__
29101 #include <linux/cdrom.h>
29102 #else
29103 /* For Solaris */
29104 #include <sys/cdio.h>
29105 #endif
29106
29107 int
29108 main ()
29109 {
29110 struct cdrom_tocentry entry, old_entry;
29111 ;
29112 return 0;
29113 }
29114 _ACEOF
29115 rm -f conftest.$ac_objext
29116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29117 (eval $ac_compile) 2>&5
29118 ac_status=$?
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } &&
29121 { ac_try='test -s conftest.$ac_objext'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29124 ac_status=$?
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; }; then
29127 echo "$as_me:$LINENO: result: yes" >&5
29128 echo "${ECHO_T}yes" >&6
29129 cat >>confdefs.h <<\_ACEOF
29130 #define HAVE_KNOWN_CDROM_INTERFACE 1
29131 _ACEOF
29132
29133 else
29134 echo "$as_me: failed program was:" >&5
29135 sed 's/^/| /' conftest.$ac_ext >&5
29136
29137 echo "$as_me:$LINENO: result: no" >&5
29138 echo "${ECHO_T}no" >&6
29139 fi
29140 rm -f conftest.$ac_objext conftest.$ac_ext
29141
29142
29143 cat >confcache <<\_ACEOF
29144 # This file is a shell script that caches the results of configure
29145 # tests run on this system so they can be shared between configure
29146 # scripts and configure runs, see configure's option --config-cache.
29147 # It is not useful on other systems. If it contains results you don't
29148 # want to keep, you may remove or edit it.
29149 #
29150 # config.status only pays attention to the cache file if you give it
29151 # the --recheck option to rerun configure.
29152 #
29153 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29154 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29155 # following values.
29156
29157 _ACEOF
29158
29159 # The following way of writing the cache mishandles newlines in values,
29160 # but we know of no workaround that is simple, portable, and efficient.
29161 # So, don't put newlines in cache variables' values.
29162 # Ultrix sh set writes to stderr and can't be redirected directly,
29163 # and sets the high bit in the cache file unless we assign to the vars.
29164 {
29165 (set) 2>&1 |
29166 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29167 *ac_space=\ *)
29168 # `set' does not quote correctly, so add quotes (double-quote
29169 # substitution turns \\\\ into \\, and sed turns \\ into \).
29170 sed -n \
29171 "s/'/'\\\\''/g;
29172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29173 ;;
29174 *)
29175 # `set' quotes correctly as required by POSIX, so do not add quotes.
29176 sed -n \
29177 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29178 ;;
29179 esac;
29180 } |
29181 sed '
29182 t clear
29183 : clear
29184 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29185 t end
29186 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29187 : end' >>confcache
29188 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29189 if test -w $cache_file; then
29190 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29191 cat confcache >$cache_file
29192 else
29193 echo "not updating unwritable cache $cache_file"
29194 fi
29195 fi
29196 rm -f confcache
29197
29198
29199 CPP_MT_FLAG=
29200 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29201
29202
29203 THREADS_LINK=
29204 THREADS_CFLAGS=
29205
29206 if test "$wxUSE_THREADS" = "yes" ; then
29207 if test "$USE_BEOS" = 1; then
29208 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29209 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29210 wxUSE_THREADS="no"
29211 fi
29212 fi
29213
29214 if test "$wxUSE_THREADS" = "yes" ; then
29215
29216
29217 THREAD_OPTS="-pthread"
29218 case "${host}" in
29219 *-*-solaris2* | *-*-sunos4* )
29220 if test "x$GCC" = "xyes"; then
29221 THREAD_OPTS="-pthreads $THREAD_OPTS"
29222 else
29223 THREAD_OPTS="-mt $THREAD_OPTS"
29224 fi
29225 ;;
29226 *-*-freebsd*)
29227 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29228 ;;
29229 *-*-darwin* | *-*-cygwin* )
29230 THREAD_OPTS=""
29231 ;;
29232 *-*-aix*)
29233 THREAD_OPTS="pthreads"
29234 ;;
29235 *-hp-hpux* )
29236 if test "x$GCC" != "xyes"; then
29237 THREAD_OPTS=""
29238 fi
29239 ;;
29240
29241 *-*-irix* )
29242 if test "x$GCC" = "xyes"; then
29243 THREAD_OPTS=""
29244 fi
29245 ;;
29246
29247 *-*-*UnixWare*)
29248 if test "x$GCC" != "xyes"; then
29249 THREAD_OPTS="-Ethread"
29250 fi
29251 ;;
29252 esac
29253
29254 THREAD_OPTS="$THREAD_OPTS pthread none"
29255
29256 THREADS_OK=no
29257 for flag in $THREAD_OPTS; do
29258 case $flag in
29259 none)
29260 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29261 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29262 ;;
29263
29264 -*)
29265 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29266 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29267 THREADS_CFLAGS="$flag"
29268 ;;
29269
29270 *)
29271 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29272 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29273 THREADS_LINK="-l$flag"
29274 ;;
29275 esac
29276
29277 save_LIBS="$LIBS"
29278 save_CFLAGS="$CFLAGS"
29279 LIBS="$THREADS_LINK $LIBS"
29280 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29281
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 <pthread.h>
29290 int
29291 main ()
29292 {
29293 pthread_create(0,0,0,0);
29294 ;
29295 return 0;
29296 }
29297 _ACEOF
29298 rm -f conftest.$ac_objext conftest$ac_exeext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29300 (eval $ac_link) 2>&5
29301 ac_status=$?
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); } &&
29304 { ac_try='test -s conftest$ac_exeext'
29305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29306 (eval $ac_try) 2>&5
29307 ac_status=$?
29308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29309 (exit $ac_status); }; }; then
29310 THREADS_OK=yes
29311 else
29312 echo "$as_me: failed program was:" >&5
29313 sed 's/^/| /' conftest.$ac_ext >&5
29314
29315 fi
29316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29317
29318 LIBS="$save_LIBS"
29319 CFLAGS="$save_CFLAGS"
29320
29321 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29322 echo "${ECHO_T}$THREADS_OK" >&6
29323 if test "x$THREADS_OK" = "xyes"; then
29324 break;
29325 fi
29326
29327 THREADS_LINK=""
29328 THREADS_CFLAGS=""
29329 done
29330
29331 if test "x$THREADS_OK" != "xyes"; then
29332 wxUSE_THREADS=no
29333 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29334 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29335 else
29336 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29337 LIBS="$THREADS_LINK $LIBS"
29338
29339 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29340 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29341 flag=no
29342 case "${host}" in
29343 *-aix*)
29344 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29345 flag="-D_THREAD_SAFE"
29346 ;;
29347 *-freebsd*)
29348 flag="-D_THREAD_SAFE"
29349 ;;
29350 *-hp-hpux* )
29351 flag="-D_REENTRANT"
29352 if test "x$GCC" != "xyes"; then
29353 flag="$flag -D_RWSTD_MULTI_THREAD"
29354 fi
29355 ;;
29356 *solaris* | alpha*-osf*)
29357 flag="-D_REENTRANT"
29358 ;;
29359 esac
29360 echo "$as_me:$LINENO: result: ${flag}" >&5
29361 echo "${ECHO_T}${flag}" >&6
29362 if test "x$flag" != xno; then
29363 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29364 fi
29365
29366 if test "x$THREADS_CFLAGS" != "x"; then
29367 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29368 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29369 fi
29370 fi
29371 fi
29372
29373 if test "$wxUSE_THREADS" = "yes" ; then
29374
29375 for ac_func in thr_setconcurrency
29376 do
29377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29378 echo "$as_me:$LINENO: checking for $ac_func" >&5
29379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29380 if eval "test \"\${$as_ac_var+set}\" = set"; then
29381 echo $ECHO_N "(cached) $ECHO_C" >&6
29382 else
29383 cat >conftest.$ac_ext <<_ACEOF
29384 #line $LINENO "configure"
29385 /* confdefs.h. */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390 /* System header to define __stub macros and hopefully few prototypes,
29391 which can conflict with char $ac_func (); below.
29392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29393 <limits.h> exists even on freestanding compilers. */
29394 #ifdef __STDC__
29395 # include <limits.h>
29396 #else
29397 # include <assert.h>
29398 #endif
29399 /* Override any gcc2 internal prototype to avoid an error. */
29400 #ifdef __cplusplus
29401 extern "C"
29402 {
29403 #endif
29404 /* We use char because int might match the return type of a gcc2
29405 builtin and then its argument prototype would still apply. */
29406 char $ac_func ();
29407 /* The GNU C library defines this for functions which it implements
29408 to always fail with ENOSYS. Some functions are actually named
29409 something starting with __ and the normal name is an alias. */
29410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29411 choke me
29412 #else
29413 char (*f) () = $ac_func;
29414 #endif
29415 #ifdef __cplusplus
29416 }
29417 #endif
29418
29419 int
29420 main ()
29421 {
29422 return f != $ac_func;
29423 ;
29424 return 0;
29425 }
29426 _ACEOF
29427 rm -f conftest.$ac_objext conftest$ac_exeext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29429 (eval $ac_link) 2>&5
29430 ac_status=$?
29431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29432 (exit $ac_status); } &&
29433 { ac_try='test -s conftest$ac_exeext'
29434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29435 (eval $ac_try) 2>&5
29436 ac_status=$?
29437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29438 (exit $ac_status); }; }; then
29439 eval "$as_ac_var=yes"
29440 else
29441 echo "$as_me: failed program was:" >&5
29442 sed 's/^/| /' conftest.$ac_ext >&5
29443
29444 eval "$as_ac_var=no"
29445 fi
29446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29447 fi
29448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29450 if test `eval echo '${'$as_ac_var'}'` = yes; then
29451 cat >>confdefs.h <<_ACEOF
29452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29453 _ACEOF
29454
29455 fi
29456 done
29457
29458
29459
29460 for ac_header in sched.h
29461 do
29462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29464 echo "$as_me:$LINENO: checking for $ac_header" >&5
29465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29467 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 fi
29469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29471 else
29472 # Is the header compilable?
29473 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29475 cat >conftest.$ac_ext <<_ACEOF
29476 #line $LINENO "configure"
29477 /* confdefs.h. */
29478 _ACEOF
29479 cat confdefs.h >>conftest.$ac_ext
29480 cat >>conftest.$ac_ext <<_ACEOF
29481 /* end confdefs.h. */
29482 $ac_includes_default
29483 #include <$ac_header>
29484 _ACEOF
29485 rm -f conftest.$ac_objext
29486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29487 (eval $ac_compile) 2>&5
29488 ac_status=$?
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); } &&
29491 { ac_try='test -s conftest.$ac_objext'
29492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29493 (eval $ac_try) 2>&5
29494 ac_status=$?
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); }; }; then
29497 ac_header_compiler=yes
29498 else
29499 echo "$as_me: failed program was:" >&5
29500 sed 's/^/| /' conftest.$ac_ext >&5
29501
29502 ac_header_compiler=no
29503 fi
29504 rm -f conftest.$ac_objext conftest.$ac_ext
29505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29506 echo "${ECHO_T}$ac_header_compiler" >&6
29507
29508 # Is the header present?
29509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29511 cat >conftest.$ac_ext <<_ACEOF
29512 #line $LINENO "configure"
29513 /* confdefs.h. */
29514 _ACEOF
29515 cat confdefs.h >>conftest.$ac_ext
29516 cat >>conftest.$ac_ext <<_ACEOF
29517 /* end confdefs.h. */
29518 #include <$ac_header>
29519 _ACEOF
29520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29522 ac_status=$?
29523 grep -v '^ *+' conftest.er1 >conftest.err
29524 rm -f conftest.er1
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } >/dev/null; then
29528 if test -s conftest.err; then
29529 ac_cpp_err=$ac_c_preproc_warn_flag
29530 else
29531 ac_cpp_err=
29532 fi
29533 else
29534 ac_cpp_err=yes
29535 fi
29536 if test -z "$ac_cpp_err"; then
29537 ac_header_preproc=yes
29538 else
29539 echo "$as_me: failed program was:" >&5
29540 sed 's/^/| /' conftest.$ac_ext >&5
29541
29542 ac_header_preproc=no
29543 fi
29544 rm -f conftest.err conftest.$ac_ext
29545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29546 echo "${ECHO_T}$ac_header_preproc" >&6
29547
29548 # So? What about this header?
29549 case $ac_header_compiler:$ac_header_preproc in
29550 yes:no )
29551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29555 (
29556 cat <<\_ASBOX
29557 ## ------------------------------------ ##
29558 ## Report this to bug-autoconf@gnu.org. ##
29559 ## ------------------------------------ ##
29560 _ASBOX
29561 ) |
29562 sed "s/^/$as_me: WARNING: /" >&2
29563 ;;
29564 no:yes )
29565 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29566 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29567 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29568 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29571 (
29572 cat <<\_ASBOX
29573 ## ------------------------------------ ##
29574 ## Report this to bug-autoconf@gnu.org. ##
29575 ## ------------------------------------ ##
29576 _ASBOX
29577 ) |
29578 sed "s/^/$as_me: WARNING: /" >&2
29579 ;;
29580 esac
29581 echo "$as_me:$LINENO: checking for $ac_header" >&5
29582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 else
29586 eval "$as_ac_Header=$ac_header_preproc"
29587 fi
29588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29590
29591 fi
29592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29593 cat >>confdefs.h <<_ACEOF
29594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29595 _ACEOF
29596
29597 fi
29598
29599 done
29600
29601 if test "$ac_cv_header_sched_h" = "yes"; then
29602 echo "$as_me:$LINENO: checking for sched_yield" >&5
29603 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29604 if test "${ac_cv_func_sched_yield+set}" = set; then
29605 echo $ECHO_N "(cached) $ECHO_C" >&6
29606 else
29607 cat >conftest.$ac_ext <<_ACEOF
29608 #line $LINENO "configure"
29609 /* confdefs.h. */
29610 _ACEOF
29611 cat confdefs.h >>conftest.$ac_ext
29612 cat >>conftest.$ac_ext <<_ACEOF
29613 /* end confdefs.h. */
29614 /* System header to define __stub macros and hopefully few prototypes,
29615 which can conflict with char sched_yield (); below.
29616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29617 <limits.h> exists even on freestanding compilers. */
29618 #ifdef __STDC__
29619 # include <limits.h>
29620 #else
29621 # include <assert.h>
29622 #endif
29623 /* Override any gcc2 internal prototype to avoid an error. */
29624 #ifdef __cplusplus
29625 extern "C"
29626 {
29627 #endif
29628 /* We use char because int might match the return type of a gcc2
29629 builtin and then its argument prototype would still apply. */
29630 char sched_yield ();
29631 /* The GNU C library defines this for functions which it implements
29632 to always fail with ENOSYS. Some functions are actually named
29633 something starting with __ and the normal name is an alias. */
29634 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29635 choke me
29636 #else
29637 char (*f) () = sched_yield;
29638 #endif
29639 #ifdef __cplusplus
29640 }
29641 #endif
29642
29643 int
29644 main ()
29645 {
29646 return f != sched_yield;
29647 ;
29648 return 0;
29649 }
29650 _ACEOF
29651 rm -f conftest.$ac_objext conftest$ac_exeext
29652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29653 (eval $ac_link) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } &&
29657 { ac_try='test -s conftest$ac_exeext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29660 ac_status=$?
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 ac_cv_func_sched_yield=yes
29664 else
29665 echo "$as_me: failed program was:" >&5
29666 sed 's/^/| /' conftest.$ac_ext >&5
29667
29668 ac_cv_func_sched_yield=no
29669 fi
29670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29671 fi
29672 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29673 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29674 if test $ac_cv_func_sched_yield = yes; then
29675 cat >>confdefs.h <<\_ACEOF
29676 #define HAVE_SCHED_YIELD 1
29677 _ACEOF
29678
29679 else
29680
29681 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29682 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29683 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29684 echo $ECHO_N "(cached) $ECHO_C" >&6
29685 else
29686 ac_check_lib_save_LIBS=$LIBS
29687 LIBS="-lposix4 $LIBS"
29688 cat >conftest.$ac_ext <<_ACEOF
29689 #line $LINENO "configure"
29690 /* confdefs.h. */
29691 _ACEOF
29692 cat confdefs.h >>conftest.$ac_ext
29693 cat >>conftest.$ac_ext <<_ACEOF
29694 /* end confdefs.h. */
29695
29696 /* Override any gcc2 internal prototype to avoid an error. */
29697 #ifdef __cplusplus
29698 extern "C"
29699 #endif
29700 /* We use char because int might match the return type of a gcc2
29701 builtin and then its argument prototype would still apply. */
29702 char sched_yield ();
29703 int
29704 main ()
29705 {
29706 sched_yield ();
29707 ;
29708 return 0;
29709 }
29710 _ACEOF
29711 rm -f conftest.$ac_objext conftest$ac_exeext
29712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29713 (eval $ac_link) 2>&5
29714 ac_status=$?
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try='test -s conftest$ac_exeext'
29718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29719 (eval $ac_try) 2>&5
29720 ac_status=$?
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); }; }; then
29723 ac_cv_lib_posix4_sched_yield=yes
29724 else
29725 echo "$as_me: failed program was:" >&5
29726 sed 's/^/| /' conftest.$ac_ext >&5
29727
29728 ac_cv_lib_posix4_sched_yield=no
29729 fi
29730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29731 LIBS=$ac_check_lib_save_LIBS
29732 fi
29733 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29734 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29735 if test $ac_cv_lib_posix4_sched_yield = yes; then
29736 cat >>confdefs.h <<\_ACEOF
29737 #define HAVE_SCHED_YIELD 1
29738 _ACEOF
29739 POSIX4_LINK=" -lposix4"
29740 else
29741 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29742 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29743
29744 fi
29745
29746
29747
29748 fi
29749
29750 fi
29751
29752 HAVE_PRIOR_FUNCS=0
29753 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29754 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29755 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29756 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 else
29758 cat >conftest.$ac_ext <<_ACEOF
29759 #line $LINENO "configure"
29760 /* confdefs.h. */
29761 _ACEOF
29762 cat confdefs.h >>conftest.$ac_ext
29763 cat >>conftest.$ac_ext <<_ACEOF
29764 /* end confdefs.h. */
29765 /* System header to define __stub macros and hopefully few prototypes,
29766 which can conflict with char pthread_attr_getschedpolicy (); below.
29767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29768 <limits.h> exists even on freestanding compilers. */
29769 #ifdef __STDC__
29770 # include <limits.h>
29771 #else
29772 # include <assert.h>
29773 #endif
29774 /* Override any gcc2 internal prototype to avoid an error. */
29775 #ifdef __cplusplus
29776 extern "C"
29777 {
29778 #endif
29779 /* We use char because int might match the return type of a gcc2
29780 builtin and then its argument prototype would still apply. */
29781 char pthread_attr_getschedpolicy ();
29782 /* The GNU C library defines this for functions which it implements
29783 to always fail with ENOSYS. Some functions are actually named
29784 something starting with __ and the normal name is an alias. */
29785 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29786 choke me
29787 #else
29788 char (*f) () = pthread_attr_getschedpolicy;
29789 #endif
29790 #ifdef __cplusplus
29791 }
29792 #endif
29793
29794 int
29795 main ()
29796 {
29797 return f != pthread_attr_getschedpolicy;
29798 ;
29799 return 0;
29800 }
29801 _ACEOF
29802 rm -f conftest.$ac_objext conftest$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804 (eval $ac_link) 2>&5
29805 ac_status=$?
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); } &&
29808 { ac_try='test -s conftest$ac_exeext'
29809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29810 (eval $ac_try) 2>&5
29811 ac_status=$?
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); }; }; then
29814 ac_cv_func_pthread_attr_getschedpolicy=yes
29815 else
29816 echo "$as_me: failed program was:" >&5
29817 sed 's/^/| /' conftest.$ac_ext >&5
29818
29819 ac_cv_func_pthread_attr_getschedpolicy=no
29820 fi
29821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29822 fi
29823 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29824 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29825 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29826 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29827 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29828 if test "${ac_cv_func_pthread_attr_setschedparam+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_attr_setschedparam (); 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_attr_setschedparam ();
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_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29859 choke me
29860 #else
29861 char (*f) () = pthread_attr_setschedparam;
29862 #endif
29863 #ifdef __cplusplus
29864 }
29865 #endif
29866
29867 int
29868 main ()
29869 {
29870 return f != pthread_attr_setschedparam;
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_attr_setschedparam=yes
29888 else
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.$ac_ext >&5
29891
29892 ac_cv_func_pthread_attr_setschedparam=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_attr_setschedparam" >&5
29897 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29898 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29899 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29900 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29901 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29903 else
29904 cat >conftest.$ac_ext <<_ACEOF
29905 #line $LINENO "configure"
29906 /* confdefs.h. */
29907 _ACEOF
29908 cat confdefs.h >>conftest.$ac_ext
29909 cat >>conftest.$ac_ext <<_ACEOF
29910 /* end confdefs.h. */
29911 /* System header to define __stub macros and hopefully few prototypes,
29912 which can conflict with char sched_get_priority_max (); below.
29913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29914 <limits.h> exists even on freestanding compilers. */
29915 #ifdef __STDC__
29916 # include <limits.h>
29917 #else
29918 # include <assert.h>
29919 #endif
29920 /* Override any gcc2 internal prototype to avoid an error. */
29921 #ifdef __cplusplus
29922 extern "C"
29923 {
29924 #endif
29925 /* We use char because int might match the return type of a gcc2
29926 builtin and then its argument prototype would still apply. */
29927 char sched_get_priority_max ();
29928 /* The GNU C library defines this for functions which it implements
29929 to always fail with ENOSYS. Some functions are actually named
29930 something starting with __ and the normal name is an alias. */
29931 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29932 choke me
29933 #else
29934 char (*f) () = sched_get_priority_max;
29935 #endif
29936 #ifdef __cplusplus
29937 }
29938 #endif
29939
29940 int
29941 main ()
29942 {
29943 return f != sched_get_priority_max;
29944 ;
29945 return 0;
29946 }
29947 _ACEOF
29948 rm -f conftest.$ac_objext conftest$ac_exeext
29949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29950 (eval $ac_link) 2>&5
29951 ac_status=$?
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); } &&
29954 { ac_try='test -s conftest$ac_exeext'
29955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29956 (eval $ac_try) 2>&5
29957 ac_status=$?
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); }; }; then
29960 ac_cv_func_sched_get_priority_max=yes
29961 else
29962 echo "$as_me: failed program was:" >&5
29963 sed 's/^/| /' conftest.$ac_ext >&5
29964
29965 ac_cv_func_sched_get_priority_max=no
29966 fi
29967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29968 fi
29969 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29970 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29971 if test $ac_cv_func_sched_get_priority_max = yes; then
29972 HAVE_PRIOR_FUNCS=1
29973 else
29974 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29975 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29976 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29977 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 else
29979 ac_check_lib_save_LIBS=$LIBS
29980 LIBS="-lposix4 $LIBS"
29981 cat >conftest.$ac_ext <<_ACEOF
29982 #line $LINENO "configure"
29983 /* confdefs.h. */
29984 _ACEOF
29985 cat confdefs.h >>conftest.$ac_ext
29986 cat >>conftest.$ac_ext <<_ACEOF
29987 /* end confdefs.h. */
29988
29989 /* Override any gcc2 internal prototype to avoid an error. */
29990 #ifdef __cplusplus
29991 extern "C"
29992 #endif
29993 /* We use char because int might match the return type of a gcc2
29994 builtin and then its argument prototype would still apply. */
29995 char sched_get_priority_max ();
29996 int
29997 main ()
29998 {
29999 sched_get_priority_max ();
30000 ;
30001 return 0;
30002 }
30003 _ACEOF
30004 rm -f conftest.$ac_objext conftest$ac_exeext
30005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30006 (eval $ac_link) 2>&5
30007 ac_status=$?
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } &&
30010 { ac_try='test -s conftest$ac_exeext'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30013 ac_status=$?
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; }; then
30016 ac_cv_lib_posix4_sched_get_priority_max=yes
30017 else
30018 echo "$as_me: failed program was:" >&5
30019 sed 's/^/| /' conftest.$ac_ext >&5
30020
30021 ac_cv_lib_posix4_sched_get_priority_max=no
30022 fi
30023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30024 LIBS=$ac_check_lib_save_LIBS
30025 fi
30026 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30027 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30028 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30029
30030 HAVE_PRIOR_FUNCS=1
30031 POSIX4_LINK=" -lposix4"
30032
30033 fi
30034
30035
30036 fi
30037
30038
30039 fi
30040
30041
30042 fi
30043
30044
30045 if test "$HAVE_PRIOR_FUNCS" = 1; then
30046 cat >>confdefs.h <<\_ACEOF
30047 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30048 _ACEOF
30049
30050 else
30051 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30052 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30053 fi
30054
30055 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30056 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30057 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30058 echo $ECHO_N "(cached) $ECHO_C" >&6
30059 else
30060 cat >conftest.$ac_ext <<_ACEOF
30061 #line $LINENO "configure"
30062 /* confdefs.h. */
30063 _ACEOF
30064 cat confdefs.h >>conftest.$ac_ext
30065 cat >>conftest.$ac_ext <<_ACEOF
30066 /* end confdefs.h. */
30067 /* System header to define __stub macros and hopefully few prototypes,
30068 which can conflict with char pthread_cancel (); below.
30069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30070 <limits.h> exists even on freestanding compilers. */
30071 #ifdef __STDC__
30072 # include <limits.h>
30073 #else
30074 # include <assert.h>
30075 #endif
30076 /* Override any gcc2 internal prototype to avoid an error. */
30077 #ifdef __cplusplus
30078 extern "C"
30079 {
30080 #endif
30081 /* We use char because int might match the return type of a gcc2
30082 builtin and then its argument prototype would still apply. */
30083 char pthread_cancel ();
30084 /* The GNU C library defines this for functions which it implements
30085 to always fail with ENOSYS. Some functions are actually named
30086 something starting with __ and the normal name is an alias. */
30087 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30088 choke me
30089 #else
30090 char (*f) () = pthread_cancel;
30091 #endif
30092 #ifdef __cplusplus
30093 }
30094 #endif
30095
30096 int
30097 main ()
30098 {
30099 return f != pthread_cancel;
30100 ;
30101 return 0;
30102 }
30103 _ACEOF
30104 rm -f conftest.$ac_objext conftest$ac_exeext
30105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30106 (eval $ac_link) 2>&5
30107 ac_status=$?
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } &&
30110 { ac_try='test -s conftest$ac_exeext'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30113 ac_status=$?
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; }; then
30116 ac_cv_func_pthread_cancel=yes
30117 else
30118 echo "$as_me: failed program was:" >&5
30119 sed 's/^/| /' conftest.$ac_ext >&5
30120
30121 ac_cv_func_pthread_cancel=no
30122 fi
30123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30124 fi
30125 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30126 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30127 if test $ac_cv_func_pthread_cancel = yes; then
30128 cat >>confdefs.h <<\_ACEOF
30129 #define HAVE_PTHREAD_CANCEL 1
30130 _ACEOF
30131
30132 else
30133 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30134 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30135 fi
30136
30137
30138
30139
30140 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30141 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30142 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30143 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 else
30145
30146 cat >conftest.$ac_ext <<_ACEOF
30147 #line $LINENO "configure"
30148 /* confdefs.h. */
30149 _ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <pthread.h>
30154 int
30155 main ()
30156 {
30157
30158 pthread_mutexattr_t attr;
30159 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30160
30161 ;
30162 return 0;
30163 }
30164 _ACEOF
30165 rm -f conftest.$ac_objext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30167 (eval $ac_compile) 2>&5
30168 ac_status=$?
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); } &&
30171 { ac_try='test -s conftest.$ac_objext'
30172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30173 (eval $ac_try) 2>&5
30174 ac_status=$?
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; }; then
30177
30178 wx_cv_type_pthread_mutexattr_t=yes
30179
30180 else
30181 echo "$as_me: failed program was:" >&5
30182 sed 's/^/| /' conftest.$ac_ext >&5
30183
30184
30185 wx_cv_type_pthread_mutexattr_t=no
30186
30187
30188 fi
30189 rm -f conftest.$ac_objext conftest.$ac_ext
30190
30191 fi
30192 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30193 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30194
30195 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30196 cat >>confdefs.h <<\_ACEOF
30197 #define HAVE_PTHREAD_MUTEXATTR_T 1
30198 _ACEOF
30199
30200 else
30201 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30202 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30203 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30204 echo $ECHO_N "(cached) $ECHO_C" >&6
30205 else
30206
30207 cat >conftest.$ac_ext <<_ACEOF
30208 #line $LINENO "configure"
30209 /* confdefs.h. */
30210 _ACEOF
30211 cat confdefs.h >>conftest.$ac_ext
30212 cat >>conftest.$ac_ext <<_ACEOF
30213 /* end confdefs.h. */
30214 #include <pthread.h>
30215 int
30216 main ()
30217 {
30218
30219 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30220
30221 ;
30222 return 0;
30223 }
30224 _ACEOF
30225 rm -f conftest.$ac_objext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30227 (eval $ac_compile) 2>&5
30228 ac_status=$?
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); } &&
30231 { ac_try='test -s conftest.$ac_objext'
30232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30233 (eval $ac_try) 2>&5
30234 ac_status=$?
30235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30236 (exit $ac_status); }; }; then
30237
30238 wx_cv_type_pthread_rec_mutex_init=yes
30239
30240 else
30241 echo "$as_me: failed program was:" >&5
30242 sed 's/^/| /' conftest.$ac_ext >&5
30243
30244
30245 wx_cv_type_pthread_rec_mutex_init=no
30246
30247
30248 fi
30249 rm -f conftest.$ac_objext conftest.$ac_ext
30250
30251 fi
30252 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30253 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30254 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30255 cat >>confdefs.h <<\_ACEOF
30256 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30257 _ACEOF
30258
30259 else
30260 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30261 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30262 fi
30263 fi
30264 fi
30265
30266 else
30267 if test "$wxUSE_THREADS" = "yes" ; then
30268 case "${host}" in
30269 *-*-mingw32* )
30270 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30271 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30272 if test "${wx_cv_cflags_mthread+set}" = set; then
30273 echo $ECHO_N "(cached) $ECHO_C" >&6
30274 else
30275
30276 CFLAGS_OLD="$CFLAGS"
30277 CFLAGS="$CFLAGS -mthreads"
30278 cat >conftest.$ac_ext <<_ACEOF
30279 #line $LINENO "configure"
30280 /* confdefs.h. */
30281 _ACEOF
30282 cat confdefs.h >>conftest.$ac_ext
30283 cat >>conftest.$ac_ext <<_ACEOF
30284 /* end confdefs.h. */
30285
30286 int
30287 main ()
30288 {
30289
30290 ;
30291 return 0;
30292 }
30293 _ACEOF
30294 rm -f conftest.$ac_objext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30296 (eval $ac_compile) 2>&5
30297 ac_status=$?
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); } &&
30300 { ac_try='test -s conftest.$ac_objext'
30301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302 (eval $ac_try) 2>&5
30303 ac_status=$?
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); }; }; then
30306 wx_cv_cflags_mthread=yes
30307 else
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.$ac_ext >&5
30310
30311 wx_cv_cflags_mthread=no
30312
30313 fi
30314 rm -f conftest.$ac_objext conftest.$ac_ext
30315
30316
30317 fi
30318 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30319 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30320
30321 if test "$wx_cv_cflags_mthread" = "yes"; then
30322 CXXFLAGS="$CXXFLAGS -mthreads"
30323 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30324 LDFLAGS="$LDFLAGS -mthreads"
30325 else
30326 CFLAGS="$CFLAGS_OLD"
30327 fi
30328 ;;
30329 *-pc-os2*emx )
30330 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30331 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30332 LDFLAGS="$LDFLAGS -Zmt"
30333 ;;
30334 esac
30335 fi
30336 fi
30337
30338 if test "$wxUSE_THREADS" = "yes"; then
30339 cat >>confdefs.h <<\_ACEOF
30340 #define wxUSE_THREADS 1
30341 _ACEOF
30342
30343
30344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30345 else
30346 if test "$ac_cv_func_strtok_r" = "yes"; then
30347 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30348 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30349 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30350 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30351 echo "$as_me:$LINENO: result: yes" >&5
30352 echo "${ECHO_T}yes" >&6
30353 else
30354 echo "$as_me:$LINENO: result: no" >&5
30355 echo "${ECHO_T}no" >&6
30356 fi
30357 fi
30358 fi
30359
30360 if test "$WXGTK20" = 1 ; then
30361 cat >>confdefs.h <<_ACEOF
30362 #define __WXGTK20__ $WXGTK20
30363 _ACEOF
30364
30365 WXGTK12=1
30366 fi
30367
30368 if test "$WXGTK12" = 1 ; then
30369 cat >>confdefs.h <<_ACEOF
30370 #define __WXGTK12__ $WXGTK12
30371 _ACEOF
30372
30373 fi
30374
30375 if test "$WXGTK127" = 1 ; then
30376 cat >>confdefs.h <<_ACEOF
30377 #define __WXGTK127__ $WXGTK127
30378 _ACEOF
30379
30380 fi
30381
30382 WXDEBUG=
30383
30384 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30385 WXDEBUG="-g"
30386 wxUSE_OPTIMISE=no
30387 fi
30388
30389 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30390 wxUSE_DEBUG_INFO=yes
30391 WXDEBUG="-ggdb"
30392 fi
30393
30394 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30395 cat >>confdefs.h <<\_ACEOF
30396 #define WXDEBUG 1
30397 _ACEOF
30398
30399 WXDEBUG_DEFINE="-D__WXDEBUG__"
30400 else
30401 if test "$wxUSE_GTK" = 1 ; then
30402 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30403 fi
30404 fi
30405
30406 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30407 cat >>confdefs.h <<\_ACEOF
30408 #define wxUSE_MEMORY_TRACING 1
30409 _ACEOF
30410
30411 cat >>confdefs.h <<\_ACEOF
30412 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30413 _ACEOF
30414
30415 cat >>confdefs.h <<\_ACEOF
30416 #define wxUSE_DEBUG_NEW_ALWAYS 1
30417 _ACEOF
30418
30419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30420 fi
30421
30422 if test "$wxUSE_DMALLOC" = "yes" ; then
30423 DMALLOC_LIBS="-ldmalloc"
30424 fi
30425
30426 PROFILE=
30427 if test "$wxUSE_PROFILE" = "yes" ; then
30428 PROFILE=" -pg"
30429 fi
30430
30431 CODE_GEN_FLAGS=
30432 CODE_GEN_FLAGS_CXX=
30433 if test "$GCC" = "yes" ; then
30434 if test "$wxUSE_NO_RTTI" = "yes" ; then
30435 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30436 fi
30437 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30438 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30439 fi
30440 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30441 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30442 fi
30443
30444 case "${host}" in
30445 powerpc*-*-aix* )
30446 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30447 ;;
30448 *-hppa* )
30449 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30450 ;;
30451 esac
30452 fi
30453
30454 OPTIMISE=
30455 if test "$wxUSE_OPTIMISE" = "no" ; then
30456 if test "$GCC" = yes ; then
30457 OPTIMISE="-O0"
30458 fi
30459 else
30460 if test "$GCC" = yes ; then
30461 OPTIMISE="-O2"
30462
30463 case "${host}" in
30464 i586-*-*|i686-*-* )
30465 OPTIMISE="${OPTIMISE} "
30466 ;;
30467 esac
30468 else
30469 OPTIMISE="-O"
30470 fi
30471 fi
30472
30473
30474 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30475 cat >>confdefs.h <<\_ACEOF
30476 #define WXWIN_COMPATIBILITY_2_2 1
30477 _ACEOF
30478
30479
30480 WXWIN_COMPATIBILITY_2_4="yes"
30481 fi
30482
30483 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30484 cat >>confdefs.h <<\_ACEOF
30485 #define WXWIN_COMPATIBILITY_2_4 1
30486 _ACEOF
30487
30488 fi
30489
30490
30491 if test "$wxUSE_GUI" = "yes"; then
30492 cat >>confdefs.h <<\_ACEOF
30493 #define wxUSE_GUI 1
30494 _ACEOF
30495
30496
30497 else
30498 cat >>confdefs.h <<\_ACEOF
30499 #define wxUSE_NOGUI 1
30500 _ACEOF
30501
30502 fi
30503
30504
30505 if test "$wxUSE_UNIX" = "yes"; then
30506 cat >>confdefs.h <<\_ACEOF
30507 #define wxUSE_UNIX 1
30508 _ACEOF
30509
30510 fi
30511
30512
30513 if test "$wxUSE_STL" = "yes"; then
30514 cat >>confdefs.h <<\_ACEOF
30515 #define wxUSE_STL 1
30516 _ACEOF
30517
30518 fi
30519
30520 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30521 cat >>confdefs.h <<\_ACEOF
30522 #define wxUSE_APPLE_IEEE 1
30523 _ACEOF
30524
30525 fi
30526
30527 if test "$wxUSE_TIMER" = "yes"; then
30528 cat >>confdefs.h <<\_ACEOF
30529 #define wxUSE_TIMER 1
30530 _ACEOF
30531
30532 fi
30533
30534 if test "$wxUSE_WAVE" = "yes"; then
30535 cat >>confdefs.h <<\_ACEOF
30536 #define wxUSE_WAVE 1
30537 _ACEOF
30538
30539 fi
30540
30541 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30542 cat >>confdefs.h <<\_ACEOF
30543 #define wxUSE_CMDLINE_PARSER 1
30544 _ACEOF
30545
30546 fi
30547
30548 if test "$wxUSE_STOPWATCH" = "yes"; then
30549 cat >>confdefs.h <<\_ACEOF
30550 #define wxUSE_STOPWATCH 1
30551 _ACEOF
30552
30553 fi
30554
30555 if test "$wxUSE_DATETIME" = "yes"; then
30556 cat >>confdefs.h <<\_ACEOF
30557 #define wxUSE_DATETIME 1
30558 _ACEOF
30559
30560 fi
30561
30562 if test "$wxUSE_FILE" = "yes"; then
30563 cat >>confdefs.h <<\_ACEOF
30564 #define wxUSE_FILE 1
30565 _ACEOF
30566
30567 fi
30568
30569 if test "$wxUSE_FFILE" = "yes"; then
30570 cat >>confdefs.h <<\_ACEOF
30571 #define wxUSE_FFILE 1
30572 _ACEOF
30573
30574 fi
30575
30576 if test "$wxUSE_FILESYSTEM" = "yes"; then
30577 cat >>confdefs.h <<\_ACEOF
30578 #define wxUSE_FILESYSTEM 1
30579 _ACEOF
30580
30581 fi
30582
30583 if test "$wxUSE_FS_ZIP" = "yes"; then
30584 cat >>confdefs.h <<\_ACEOF
30585 #define wxUSE_FS_ZIP 1
30586 _ACEOF
30587
30588 fi
30589
30590 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30591 cat >>confdefs.h <<\_ACEOF
30592 #define wxUSE_ZIPSTREAM 1
30593 _ACEOF
30594
30595 fi
30596
30597 if test "$wxUSE_GZSTREAM" = "yes"; then
30598 cat >>confdefs.h <<\_ACEOF
30599 #define wxUSE_GZSTREAM 1
30600 _ACEOF
30601
30602 fi
30603
30604 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30605 cat >>confdefs.h <<\_ACEOF
30606 #define wxUSE_ON_FATAL_EXCEPTION 1
30607 _ACEOF
30608
30609 fi
30610
30611 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30612 cat >>confdefs.h <<\_ACEOF
30613 #define wxUSE_SNGLINST_CHECKER 1
30614 _ACEOF
30615
30616 fi
30617
30618 if test "$wxUSE_BUSYINFO" = "yes"; then
30619 cat >>confdefs.h <<\_ACEOF
30620 #define wxUSE_BUSYINFO 1
30621 _ACEOF
30622
30623 fi
30624
30625 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30626 cat >>confdefs.h <<\_ACEOF
30627 #define wxUSE_STD_IOSTREAM 1
30628 _ACEOF
30629
30630 fi
30631
30632 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30633 cat >>confdefs.h <<\_ACEOF
30634 #define wxUSE_TEXTBUFFER 1
30635 _ACEOF
30636
30637 fi
30638
30639 if test "$wxUSE_TEXTFILE" = "yes"; then
30640 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30641 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30642 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30643 else
30644 cat >>confdefs.h <<\_ACEOF
30645 #define wxUSE_TEXTFILE 1
30646 _ACEOF
30647
30648 fi
30649 fi
30650
30651 if test "$wxUSE_CONFIG" = "yes" ; then
30652 if test "$wxUSE_TEXTFILE" != "yes"; then
30653 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30654 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30655 else
30656 cat >>confdefs.h <<\_ACEOF
30657 #define wxUSE_CONFIG 1
30658 _ACEOF
30659
30660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30661 fi
30662 fi
30663
30664 if test "$wxUSE_INTL" = "yes" ; then
30665 if test "$wxUSE_FILE" != "yes"; then
30666 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30667 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30668 else
30669 cat >>confdefs.h <<\_ACEOF
30670 #define wxUSE_INTL 1
30671 _ACEOF
30672
30673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30674 GUIDIST="$GUIDIST INTL_DIST"
30675 fi
30676 fi
30677
30678 if test "$wxUSE_LOG" = "yes"; then
30679 cat >>confdefs.h <<\_ACEOF
30680 #define wxUSE_LOG 1
30681 _ACEOF
30682
30683
30684 if test "$wxUSE_LOGGUI" = "yes"; then
30685 cat >>confdefs.h <<\_ACEOF
30686 #define wxUSE_LOGGUI 1
30687 _ACEOF
30688
30689 fi
30690
30691 if test "$wxUSE_LOGWINDOW" = "yes"; then
30692 cat >>confdefs.h <<\_ACEOF
30693 #define wxUSE_LOGWINDOW 1
30694 _ACEOF
30695
30696 fi
30697
30698 if test "$wxUSE_LOGDIALOG" = "yes"; then
30699 cat >>confdefs.h <<\_ACEOF
30700 #define wxUSE_LOG_DIALOG 1
30701 _ACEOF
30702
30703 fi
30704 fi
30705
30706 if test "$wxUSE_LONGLONG" = "yes"; then
30707 cat >>confdefs.h <<\_ACEOF
30708 #define wxUSE_LONGLONG 1
30709 _ACEOF
30710
30711 fi
30712
30713 if test "$wxUSE_GEOMETRY" = "yes"; then
30714 cat >>confdefs.h <<\_ACEOF
30715 #define wxUSE_GEOMETRY 1
30716 _ACEOF
30717
30718 fi
30719
30720 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30721 cat >>confdefs.h <<\_ACEOF
30722 #define wxUSE_DIALUP_MANAGER 1
30723 _ACEOF
30724
30725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30726 fi
30727
30728 if test "$wxUSE_STREAMS" = "yes" ; then
30729 cat >>confdefs.h <<\_ACEOF
30730 #define wxUSE_STREAMS 1
30731 _ACEOF
30732
30733 fi
30734
30735
30736 if test "$wxUSE_DATETIME" = "yes"; then
30737
30738 for ac_func in strptime
30739 do
30740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30741 echo "$as_me:$LINENO: checking for $ac_func" >&5
30742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30743 if eval "test \"\${$as_ac_var+set}\" = set"; then
30744 echo $ECHO_N "(cached) $ECHO_C" >&6
30745 else
30746 cat >conftest.$ac_ext <<_ACEOF
30747 #line $LINENO "configure"
30748 /* confdefs.h. */
30749 _ACEOF
30750 cat confdefs.h >>conftest.$ac_ext
30751 cat >>conftest.$ac_ext <<_ACEOF
30752 /* end confdefs.h. */
30753 /* System header to define __stub macros and hopefully few prototypes,
30754 which can conflict with char $ac_func (); below.
30755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30756 <limits.h> exists even on freestanding compilers. */
30757 #ifdef __STDC__
30758 # include <limits.h>
30759 #else
30760 # include <assert.h>
30761 #endif
30762 /* Override any gcc2 internal prototype to avoid an error. */
30763 #ifdef __cplusplus
30764 extern "C"
30765 {
30766 #endif
30767 /* We use char because int might match the return type of a gcc2
30768 builtin and then its argument prototype would still apply. */
30769 char $ac_func ();
30770 /* The GNU C library defines this for functions which it implements
30771 to always fail with ENOSYS. Some functions are actually named
30772 something starting with __ and the normal name is an alias. */
30773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30774 choke me
30775 #else
30776 char (*f) () = $ac_func;
30777 #endif
30778 #ifdef __cplusplus
30779 }
30780 #endif
30781
30782 int
30783 main ()
30784 {
30785 return f != $ac_func;
30786 ;
30787 return 0;
30788 }
30789 _ACEOF
30790 rm -f conftest.$ac_objext conftest$ac_exeext
30791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30792 (eval $ac_link) 2>&5
30793 ac_status=$?
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } &&
30796 { ac_try='test -s conftest$ac_exeext'
30797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30798 (eval $ac_try) 2>&5
30799 ac_status=$?
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); }; }; then
30802 eval "$as_ac_var=yes"
30803 else
30804 echo "$as_me: failed program was:" >&5
30805 sed 's/^/| /' conftest.$ac_ext >&5
30806
30807 eval "$as_ac_var=no"
30808 fi
30809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30810 fi
30811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30813 if test `eval echo '${'$as_ac_var'}'` = yes; then
30814 cat >>confdefs.h <<_ACEOF
30815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30816 _ACEOF
30817
30818 fi
30819 done
30820
30821
30822 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30823 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30824 if test "${wx_cv_var_timezone+set}" = set; then
30825 echo $ECHO_N "(cached) $ECHO_C" >&6
30826 else
30827
30828 cat >conftest.$ac_ext <<_ACEOF
30829 #line $LINENO "configure"
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835
30836 #include <time.h>
30837
30838 int
30839 main ()
30840 {
30841
30842 int tz;
30843 tz = timezone;
30844
30845 ;
30846 return 0;
30847 }
30848 _ACEOF
30849 rm -f conftest.$ac_objext
30850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30851 (eval $ac_compile) 2>&5
30852 ac_status=$?
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try='test -s conftest.$ac_objext'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30858 ac_status=$?
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; }; then
30861
30862 wx_cv_var_timezone=timezone
30863
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30867
30868
30869 cat >conftest.$ac_ext <<_ACEOF
30870 #line $LINENO "configure"
30871 /* confdefs.h. */
30872 _ACEOF
30873 cat confdefs.h >>conftest.$ac_ext
30874 cat >>conftest.$ac_ext <<_ACEOF
30875 /* end confdefs.h. */
30876
30877 #include <time.h>
30878
30879 int
30880 main ()
30881 {
30882
30883 int tz;
30884 tz = _timezone;
30885
30886 ;
30887 return 0;
30888 }
30889 _ACEOF
30890 rm -f conftest.$ac_objext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30892 (eval $ac_compile) 2>&5
30893 ac_status=$?
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); } &&
30896 { ac_try='test -s conftest.$ac_objext'
30897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30898 (eval $ac_try) 2>&5
30899 ac_status=$?
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); }; }; then
30902
30903 wx_cv_var_timezone=_timezone
30904
30905 else
30906 echo "$as_me: failed program was:" >&5
30907 sed 's/^/| /' conftest.$ac_ext >&5
30908
30909
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
30918 #include <time.h>
30919
30920 int
30921 main ()
30922 {
30923
30924 int tz;
30925 tz = __timezone;
30926
30927 ;
30928 return 0;
30929 }
30930 _ACEOF
30931 rm -f conftest.$ac_objext
30932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30933 (eval $ac_compile) 2>&5
30934 ac_status=$?
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
30937 { ac_try='test -s conftest.$ac_objext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30943
30944 wx_cv_var_timezone=__timezone
30945
30946 else
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30949
30950
30951 if test "$USE_DOS" = 0 ; then
30952 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30953 echo "$as_me: WARNING: no timezone variable" >&2;}
30954 fi
30955
30956
30957 fi
30958 rm -f conftest.$ac_objext conftest.$ac_ext
30959
30960
30961 fi
30962 rm -f conftest.$ac_objext conftest.$ac_ext
30963
30964
30965 fi
30966 rm -f conftest.$ac_objext conftest.$ac_ext
30967
30968
30969 fi
30970 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30971 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30972
30973 if test "x$wx_cv_var_timezone" != x ; then
30974 cat >>confdefs.h <<_ACEOF
30975 #define WX_TIMEZONE $wx_cv_var_timezone
30976 _ACEOF
30977
30978 fi
30979
30980
30981 for ac_func in localtime
30982 do
30983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30984 echo "$as_me:$LINENO: checking for $ac_func" >&5
30985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30986 if eval "test \"\${$as_ac_var+set}\" = set"; then
30987 echo $ECHO_N "(cached) $ECHO_C" >&6
30988 else
30989 cat >conftest.$ac_ext <<_ACEOF
30990 #line $LINENO "configure"
30991 /* confdefs.h. */
30992 _ACEOF
30993 cat confdefs.h >>conftest.$ac_ext
30994 cat >>conftest.$ac_ext <<_ACEOF
30995 /* end confdefs.h. */
30996 /* System header to define __stub macros and hopefully few prototypes,
30997 which can conflict with char $ac_func (); below.
30998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30999 <limits.h> exists even on freestanding compilers. */
31000 #ifdef __STDC__
31001 # include <limits.h>
31002 #else
31003 # include <assert.h>
31004 #endif
31005 /* Override any gcc2 internal prototype to avoid an error. */
31006 #ifdef __cplusplus
31007 extern "C"
31008 {
31009 #endif
31010 /* We use char because int might match the return type of a gcc2
31011 builtin and then its argument prototype would still apply. */
31012 char $ac_func ();
31013 /* The GNU C library defines this for functions which it implements
31014 to always fail with ENOSYS. Some functions are actually named
31015 something starting with __ and the normal name is an alias. */
31016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31017 choke me
31018 #else
31019 char (*f) () = $ac_func;
31020 #endif
31021 #ifdef __cplusplus
31022 }
31023 #endif
31024
31025 int
31026 main ()
31027 {
31028 return f != $ac_func;
31029 ;
31030 return 0;
31031 }
31032 _ACEOF
31033 rm -f conftest.$ac_objext conftest$ac_exeext
31034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31035 (eval $ac_link) 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); } &&
31039 { ac_try='test -s conftest$ac_exeext'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31042 ac_status=$?
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; }; then
31045 eval "$as_ac_var=yes"
31046 else
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.$ac_ext >&5
31049
31050 eval "$as_ac_var=no"
31051 fi
31052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31053 fi
31054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31056 if test `eval echo '${'$as_ac_var'}'` = yes; then
31057 cat >>confdefs.h <<_ACEOF
31058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31059 _ACEOF
31060
31061 fi
31062 done
31063
31064
31065 if test "$ac_cv_func_localtime" = "yes"; then
31066 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31067 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31068 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31069 echo $ECHO_N "(cached) $ECHO_C" >&6
31070 else
31071
31072 cat >conftest.$ac_ext <<_ACEOF
31073 #line $LINENO "configure"
31074 /* confdefs.h. */
31075 _ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079
31080 #include <time.h>
31081
31082 int
31083 main ()
31084 {
31085
31086 struct tm tm;
31087 tm.tm_gmtoff++;
31088
31089 ;
31090 return 0;
31091 }
31092 _ACEOF
31093 rm -f conftest.$ac_objext
31094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31095 (eval $ac_compile) 2>&5
31096 ac_status=$?
31097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31098 (exit $ac_status); } &&
31099 { ac_try='test -s conftest.$ac_objext'
31100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31101 (eval $ac_try) 2>&5
31102 ac_status=$?
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); }; }; then
31105
31106 wx_cv_struct_tm_has_gmtoff=yes
31107
31108 else
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.$ac_ext >&5
31111
31112 wx_cv_struct_tm_has_gmtoff=no
31113
31114 fi
31115 rm -f conftest.$ac_objext conftest.$ac_ext
31116
31117 fi
31118 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31119 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31120 fi
31121
31122 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31123 cat >>confdefs.h <<\_ACEOF
31124 #define WX_GMTOFF_IN_TM 1
31125 _ACEOF
31126
31127 fi
31128
31129
31130
31131 for ac_func in gettimeofday ftime
31132 do
31133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31134 echo "$as_me:$LINENO: checking for $ac_func" >&5
31135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31136 if eval "test \"\${$as_ac_var+set}\" = set"; then
31137 echo $ECHO_N "(cached) $ECHO_C" >&6
31138 else
31139 cat >conftest.$ac_ext <<_ACEOF
31140 #line $LINENO "configure"
31141 /* confdefs.h. */
31142 _ACEOF
31143 cat confdefs.h >>conftest.$ac_ext
31144 cat >>conftest.$ac_ext <<_ACEOF
31145 /* end confdefs.h. */
31146 /* System header to define __stub macros and hopefully few prototypes,
31147 which can conflict with char $ac_func (); below.
31148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31149 <limits.h> exists even on freestanding compilers. */
31150 #ifdef __STDC__
31151 # include <limits.h>
31152 #else
31153 # include <assert.h>
31154 #endif
31155 /* Override any gcc2 internal prototype to avoid an error. */
31156 #ifdef __cplusplus
31157 extern "C"
31158 {
31159 #endif
31160 /* We use char because int might match the return type of a gcc2
31161 builtin and then its argument prototype would still apply. */
31162 char $ac_func ();
31163 /* The GNU C library defines this for functions which it implements
31164 to always fail with ENOSYS. Some functions are actually named
31165 something starting with __ and the normal name is an alias. */
31166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31167 choke me
31168 #else
31169 char (*f) () = $ac_func;
31170 #endif
31171 #ifdef __cplusplus
31172 }
31173 #endif
31174
31175 int
31176 main ()
31177 {
31178 return f != $ac_func;
31179 ;
31180 return 0;
31181 }
31182 _ACEOF
31183 rm -f conftest.$ac_objext conftest$ac_exeext
31184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31185 (eval $ac_link) 2>&5
31186 ac_status=$?
31187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31188 (exit $ac_status); } &&
31189 { ac_try='test -s conftest$ac_exeext'
31190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31191 (eval $ac_try) 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); }; }; then
31195 eval "$as_ac_var=yes"
31196 else
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.$ac_ext >&5
31199
31200 eval "$as_ac_var=no"
31201 fi
31202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31203 fi
31204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31206 if test `eval echo '${'$as_ac_var'}'` = yes; then
31207 cat >>confdefs.h <<_ACEOF
31208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31209 _ACEOF
31210 break
31211 fi
31212 done
31213
31214
31215 if test "$ac_cv_func_gettimeofday" = "yes"; then
31216 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31217 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31218 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31219 echo $ECHO_N "(cached) $ECHO_C" >&6
31220 else
31221
31222
31223
31224 ac_ext=cc
31225 ac_cpp='$CXXCPP $CPPFLAGS'
31226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31229
31230
31231 cat >conftest.$ac_ext <<_ACEOF
31232 #line $LINENO "configure"
31233 /* confdefs.h. */
31234 _ACEOF
31235 cat confdefs.h >>conftest.$ac_ext
31236 cat >>conftest.$ac_ext <<_ACEOF
31237 /* end confdefs.h. */
31238
31239 #include <sys/time.h>
31240 #include <unistd.h>
31241
31242 int
31243 main ()
31244 {
31245
31246 struct timeval tv;
31247 gettimeofday(&tv, NULL);
31248
31249 ;
31250 return 0;
31251 }
31252 _ACEOF
31253 rm -f conftest.$ac_objext
31254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31255 (eval $ac_compile) 2>&5
31256 ac_status=$?
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); } &&
31259 { ac_try='test -s conftest.$ac_objext'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31262 ac_status=$?
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; }; then
31265 wx_cv_func_gettimeofday_has_2_args=yes
31266 else
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.$ac_ext >&5
31269
31270 cat >conftest.$ac_ext <<_ACEOF
31271 #line $LINENO "configure"
31272 /* confdefs.h. */
31273 _ACEOF
31274 cat confdefs.h >>conftest.$ac_ext
31275 cat >>conftest.$ac_ext <<_ACEOF
31276 /* end confdefs.h. */
31277
31278 #include <sys/time.h>
31279 #include <unistd.h>
31280
31281 int
31282 main ()
31283 {
31284
31285 struct timeval tv;
31286 gettimeofday(&tv);
31287
31288 ;
31289 return 0;
31290 }
31291 _ACEOF
31292 rm -f conftest.$ac_objext
31293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31294 (eval $ac_compile) 2>&5
31295 ac_status=$?
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try='test -s conftest.$ac_objext'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31301 ac_status=$?
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; }; then
31304 wx_cv_func_gettimeofday_has_2_args=no
31305 else
31306 echo "$as_me: failed program was:" >&5
31307 sed 's/^/| /' conftest.$ac_ext >&5
31308
31309
31310 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31311 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31312 wx_cv_func_gettimeofday_has_2_args=unknown
31313
31314
31315 fi
31316 rm -f conftest.$ac_objext conftest.$ac_ext
31317
31318 fi
31319 rm -f conftest.$ac_objext conftest.$ac_ext
31320 ac_ext=c
31321 ac_cpp='$CPP $CPPFLAGS'
31322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325
31326
31327 fi
31328 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31329 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31330
31331 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31332 cat >>confdefs.h <<\_ACEOF
31333 #define WX_GETTIMEOFDAY_NO_TZ 1
31334 _ACEOF
31335
31336 fi
31337 fi
31338
31339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31340 fi
31341
31342
31343 if test "$wxUSE_SOCKETS" = "yes"; then
31344 if test "$wxUSE_MGL" = "1"; then
31345 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31346 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31347 wxUSE_SOCKETS="no"
31348 fi
31349 fi
31350
31351 if test "$wxUSE_SOCKETS" = "yes"; then
31352 if test "$TOOLKIT" != "MSW"; then
31353 echo "$as_me:$LINENO: checking for socket" >&5
31354 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31355 if test "${ac_cv_func_socket+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 else
31358 cat >conftest.$ac_ext <<_ACEOF
31359 #line $LINENO "configure"
31360 /* confdefs.h. */
31361 _ACEOF
31362 cat confdefs.h >>conftest.$ac_ext
31363 cat >>conftest.$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365 /* System header to define __stub macros and hopefully few prototypes,
31366 which can conflict with char socket (); below.
31367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31368 <limits.h> exists even on freestanding compilers. */
31369 #ifdef __STDC__
31370 # include <limits.h>
31371 #else
31372 # include <assert.h>
31373 #endif
31374 /* Override any gcc2 internal prototype to avoid an error. */
31375 #ifdef __cplusplus
31376 extern "C"
31377 {
31378 #endif
31379 /* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31381 char socket ();
31382 /* The GNU C library defines this for functions which it implements
31383 to always fail with ENOSYS. Some functions are actually named
31384 something starting with __ and the normal name is an alias. */
31385 #if defined (__stub_socket) || defined (__stub___socket)
31386 choke me
31387 #else
31388 char (*f) () = socket;
31389 #endif
31390 #ifdef __cplusplus
31391 }
31392 #endif
31393
31394 int
31395 main ()
31396 {
31397 return f != socket;
31398 ;
31399 return 0;
31400 }
31401 _ACEOF
31402 rm -f conftest.$ac_objext conftest$ac_exeext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31405 ac_status=$?
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31411 ac_status=$?
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_cv_func_socket=yes
31415 else
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31418
31419 ac_cv_func_socket=no
31420 fi
31421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31422 fi
31423 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31424 echo "${ECHO_T}$ac_cv_func_socket" >&6
31425 if test $ac_cv_func_socket = yes; then
31426 :
31427 else
31428
31429 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31430 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31431 if test "${ac_cv_lib_socket_socket+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31433 else
31434 ac_check_lib_save_LIBS=$LIBS
31435 LIBS="-lsocket $LIBS"
31436 cat >conftest.$ac_ext <<_ACEOF
31437 #line $LINENO "configure"
31438 /* confdefs.h. */
31439 _ACEOF
31440 cat confdefs.h >>conftest.$ac_ext
31441 cat >>conftest.$ac_ext <<_ACEOF
31442 /* end confdefs.h. */
31443
31444 /* Override any gcc2 internal prototype to avoid an error. */
31445 #ifdef __cplusplus
31446 extern "C"
31447 #endif
31448 /* We use char because int might match the return type of a gcc2
31449 builtin and then its argument prototype would still apply. */
31450 char socket ();
31451 int
31452 main ()
31453 {
31454 socket ();
31455 ;
31456 return 0;
31457 }
31458 _ACEOF
31459 rm -f conftest.$ac_objext conftest$ac_exeext
31460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31461 (eval $ac_link) 2>&5
31462 ac_status=$?
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); } &&
31465 { ac_try='test -s conftest$ac_exeext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31468 ac_status=$?
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31471 ac_cv_lib_socket_socket=yes
31472 else
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.$ac_ext >&5
31475
31476 ac_cv_lib_socket_socket=no
31477 fi
31478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31479 LIBS=$ac_check_lib_save_LIBS
31480 fi
31481 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31482 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31483 if test $ac_cv_lib_socket_socket = yes; then
31484 if test "$INET_LINK" != " -lsocket"; then
31485 INET_LINK="$INET_LINK -lsocket"
31486 fi
31487 else
31488
31489 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31490 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31491 wxUSE_SOCKETS=no
31492
31493
31494 fi
31495
31496
31497
31498 fi
31499
31500 fi
31501 fi
31502
31503 if test "$wxUSE_SOCKETS" = "yes" ; then
31504 if test "$TOOLKIT" != "MSW"; then
31505 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31506 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31507 if test "${wx_cv_type_getsockname3+set}" = set; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31509 else
31510
31511 cat >conftest.$ac_ext <<_ACEOF
31512 #line $LINENO "configure"
31513 /* confdefs.h. */
31514 _ACEOF
31515 cat confdefs.h >>conftest.$ac_ext
31516 cat >>conftest.$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31518
31519 #include <sys/types.h>
31520 #include <sys/socket.h>
31521
31522 int
31523 main ()
31524 {
31525
31526 socklen_t len;
31527 getsockname(0, 0, &len);
31528
31529 ;
31530 return 0;
31531 }
31532 _ACEOF
31533 rm -f conftest.$ac_objext
31534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31535 (eval $ac_compile) 2>&5
31536 ac_status=$?
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try='test -s conftest.$ac_objext'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31542 ac_status=$?
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 wx_cv_type_getsockname3=socklen_t
31546 else
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.$ac_ext >&5
31549
31550
31551 CFLAGS_OLD="$CFLAGS"
31552 if test "$GCC" = yes ; then
31553 CFLAGS="$CFLAGS -Werror"
31554 fi
31555
31556 cat >conftest.$ac_ext <<_ACEOF
31557 #line $LINENO "configure"
31558 /* confdefs.h. */
31559 _ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31563
31564 #include <sys/types.h>
31565 #include <sys/socket.h>
31566
31567 int
31568 main ()
31569 {
31570
31571 size_t len;
31572 getsockname(0, 0, &len);
31573
31574 ;
31575 return 0;
31576 }
31577 _ACEOF
31578 rm -f conftest.$ac_objext
31579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31580 (eval $ac_compile) 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } &&
31584 { ac_try='test -s conftest.$ac_objext'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31587 ac_status=$?
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; }; then
31590 wx_cv_type_getsockname3=size_t
31591 else
31592 echo "$as_me: failed program was:" >&5
31593 sed 's/^/| /' conftest.$ac_ext >&5
31594
31595 cat >conftest.$ac_ext <<_ACEOF
31596 #line $LINENO "configure"
31597 /* confdefs.h. */
31598 _ACEOF
31599 cat confdefs.h >>conftest.$ac_ext
31600 cat >>conftest.$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31602
31603 #include <sys/types.h>
31604 #include <sys/socket.h>
31605
31606 int
31607 main ()
31608 {
31609
31610 int len;
31611 getsockname(0, 0, &len);
31612
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 rm -f conftest.$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } &&
31623 { ac_try='test -s conftest.$ac_objext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31626 ac_status=$?
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629 wx_cv_type_getsockname3=int
31630 else
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.$ac_ext >&5
31633
31634 wx_cv_type_getsockname3=unknown
31635
31636 fi
31637 rm -f conftest.$ac_objext conftest.$ac_ext
31638
31639 fi
31640 rm -f conftest.$ac_objext conftest.$ac_ext
31641
31642 CFLAGS="$CFLAGS_OLD"
31643
31644
31645 fi
31646 rm -f conftest.$ac_objext conftest.$ac_ext
31647
31648 fi
31649 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31650 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31651
31652 if test "$wx_cv_type_getsockname3" = "unknown"; then
31653 wxUSE_SOCKETS=no
31654 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31655 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31656 else
31657 cat >>confdefs.h <<_ACEOF
31658 #define SOCKLEN_T $wx_cv_type_getsockname3
31659 _ACEOF
31660
31661 fi
31662 fi
31663 fi
31664
31665 if test "$wxUSE_SOCKETS" = "yes" ; then
31666 cat >>confdefs.h <<\_ACEOF
31667 #define wxUSE_SOCKETS 1
31668 _ACEOF
31669
31670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31671 fi
31672
31673 if test "$wxUSE_PROTOCOL" = "yes"; then
31674 if test "$wxUSE_SOCKETS" != "yes"; then
31675 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31676 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31677 wxUSE_PROTOCOL=no
31678 fi
31679 fi
31680
31681 if test "$wxUSE_PROTOCOL" = "yes"; then
31682 cat >>confdefs.h <<\_ACEOF
31683 #define wxUSE_PROTOCOL 1
31684 _ACEOF
31685
31686
31687 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31688 cat >>confdefs.h <<\_ACEOF
31689 #define wxUSE_PROTOCOL_HTTP 1
31690 _ACEOF
31691
31692 fi
31693 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31694 cat >>confdefs.h <<\_ACEOF
31695 #define wxUSE_PROTOCOL_FTP 1
31696 _ACEOF
31697
31698 fi
31699 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31700 cat >>confdefs.h <<\_ACEOF
31701 #define wxUSE_PROTOCOL_FILE 1
31702 _ACEOF
31703
31704 fi
31705 else
31706 if test "$wxUSE_FS_INET" = "yes"; then
31707 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31708 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31709 wxUSE_FS_INET="no"
31710 fi
31711 fi
31712
31713 if test "$wxUSE_URL" = "yes"; then
31714 if test "$wxUSE_PROTOCOL" != "yes"; then
31715 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31716 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31717 wxUSE_URL=no
31718 fi
31719 if test "$wxUSE_URL" = "yes"; then
31720 cat >>confdefs.h <<\_ACEOF
31721 #define wxUSE_URL 1
31722 _ACEOF
31723
31724 fi
31725 fi
31726
31727 if test "$wxUSE_FS_INET" = "yes"; then
31728 cat >>confdefs.h <<\_ACEOF
31729 #define wxUSE_FS_INET 1
31730 _ACEOF
31731
31732 fi
31733
31734
31735 if test "$wxUSE_GUI" = "yes"; then
31736
31737 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31738 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31739 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31740 wxUSE_JOYSTICK=no
31741 fi
31742
31743 if test "$TOOLKIT" != "MSW"; then
31744 if test "$wxUSE_JOYSTICK" = "yes"; then
31745
31746 for ac_header in linux/joystick.h
31747 do
31748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31750 echo "$as_me:$LINENO: checking for $ac_header" >&5
31751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31753 echo $ECHO_N "(cached) $ECHO_C" >&6
31754 fi
31755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31757 else
31758 # Is the header compilable?
31759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31761 cat >conftest.$ac_ext <<_ACEOF
31762 #line $LINENO "configure"
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 $ac_includes_default
31769 #include <$ac_header>
31770 _ACEOF
31771 rm -f conftest.$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try='test -s conftest.$ac_objext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 ac_header_compiler=yes
31784 else
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31787
31788 ac_header_compiler=no
31789 fi
31790 rm -f conftest.$ac_objext conftest.$ac_ext
31791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31792 echo "${ECHO_T}$ac_header_compiler" >&6
31793
31794 # Is the header present?
31795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31797 cat >conftest.$ac_ext <<_ACEOF
31798 #line $LINENO "configure"
31799 /* confdefs.h. */
31800 _ACEOF
31801 cat confdefs.h >>conftest.$ac_ext
31802 cat >>conftest.$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31804 #include <$ac_header>
31805 _ACEOF
31806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31808 ac_status=$?
31809 grep -v '^ *+' conftest.er1 >conftest.err
31810 rm -f conftest.er1
31811 cat conftest.err >&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } >/dev/null; then
31814 if test -s conftest.err; then
31815 ac_cpp_err=$ac_c_preproc_warn_flag
31816 else
31817 ac_cpp_err=
31818 fi
31819 else
31820 ac_cpp_err=yes
31821 fi
31822 if test -z "$ac_cpp_err"; then
31823 ac_header_preproc=yes
31824 else
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.$ac_ext >&5
31827
31828 ac_header_preproc=no
31829 fi
31830 rm -f conftest.err conftest.$ac_ext
31831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31832 echo "${ECHO_T}$ac_header_preproc" >&6
31833
31834 # So? What about this header?
31835 case $ac_header_compiler:$ac_header_preproc in
31836 yes:no )
31837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31841 (
31842 cat <<\_ASBOX
31843 ## ------------------------------------ ##
31844 ## Report this to bug-autoconf@gnu.org. ##
31845 ## ------------------------------------ ##
31846 _ASBOX
31847 ) |
31848 sed "s/^/$as_me: WARNING: /" >&2
31849 ;;
31850 no:yes )
31851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31857 (
31858 cat <<\_ASBOX
31859 ## ------------------------------------ ##
31860 ## Report this to bug-autoconf@gnu.org. ##
31861 ## ------------------------------------ ##
31862 _ASBOX
31863 ) |
31864 sed "s/^/$as_me: WARNING: /" >&2
31865 ;;
31866 esac
31867 echo "$as_me:$LINENO: checking for $ac_header" >&5
31868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 else
31872 eval "$as_ac_Header=$ac_header_preproc"
31873 fi
31874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31876
31877 fi
31878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31879 cat >>confdefs.h <<_ACEOF
31880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31881 _ACEOF
31882
31883 fi
31884
31885 done
31886
31887 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31888 wxUSE_JOYSTICK=no
31889 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31890 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31891 fi
31892 fi
31893 fi
31894
31895 if test "$wxUSE_JOYSTICK" = "yes"; then
31896 cat >>confdefs.h <<\_ACEOF
31897 #define wxUSE_JOYSTICK 1
31898 _ACEOF
31899
31900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31901 fi
31902 fi
31903
31904
31905 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31906
31907 HAVE_DL_FUNCS=0
31908 HAVE_SHL_FUNCS=0
31909 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31910 if test "$USE_DARWIN" = 1; then
31911 HAVE_DL_FUNCS=1
31912 else
31913
31914 for ac_func in dlopen
31915 do
31916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31917 echo "$as_me:$LINENO: checking for $ac_func" >&5
31918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31919 if eval "test \"\${$as_ac_var+set}\" = set"; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31921 else
31922 cat >conftest.$ac_ext <<_ACEOF
31923 #line $LINENO "configure"
31924 /* confdefs.h. */
31925 _ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 /* System header to define __stub macros and hopefully few prototypes,
31930 which can conflict with char $ac_func (); below.
31931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31932 <limits.h> exists even on freestanding compilers. */
31933 #ifdef __STDC__
31934 # include <limits.h>
31935 #else
31936 # include <assert.h>
31937 #endif
31938 /* Override any gcc2 internal prototype to avoid an error. */
31939 #ifdef __cplusplus
31940 extern "C"
31941 {
31942 #endif
31943 /* We use char because int might match the return type of a gcc2
31944 builtin and then its argument prototype would still apply. */
31945 char $ac_func ();
31946 /* The GNU C library defines this for functions which it implements
31947 to always fail with ENOSYS. Some functions are actually named
31948 something starting with __ and the normal name is an alias. */
31949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31950 choke me
31951 #else
31952 char (*f) () = $ac_func;
31953 #endif
31954 #ifdef __cplusplus
31955 }
31956 #endif
31957
31958 int
31959 main ()
31960 {
31961 return f != $ac_func;
31962 ;
31963 return 0;
31964 }
31965 _ACEOF
31966 rm -f conftest.$ac_objext conftest$ac_exeext
31967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31968 (eval $ac_link) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } &&
31972 { ac_try='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31975 ac_status=$?
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31979 else
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.$ac_ext >&5
31982
31983 eval "$as_ac_var=no"
31984 fi
31985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31986 fi
31987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31989 if test `eval echo '${'$as_ac_var'}'` = yes; then
31990 cat >>confdefs.h <<_ACEOF
31991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31992 _ACEOF
31993
31994 cat >>confdefs.h <<\_ACEOF
31995 #define HAVE_DLOPEN 1
31996 _ACEOF
31997
31998 HAVE_DL_FUNCS=1
31999
32000 else
32001
32002 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32003 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32004 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32005 echo $ECHO_N "(cached) $ECHO_C" >&6
32006 else
32007 ac_check_lib_save_LIBS=$LIBS
32008 LIBS="-ldl $LIBS"
32009 cat >conftest.$ac_ext <<_ACEOF
32010 #line $LINENO "configure"
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016
32017 /* Override any gcc2 internal prototype to avoid an error. */
32018 #ifdef __cplusplus
32019 extern "C"
32020 #endif
32021 /* We use char because int might match the return type of a gcc2
32022 builtin and then its argument prototype would still apply. */
32023 char dlopen ();
32024 int
32025 main ()
32026 {
32027 dlopen ();
32028 ;
32029 return 0;
32030 }
32031 _ACEOF
32032 rm -f conftest.$ac_objext conftest$ac_exeext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>&5
32035 ac_status=$?
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -s conftest$ac_exeext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 ac_cv_lib_dl_dlopen=yes
32045 else
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32048
32049 ac_cv_lib_dl_dlopen=no
32050 fi
32051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32052 LIBS=$ac_check_lib_save_LIBS
32053 fi
32054 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32055 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32056 if test $ac_cv_lib_dl_dlopen = yes; then
32057
32058 cat >>confdefs.h <<\_ACEOF
32059 #define HAVE_DLOPEN 1
32060 _ACEOF
32061
32062 HAVE_DL_FUNCS=1
32063 DL_LINK=" -ldl$DL_LINK"
32064
32065 else
32066
32067
32068 for ac_func in shl_load
32069 do
32070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32071 echo "$as_me:$LINENO: checking for $ac_func" >&5
32072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32073 if eval "test \"\${$as_ac_var+set}\" = set"; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32075 else
32076 cat >conftest.$ac_ext <<_ACEOF
32077 #line $LINENO "configure"
32078 /* confdefs.h. */
32079 _ACEOF
32080 cat confdefs.h >>conftest.$ac_ext
32081 cat >>conftest.$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083 /* System header to define __stub macros and hopefully few prototypes,
32084 which can conflict with char $ac_func (); below.
32085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32086 <limits.h> exists even on freestanding compilers. */
32087 #ifdef __STDC__
32088 # include <limits.h>
32089 #else
32090 # include <assert.h>
32091 #endif
32092 /* Override any gcc2 internal prototype to avoid an error. */
32093 #ifdef __cplusplus
32094 extern "C"
32095 {
32096 #endif
32097 /* We use char because int might match the return type of a gcc2
32098 builtin and then its argument prototype would still apply. */
32099 char $ac_func ();
32100 /* The GNU C library defines this for functions which it implements
32101 to always fail with ENOSYS. Some functions are actually named
32102 something starting with __ and the normal name is an alias. */
32103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32104 choke me
32105 #else
32106 char (*f) () = $ac_func;
32107 #endif
32108 #ifdef __cplusplus
32109 }
32110 #endif
32111
32112 int
32113 main ()
32114 {
32115 return f != $ac_func;
32116 ;
32117 return 0;
32118 }
32119 _ACEOF
32120 rm -f conftest.$ac_objext conftest$ac_exeext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32123 ac_status=$?
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32129 ac_status=$?
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 eval "$as_ac_var=yes"
32133 else
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.$ac_ext >&5
32136
32137 eval "$as_ac_var=no"
32138 fi
32139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32140 fi
32141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32143 if test `eval echo '${'$as_ac_var'}'` = yes; then
32144 cat >>confdefs.h <<_ACEOF
32145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32146 _ACEOF
32147
32148 cat >>confdefs.h <<\_ACEOF
32149 #define HAVE_SHL_LOAD 1
32150 _ACEOF
32151
32152 HAVE_SHL_FUNCS=1
32153
32154 else
32155
32156 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32157 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32158 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32160 else
32161 ac_check_lib_save_LIBS=$LIBS
32162 LIBS="-lshl_load $LIBS"
32163 cat >conftest.$ac_ext <<_ACEOF
32164 #line $LINENO "configure"
32165 /* confdefs.h. */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32170
32171 /* Override any gcc2 internal prototype to avoid an error. */
32172 #ifdef __cplusplus
32173 extern "C"
32174 #endif
32175 /* We use char because int might match the return type of a gcc2
32176 builtin and then its argument prototype would still apply. */
32177 char dld ();
32178 int
32179 main ()
32180 {
32181 dld ();
32182 ;
32183 return 0;
32184 }
32185 _ACEOF
32186 rm -f conftest.$ac_objext conftest$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>&5
32189 ac_status=$?
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } &&
32192 { ac_try='test -s conftest$ac_exeext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32195 ac_status=$?
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198 ac_cv_lib_shl_load_dld=yes
32199 else
32200 echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.$ac_ext >&5
32202
32203 ac_cv_lib_shl_load_dld=no
32204 fi
32205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32206 LIBS=$ac_check_lib_save_LIBS
32207 fi
32208 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32209 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32210 if test $ac_cv_lib_shl_load_dld = yes; then
32211
32212 HAVE_SHL_FUNCS=1
32213 DL_LINK=" -ldld$DL_LINK"
32214
32215 fi
32216
32217
32218 fi
32219 done
32220
32221
32222 fi
32223
32224
32225 fi
32226 done
32227
32228
32229 if test "$HAVE_DL_FUNCS" = 1; then
32230
32231 for ac_func in dlerror
32232 do
32233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32234 echo "$as_me:$LINENO: checking for $ac_func" >&5
32235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32236 if eval "test \"\${$as_ac_var+set}\" = set"; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 else
32239 cat >conftest.$ac_ext <<_ACEOF
32240 #line $LINENO "configure"
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 /* System header to define __stub macros and hopefully few prototypes,
32247 which can conflict with char $ac_func (); below.
32248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32249 <limits.h> exists even on freestanding compilers. */
32250 #ifdef __STDC__
32251 # include <limits.h>
32252 #else
32253 # include <assert.h>
32254 #endif
32255 /* Override any gcc2 internal prototype to avoid an error. */
32256 #ifdef __cplusplus
32257 extern "C"
32258 {
32259 #endif
32260 /* We use char because int might match the return type of a gcc2
32261 builtin and then its argument prototype would still apply. */
32262 char $ac_func ();
32263 /* The GNU C library defines this for functions which it implements
32264 to always fail with ENOSYS. Some functions are actually named
32265 something starting with __ and the normal name is an alias. */
32266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32267 choke me
32268 #else
32269 char (*f) () = $ac_func;
32270 #endif
32271 #ifdef __cplusplus
32272 }
32273 #endif
32274
32275 int
32276 main ()
32277 {
32278 return f != $ac_func;
32279 ;
32280 return 0;
32281 }
32282 _ACEOF
32283 rm -f conftest.$ac_objext conftest$ac_exeext
32284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32285 (eval $ac_link) 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } &&
32289 { ac_try='test -s conftest$ac_exeext'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32292 ac_status=$?
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; }; then
32295 eval "$as_ac_var=yes"
32296 else
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.$ac_ext >&5
32299
32300 eval "$as_ac_var=no"
32301 fi
32302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32303 fi
32304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32306 if test `eval echo '${'$as_ac_var'}'` = yes; then
32307 cat >>confdefs.h <<_ACEOF
32308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32309 _ACEOF
32310 cat >>confdefs.h <<\_ACEOF
32311 #define HAVE_DLERROR 1
32312 _ACEOF
32313
32314 else
32315
32316 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32317 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32318 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32320 else
32321 ac_check_lib_save_LIBS=$LIBS
32322 LIBS="-ldl $LIBS"
32323 cat >conftest.$ac_ext <<_ACEOF
32324 #line $LINENO "configure"
32325 /* confdefs.h. */
32326 _ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330
32331 /* Override any gcc2 internal prototype to avoid an error. */
32332 #ifdef __cplusplus
32333 extern "C"
32334 #endif
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32337 char dlerror ();
32338 int
32339 main ()
32340 {
32341 dlerror ();
32342 ;
32343 return 0;
32344 }
32345 _ACEOF
32346 rm -f conftest.$ac_objext conftest$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>&5
32349 ac_status=$?
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try='test -s conftest$ac_exeext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_lib_dl_dlerror=yes
32359 else
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.$ac_ext >&5
32362
32363 ac_cv_lib_dl_dlerror=no
32364 fi
32365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32366 LIBS=$ac_check_lib_save_LIBS
32367 fi
32368 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32369 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32370 if test $ac_cv_lib_dl_dlerror = yes; then
32371 cat >>confdefs.h <<\_ACEOF
32372 #define HAVE_DLERROR 1
32373 _ACEOF
32374
32375 fi
32376
32377
32378
32379 fi
32380 done
32381
32382 fi
32383 fi
32384
32385 if test "$HAVE_DL_FUNCS" = 0; then
32386 if test "$HAVE_SHL_FUNCS" = 0; then
32387 if test "$USE_UNIX" = 1; then
32388 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32389 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32390 wxUSE_DYNAMIC_LOADER=no
32391 wxUSE_DYNLIB_CLASS=no
32392 else
32393 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32394 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32395 fi
32396 fi
32397 fi
32398 fi
32399 fi
32400
32401 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32402 cat >>confdefs.h <<\_ACEOF
32403 #define wxUSE_DYNAMIC_LOADER 1
32404 _ACEOF
32405
32406 fi
32407 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32408 cat >>confdefs.h <<\_ACEOF
32409 #define wxUSE_DYNLIB_CLASS 1
32410 _ACEOF
32411
32412 fi
32413
32414
32415 if test "$wxUSE_FONTMAP" = "yes" ; then
32416 cat >>confdefs.h <<\_ACEOF
32417 #define wxUSE_FONTMAP 1
32418 _ACEOF
32419
32420 fi
32421
32422 if test "$wxUSE_UNICODE" = "yes" ; then
32423 cat >>confdefs.h <<\_ACEOF
32424 #define wxUSE_UNICODE 1
32425 _ACEOF
32426
32427
32428 if test "$USE_WIN32" != 1; then
32429 wxUSE_UNICODE_MSLU=no
32430 fi
32431
32432 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32433 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32434 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32435 if test "${ac_cv_lib_unicows_main+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438 ac_check_lib_save_LIBS=$LIBS
32439 LIBS="-lunicows $LIBS"
32440 cat >conftest.$ac_ext <<_ACEOF
32441 #line $LINENO "configure"
32442 /* confdefs.h. */
32443 _ACEOF
32444 cat confdefs.h >>conftest.$ac_ext
32445 cat >>conftest.$ac_ext <<_ACEOF
32446 /* end confdefs.h. */
32447
32448
32449 int
32450 main ()
32451 {
32452 main ();
32453 ;
32454 return 0;
32455 }
32456 _ACEOF
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>&5
32460 ac_status=$?
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try='test -s conftest$ac_exeext'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32466 ac_status=$?
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }; then
32469 ac_cv_lib_unicows_main=yes
32470 else
32471 echo "$as_me: failed program was:" >&5
32472 sed 's/^/| /' conftest.$ac_ext >&5
32473
32474 ac_cv_lib_unicows_main=no
32475 fi
32476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32477 LIBS=$ac_check_lib_save_LIBS
32478 fi
32479 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32480 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32481 if test $ac_cv_lib_unicows_main = yes; then
32482
32483 cat >>confdefs.h <<\_ACEOF
32484 #define wxUSE_UNICODE_MSLU 1
32485 _ACEOF
32486
32487
32488 else
32489
32490 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32491 Applications will only run on Windows NT/2000/XP!" >&5
32492 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&2;}
32494 wxUSE_UNICODE_MSLU=no
32495
32496 fi
32497
32498 fi
32499 fi
32500
32501 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32502 cat >>confdefs.h <<\_ACEOF
32503 #define wxUSE_EXPERIMENTAL_PRINTF 1
32504 _ACEOF
32505
32506 fi
32507
32508
32509 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32510 cat >>confdefs.h <<\_ACEOF
32511 #define wxUSE_POSTSCRIPT 1
32512 _ACEOF
32513
32514 fi
32515
32516 cat >>confdefs.h <<\_ACEOF
32517 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32518 _ACEOF
32519
32520
32521 cat >>confdefs.h <<\_ACEOF
32522 #define wxUSE_NORMALIZED_PS_FONTS 1
32523 _ACEOF
32524
32525
32526
32527 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32528 cat >>confdefs.h <<\_ACEOF
32529 #define wxUSE_CONSTRAINTS 1
32530 _ACEOF
32531
32532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32533 fi
32534
32535 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32536 cat >>confdefs.h <<\_ACEOF
32537 #define wxUSE_MDI_ARCHITECTURE 1
32538 _ACEOF
32539
32540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32541 fi
32542
32543 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32544 cat >>confdefs.h <<\_ACEOF
32545 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32546 _ACEOF
32547
32548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32549 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32551 fi
32552 fi
32553
32554 if test "$wxUSE_HELP" = "yes"; then
32555 cat >>confdefs.h <<\_ACEOF
32556 #define wxUSE_HELP 1
32557 _ACEOF
32558
32559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32560
32561 if test "$wxUSE_MSW" = 1; then
32562 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32563 cat >>confdefs.h <<\_ACEOF
32564 #define wxUSE_MS_HTML_HELP 1
32565 _ACEOF
32566
32567 fi
32568 fi
32569
32570 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32571 if test "$wxUSE_HTML" = "yes"; then
32572 cat >>confdefs.h <<\_ACEOF
32573 #define wxUSE_WXHTML_HELP 1
32574 _ACEOF
32575
32576 else
32577 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32578 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32579 wxUSE_WXHTML_HELP=no
32580 fi
32581 fi
32582 fi
32583
32584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32586 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32587 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32588 else
32589 cat >>confdefs.h <<\_ACEOF
32590 #define wxUSE_PRINTING_ARCHITECTURE 1
32591 _ACEOF
32592
32593 fi
32594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32595 fi
32596
32597 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32598 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32599 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32600 { (exit 1); exit 1; }; }
32601 fi
32602
32603
32604 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32605 -o "$wxUSE_CLIPBOARD" = "yes" \
32606 -o "$wxUSE_OLE" = "yes" \
32607 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32608
32609 for ac_header in ole2.h
32610 do
32611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32613 echo "$as_me:$LINENO: checking for $ac_header" >&5
32614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32616 echo $ECHO_N "(cached) $ECHO_C" >&6
32617 fi
32618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32620 else
32621 # Is the header compilable?
32622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32624 cat >conftest.$ac_ext <<_ACEOF
32625 #line $LINENO "configure"
32626 /* confdefs.h. */
32627 _ACEOF
32628 cat confdefs.h >>conftest.$ac_ext
32629 cat >>conftest.$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631 $ac_includes_default
32632 #include <$ac_header>
32633 _ACEOF
32634 rm -f conftest.$ac_objext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try='test -s conftest.$ac_objext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 ac_header_compiler=yes
32647 else
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.$ac_ext >&5
32650
32651 ac_header_compiler=no
32652 fi
32653 rm -f conftest.$ac_objext conftest.$ac_ext
32654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32655 echo "${ECHO_T}$ac_header_compiler" >&6
32656
32657 # Is the header present?
32658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32660 cat >conftest.$ac_ext <<_ACEOF
32661 #line $LINENO "configure"
32662 /* confdefs.h. */
32663 _ACEOF
32664 cat confdefs.h >>conftest.$ac_ext
32665 cat >>conftest.$ac_ext <<_ACEOF
32666 /* end confdefs.h. */
32667 #include <$ac_header>
32668 _ACEOF
32669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } >/dev/null; then
32677 if test -s conftest.err; then
32678 ac_cpp_err=$ac_c_preproc_warn_flag
32679 else
32680 ac_cpp_err=
32681 fi
32682 else
32683 ac_cpp_err=yes
32684 fi
32685 if test -z "$ac_cpp_err"; then
32686 ac_header_preproc=yes
32687 else
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 ac_header_preproc=no
32692 fi
32693 rm -f conftest.err conftest.$ac_ext
32694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32695 echo "${ECHO_T}$ac_header_preproc" >&6
32696
32697 # So? What about this header?
32698 case $ac_header_compiler:$ac_header_preproc in
32699 yes:no )
32700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32704 (
32705 cat <<\_ASBOX
32706 ## ------------------------------------ ##
32707 ## Report this to bug-autoconf@gnu.org. ##
32708 ## ------------------------------------ ##
32709 _ASBOX
32710 ) |
32711 sed "s/^/$as_me: WARNING: /" >&2
32712 ;;
32713 no:yes )
32714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32720 (
32721 cat <<\_ASBOX
32722 ## ------------------------------------ ##
32723 ## Report this to bug-autoconf@gnu.org. ##
32724 ## ------------------------------------ ##
32725 _ASBOX
32726 ) |
32727 sed "s/^/$as_me: WARNING: /" >&2
32728 ;;
32729 esac
32730 echo "$as_me:$LINENO: checking for $ac_header" >&5
32731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32734 else
32735 eval "$as_ac_Header=$ac_header_preproc"
32736 fi
32737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32739
32740 fi
32741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h <<_ACEOF
32743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32744 _ACEOF
32745
32746 fi
32747
32748 done
32749
32750
32751 if test "$ac_cv_header_ole2_h" = "yes" ; then
32752 if test "$GCC" = yes ; then
32753
32754
32755 ac_ext=cc
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32760
32761
32762 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32763 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32764 cat >conftest.$ac_ext <<_ACEOF
32765 #line $LINENO "configure"
32766 /* confdefs.h. */
32767 _ACEOF
32768 cat confdefs.h >>conftest.$ac_ext
32769 cat >>conftest.$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 #include <windows.h>
32772 #include <ole2.h>
32773 int
32774 main ()
32775 {
32776
32777 ;
32778 return 0;
32779 }
32780 _ACEOF
32781 rm -f conftest.$ac_objext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>&5
32784 ac_status=$?
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try='test -s conftest.$ac_objext'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32790 ac_status=$?
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; }; then
32793 echo "$as_me:$LINENO: result: no" >&5
32794 echo "${ECHO_T}no" >&6
32795 else
32796 echo "$as_me: failed program was:" >&5
32797 sed 's/^/| /' conftest.$ac_ext >&5
32798
32799 echo "$as_me:$LINENO: result: yes" >&5
32800 echo "${ECHO_T}yes" >&6
32801 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32802 fi
32803 rm -f conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805 ac_cpp='$CPP $CPPFLAGS'
32806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32809
32810 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32811 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32812 cat >>confdefs.h <<\_ACEOF
32813 #define wxUSE_OLE 1
32814 _ACEOF
32815
32816
32817 fi
32818
32819 cat >>confdefs.h <<\_ACEOF
32820 #define wxUSE_DATAOBJ 1
32821 _ACEOF
32822
32823 else
32824 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32825 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32826
32827 wxUSE_CLIPBOARD=no
32828 wxUSE_DRAG_AND_DROP=no
32829 wxUSE_DATAOBJ=no
32830 wxUSE_OLE=no
32831 fi
32832
32833 if test "$wxUSE_METAFILE" = "yes"; then
32834 cat >>confdefs.h <<\_ACEOF
32835 #define wxUSE_METAFILE 1
32836 _ACEOF
32837
32838
32839 cat >>confdefs.h <<\_ACEOF
32840 #define wxUSE_ENH_METAFILE 1
32841 _ACEOF
32842
32843 fi
32844 fi
32845
32846 if test "$wxUSE_IPC" = "yes"; then
32847 if test "$wxUSE_SOCKETS" != "yes"; then
32848 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32849 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32850 fi
32851
32852 cat >>confdefs.h <<\_ACEOF
32853 #define wxUSE_IPC 1
32854 _ACEOF
32855
32856 fi
32857
32858 if test "$wxUSE_CLIPBOARD" = "yes"; then
32859 if test "$wxUSE_MGL" = 1; then
32860 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32861 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32862 wxUSE_CLIPBOARD=no
32863 fi
32864
32865 if test "$wxUSE_CLIPBOARD" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define wxUSE_CLIPBOARD 1
32868 _ACEOF
32869
32870
32871 cat >>confdefs.h <<\_ACEOF
32872 #define wxUSE_DATAOBJ 1
32873 _ACEOF
32874
32875 fi
32876 fi
32877
32878 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32879 if test "$wxUSE_GTK" = 1; then
32880 if test "$WXGTK12" != 1; then
32881 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32882 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32883 wxUSE_DRAG_AND_DROP=no
32884 fi
32885 fi
32886
32887 if test "$wxUSE_MOTIF" = 1; then
32888 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32889 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32890 wxUSE_DRAG_AND_DROP=no
32891 fi
32892
32893 if test "$wxUSE_X11" = 1; then
32894 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32895 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32896 wxUSE_DRAG_AND_DROP=no
32897 fi
32898
32899 if test "$wxUSE_MGL" = 1; then
32900 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32901 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32902 wxUSE_DRAG_AND_DROP=no
32903 fi
32904
32905 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32906 cat >>confdefs.h <<\_ACEOF
32907 #define wxUSE_DRAG_AND_DROP 1
32908 _ACEOF
32909
32910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32911 fi
32912
32913 fi
32914
32915 if test "$wxUSE_SPLINES" = "yes" ; then
32916 cat >>confdefs.h <<\_ACEOF
32917 #define wxUSE_SPLINES 1
32918 _ACEOF
32919
32920 fi
32921
32922
32923 USES_CONTROLS=0
32924 if test "$wxUSE_CONTROLS" = "yes"; then
32925 USES_CONTROLS=1
32926 fi
32927
32928 if test "$wxUSE_ACCEL" = "yes"; then
32929 cat >>confdefs.h <<\_ACEOF
32930 #define wxUSE_ACCEL 1
32931 _ACEOF
32932
32933 USES_CONTROLS=1
32934 fi
32935
32936 if test "$wxUSE_BUTTON" = "yes"; then
32937 cat >>confdefs.h <<\_ACEOF
32938 #define wxUSE_BUTTON 1
32939 _ACEOF
32940
32941 USES_CONTROLS=1
32942 fi
32943
32944 if test "$wxUSE_BMPBUTTON" = "yes"; then
32945 cat >>confdefs.h <<\_ACEOF
32946 #define wxUSE_BMPBUTTON 1
32947 _ACEOF
32948
32949 USES_CONTROLS=1
32950 fi
32951
32952 if test "$wxUSE_CALCTRL" = "yes"; then
32953 cat >>confdefs.h <<\_ACEOF
32954 #define wxUSE_CALENDARCTRL 1
32955 _ACEOF
32956
32957 USES_CONTROLS=1
32958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32959 fi
32960
32961 if test "$wxUSE_CARET" = "yes"; then
32962 cat >>confdefs.h <<\_ACEOF
32963 #define wxUSE_CARET 1
32964 _ACEOF
32965
32966 USES_CONTROLS=1
32967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32968 fi
32969
32970 if test "$wxUSE_COMBOBOX" = "yes"; then
32971 cat >>confdefs.h <<\_ACEOF
32972 #define wxUSE_COMBOBOX 1
32973 _ACEOF
32974
32975 USES_CONTROLS=1
32976 fi
32977
32978 if test "$wxUSE_CHOICE" = "yes"; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxUSE_CHOICE 1
32981 _ACEOF
32982
32983 USES_CONTROLS=1
32984 fi
32985
32986 if test "$wxUSE_CHECKBOX" = "yes"; then
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_CHECKBOX 1
32989 _ACEOF
32990
32991 USES_CONTROLS=1
32992 fi
32993
32994 if test "$wxUSE_CHECKLST" = "yes"; then
32995 cat >>confdefs.h <<\_ACEOF
32996 #define wxUSE_CHECKLISTBOX 1
32997 _ACEOF
32998
32999 USES_CONTROLS=1
33000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33001 fi
33002
33003 if test "$wxUSE_DISPLAY" = "yes"; then
33004 cat >>confdefs.h <<\_ACEOF
33005 #define wxUSE_DISPLAY 1
33006 _ACEOF
33007
33008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33009 fi
33010
33011 if test "$wxUSE_GAUGE" = "yes"; then
33012 cat >>confdefs.h <<\_ACEOF
33013 #define wxUSE_GAUGE 1
33014 _ACEOF
33015
33016 USES_CONTROLS=1
33017 fi
33018
33019 if test "$wxUSE_GRID" = "yes"; then
33020 cat >>confdefs.h <<\_ACEOF
33021 #define wxUSE_GRID 1
33022 _ACEOF
33023
33024 USES_CONTROLS=1
33025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33026 fi
33027
33028 if test "$wxUSE_IMAGLIST" = "yes"; then
33029 cat >>confdefs.h <<\_ACEOF
33030 #define wxUSE_IMAGLIST 1
33031 _ACEOF
33032
33033 fi
33034
33035 if test "$wxUSE_LISTBOOK" = "yes"; then
33036 cat >>confdefs.h <<\_ACEOF
33037 #define wxUSE_LISTBOOK 1
33038 _ACEOF
33039
33040 USES_CONTROLS=1
33041 fi
33042
33043 if test "$wxUSE_LISTBOX" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045 #define wxUSE_LISTBOX 1
33046 _ACEOF
33047
33048 USES_CONTROLS=1
33049 fi
33050
33051 if test "$wxUSE_LISTCTRL" = "yes"; then
33052 if test "$wxUSE_IMAGLIST" = "yes"; then
33053 cat >>confdefs.h <<\_ACEOF
33054 #define wxUSE_LISTCTRL 1
33055 _ACEOF
33056
33057 USES_CONTROLS=1
33058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33059 else
33060 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33061 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33062 fi
33063 fi
33064
33065 if test "$wxUSE_NOTEBOOK" = "yes"; then
33066 cat >>confdefs.h <<\_ACEOF
33067 #define wxUSE_NOTEBOOK 1
33068 _ACEOF
33069
33070 USES_CONTROLS=1
33071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33072 fi
33073
33074
33075 if test "$wxUSE_RADIOBOX" = "yes"; then
33076 cat >>confdefs.h <<\_ACEOF
33077 #define wxUSE_RADIOBOX 1
33078 _ACEOF
33079
33080 USES_CONTROLS=1
33081 fi
33082
33083 if test "$wxUSE_RADIOBTN" = "yes"; then
33084 cat >>confdefs.h <<\_ACEOF
33085 #define wxUSE_RADIOBTN 1
33086 _ACEOF
33087
33088 USES_CONTROLS=1
33089 fi
33090
33091 if test "$wxUSE_SASH" = "yes"; then
33092 cat >>confdefs.h <<\_ACEOF
33093 #define wxUSE_SASH 1
33094 _ACEOF
33095
33096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33097 fi
33098
33099 if test "$wxUSE_SCROLLBAR" = "yes"; then
33100 cat >>confdefs.h <<\_ACEOF
33101 #define wxUSE_SCROLLBAR 1
33102 _ACEOF
33103
33104 USES_CONTROLS=1
33105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33106 fi
33107
33108 if test "$wxUSE_SLIDER" = "yes"; then
33109 cat >>confdefs.h <<\_ACEOF
33110 #define wxUSE_SLIDER 1
33111 _ACEOF
33112
33113 USES_CONTROLS=1
33114 fi
33115
33116 if test "$wxUSE_SPINBTN" = "yes"; then
33117 cat >>confdefs.h <<\_ACEOF
33118 #define wxUSE_SPINBTN 1
33119 _ACEOF
33120
33121 USES_CONTROLS=1
33122 fi
33123
33124 if test "$wxUSE_SPINCTRL" = "yes"; then
33125 cat >>confdefs.h <<\_ACEOF
33126 #define wxUSE_SPINCTRL 1
33127 _ACEOF
33128
33129 USES_CONTROLS=1
33130 fi
33131
33132 if test "$wxUSE_SPLITTER" = "yes"; then
33133 cat >>confdefs.h <<\_ACEOF
33134 #define wxUSE_SPLITTER 1
33135 _ACEOF
33136
33137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33138 fi
33139
33140 if test "$wxUSE_STATBMP" = "yes"; then
33141 cat >>confdefs.h <<\_ACEOF
33142 #define wxUSE_STATBMP 1
33143 _ACEOF
33144
33145 USES_CONTROLS=1
33146 fi
33147
33148 if test "$wxUSE_STATBOX" = "yes"; then
33149 cat >>confdefs.h <<\_ACEOF
33150 #define wxUSE_STATBOX 1
33151 _ACEOF
33152
33153 USES_CONTROLS=1
33154 fi
33155
33156 if test "$wxUSE_STATTEXT" = "yes"; then
33157 cat >>confdefs.h <<\_ACEOF
33158 #define wxUSE_STATTEXT 1
33159 _ACEOF
33160
33161 USES_CONTROLS=1
33162 fi
33163
33164 if test "$wxUSE_STATLINE" = "yes"; then
33165 cat >>confdefs.h <<\_ACEOF
33166 #define wxUSE_STATLINE 1
33167 _ACEOF
33168
33169 USES_CONTROLS=1
33170 fi
33171
33172 if test "$wxUSE_STATUSBAR" = "yes"; then
33173 cat >>confdefs.h <<\_ACEOF
33174 #define wxUSE_STATUSBAR 1
33175 _ACEOF
33176
33177 USES_CONTROLS=1
33178
33179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33180 fi
33181
33182 if test "$wxUSE_TABDIALOG" = "yes"; then
33183 cat >>confdefs.h <<\_ACEOF
33184 #define wxUSE_TAB_DIALOG 1
33185 _ACEOF
33186
33187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33188 fi
33189
33190 if test "$wxUSE_TEXTCTRL" = "yes"; then
33191 cat >>confdefs.h <<\_ACEOF
33192 #define wxUSE_TEXTCTRL 1
33193 _ACEOF
33194
33195 USES_CONTROLS=1
33196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33197 fi
33198
33199 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33200 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33201 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33202 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33203 wxUSE_TOGGLEBTN=no
33204 fi
33205 if test "$wxUSE_UNIVERSAL" = "yes"; then
33206 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33207 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33208 wxUSE_TOGGLEBTN=no
33209 fi
33210
33211 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33212 cat >>confdefs.h <<\_ACEOF
33213 #define wxUSE_TOGGLEBTN 1
33214 _ACEOF
33215
33216 USES_CONTROLS=1
33217 fi
33218 fi
33219
33220 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33221 cat >>confdefs.h <<\_ACEOF
33222 #define wxUSE_TOOLBAR_SIMPLE 1
33223 _ACEOF
33224
33225 wxUSE_TOOLBAR="yes"
33226 USES_CONTROLS=1
33227 fi
33228
33229 if test "$wxUSE_TOOLBAR" = "yes"; then
33230 cat >>confdefs.h <<\_ACEOF
33231 #define wxUSE_TOOLBAR 1
33232 _ACEOF
33233
33234 USES_CONTROLS=1
33235
33236 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33237 wxUSE_TOOLBAR_NATIVE="yes"
33238 fi
33239
33240 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33241 cat >>confdefs.h <<\_ACEOF
33242 #define wxUSE_TOOLBAR_NATIVE 1
33243 _ACEOF
33244
33245 USES_CONTROLS=1
33246 fi
33247
33248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33249 fi
33250
33251 if test "$wxUSE_TOOLTIPS" = "yes"; then
33252 if test "$wxUSE_MOTIF" = 1; then
33253 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33254 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33255 else
33256 if test "$wxUSE_UNIVERSAL" = "yes"; then
33257 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33258 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33259 else
33260 cat >>confdefs.h <<\_ACEOF
33261 #define wxUSE_TOOLTIPS 1
33262 _ACEOF
33263
33264 fi
33265 fi
33266 fi
33267
33268 if test "$wxUSE_TREECTRL" = "yes"; then
33269 if test "$wxUSE_IMAGLIST" = "yes"; then
33270 cat >>confdefs.h <<\_ACEOF
33271 #define wxUSE_TREECTRL 1
33272 _ACEOF
33273
33274 USES_CONTROLS=1
33275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33276 else
33277 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33278 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33279 fi
33280 fi
33281
33282 if test "$wxUSE_POPUPWIN" = "yes"; then
33283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33284 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33285 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33286 else
33287 if test "$wxUSE_PM" = 1; then
33288 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33289 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33290 else
33291 cat >>confdefs.h <<\_ACEOF
33292 #define wxUSE_POPUPWIN 1
33293 _ACEOF
33294
33295
33296 USES_CONTROLS=1
33297 fi
33298 fi
33299 fi
33300
33301 if test "$wxUSE_TIPWINDOW" = "yes"; then
33302 if test "$wxUSE_PM" = 1; then
33303 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33304 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33305 else
33306 cat >>confdefs.h <<\_ACEOF
33307 #define wxUSE_TIPWINDOW 1
33308 _ACEOF
33309
33310 fi
33311 fi
33312
33313 if test "$USES_CONTROLS" = 1; then
33314 cat >>confdefs.h <<\_ACEOF
33315 #define wxUSE_CONTROLS 1
33316 _ACEOF
33317
33318 fi
33319
33320
33321 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33322 cat >>confdefs.h <<\_ACEOF
33323 #define wxUSE_ACCESSIBILITY 1
33324 _ACEOF
33325
33326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33327 fi
33328
33329 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33330 cat >>confdefs.h <<\_ACEOF
33331 #define wxUSE_DRAGIMAGE 1
33332 _ACEOF
33333
33334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33335 fi
33336
33337 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33338 cat >>confdefs.h <<\_ACEOF
33339 #define wxUSE_EXCEPTIONS 1
33340 _ACEOF
33341
33342 fi
33343
33344 USE_HTML=0
33345 if test "$wxUSE_HTML" = "yes"; then
33346 cat >>confdefs.h <<\_ACEOF
33347 #define wxUSE_HTML 1
33348 _ACEOF
33349
33350 USE_HTML=1
33351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33352 fi
33353
33354 if test "$wxUSE_MENUS" = "yes"; then
33355 cat >>confdefs.h <<\_ACEOF
33356 #define wxUSE_MENUS 1
33357 _ACEOF
33358
33359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33360 fi
33361
33362 if test "$wxUSE_METAFILE" = "yes"; then
33363 cat >>confdefs.h <<\_ACEOF
33364 #define wxUSE_METAFILE 1
33365 _ACEOF
33366
33367 fi
33368
33369 if test "$wxUSE_MIMETYPE" = "yes"; then
33370 cat >>confdefs.h <<\_ACEOF
33371 #define wxUSE_MIMETYPE 1
33372 _ACEOF
33373
33374 fi
33375
33376 if test "$wxUSE_MINIFRAME" = "yes"; then
33377 cat >>confdefs.h <<\_ACEOF
33378 #define wxUSE_MINIFRAME 1
33379 _ACEOF
33380
33381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33382 fi
33383
33384 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33385 cat >>confdefs.h <<\_ACEOF
33386 #define wxUSE_SYSTEM_OPTIONS 1
33387 _ACEOF
33388
33389 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33390 "$TOOLKIT" = "MOTIF"; then
33391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33392 fi
33393 fi
33394
33395
33396 if test "$wxUSE_VALIDATORS" = "yes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398 #define wxUSE_VALIDATORS 1
33399 _ACEOF
33400
33401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33402 fi
33403
33404 if test "$wxUSE_PALETTE" = "yes" ; then
33405 cat >>confdefs.h <<\_ACEOF
33406 #define wxUSE_PALETTE 1
33407 _ACEOF
33408
33409 fi
33410
33411 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33412 LIBS=" -lunicows $LIBS"
33413 fi
33414
33415
33416 if test "$wxUSE_IMAGE" = "yes" ; then
33417 cat >>confdefs.h <<\_ACEOF
33418 #define wxUSE_IMAGE 1
33419 _ACEOF
33420
33421
33422 if test "$wxUSE_GIF" = "yes" ; then
33423 cat >>confdefs.h <<\_ACEOF
33424 #define wxUSE_GIF 1
33425 _ACEOF
33426
33427 fi
33428
33429 if test "$wxUSE_PCX" = "yes" ; then
33430 cat >>confdefs.h <<\_ACEOF
33431 #define wxUSE_PCX 1
33432 _ACEOF
33433
33434 fi
33435
33436 if test "$wxUSE_IFF" = "yes" ; then
33437 cat >>confdefs.h <<\_ACEOF
33438 #define wxUSE_IFF 1
33439 _ACEOF
33440
33441 fi
33442
33443 if test "$wxUSE_PNM" = "yes" ; then
33444 cat >>confdefs.h <<\_ACEOF
33445 #define wxUSE_PNM 1
33446 _ACEOF
33447
33448 fi
33449
33450 if test "$wxUSE_XPM" = "yes" ; then
33451 cat >>confdefs.h <<\_ACEOF
33452 #define wxUSE_XPM 1
33453 _ACEOF
33454
33455 fi
33456
33457 if test "$wxUSE_ICO_CUR" = "yes" ; then
33458 cat >>confdefs.h <<\_ACEOF
33459 #define wxUSE_ICO_CUR 1
33460 _ACEOF
33461
33462 fi
33463 fi
33464
33465
33466 if test "$wxUSE_CHOICEDLG" = "yes"; then
33467 cat >>confdefs.h <<\_ACEOF
33468 #define wxUSE_CHOICEDLG 1
33469 _ACEOF
33470
33471 fi
33472
33473 if test "$wxUSE_COLOURDLG" = "yes"; then
33474 cat >>confdefs.h <<\_ACEOF
33475 #define wxUSE_COLOURDLG 1
33476 _ACEOF
33477
33478 fi
33479
33480 if test "$wxUSE_FILEDLG" = "yes"; then
33481 cat >>confdefs.h <<\_ACEOF
33482 #define wxUSE_FILEDLG 1
33483 _ACEOF
33484
33485 fi
33486
33487 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33488 cat >>confdefs.h <<\_ACEOF
33489 #define wxUSE_FINDREPLDLG 1
33490 _ACEOF
33491
33492 fi
33493
33494 if test "$wxUSE_FONTDLG" = "yes"; then
33495 cat >>confdefs.h <<\_ACEOF
33496 #define wxUSE_FONTDLG 1
33497 _ACEOF
33498
33499 fi
33500
33501 if test "$wxUSE_DIRDLG" = "yes"; then
33502 if test "$wxUSE_TREECTRL" != "yes"; then
33503 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33504 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33505 else
33506 cat >>confdefs.h <<\_ACEOF
33507 #define wxUSE_DIRDLG 1
33508 _ACEOF
33509
33510 fi
33511 fi
33512
33513 if test "$wxUSE_MSGDLG" = "yes"; then
33514 cat >>confdefs.h <<\_ACEOF
33515 #define wxUSE_MSGDLG 1
33516 _ACEOF
33517
33518 fi
33519
33520 if test "$wxUSE_NUMBERDLG" = "yes"; then
33521 cat >>confdefs.h <<\_ACEOF
33522 #define wxUSE_NUMBERDLG 1
33523 _ACEOF
33524
33525 fi
33526
33527 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33528 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33529 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33530 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33531 else
33532 cat >>confdefs.h <<\_ACEOF
33533 #define wxUSE_PROGRESSDLG 1
33534 _ACEOF
33535
33536 fi
33537 fi
33538
33539 if test "$wxUSE_SPLASH" = "yes"; then
33540 cat >>confdefs.h <<\_ACEOF
33541 #define wxUSE_SPLASH 1
33542 _ACEOF
33543
33544 fi
33545
33546 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33548 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33549 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33550 else
33551 cat >>confdefs.h <<\_ACEOF
33552 #define wxUSE_STARTUP_TIPS 1
33553 _ACEOF
33554
33555 fi
33556 fi
33557
33558 if test "$wxUSE_TEXTDLG" = "yes"; then
33559 cat >>confdefs.h <<\_ACEOF
33560 #define wxUSE_TEXTDLG 1
33561 _ACEOF
33562
33563 fi
33564
33565 if test "$wxUSE_WIZARDDLG" = "yes"; then
33566 cat >>confdefs.h <<\_ACEOF
33567 #define wxUSE_WIZARDDLG 1
33568 _ACEOF
33569
33570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33571 fi
33572
33573
33574 if test "$cross_compiling" = "yes"; then
33575 OSINFO="\"$host\""
33576 else
33577 OSINFO=`uname -s -r -m`
33578 OSINFO="\"$OSINFO\""
33579 fi
33580
33581 cat >>confdefs.h <<_ACEOF
33582 #define WXWIN_OS_DESCRIPTION $OSINFO
33583 _ACEOF
33584
33585
33586
33587 if test "x$prefix" != "xNONE"; then
33588 wxPREFIX=$prefix
33589 else
33590 wxPREFIX=$ac_default_prefix
33591 fi
33592
33593 cat >>confdefs.h <<_ACEOF
33594 #define wxINSTALL_PREFIX "$wxPREFIX"
33595 _ACEOF
33596
33597
33598 top_builddir_wxconfig=`pwd`
33599
33600
33601
33602 CORE_BASE_LIBS="net base"
33603 CORE_GUI_LIBS="adv core"
33604
33605 if test "$wxUSE_XML" = "yes" ; then
33606 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33607 fi
33608 if test "$wxUSE_ODBC" != "no" ; then
33609 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33610 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33611 fi
33612 if test "$wxUSE_HTML" = "yes" ; then
33613 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33614 fi
33615
33616 if test "$wxUSE_GUI" != "yes"; then
33617 CORE_GUI_LIBS=""
33618 fi
33619
33620
33621
33622
33623
33624
33625
33626
33627 if test "$wxUSE_MAC" = 1 ; then
33628 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33629 fi
33630 if test "$wxUSE_COCOA" = 1 ; then
33631 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33632 fi
33633
33634
33635 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33636
33637 have_cos=0
33638 have_floor=0
33639
33640 for ac_func in cos
33641 do
33642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33643 echo "$as_me:$LINENO: checking for $ac_func" >&5
33644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33645 if eval "test \"\${$as_ac_var+set}\" = set"; then
33646 echo $ECHO_N "(cached) $ECHO_C" >&6
33647 else
33648 cat >conftest.$ac_ext <<_ACEOF
33649 #line $LINENO "configure"
33650 /* confdefs.h. */
33651 _ACEOF
33652 cat confdefs.h >>conftest.$ac_ext
33653 cat >>conftest.$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33655 /* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char $ac_func (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33659 #ifdef __STDC__
33660 # include <limits.h>
33661 #else
33662 # include <assert.h>
33663 #endif
33664 /* Override any gcc2 internal prototype to avoid an error. */
33665 #ifdef __cplusplus
33666 extern "C"
33667 {
33668 #endif
33669 /* We use char because int might match the return type of a gcc2
33670 builtin and then its argument prototype would still apply. */
33671 char $ac_func ();
33672 /* The GNU C library defines this for functions which it implements
33673 to always fail with ENOSYS. Some functions are actually named
33674 something starting with __ and the normal name is an alias. */
33675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33676 choke me
33677 #else
33678 char (*f) () = $ac_func;
33679 #endif
33680 #ifdef __cplusplus
33681 }
33682 #endif
33683
33684 int
33685 main ()
33686 {
33687 return f != $ac_func;
33688 ;
33689 return 0;
33690 }
33691 _ACEOF
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33694 (eval $ac_link) 2>&5
33695 ac_status=$?
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } &&
33698 { ac_try='test -s conftest$ac_exeext'
33699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700 (eval $ac_try) 2>&5
33701 ac_status=$?
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; }; then
33704 eval "$as_ac_var=yes"
33705 else
33706 echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.$ac_ext >&5
33708
33709 eval "$as_ac_var=no"
33710 fi
33711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33712 fi
33713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715 if test `eval echo '${'$as_ac_var'}'` = yes; then
33716 cat >>confdefs.h <<_ACEOF
33717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33718 _ACEOF
33719 have_cos=1
33720 fi
33721 done
33722
33723
33724 for ac_func in floor
33725 do
33726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33727 echo "$as_me:$LINENO: checking for $ac_func" >&5
33728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33729 if eval "test \"\${$as_ac_var+set}\" = set"; then
33730 echo $ECHO_N "(cached) $ECHO_C" >&6
33731 else
33732 cat >conftest.$ac_ext <<_ACEOF
33733 #line $LINENO "configure"
33734 /* confdefs.h. */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 /* System header to define __stub macros and hopefully few prototypes,
33740 which can conflict with char $ac_func (); below.
33741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33742 <limits.h> exists even on freestanding compilers. */
33743 #ifdef __STDC__
33744 # include <limits.h>
33745 #else
33746 # include <assert.h>
33747 #endif
33748 /* Override any gcc2 internal prototype to avoid an error. */
33749 #ifdef __cplusplus
33750 extern "C"
33751 {
33752 #endif
33753 /* We use char because int might match the return type of a gcc2
33754 builtin and then its argument prototype would still apply. */
33755 char $ac_func ();
33756 /* The GNU C library defines this for functions which it implements
33757 to always fail with ENOSYS. Some functions are actually named
33758 something starting with __ and the normal name is an alias. */
33759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33760 choke me
33761 #else
33762 char (*f) () = $ac_func;
33763 #endif
33764 #ifdef __cplusplus
33765 }
33766 #endif
33767
33768 int
33769 main ()
33770 {
33771 return f != $ac_func;
33772 ;
33773 return 0;
33774 }
33775 _ACEOF
33776 rm -f conftest.$ac_objext conftest$ac_exeext
33777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33778 (eval $ac_link) 2>&5
33779 ac_status=$?
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); } &&
33782 { ac_try='test -s conftest$ac_exeext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33785 ac_status=$?
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 eval "$as_ac_var=yes"
33789 else
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33792
33793 eval "$as_ac_var=no"
33794 fi
33795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33796 fi
33797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33799 if test `eval echo '${'$as_ac_var'}'` = yes; then
33800 cat >>confdefs.h <<_ACEOF
33801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33802 _ACEOF
33803 have_floor=1
33804 fi
33805 done
33806
33807 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33808 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33809 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33810 echo "$as_me:$LINENO: result: yes" >&5
33811 echo "${ECHO_T}yes" >&6
33812 else
33813 echo "$as_me:$LINENO: result: no" >&5
33814 echo "${ECHO_T}no" >&6
33815 LIBS="$LIBS -lm"
33816 # use different functions to avoid configure caching
33817 have_sin=0
33818 have_ceil=0
33819
33820 for ac_func in sin
33821 do
33822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33823 echo "$as_me:$LINENO: checking for $ac_func" >&5
33824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33825 if eval "test \"\${$as_ac_var+set}\" = set"; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 else
33828 cat >conftest.$ac_ext <<_ACEOF
33829 #line $LINENO "configure"
33830 /* confdefs.h. */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33839 #ifdef __STDC__
33840 # include <limits.h>
33841 #else
33842 # include <assert.h>
33843 #endif
33844 /* Override any gcc2 internal prototype to avoid an error. */
33845 #ifdef __cplusplus
33846 extern "C"
33847 {
33848 #endif
33849 /* We use char because int might match the return type of a gcc2
33850 builtin and then its argument prototype would still apply. */
33851 char $ac_func ();
33852 /* The GNU C library defines this for functions which it implements
33853 to always fail with ENOSYS. Some functions are actually named
33854 something starting with __ and the normal name is an alias. */
33855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33856 choke me
33857 #else
33858 char (*f) () = $ac_func;
33859 #endif
33860 #ifdef __cplusplus
33861 }
33862 #endif
33863
33864 int
33865 main ()
33866 {
33867 return f != $ac_func;
33868 ;
33869 return 0;
33870 }
33871 _ACEOF
33872 rm -f conftest.$ac_objext conftest$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874 (eval $ac_link) 2>&5
33875 ac_status=$?
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try='test -s conftest$ac_exeext'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; }; then
33884 eval "$as_ac_var=yes"
33885 else
33886 echo "$as_me: failed program was:" >&5
33887 sed 's/^/| /' conftest.$ac_ext >&5
33888
33889 eval "$as_ac_var=no"
33890 fi
33891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33892 fi
33893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33895 if test `eval echo '${'$as_ac_var'}'` = yes; then
33896 cat >>confdefs.h <<_ACEOF
33897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33898 _ACEOF
33899 have_sin=1
33900 fi
33901 done
33902
33903
33904 for ac_func in ceil
33905 do
33906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33907 echo "$as_me:$LINENO: checking for $ac_func" >&5
33908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33909 if eval "test \"\${$as_ac_var+set}\" = set"; then
33910 echo $ECHO_N "(cached) $ECHO_C" >&6
33911 else
33912 cat >conftest.$ac_ext <<_ACEOF
33913 #line $LINENO "configure"
33914 /* confdefs.h. */
33915 _ACEOF
33916 cat confdefs.h >>conftest.$ac_ext
33917 cat >>conftest.$ac_ext <<_ACEOF
33918 /* end confdefs.h. */
33919 /* System header to define __stub macros and hopefully few prototypes,
33920 which can conflict with char $ac_func (); below.
33921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33922 <limits.h> exists even on freestanding compilers. */
33923 #ifdef __STDC__
33924 # include <limits.h>
33925 #else
33926 # include <assert.h>
33927 #endif
33928 /* Override any gcc2 internal prototype to avoid an error. */
33929 #ifdef __cplusplus
33930 extern "C"
33931 {
33932 #endif
33933 /* We use char because int might match the return type of a gcc2
33934 builtin and then its argument prototype would still apply. */
33935 char $ac_func ();
33936 /* The GNU C library defines this for functions which it implements
33937 to always fail with ENOSYS. Some functions are actually named
33938 something starting with __ and the normal name is an alias. */
33939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33940 choke me
33941 #else
33942 char (*f) () = $ac_func;
33943 #endif
33944 #ifdef __cplusplus
33945 }
33946 #endif
33947
33948 int
33949 main ()
33950 {
33951 return f != $ac_func;
33952 ;
33953 return 0;
33954 }
33955 _ACEOF
33956 rm -f conftest.$ac_objext conftest$ac_exeext
33957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33958 (eval $ac_link) 2>&5
33959 ac_status=$?
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try='test -s conftest$ac_exeext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 eval "$as_ac_var=yes"
33969 else
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.$ac_ext >&5
33972
33973 eval "$as_ac_var=no"
33974 fi
33975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33976 fi
33977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33979 if test `eval echo '${'$as_ac_var'}'` = yes; then
33980 cat >>confdefs.h <<_ACEOF
33981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33982 _ACEOF
33983 have_ceil=1
33984 fi
33985 done
33986
33987 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33988 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33989 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33990 echo "$as_me:$LINENO: result: yes" >&5
33991 echo "${ECHO_T}yes" >&6
33992 else
33993 echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6
33995 # not sure we should warn the user, crash, etc.
33996 fi
33997 fi
33998
33999 if test "$wxUSE_GUI" = "yes"; then
34000
34001
34002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34003 drawing dynamic erase event exec font image \
34004 minimal propsize rotate shaped widgets render"
34005
34006 if test "$wxUSE_MONOLITHIC" != "yes"; then
34007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34008 fi
34009 else
34010 SAMPLES_SUBDIRS="console"
34011 fi
34012
34013
34014 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34015 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
34016
34017 if test "$GXX" = yes ; then
34018 CXXWARNINGS="-Wall"
34019 fi
34020
34021 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34022
34023 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34024 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34025 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34026
34027
34028 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34029 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34030 EXTRALIBS_XML="$EXPAT_LINK"
34031 EXTRALIBS_HTML="$MSPACK_LINK"
34032 EXTRALIBS_ODBC="$ODBC_LINK"
34033 if test "$wxUSE_GUI" = "yes"; then
34034 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34035 fi
34036 if test "$wxUSE_OPENGL" = "yes"; then
34037 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34038 fi
34039
34040 LDFLAGS="$LDFLAGS $PROFILE"
34041
34042 if test "$wxUSE_GTK" = 1; then
34043 WXCONFIG_INCLUDE=
34044 else
34045 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34046 fi
34047
34048 WXCONFIG_EXTRALIBS="$LIBS"
34049
34050 if test "$wxUSE_REGEX" = "builtin" ; then
34051 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34052 fi
34053 if test "$wxUSE_EXPAT" = "builtin" ; then
34054 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34055 fi
34056 if test "$wxUSE_ODBC" = "builtin" ; then
34057 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34058 fi
34059 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34060 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34061 fi
34062 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34063 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34064 fi
34065 if test "$wxUSE_LIBPNG" = "builtin" ; then
34066 wxconfig_3rdparty="$wxconfig_3rdparty png"
34067 fi
34068 if test "$wxUSE_ZLIB" = "builtin" ; then
34069 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34070 fi
34071 if test "$wxUSE_ODBC" = "builtin" ; then
34072 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34073 fi
34074
34075 for i in $wxconfig_3rdparty ; do
34076 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34077 done
34078
34079
34080 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34081 WXUNIV=1
34082 else
34083 WXUNIV=0
34084 fi
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094 if test $wxUSE_MONOLITHIC = "yes" ; then
34095 MONOLITHIC=1
34096 else
34097 MONOLITHIC=0
34098 fi
34099
34100 if test $wxUSE_ODBC != "no" ; then
34101 USE_ODBC=1
34102 else
34103 USE_ODBC=0
34104 fi
34105
34106 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34107 OFFICIAL_BUILD=1
34108 else
34109 OFFICIAL_BUILD=0
34110 fi
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34130
34131
34132
34133
34134
34135
34136
34137 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34138
34139 if test -n "$ac_tool_prefix"; then
34140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34142 echo "$as_me:$LINENO: checking for $ac_word" >&5
34143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34144 if test "${ac_cv_prog_RANLIB+set}" = set; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 else
34147 if test -n "$RANLIB"; then
34148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34149 else
34150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34151 for as_dir in $PATH
34152 do
34153 IFS=$as_save_IFS
34154 test -z "$as_dir" && as_dir=.
34155 for ac_exec_ext in '' $ac_executable_extensions; do
34156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34159 break 2
34160 fi
34161 done
34162 done
34163
34164 fi
34165 fi
34166 RANLIB=$ac_cv_prog_RANLIB
34167 if test -n "$RANLIB"; then
34168 echo "$as_me:$LINENO: result: $RANLIB" >&5
34169 echo "${ECHO_T}$RANLIB" >&6
34170 else
34171 echo "$as_me:$LINENO: result: no" >&5
34172 echo "${ECHO_T}no" >&6
34173 fi
34174
34175 fi
34176 if test -z "$ac_cv_prog_RANLIB"; then
34177 ac_ct_RANLIB=$RANLIB
34178 # Extract the first word of "ranlib", so it can be a program name with args.
34179 set dummy ranlib; ac_word=$2
34180 echo "$as_me:$LINENO: checking for $ac_word" >&5
34181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 else
34185 if test -n "$ac_ct_RANLIB"; then
34186 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34187 else
34188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34189 for as_dir in $PATH
34190 do
34191 IFS=$as_save_IFS
34192 test -z "$as_dir" && as_dir=.
34193 for ac_exec_ext in '' $ac_executable_extensions; do
34194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34195 ac_cv_prog_ac_ct_RANLIB="ranlib"
34196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34197 break 2
34198 fi
34199 done
34200 done
34201
34202 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34203 fi
34204 fi
34205 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34206 if test -n "$ac_ct_RANLIB"; then
34207 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34208 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34209 else
34210 echo "$as_me:$LINENO: result: no" >&5
34211 echo "${ECHO_T}no" >&6
34212 fi
34213
34214 RANLIB=$ac_ct_RANLIB
34215 else
34216 RANLIB="$ac_cv_prog_RANLIB"
34217 fi
34218
34219 # Find a good install program. We prefer a C program (faster),
34220 # so one script is as good as another. But avoid the broken or
34221 # incompatible versions:
34222 # SysV /etc/install, /usr/sbin/install
34223 # SunOS /usr/etc/install
34224 # IRIX /sbin/install
34225 # AIX /bin/install
34226 # AmigaOS /C/install, which installs bootblocks on floppy discs
34227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34230 # ./install, which can be erroneously created by make from ./install.sh.
34231 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34232 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34233 if test -z "$INSTALL"; then
34234 if test "${ac_cv_path_install+set}" = set; then
34235 echo $ECHO_N "(cached) $ECHO_C" >&6
34236 else
34237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34238 for as_dir in $PATH
34239 do
34240 IFS=$as_save_IFS
34241 test -z "$as_dir" && as_dir=.
34242 # Account for people who put trailing slashes in PATH elements.
34243 case $as_dir/ in
34244 ./ | .// | /cC/* | \
34245 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34246 /usr/ucb/* ) ;;
34247 *)
34248 # OSF1 and SCO ODT 3.0 have their own names for install.
34249 # Don't use installbsd from OSF since it installs stuff as root
34250 # by default.
34251 for ac_prog in ginstall scoinst install; do
34252 for ac_exec_ext in '' $ac_executable_extensions; do
34253 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34254 if test $ac_prog = install &&
34255 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34256 # AIX install. It has an incompatible calling convention.
34257 :
34258 elif test $ac_prog = install &&
34259 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34260 # program-specific install script used by HP pwplus--don't use.
34261 :
34262 else
34263 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34264 break 3
34265 fi
34266 fi
34267 done
34268 done
34269 ;;
34270 esac
34271 done
34272
34273
34274 fi
34275 if test "${ac_cv_path_install+set}" = set; then
34276 INSTALL=$ac_cv_path_install
34277 else
34278 # As a last resort, use the slow shell script. We don't cache a
34279 # path for INSTALL within a source directory, because that will
34280 # break other packages using the cache if that directory is
34281 # removed, or if the path is relative.
34282 INSTALL=$ac_install_sh
34283 fi
34284 fi
34285 echo "$as_me:$LINENO: result: $INSTALL" >&5
34286 echo "${ECHO_T}$INSTALL" >&6
34287
34288 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34289 # It thinks the first close brace ends the variable substitution.
34290 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34291
34292 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34293
34294 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34295
34296 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34297 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34298 LN_S=$as_ln_s
34299 if test "$LN_S" = "ln -s"; then
34300 echo "$as_me:$LINENO: result: yes" >&5
34301 echo "${ECHO_T}yes" >&6
34302 else
34303 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34304 echo "${ECHO_T}no, using $LN_S" >&6
34305 fi
34306
34307
34308 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34309 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34310 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34311 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 else
34314 cat >conftest.make <<\_ACEOF
34315 all:
34316 @echo 'ac_maketemp="$(MAKE)"'
34317 _ACEOF
34318 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34319 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34320 if test -n "$ac_maketemp"; then
34321 eval ac_cv_prog_make_${ac_make}_set=yes
34322 else
34323 eval ac_cv_prog_make_${ac_make}_set=no
34324 fi
34325 rm -f conftest.make
34326 fi
34327 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34328 echo "$as_me:$LINENO: result: yes" >&5
34329 echo "${ECHO_T}yes" >&6
34330 SET_MAKE=
34331 else
34332 echo "$as_me:$LINENO: result: no" >&5
34333 echo "${ECHO_T}no" >&6
34334 SET_MAKE="MAKE=${MAKE-make}"
34335 fi
34336
34337
34338
34339 if test -n "$ac_tool_prefix"; then
34340 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34341 set dummy ${ac_tool_prefix}ar; ac_word=$2
34342 echo "$as_me:$LINENO: checking for $ac_word" >&5
34343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34344 if test "${ac_cv_prog_AR+set}" = set; then
34345 echo $ECHO_N "(cached) $ECHO_C" >&6
34346 else
34347 if test -n "$AR"; then
34348 ac_cv_prog_AR="$AR" # Let the user override the test.
34349 else
34350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34351 for as_dir in $PATH
34352 do
34353 IFS=$as_save_IFS
34354 test -z "$as_dir" && as_dir=.
34355 for ac_exec_ext in '' $ac_executable_extensions; do
34356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34357 ac_cv_prog_AR="${ac_tool_prefix}ar"
34358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34359 break 2
34360 fi
34361 done
34362 done
34363
34364 fi
34365 fi
34366 AR=$ac_cv_prog_AR
34367 if test -n "$AR"; then
34368 echo "$as_me:$LINENO: result: $AR" >&5
34369 echo "${ECHO_T}$AR" >&6
34370 else
34371 echo "$as_me:$LINENO: result: no" >&5
34372 echo "${ECHO_T}no" >&6
34373 fi
34374
34375 fi
34376 if test -z "$ac_cv_prog_AR"; then
34377 ac_ct_AR=$AR
34378 # Extract the first word of "ar", so it can be a program name with args.
34379 set dummy ar; ac_word=$2
34380 echo "$as_me:$LINENO: checking for $ac_word" >&5
34381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34382 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34385 if test -n "$ac_ct_AR"; then
34386 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34387 else
34388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34389 for as_dir in $PATH
34390 do
34391 IFS=$as_save_IFS
34392 test -z "$as_dir" && as_dir=.
34393 for ac_exec_ext in '' $ac_executable_extensions; do
34394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34395 ac_cv_prog_ac_ct_AR="ar"
34396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34397 break 2
34398 fi
34399 done
34400 done
34401
34402 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34403 fi
34404 fi
34405 ac_ct_AR=$ac_cv_prog_ac_ct_AR
34406 if test -n "$ac_ct_AR"; then
34407 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34408 echo "${ECHO_T}$ac_ct_AR" >&6
34409 else
34410 echo "$as_me:$LINENO: result: no" >&5
34411 echo "${ECHO_T}no" >&6
34412 fi
34413
34414 AR=$ac_ct_AR
34415 else
34416 AR="$ac_cv_prog_AR"
34417 fi
34418
34419 if test -n "$ac_tool_prefix"; then
34420 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34421 set dummy ${ac_tool_prefix}strip; ac_word=$2
34422 echo "$as_me:$LINENO: checking for $ac_word" >&5
34423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34424 if test "${ac_cv_prog_STRIP+set}" = set; then
34425 echo $ECHO_N "(cached) $ECHO_C" >&6
34426 else
34427 if test -n "$STRIP"; then
34428 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34429 else
34430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34431 for as_dir in $PATH
34432 do
34433 IFS=$as_save_IFS
34434 test -z "$as_dir" && as_dir=.
34435 for ac_exec_ext in '' $ac_executable_extensions; do
34436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34437 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34439 break 2
34440 fi
34441 done
34442 done
34443
34444 fi
34445 fi
34446 STRIP=$ac_cv_prog_STRIP
34447 if test -n "$STRIP"; then
34448 echo "$as_me:$LINENO: result: $STRIP" >&5
34449 echo "${ECHO_T}$STRIP" >&6
34450 else
34451 echo "$as_me:$LINENO: result: no" >&5
34452 echo "${ECHO_T}no" >&6
34453 fi
34454
34455 fi
34456 if test -z "$ac_cv_prog_STRIP"; then
34457 ac_ct_STRIP=$STRIP
34458 # Extract the first word of "strip", so it can be a program name with args.
34459 set dummy strip; ac_word=$2
34460 echo "$as_me:$LINENO: checking for $ac_word" >&5
34461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34462 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34463 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 else
34465 if test -n "$ac_ct_STRIP"; then
34466 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34467 else
34468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34469 for as_dir in $PATH
34470 do
34471 IFS=$as_save_IFS
34472 test -z "$as_dir" && as_dir=.
34473 for ac_exec_ext in '' $ac_executable_extensions; do
34474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34475 ac_cv_prog_ac_ct_STRIP="strip"
34476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34477 break 2
34478 fi
34479 done
34480 done
34481
34482 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34483 fi
34484 fi
34485 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34486 if test -n "$ac_ct_STRIP"; then
34487 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34488 echo "${ECHO_T}$ac_ct_STRIP" >&6
34489 else
34490 echo "$as_me:$LINENO: result: no" >&5
34491 echo "${ECHO_T}no" >&6
34492 fi
34493
34494 STRIP=$ac_ct_STRIP
34495 else
34496 STRIP="$ac_cv_prog_STRIP"
34497 fi
34498
34499 if test -n "$ac_tool_prefix"; then
34500 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34501 set dummy ${ac_tool_prefix}nm; ac_word=$2
34502 echo "$as_me:$LINENO: checking for $ac_word" >&5
34503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34504 if test "${ac_cv_prog_NM+set}" = set; then
34505 echo $ECHO_N "(cached) $ECHO_C" >&6
34506 else
34507 if test -n "$NM"; then
34508 ac_cv_prog_NM="$NM" # Let the user override the test.
34509 else
34510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34511 for as_dir in $PATH
34512 do
34513 IFS=$as_save_IFS
34514 test -z "$as_dir" && as_dir=.
34515 for ac_exec_ext in '' $ac_executable_extensions; do
34516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34517 ac_cv_prog_NM="${ac_tool_prefix}nm"
34518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34519 break 2
34520 fi
34521 done
34522 done
34523
34524 fi
34525 fi
34526 NM=$ac_cv_prog_NM
34527 if test -n "$NM"; then
34528 echo "$as_me:$LINENO: result: $NM" >&5
34529 echo "${ECHO_T}$NM" >&6
34530 else
34531 echo "$as_me:$LINENO: result: no" >&5
34532 echo "${ECHO_T}no" >&6
34533 fi
34534
34535 fi
34536 if test -z "$ac_cv_prog_NM"; then
34537 ac_ct_NM=$NM
34538 # Extract the first word of "nm", so it can be a program name with args.
34539 set dummy nm; ac_word=$2
34540 echo "$as_me:$LINENO: checking for $ac_word" >&5
34541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34542 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34545 if test -n "$ac_ct_NM"; then
34546 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34547 else
34548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34549 for as_dir in $PATH
34550 do
34551 IFS=$as_save_IFS
34552 test -z "$as_dir" && as_dir=.
34553 for ac_exec_ext in '' $ac_executable_extensions; do
34554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34555 ac_cv_prog_ac_ct_NM="nm"
34556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34557 break 2
34558 fi
34559 done
34560 done
34561
34562 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34563 fi
34564 fi
34565 ac_ct_NM=$ac_cv_prog_ac_ct_NM
34566 if test -n "$ac_ct_NM"; then
34567 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34568 echo "${ECHO_T}$ac_ct_NM" >&6
34569 else
34570 echo "$as_me:$LINENO: result: no" >&5
34571 echo "${ECHO_T}no" >&6
34572 fi
34573
34574 NM=$ac_ct_NM
34575 else
34576 NM="$ac_cv_prog_NM"
34577 fi
34578
34579
34580 case ${host} in
34581 *-hp-hpux* )
34582 INSTALL_DIR="mkdir"
34583 ;;
34584 *) INSTALL_DIR="$INSTALL -d"
34585 ;;
34586 esac
34587
34588
34589 LDFLAGS_GUI=
34590 case ${host} in
34591 *-*-cygwin* | *-*-mingw32* )
34592 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34593 esac
34594
34595
34596 fi
34597
34598 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34599 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34600 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34601 echo $ECHO_N "(cached) $ECHO_C" >&6
34602 else
34603
34604 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34605 egrep -s GNU > /dev/null); then
34606 bakefile_cv_prog_makeisgnu="yes"
34607 else
34608 bakefile_cv_prog_makeisgnu="no"
34609 fi
34610
34611 fi
34612 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34613 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34614
34615 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34616 IF_GNU_MAKE=""
34617 else
34618 IF_GNU_MAKE="#"
34619 fi
34620
34621
34622
34623 PLATFORM_UNIX=0
34624 PLATFORM_WIN32=0
34625 PLATFORM_MSDOS=0
34626 PLATFORM_MAC=0
34627 PLATFORM_MACOSX=0
34628 PLATFORM_OS2=0
34629
34630 case "${host}" in
34631 *-*-cygwin* | *-*-mingw32* )
34632 PLATFORM_WIN32=1
34633 ;;
34634 *-pc-msdosdjgpp )
34635 PLATFORM_MSDOS=1
34636 ;;
34637 *-pc-os2_emx | *-pc-os2-emx )
34638 PLATFORM_OS2=1
34639 ;;
34640 powerpc-*-darwin* )
34641 PLATFORM_MAC=1
34642 PLATFORM_MACOSX=1
34643 ;;
34644 * )
34645 PLATFORM_UNIX=1
34646 ;;
34647 esac
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657 SO_SUFFIX="so"
34658 SO_SUFFIX_MODULE="so"
34659 EXEEXT=""
34660 LIBPREFIX=lib
34661 DLLPREFIX=lib
34662 DLLPREFIX_MODULE=
34663
34664 case "${host}" in
34665 *-hp-hpux* )
34666 SO_SUFFIX="sl"
34667 SO_SUFFIX_MODULE="sl"
34668 ;;
34669 *-*-aix* )
34670 SO_SUFFIX="a"
34671 SO_SUFFIX_MODULE="a"
34672 ;;
34673 *-*-cygwin* | *-*-mingw32* )
34674 SO_SUFFIX="dll"
34675 SO_SUFFIX_MODULE="dll"
34676 EXEEXT=".exe"
34677 DLLPREFIX=""
34678 ;;
34679 *-pc-msdosdjgpp )
34680 EXEEXT=".exe"
34681 DLLPREFIX=""
34682 ;;
34683 *-pc-os2_emx | *-pc-os2-emx )
34684 EXEEXT=".exe"
34685 DLLPREFIX=""
34686 LIBPREFIX=""
34687 ;;
34688 powerpc-*-darwin* )
34689 SO_SUFFIX="dylib"
34690 SO_SUFFIX_MODULE="bundle"
34691 ;;
34692 esac
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702 SHARED_LD_CC="\$(CC) -shared -o"
34703 SHARED_LD_CXX="\$(CXX) -shared -o"
34704
34705 if test "x$GCC" = "xyes"; then
34706 PIC_FLAG="-fPIC"
34707 fi
34708
34709 case "${host}" in
34710 *-hp-hpux* )
34711 if test "x$GCC" = "xyes"; then
34712 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34713 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34714 else
34715 LDFLAGS="$LDFLAGS -L/usr/lib"
34716
34717 SHARED_LD_CC="${CC} -b -o"
34718 SHARED_LD_CXX="${CXX} -b -o"
34719 PIC_FLAG="+Z"
34720 fi
34721 ;;
34722
34723 *-*-linux* )
34724 if test "x$GCC" != "xyes"; then
34725 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34726 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34727 if test "${bakefile_cv_prog_icc+set}" = set; then
34728 echo $ECHO_N "(cached) $ECHO_C" >&6
34729 else
34730
34731 cat >conftest.$ac_ext <<_ACEOF
34732 #line $LINENO "configure"
34733 /* confdefs.h. */
34734 _ACEOF
34735 cat confdefs.h >>conftest.$ac_ext
34736 cat >>conftest.$ac_ext <<_ACEOF
34737 /* end confdefs.h. */
34738
34739 int
34740 main ()
34741 {
34742
34743 #ifndef __INTEL_COMPILER
34744 #error Not icc
34745 #endif
34746
34747 ;
34748 return 0;
34749 }
34750 _ACEOF
34751 rm -f conftest.$ac_objext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34753 (eval $ac_compile) 2>&5
34754 ac_status=$?
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } &&
34757 { ac_try='test -s conftest.$ac_objext'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34760 ac_status=$?
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; }; then
34763 bakefile_cv_prog_icc=yes
34764 else
34765 echo "$as_me: failed program was:" >&5
34766 sed 's/^/| /' conftest.$ac_ext >&5
34767
34768 bakefile_cv_prog_icc=no
34769
34770 fi
34771 rm -f conftest.$ac_objext conftest.$ac_ext
34772
34773 fi
34774 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34775 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34776 if test "$bakefile_cv_prog_icc" = "yes"; then
34777 PIC_FLAG="-KPIC"
34778 fi
34779 fi
34780 ;;
34781
34782 *-*-solaris2* )
34783 if test "x$GCC" != xyes ; then
34784 SHARED_LD_CC="${CC} -G -o"
34785 SHARED_LD_CXX="${CXX} -G -o"
34786 PIC_FLAG="-KPIC"
34787 fi
34788 ;;
34789
34790 *-*-darwin* )
34791 CFLAGS="$CFLAGS -fno-common"
34792 CXXFLAGS="$CXXFLAGS -fno-common"
34793
34794
34795 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34796 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34797 if test "${wx_cv_gcc31+set}" = set; then
34798 echo $ECHO_N "(cached) $ECHO_C" >&6
34799 else
34800
34801 cat >conftest.$ac_ext <<_ACEOF
34802 #line $LINENO "configure"
34803 /* confdefs.h. */
34804 _ACEOF
34805 cat confdefs.h >>conftest.$ac_ext
34806 cat >>conftest.$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34808
34809 int
34810 main ()
34811 {
34812
34813 #if (__GNUC__ < 3) || \
34814 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34815 #error old gcc
34816 #endif
34817
34818 ;
34819 return 0;
34820 }
34821 _ACEOF
34822 rm -f conftest.$ac_objext
34823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34824 (eval $ac_compile) 2>&5
34825 ac_status=$?
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } &&
34828 { ac_try='test -s conftest.$ac_objext'
34829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34830 (eval $ac_try) 2>&5
34831 ac_status=$?
34832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833 (exit $ac_status); }; }; then
34834
34835 wx_cv_gcc31=yes
34836
34837 else
34838 echo "$as_me: failed program was:" >&5
34839 sed 's/^/| /' conftest.$ac_ext >&5
34840
34841
34842 wx_cv_gcc31=no
34843
34844
34845 fi
34846 rm -f conftest.$ac_objext conftest.$ac_ext
34847
34848 fi
34849 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34850 echo "${ECHO_T}$wx_cv_gcc31" >&6
34851 if test "$wx_cv_gcc31" = "no"; then
34852 cat <<EOF >shared-ld-sh
34853 #!/bin/sh
34854 #-----------------------------------------------------------------------------
34855 #-- Name: distrib/mac/shared-ld-sh
34856 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34857 #-- Author: Gilles Depeyrot
34858 #-- Copyright: (c) 2002 Gilles Depeyrot
34859 #-- Licence: any use permitted
34860 #-----------------------------------------------------------------------------
34861
34862 verbose=0
34863 args=""
34864 objects=""
34865 linking_flag="-dynamiclib"
34866
34867 while test \${#} -gt 0; do
34868 case \${1} in
34869
34870 -v)
34871 verbose=1
34872 ;;
34873
34874 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34875 # collect these options and values
34876 args="\${args} \${1} \${2}"
34877 shift
34878 ;;
34879
34880 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
34881 # collect these options
34882 args="\${args} \${1}"
34883 ;;
34884
34885 -dynamiclib|-bundle)
34886 linking_flag="\${1}"
34887 ;;
34888
34889 -*)
34890 echo "shared-ld: unhandled option '\${1}'"
34891 exit 1
34892 ;;
34893
34894 *.o | *.a | *.dylib)
34895 # collect object files
34896 objects="\${objects} \${1}"
34897 ;;
34898
34899 *)
34900 echo "shared-ld: unhandled argument '\${1}'"
34901 exit 1
34902 ;;
34903
34904 esac
34905 shift
34906 done
34907
34908 #
34909 # Link one module containing all the others
34910 #
34911 if test \${verbose} = 1; then
34912 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34913 fi
34914 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34915 status=\$?
34916 if test \${status} != 0; then
34917 exit \${status}
34918 fi
34919
34920 #
34921 # Link the shared library from the single module created
34922 #
34923 if test \${verbose} = 1; then
34924 echo "cc \${linking_flag} master.\$\$.o \${args}"
34925 fi
34926 c++ \${linking_flag} master.\$\$.o \${args}
34927 status=\$?
34928 if test \${status} != 0; then
34929 exit \${status}
34930 fi
34931
34932 #
34933 # Remove intermediate module
34934 #
34935 rm -f master.\$\$.o
34936
34937 exit 0
34938 EOF
34939 chmod +x shared-ld-sh
34940
34941 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34942 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34943 SHARED_LD_CXX="$SHARED_LD_CC"
34944 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34945 else
34946 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34947 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34948 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34949 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34950 fi
34951
34952 PIC_FLAG="-dynamic -fPIC"
34953 ;;
34954
34955 *-*-aix* )
34956 if test "x$GCC" != "xyes"; then
34957 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34958 set dummy makeC++SharedLib; ac_word=$2
34959 echo "$as_me:$LINENO: checking for $ac_word" >&5
34960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34961 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 else
34964 if test -n "$AIX_CXX_LD"; then
34965 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34966 else
34967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34968 for as_dir in $PATH
34969 do
34970 IFS=$as_save_IFS
34971 test -z "$as_dir" && as_dir=.
34972 for ac_exec_ext in '' $ac_executable_extensions; do
34973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34974 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34976 break 2
34977 fi
34978 done
34979 done
34980
34981 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34982 fi
34983 fi
34984 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34985 if test -n "$AIX_CXX_LD"; then
34986 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34987 echo "${ECHO_T}$AIX_CXX_LD" >&6
34988 else
34989 echo "$as_me:$LINENO: result: no" >&5
34990 echo "${ECHO_T}no" >&6
34991 fi
34992
34993 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34994 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34995 fi
34996 ;;
34997
34998 *-*-beos* )
34999 SHARED_LD_CC="${LD} -shared -o"
35000 SHARED_LD_CXX="${LD} -shared -o"
35001 ;;
35002
35003 *-*-irix* )
35004 if test "x$GCC" != "xyes"; then
35005 PIC_FLAG="-KPIC"
35006 fi
35007 ;;
35008
35009 *-*-cygwin* | *-*-mingw32* )
35010 PIC_FLAG=""
35011 ;;
35012
35013 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35014 *-*-sunos4* | \
35015 *-*-osf* | \
35016 *-*-dgux5* | \
35017 *-pc-os2_emx | *-pc-os2-emx | \
35018 *-*-sysv5* )
35019 ;;
35020
35021 *)
35022 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35023 echo "$as_me: error: unknown system type $host." >&2;}
35024 { (exit 1); exit 1; }; }
35025 esac
35026
35027 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35028 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35029 fi
35030 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35031 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35032 fi
35033
35034
35035
35036
35037
35038
35039
35040
35041 USE_SOVERSION=0
35042 USE_SOVERLINUX=0
35043 USE_SOVERSOLARIS=0
35044 USE_SOSYMLINKS=0
35045 USE_MACVERSION=0
35046 SONAME_FLAG=
35047
35048 case "${host}" in
35049 *-*-linux* )
35050 SONAME_FLAG="-Wl,-soname,"
35051 USE_SOVERSION=1
35052 USE_SOVERLINUX=1
35053 USE_SOSYMLINKS=1
35054 ;;
35055
35056 *-*-solaris2* )
35057 SONAME_FLAG="-h "
35058 USE_SOVERSION=1
35059 USE_SOVERSOLARIS=1
35060 USE_SOSYMLINKS=1
35061 ;;
35062
35063 *-*-darwin* )
35064 USE_MACVERSION=1
35065 USE_SOVERSION=1
35066 USE_SOSYMLINKS=1
35067 ;;
35068 esac
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35079 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35080 DEPS_TRACKING=0
35081
35082 if test "x$GCC" = "xyes"; then
35083 DEPSMODE=gcc
35084 DEPS_TRACKING=1
35085 case "${host}" in
35086 powerpc-*-darwin* )
35087 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35088 ;;
35089 * )
35090 DEPSFLAG_GCC="-MMD"
35091 ;;
35092 esac
35093 echo "$as_me:$LINENO: result: gcc" >&5
35094 echo "${ECHO_T}gcc" >&6
35095 else
35096 echo "$as_me:$LINENO: result: none" >&5
35097 echo "${ECHO_T}none" >&6
35098 fi
35099
35100 if test $DEPS_TRACKING = 1 ; then
35101 cat <<EOF >bk-deps
35102 #!/bin/sh
35103
35104 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35105 # script. It is used to track C/C++ files dependencies in portable way.
35106 #
35107 # Permission is given to use this file in any way.
35108
35109 DEPSMODE=$DEPSMODE
35110 DEPSDIR=.deps
35111 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35112
35113 mkdir -p \$DEPSDIR
35114
35115 if test \$DEPSMODE = gcc ; then
35116 \${*} \${DEPSFLAG_GCC}
35117 status=\${?}
35118 if test \${status} != 0 ; then
35119 exit \${status}
35120 fi
35121 # move created file to the location we want it in:
35122 while test \${#} -gt 0; do
35123 case "\${1}" in
35124 -o )
35125 shift
35126 objfile=\${1}
35127 ;;
35128 -* )
35129 ;;
35130 * )
35131 srcfile=\${1}
35132 ;;
35133 esac
35134 shift
35135 done
35136 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35137 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35138 if test -f \$depfile ; then
35139 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35140 rm -f \$depfile
35141 else
35142 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35143 if test -f \$depfile ; then
35144 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35145 rm -f \$depfile
35146 fi
35147 fi
35148 exit 0
35149 else
35150 \${*}
35151 exit \${?}
35152 fi
35153 EOF
35154 chmod +x bk-deps
35155 fi
35156
35157
35158
35159
35160 RESCOMP=
35161 SETFILE=
35162
35163 case ${host} in
35164 *-*-cygwin* | *-*-mingw32* )
35165 if test "$build" != "$host" ; then
35166 RESCOMP=$host_alias-windres
35167 else
35168 # Extract the first word of "windres", so it can be a program name with args.
35169 set dummy windres; ac_word=$2
35170 echo "$as_me:$LINENO: checking for $ac_word" >&5
35171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35172 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35174 else
35175 if test -n "$RESCOMP"; then
35176 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35177 else
35178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35179 for as_dir in $PATH
35180 do
35181 IFS=$as_save_IFS
35182 test -z "$as_dir" && as_dir=.
35183 for ac_exec_ext in '' $ac_executable_extensions; do
35184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35185 ac_cv_prog_RESCOMP="windres"
35186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35187 break 2
35188 fi
35189 done
35190 done
35191
35192 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35193 fi
35194 fi
35195 RESCOMP=$ac_cv_prog_RESCOMP
35196 if test -n "$RESCOMP"; then
35197 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35198 echo "${ECHO_T}$RESCOMP" >&6
35199 else
35200 echo "$as_me:$LINENO: result: no" >&5
35201 echo "${ECHO_T}no" >&6
35202 fi
35203
35204 fi
35205 ;;
35206
35207 *-*-darwin* )
35208 # Extract the first word of "Rez", so it can be a program name with args.
35209 set dummy Rez; ac_word=$2
35210 echo "$as_me:$LINENO: checking for $ac_word" >&5
35211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35212 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35213 echo $ECHO_N "(cached) $ECHO_C" >&6
35214 else
35215 if test -n "$RESCOMP"; then
35216 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35217 else
35218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35219 for as_dir in $PATH
35220 do
35221 IFS=$as_save_IFS
35222 test -z "$as_dir" && as_dir=.
35223 for ac_exec_ext in '' $ac_executable_extensions; do
35224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35225 ac_cv_prog_RESCOMP="Rez"
35226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35227 break 2
35228 fi
35229 done
35230 done
35231
35232 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35233 fi
35234 fi
35235 RESCOMP=$ac_cv_prog_RESCOMP
35236 if test -n "$RESCOMP"; then
35237 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35238 echo "${ECHO_T}$RESCOMP" >&6
35239 else
35240 echo "$as_me:$LINENO: result: no" >&5
35241 echo "${ECHO_T}no" >&6
35242 fi
35243
35244 # Extract the first word of "SetFile", so it can be a program name with args.
35245 set dummy SetFile; ac_word=$2
35246 echo "$as_me:$LINENO: checking for $ac_word" >&5
35247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35248 if test "${ac_cv_prog_SETFILE+set}" = set; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35250 else
35251 if test -n "$SETFILE"; then
35252 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35253 else
35254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35255 for as_dir in $PATH
35256 do
35257 IFS=$as_save_IFS
35258 test -z "$as_dir" && as_dir=.
35259 for ac_exec_ext in '' $ac_executable_extensions; do
35260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35261 ac_cv_prog_SETFILE="SetFile"
35262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35263 break 2
35264 fi
35265 done
35266 done
35267
35268 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35269 fi
35270 fi
35271 SETFILE=$ac_cv_prog_SETFILE
35272 if test -n "$SETFILE"; then
35273 echo "$as_me:$LINENO: result: $SETFILE" >&5
35274 echo "${ECHO_T}$SETFILE" >&6
35275 else
35276 echo "$as_me:$LINENO: result: no" >&5
35277 echo "${ECHO_T}no" >&6
35278 fi
35279
35280 ;;
35281 esac
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35293 if test "${enable_precomp_headers+set}" = set; then
35294 enableval="$enable_precomp_headers"
35295 bk_use_pch="$enableval"
35296 fi;
35297
35298 GCC_PCH=0
35299
35300 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35301 if test "x$GCC" = "xyes"; then
35302 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35303 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35304 cat >conftest.$ac_ext <<_ACEOF
35305 #line $LINENO "configure"
35306 /* confdefs.h. */
35307 _ACEOF
35308 cat confdefs.h >>conftest.$ac_ext
35309 cat >>conftest.$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35311
35312 int
35313 main ()
35314 {
35315
35316 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35317 #error "no pch support"
35318 #endif
35319 #if (__GNUC__ < 3)
35320 #error "no pch support"
35321 #endif
35322 #if (__GNUC__ == 3) && \
35323 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35324 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35325 #error "no pch support"
35326 #endif
35327
35328 ;
35329 return 0;
35330 }
35331 _ACEOF
35332 rm -f conftest.$ac_objext
35333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35334 (eval $ac_compile) 2>&5
35335 ac_status=$?
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } &&
35338 { ac_try='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35341 ac_status=$?
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35344
35345 echo "$as_me:$LINENO: result: yes" >&5
35346 echo "${ECHO_T}yes" >&6
35347 CPPFLAGS="-fpch-deps $CPPFLAGS"
35348 GCC_PCH=1
35349
35350 else
35351 echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.$ac_ext >&5
35353
35354
35355 echo "$as_me:$LINENO: result: no" >&5
35356 echo "${ECHO_T}no" >&6
35357
35358 fi
35359 rm -f conftest.$ac_objext conftest.$ac_ext
35360 if test $GCC_PCH = 1 ; then
35361 cat <<EOF >bk-make-pch
35362 #!/bin/sh
35363
35364 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35365 # script. It is used to generated precompiled headers.
35366 #
35367 # Permission is given to use this file in any way.
35368
35369 outfile="\${1}"
35370 header="\${2}"
35371 shift
35372 shift
35373
35374 compiler=
35375 headerfile=
35376 while test \${#} -gt 0; do
35377 case "\${1}" in
35378 -I* )
35379 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35380 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35381 headerfile="\${incdir}/\${header}"
35382 fi
35383 ;;
35384 esac
35385 compiler="\${compiler} \${1}"
35386 shift
35387 done
35388
35389 if test "x\${headerfile}" = "x" ; then
35390 echo "error: can't find header \${header} in include paths" >2
35391 else
35392 if test -f \${outfile} ; then
35393 rm -f \${outfile}
35394 else
35395 mkdir -p \`dirname \${outfile}\`
35396 fi
35397 depsfile=".deps/\`basename \${outfile}\`.d"
35398 mkdir -p .deps
35399 # can do this because gcc is >= 3.4:
35400 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35401 exit \${?}
35402 fi
35403 EOF
35404 chmod +x bk-make-pch
35405 fi
35406 fi
35407 fi
35408
35409
35410
35411
35412
35413 COND_BUILD_DEBUG="#"
35414 if test "x$BUILD" = "xdebug" ; then
35415 COND_BUILD_DEBUG=""
35416 fi
35417
35418 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35419 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35421 fi
35422
35423 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35424 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35426 fi
35427
35428 COND_BUILD_RELEASE="#"
35429 if test "x$BUILD" = "xrelease" ; then
35430 COND_BUILD_RELEASE=""
35431 fi
35432
35433 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35434 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35436 fi
35437
35438 COND_DEBUG_FLAG_1="#"
35439 if test "x$DEBUG_FLAG" = "x1" ; then
35440 COND_DEBUG_FLAG_1=""
35441 fi
35442
35443 COND_DEBUG_INFO_0="#"
35444 if test "x$DEBUG_INFO" = "x0" ; then
35445 COND_DEBUG_INFO_0=""
35446 fi
35447
35448 COND_DEBUG_INFO_1="#"
35449 if test "x$DEBUG_INFO" = "x1" ; then
35450 COND_DEBUG_INFO_1=""
35451 fi
35452
35453 COND_DEPS_TRACKING_0="#"
35454 if test "x$DEPS_TRACKING" = "x0" ; then
35455 COND_DEPS_TRACKING_0=""
35456 fi
35457
35458 COND_DEPS_TRACKING_1="#"
35459 if test "x$DEPS_TRACKING" = "x1" ; then
35460 COND_DEPS_TRACKING_1=""
35461 fi
35462
35463 COND_GCC_PCH_1="#"
35464 if test "x$GCC_PCH" = "x1" ; then
35465 COND_GCC_PCH_1=""
35466 fi
35467
35468 COND_MONOLITHIC_0="#"
35469 if test "x$MONOLITHIC" = "x0" ; then
35470 COND_MONOLITHIC_0=""
35471 fi
35472
35473 COND_MONOLITHIC_0_SHARED_0="#"
35474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35475 COND_MONOLITHIC_0_SHARED_0=""
35476 fi
35477
35478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35481 fi
35482
35483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35486 fi
35487
35488 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35491 fi
35492
35493 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35496 fi
35497
35498 COND_MONOLITHIC_0_SHARED_1="#"
35499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35500 COND_MONOLITHIC_0_SHARED_1=""
35501 fi
35502
35503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35506 fi
35507
35508 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35511 fi
35512
35513 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35516 fi
35517
35518 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35521 fi
35522
35523 COND_MONOLITHIC_1="#"
35524 if test "x$MONOLITHIC" = "x1" ; then
35525 COND_MONOLITHIC_1=""
35526 fi
35527
35528 COND_MONOLITHIC_1_SHARED_0="#"
35529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35530 COND_MONOLITHIC_1_SHARED_0=""
35531 fi
35532
35533 COND_MONOLITHIC_1_SHARED_1="#"
35534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35535 COND_MONOLITHIC_1_SHARED_1=""
35536 fi
35537
35538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35541 fi
35542
35543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35546 fi
35547
35548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35551 fi
35552
35553 COND_PLATFORM_MACOSX_1="#"
35554 if test "x$PLATFORM_MACOSX" = "x1" ; then
35555 COND_PLATFORM_MACOSX_1=""
35556 fi
35557
35558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35561 fi
35562
35563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35566 fi
35567
35568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35571 fi
35572
35573 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
35574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
35576 fi
35577
35578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35581 fi
35582
35583 COND_PLATFORM_MAC_1="#"
35584 if test "x$PLATFORM_MAC" = "x1" ; then
35585 COND_PLATFORM_MAC_1=""
35586 fi
35587
35588 COND_PLATFORM_OS2_1="#"
35589 if test "x$PLATFORM_OS2" = "x1" ; then
35590 COND_PLATFORM_OS2_1=""
35591 fi
35592
35593 COND_PLATFORM_UNIX_0="#"
35594 if test "x$PLATFORM_UNIX" = "x0" ; then
35595 COND_PLATFORM_UNIX_0=""
35596 fi
35597
35598 COND_PLATFORM_UNIX_1="#"
35599 if test "x$PLATFORM_UNIX" = "x1" ; then
35600 COND_PLATFORM_UNIX_1=""
35601 fi
35602
35603 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
35604 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35605 COND_PLATFORM_UNIX_1_USE_GUI_1=""
35606 fi
35607
35608 COND_PLATFORM_WIN32_0="#"
35609 if test "x$PLATFORM_WIN32" = "x0" ; then
35610 COND_PLATFORM_WIN32_0=""
35611 fi
35612
35613 COND_PLATFORM_WIN32_1="#"
35614 if test "x$PLATFORM_WIN32" = "x1" ; then
35615 COND_PLATFORM_WIN32_1=""
35616 fi
35617
35618 COND_SHARED_0="#"
35619 if test "x$SHARED" = "x0" ; then
35620 COND_SHARED_0=""
35621 fi
35622
35623 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35624 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35626 fi
35627
35628 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35629 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35631 fi
35632
35633 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35636 fi
35637
35638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35641 fi
35642
35643 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35644 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35646 fi
35647
35648 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35649 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35651 fi
35652
35653 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35654 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35656 fi
35657
35658 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35659 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35661 fi
35662
35663 COND_SHARED_1="#"
35664 if test "x$SHARED" = "x1" ; then
35665 COND_SHARED_1=""
35666 fi
35667
35668 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35669 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35671 fi
35672
35673 COND_TOOLKIT_COCOA="#"
35674 if test "x$TOOLKIT" = "xCOCOA" ; then
35675 COND_TOOLKIT_COCOA=""
35676 fi
35677
35678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35679 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35681 fi
35682
35683 COND_TOOLKIT_GTK="#"
35684 if test "x$TOOLKIT" = "xGTK" ; then
35685 COND_TOOLKIT_GTK=""
35686 fi
35687
35688 COND_TOOLKIT_GTK_USE_GUI_1="#"
35689 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35690 COND_TOOLKIT_GTK_USE_GUI_1=""
35691 fi
35692
35693 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35694 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35696 fi
35697
35698 COND_TOOLKIT_MAC="#"
35699 if test "x$TOOLKIT" = "xMAC" ; then
35700 COND_TOOLKIT_MAC=""
35701 fi
35702
35703 COND_TOOLKIT_MAC_USE_GUI_1="#"
35704 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35705 COND_TOOLKIT_MAC_USE_GUI_1=""
35706 fi
35707
35708 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35709 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35711 fi
35712
35713 COND_TOOLKIT_MGL="#"
35714 if test "x$TOOLKIT" = "xMGL" ; then
35715 COND_TOOLKIT_MGL=""
35716 fi
35717
35718 COND_TOOLKIT_MGL_USE_GUI_1="#"
35719 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35720 COND_TOOLKIT_MGL_USE_GUI_1=""
35721 fi
35722
35723 COND_TOOLKIT_MOTIF="#"
35724 if test "x$TOOLKIT" = "xMOTIF" ; then
35725 COND_TOOLKIT_MOTIF=""
35726 fi
35727
35728 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35729 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35730 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35731 fi
35732
35733 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35734 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35736 fi
35737
35738 COND_TOOLKIT_MSW="#"
35739 if test "x$TOOLKIT" = "xMSW" ; then
35740 COND_TOOLKIT_MSW=""
35741 fi
35742
35743 COND_TOOLKIT_MSW_USE_GUI_1="#"
35744 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35745 COND_TOOLKIT_MSW_USE_GUI_1=""
35746 fi
35747
35748 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35749 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35751 fi
35752
35753 COND_TOOLKIT_PM="#"
35754 if test "x$TOOLKIT" = "xPM" ; then
35755 COND_TOOLKIT_PM=""
35756 fi
35757
35758 COND_TOOLKIT_PM_USE_GUI_1="#"
35759 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35760 COND_TOOLKIT_PM_USE_GUI_1=""
35761 fi
35762
35763 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35764 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35766 fi
35767
35768 COND_TOOLKIT_X11="#"
35769 if test "x$TOOLKIT" = "xX11" ; then
35770 COND_TOOLKIT_X11=""
35771 fi
35772
35773 COND_TOOLKIT_X11_USE_GUI_1="#"
35774 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35775 COND_TOOLKIT_X11_USE_GUI_1=""
35776 fi
35777
35778 COND_UNICODE_1="#"
35779 if test "x$UNICODE" = "x1" ; then
35780 COND_UNICODE_1=""
35781 fi
35782
35783 COND_USE_EXCEPTIONS_0="#"
35784 if test "x$USE_EXCEPTIONS" = "x0" ; then
35785 COND_USE_EXCEPTIONS_0=""
35786 fi
35787
35788 COND_USE_EXCEPTIONS_1="#"
35789 if test "x$USE_EXCEPTIONS" = "x1" ; then
35790 COND_USE_EXCEPTIONS_1=""
35791 fi
35792
35793 COND_USE_GUI_0="#"
35794 if test "x$USE_GUI" = "x0" ; then
35795 COND_USE_GUI_0=""
35796 fi
35797
35798 COND_USE_GUI_1="#"
35799 if test "x$USE_GUI" = "x1" ; then
35800 COND_USE_GUI_1=""
35801 fi
35802
35803 COND_USE_GUI_1_WXUNIV_0="#"
35804 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35805 COND_USE_GUI_1_WXUNIV_0=""
35806 fi
35807
35808 COND_USE_GUI_1_WXUNIV_1="#"
35809 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35810 COND_USE_GUI_1_WXUNIV_1=""
35811 fi
35812
35813 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35816 fi
35817
35818 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35819 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35821 fi
35822
35823 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35824 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35826 fi
35827
35828 COND_USE_ODBC_1="#"
35829 if test "x$USE_ODBC" = "x1" ; then
35830 COND_USE_ODBC_1=""
35831 fi
35832
35833 COND_USE_SOSYMLINKS_1="#"
35834 if test "x$USE_SOSYMLINKS" = "x1" ; then
35835 COND_USE_SOSYMLINKS_1=""
35836 fi
35837
35838 COND_USE_SOVERLINUX_1="#"
35839 if test "x$USE_SOVERLINUX" = "x1" ; then
35840 COND_USE_SOVERLINUX_1=""
35841 fi
35842
35843 COND_USE_SOVERSION_0="#"
35844 if test "x$USE_SOVERSION" = "x0" ; then
35845 COND_USE_SOVERSION_0=""
35846 fi
35847
35848 COND_USE_SOVERSOLARIS_1="#"
35849 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35850 COND_USE_SOVERSOLARIS_1=""
35851 fi
35852
35853 COND_WXUNIV_1="#"
35854 if test "x$WXUNIV" = "x1" ; then
35855 COND_WXUNIV_1=""
35856 fi
35857
35858 COND_WXUSE_EXPAT_BUILTIN="#"
35859 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35860 COND_WXUSE_EXPAT_BUILTIN=""
35861 fi
35862
35863 COND_WXUSE_LIBJPEG_BUILTIN="#"
35864 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35865 COND_WXUSE_LIBJPEG_BUILTIN=""
35866 fi
35867
35868 COND_WXUSE_LIBPNG_BUILTIN="#"
35869 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35870 COND_WXUSE_LIBPNG_BUILTIN=""
35871 fi
35872
35873 COND_WXUSE_LIBTIFF_BUILTIN="#"
35874 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35875 COND_WXUSE_LIBTIFF_BUILTIN=""
35876 fi
35877
35878 COND_WXUSE_ODBC_BUILTIN="#"
35879 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35880 COND_WXUSE_ODBC_BUILTIN=""
35881 fi
35882
35883 COND_WXUSE_REGEX_BUILTIN="#"
35884 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35885 COND_WXUSE_REGEX_BUILTIN=""
35886 fi
35887
35888 COND_WXUSE_ZLIB_BUILTIN="#"
35889 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35890 COND_WXUSE_ZLIB_BUILTIN=""
35891 fi
35892
35893
35894
35895
35896
35897 if test $GCC_PCH = 1 ; then
35898 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35899 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35900 else
35901 case "${host}" in
35902 powerpc-*-darwin* )
35903 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35904 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35905 ;;
35906 esac
35907 fi
35908
35909
35910 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36011 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36012 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36013 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36015 else
36016 cat >conftest.make <<\_ACEOF
36017 all:
36018 @echo 'ac_maketemp="$(MAKE)"'
36019 _ACEOF
36020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36021 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36022 if test -n "$ac_maketemp"; then
36023 eval ac_cv_prog_make_${ac_make}_set=yes
36024 else
36025 eval ac_cv_prog_make_${ac_make}_set=no
36026 fi
36027 rm -f conftest.make
36028 fi
36029 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36030 echo "$as_me:$LINENO: result: yes" >&5
36031 echo "${ECHO_T}yes" >&6
36032 SET_MAKE=
36033 else
36034 echo "$as_me:$LINENO: result: no" >&5
36035 echo "${ECHO_T}no" >&6
36036 SET_MAKE="MAKE=${MAKE-make}"
36037 fi
36038
36039
36040 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36041 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36042 fi
36043
36044 ac_config_headers="$ac_config_headers setup.h"
36045
36046
36047 ac_config_files="$ac_config_files wx-config version-script Makefile"
36048
36049
36050 ac_config_commands="$ac_config_commands default"
36051
36052
36053
36054 if test "$wxUSE_GUI" = "yes"; then
36055 SUBDIRS="samples demos utils contrib"
36056 else SUBDIRS="samples utils"
36057 fi
36058
36059 for subdir in `echo $SUBDIRS`; do
36060 if test -d ${srcdir}/${subdir} ; then
36061 if test "$wxUSE_GUI" = "yes"; then
36062 if test ${subdir} = "samples"; then
36063 makefiles="samples/Makefile.in $makefiles"
36064 for sample in `echo $SAMPLES_SUBDIRS`; do
36065 if test -d $srcdir/samples/$sample; then
36066 makefiles="samples/$sample/Makefile.in $makefiles"
36067 fi
36068 done
36069 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36070 fi
36071 else if test ${subdir} = "samples"; then
36072 makefiles="samples/Makefile.in samples/console/Makefile.in"
36073 else makefiles="utils/HelpGen/Makefile.in \
36074 utils/HelpGen/src/Makefile.in \
36075 utils/tex2rtf/Makefile.in \
36076 utils/tex2rtf/src/Makefile.in"
36077 fi
36078 fi
36079
36080 for mkin in $makefiles ; do
36081 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36082 ac_config_files="$ac_config_files $mk"
36083
36084 done
36085 fi
36086 done
36087
36088
36089 cat >confcache <<\_ACEOF
36090 # This file is a shell script that caches the results of configure
36091 # tests run on this system so they can be shared between configure
36092 # scripts and configure runs, see configure's option --config-cache.
36093 # It is not useful on other systems. If it contains results you don't
36094 # want to keep, you may remove or edit it.
36095 #
36096 # config.status only pays attention to the cache file if you give it
36097 # the --recheck option to rerun configure.
36098 #
36099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36101 # following values.
36102
36103 _ACEOF
36104
36105 # The following way of writing the cache mishandles newlines in values,
36106 # but we know of no workaround that is simple, portable, and efficient.
36107 # So, don't put newlines in cache variables' values.
36108 # Ultrix sh set writes to stderr and can't be redirected directly,
36109 # and sets the high bit in the cache file unless we assign to the vars.
36110 {
36111 (set) 2>&1 |
36112 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36113 *ac_space=\ *)
36114 # `set' does not quote correctly, so add quotes (double-quote
36115 # substitution turns \\\\ into \\, and sed turns \\ into \).
36116 sed -n \
36117 "s/'/'\\\\''/g;
36118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36119 ;;
36120 *)
36121 # `set' quotes correctly as required by POSIX, so do not add quotes.
36122 sed -n \
36123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36124 ;;
36125 esac;
36126 } |
36127 sed '
36128 t clear
36129 : clear
36130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36131 t end
36132 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36133 : end' >>confcache
36134 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36135 if test -w $cache_file; then
36136 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36137 cat confcache >$cache_file
36138 else
36139 echo "not updating unwritable cache $cache_file"
36140 fi
36141 fi
36142 rm -f confcache
36143
36144 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36145 # Let make expand exec_prefix.
36146 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36147
36148 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36149 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36150 # trailing colons and then remove the whole line if VPATH becomes empty
36151 # (actually we leave an empty line to preserve line numbers).
36152 if test "x$srcdir" = x.; then
36153 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36154 s/:*\$(srcdir):*/:/;
36155 s/:*\${srcdir}:*/:/;
36156 s/:*@srcdir@:*/:/;
36157 s/^\([^=]*=[ ]*\):*/\1/;
36158 s/:*$//;
36159 s/^[^=]*=[ ]*$//;
36160 }'
36161 fi
36162
36163 DEFS=-DHAVE_CONFIG_H
36164
36165 ac_libobjs=
36166 ac_ltlibobjs=
36167 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36168 # 1. Remove the extension, and $U if already installed.
36169 ac_i=`echo "$ac_i" |
36170 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36171 # 2. Add them.
36172 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36173 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36174 done
36175 LIBOBJS=$ac_libobjs
36176
36177 LTLIBOBJS=$ac_ltlibobjs
36178
36179
36180
36181 : ${CONFIG_STATUS=./config.status}
36182 ac_clean_files_save=$ac_clean_files
36183 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36184 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36185 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36186 cat >$CONFIG_STATUS <<_ACEOF
36187 #! $SHELL
36188 # Generated by $as_me.
36189 # Run this file to recreate the current configuration.
36190 # Compiler output produced by configure, useful for debugging
36191 # configure, is in config.log if it exists.
36192
36193 debug=false
36194 ac_cs_recheck=false
36195 ac_cs_silent=false
36196 SHELL=\${CONFIG_SHELL-$SHELL}
36197 _ACEOF
36198
36199 cat >>$CONFIG_STATUS <<\_ACEOF
36200 ## --------------------- ##
36201 ## M4sh Initialization. ##
36202 ## --------------------- ##
36203
36204 # Be Bourne compatible
36205 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36206 emulate sh
36207 NULLCMD=:
36208 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36209 # is contrary to our usage. Disable this feature.
36210 alias -g '${1+"$@"}'='"$@"'
36211 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36212 set -o posix
36213 fi
36214
36215 # Support unset when possible.
36216 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36217 as_unset=unset
36218 else
36219 as_unset=false
36220 fi
36221
36222
36223 # Work around bugs in pre-3.0 UWIN ksh.
36224 $as_unset ENV MAIL MAILPATH
36225 PS1='$ '
36226 PS2='> '
36227 PS4='+ '
36228
36229 # NLS nuisances.
36230 for as_var in \
36231 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36232 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36233 LC_TELEPHONE LC_TIME
36234 do
36235 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36236 eval $as_var=C; export $as_var
36237 else
36238 $as_unset $as_var
36239 fi
36240 done
36241
36242 # Required to use basename.
36243 if expr a : '\(a\)' >/dev/null 2>&1; then
36244 as_expr=expr
36245 else
36246 as_expr=false
36247 fi
36248
36249 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36250 as_basename=basename
36251 else
36252 as_basename=false
36253 fi
36254
36255
36256 # Name of the executable.
36257 as_me=`$as_basename "$0" ||
36258 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36259 X"$0" : 'X\(//\)$' \| \
36260 X"$0" : 'X\(/\)$' \| \
36261 . : '\(.\)' 2>/dev/null ||
36262 echo X/"$0" |
36263 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36264 /^X\/\(\/\/\)$/{ s//\1/; q; }
36265 /^X\/\(\/\).*/{ s//\1/; q; }
36266 s/.*/./; q'`
36267
36268
36269 # PATH needs CR, and LINENO needs CR and PATH.
36270 # Avoid depending upon Character Ranges.
36271 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36272 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36273 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36274 as_cr_digits='0123456789'
36275 as_cr_alnum=$as_cr_Letters$as_cr_digits
36276
36277 # The user is always right.
36278 if test "${PATH_SEPARATOR+set}" != set; then
36279 echo "#! /bin/sh" >conf$$.sh
36280 echo "exit 0" >>conf$$.sh
36281 chmod +x conf$$.sh
36282 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36283 PATH_SEPARATOR=';'
36284 else
36285 PATH_SEPARATOR=:
36286 fi
36287 rm -f conf$$.sh
36288 fi
36289
36290
36291 as_lineno_1=$LINENO
36292 as_lineno_2=$LINENO
36293 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36294 test "x$as_lineno_1" != "x$as_lineno_2" &&
36295 test "x$as_lineno_3" = "x$as_lineno_2" || {
36296 # Find who we are. Look in the path if we contain no path at all
36297 # relative or not.
36298 case $0 in
36299 *[\\/]* ) as_myself=$0 ;;
36300 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36301 for as_dir in $PATH
36302 do
36303 IFS=$as_save_IFS
36304 test -z "$as_dir" && as_dir=.
36305 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36306 done
36307
36308 ;;
36309 esac
36310 # We did not find ourselves, most probably we were run as `sh COMMAND'
36311 # in which case we are not to be found in the path.
36312 if test "x$as_myself" = x; then
36313 as_myself=$0
36314 fi
36315 if test ! -f "$as_myself"; then
36316 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36317 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36318 { (exit 1); exit 1; }; }
36319 fi
36320 case $CONFIG_SHELL in
36321 '')
36322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36323 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36324 do
36325 IFS=$as_save_IFS
36326 test -z "$as_dir" && as_dir=.
36327 for as_base in sh bash ksh sh5; do
36328 case $as_dir in
36329 /*)
36330 if ("$as_dir/$as_base" -c '
36331 as_lineno_1=$LINENO
36332 as_lineno_2=$LINENO
36333 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36334 test "x$as_lineno_1" != "x$as_lineno_2" &&
36335 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36336 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36337 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36338 CONFIG_SHELL=$as_dir/$as_base
36339 export CONFIG_SHELL
36340 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36341 fi;;
36342 esac
36343 done
36344 done
36345 ;;
36346 esac
36347
36348 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36349 # uniformly replaced by the line number. The first 'sed' inserts a
36350 # line-number line before each line; the second 'sed' does the real
36351 # work. The second script uses 'N' to pair each line-number line
36352 # with the numbered line, and appends trailing '-' during
36353 # substitution so that $LINENO is not a special case at line end.
36354 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36355 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36356 sed '=' <$as_myself |
36357 sed '
36358 N
36359 s,$,-,
36360 : loop
36361 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36362 t loop
36363 s,-$,,
36364 s,^['$as_cr_digits']*\n,,
36365 ' >$as_me.lineno &&
36366 chmod +x $as_me.lineno ||
36367 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36368 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36369 { (exit 1); exit 1; }; }
36370
36371 # Don't try to exec as it changes $[0], causing all sort of problems
36372 # (the dirname of $[0] is not the place where we might find the
36373 # original and so on. Autoconf is especially sensible to this).
36374 . ./$as_me.lineno
36375 # Exit status is that of the last command.
36376 exit
36377 }
36378
36379
36380 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36381 *c*,-n*) ECHO_N= ECHO_C='
36382 ' ECHO_T=' ' ;;
36383 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36384 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36385 esac
36386
36387 if expr a : '\(a\)' >/dev/null 2>&1; then
36388 as_expr=expr
36389 else
36390 as_expr=false
36391 fi
36392
36393 rm -f conf$$ conf$$.exe conf$$.file
36394 echo >conf$$.file
36395 if ln -s conf$$.file conf$$ 2>/dev/null; then
36396 # We could just check for DJGPP; but this test a) works b) is more generic
36397 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36398 if test -f conf$$.exe; then
36399 # Don't use ln at all; we don't have any links
36400 as_ln_s='cp -p'
36401 else
36402 as_ln_s='ln -s'
36403 fi
36404 elif ln conf$$.file conf$$ 2>/dev/null; then
36405 as_ln_s=ln
36406 else
36407 as_ln_s='cp -p'
36408 fi
36409 rm -f conf$$ conf$$.exe conf$$.file
36410
36411 if mkdir -p . 2>/dev/null; then
36412 as_mkdir_p=:
36413 else
36414 as_mkdir_p=false
36415 fi
36416
36417 as_executable_p="test -f"
36418
36419 # Sed expression to map a string onto a valid CPP name.
36420 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36421
36422 # Sed expression to map a string onto a valid variable name.
36423 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36424
36425
36426 # IFS
36427 # We need space, tab and new line, in precisely that order.
36428 as_nl='
36429 '
36430 IFS=" $as_nl"
36431
36432 # CDPATH.
36433 $as_unset CDPATH
36434
36435 exec 6>&1
36436
36437 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36438 # report actual input values of CONFIG_FILES etc. instead of their
36439 # values after options handling. Logging --version etc. is OK.
36440 exec 5>>config.log
36441 {
36442 echo
36443 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36444 ## Running $as_me. ##
36445 _ASBOX
36446 } >&5
36447 cat >&5 <<_CSEOF
36448
36449 This file was extended by wxWindows $as_me 2.5.1, which was
36450 generated by GNU Autoconf 2.57. Invocation command line was
36451
36452 CONFIG_FILES = $CONFIG_FILES
36453 CONFIG_HEADERS = $CONFIG_HEADERS
36454 CONFIG_LINKS = $CONFIG_LINKS
36455 CONFIG_COMMANDS = $CONFIG_COMMANDS
36456 $ $0 $@
36457
36458 _CSEOF
36459 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36460 echo >&5
36461 _ACEOF
36462
36463 # Files that config.status was made for.
36464 if test -n "$ac_config_files"; then
36465 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36466 fi
36467
36468 if test -n "$ac_config_headers"; then
36469 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36470 fi
36471
36472 if test -n "$ac_config_links"; then
36473 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36474 fi
36475
36476 if test -n "$ac_config_commands"; then
36477 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36478 fi
36479
36480 cat >>$CONFIG_STATUS <<\_ACEOF
36481
36482 ac_cs_usage="\
36483 \`$as_me' instantiates files from templates according to the
36484 current configuration.
36485
36486 Usage: $0 [OPTIONS] [FILE]...
36487
36488 -h, --help print this help, then exit
36489 -V, --version print version number, then exit
36490 -q, --quiet do not print progress messages
36491 -d, --debug don't remove temporary files
36492 --recheck update $as_me by reconfiguring in the same conditions
36493 --file=FILE[:TEMPLATE]
36494 instantiate the configuration file FILE
36495 --header=FILE[:TEMPLATE]
36496 instantiate the configuration header FILE
36497
36498 Configuration files:
36499 $config_files
36500
36501 Configuration headers:
36502 $config_headers
36503
36504 Configuration commands:
36505 $config_commands
36506
36507 Report bugs to <bug-autoconf@gnu.org>."
36508 _ACEOF
36509
36510 cat >>$CONFIG_STATUS <<_ACEOF
36511 ac_cs_version="\\
36512 wxWindows config.status 2.5.1
36513 configured by $0, generated by GNU Autoconf 2.57,
36514 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36515
36516 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36517 Free Software Foundation, Inc.
36518 This config.status script is free software; the Free Software Foundation
36519 gives unlimited permission to copy, distribute and modify it."
36520 srcdir=$srcdir
36521 INSTALL="$INSTALL"
36522 _ACEOF
36523
36524 cat >>$CONFIG_STATUS <<\_ACEOF
36525 # If no file are specified by the user, then we need to provide default
36526 # value. By we need to know if files were specified by the user.
36527 ac_need_defaults=:
36528 while test $# != 0
36529 do
36530 case $1 in
36531 --*=*)
36532 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36533 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36534 ac_shift=:
36535 ;;
36536 -*)
36537 ac_option=$1
36538 ac_optarg=$2
36539 ac_shift=shift
36540 ;;
36541 *) # This is not an option, so the user has probably given explicit
36542 # arguments.
36543 ac_option=$1
36544 ac_need_defaults=false;;
36545 esac
36546
36547 case $ac_option in
36548 # Handling of the options.
36549 _ACEOF
36550 cat >>$CONFIG_STATUS <<\_ACEOF
36551 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36552 ac_cs_recheck=: ;;
36553 --version | --vers* | -V )
36554 echo "$ac_cs_version"; exit 0 ;;
36555 --he | --h)
36556 # Conflict between --help and --header
36557 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36558 Try \`$0 --help' for more information." >&5
36559 echo "$as_me: error: ambiguous option: $1
36560 Try \`$0 --help' for more information." >&2;}
36561 { (exit 1); exit 1; }; };;
36562 --help | --hel | -h )
36563 echo "$ac_cs_usage"; exit 0 ;;
36564 --debug | --d* | -d )
36565 debug=: ;;
36566 --file | --fil | --fi | --f )
36567 $ac_shift
36568 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36569 ac_need_defaults=false;;
36570 --header | --heade | --head | --hea )
36571 $ac_shift
36572 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36573 ac_need_defaults=false;;
36574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36575 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36576 ac_cs_silent=: ;;
36577
36578 # This is an error.
36579 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36580 Try \`$0 --help' for more information." >&5
36581 echo "$as_me: error: unrecognized option: $1
36582 Try \`$0 --help' for more information." >&2;}
36583 { (exit 1); exit 1; }; } ;;
36584
36585 *) ac_config_targets="$ac_config_targets $1" ;;
36586
36587 esac
36588 shift
36589 done
36590
36591 ac_configure_extra_args=
36592
36593 if $ac_cs_silent; then
36594 exec 6>/dev/null
36595 ac_configure_extra_args="$ac_configure_extra_args --silent"
36596 fi
36597
36598 _ACEOF
36599 cat >>$CONFIG_STATUS <<_ACEOF
36600 if \$ac_cs_recheck; then
36601 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36602 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36603 fi
36604
36605 _ACEOF
36606
36607 cat >>$CONFIG_STATUS <<_ACEOF
36608 #
36609 # INIT-COMMANDS section.
36610 #
36611
36612
36613 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36614 LN_S="${LN_S}"
36615
36616
36617
36618 _ACEOF
36619
36620
36621
36622 cat >>$CONFIG_STATUS <<\_ACEOF
36623 for ac_config_target in $ac_config_targets
36624 do
36625 case "$ac_config_target" in
36626 # Handling of arguments.
36627 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36628 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36629 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36630 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36631 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36632 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36633 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36634 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36635 { (exit 1); exit 1; }; };;
36636 esac
36637 done
36638
36639 # If the user did not use the arguments to specify the items to instantiate,
36640 # then the envvar interface is used. Set only those that are not.
36641 # We use the long form for the default assignment because of an extremely
36642 # bizarre bug on SunOS 4.1.3.
36643 if $ac_need_defaults; then
36644 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36645 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36646 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36647 fi
36648
36649 # Have a temporary directory for convenience. Make it in the build tree
36650 # simply because there is no reason to put it here, and in addition,
36651 # creating and moving files from /tmp can sometimes cause problems.
36652 # Create a temporary directory, and hook for its removal unless debugging.
36653 $debug ||
36654 {
36655 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36656 trap '{ (exit 1); exit 1; }' 1 2 13 15
36657 }
36658
36659 # Create a (secure) tmp directory for tmp files.
36660
36661 {
36662 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36663 test -n "$tmp" && test -d "$tmp"
36664 } ||
36665 {
36666 tmp=./confstat$$-$RANDOM
36667 (umask 077 && mkdir $tmp)
36668 } ||
36669 {
36670 echo "$me: cannot create a temporary directory in ." >&2
36671 { (exit 1); exit 1; }
36672 }
36673
36674 _ACEOF
36675
36676 cat >>$CONFIG_STATUS <<_ACEOF
36677
36678 #
36679 # CONFIG_FILES section.
36680 #
36681
36682 # No need to generate the scripts if there are no CONFIG_FILES.
36683 # This happens for instance when ./config.status config.h
36684 if test -n "\$CONFIG_FILES"; then
36685 # Protect against being on the right side of a sed subst in config.status.
36686 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36687 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36688 s,@SHELL@,$SHELL,;t t
36689 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36690 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36691 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36692 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36693 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36694 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36695 s,@exec_prefix@,$exec_prefix,;t t
36696 s,@prefix@,$prefix,;t t
36697 s,@program_transform_name@,$program_transform_name,;t t
36698 s,@bindir@,$bindir,;t t
36699 s,@sbindir@,$sbindir,;t t
36700 s,@libexecdir@,$libexecdir,;t t
36701 s,@datadir@,$datadir,;t t
36702 s,@sysconfdir@,$sysconfdir,;t t
36703 s,@sharedstatedir@,$sharedstatedir,;t t
36704 s,@localstatedir@,$localstatedir,;t t
36705 s,@libdir@,$libdir,;t t
36706 s,@includedir@,$includedir,;t t
36707 s,@oldincludedir@,$oldincludedir,;t t
36708 s,@infodir@,$infodir,;t t
36709 s,@mandir@,$mandir,;t t
36710 s,@build_alias@,$build_alias,;t t
36711 s,@host_alias@,$host_alias,;t t
36712 s,@target_alias@,$target_alias,;t t
36713 s,@DEFS@,$DEFS,;t t
36714 s,@ECHO_C@,$ECHO_C,;t t
36715 s,@ECHO_N@,$ECHO_N,;t t
36716 s,@ECHO_T@,$ECHO_T,;t t
36717 s,@LIBS@,$LIBS,;t t
36718 s,@build@,$build,;t t
36719 s,@build_cpu@,$build_cpu,;t t
36720 s,@build_vendor@,$build_vendor,;t t
36721 s,@build_os@,$build_os,;t t
36722 s,@host@,$host,;t t
36723 s,@host_cpu@,$host_cpu,;t t
36724 s,@host_vendor@,$host_vendor,;t t
36725 s,@host_os@,$host_os,;t t
36726 s,@target@,$target,;t t
36727 s,@target_cpu@,$target_cpu,;t t
36728 s,@target_vendor@,$target_vendor,;t t
36729 s,@target_os@,$target_os,;t t
36730 s,@CC@,$CC,;t t
36731 s,@CFLAGS@,$CFLAGS,;t t
36732 s,@LDFLAGS@,$LDFLAGS,;t t
36733 s,@CPPFLAGS@,$CPPFLAGS,;t t
36734 s,@ac_ct_CC@,$ac_ct_CC,;t t
36735 s,@EXEEXT@,$EXEEXT,;t t
36736 s,@OBJEXT@,$OBJEXT,;t t
36737 s,@CPP@,$CPP,;t t
36738 s,@EGREP@,$EGREP,;t t
36739 s,@CXX@,$CXX,;t t
36740 s,@CXXFLAGS@,$CXXFLAGS,;t t
36741 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36742 s,@RANLIB@,$RANLIB,;t t
36743 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36744 s,@AR@,$AR,;t t
36745 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36746 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36747 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36748 s,@STRIP@,$STRIP,;t t
36749 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36750 s,@LN_S@,$LN_S,;t t
36751 s,@CXXCPP@,$CXXCPP,;t t
36752 s,@subdirs@,$subdirs,;t t
36753 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36754 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36755 s,@GTK_LIBS@,$GTK_LIBS,;t t
36756 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36757 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36758 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36759 s,@X_CFLAGS@,$X_CFLAGS,;t t
36760 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36761 s,@X_LIBS@,$X_LIBS,;t t
36762 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36763 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36764 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36765 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36766 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36767 s,@RESCOMP@,$RESCOMP,;t t
36768 s,@DEREZ@,$DEREZ,;t t
36769 s,@SETFILE@,$SETFILE,;t t
36770 s,@LIBICONV@,$LIBICONV,;t t
36771 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36772 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36773 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36774 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36775 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36776 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36777 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36778 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36779 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36780 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36781 s,@VENDOR@,$VENDOR,;t t
36782 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36783 s,@WXUNIV@,$WXUNIV,;t t
36784 s,@MONOLITHIC@,$MONOLITHIC,;t t
36785 s,@EXTRALIBS@,$EXTRALIBS,;t t
36786 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36787 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36788 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36789 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36790 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36791 s,@UNICODE@,$UNICODE,;t t
36792 s,@BUILD@,$BUILD,;t t
36793 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36794 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36795 s,@SHARED@,$SHARED,;t t
36796 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36797 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36798 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36799 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36800 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36801 s,@SET_MAKE@,$SET_MAKE,;t t
36802 s,@MAKE_SET@,$MAKE_SET,;t t
36803 s,@ac_ct_AR@,$ac_ct_AR,;t t
36804 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36805 s,@NM@,$NM,;t t
36806 s,@ac_ct_NM@,$ac_ct_NM,;t t
36807 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36808 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36809 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36810 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36811 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36812 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36813 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36814 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36815 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36816 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36817 s,@LIBPREFIX@,$LIBPREFIX,;t t
36818 s,@DLLPREFIX@,$DLLPREFIX,;t t
36819 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36820 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36821 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36822 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36823 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36824 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36825 s,@PIC_FLAG@,$PIC_FLAG,;t t
36826 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36827 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36828 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36829 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36830 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36831 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36832 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36833 s,@GCC_PCH@,$GCC_PCH,;t t
36834 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36835 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36836 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36837 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36838 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36839 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36840 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36841 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36842 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36843 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36844 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36845 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36846 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36847 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36848 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
36849 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36850 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36851 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36852 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36853 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
36854 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36855 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36856 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36857 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36858 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36859 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36860 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36861 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36862 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36863 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36864 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36865 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36866 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36867 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36868 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36869 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36870 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36871 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36872 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36873 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36874 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36875 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36876 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36877 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36878 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36879 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36880 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36881 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36882 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36883 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36884 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36885 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36886 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36887 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36888 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36889 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36890 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36891 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36892 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36893 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36894 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36895 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36896 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36897 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36898 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36899 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36900 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36901 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36902 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36903 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36904 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36905 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36906 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36907 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36908 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36909 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36910 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36911 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36912 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36913 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36914 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36915 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36916 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36917 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36918 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36919 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36920 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36921 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36922 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36923 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36924 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36925 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36926 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36927 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36928 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36929 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36930 s,@PATH_IFS@,$PATH_IFS,;t t
36931 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36932 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36933 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36934 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36935 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36936 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36937 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36938 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36939 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36940 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36941 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36942 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36943 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36944 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36945 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36946 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36947 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36948 s,@WX_ALL@,$WX_ALL,;t t
36949 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36950 s,@SHARED_LD@,$SHARED_LD,;t t
36951 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36952 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36953 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36954 s,@USE_GUI@,$USE_GUI,;t t
36955 s,@AFMINSTALL@,$AFMINSTALL,;t t
36956 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36957 s,@TOOLKIT@,$TOOLKIT,;t t
36958 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36959 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36960 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36961 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36962 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36963 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36964 s,@cross_compiling@,$cross_compiling,;t t
36965 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36966 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36967 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36968 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36969 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36970 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36971 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36972 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36973 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36974 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36975 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36976 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36977 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36978 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36979 s,@GUIDIST@,$GUIDIST,;t t
36980 s,@PORT_FILES@,$PORT_FILES,;t t
36981 s,@DISTDIR@,$DISTDIR,;t t
36982 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36983 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36984 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36985 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36986 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36987 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36988 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36989 s,@RESFLAGS@,$RESFLAGS,;t t
36990 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36991 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36992 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36993 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36994 s,@MACRESCOMP@,$MACRESCOMP,;t t
36995 s,@MACSETFILE@,$MACSETFILE,;t t
36996 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36997 s,@GCC@,$GCC,;t t
36998 s,@DLLTOOL@,$DLLTOOL,;t t
36999 s,@AS@,$AS,;t t
37000 s,@LD@,$LD,;t t
37001 s,@MAKEINFO@,$MAKEINFO,;t t
37002 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37003 s,@LIBOBJS@,$LIBOBJS,;t t
37004 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37005 CEOF
37006
37007 _ACEOF
37008
37009 cat >>$CONFIG_STATUS <<\_ACEOF
37010 # Split the substitutions into bite-sized pieces for seds with
37011 # small command number limits, like on Digital OSF/1 and HP-UX.
37012 ac_max_sed_lines=48
37013 ac_sed_frag=1 # Number of current file.
37014 ac_beg=1 # First line for current file.
37015 ac_end=$ac_max_sed_lines # Line after last line for current file.
37016 ac_more_lines=:
37017 ac_sed_cmds=
37018 while $ac_more_lines; do
37019 if test $ac_beg -gt 1; then
37020 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37021 else
37022 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37023 fi
37024 if test ! -s $tmp/subs.frag; then
37025 ac_more_lines=false
37026 else
37027 # The purpose of the label and of the branching condition is to
37028 # speed up the sed processing (if there are no `@' at all, there
37029 # is no need to browse any of the substitutions).
37030 # These are the two extra sed commands mentioned above.
37031 (echo ':t
37032 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37033 if test -z "$ac_sed_cmds"; then
37034 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37035 else
37036 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37037 fi
37038 ac_sed_frag=`expr $ac_sed_frag + 1`
37039 ac_beg=$ac_end
37040 ac_end=`expr $ac_end + $ac_max_sed_lines`
37041 fi
37042 done
37043 if test -z "$ac_sed_cmds"; then
37044 ac_sed_cmds=cat
37045 fi
37046 fi # test -n "$CONFIG_FILES"
37047
37048 _ACEOF
37049 cat >>$CONFIG_STATUS <<\_ACEOF
37050 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37051 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37052 case $ac_file in
37053 - | *:- | *:-:* ) # input from stdin
37054 cat >$tmp/stdin
37055 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37056 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37057 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37058 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37059 * ) ac_file_in=$ac_file.in ;;
37060 esac
37061
37062 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37063 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37065 X"$ac_file" : 'X\(//\)[^/]' \| \
37066 X"$ac_file" : 'X\(//\)$' \| \
37067 X"$ac_file" : 'X\(/\)' \| \
37068 . : '\(.\)' 2>/dev/null ||
37069 echo X"$ac_file" |
37070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37072 /^X\(\/\/\)$/{ s//\1/; q; }
37073 /^X\(\/\).*/{ s//\1/; q; }
37074 s/.*/./; q'`
37075 { if $as_mkdir_p; then
37076 mkdir -p "$ac_dir"
37077 else
37078 as_dir="$ac_dir"
37079 as_dirs=
37080 while test ! -d "$as_dir"; do
37081 as_dirs="$as_dir $as_dirs"
37082 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37083 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37084 X"$as_dir" : 'X\(//\)[^/]' \| \
37085 X"$as_dir" : 'X\(//\)$' \| \
37086 X"$as_dir" : 'X\(/\)' \| \
37087 . : '\(.\)' 2>/dev/null ||
37088 echo X"$as_dir" |
37089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37091 /^X\(\/\/\)$/{ s//\1/; q; }
37092 /^X\(\/\).*/{ s//\1/; q; }
37093 s/.*/./; q'`
37094 done
37095 test ! -n "$as_dirs" || mkdir $as_dirs
37096 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37097 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37098 { (exit 1); exit 1; }; }; }
37099
37100 ac_builddir=.
37101
37102 if test "$ac_dir" != .; then
37103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37104 # A "../" for each directory in $ac_dir_suffix.
37105 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37106 else
37107 ac_dir_suffix= ac_top_builddir=
37108 fi
37109
37110 case $srcdir in
37111 .) # No --srcdir option. We are building in place.
37112 ac_srcdir=.
37113 if test -z "$ac_top_builddir"; then
37114 ac_top_srcdir=.
37115 else
37116 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37117 fi ;;
37118 [\\/]* | ?:[\\/]* ) # Absolute path.
37119 ac_srcdir=$srcdir$ac_dir_suffix;
37120 ac_top_srcdir=$srcdir ;;
37121 *) # Relative path.
37122 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37123 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37124 esac
37125 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37126 # absolute.
37127 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37128 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37129 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37130 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37131
37132
37133 case $INSTALL in
37134 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37135 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37136 esac
37137
37138 if test x"$ac_file" != x-; then
37139 { echo "$as_me:$LINENO: creating $ac_file" >&5
37140 echo "$as_me: creating $ac_file" >&6;}
37141 rm -f "$ac_file"
37142 fi
37143 # Let's still pretend it is `configure' which instantiates (i.e., don't
37144 # use $as_me), people would be surprised to read:
37145 # /* config.h. Generated by config.status. */
37146 if test x"$ac_file" = x-; then
37147 configure_input=
37148 else
37149 configure_input="$ac_file. "
37150 fi
37151 configure_input=$configure_input"Generated from `echo $ac_file_in |
37152 sed 's,.*/,,'` by configure."
37153
37154 # First look for the input files in the build tree, otherwise in the
37155 # src tree.
37156 ac_file_inputs=`IFS=:
37157 for f in $ac_file_in; do
37158 case $f in
37159 -) echo $tmp/stdin ;;
37160 [\\/$]*)
37161 # Absolute (can't be DOS-style, as IFS=:)
37162 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37163 echo "$as_me: error: cannot find input file: $f" >&2;}
37164 { (exit 1); exit 1; }; }
37165 echo $f;;
37166 *) # Relative
37167 if test -f "$f"; then
37168 # Build tree
37169 echo $f
37170 elif test -f "$srcdir/$f"; then
37171 # Source tree
37172 echo $srcdir/$f
37173 else
37174 # /dev/null tree
37175 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37176 echo "$as_me: error: cannot find input file: $f" >&2;}
37177 { (exit 1); exit 1; }; }
37178 fi;;
37179 esac
37180 done` || { (exit 1); exit 1; }
37181 _ACEOF
37182 cat >>$CONFIG_STATUS <<_ACEOF
37183 sed "$ac_vpsub
37184 $extrasub
37185 _ACEOF
37186 cat >>$CONFIG_STATUS <<\_ACEOF
37187 :t
37188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37189 s,@configure_input@,$configure_input,;t t
37190 s,@srcdir@,$ac_srcdir,;t t
37191 s,@abs_srcdir@,$ac_abs_srcdir,;t t
37192 s,@top_srcdir@,$ac_top_srcdir,;t t
37193 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37194 s,@builddir@,$ac_builddir,;t t
37195 s,@abs_builddir@,$ac_abs_builddir,;t t
37196 s,@top_builddir@,$ac_top_builddir,;t t
37197 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37198 s,@INSTALL@,$ac_INSTALL,;t t
37199 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37200 rm -f $tmp/stdin
37201 if test x"$ac_file" != x-; then
37202 mv $tmp/out $ac_file
37203 else
37204 cat $tmp/out
37205 rm -f $tmp/out
37206 fi
37207
37208 done
37209 _ACEOF
37210 cat >>$CONFIG_STATUS <<\_ACEOF
37211
37212 #
37213 # CONFIG_HEADER section.
37214 #
37215
37216 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37217 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37218 #
37219 # ac_d sets the value in "#define NAME VALUE" lines.
37220 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37221 ac_dB='[ ].*$,\1#\2'
37222 ac_dC=' '
37223 ac_dD=',;t'
37224 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37225 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37226 ac_uB='$,\1#\2define\3'
37227 ac_uC=' '
37228 ac_uD=',;t'
37229
37230 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37231 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37232 case $ac_file in
37233 - | *:- | *:-:* ) # input from stdin
37234 cat >$tmp/stdin
37235 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37236 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37237 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37238 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37239 * ) ac_file_in=$ac_file.in ;;
37240 esac
37241
37242 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37243 echo "$as_me: creating $ac_file" >&6;}
37244
37245 # First look for the input files in the build tree, otherwise in the
37246 # src tree.
37247 ac_file_inputs=`IFS=:
37248 for f in $ac_file_in; do
37249 case $f in
37250 -) echo $tmp/stdin ;;
37251 [\\/$]*)
37252 # Absolute (can't be DOS-style, as IFS=:)
37253 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37254 echo "$as_me: error: cannot find input file: $f" >&2;}
37255 { (exit 1); exit 1; }; }
37256 echo $f;;
37257 *) # Relative
37258 if test -f "$f"; then
37259 # Build tree
37260 echo $f
37261 elif test -f "$srcdir/$f"; then
37262 # Source tree
37263 echo $srcdir/$f
37264 else
37265 # /dev/null tree
37266 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37267 echo "$as_me: error: cannot find input file: $f" >&2;}
37268 { (exit 1); exit 1; }; }
37269 fi;;
37270 esac
37271 done` || { (exit 1); exit 1; }
37272 # Remove the trailing spaces.
37273 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37274
37275 _ACEOF
37276
37277 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37278 # `conftest.undefs', that substitutes the proper values into
37279 # config.h.in to produce config.h. The first handles `#define'
37280 # templates, and the second `#undef' templates.
37281 # And first: Protect against being on the right side of a sed subst in
37282 # config.status. Protect against being in an unquoted here document
37283 # in config.status.
37284 rm -f conftest.defines conftest.undefs
37285 # Using a here document instead of a string reduces the quoting nightmare.
37286 # Putting comments in sed scripts is not portable.
37287 #
37288 # `end' is used to avoid that the second main sed command (meant for
37289 # 0-ary CPP macros) applies to n-ary macro definitions.
37290 # See the Autoconf documentation for `clear'.
37291 cat >confdef2sed.sed <<\_ACEOF
37292 s/[\\&,]/\\&/g
37293 s,[\\$`],\\&,g
37294 t clear
37295 : clear
37296 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37297 t end
37298 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37299 : end
37300 _ACEOF
37301 # If some macros were called several times there might be several times
37302 # the same #defines, which is useless. Nevertheless, we may not want to
37303 # sort them, since we want the *last* AC-DEFINE to be honored.
37304 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37305 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37306 rm -f confdef2sed.sed
37307
37308 # This sed command replaces #undef with comments. This is necessary, for
37309 # example, in the case of _POSIX_SOURCE, which is predefined and required
37310 # on some systems where configure will not decide to define it.
37311 cat >>conftest.undefs <<\_ACEOF
37312 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37313 _ACEOF
37314
37315 # Break up conftest.defines because some shells have a limit on the size
37316 # of here documents, and old seds have small limits too (100 cmds).
37317 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37318 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37319 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37320 echo ' :' >>$CONFIG_STATUS
37321 rm -f conftest.tail
37322 while grep . conftest.defines >/dev/null
37323 do
37324 # Write a limited-size here document to $tmp/defines.sed.
37325 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37326 # Speed up: don't consider the non `#define' lines.
37327 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37328 # Work around the forget-to-reset-the-flag bug.
37329 echo 't clr' >>$CONFIG_STATUS
37330 echo ': clr' >>$CONFIG_STATUS
37331 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37332 echo 'CEOF
37333 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37334 rm -f $tmp/in
37335 mv $tmp/out $tmp/in
37336 ' >>$CONFIG_STATUS
37337 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37338 rm -f conftest.defines
37339 mv conftest.tail conftest.defines
37340 done
37341 rm -f conftest.defines
37342 echo ' fi # grep' >>$CONFIG_STATUS
37343 echo >>$CONFIG_STATUS
37344
37345 # Break up conftest.undefs because some shells have a limit on the size
37346 # of here documents, and old seds have small limits too (100 cmds).
37347 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37348 rm -f conftest.tail
37349 while grep . conftest.undefs >/dev/null
37350 do
37351 # Write a limited-size here document to $tmp/undefs.sed.
37352 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37353 # Speed up: don't consider the non `#undef'
37354 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37355 # Work around the forget-to-reset-the-flag bug.
37356 echo 't clr' >>$CONFIG_STATUS
37357 echo ': clr' >>$CONFIG_STATUS
37358 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37359 echo 'CEOF
37360 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37361 rm -f $tmp/in
37362 mv $tmp/out $tmp/in
37363 ' >>$CONFIG_STATUS
37364 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37365 rm -f conftest.undefs
37366 mv conftest.tail conftest.undefs
37367 done
37368 rm -f conftest.undefs
37369
37370 cat >>$CONFIG_STATUS <<\_ACEOF
37371 # Let's still pretend it is `configure' which instantiates (i.e., don't
37372 # use $as_me), people would be surprised to read:
37373 # /* config.h. Generated by config.status. */
37374 if test x"$ac_file" = x-; then
37375 echo "/* Generated by configure. */" >$tmp/config.h
37376 else
37377 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37378 fi
37379 cat $tmp/in >>$tmp/config.h
37380 rm -f $tmp/in
37381 if test x"$ac_file" != x-; then
37382 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37383 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37384 echo "$as_me: $ac_file is unchanged" >&6;}
37385 else
37386 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37388 X"$ac_file" : 'X\(//\)[^/]' \| \
37389 X"$ac_file" : 'X\(//\)$' \| \
37390 X"$ac_file" : 'X\(/\)' \| \
37391 . : '\(.\)' 2>/dev/null ||
37392 echo X"$ac_file" |
37393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37395 /^X\(\/\/\)$/{ s//\1/; q; }
37396 /^X\(\/\).*/{ s//\1/; q; }
37397 s/.*/./; q'`
37398 { if $as_mkdir_p; then
37399 mkdir -p "$ac_dir"
37400 else
37401 as_dir="$ac_dir"
37402 as_dirs=
37403 while test ! -d "$as_dir"; do
37404 as_dirs="$as_dir $as_dirs"
37405 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37407 X"$as_dir" : 'X\(//\)[^/]' \| \
37408 X"$as_dir" : 'X\(//\)$' \| \
37409 X"$as_dir" : 'X\(/\)' \| \
37410 . : '\(.\)' 2>/dev/null ||
37411 echo X"$as_dir" |
37412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37414 /^X\(\/\/\)$/{ s//\1/; q; }
37415 /^X\(\/\).*/{ s//\1/; q; }
37416 s/.*/./; q'`
37417 done
37418 test ! -n "$as_dirs" || mkdir $as_dirs
37419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37421 { (exit 1); exit 1; }; }; }
37422
37423 rm -f $ac_file
37424 mv $tmp/config.h $ac_file
37425 fi
37426 else
37427 cat $tmp/config.h
37428 rm -f $tmp/config.h
37429 fi
37430 done
37431 _ACEOF
37432 cat >>$CONFIG_STATUS <<\_ACEOF
37433
37434 #
37435 # CONFIG_COMMANDS section.
37436 #
37437 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37438 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37439 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37440 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37441 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37442 X"$ac_dest" : 'X\(//\)[^/]' \| \
37443 X"$ac_dest" : 'X\(//\)$' \| \
37444 X"$ac_dest" : 'X\(/\)' \| \
37445 . : '\(.\)' 2>/dev/null ||
37446 echo X"$ac_dest" |
37447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37448 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37449 /^X\(\/\/\)$/{ s//\1/; q; }
37450 /^X\(\/\).*/{ s//\1/; q; }
37451 s/.*/./; q'`
37452 ac_builddir=.
37453
37454 if test "$ac_dir" != .; then
37455 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37456 # A "../" for each directory in $ac_dir_suffix.
37457 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37458 else
37459 ac_dir_suffix= ac_top_builddir=
37460 fi
37461
37462 case $srcdir in
37463 .) # No --srcdir option. We are building in place.
37464 ac_srcdir=.
37465 if test -z "$ac_top_builddir"; then
37466 ac_top_srcdir=.
37467 else
37468 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37469 fi ;;
37470 [\\/]* | ?:[\\/]* ) # Absolute path.
37471 ac_srcdir=$srcdir$ac_dir_suffix;
37472 ac_top_srcdir=$srcdir ;;
37473 *) # Relative path.
37474 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37475 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37476 esac
37477 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37478 # absolute.
37479 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37480 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37481 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37482 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37483
37484
37485 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37486 echo "$as_me: executing $ac_dest commands" >&6;}
37487 case $ac_dest in
37488 default )
37489 if test ! -h wx-config; then
37490 chmod +x wx-config
37491 mv wx-config wx${TOOLCHAIN_NAME}-config
37492 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37493 fi
37494
37495 if test ! -d lib; then
37496 mkdir lib
37497 fi
37498 if test ! -d lib/wx; then
37499 mkdir lib/wx
37500 fi
37501 if test ! -d lib/wx/include; then
37502 mkdir lib/wx/include
37503 fi
37504 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37505 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37506 fi
37507 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37508 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37509 fi
37510 if test -f setup.h; then
37511 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37512 fi
37513 ;;
37514 esac
37515 done
37516 _ACEOF
37517
37518 cat >>$CONFIG_STATUS <<\_ACEOF
37519
37520 { (exit 0); exit 0; }
37521 _ACEOF
37522 chmod +x $CONFIG_STATUS
37523 ac_clean_files=$ac_clean_files_save
37524
37525
37526 # configure is writing to config.log, and then calls config.status.
37527 # config.status does its own redirection, appending to config.log.
37528 # Unfortunately, on DOS this fails, as config.log is still kept open
37529 # by configure, so config.status won't be able to write to it; its
37530 # output is simply discarded. So we exec the FD to /dev/null,
37531 # effectively closing config.log, so it can be properly (re)opened and
37532 # appended to by config.status. When coming back to configure, we
37533 # need to make the FD available again.
37534 if test "$no_create" != yes; then
37535 ac_cs_success=:
37536 ac_config_status_args=
37537 test "$silent" = yes &&
37538 ac_config_status_args="$ac_config_status_args --quiet"
37539 exec 5>/dev/null
37540 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37541 exec 5>>config.log
37542 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37543 # would make configure fail if this is the last instruction.
37544 $ac_cs_success || { (exit 1); exit 1; }
37545 fi
37546
37547 #
37548 # CONFIG_SUBDIRS section.
37549 #
37550 if test "$no_recursion" != yes; then
37551
37552 # Remove --cache-file and --srcdir arguments so they do not pile up.
37553 ac_sub_configure_args=
37554 ac_prev=
37555 for ac_arg in $ac_configure_args; do
37556 if test -n "$ac_prev"; then
37557 ac_prev=
37558 continue
37559 fi
37560 case $ac_arg in
37561 -cache-file | --cache-file | --cache-fil | --cache-fi \
37562 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37563 ac_prev=cache_file ;;
37564 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37565 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37566 | --c=*)
37567 ;;
37568 --config-cache | -C)
37569 ;;
37570 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37571 ac_prev=srcdir ;;
37572 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37573 ;;
37574 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37575 ac_prev=prefix ;;
37576 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37577 ;;
37578 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37579 esac
37580 done
37581
37582 # Always prepend --prefix to ensure using the same prefix
37583 # in subdir configurations.
37584 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37585
37586 ac_popdir=`pwd`
37587 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37588
37589 # Do not complain, so a configure script can configure whichever
37590 # parts of a large source tree are present.
37591 test -d $srcdir/$ac_dir || continue
37592
37593 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37594 echo "$as_me: configuring in $ac_dir" >&6;}
37595 { if $as_mkdir_p; then
37596 mkdir -p "$ac_dir"
37597 else
37598 as_dir="$ac_dir"
37599 as_dirs=
37600 while test ! -d "$as_dir"; do
37601 as_dirs="$as_dir $as_dirs"
37602 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37603 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37604 X"$as_dir" : 'X\(//\)[^/]' \| \
37605 X"$as_dir" : 'X\(//\)$' \| \
37606 X"$as_dir" : 'X\(/\)' \| \
37607 . : '\(.\)' 2>/dev/null ||
37608 echo X"$as_dir" |
37609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37611 /^X\(\/\/\)$/{ s//\1/; q; }
37612 /^X\(\/\).*/{ s//\1/; q; }
37613 s/.*/./; q'`
37614 done
37615 test ! -n "$as_dirs" || mkdir $as_dirs
37616 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37617 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37618 { (exit 1); exit 1; }; }; }
37619
37620 ac_builddir=.
37621
37622 if test "$ac_dir" != .; then
37623 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37624 # A "../" for each directory in $ac_dir_suffix.
37625 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37626 else
37627 ac_dir_suffix= ac_top_builddir=
37628 fi
37629
37630 case $srcdir in
37631 .) # No --srcdir option. We are building in place.
37632 ac_srcdir=.
37633 if test -z "$ac_top_builddir"; then
37634 ac_top_srcdir=.
37635 else
37636 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37637 fi ;;
37638 [\\/]* | ?:[\\/]* ) # Absolute path.
37639 ac_srcdir=$srcdir$ac_dir_suffix;
37640 ac_top_srcdir=$srcdir ;;
37641 *) # Relative path.
37642 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37643 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37644 esac
37645 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37646 # absolute.
37647 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37648 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37649 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37650 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37651
37652
37653 cd $ac_dir
37654
37655 # Check for guested configure; otherwise get Cygnus style configure.
37656 if test -f $ac_srcdir/configure.gnu; then
37657 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37658 elif test -f $ac_srcdir/configure; then
37659 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37660 elif test -f $ac_srcdir/configure.in; then
37661 ac_sub_configure=$ac_configure
37662 else
37663 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37664 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37665 ac_sub_configure=
37666 fi
37667
37668 # The recursion is here.
37669 if test -n "$ac_sub_configure"; then
37670 # Make the cache file name correct relative to the subdirectory.
37671 case $cache_file in
37672 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37673 *) # Relative path.
37674 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37675 esac
37676
37677 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37678 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37679 # The eval makes quoting arguments work.
37680 eval $ac_sub_configure $ac_sub_configure_args \
37681 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37682 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37683 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37684 { (exit 1); exit 1; }; }
37685 fi
37686
37687 cd $ac_popdir
37688 done
37689 fi
37690
37691
37692 echo
37693 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37694 echo ""
37695 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37696 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37697
37698 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37699 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37700 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37701
37702 echo " What level of wxWindows compatibility should be enabled?"
37703 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37704 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37705
37706 echo " Which libraries should wxWindows use?"
37707 echo " jpeg ${wxUSE_LIBJPEG-none}"
37708 echo " png ${wxUSE_LIBPNG-none}"
37709 echo " regex ${wxUSE_REGEX}"
37710 echo " tiff ${wxUSE_LIBTIFF-none}"
37711 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37712 echo " xpm ${wxUSE_LIBXPM-none}"
37713 fi
37714 echo " zlib ${wxUSE_ZLIB}"
37715 echo " odbc ${wxUSE_ODBC}"
37716 echo " expat ${wxUSE_EXPAT}"
37717 echo " libmspack ${wxUSE_LIBMSPACK}"
37718
37719 echo ""
37720