]> git.saurik.com Git - wxWidgets.git/blob - configure
Correct a compile warning
[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 MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653 done
654
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
802
803 Defaults for the options are specified in brackets.
804
805 Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816 _ACEOF
817
818 cat <<_ACEOF
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
829
830 For better control, use the options below.
831
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845 _ACEOF
846
847 cat <<\_ACEOF
848
849 X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853 System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857 _ACEOF
858 fi
859
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035 Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-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_TOOLBAR_NATIVE=no
6709 DEFAULT_wxUSE_SCROLLBAR=no
6710 DEFAULT_wxUSE_TOOLTIPS=no
6711 DEFAULT_wxUSE_DRAGIMAGE=no
6712 fi
6713
6714
6715 enablestring=
6716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6717 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6718 no_cache=0
6719 # Check whether --enable-accel or --disable-accel was given.
6720 if test "${enable_accel+set}" = set; then
6721 enableval="$enable_accel"
6722
6723 if test "$enableval" = yes; then
6724 ac_cv_use_accel='wxUSE_ACCEL=yes'
6725 else
6726 ac_cv_use_accel='wxUSE_ACCEL=no'
6727 fi
6728
6729 else
6730
6731 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6732 if test "x$LINE" != x ; then
6733 eval "DEFAULT_$LINE"
6734 else
6735 no_cache=1
6736 fi
6737
6738 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6739
6740 fi;
6741
6742 eval "$ac_cv_use_accel"
6743 if test "$no_cache" != 1; then
6744 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6745 fi
6746
6747 if test "$wxUSE_ACCEL" = yes; then
6748 echo "$as_me:$LINENO: result: yes" >&5
6749 echo "${ECHO_T}yes" >&6
6750 else
6751 echo "$as_me:$LINENO: result: no" >&5
6752 echo "${ECHO_T}no" >&6
6753 fi
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-button or --disable-button was given.
6761 if test "${enable_button+set}" = set; then
6762 enableval="$enable_button"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_button='wxUSE_BUTTON=yes'
6766 else
6767 ac_cv_use_button='wxUSE_BUTTON=no'
6768 fi
6769
6770 else
6771
6772 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6780
6781 fi;
6782
6783 eval "$ac_cv_use_button"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_BUTTON" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 enablestring=
6798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6799 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6800 no_cache=0
6801 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6802 if test "${enable_bmpbutton+set}" = set; then
6803 enableval="$enable_bmpbutton"
6804
6805 if test "$enableval" = yes; then
6806 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6807 else
6808 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6809 fi
6810
6811 else
6812
6813 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x ; then
6815 eval "DEFAULT_$LINE"
6816 else
6817 no_cache=1
6818 fi
6819
6820 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6821
6822 fi;
6823
6824 eval "$ac_cv_use_bmpbutton"
6825 if test "$no_cache" != 1; then
6826 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6827 fi
6828
6829 if test "$wxUSE_BMPBUTTON" = yes; then
6830 echo "$as_me:$LINENO: result: yes" >&5
6831 echo "${ECHO_T}yes" >&6
6832 else
6833 echo "$as_me:$LINENO: result: no" >&5
6834 echo "${ECHO_T}no" >&6
6835 fi
6836
6837
6838 enablestring=
6839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6840 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6841 no_cache=0
6842 # Check whether --enable-calendar or --disable-calendar was given.
6843 if test "${enable_calendar+set}" = set; then
6844 enableval="$enable_calendar"
6845
6846 if test "$enableval" = yes; then
6847 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6848 else
6849 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6850 fi
6851
6852 else
6853
6854 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x ; then
6856 eval "DEFAULT_$LINE"
6857 else
6858 no_cache=1
6859 fi
6860
6861 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6862
6863 fi;
6864
6865 eval "$ac_cv_use_calendar"
6866 if test "$no_cache" != 1; then
6867 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6868 fi
6869
6870 if test "$wxUSE_CALCTRL" = yes; then
6871 echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6
6873 else
6874 echo "$as_me:$LINENO: result: no" >&5
6875 echo "${ECHO_T}no" >&6
6876 fi
6877
6878
6879 enablestring=
6880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6882 no_cache=0
6883 # Check whether --enable-caret or --disable-caret was given.
6884 if test "${enable_caret+set}" = set; then
6885 enableval="$enable_caret"
6886
6887 if test "$enableval" = yes; then
6888 ac_cv_use_caret='wxUSE_CARET=yes'
6889 else
6890 ac_cv_use_caret='wxUSE_CARET=no'
6891 fi
6892
6893 else
6894
6895 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x ; then
6897 eval "DEFAULT_$LINE"
6898 else
6899 no_cache=1
6900 fi
6901
6902 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6903
6904 fi;
6905
6906 eval "$ac_cv_use_caret"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6909 fi
6910
6911 if test "$wxUSE_CARET" = yes; then
6912 echo "$as_me:$LINENO: result: yes" >&5
6913 echo "${ECHO_T}yes" >&6
6914 else
6915 echo "$as_me:$LINENO: result: no" >&5
6916 echo "${ECHO_T}no" >&6
6917 fi
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-checkbox or --disable-checkbox was given.
6925 if test "${enable_checkbox+set}" = set; then
6926 enableval="$enable_checkbox"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6930 else
6931 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6944
6945 fi;
6946
6947 eval "$ac_cv_use_checkbox"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_CHECKBOX" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961 enablestring=
6962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6963 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6964 no_cache=0
6965 # Check whether --enable-checklst or --disable-checklst was given.
6966 if test "${enable_checklst+set}" = set; then
6967 enableval="$enable_checklst"
6968
6969 if test "$enableval" = yes; then
6970 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6971 else
6972 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6973 fi
6974
6975 else
6976
6977 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x ; then
6979 eval "DEFAULT_$LINE"
6980 else
6981 no_cache=1
6982 fi
6983
6984 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6985
6986 fi;
6987
6988 eval "$ac_cv_use_checklst"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6991 fi
6992
6993 if test "$wxUSE_CHECKLST" = yes; then
6994 echo "$as_me:$LINENO: result: yes" >&5
6995 echo "${ECHO_T}yes" >&6
6996 else
6997 echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6
6999 fi
7000
7001
7002 enablestring=
7003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7004 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7005 no_cache=0
7006 # Check whether --enable-choice or --disable-choice was given.
7007 if test "${enable_choice+set}" = set; then
7008 enableval="$enable_choice"
7009
7010 if test "$enableval" = yes; then
7011 ac_cv_use_choice='wxUSE_CHOICE=yes'
7012 else
7013 ac_cv_use_choice='wxUSE_CHOICE=no'
7014 fi
7015
7016 else
7017
7018 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x ; then
7020 eval "DEFAULT_$LINE"
7021 else
7022 no_cache=1
7023 fi
7024
7025 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7026
7027 fi;
7028
7029 eval "$ac_cv_use_choice"
7030 if test "$no_cache" != 1; then
7031 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7032 fi
7033
7034 if test "$wxUSE_CHOICE" = yes; then
7035 echo "$as_me:$LINENO: result: yes" >&5
7036 echo "${ECHO_T}yes" >&6
7037 else
7038 echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7040 fi
7041
7042
7043 enablestring=
7044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7046 no_cache=0
7047 # Check whether --enable-combobox or --disable-combobox was given.
7048 if test "${enable_combobox+set}" = set; then
7049 enableval="$enable_combobox"
7050
7051 if test "$enableval" = yes; then
7052 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7053 else
7054 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7055 fi
7056
7057 else
7058
7059 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x ; then
7061 eval "DEFAULT_$LINE"
7062 else
7063 no_cache=1
7064 fi
7065
7066 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7067
7068 fi;
7069
7070 eval "$ac_cv_use_combobox"
7071 if test "$no_cache" != 1; then
7072 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7073 fi
7074
7075 if test "$wxUSE_COMBOBOX" = yes; then
7076 echo "$as_me:$LINENO: result: yes" >&5
7077 echo "${ECHO_T}yes" >&6
7078 else
7079 echo "$as_me:$LINENO: result: no" >&5
7080 echo "${ECHO_T}no" >&6
7081 fi
7082
7083
7084 enablestring=
7085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7087 no_cache=0
7088 # Check whether --enable-display or --disable-display was given.
7089 if test "${enable_display+set}" = set; then
7090 enableval="$enable_display"
7091
7092 if test "$enableval" = yes; then
7093 ac_cv_use_display='wxUSE_DISPLAY=yes'
7094 else
7095 ac_cv_use_display='wxUSE_DISPLAY=no'
7096 fi
7097
7098 else
7099
7100 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x ; then
7102 eval "DEFAULT_$LINE"
7103 else
7104 no_cache=1
7105 fi
7106
7107 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7108
7109 fi;
7110
7111 eval "$ac_cv_use_display"
7112 if test "$no_cache" != 1; then
7113 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7114 fi
7115
7116 if test "$wxUSE_DISPLAY" = yes; then
7117 echo "$as_me:$LINENO: result: yes" >&5
7118 echo "${ECHO_T}yes" >&6
7119 else
7120 echo "$as_me:$LINENO: result: no" >&5
7121 echo "${ECHO_T}no" >&6
7122 fi
7123
7124
7125 enablestring=
7126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7127 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7128 no_cache=0
7129 # Check whether --enable-gauge or --disable-gauge was given.
7130 if test "${enable_gauge+set}" = set; then
7131 enableval="$enable_gauge"
7132
7133 if test "$enableval" = yes; then
7134 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7135 else
7136 ac_cv_use_gauge='wxUSE_GAUGE=no'
7137 fi
7138
7139 else
7140
7141 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x ; then
7143 eval "DEFAULT_$LINE"
7144 else
7145 no_cache=1
7146 fi
7147
7148 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7149
7150 fi;
7151
7152 eval "$ac_cv_use_gauge"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7155 fi
7156
7157 if test "$wxUSE_GAUGE" = yes; then
7158 echo "$as_me:$LINENO: result: yes" >&5
7159 echo "${ECHO_T}yes" >&6
7160 else
7161 echo "$as_me:$LINENO: result: no" >&5
7162 echo "${ECHO_T}no" >&6
7163 fi
7164
7165
7166 enablestring=
7167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7169 no_cache=0
7170 # Check whether --enable-grid or --disable-grid was given.
7171 if test "${enable_grid+set}" = set; then
7172 enableval="$enable_grid"
7173
7174 if test "$enableval" = yes; then
7175 ac_cv_use_grid='wxUSE_GRID=yes'
7176 else
7177 ac_cv_use_grid='wxUSE_GRID=no'
7178 fi
7179
7180 else
7181
7182 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x ; then
7184 eval "DEFAULT_$LINE"
7185 else
7186 no_cache=1
7187 fi
7188
7189 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7190
7191 fi;
7192
7193 eval "$ac_cv_use_grid"
7194 if test "$no_cache" != 1; then
7195 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7196 fi
7197
7198 if test "$wxUSE_GRID" = yes; then
7199 echo "$as_me:$LINENO: result: yes" >&5
7200 echo "${ECHO_T}yes" >&6
7201 else
7202 echo "$as_me:$LINENO: result: no" >&5
7203 echo "${ECHO_T}no" >&6
7204 fi
7205
7206
7207 enablestring=
7208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7210 no_cache=0
7211 # Check whether --enable-imaglist or --disable-imaglist was given.
7212 if test "${enable_imaglist+set}" = set; then
7213 enableval="$enable_imaglist"
7214
7215 if test "$enableval" = yes; then
7216 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7217 else
7218 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7219 fi
7220
7221 else
7222
7223 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x ; then
7225 eval "DEFAULT_$LINE"
7226 else
7227 no_cache=1
7228 fi
7229
7230 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7231
7232 fi;
7233
7234 eval "$ac_cv_use_imaglist"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7237 fi
7238
7239 if test "$wxUSE_IMAGLIST" = yes; then
7240 echo "$as_me:$LINENO: result: yes" >&5
7241 echo "${ECHO_T}yes" >&6
7242 else
7243 echo "$as_me:$LINENO: result: no" >&5
7244 echo "${ECHO_T}no" >&6
7245 fi
7246
7247
7248 enablestring=
7249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7250 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7251 no_cache=0
7252 # Check whether --enable-listbook or --disable-listbook was given.
7253 if test "${enable_listbook+set}" = set; then
7254 enableval="$enable_listbook"
7255
7256 if test "$enableval" = yes; then
7257 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7258 else
7259 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7260 fi
7261
7262 else
7263
7264 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x ; then
7266 eval "DEFAULT_$LINE"
7267 else
7268 no_cache=1
7269 fi
7270
7271 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7272
7273 fi;
7274
7275 eval "$ac_cv_use_listbook"
7276 if test "$no_cache" != 1; then
7277 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7278 fi
7279
7280 if test "$wxUSE_LISTBOOK" = yes; then
7281 echo "$as_me:$LINENO: result: yes" >&5
7282 echo "${ECHO_T}yes" >&6
7283 else
7284 echo "$as_me:$LINENO: result: no" >&5
7285 echo "${ECHO_T}no" >&6
7286 fi
7287
7288
7289 enablestring=
7290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7292 no_cache=0
7293 # Check whether --enable-listbox or --disable-listbox was given.
7294 if test "${enable_listbox+set}" = set; then
7295 enableval="$enable_listbox"
7296
7297 if test "$enableval" = yes; then
7298 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7299 else
7300 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7301 fi
7302
7303 else
7304
7305 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x ; then
7307 eval "DEFAULT_$LINE"
7308 else
7309 no_cache=1
7310 fi
7311
7312 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7313
7314 fi;
7315
7316 eval "$ac_cv_use_listbox"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7319 fi
7320
7321 if test "$wxUSE_LISTBOX" = yes; then
7322 echo "$as_me:$LINENO: result: yes" >&5
7323 echo "${ECHO_T}yes" >&6
7324 else
7325 echo "$as_me:$LINENO: result: no" >&5
7326 echo "${ECHO_T}no" >&6
7327 fi
7328
7329
7330 enablestring=
7331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7332 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7333 no_cache=0
7334 # Check whether --enable-listctrl or --disable-listctrl was given.
7335 if test "${enable_listctrl+set}" = set; then
7336 enableval="$enable_listctrl"
7337
7338 if test "$enableval" = yes; then
7339 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7340 else
7341 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7342 fi
7343
7344 else
7345
7346 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7347 if test "x$LINE" != x ; then
7348 eval "DEFAULT_$LINE"
7349 else
7350 no_cache=1
7351 fi
7352
7353 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7354
7355 fi;
7356
7357 eval "$ac_cv_use_listctrl"
7358 if test "$no_cache" != 1; then
7359 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7360 fi
7361
7362 if test "$wxUSE_LISTCTRL" = yes; then
7363 echo "$as_me:$LINENO: result: yes" >&5
7364 echo "${ECHO_T}yes" >&6
7365 else
7366 echo "$as_me:$LINENO: result: no" >&5
7367 echo "${ECHO_T}no" >&6
7368 fi
7369
7370
7371 enablestring=
7372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7373 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7374 no_cache=0
7375 # Check whether --enable-notebook or --disable-notebook was given.
7376 if test "${enable_notebook+set}" = set; then
7377 enableval="$enable_notebook"
7378
7379 if test "$enableval" = yes; then
7380 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7381 else
7382 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7383 fi
7384
7385 else
7386
7387 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x ; then
7389 eval "DEFAULT_$LINE"
7390 else
7391 no_cache=1
7392 fi
7393
7394 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7395
7396 fi;
7397
7398 eval "$ac_cv_use_notebook"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7401 fi
7402
7403 if test "$wxUSE_NOTEBOOK" = yes; then
7404 echo "$as_me:$LINENO: result: yes" >&5
7405 echo "${ECHO_T}yes" >&6
7406 else
7407 echo "$as_me:$LINENO: result: no" >&5
7408 echo "${ECHO_T}no" >&6
7409 fi
7410
7411
7412 enablestring=
7413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7415 no_cache=0
7416 # Check whether --enable-radiobox or --disable-radiobox was given.
7417 if test "${enable_radiobox+set}" = set; then
7418 enableval="$enable_radiobox"
7419
7420 if test "$enableval" = yes; then
7421 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7422 else
7423 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7424 fi
7425
7426 else
7427
7428 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7429 if test "x$LINE" != x ; then
7430 eval "DEFAULT_$LINE"
7431 else
7432 no_cache=1
7433 fi
7434
7435 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7436
7437 fi;
7438
7439 eval "$ac_cv_use_radiobox"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7442 fi
7443
7444 if test "$wxUSE_RADIOBOX" = yes; then
7445 echo "$as_me:$LINENO: result: yes" >&5
7446 echo "${ECHO_T}yes" >&6
7447 else
7448 echo "$as_me:$LINENO: result: no" >&5
7449 echo "${ECHO_T}no" >&6
7450 fi
7451
7452
7453 enablestring=
7454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7455 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7456 no_cache=0
7457 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7458 if test "${enable_radiobtn+set}" = set; then
7459 enableval="$enable_radiobtn"
7460
7461 if test "$enableval" = yes; then
7462 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7463 else
7464 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7465 fi
7466
7467 else
7468
7469 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x ; then
7471 eval "DEFAULT_$LINE"
7472 else
7473 no_cache=1
7474 fi
7475
7476 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7477
7478 fi;
7479
7480 eval "$ac_cv_use_radiobtn"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7483 fi
7484
7485 if test "$wxUSE_RADIOBTN" = yes; then
7486 echo "$as_me:$LINENO: result: yes" >&5
7487 echo "${ECHO_T}yes" >&6
7488 else
7489 echo "$as_me:$LINENO: result: no" >&5
7490 echo "${ECHO_T}no" >&6
7491 fi
7492
7493
7494 enablestring=
7495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7496 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7497 no_cache=0
7498 # Check whether --enable-sash or --disable-sash was given.
7499 if test "${enable_sash+set}" = set; then
7500 enableval="$enable_sash"
7501
7502 if test "$enableval" = yes; then
7503 ac_cv_use_sash='wxUSE_SASH=yes'
7504 else
7505 ac_cv_use_sash='wxUSE_SASH=no'
7506 fi
7507
7508 else
7509
7510 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x ; then
7512 eval "DEFAULT_$LINE"
7513 else
7514 no_cache=1
7515 fi
7516
7517 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7518
7519 fi;
7520
7521 eval "$ac_cv_use_sash"
7522 if test "$no_cache" != 1; then
7523 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7524 fi
7525
7526 if test "$wxUSE_SASH" = yes; then
7527 echo "$as_me:$LINENO: result: yes" >&5
7528 echo "${ECHO_T}yes" >&6
7529 else
7530 echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6
7532 fi
7533
7534
7535 enablestring=
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7538 no_cache=0
7539 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7540 if test "${enable_scrollbar+set}" = set; then
7541 enableval="$enable_scrollbar"
7542
7543 if test "$enableval" = yes; then
7544 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7545 else
7546 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7547 fi
7548
7549 else
7550
7551 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7554 else
7555 no_cache=1
7556 fi
7557
7558 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7559
7560 fi;
7561
7562 eval "$ac_cv_use_scrollbar"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7565 fi
7566
7567 if test "$wxUSE_SCROLLBAR" = yes; then
7568 echo "$as_me:$LINENO: result: yes" >&5
7569 echo "${ECHO_T}yes" >&6
7570 else
7571 echo "$as_me:$LINENO: result: no" >&5
7572 echo "${ECHO_T}no" >&6
7573 fi
7574
7575
7576 enablestring=
7577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7579 no_cache=0
7580 # Check whether --enable-slider or --disable-slider was given.
7581 if test "${enable_slider+set}" = set; then
7582 enableval="$enable_slider"
7583
7584 if test "$enableval" = yes; then
7585 ac_cv_use_slider='wxUSE_SLIDER=yes'
7586 else
7587 ac_cv_use_slider='wxUSE_SLIDER=no'
7588 fi
7589
7590 else
7591
7592 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7593 if test "x$LINE" != x ; then
7594 eval "DEFAULT_$LINE"
7595 else
7596 no_cache=1
7597 fi
7598
7599 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7600
7601 fi;
7602
7603 eval "$ac_cv_use_slider"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7606 fi
7607
7608 if test "$wxUSE_SLIDER" = yes; then
7609 echo "$as_me:$LINENO: result: yes" >&5
7610 echo "${ECHO_T}yes" >&6
7611 else
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7614 fi
7615
7616
7617 enablestring=
7618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7620 no_cache=0
7621 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7622 if test "${enable_spinbtn+set}" = set; then
7623 enableval="$enable_spinbtn"
7624
7625 if test "$enableval" = yes; then
7626 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7627 else
7628 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7629 fi
7630
7631 else
7632
7633 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7634 if test "x$LINE" != x ; then
7635 eval "DEFAULT_$LINE"
7636 else
7637 no_cache=1
7638 fi
7639
7640 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7641
7642 fi;
7643
7644 eval "$ac_cv_use_spinbtn"
7645 if test "$no_cache" != 1; then
7646 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7647 fi
7648
7649 if test "$wxUSE_SPINBTN" = yes; then
7650 echo "$as_me:$LINENO: result: yes" >&5
7651 echo "${ECHO_T}yes" >&6
7652 else
7653 echo "$as_me:$LINENO: result: no" >&5
7654 echo "${ECHO_T}no" >&6
7655 fi
7656
7657
7658 enablestring=
7659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7661 no_cache=0
7662 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7663 if test "${enable_spinctrl+set}" = set; then
7664 enableval="$enable_spinctrl"
7665
7666 if test "$enableval" = yes; then
7667 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7668 else
7669 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7670 fi
7671
7672 else
7673
7674 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7675 if test "x$LINE" != x ; then
7676 eval "DEFAULT_$LINE"
7677 else
7678 no_cache=1
7679 fi
7680
7681 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7682
7683 fi;
7684
7685 eval "$ac_cv_use_spinctrl"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7688 fi
7689
7690 if test "$wxUSE_SPINCTRL" = yes; then
7691 echo "$as_me:$LINENO: result: yes" >&5
7692 echo "${ECHO_T}yes" >&6
7693 else
7694 echo "$as_me:$LINENO: result: no" >&5
7695 echo "${ECHO_T}no" >&6
7696 fi
7697
7698
7699 enablestring=
7700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7701 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7702 no_cache=0
7703 # Check whether --enable-splitter or --disable-splitter was given.
7704 if test "${enable_splitter+set}" = set; then
7705 enableval="$enable_splitter"
7706
7707 if test "$enableval" = yes; then
7708 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7709 else
7710 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7711 fi
7712
7713 else
7714
7715 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7716 if test "x$LINE" != x ; then
7717 eval "DEFAULT_$LINE"
7718 else
7719 no_cache=1
7720 fi
7721
7722 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7723
7724 fi;
7725
7726 eval "$ac_cv_use_splitter"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7729 fi
7730
7731 if test "$wxUSE_SPLITTER" = yes; then
7732 echo "$as_me:$LINENO: result: yes" >&5
7733 echo "${ECHO_T}yes" >&6
7734 else
7735 echo "$as_me:$LINENO: result: no" >&5
7736 echo "${ECHO_T}no" >&6
7737 fi
7738
7739
7740 enablestring=
7741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7742 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7743 no_cache=0
7744 # Check whether --enable-statbmp or --disable-statbmp was given.
7745 if test "${enable_statbmp+set}" = set; then
7746 enableval="$enable_statbmp"
7747
7748 if test "$enableval" = yes; then
7749 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7750 else
7751 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7752 fi
7753
7754 else
7755
7756 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x ; then
7758 eval "DEFAULT_$LINE"
7759 else
7760 no_cache=1
7761 fi
7762
7763 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7764
7765 fi;
7766
7767 eval "$ac_cv_use_statbmp"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7770 fi
7771
7772 if test "$wxUSE_STATBMP" = yes; then
7773 echo "$as_me:$LINENO: result: yes" >&5
7774 echo "${ECHO_T}yes" >&6
7775 else
7776 echo "$as_me:$LINENO: result: no" >&5
7777 echo "${ECHO_T}no" >&6
7778 fi
7779
7780
7781 enablestring=
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7784 no_cache=0
7785 # Check whether --enable-statbox or --disable-statbox was given.
7786 if test "${enable_statbox+set}" = set; then
7787 enableval="$enable_statbox"
7788
7789 if test "$enableval" = yes; then
7790 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7791 else
7792 ac_cv_use_statbox='wxUSE_STATBOX=no'
7793 fi
7794
7795 else
7796
7797 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7800 else
7801 no_cache=1
7802 fi
7803
7804 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7805
7806 fi;
7807
7808 eval "$ac_cv_use_statbox"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7811 fi
7812
7813 if test "$wxUSE_STATBOX" = yes; then
7814 echo "$as_me:$LINENO: result: yes" >&5
7815 echo "${ECHO_T}yes" >&6
7816 else
7817 echo "$as_me:$LINENO: result: no" >&5
7818 echo "${ECHO_T}no" >&6
7819 fi
7820
7821
7822 enablestring=
7823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7824 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7825 no_cache=0
7826 # Check whether --enable-statline or --disable-statline was given.
7827 if test "${enable_statline+set}" = set; then
7828 enableval="$enable_statline"
7829
7830 if test "$enableval" = yes; then
7831 ac_cv_use_statline='wxUSE_STATLINE=yes'
7832 else
7833 ac_cv_use_statline='wxUSE_STATLINE=no'
7834 fi
7835
7836 else
7837
7838 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7841 else
7842 no_cache=1
7843 fi
7844
7845 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7846
7847 fi;
7848
7849 eval "$ac_cv_use_statline"
7850 if test "$no_cache" != 1; then
7851 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7852 fi
7853
7854 if test "$wxUSE_STATLINE" = yes; then
7855 echo "$as_me:$LINENO: result: yes" >&5
7856 echo "${ECHO_T}yes" >&6
7857 else
7858 echo "$as_me:$LINENO: result: no" >&5
7859 echo "${ECHO_T}no" >&6
7860 fi
7861
7862
7863 enablestring=
7864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7865 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7866 no_cache=0
7867 # Check whether --enable-stattext or --disable-stattext was given.
7868 if test "${enable_stattext+set}" = set; then
7869 enableval="$enable_stattext"
7870
7871 if test "$enableval" = yes; then
7872 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7873 else
7874 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7875 fi
7876
7877 else
7878
7879 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7887
7888 fi;
7889
7890 eval "$ac_cv_use_stattext"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7893 fi
7894
7895 if test "$wxUSE_STATTEXT" = yes; then
7896 echo "$as_me:$LINENO: result: yes" >&5
7897 echo "${ECHO_T}yes" >&6
7898 else
7899 echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6
7901 fi
7902
7903
7904 enablestring=
7905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7906 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7907 no_cache=0
7908 # Check whether --enable-statusbar or --disable-statusbar was given.
7909 if test "${enable_statusbar+set}" = set; then
7910 enableval="$enable_statusbar"
7911
7912 if test "$enableval" = yes; then
7913 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7914 else
7915 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7916 fi
7917
7918 else
7919
7920 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7928
7929 fi;
7930
7931 eval "$ac_cv_use_statusbar"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7934 fi
7935
7936 if test "$wxUSE_STATUSBAR" = yes; then
7937 echo "$as_me:$LINENO: result: yes" >&5
7938 echo "${ECHO_T}yes" >&6
7939 else
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7942 fi
7943
7944
7945 enablestring=
7946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7948 no_cache=0
7949 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7950 if test "${enable_tabdialog+set}" = set; then
7951 enableval="$enable_tabdialog"
7952
7953 if test "$enableval" = yes; then
7954 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7955 else
7956 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7957 fi
7958
7959 else
7960
7961 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7969
7970 fi;
7971
7972 eval "$ac_cv_use_tabdialog"
7973 if test "$no_cache" != 1; then
7974 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7975 fi
7976
7977 if test "$wxUSE_TABDIALOG" = yes; then
7978 echo "$as_me:$LINENO: result: yes" >&5
7979 echo "${ECHO_T}yes" >&6
7980 else
7981 echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6
7983 fi
7984
7985
7986 enablestring=
7987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7989 no_cache=0
7990 # Check whether --enable-textctrl or --disable-textctrl was given.
7991 if test "${enable_textctrl+set}" = set; then
7992 enableval="$enable_textctrl"
7993
7994 if test "$enableval" = yes; then
7995 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7996 else
7997 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7998 fi
7999
8000 else
8001
8002 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8010
8011 fi;
8012
8013 eval "$ac_cv_use_textctrl"
8014 if test "$no_cache" != 1; then
8015 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8016 fi
8017
8018 if test "$wxUSE_TEXTCTRL" = yes; then
8019 echo "$as_me:$LINENO: result: yes" >&5
8020 echo "${ECHO_T}yes" >&6
8021 else
8022 echo "$as_me:$LINENO: result: no" >&5
8023 echo "${ECHO_T}no" >&6
8024 fi
8025
8026
8027 enablestring=
8028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8029 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8030 no_cache=0
8031 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8032 if test "${enable_togglebtn+set}" = set; then
8033 enableval="$enable_togglebtn"
8034
8035 if test "$enableval" = yes; then
8036 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8037 else
8038 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8039 fi
8040
8041 else
8042
8043 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8051
8052 fi;
8053
8054 eval "$ac_cv_use_togglebtn"
8055 if test "$no_cache" != 1; then
8056 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8057 fi
8058
8059 if test "$wxUSE_TOGGLEBTN" = yes; then
8060 echo "$as_me:$LINENO: result: yes" >&5
8061 echo "${ECHO_T}yes" >&6
8062 else
8063 echo "$as_me:$LINENO: result: no" >&5
8064 echo "${ECHO_T}no" >&6
8065 fi
8066
8067
8068 enablestring=
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8071 no_cache=0
8072 # Check whether --enable-toolbar or --disable-toolbar was given.
8073 if test "${enable_toolbar+set}" = set; then
8074 enableval="$enable_toolbar"
8075
8076 if test "$enableval" = yes; then
8077 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8078 else
8079 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8080 fi
8081
8082 else
8083
8084 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8092
8093 fi;
8094
8095 eval "$ac_cv_use_toolbar"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8098 fi
8099
8100 if test "$wxUSE_TOOLBAR" = yes; then
8101 echo "$as_me:$LINENO: result: yes" >&5
8102 echo "${ECHO_T}yes" >&6
8103 else
8104 echo "$as_me:$LINENO: result: no" >&5
8105 echo "${ECHO_T}no" >&6
8106 fi
8107
8108
8109 enablestring=
8110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8111 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8112 no_cache=0
8113 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8114 if test "${enable_tbarnative+set}" = set; then
8115 enableval="$enable_tbarnative"
8116
8117 if test "$enableval" = yes; then
8118 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8119 else
8120 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8121 fi
8122
8123 else
8124
8125 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8133
8134 fi;
8135
8136 eval "$ac_cv_use_tbarnative"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8139 fi
8140
8141 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8142 echo "$as_me:$LINENO: result: yes" >&5
8143 echo "${ECHO_T}yes" >&6
8144 else
8145 echo "$as_me:$LINENO: result: no" >&5
8146 echo "${ECHO_T}no" >&6
8147 fi
8148
8149
8150 enablestring=
8151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8152 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8153 no_cache=0
8154 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8155 if test "${enable_tbarsmpl+set}" = set; then
8156 enableval="$enable_tbarsmpl"
8157
8158 if test "$enableval" = yes; then
8159 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8160 else
8161 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8162 fi
8163
8164 else
8165
8166 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8174
8175 fi;
8176
8177 eval "$ac_cv_use_tbarsmpl"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8180 fi
8181
8182 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8183 echo "$as_me:$LINENO: result: yes" >&5
8184 echo "${ECHO_T}yes" >&6
8185 else
8186 echo "$as_me:$LINENO: result: no" >&5
8187 echo "${ECHO_T}no" >&6
8188 fi
8189
8190
8191 enablestring=
8192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8193 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8194 no_cache=0
8195 # Check whether --enable-treectrl or --disable-treectrl was given.
8196 if test "${enable_treectrl+set}" = set; then
8197 enableval="$enable_treectrl"
8198
8199 if test "$enableval" = yes; then
8200 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8201 else
8202 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8203 fi
8204
8205 else
8206
8207 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8215
8216 fi;
8217
8218 eval "$ac_cv_use_treectrl"
8219 if test "$no_cache" != 1; then
8220 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8221 fi
8222
8223 if test "$wxUSE_TREECTRL" = yes; then
8224 echo "$as_me:$LINENO: result: yes" >&5
8225 echo "${ECHO_T}yes" >&6
8226 else
8227 echo "$as_me:$LINENO: result: no" >&5
8228 echo "${ECHO_T}no" >&6
8229 fi
8230
8231
8232 enablestring=
8233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8235 no_cache=0
8236 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8237 if test "${enable_tipwindow+set}" = set; then
8238 enableval="$enable_tipwindow"
8239
8240 if test "$enableval" = yes; then
8241 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8242 else
8243 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8244 fi
8245
8246 else
8247
8248 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8256
8257 fi;
8258
8259 eval "$ac_cv_use_tipwindow"
8260 if test "$no_cache" != 1; then
8261 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8262 fi
8263
8264 if test "$wxUSE_TIPWINDOW" = yes; then
8265 echo "$as_me:$LINENO: result: yes" >&5
8266 echo "${ECHO_T}yes" >&6
8267 else
8268 echo "$as_me:$LINENO: result: no" >&5
8269 echo "${ECHO_T}no" >&6
8270 fi
8271
8272
8273 enablestring=
8274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8276 no_cache=0
8277 # Check whether --enable-popupwin or --disable-popupwin was given.
8278 if test "${enable_popupwin+set}" = set; then
8279 enableval="$enable_popupwin"
8280
8281 if test "$enableval" = yes; then
8282 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8283 else
8284 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8285 fi
8286
8287 else
8288
8289 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8297
8298 fi;
8299
8300 eval "$ac_cv_use_popupwin"
8301 if test "$no_cache" != 1; then
8302 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8303 fi
8304
8305 if test "$wxUSE_POPUPWIN" = yes; then
8306 echo "$as_me:$LINENO: result: yes" >&5
8307 echo "${ECHO_T}yes" >&6
8308 else
8309 echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6
8311 fi
8312
8313
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-commondlg or --disable-commondlg was given.
8321 if test "${enable_commondlg+set}" = set; then
8322 enableval="$enable_commondlg"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8326 else
8327 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8340
8341 fi;
8342
8343 eval "$ac_cv_use_commondlg"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_COMMONDLGS" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8362 if test "${enable_choicedlg+set}" = set; then
8363 enableval="$enable_choicedlg"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8367 else
8368 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8381
8382 fi;
8383
8384 eval "$ac_cv_use_choicedlg"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHOICEDLG" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-coldlg or --disable-coldlg was given.
8403 if test "${enable_coldlg+set}" = set; then
8404 enableval="$enable_coldlg"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8408 else
8409 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8422
8423 fi;
8424
8425 eval "$ac_cv_use_coldlg"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_COLOURDLG" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-filedlg or --disable-filedlg was given.
8444 if test "${enable_filedlg+set}" = set; then
8445 enableval="$enable_filedlg"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8449 else
8450 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8463
8464 fi;
8465
8466 eval "$ac_cv_use_filedlg"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_FILEDLG" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-finddlg or --disable-finddlg was given.
8485 if test "${enable_finddlg+set}" = set; then
8486 enableval="$enable_finddlg"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8490 else
8491 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8504
8505 fi;
8506
8507 eval "$ac_cv_use_finddlg"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_FINDREPLDLG" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8526 if test "${enable_fontdlg+set}" = set; then
8527 enableval="$enable_fontdlg"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8531 else
8532 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8545
8546 fi;
8547
8548 eval "$ac_cv_use_fontdlg"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_FONTDLG" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8567 if test "${enable_dirdlg+set}" = set; then
8568 enableval="$enable_dirdlg"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8572 else
8573 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8586
8587 fi;
8588
8589 eval "$ac_cv_use_dirdlg"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_DIRDLG" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8608 if test "${enable_msgdlg+set}" = set; then
8609 enableval="$enable_msgdlg"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8613 else
8614 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8627
8628 fi;
8629
8630 eval "$ac_cv_use_msgdlg"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_MSGDLG" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8649 if test "${enable_numberdlg+set}" = set; then
8650 enableval="$enable_numberdlg"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8654 else
8655 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8668
8669 fi;
8670
8671 eval "$ac_cv_use_numberdlg"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_NUMBERDLG" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-splash or --disable-splash was given.
8690 if test "${enable_splash+set}" = set; then
8691 enableval="$enable_splash"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_splash='wxUSE_SPLASH=yes'
8695 else
8696 ac_cv_use_splash='wxUSE_SPLASH=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8709
8710 fi;
8711
8712 eval "$ac_cv_use_splash"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_SPLASH" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-textdlg or --disable-textdlg was given.
8731 if test "${enable_textdlg+set}" = set; then
8732 enableval="$enable_textdlg"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8736 else
8737 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8750
8751 fi;
8752
8753 eval "$ac_cv_use_textdlg"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_TEXTDLG" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8772 if test "${enable_tipdlg+set}" = set; then
8773 enableval="$enable_tipdlg"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8777 else
8778 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8791
8792 fi;
8793
8794 eval "$ac_cv_use_tipdlg"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_STARTUP_TIPS" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8813 if test "${enable_progressdlg+set}" = set; then
8814 enableval="$enable_progressdlg"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8818 else
8819 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8832
8833 fi;
8834
8835 eval "$ac_cv_use_progressdlg"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_PROGRESSDLG" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8854 if test "${enable_wizarddlg+set}" = set; then
8855 enableval="$enable_wizarddlg"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8859 else
8860 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8873
8874 fi;
8875
8876 eval "$ac_cv_use_wizarddlg"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_WIZARDDLG" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890
8891
8892 enablestring=
8893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8894 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8895 no_cache=0
8896 # Check whether --enable-menus or --disable-menus was given.
8897 if test "${enable_menus+set}" = set; then
8898 enableval="$enable_menus"
8899
8900 if test "$enableval" = yes; then
8901 ac_cv_use_menus='wxUSE_MENUS=yes'
8902 else
8903 ac_cv_use_menus='wxUSE_MENUS=no'
8904 fi
8905
8906 else
8907
8908 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8909 if test "x$LINE" != x ; then
8910 eval "DEFAULT_$LINE"
8911 else
8912 no_cache=1
8913 fi
8914
8915 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8916
8917 fi;
8918
8919 eval "$ac_cv_use_menus"
8920 if test "$no_cache" != 1; then
8921 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8922 fi
8923
8924 if test "$wxUSE_MENUS" = yes; then
8925 echo "$as_me:$LINENO: result: yes" >&5
8926 echo "${ECHO_T}yes" >&6
8927 else
8928 echo "$as_me:$LINENO: result: no" >&5
8929 echo "${ECHO_T}no" >&6
8930 fi
8931
8932
8933 enablestring=
8934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8936 no_cache=0
8937 # Check whether --enable-miniframe or --disable-miniframe was given.
8938 if test "${enable_miniframe+set}" = set; then
8939 enableval="$enable_miniframe"
8940
8941 if test "$enableval" = yes; then
8942 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8943 else
8944 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8945 fi
8946
8947 else
8948
8949 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8950 if test "x$LINE" != x ; then
8951 eval "DEFAULT_$LINE"
8952 else
8953 no_cache=1
8954 fi
8955
8956 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8957
8958 fi;
8959
8960 eval "$ac_cv_use_miniframe"
8961 if test "$no_cache" != 1; then
8962 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8963 fi
8964
8965 if test "$wxUSE_MINIFRAME" = yes; then
8966 echo "$as_me:$LINENO: result: yes" >&5
8967 echo "${ECHO_T}yes" >&6
8968 else
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8971 fi
8972
8973
8974 enablestring=
8975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8977 no_cache=0
8978 # Check whether --enable-tooltips or --disable-tooltips was given.
8979 if test "${enable_tooltips+set}" = set; then
8980 enableval="$enable_tooltips"
8981
8982 if test "$enableval" = yes; then
8983 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8984 else
8985 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8986 fi
8987
8988 else
8989
8990 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8991 if test "x$LINE" != x ; then
8992 eval "DEFAULT_$LINE"
8993 else
8994 no_cache=1
8995 fi
8996
8997 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8998
8999 fi;
9000
9001 eval "$ac_cv_use_tooltips"
9002 if test "$no_cache" != 1; then
9003 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9004 fi
9005
9006 if test "$wxUSE_TOOLTIPS" = yes; then
9007 echo "$as_me:$LINENO: result: yes" >&5
9008 echo "${ECHO_T}yes" >&6
9009 else
9010 echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6
9012 fi
9013
9014
9015 enablestring=
9016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9017 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9018 no_cache=0
9019 # Check whether --enable-splines or --disable-splines was given.
9020 if test "${enable_splines+set}" = set; then
9021 enableval="$enable_splines"
9022
9023 if test "$enableval" = yes; then
9024 ac_cv_use_splines='wxUSE_SPLINES=yes'
9025 else
9026 ac_cv_use_splines='wxUSE_SPLINES=no'
9027 fi
9028
9029 else
9030
9031 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9032 if test "x$LINE" != x ; then
9033 eval "DEFAULT_$LINE"
9034 else
9035 no_cache=1
9036 fi
9037
9038 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9039
9040 fi;
9041
9042 eval "$ac_cv_use_splines"
9043 if test "$no_cache" != 1; then
9044 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9045 fi
9046
9047 if test "$wxUSE_SPLINES" = yes; then
9048 echo "$as_me:$LINENO: result: yes" >&5
9049 echo "${ECHO_T}yes" >&6
9050 else
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9053 fi
9054
9055
9056 enablestring=
9057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9059 no_cache=0
9060 # Check whether --enable-validators or --disable-validators was given.
9061 if test "${enable_validators+set}" = set; then
9062 enableval="$enable_validators"
9063
9064 if test "$enableval" = yes; then
9065 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9066 else
9067 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9068 fi
9069
9070 else
9071
9072 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9073 if test "x$LINE" != x ; then
9074 eval "DEFAULT_$LINE"
9075 else
9076 no_cache=1
9077 fi
9078
9079 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9080
9081 fi;
9082
9083 eval "$ac_cv_use_validators"
9084 if test "$no_cache" != 1; then
9085 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9086 fi
9087
9088 if test "$wxUSE_VALIDATORS" = yes; then
9089 echo "$as_me:$LINENO: result: yes" >&5
9090 echo "${ECHO_T}yes" >&6
9091 else
9092 echo "$as_me:$LINENO: result: no" >&5
9093 echo "${ECHO_T}no" >&6
9094 fi
9095
9096
9097 enablestring=
9098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9099 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9100 no_cache=0
9101 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9102 if test "${enable_busyinfo+set}" = set; then
9103 enableval="$enable_busyinfo"
9104
9105 if test "$enableval" = yes; then
9106 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9107 else
9108 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9109 fi
9110
9111 else
9112
9113 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9114 if test "x$LINE" != x ; then
9115 eval "DEFAULT_$LINE"
9116 else
9117 no_cache=1
9118 fi
9119
9120 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9121
9122 fi;
9123
9124 eval "$ac_cv_use_busyinfo"
9125 if test "$no_cache" != 1; then
9126 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9127 fi
9128
9129 if test "$wxUSE_BUSYINFO" = yes; then
9130 echo "$as_me:$LINENO: result: yes" >&5
9131 echo "${ECHO_T}yes" >&6
9132 else
9133 echo "$as_me:$LINENO: result: no" >&5
9134 echo "${ECHO_T}no" >&6
9135 fi
9136
9137
9138 enablestring=
9139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9140 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9141 no_cache=0
9142 # Check whether --enable-joystick or --disable-joystick was given.
9143 if test "${enable_joystick+set}" = set; then
9144 enableval="$enable_joystick"
9145
9146 if test "$enableval" = yes; then
9147 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9148 else
9149 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9150 fi
9151
9152 else
9153
9154 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9155 if test "x$LINE" != x ; then
9156 eval "DEFAULT_$LINE"
9157 else
9158 no_cache=1
9159 fi
9160
9161 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9162
9163 fi;
9164
9165 eval "$ac_cv_use_joystick"
9166 if test "$no_cache" != 1; then
9167 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9168 fi
9169
9170 if test "$wxUSE_JOYSTICK" = yes; then
9171 echo "$as_me:$LINENO: result: yes" >&5
9172 echo "${ECHO_T}yes" >&6
9173 else
9174 echo "$as_me:$LINENO: result: no" >&5
9175 echo "${ECHO_T}no" >&6
9176 fi
9177
9178
9179 enablestring=
9180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9182 no_cache=0
9183 # Check whether --enable-metafile or --disable-metafile was given.
9184 if test "${enable_metafile+set}" = set; then
9185 enableval="$enable_metafile"
9186
9187 if test "$enableval" = yes; then
9188 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9189 else
9190 ac_cv_use_metafile='wxUSE_METAFILE=no'
9191 fi
9192
9193 else
9194
9195 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9196 if test "x$LINE" != x ; then
9197 eval "DEFAULT_$LINE"
9198 else
9199 no_cache=1
9200 fi
9201
9202 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9203
9204 fi;
9205
9206 eval "$ac_cv_use_metafile"
9207 if test "$no_cache" != 1; then
9208 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9209 fi
9210
9211 if test "$wxUSE_METAFILE" = yes; then
9212 echo "$as_me:$LINENO: result: yes" >&5
9213 echo "${ECHO_T}yes" >&6
9214 else
9215 echo "$as_me:$LINENO: result: no" >&5
9216 echo "${ECHO_T}no" >&6
9217 fi
9218
9219
9220 enablestring=
9221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9222 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9223 no_cache=0
9224 # Check whether --enable-dragimage or --disable-dragimage was given.
9225 if test "${enable_dragimage+set}" = set; then
9226 enableval="$enable_dragimage"
9227
9228 if test "$enableval" = yes; then
9229 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9230 else
9231 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9232 fi
9233
9234 else
9235
9236 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9237 if test "x$LINE" != x ; then
9238 eval "DEFAULT_$LINE"
9239 else
9240 no_cache=1
9241 fi
9242
9243 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9244
9245 fi;
9246
9247 eval "$ac_cv_use_dragimage"
9248 if test "$no_cache" != 1; then
9249 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9250 fi
9251
9252 if test "$wxUSE_DRAGIMAGE" = yes; then
9253 echo "$as_me:$LINENO: result: yes" >&5
9254 echo "${ECHO_T}yes" >&6
9255 else
9256 echo "$as_me:$LINENO: result: no" >&5
9257 echo "${ECHO_T}no" >&6
9258 fi
9259
9260
9261 enablestring=
9262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9263 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9264 no_cache=0
9265 # Check whether --enable-accessibility or --disable-accessibility was given.
9266 if test "${enable_accessibility+set}" = set; then
9267 enableval="$enable_accessibility"
9268
9269 if test "$enableval" = yes; then
9270 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9271 else
9272 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9273 fi
9274
9275 else
9276
9277 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9278 if test "x$LINE" != x ; then
9279 eval "DEFAULT_$LINE"
9280 else
9281 no_cache=1
9282 fi
9283
9284 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9285
9286 fi;
9287
9288 eval "$ac_cv_use_accessibility"
9289 if test "$no_cache" != 1; then
9290 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9291 fi
9292
9293 if test "$wxUSE_ACCESSIBILITY" = yes; then
9294 echo "$as_me:$LINENO: result: yes" >&5
9295 echo "${ECHO_T}yes" >&6
9296 else
9297 echo "$as_me:$LINENO: result: no" >&5
9298 echo "${ECHO_T}no" >&6
9299 fi
9300
9301
9302
9303
9304 enablestring=
9305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9306 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9307 no_cache=0
9308 # Check whether --enable-palette or --disable-palette was given.
9309 if test "${enable_palette+set}" = set; then
9310 enableval="$enable_palette"
9311
9312 if test "$enableval" = yes; then
9313 ac_cv_use_palette='wxUSE_PALETTE=yes'
9314 else
9315 ac_cv_use_palette='wxUSE_PALETTE=no'
9316 fi
9317
9318 else
9319
9320 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9321 if test "x$LINE" != x ; then
9322 eval "DEFAULT_$LINE"
9323 else
9324 no_cache=1
9325 fi
9326
9327 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9328
9329 fi;
9330
9331 eval "$ac_cv_use_palette"
9332 if test "$no_cache" != 1; then
9333 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9334 fi
9335
9336 if test "$wxUSE_PALETTE" = yes; then
9337 echo "$as_me:$LINENO: result: yes" >&5
9338 echo "${ECHO_T}yes" >&6
9339 else
9340 echo "$as_me:$LINENO: result: no" >&5
9341 echo "${ECHO_T}no" >&6
9342 fi
9343
9344
9345 enablestring=
9346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9347 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9348 no_cache=0
9349 # Check whether --enable-image or --disable-image was given.
9350 if test "${enable_image+set}" = set; then
9351 enableval="$enable_image"
9352
9353 if test "$enableval" = yes; then
9354 ac_cv_use_image='wxUSE_IMAGE=yes'
9355 else
9356 ac_cv_use_image='wxUSE_IMAGE=no'
9357 fi
9358
9359 else
9360
9361 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9362 if test "x$LINE" != x ; then
9363 eval "DEFAULT_$LINE"
9364 else
9365 no_cache=1
9366 fi
9367
9368 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9369
9370 fi;
9371
9372 eval "$ac_cv_use_image"
9373 if test "$no_cache" != 1; then
9374 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9375 fi
9376
9377 if test "$wxUSE_IMAGE" = yes; then
9378 echo "$as_me:$LINENO: result: yes" >&5
9379 echo "${ECHO_T}yes" >&6
9380 else
9381 echo "$as_me:$LINENO: result: no" >&5
9382 echo "${ECHO_T}no" >&6
9383 fi
9384
9385
9386 enablestring=
9387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9388 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9389 no_cache=0
9390 # Check whether --enable-gif or --disable-gif was given.
9391 if test "${enable_gif+set}" = set; then
9392 enableval="$enable_gif"
9393
9394 if test "$enableval" = yes; then
9395 ac_cv_use_gif='wxUSE_GIF=yes'
9396 else
9397 ac_cv_use_gif='wxUSE_GIF=no'
9398 fi
9399
9400 else
9401
9402 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9403 if test "x$LINE" != x ; then
9404 eval "DEFAULT_$LINE"
9405 else
9406 no_cache=1
9407 fi
9408
9409 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9410
9411 fi;
9412
9413 eval "$ac_cv_use_gif"
9414 if test "$no_cache" != 1; then
9415 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9416 fi
9417
9418 if test "$wxUSE_GIF" = yes; then
9419 echo "$as_me:$LINENO: result: yes" >&5
9420 echo "${ECHO_T}yes" >&6
9421 else
9422 echo "$as_me:$LINENO: result: no" >&5
9423 echo "${ECHO_T}no" >&6
9424 fi
9425
9426
9427 enablestring=
9428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9429 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9430 no_cache=0
9431 # Check whether --enable-pcx or --disable-pcx was given.
9432 if test "${enable_pcx+set}" = set; then
9433 enableval="$enable_pcx"
9434
9435 if test "$enableval" = yes; then
9436 ac_cv_use_pcx='wxUSE_PCX=yes'
9437 else
9438 ac_cv_use_pcx='wxUSE_PCX=no'
9439 fi
9440
9441 else
9442
9443 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9444 if test "x$LINE" != x ; then
9445 eval "DEFAULT_$LINE"
9446 else
9447 no_cache=1
9448 fi
9449
9450 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9451
9452 fi;
9453
9454 eval "$ac_cv_use_pcx"
9455 if test "$no_cache" != 1; then
9456 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9457 fi
9458
9459 if test "$wxUSE_PCX" = yes; then
9460 echo "$as_me:$LINENO: result: yes" >&5
9461 echo "${ECHO_T}yes" >&6
9462 else
9463 echo "$as_me:$LINENO: result: no" >&5
9464 echo "${ECHO_T}no" >&6
9465 fi
9466
9467
9468 enablestring=
9469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9470 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9471 no_cache=0
9472 # Check whether --enable-iff or --disable-iff was given.
9473 if test "${enable_iff+set}" = set; then
9474 enableval="$enable_iff"
9475
9476 if test "$enableval" = yes; then
9477 ac_cv_use_iff='wxUSE_IFF=yes'
9478 else
9479 ac_cv_use_iff='wxUSE_IFF=no'
9480 fi
9481
9482 else
9483
9484 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9485 if test "x$LINE" != x ; then
9486 eval "DEFAULT_$LINE"
9487 else
9488 no_cache=1
9489 fi
9490
9491 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9492
9493 fi;
9494
9495 eval "$ac_cv_use_iff"
9496 if test "$no_cache" != 1; then
9497 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9498 fi
9499
9500 if test "$wxUSE_IFF" = yes; then
9501 echo "$as_me:$LINENO: result: yes" >&5
9502 echo "${ECHO_T}yes" >&6
9503 else
9504 echo "$as_me:$LINENO: result: no" >&5
9505 echo "${ECHO_T}no" >&6
9506 fi
9507
9508
9509 enablestring=
9510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9511 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9512 no_cache=0
9513 # Check whether --enable-pnm or --disable-pnm was given.
9514 if test "${enable_pnm+set}" = set; then
9515 enableval="$enable_pnm"
9516
9517 if test "$enableval" = yes; then
9518 ac_cv_use_pnm='wxUSE_PNM=yes'
9519 else
9520 ac_cv_use_pnm='wxUSE_PNM=no'
9521 fi
9522
9523 else
9524
9525 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9526 if test "x$LINE" != x ; then
9527 eval "DEFAULT_$LINE"
9528 else
9529 no_cache=1
9530 fi
9531
9532 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9533
9534 fi;
9535
9536 eval "$ac_cv_use_pnm"
9537 if test "$no_cache" != 1; then
9538 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9539 fi
9540
9541 if test "$wxUSE_PNM" = yes; then
9542 echo "$as_me:$LINENO: result: yes" >&5
9543 echo "${ECHO_T}yes" >&6
9544 else
9545 echo "$as_me:$LINENO: result: no" >&5
9546 echo "${ECHO_T}no" >&6
9547 fi
9548
9549
9550 enablestring=
9551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9553 no_cache=0
9554 # Check whether --enable-xpm or --disable-xpm was given.
9555 if test "${enable_xpm+set}" = set; then
9556 enableval="$enable_xpm"
9557
9558 if test "$enableval" = yes; then
9559 ac_cv_use_xpm='wxUSE_XPM=yes'
9560 else
9561 ac_cv_use_xpm='wxUSE_XPM=no'
9562 fi
9563
9564 else
9565
9566 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9567 if test "x$LINE" != x ; then
9568 eval "DEFAULT_$LINE"
9569 else
9570 no_cache=1
9571 fi
9572
9573 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9574
9575 fi;
9576
9577 eval "$ac_cv_use_xpm"
9578 if test "$no_cache" != 1; then
9579 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9580 fi
9581
9582 if test "$wxUSE_XPM" = yes; then
9583 echo "$as_me:$LINENO: result: yes" >&5
9584 echo "${ECHO_T}yes" >&6
9585 else
9586 echo "$as_me:$LINENO: result: no" >&5
9587 echo "${ECHO_T}no" >&6
9588 fi
9589
9590
9591 enablestring=
9592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9593 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9594 no_cache=0
9595 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9596 if test "${enable_ico_cur+set}" = set; then
9597 enableval="$enable_ico_cur"
9598
9599 if test "$enableval" = yes; then
9600 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9601 else
9602 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9603 fi
9604
9605 else
9606
9607 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9608 if test "x$LINE" != x ; then
9609 eval "DEFAULT_$LINE"
9610 else
9611 no_cache=1
9612 fi
9613
9614 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9615
9616 fi;
9617
9618 eval "$ac_cv_use_ico_cur"
9619 if test "$no_cache" != 1; then
9620 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9621 fi
9622
9623 if test "$wxUSE_ICO_CUR" = yes; then
9624 echo "$as_me:$LINENO: result: yes" >&5
9625 echo "${ECHO_T}yes" >&6
9626 else
9627 echo "$as_me:$LINENO: result: no" >&5
9628 echo "${ECHO_T}no" >&6
9629 fi
9630
9631
9632 fi
9633
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-official_build or --disable-official_build was given.
9641 if test "${enable_official_build+set}" = set; then
9642 enableval="$enable_official_build"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9646 else
9647 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9648 fi
9649
9650 else
9651
9652 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9660
9661 fi;
9662
9663 eval "$ac_cv_use_official_build"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9674 fi
9675
9676 # Check whether --enable-vendor or --disable-vendor was given.
9677 if test "${enable_vendor+set}" = set; then
9678 enableval="$enable_vendor"
9679 VENDOR="$enableval"
9680 fi;
9681 if test "x$VENDOR" = "x"; then
9682 VENDOR="custom"
9683 fi
9684
9685 case "${host}" in
9686 *-pc-os2_emx | *-pc-os2-emx )
9687 PATH_IFS=';'
9688 ;;
9689 *)
9690 PATH_IFS=':'
9691 ;;
9692 esac
9693
9694
9695
9696 echo "saving argument cache $wx_arg_cache_file"
9697 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9698
9699
9700
9701 echo "$as_me:$LINENO: checking for toolkit" >&5
9702 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9703
9704 # In Wine, we need to default to MSW, not GTK or MOTIF
9705 if test "$wxUSE_WINE" = "yes"; then
9706 DEFAULT_DEFAULT_wxUSE_GTK=0
9707 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9708 DEFAULT_DEFAULT_wxUSE_MSW=1
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 fi
9806
9807 if test "$wants_win32" = 1 ; then
9808 USE_UNIX=0
9809 USE_WIN32=1
9810 cat >>confdefs.h <<\_ACEOF
9811 #define __WIN32__ 1
9812 _ACEOF
9813
9814 cat >>confdefs.h <<\_ACEOF
9815 #define __WIN95__ 1
9816 _ACEOF
9817
9818 cat >>confdefs.h <<\_ACEOF
9819 #define __WINDOWS__ 1
9820 _ACEOF
9821
9822 cat >>confdefs.h <<\_ACEOF
9823 #define __GNUWIN32__ 1
9824 _ACEOF
9825
9826 cat >>confdefs.h <<\_ACEOF
9827 #define STRICT 1
9828 _ACEOF
9829
9830 cat >>confdefs.h <<\_ACEOF
9831 #define WINVER 0x0400
9832 _ACEOF
9833
9834 fi
9835 if test "$doesnt_want_win32" = 1 ; then
9836 USE_UNIX=1
9837 USE_WIN32=0
9838 fi
9839
9840 if test "$USE_UNIX" = 1 ; then
9841 wxUSE_UNIX=yes
9842 cat >>confdefs.h <<\_ACEOF
9843 #define __UNIX__ 1
9844 _ACEOF
9845
9846 fi
9847
9848
9849 cat >confcache <<\_ACEOF
9850 # This file is a shell script that caches the results of configure
9851 # tests run on this system so they can be shared between configure
9852 # scripts and configure runs, see configure's option --config-cache.
9853 # It is not useful on other systems. If it contains results you don't
9854 # want to keep, you may remove or edit it.
9855 #
9856 # config.status only pays attention to the cache file if you give it
9857 # the --recheck option to rerun configure.
9858 #
9859 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9860 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9861 # following values.
9862
9863 _ACEOF
9864
9865 # The following way of writing the cache mishandles newlines in values,
9866 # but we know of no workaround that is simple, portable, and efficient.
9867 # So, don't put newlines in cache variables' values.
9868 # Ultrix sh set writes to stderr and can't be redirected directly,
9869 # and sets the high bit in the cache file unless we assign to the vars.
9870 {
9871 (set) 2>&1 |
9872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9873 *ac_space=\ *)
9874 # `set' does not quote correctly, so add quotes (double-quote
9875 # substitution turns \\\\ into \\, and sed turns \\ into \).
9876 sed -n \
9877 "s/'/'\\\\''/g;
9878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9879 ;;
9880 *)
9881 # `set' quotes correctly as required by POSIX, so do not add quotes.
9882 sed -n \
9883 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9884 ;;
9885 esac;
9886 } |
9887 sed '
9888 t clear
9889 : clear
9890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9891 t end
9892 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9893 : end' >>confcache
9894 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9895 if test -w $cache_file; then
9896 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9897 cat confcache >$cache_file
9898 else
9899 echo "not updating unwritable cache $cache_file"
9900 fi
9901 fi
9902 rm -f confcache
9903
9904 if test "$build" != "$host" ; then
9905 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9906 CC=$host_alias-gcc
9907 CXX=$host_alias-c++
9908 AR=$host_alias-ar
9909 RANLIB=$host_alias-ranlib
9910 DLLTOOL=$host_alias-dlltool
9911 RESCOMP=$host_alias-windres
9912 LD=$host_alias-ld
9913 NM=$host_alias-nm
9914 STRIP=$host_alias-strip
9915 else
9916 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9917 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9918 { (exit 1); exit 1; }; }
9919 fi
9920 fi
9921
9922 CFLAGS=${CFLAGS:=}
9923 ac_ext=c
9924 ac_cpp='$CPP $CPPFLAGS'
9925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9928 if test -n "$ac_tool_prefix"; then
9929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9931 echo "$as_me:$LINENO: checking for $ac_word" >&5
9932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9933 if test "${ac_cv_prog_CC+set}" = set; then
9934 echo $ECHO_N "(cached) $ECHO_C" >&6
9935 else
9936 if test -n "$CC"; then
9937 ac_cv_prog_CC="$CC" # Let the user override the test.
9938 else
9939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9940 for as_dir in $PATH
9941 do
9942 IFS=$as_save_IFS
9943 test -z "$as_dir" && as_dir=.
9944 for ac_exec_ext in '' $ac_executable_extensions; do
9945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9948 break 2
9949 fi
9950 done
9951 done
9952
9953 fi
9954 fi
9955 CC=$ac_cv_prog_CC
9956 if test -n "$CC"; then
9957 echo "$as_me:$LINENO: result: $CC" >&5
9958 echo "${ECHO_T}$CC" >&6
9959 else
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9962 fi
9963
9964 fi
9965 if test -z "$ac_cv_prog_CC"; then
9966 ac_ct_CC=$CC
9967 # Extract the first word of "gcc", so it can be a program name with args.
9968 set dummy gcc; ac_word=$2
9969 echo "$as_me:$LINENO: checking for $ac_word" >&5
9970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9971 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9972 echo $ECHO_N "(cached) $ECHO_C" >&6
9973 else
9974 if test -n "$ac_ct_CC"; then
9975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9976 else
9977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9978 for as_dir in $PATH
9979 do
9980 IFS=$as_save_IFS
9981 test -z "$as_dir" && as_dir=.
9982 for ac_exec_ext in '' $ac_executable_extensions; do
9983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9984 ac_cv_prog_ac_ct_CC="gcc"
9985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9986 break 2
9987 fi
9988 done
9989 done
9990
9991 fi
9992 fi
9993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9994 if test -n "$ac_ct_CC"; then
9995 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9996 echo "${ECHO_T}$ac_ct_CC" >&6
9997 else
9998 echo "$as_me:$LINENO: result: no" >&5
9999 echo "${ECHO_T}no" >&6
10000 fi
10001
10002 CC=$ac_ct_CC
10003 else
10004 CC="$ac_cv_prog_CC"
10005 fi
10006
10007 if test -z "$CC"; then
10008 if test -n "$ac_tool_prefix"; then
10009 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10010 set dummy ${ac_tool_prefix}cc; ac_word=$2
10011 echo "$as_me:$LINENO: checking for $ac_word" >&5
10012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10013 if test "${ac_cv_prog_CC+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 else
10016 if test -n "$CC"; then
10017 ac_cv_prog_CC="$CC" # Let the user override the test.
10018 else
10019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020 for as_dir in $PATH
10021 do
10022 IFS=$as_save_IFS
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10026 ac_cv_prog_CC="${ac_tool_prefix}cc"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10028 break 2
10029 fi
10030 done
10031 done
10032
10033 fi
10034 fi
10035 CC=$ac_cv_prog_CC
10036 if test -n "$CC"; then
10037 echo "$as_me:$LINENO: result: $CC" >&5
10038 echo "${ECHO_T}$CC" >&6
10039 else
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10042 fi
10043
10044 fi
10045 if test -z "$ac_cv_prog_CC"; then
10046 ac_ct_CC=$CC
10047 # Extract the first word of "cc", so it can be a program name with args.
10048 set dummy cc; ac_word=$2
10049 echo "$as_me:$LINENO: checking for $ac_word" >&5
10050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10051 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10052 echo $ECHO_N "(cached) $ECHO_C" >&6
10053 else
10054 if test -n "$ac_ct_CC"; then
10055 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10056 else
10057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058 for as_dir in $PATH
10059 do
10060 IFS=$as_save_IFS
10061 test -z "$as_dir" && as_dir=.
10062 for ac_exec_ext in '' $ac_executable_extensions; do
10063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10064 ac_cv_prog_ac_ct_CC="cc"
10065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 break 2
10067 fi
10068 done
10069 done
10070
10071 fi
10072 fi
10073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10074 if test -n "$ac_ct_CC"; then
10075 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10076 echo "${ECHO_T}$ac_ct_CC" >&6
10077 else
10078 echo "$as_me:$LINENO: result: no" >&5
10079 echo "${ECHO_T}no" >&6
10080 fi
10081
10082 CC=$ac_ct_CC
10083 else
10084 CC="$ac_cv_prog_CC"
10085 fi
10086
10087 fi
10088 if test -z "$CC"; then
10089 # Extract the first word of "cc", so it can be a program name with args.
10090 set dummy cc; ac_word=$2
10091 echo "$as_me:$LINENO: checking for $ac_word" >&5
10092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10093 if test "${ac_cv_prog_CC+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 else
10096 if test -n "$CC"; then
10097 ac_cv_prog_CC="$CC" # Let the user override the test.
10098 else
10099 ac_prog_rejected=no
10100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10101 for as_dir in $PATH
10102 do
10103 IFS=$as_save_IFS
10104 test -z "$as_dir" && as_dir=.
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10107 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10108 ac_prog_rejected=yes
10109 continue
10110 fi
10111 ac_cv_prog_CC="cc"
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 break 2
10114 fi
10115 done
10116 done
10117
10118 if test $ac_prog_rejected = yes; then
10119 # We found a bogon in the path, so make sure we never use it.
10120 set dummy $ac_cv_prog_CC
10121 shift
10122 if test $# != 0; then
10123 # We chose a different compiler from the bogus one.
10124 # However, it has the same basename, so the bogon will be chosen
10125 # first if we set CC to just the basename; use the full file name.
10126 shift
10127 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10128 fi
10129 fi
10130 fi
10131 fi
10132 CC=$ac_cv_prog_CC
10133 if test -n "$CC"; then
10134 echo "$as_me:$LINENO: result: $CC" >&5
10135 echo "${ECHO_T}$CC" >&6
10136 else
10137 echo "$as_me:$LINENO: result: no" >&5
10138 echo "${ECHO_T}no" >&6
10139 fi
10140
10141 fi
10142 if test -z "$CC"; then
10143 if test -n "$ac_tool_prefix"; then
10144 for ac_prog in cl
10145 do
10146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10148 echo "$as_me:$LINENO: checking for $ac_word" >&5
10149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10150 if test "${ac_cv_prog_CC+set}" = set; then
10151 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 else
10153 if test -n "$CC"; then
10154 ac_cv_prog_CC="$CC" # Let the user override the test.
10155 else
10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157 for as_dir in $PATH
10158 do
10159 IFS=$as_save_IFS
10160 test -z "$as_dir" && as_dir=.
10161 for ac_exec_ext in '' $ac_executable_extensions; do
10162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10165 break 2
10166 fi
10167 done
10168 done
10169
10170 fi
10171 fi
10172 CC=$ac_cv_prog_CC
10173 if test -n "$CC"; then
10174 echo "$as_me:$LINENO: result: $CC" >&5
10175 echo "${ECHO_T}$CC" >&6
10176 else
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10179 fi
10180
10181 test -n "$CC" && break
10182 done
10183 fi
10184 if test -z "$CC"; then
10185 ac_ct_CC=$CC
10186 for ac_prog in cl
10187 do
10188 # Extract the first word of "$ac_prog", so it can be a program name with args.
10189 set dummy $ac_prog; ac_word=$2
10190 echo "$as_me:$LINENO: checking for $ac_word" >&5
10191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10194 else
10195 if test -n "$ac_ct_CC"; then
10196 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10197 else
10198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10199 for as_dir in $PATH
10200 do
10201 IFS=$as_save_IFS
10202 test -z "$as_dir" && as_dir=.
10203 for ac_exec_ext in '' $ac_executable_extensions; do
10204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10205 ac_cv_prog_ac_ct_CC="$ac_prog"
10206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10207 break 2
10208 fi
10209 done
10210 done
10211
10212 fi
10213 fi
10214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10215 if test -n "$ac_ct_CC"; then
10216 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10217 echo "${ECHO_T}$ac_ct_CC" >&6
10218 else
10219 echo "$as_me:$LINENO: result: no" >&5
10220 echo "${ECHO_T}no" >&6
10221 fi
10222
10223 test -n "$ac_ct_CC" && break
10224 done
10225
10226 CC=$ac_ct_CC
10227 fi
10228
10229 fi
10230
10231
10232 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10233 See \`config.log' for more details." >&5
10234 echo "$as_me: error: no acceptable C compiler found in \$PATH
10235 See \`config.log' for more details." >&2;}
10236 { (exit 1); exit 1; }; }
10237
10238 # Provide some information about the compiler.
10239 echo "$as_me:$LINENO:" \
10240 "checking for C compiler version" >&5
10241 ac_compiler=`set X $ac_compile; echo $2`
10242 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10243 (eval $ac_compiler --version </dev/null >&5) 2>&5
10244 ac_status=$?
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }
10247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10248 (eval $ac_compiler -v </dev/null >&5) 2>&5
10249 ac_status=$?
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }
10252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10253 (eval $ac_compiler -V </dev/null >&5) 2>&5
10254 ac_status=$?
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); }
10257
10258 cat >conftest.$ac_ext <<_ACEOF
10259 #line $LINENO "configure"
10260 /* confdefs.h. */
10261 _ACEOF
10262 cat confdefs.h >>conftest.$ac_ext
10263 cat >>conftest.$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10265
10266 int
10267 main ()
10268 {
10269
10270 ;
10271 return 0;
10272 }
10273 _ACEOF
10274 ac_clean_files_save=$ac_clean_files
10275 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10276 # Try to create an executable without -o first, disregard a.out.
10277 # It will help us diagnose broken compilers, and finding out an intuition
10278 # of exeext.
10279 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10280 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10281 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10282 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10283 (eval $ac_link_default) 2>&5
10284 ac_status=$?
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; then
10287 # Find the output, starting from the most likely. This scheme is
10288 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10289 # resort.
10290
10291 # Be careful to initialize this variable, since it used to be cached.
10292 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10293 ac_cv_exeext=
10294 # b.out is created by i960 compilers.
10295 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10296 do
10297 test -f "$ac_file" || continue
10298 case $ac_file in
10299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10300 ;;
10301 conftest.$ac_ext )
10302 # This is the source file.
10303 ;;
10304 [ab].out )
10305 # We found the default executable, but exeext='' is most
10306 # certainly right.
10307 break;;
10308 *.* )
10309 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10310 # FIXME: I believe we export ac_cv_exeext for Libtool,
10311 # but it would be cool to find out if it's true. Does anybody
10312 # maintain Libtool? --akim.
10313 export ac_cv_exeext
10314 break;;
10315 * )
10316 break;;
10317 esac
10318 done
10319 else
10320 echo "$as_me: failed program was:" >&5
10321 sed 's/^/| /' conftest.$ac_ext >&5
10322
10323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10324 See \`config.log' for more details." >&5
10325 echo "$as_me: error: C compiler cannot create executables
10326 See \`config.log' for more details." >&2;}
10327 { (exit 77); exit 77; }; }
10328 fi
10329
10330 ac_exeext=$ac_cv_exeext
10331 echo "$as_me:$LINENO: result: $ac_file" >&5
10332 echo "${ECHO_T}$ac_file" >&6
10333
10334 # Check the compiler produces executables we can run. If not, either
10335 # the compiler is broken, or we cross compile.
10336 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10337 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10338 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10339 # If not cross compiling, check that we can run a simple program.
10340 if test "$cross_compiling" != yes; then
10341 if { ac_try='./$ac_file'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10344 ac_status=$?
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10347 cross_compiling=no
10348 else
10349 if test "$cross_compiling" = maybe; then
10350 cross_compiling=yes
10351 else
10352 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10353 If you meant to cross compile, use \`--host'.
10354 See \`config.log' for more details." >&5
10355 echo "$as_me: error: cannot run C compiled programs.
10356 If you meant to cross compile, use \`--host'.
10357 See \`config.log' for more details." >&2;}
10358 { (exit 1); exit 1; }; }
10359 fi
10360 fi
10361 fi
10362 echo "$as_me:$LINENO: result: yes" >&5
10363 echo "${ECHO_T}yes" >&6
10364
10365 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10366 ac_clean_files=$ac_clean_files_save
10367 # Check the compiler produces executables we can run. If not, either
10368 # the compiler is broken, or we cross compile.
10369 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10370 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10371 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10372 echo "${ECHO_T}$cross_compiling" >&6
10373
10374 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10375 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>&5
10378 ac_status=$?
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; then
10381 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10382 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10383 # work properly (i.e., refer to `conftest.exe'), while it won't with
10384 # `rm'.
10385 for ac_file in conftest.exe conftest conftest.*; do
10386 test -f "$ac_file" || continue
10387 case $ac_file in
10388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10389 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10390 export ac_cv_exeext
10391 break;;
10392 * ) break;;
10393 esac
10394 done
10395 else
10396 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10397 See \`config.log' for more details." >&5
10398 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10399 See \`config.log' for more details." >&2;}
10400 { (exit 1); exit 1; }; }
10401 fi
10402
10403 rm -f conftest$ac_cv_exeext
10404 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10405 echo "${ECHO_T}$ac_cv_exeext" >&6
10406
10407 rm -f conftest.$ac_ext
10408 EXEEXT=$ac_cv_exeext
10409 ac_exeext=$EXEEXT
10410 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10411 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10412 if test "${ac_cv_objext+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 else
10415 cat >conftest.$ac_ext <<_ACEOF
10416 #line $LINENO "configure"
10417 /* confdefs.h. */
10418 _ACEOF
10419 cat confdefs.h >>conftest.$ac_ext
10420 cat >>conftest.$ac_ext <<_ACEOF
10421 /* end confdefs.h. */
10422
10423 int
10424 main ()
10425 {
10426
10427 ;
10428 return 0;
10429 }
10430 _ACEOF
10431 rm -f conftest.o conftest.obj
10432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10433 (eval $ac_compile) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; then
10437 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10438 case $ac_file in
10439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10440 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10441 break;;
10442 esac
10443 done
10444 else
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10449 See \`config.log' for more details." >&5
10450 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10451 See \`config.log' for more details." >&2;}
10452 { (exit 1); exit 1; }; }
10453 fi
10454
10455 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10456 fi
10457 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10458 echo "${ECHO_T}$ac_cv_objext" >&6
10459 OBJEXT=$ac_cv_objext
10460 ac_objext=$OBJEXT
10461 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10462 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10463 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10465 else
10466 cat >conftest.$ac_ext <<_ACEOF
10467 #line $LINENO "configure"
10468 /* confdefs.h. */
10469 _ACEOF
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10473
10474 int
10475 main ()
10476 {
10477 #ifndef __GNUC__
10478 choke me
10479 #endif
10480
10481 ;
10482 return 0;
10483 }
10484 _ACEOF
10485 rm -f conftest.$ac_objext
10486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>&5
10488 ac_status=$?
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } &&
10491 { ac_try='test -s conftest.$ac_objext'
10492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10493 (eval $ac_try) 2>&5
10494 ac_status=$?
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; }; then
10497 ac_compiler_gnu=yes
10498 else
10499 echo "$as_me: failed program was:" >&5
10500 sed 's/^/| /' conftest.$ac_ext >&5
10501
10502 ac_compiler_gnu=no
10503 fi
10504 rm -f conftest.$ac_objext conftest.$ac_ext
10505 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10506
10507 fi
10508 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10509 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10510 GCC=`test $ac_compiler_gnu = yes && echo yes`
10511 ac_test_CFLAGS=${CFLAGS+set}
10512 ac_save_CFLAGS=$CFLAGS
10513 CFLAGS="-g"
10514 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10515 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10516 if test "${ac_cv_prog_cc_g+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 else
10519 cat >conftest.$ac_ext <<_ACEOF
10520 #line $LINENO "configure"
10521 /* confdefs.h. */
10522 _ACEOF
10523 cat confdefs.h >>conftest.$ac_ext
10524 cat >>conftest.$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10526
10527 int
10528 main ()
10529 {
10530
10531 ;
10532 return 0;
10533 }
10534 _ACEOF
10535 rm -f conftest.$ac_objext
10536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10537 (eval $ac_compile) 2>&5
10538 ac_status=$?
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } &&
10541 { ac_try='test -s conftest.$ac_objext'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10544 ac_status=$?
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; }; then
10547 ac_cv_prog_cc_g=yes
10548 else
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.$ac_ext >&5
10551
10552 ac_cv_prog_cc_g=no
10553 fi
10554 rm -f conftest.$ac_objext conftest.$ac_ext
10555 fi
10556 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10557 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10558 if test "$ac_test_CFLAGS" = set; then
10559 CFLAGS=$ac_save_CFLAGS
10560 elif test $ac_cv_prog_cc_g = yes; then
10561 if test "$GCC" = yes; then
10562 CFLAGS="-g -O2"
10563 else
10564 CFLAGS="-g"
10565 fi
10566 else
10567 if test "$GCC" = yes; then
10568 CFLAGS="-O2"
10569 else
10570 CFLAGS=
10571 fi
10572 fi
10573 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10574 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10575 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 else
10578 ac_cv_prog_cc_stdc=no
10579 ac_save_CC=$CC
10580 cat >conftest.$ac_ext <<_ACEOF
10581 #line $LINENO "configure"
10582 /* confdefs.h. */
10583 _ACEOF
10584 cat confdefs.h >>conftest.$ac_ext
10585 cat >>conftest.$ac_ext <<_ACEOF
10586 /* end confdefs.h. */
10587 #include <stdarg.h>
10588 #include <stdio.h>
10589 #include <sys/types.h>
10590 #include <sys/stat.h>
10591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10592 struct buf { int x; };
10593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10594 static char *e (p, i)
10595 char **p;
10596 int i;
10597 {
10598 return p[i];
10599 }
10600 static char *f (char * (*g) (char **, int), char **p, ...)
10601 {
10602 char *s;
10603 va_list v;
10604 va_start (v,p);
10605 s = g (p, va_arg (v,int));
10606 va_end (v);
10607 return s;
10608 }
10609 int test (int i, double x);
10610 struct s1 {int (*f) (int a);};
10611 struct s2 {int (*f) (double a);};
10612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10613 int argc;
10614 char **argv;
10615 int
10616 main ()
10617 {
10618 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10619 ;
10620 return 0;
10621 }
10622 _ACEOF
10623 # Don't try gcc -ansi; that turns off useful extensions and
10624 # breaks some systems' header files.
10625 # AIX -qlanglvl=ansi
10626 # Ultrix and OSF/1 -std1
10627 # HP-UX 10.20 and later -Ae
10628 # HP-UX older versions -Aa -D_HPUX_SOURCE
10629 # SVR4 -Xc -D__EXTENSIONS__
10630 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10631 do
10632 CC="$ac_save_CC $ac_arg"
10633 rm -f conftest.$ac_objext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10635 (eval $ac_compile) 2>&5
10636 ac_status=$?
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try='test -s conftest.$ac_objext'
10640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10641 (eval $ac_try) 2>&5
10642 ac_status=$?
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); }; }; then
10645 ac_cv_prog_cc_stdc=$ac_arg
10646 break
10647 else
10648 echo "$as_me: failed program was:" >&5
10649 sed 's/^/| /' conftest.$ac_ext >&5
10650
10651 fi
10652 rm -f conftest.$ac_objext
10653 done
10654 rm -f conftest.$ac_ext conftest.$ac_objext
10655 CC=$ac_save_CC
10656
10657 fi
10658
10659 case "x$ac_cv_prog_cc_stdc" in
10660 x|xno)
10661 echo "$as_me:$LINENO: result: none needed" >&5
10662 echo "${ECHO_T}none needed" >&6 ;;
10663 *)
10664 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10665 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10666 CC="$CC $ac_cv_prog_cc_stdc" ;;
10667 esac
10668
10669 # Some people use a C++ compiler to compile C. Since we use `exit',
10670 # in C++ we need to declare it. In case someone uses the same compiler
10671 # for both compiling C and C++ we need to have the C++ compiler decide
10672 # the declaration of exit, since it's the most demanding environment.
10673 cat >conftest.$ac_ext <<_ACEOF
10674 #ifndef __cplusplus
10675 choke me
10676 #endif
10677 _ACEOF
10678 rm -f conftest.$ac_objext
10679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10680 (eval $ac_compile) 2>&5
10681 ac_status=$?
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } &&
10684 { ac_try='test -s conftest.$ac_objext'
10685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10686 (eval $ac_try) 2>&5
10687 ac_status=$?
10688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10689 (exit $ac_status); }; }; then
10690 for ac_declaration in \
10691 ''\
10692 '#include <stdlib.h>' \
10693 'extern "C" void std::exit (int) throw (); using std::exit;' \
10694 'extern "C" void std::exit (int); using std::exit;' \
10695 'extern "C" void exit (int) throw ();' \
10696 'extern "C" void exit (int);' \
10697 'void exit (int);'
10698 do
10699 cat >conftest.$ac_ext <<_ACEOF
10700 #line $LINENO "configure"
10701 /* confdefs.h. */
10702 _ACEOF
10703 cat confdefs.h >>conftest.$ac_ext
10704 cat >>conftest.$ac_ext <<_ACEOF
10705 /* end confdefs.h. */
10706 #include <stdlib.h>
10707 $ac_declaration
10708 int
10709 main ()
10710 {
10711 exit (42);
10712 ;
10713 return 0;
10714 }
10715 _ACEOF
10716 rm -f conftest.$ac_objext
10717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10718 (eval $ac_compile) 2>&5
10719 ac_status=$?
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } &&
10722 { ac_try='test -s conftest.$ac_objext'
10723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10724 (eval $ac_try) 2>&5
10725 ac_status=$?
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; }; then
10728 :
10729 else
10730 echo "$as_me: failed program was:" >&5
10731 sed 's/^/| /' conftest.$ac_ext >&5
10732
10733 continue
10734 fi
10735 rm -f conftest.$ac_objext conftest.$ac_ext
10736 cat >conftest.$ac_ext <<_ACEOF
10737 #line $LINENO "configure"
10738 /* confdefs.h. */
10739 _ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10743 $ac_declaration
10744 int
10745 main ()
10746 {
10747 exit (42);
10748 ;
10749 return 0;
10750 }
10751 _ACEOF
10752 rm -f conftest.$ac_objext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10754 (eval $ac_compile) 2>&5
10755 ac_status=$?
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } &&
10758 { ac_try='test -s conftest.$ac_objext'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10761 ac_status=$?
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; }; then
10764 break
10765 else
10766 echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.$ac_ext >&5
10768
10769 fi
10770 rm -f conftest.$ac_objext conftest.$ac_ext
10771 done
10772 rm -f conftest*
10773 if test -n "$ac_declaration"; then
10774 echo '#ifdef __cplusplus' >>confdefs.h
10775 echo $ac_declaration >>confdefs.h
10776 echo '#endif' >>confdefs.h
10777 fi
10778
10779 else
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.$ac_ext >&5
10782
10783 fi
10784 rm -f conftest.$ac_objext conftest.$ac_ext
10785 ac_ext=c
10786 ac_cpp='$CPP $CPPFLAGS'
10787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10790
10791
10792
10793 ac_ext=c
10794 ac_cpp='$CPP $CPPFLAGS'
10795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10798 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10799 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10800 # On Suns, sometimes $CPP names a directory.
10801 if test -n "$CPP" && test -d "$CPP"; then
10802 CPP=
10803 fi
10804 if test -z "$CPP"; then
10805 if test "${ac_cv_prog_CPP+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 else
10808 # Double quotes because CPP needs to be expanded
10809 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10810 do
10811 ac_preproc_ok=false
10812 for ac_c_preproc_warn_flag in '' yes
10813 do
10814 # Use a header file that comes with gcc, so configuring glibc
10815 # with a fresh cross-compiler works.
10816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10817 # <limits.h> exists even on freestanding compilers.
10818 # On the NeXT, cc -E runs the code through the compiler's parser,
10819 # not just through cpp. "Syntax error" is here to catch this case.
10820 cat >conftest.$ac_ext <<_ACEOF
10821 #line $LINENO "configure"
10822 /* confdefs.h. */
10823 _ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10827 #ifdef __STDC__
10828 # include <limits.h>
10829 #else
10830 # include <assert.h>
10831 #endif
10832 Syntax error
10833 _ACEOF
10834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10836 ac_status=$?
10837 grep -v '^ *+' conftest.er1 >conftest.err
10838 rm -f conftest.er1
10839 cat conftest.err >&5
10840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841 (exit $ac_status); } >/dev/null; then
10842 if test -s conftest.err; then
10843 ac_cpp_err=$ac_c_preproc_warn_flag
10844 else
10845 ac_cpp_err=
10846 fi
10847 else
10848 ac_cpp_err=yes
10849 fi
10850 if test -z "$ac_cpp_err"; then
10851 :
10852 else
10853 echo "$as_me: failed program was:" >&5
10854 sed 's/^/| /' conftest.$ac_ext >&5
10855
10856 # Broken: fails on valid input.
10857 continue
10858 fi
10859 rm -f conftest.err conftest.$ac_ext
10860
10861 # OK, works on sane cases. Now check whether non-existent headers
10862 # can be detected and how.
10863 cat >conftest.$ac_ext <<_ACEOF
10864 #line $LINENO "configure"
10865 /* confdefs.h. */
10866 _ACEOF
10867 cat confdefs.h >>conftest.$ac_ext
10868 cat >>conftest.$ac_ext <<_ACEOF
10869 /* end confdefs.h. */
10870 #include <ac_nonexistent.h>
10871 _ACEOF
10872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10874 ac_status=$?
10875 grep -v '^ *+' conftest.er1 >conftest.err
10876 rm -f conftest.er1
10877 cat conftest.err >&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); } >/dev/null; then
10880 if test -s conftest.err; then
10881 ac_cpp_err=$ac_c_preproc_warn_flag
10882 else
10883 ac_cpp_err=
10884 fi
10885 else
10886 ac_cpp_err=yes
10887 fi
10888 if test -z "$ac_cpp_err"; then
10889 # Broken: success on invalid input.
10890 continue
10891 else
10892 echo "$as_me: failed program was:" >&5
10893 sed 's/^/| /' conftest.$ac_ext >&5
10894
10895 # Passes both tests.
10896 ac_preproc_ok=:
10897 break
10898 fi
10899 rm -f conftest.err conftest.$ac_ext
10900
10901 done
10902 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10903 rm -f conftest.err conftest.$ac_ext
10904 if $ac_preproc_ok; then
10905 break
10906 fi
10907
10908 done
10909 ac_cv_prog_CPP=$CPP
10910
10911 fi
10912 CPP=$ac_cv_prog_CPP
10913 else
10914 ac_cv_prog_CPP=$CPP
10915 fi
10916 echo "$as_me:$LINENO: result: $CPP" >&5
10917 echo "${ECHO_T}$CPP" >&6
10918 ac_preproc_ok=false
10919 for ac_c_preproc_warn_flag in '' yes
10920 do
10921 # Use a header file that comes with gcc, so configuring glibc
10922 # with a fresh cross-compiler works.
10923 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10924 # <limits.h> exists even on freestanding compilers.
10925 # On the NeXT, cc -E runs the code through the compiler's parser,
10926 # not just through cpp. "Syntax error" is here to catch this case.
10927 cat >conftest.$ac_ext <<_ACEOF
10928 #line $LINENO "configure"
10929 /* confdefs.h. */
10930 _ACEOF
10931 cat confdefs.h >>conftest.$ac_ext
10932 cat >>conftest.$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10934 #ifdef __STDC__
10935 # include <limits.h>
10936 #else
10937 # include <assert.h>
10938 #endif
10939 Syntax error
10940 _ACEOF
10941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10943 ac_status=$?
10944 grep -v '^ *+' conftest.er1 >conftest.err
10945 rm -f conftest.er1
10946 cat conftest.err >&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } >/dev/null; then
10949 if test -s conftest.err; then
10950 ac_cpp_err=$ac_c_preproc_warn_flag
10951 else
10952 ac_cpp_err=
10953 fi
10954 else
10955 ac_cpp_err=yes
10956 fi
10957 if test -z "$ac_cpp_err"; then
10958 :
10959 else
10960 echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.$ac_ext >&5
10962
10963 # Broken: fails on valid input.
10964 continue
10965 fi
10966 rm -f conftest.err conftest.$ac_ext
10967
10968 # OK, works on sane cases. Now check whether non-existent headers
10969 # can be detected and how.
10970 cat >conftest.$ac_ext <<_ACEOF
10971 #line $LINENO "configure"
10972 /* confdefs.h. */
10973 _ACEOF
10974 cat confdefs.h >>conftest.$ac_ext
10975 cat >>conftest.$ac_ext <<_ACEOF
10976 /* end confdefs.h. */
10977 #include <ac_nonexistent.h>
10978 _ACEOF
10979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10981 ac_status=$?
10982 grep -v '^ *+' conftest.er1 >conftest.err
10983 rm -f conftest.er1
10984 cat conftest.err >&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } >/dev/null; then
10987 if test -s conftest.err; then
10988 ac_cpp_err=$ac_c_preproc_warn_flag
10989 else
10990 ac_cpp_err=
10991 fi
10992 else
10993 ac_cpp_err=yes
10994 fi
10995 if test -z "$ac_cpp_err"; then
10996 # Broken: success on invalid input.
10997 continue
10998 else
10999 echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.$ac_ext >&5
11001
11002 # Passes both tests.
11003 ac_preproc_ok=:
11004 break
11005 fi
11006 rm -f conftest.err conftest.$ac_ext
11007
11008 done
11009 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11010 rm -f conftest.err conftest.$ac_ext
11011 if $ac_preproc_ok; then
11012 :
11013 else
11014 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11015 See \`config.log' for more details." >&5
11016 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11017 See \`config.log' for more details." >&2;}
11018 { (exit 1); exit 1; }; }
11019 fi
11020
11021 ac_ext=c
11022 ac_cpp='$CPP $CPPFLAGS'
11023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11026
11027
11028 echo "$as_me:$LINENO: checking for egrep" >&5
11029 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11030 if test "${ac_cv_prog_egrep+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 else
11033 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11034 then ac_cv_prog_egrep='grep -E'
11035 else ac_cv_prog_egrep='egrep'
11036 fi
11037 fi
11038 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11039 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11040 EGREP=$ac_cv_prog_egrep
11041
11042
11043 if test $ac_cv_c_compiler_gnu = yes; then
11044 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11045 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11046 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11047 echo $ECHO_N "(cached) $ECHO_C" >&6
11048 else
11049 ac_pattern="Autoconf.*'x'"
11050 cat >conftest.$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11052 /* confdefs.h. */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h. */
11057 #include <sgtty.h>
11058 Autoconf TIOCGETP
11059 _ACEOF
11060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11061 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11062 ac_cv_prog_gcc_traditional=yes
11063 else
11064 ac_cv_prog_gcc_traditional=no
11065 fi
11066 rm -f conftest*
11067
11068
11069 if test $ac_cv_prog_gcc_traditional = no; then
11070 cat >conftest.$ac_ext <<_ACEOF
11071 #line $LINENO "configure"
11072 /* confdefs.h. */
11073 _ACEOF
11074 cat confdefs.h >>conftest.$ac_ext
11075 cat >>conftest.$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11077 #include <termio.h>
11078 Autoconf TCGETA
11079 _ACEOF
11080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11081 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11082 ac_cv_prog_gcc_traditional=yes
11083 fi
11084 rm -f conftest*
11085
11086 fi
11087 fi
11088 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11089 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11090 if test $ac_cv_prog_gcc_traditional = yes; then
11091 CC="$CC -traditional"
11092 fi
11093 fi
11094
11095
11096
11097
11098 ac_ext=cc
11099 ac_cpp='$CXXCPP $CPPFLAGS'
11100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11103
11104
11105 CXXFLAGS=${CXXFLAGS:=}
11106 ac_ext=cc
11107 ac_cpp='$CXXCPP $CPPFLAGS'
11108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11111 if test -n "$ac_tool_prefix"; then
11112 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11113 do
11114 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11115 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11116 echo "$as_me:$LINENO: checking for $ac_word" >&5
11117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11118 if test "${ac_cv_prog_CXX+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 else
11121 if test -n "$CXX"; then
11122 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11123 else
11124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11125 for as_dir in $PATH
11126 do
11127 IFS=$as_save_IFS
11128 test -z "$as_dir" && as_dir=.
11129 for ac_exec_ext in '' $ac_executable_extensions; do
11130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11131 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11133 break 2
11134 fi
11135 done
11136 done
11137
11138 fi
11139 fi
11140 CXX=$ac_cv_prog_CXX
11141 if test -n "$CXX"; then
11142 echo "$as_me:$LINENO: result: $CXX" >&5
11143 echo "${ECHO_T}$CXX" >&6
11144 else
11145 echo "$as_me:$LINENO: result: no" >&5
11146 echo "${ECHO_T}no" >&6
11147 fi
11148
11149 test -n "$CXX" && break
11150 done
11151 fi
11152 if test -z "$CXX"; then
11153 ac_ct_CXX=$CXX
11154 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11155 do
11156 # Extract the first word of "$ac_prog", so it can be a program name with args.
11157 set dummy $ac_prog; ac_word=$2
11158 echo "$as_me:$LINENO: checking for $ac_word" >&5
11159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11160 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11161 echo $ECHO_N "(cached) $ECHO_C" >&6
11162 else
11163 if test -n "$ac_ct_CXX"; then
11164 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11165 else
11166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11167 for as_dir in $PATH
11168 do
11169 IFS=$as_save_IFS
11170 test -z "$as_dir" && as_dir=.
11171 for ac_exec_ext in '' $ac_executable_extensions; do
11172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11173 ac_cv_prog_ac_ct_CXX="$ac_prog"
11174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11175 break 2
11176 fi
11177 done
11178 done
11179
11180 fi
11181 fi
11182 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11183 if test -n "$ac_ct_CXX"; then
11184 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11185 echo "${ECHO_T}$ac_ct_CXX" >&6
11186 else
11187 echo "$as_me:$LINENO: result: no" >&5
11188 echo "${ECHO_T}no" >&6
11189 fi
11190
11191 test -n "$ac_ct_CXX" && break
11192 done
11193 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11194
11195 CXX=$ac_ct_CXX
11196 fi
11197
11198
11199 # Provide some information about the compiler.
11200 echo "$as_me:$LINENO:" \
11201 "checking for C++ compiler version" >&5
11202 ac_compiler=`set X $ac_compile; echo $2`
11203 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11204 (eval $ac_compiler --version </dev/null >&5) 2>&5
11205 ac_status=$?
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }
11208 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11209 (eval $ac_compiler -v </dev/null >&5) 2>&5
11210 ac_status=$?
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }
11213 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11214 (eval $ac_compiler -V </dev/null >&5) 2>&5
11215 ac_status=$?
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); }
11218
11219 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11220 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11221 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 else
11224 cat >conftest.$ac_ext <<_ACEOF
11225 #line $LINENO "configure"
11226 /* confdefs.h. */
11227 _ACEOF
11228 cat confdefs.h >>conftest.$ac_ext
11229 cat >>conftest.$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11231
11232 int
11233 main ()
11234 {
11235 #ifndef __GNUC__
11236 choke me
11237 #endif
11238
11239 ;
11240 return 0;
11241 }
11242 _ACEOF
11243 rm -f conftest.$ac_objext
11244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11245 (eval $ac_compile) 2>&5
11246 ac_status=$?
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); } &&
11249 { ac_try='test -s conftest.$ac_objext'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11251 (eval $ac_try) 2>&5
11252 ac_status=$?
11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; }; then
11255 ac_compiler_gnu=yes
11256 else
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.$ac_ext >&5
11259
11260 ac_compiler_gnu=no
11261 fi
11262 rm -f conftest.$ac_objext conftest.$ac_ext
11263 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11264
11265 fi
11266 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11267 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11268 GXX=`test $ac_compiler_gnu = yes && echo yes`
11269 ac_test_CXXFLAGS=${CXXFLAGS+set}
11270 ac_save_CXXFLAGS=$CXXFLAGS
11271 CXXFLAGS="-g"
11272 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11273 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11274 if test "${ac_cv_prog_cxx_g+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 else
11277 cat >conftest.$ac_ext <<_ACEOF
11278 #line $LINENO "configure"
11279 /* confdefs.h. */
11280 _ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11284
11285 int
11286 main ()
11287 {
11288
11289 ;
11290 return 0;
11291 }
11292 _ACEOF
11293 rm -f conftest.$ac_objext
11294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11295 (eval $ac_compile) 2>&5
11296 ac_status=$?
11297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11298 (exit $ac_status); } &&
11299 { ac_try='test -s conftest.$ac_objext'
11300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11301 (eval $ac_try) 2>&5
11302 ac_status=$?
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }; }; then
11305 ac_cv_prog_cxx_g=yes
11306 else
11307 echo "$as_me: failed program was:" >&5
11308 sed 's/^/| /' conftest.$ac_ext >&5
11309
11310 ac_cv_prog_cxx_g=no
11311 fi
11312 rm -f conftest.$ac_objext conftest.$ac_ext
11313 fi
11314 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11315 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11316 if test "$ac_test_CXXFLAGS" = set; then
11317 CXXFLAGS=$ac_save_CXXFLAGS
11318 elif test $ac_cv_prog_cxx_g = yes; then
11319 if test "$GXX" = yes; then
11320 CXXFLAGS="-g -O2"
11321 else
11322 CXXFLAGS="-g"
11323 fi
11324 else
11325 if test "$GXX" = yes; then
11326 CXXFLAGS="-O2"
11327 else
11328 CXXFLAGS=
11329 fi
11330 fi
11331 for ac_declaration in \
11332 ''\
11333 '#include <stdlib.h>' \
11334 'extern "C" void std::exit (int) throw (); using std::exit;' \
11335 'extern "C" void std::exit (int); using std::exit;' \
11336 'extern "C" void exit (int) throw ();' \
11337 'extern "C" void exit (int);' \
11338 'void exit (int);'
11339 do
11340 cat >conftest.$ac_ext <<_ACEOF
11341 #line $LINENO "configure"
11342 /* confdefs.h. */
11343 _ACEOF
11344 cat confdefs.h >>conftest.$ac_ext
11345 cat >>conftest.$ac_ext <<_ACEOF
11346 /* end confdefs.h. */
11347 #include <stdlib.h>
11348 $ac_declaration
11349 int
11350 main ()
11351 {
11352 exit (42);
11353 ;
11354 return 0;
11355 }
11356 _ACEOF
11357 rm -f conftest.$ac_objext
11358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11359 (eval $ac_compile) 2>&5
11360 ac_status=$?
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } &&
11363 { ac_try='test -s conftest.$ac_objext'
11364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365 (eval $ac_try) 2>&5
11366 ac_status=$?
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); }; }; then
11369 :
11370 else
11371 echo "$as_me: failed program was:" >&5
11372 sed 's/^/| /' conftest.$ac_ext >&5
11373
11374 continue
11375 fi
11376 rm -f conftest.$ac_objext conftest.$ac_ext
11377 cat >conftest.$ac_ext <<_ACEOF
11378 #line $LINENO "configure"
11379 /* confdefs.h. */
11380 _ACEOF
11381 cat confdefs.h >>conftest.$ac_ext
11382 cat >>conftest.$ac_ext <<_ACEOF
11383 /* end confdefs.h. */
11384 $ac_declaration
11385 int
11386 main ()
11387 {
11388 exit (42);
11389 ;
11390 return 0;
11391 }
11392 _ACEOF
11393 rm -f conftest.$ac_objext
11394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11395 (eval $ac_compile) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); } &&
11399 { ac_try='test -s conftest.$ac_objext'
11400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401 (eval $ac_try) 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); }; }; then
11405 break
11406 else
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.$ac_ext >&5
11409
11410 fi
11411 rm -f conftest.$ac_objext conftest.$ac_ext
11412 done
11413 rm -f conftest*
11414 if test -n "$ac_declaration"; then
11415 echo '#ifdef __cplusplus' >>confdefs.h
11416 echo $ac_declaration >>confdefs.h
11417 echo '#endif' >>confdefs.h
11418 fi
11419
11420 ac_ext=cc
11421 ac_cpp='$CXXCPP $CPPFLAGS'
11422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11425
11426
11427 ac_ext=c
11428 ac_cpp='$CPP $CPPFLAGS'
11429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11432
11433
11434 if test -n "$ac_tool_prefix"; then
11435 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11436 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11437 echo "$as_me:$LINENO: checking for $ac_word" >&5
11438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11439 if test "${ac_cv_prog_RANLIB+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6
11441 else
11442 if test -n "$RANLIB"; then
11443 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11444 else
11445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11446 for as_dir in $PATH
11447 do
11448 IFS=$as_save_IFS
11449 test -z "$as_dir" && as_dir=.
11450 for ac_exec_ext in '' $ac_executable_extensions; do
11451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11452 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11454 break 2
11455 fi
11456 done
11457 done
11458
11459 fi
11460 fi
11461 RANLIB=$ac_cv_prog_RANLIB
11462 if test -n "$RANLIB"; then
11463 echo "$as_me:$LINENO: result: $RANLIB" >&5
11464 echo "${ECHO_T}$RANLIB" >&6
11465 else
11466 echo "$as_me:$LINENO: result: no" >&5
11467 echo "${ECHO_T}no" >&6
11468 fi
11469
11470 fi
11471 if test -z "$ac_cv_prog_RANLIB"; then
11472 ac_ct_RANLIB=$RANLIB
11473 # Extract the first word of "ranlib", so it can be a program name with args.
11474 set dummy ranlib; ac_word=$2
11475 echo "$as_me:$LINENO: checking for $ac_word" >&5
11476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11477 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 else
11480 if test -n "$ac_ct_RANLIB"; then
11481 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11482 else
11483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11484 for as_dir in $PATH
11485 do
11486 IFS=$as_save_IFS
11487 test -z "$as_dir" && as_dir=.
11488 for ac_exec_ext in '' $ac_executable_extensions; do
11489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11490 ac_cv_prog_ac_ct_RANLIB="ranlib"
11491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11492 break 2
11493 fi
11494 done
11495 done
11496
11497 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11498 fi
11499 fi
11500 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11501 if test -n "$ac_ct_RANLIB"; then
11502 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11503 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11504 else
11505 echo "$as_me:$LINENO: result: no" >&5
11506 echo "${ECHO_T}no" >&6
11507 fi
11508
11509 RANLIB=$ac_ct_RANLIB
11510 else
11511 RANLIB="$ac_cv_prog_RANLIB"
11512 fi
11513
11514
11515 # Extract the first word of "ar", so it can be a program name with args.
11516 set dummy ar; ac_word=$2
11517 echo "$as_me:$LINENO: checking for $ac_word" >&5
11518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11519 if test "${ac_cv_prog_AR+set}" = set; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11521 else
11522 if test -n "$AR"; then
11523 ac_cv_prog_AR="$AR" # Let the user override the test.
11524 else
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $PATH
11527 do
11528 IFS=$as_save_IFS
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_prog_AR="ar"
11533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 break 2
11535 fi
11536 done
11537 done
11538
11539 fi
11540 fi
11541 AR=$ac_cv_prog_AR
11542 if test -n "$AR"; then
11543 echo "$as_me:$LINENO: result: $AR" >&5
11544 echo "${ECHO_T}$AR" >&6
11545 else
11546 echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6
11548 fi
11549
11550 if test "x$AR" = "x" ; then
11551 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11552 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11553 { (exit 1); exit 1; }; }
11554 fi
11555
11556 # Find a good install program. We prefer a C program (faster),
11557 # so one script is as good as another. But avoid the broken or
11558 # incompatible versions:
11559 # SysV /etc/install, /usr/sbin/install
11560 # SunOS /usr/etc/install
11561 # IRIX /sbin/install
11562 # AIX /bin/install
11563 # AmigaOS /C/install, which installs bootblocks on floppy discs
11564 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11565 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11566 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11567 # ./install, which can be erroneously created by make from ./install.sh.
11568 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11569 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11570 if test -z "$INSTALL"; then
11571 if test "${ac_cv_path_install+set}" = set; then
11572 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 else
11574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11575 for as_dir in $PATH
11576 do
11577 IFS=$as_save_IFS
11578 test -z "$as_dir" && as_dir=.
11579 # Account for people who put trailing slashes in PATH elements.
11580 case $as_dir/ in
11581 ./ | .// | /cC/* | \
11582 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11583 /usr/ucb/* ) ;;
11584 *)
11585 # OSF1 and SCO ODT 3.0 have their own names for install.
11586 # Don't use installbsd from OSF since it installs stuff as root
11587 # by default.
11588 for ac_prog in ginstall scoinst install; do
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11591 if test $ac_prog = install &&
11592 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11593 # AIX install. It has an incompatible calling convention.
11594 :
11595 elif test $ac_prog = install &&
11596 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11597 # program-specific install script used by HP pwplus--don't use.
11598 :
11599 else
11600 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11601 break 3
11602 fi
11603 fi
11604 done
11605 done
11606 ;;
11607 esac
11608 done
11609
11610
11611 fi
11612 if test "${ac_cv_path_install+set}" = set; then
11613 INSTALL=$ac_cv_path_install
11614 else
11615 # As a last resort, use the slow shell script. We don't cache a
11616 # path for INSTALL within a source directory, because that will
11617 # break other packages using the cache if that directory is
11618 # removed, or if the path is relative.
11619 INSTALL=$ac_install_sh
11620 fi
11621 fi
11622 echo "$as_me:$LINENO: result: $INSTALL" >&5
11623 echo "${ECHO_T}$INSTALL" >&6
11624
11625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11626 # It thinks the first close brace ends the variable substitution.
11627 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11628
11629 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11630
11631 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11632
11633
11634 case ${INSTALL} in
11635 /* ) # Absolute
11636 ;;
11637 ?:* ) # Drive letter, considered as absolute.
11638 ;;
11639 *)
11640 INSTALL=`pwd`/${INSTALL} ;;
11641 esac
11642
11643 case ${host} in
11644 *-hp-hpux* )
11645 INSTALL_DIR="mkdir"
11646 ;;
11647
11648 *) INSTALL_DIR="$INSTALL -d"
11649 ;;
11650 esac
11651
11652
11653 case "${host}" in
11654
11655 powerpc-*-darwin* )
11656 INSTALL_PROGRAM="cp -fp"
11657 INSTALL_DATA="cp -fp"
11658 ;;
11659 *)
11660 ;;
11661 esac
11662
11663 # Extract the first word of "strip", so it can be a program name with args.
11664 set dummy strip; ac_word=$2
11665 echo "$as_me:$LINENO: checking for $ac_word" >&5
11666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11667 if test "${ac_cv_prog_STRIP+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11669 else
11670 if test -n "$STRIP"; then
11671 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11672 else
11673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674 for as_dir in $PATH
11675 do
11676 IFS=$as_save_IFS
11677 test -z "$as_dir" && as_dir=.
11678 for ac_exec_ext in '' $ac_executable_extensions; do
11679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680 ac_cv_prog_STRIP="strip"
11681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11682 break 2
11683 fi
11684 done
11685 done
11686
11687 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11688 fi
11689 fi
11690 STRIP=$ac_cv_prog_STRIP
11691 if test -n "$STRIP"; then
11692 echo "$as_me:$LINENO: result: $STRIP" >&5
11693 echo "${ECHO_T}$STRIP" >&6
11694 else
11695 echo "$as_me:$LINENO: result: no" >&5
11696 echo "${ECHO_T}no" >&6
11697 fi
11698
11699
11700 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11701 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11702 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11703 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 else
11705
11706 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11707 egrep -s GNU > /dev/null); then
11708 wx_cv_prog_makeisgnu="yes"
11709 else
11710 wx_cv_prog_makeisgnu="no"
11711 fi
11712
11713 fi
11714 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11715 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11716
11717 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11718 IF_GNU_MAKE=""
11719 else
11720 IF_GNU_MAKE="#"
11721 fi
11722
11723
11724
11725 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11726 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11727 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11728 if test "${wx_cv_prog_makevpath+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11730 else
11731
11732 cat - << EOF > confMake
11733 check : file
11734 cp \$? \$@
11735 cp \$? final_file
11736 EOF
11737
11738 if test ! -d sub ; then
11739 mkdir sub
11740 fi
11741 echo dummy > sub/file
11742 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11743 RESULT=$?
11744 rm -f sub/file check final_file confMake
11745 rmdir sub
11746 if test "$RESULT" = 0; then
11747 wx_cv_prog_makevpath="yes"
11748 else
11749 wx_cv_prog_makevpath="no"
11750 fi
11751
11752 fi
11753 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11754 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11755
11756 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11757 { { echo "$as_me:$LINENO: error:
11758 You need a make-utility that is able to use the variable
11759 VPATH correctly.
11760 If your version of make does not support VPATH correctly,
11761 please install GNU-make (possibly as gmake), and start
11762 configure with the following command:
11763 export MAKE=gmake; ./configure for sh-type shells
11764 setenv MAKE gmake; ./configure for csh-type shells
11765 Also please do remember to use gmake in this case every time
11766 you are trying to compile.
11767 " >&5
11768 echo "$as_me: error:
11769 You need a make-utility that is able to use the variable
11770 VPATH correctly.
11771 If your version of make does not support VPATH correctly,
11772 please install GNU-make (possibly as gmake), and start
11773 configure with the following command:
11774 export MAKE=gmake; ./configure for sh-type shells
11775 setenv MAKE gmake; ./configure for csh-type shells
11776 Also please do remember to use gmake in this case every time
11777 you are trying to compile.
11778 " >&2;}
11779 { (exit 1); exit 1; }; }
11780 fi fi
11781 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11782 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11783 LN_S=$as_ln_s
11784 if test "$LN_S" = "ln -s"; then
11785 echo "$as_me:$LINENO: result: yes" >&5
11786 echo "${ECHO_T}yes" >&6
11787 else
11788 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11789 echo "${ECHO_T}no, using $LN_S" >&6
11790 fi
11791
11792
11793 case "${host}" in
11794 *-pc-os2_emx | *-pc-os2-emx )
11795 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11796 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11797 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11798 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 else
11801 ac_check_lib_save_LIBS=$LIBS
11802 LIBS="-lcExt $LIBS"
11803 cat >conftest.$ac_ext <<_ACEOF
11804 #line $LINENO "configure"
11805 /* confdefs.h. */
11806 _ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11810
11811 /* Override any gcc2 internal prototype to avoid an error. */
11812 #ifdef __cplusplus
11813 extern "C"
11814 #endif
11815 /* We use char because int might match the return type of a gcc2
11816 builtin and then its argument prototype would still apply. */
11817 char drand48 ();
11818 int
11819 main ()
11820 {
11821 drand48 ();
11822 ;
11823 return 0;
11824 }
11825 _ACEOF
11826 rm -f conftest.$ac_objext conftest$ac_exeext
11827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11828 (eval $ac_link) 2>&5
11829 ac_status=$?
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } &&
11832 { ac_try='test -s conftest$ac_exeext'
11833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834 (eval $ac_try) 2>&5
11835 ac_status=$?
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }; }; then
11838 ac_cv_lib_cExt_drand48=yes
11839 else
11840 echo "$as_me: failed program was:" >&5
11841 sed 's/^/| /' conftest.$ac_ext >&5
11842
11843 ac_cv_lib_cExt_drand48=no
11844 fi
11845 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11846 LIBS=$ac_check_lib_save_LIBS
11847 fi
11848 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11849 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11850 if test $ac_cv_lib_cExt_drand48 = yes; then
11851 LIBS="$LIBS -lcExt"
11852 fi
11853
11854 else
11855 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11856 fi
11857 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11858 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11859 if test "${wx_cv_gcc3+set}" = set; then
11860 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 else
11862
11863 cat >conftest.$ac_ext <<_ACEOF
11864 #line $LINENO "configure"
11865 /* confdefs.h. */
11866 _ACEOF
11867 cat confdefs.h >>conftest.$ac_ext
11868 cat >>conftest.$ac_ext <<_ACEOF
11869 /* end confdefs.h. */
11870
11871 int
11872 main ()
11873 {
11874
11875 #if (__GNUC__ < 3)
11876 #error old gcc
11877 #endif
11878
11879 ;
11880 return 0;
11881 }
11882 _ACEOF
11883 rm -f conftest.$ac_objext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>&5
11886 ac_status=$?
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } &&
11889 { ac_try='test -s conftest.$ac_objext'
11890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891 (eval $ac_try) 2>&5
11892 ac_status=$?
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; }; then
11895
11896 wx_cv_gcc3=yes
11897
11898 else
11899 echo "$as_me: failed program was:" >&5
11900 sed 's/^/| /' conftest.$ac_ext >&5
11901
11902
11903 wx_cv_gcc3=no
11904
11905
11906 fi
11907 rm -f conftest.$ac_objext conftest.$ac_ext
11908
11909 fi
11910 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11911 echo "${ECHO_T}$wx_cv_gcc3" >&6
11912 if test "$wx_cv_gcc3" = "no"; then
11913 LIBS="$LIBS -lstdcpp"
11914 else
11915 LIBS="$LIBS -lstdcxx"
11916 fi
11917 ;;
11918 esac
11919
11920
11921 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11922 echo "$as_me:$LINENO: checking for strings.h" >&5
11923 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11924 if test "${ac_cv_header_strings_h+set}" = set; then
11925 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 else
11927 ac_cv_header_strings_h=no
11928 fi
11929 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11930 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11931 if test "$ac_cv_header_strings_h" = "no"; then
11932 echo "$as_me:$LINENO: result: forced no into cache" >&5
11933 echo "${ECHO_T}forced no into cache" >&6
11934 else
11935 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11936 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11937 fi
11938 fi
11939 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11940 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11941 if test "${ac_cv_header_stdc+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 else
11944 cat >conftest.$ac_ext <<_ACEOF
11945 #line $LINENO "configure"
11946 /* confdefs.h. */
11947 _ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951 #include <stdlib.h>
11952 #include <stdarg.h>
11953 #include <string.h>
11954 #include <float.h>
11955
11956 int
11957 main ()
11958 {
11959
11960 ;
11961 return 0;
11962 }
11963 _ACEOF
11964 rm -f conftest.$ac_objext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11966 (eval $ac_compile) 2>&5
11967 ac_status=$?
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } &&
11970 { ac_try='test -s conftest.$ac_objext'
11971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972 (eval $ac_try) 2>&5
11973 ac_status=$?
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); }; }; then
11976 ac_cv_header_stdc=yes
11977 else
11978 echo "$as_me: failed program was:" >&5
11979 sed 's/^/| /' conftest.$ac_ext >&5
11980
11981 ac_cv_header_stdc=no
11982 fi
11983 rm -f conftest.$ac_objext conftest.$ac_ext
11984
11985 if test $ac_cv_header_stdc = yes; then
11986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11987 cat >conftest.$ac_ext <<_ACEOF
11988 #line $LINENO "configure"
11989 /* confdefs.h. */
11990 _ACEOF
11991 cat confdefs.h >>conftest.$ac_ext
11992 cat >>conftest.$ac_ext <<_ACEOF
11993 /* end confdefs.h. */
11994 #include <string.h>
11995
11996 _ACEOF
11997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11998 $EGREP "memchr" >/dev/null 2>&1; then
11999 :
12000 else
12001 ac_cv_header_stdc=no
12002 fi
12003 rm -f conftest*
12004
12005 fi
12006
12007 if test $ac_cv_header_stdc = yes; then
12008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12009 cat >conftest.$ac_ext <<_ACEOF
12010 #line $LINENO "configure"
12011 /* confdefs.h. */
12012 _ACEOF
12013 cat confdefs.h >>conftest.$ac_ext
12014 cat >>conftest.$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12016 #include <stdlib.h>
12017
12018 _ACEOF
12019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12020 $EGREP "free" >/dev/null 2>&1; then
12021 :
12022 else
12023 ac_cv_header_stdc=no
12024 fi
12025 rm -f conftest*
12026
12027 fi
12028
12029 if test $ac_cv_header_stdc = yes; then
12030 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12031 if test "$cross_compiling" = yes; then
12032 :
12033 else
12034 cat >conftest.$ac_ext <<_ACEOF
12035 #line $LINENO "configure"
12036 /* confdefs.h. */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <ctype.h>
12042 #if ((' ' & 0x0FF) == 0x020)
12043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12045 #else
12046 # define ISLOWER(c) \
12047 (('a' <= (c) && (c) <= 'i') \
12048 || ('j' <= (c) && (c) <= 'r') \
12049 || ('s' <= (c) && (c) <= 'z'))
12050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12051 #endif
12052
12053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12054 int
12055 main ()
12056 {
12057 int i;
12058 for (i = 0; i < 256; i++)
12059 if (XOR (islower (i), ISLOWER (i))
12060 || toupper (i) != TOUPPER (i))
12061 exit(2);
12062 exit (0);
12063 }
12064 _ACEOF
12065 rm -f conftest$ac_exeext
12066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12067 (eval $ac_link) 2>&5
12068 ac_status=$?
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 :
12077 else
12078 echo "$as_me: program exited with status $ac_status" >&5
12079 echo "$as_me: failed program was:" >&5
12080 sed 's/^/| /' conftest.$ac_ext >&5
12081
12082 ( exit $ac_status )
12083 ac_cv_header_stdc=no
12084 fi
12085 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12086 fi
12087 fi
12088 fi
12089 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12090 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12091 if test $ac_cv_header_stdc = yes; then
12092
12093 cat >>confdefs.h <<\_ACEOF
12094 #define STDC_HEADERS 1
12095 _ACEOF
12096
12097 fi
12098
12099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12110 inttypes.h stdint.h unistd.h
12111 do
12112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12113 echo "$as_me:$LINENO: checking for $ac_header" >&5
12114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 else
12118 cat >conftest.$ac_ext <<_ACEOF
12119 #line $LINENO "configure"
12120 /* confdefs.h. */
12121 _ACEOF
12122 cat confdefs.h >>conftest.$ac_ext
12123 cat >>conftest.$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12125 $ac_includes_default
12126
12127 #include <$ac_header>
12128 _ACEOF
12129 rm -f conftest.$ac_objext
12130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12131 (eval $ac_compile) 2>&5
12132 ac_status=$?
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -s conftest.$ac_objext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12138 ac_status=$?
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 eval "$as_ac_Header=yes"
12142 else
12143 echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.$ac_ext >&5
12145
12146 eval "$as_ac_Header=no"
12147 fi
12148 rm -f conftest.$ac_objext conftest.$ac_ext
12149 fi
12150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12153 cat >>confdefs.h <<_ACEOF
12154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12155 _ACEOF
12156
12157 fi
12158
12159 done
12160
12161
12162
12163 for ac_header in strings.h
12164 do
12165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12167 echo "$as_me:$LINENO: checking for $ac_header" >&5
12168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12171 fi
12172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12174 else
12175 # Is the header compilable?
12176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12178 cat >conftest.$ac_ext <<_ACEOF
12179 #line $LINENO "configure"
12180 /* confdefs.h. */
12181 _ACEOF
12182 cat confdefs.h >>conftest.$ac_ext
12183 cat >>conftest.$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12185 $ac_includes_default
12186 #include <$ac_header>
12187 _ACEOF
12188 rm -f conftest.$ac_objext
12189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12190 (eval $ac_compile) 2>&5
12191 ac_status=$?
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } &&
12194 { ac_try='test -s conftest.$ac_objext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12197 ac_status=$?
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 ac_header_compiler=yes
12201 else
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.$ac_ext >&5
12204
12205 ac_header_compiler=no
12206 fi
12207 rm -f conftest.$ac_objext conftest.$ac_ext
12208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12209 echo "${ECHO_T}$ac_header_compiler" >&6
12210
12211 # Is the header present?
12212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12214 cat >conftest.$ac_ext <<_ACEOF
12215 #line $LINENO "configure"
12216 /* confdefs.h. */
12217 _ACEOF
12218 cat confdefs.h >>conftest.$ac_ext
12219 cat >>conftest.$ac_ext <<_ACEOF
12220 /* end confdefs.h. */
12221 #include <$ac_header>
12222 _ACEOF
12223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12225 ac_status=$?
12226 grep -v '^ *+' conftest.er1 >conftest.err
12227 rm -f conftest.er1
12228 cat conftest.err >&5
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); } >/dev/null; then
12231 if test -s conftest.err; then
12232 ac_cpp_err=$ac_c_preproc_warn_flag
12233 else
12234 ac_cpp_err=
12235 fi
12236 else
12237 ac_cpp_err=yes
12238 fi
12239 if test -z "$ac_cpp_err"; then
12240 ac_header_preproc=yes
12241 else
12242 echo "$as_me: failed program was:" >&5
12243 sed 's/^/| /' conftest.$ac_ext >&5
12244
12245 ac_header_preproc=no
12246 fi
12247 rm -f conftest.err conftest.$ac_ext
12248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12249 echo "${ECHO_T}$ac_header_preproc" >&6
12250
12251 # So? What about this header?
12252 case $ac_header_compiler:$ac_header_preproc in
12253 yes:no )
12254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12258 (
12259 cat <<\_ASBOX
12260 ## ------------------------------------ ##
12261 ## Report this to bug-autoconf@gnu.org. ##
12262 ## ------------------------------------ ##
12263 _ASBOX
12264 ) |
12265 sed "s/^/$as_me: WARNING: /" >&2
12266 ;;
12267 no:yes )
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12274 (
12275 cat <<\_ASBOX
12276 ## ------------------------------------ ##
12277 ## Report this to bug-autoconf@gnu.org. ##
12278 ## ------------------------------------ ##
12279 _ASBOX
12280 ) |
12281 sed "s/^/$as_me: WARNING: /" >&2
12282 ;;
12283 esac
12284 echo "$as_me:$LINENO: checking for $ac_header" >&5
12285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 else
12289 eval "$as_ac_Header=$ac_header_preproc"
12290 fi
12291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12293
12294 fi
12295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12296 cat >>confdefs.h <<_ACEOF
12297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12298 _ACEOF
12299
12300 fi
12301
12302 done
12303
12304
12305
12306 for ac_header in stdlib.h
12307 do
12308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12310 echo "$as_me:$LINENO: checking for $ac_header" >&5
12311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 fi
12315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12317 else
12318 # Is the header compilable?
12319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12321 cat >conftest.$ac_ext <<_ACEOF
12322 #line $LINENO "configure"
12323 /* confdefs.h. */
12324 _ACEOF
12325 cat confdefs.h >>conftest.$ac_ext
12326 cat >>conftest.$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12328 $ac_includes_default
12329 #include <$ac_header>
12330 _ACEOF
12331 rm -f conftest.$ac_objext
12332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12333 (eval $ac_compile) 2>&5
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try='test -s conftest.$ac_objext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12340 ac_status=$?
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_header_compiler=yes
12344 else
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.$ac_ext >&5
12347
12348 ac_header_compiler=no
12349 fi
12350 rm -f conftest.$ac_objext conftest.$ac_ext
12351 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12352 echo "${ECHO_T}$ac_header_compiler" >&6
12353
12354 # Is the header present?
12355 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12357 cat >conftest.$ac_ext <<_ACEOF
12358 #line $LINENO "configure"
12359 /* confdefs.h. */
12360 _ACEOF
12361 cat confdefs.h >>conftest.$ac_ext
12362 cat >>conftest.$ac_ext <<_ACEOF
12363 /* end confdefs.h. */
12364 #include <$ac_header>
12365 _ACEOF
12366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12368 ac_status=$?
12369 grep -v '^ *+' conftest.er1 >conftest.err
12370 rm -f conftest.er1
12371 cat conftest.err >&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); } >/dev/null; then
12374 if test -s conftest.err; then
12375 ac_cpp_err=$ac_c_preproc_warn_flag
12376 else
12377 ac_cpp_err=
12378 fi
12379 else
12380 ac_cpp_err=yes
12381 fi
12382 if test -z "$ac_cpp_err"; then
12383 ac_header_preproc=yes
12384 else
12385 echo "$as_me: failed program was:" >&5
12386 sed 's/^/| /' conftest.$ac_ext >&5
12387
12388 ac_header_preproc=no
12389 fi
12390 rm -f conftest.err conftest.$ac_ext
12391 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12392 echo "${ECHO_T}$ac_header_preproc" >&6
12393
12394 # So? What about this header?
12395 case $ac_header_compiler:$ac_header_preproc in
12396 yes:no )
12397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12398 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12401 (
12402 cat <<\_ASBOX
12403 ## ------------------------------------ ##
12404 ## Report this to bug-autoconf@gnu.org. ##
12405 ## ------------------------------------ ##
12406 _ASBOX
12407 ) |
12408 sed "s/^/$as_me: WARNING: /" >&2
12409 ;;
12410 no:yes )
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12417 (
12418 cat <<\_ASBOX
12419 ## ------------------------------------ ##
12420 ## Report this to bug-autoconf@gnu.org. ##
12421 ## ------------------------------------ ##
12422 _ASBOX
12423 ) |
12424 sed "s/^/$as_me: WARNING: /" >&2
12425 ;;
12426 esac
12427 echo "$as_me:$LINENO: checking for $ac_header" >&5
12428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12431 else
12432 eval "$as_ac_Header=$ac_header_preproc"
12433 fi
12434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12436
12437 fi
12438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12439 cat >>confdefs.h <<_ACEOF
12440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12441 _ACEOF
12442
12443 fi
12444
12445 done
12446
12447
12448 for ac_header in malloc.h
12449 do
12450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12452 echo "$as_me:$LINENO: checking for $ac_header" >&5
12453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12455 echo $ECHO_N "(cached) $ECHO_C" >&6
12456 fi
12457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12459 else
12460 # Is the header compilable?
12461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12463 cat >conftest.$ac_ext <<_ACEOF
12464 #line $LINENO "configure"
12465 /* confdefs.h. */
12466 _ACEOF
12467 cat confdefs.h >>conftest.$ac_ext
12468 cat >>conftest.$ac_ext <<_ACEOF
12469 /* end confdefs.h. */
12470 $ac_includes_default
12471 #include <$ac_header>
12472 _ACEOF
12473 rm -f conftest.$ac_objext
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); } &&
12479 { ac_try='test -s conftest.$ac_objext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 ac_header_compiler=yes
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12489
12490 ac_header_compiler=no
12491 fi
12492 rm -f conftest.$ac_objext conftest.$ac_ext
12493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12494 echo "${ECHO_T}$ac_header_compiler" >&6
12495
12496 # Is the header present?
12497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12499 cat >conftest.$ac_ext <<_ACEOF
12500 #line $LINENO "configure"
12501 /* confdefs.h. */
12502 _ACEOF
12503 cat confdefs.h >>conftest.$ac_ext
12504 cat >>conftest.$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12506 #include <$ac_header>
12507 _ACEOF
12508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12510 ac_status=$?
12511 grep -v '^ *+' conftest.er1 >conftest.err
12512 rm -f conftest.er1
12513 cat conftest.err >&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } >/dev/null; then
12516 if test -s conftest.err; then
12517 ac_cpp_err=$ac_c_preproc_warn_flag
12518 else
12519 ac_cpp_err=
12520 fi
12521 else
12522 ac_cpp_err=yes
12523 fi
12524 if test -z "$ac_cpp_err"; then
12525 ac_header_preproc=yes
12526 else
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.$ac_ext >&5
12529
12530 ac_header_preproc=no
12531 fi
12532 rm -f conftest.err conftest.$ac_ext
12533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12534 echo "${ECHO_T}$ac_header_preproc" >&6
12535
12536 # So? What about this header?
12537 case $ac_header_compiler:$ac_header_preproc in
12538 yes:no )
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12543 (
12544 cat <<\_ASBOX
12545 ## ------------------------------------ ##
12546 ## Report this to bug-autoconf@gnu.org. ##
12547 ## ------------------------------------ ##
12548 _ASBOX
12549 ) |
12550 sed "s/^/$as_me: WARNING: /" >&2
12551 ;;
12552 no:yes )
12553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12559 (
12560 cat <<\_ASBOX
12561 ## ------------------------------------ ##
12562 ## Report this to bug-autoconf@gnu.org. ##
12563 ## ------------------------------------ ##
12564 _ASBOX
12565 ) |
12566 sed "s/^/$as_me: WARNING: /" >&2
12567 ;;
12568 esac
12569 echo "$as_me:$LINENO: checking for $ac_header" >&5
12570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12572 echo $ECHO_N "(cached) $ECHO_C" >&6
12573 else
12574 eval "$as_ac_Header=$ac_header_preproc"
12575 fi
12576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12578
12579 fi
12580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12581 cat >>confdefs.h <<_ACEOF
12582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12583 _ACEOF
12584
12585 fi
12586
12587 done
12588
12589
12590 for ac_header in unistd.h
12591 do
12592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12594 echo "$as_me:$LINENO: checking for $ac_header" >&5
12595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12597 echo $ECHO_N "(cached) $ECHO_C" >&6
12598 fi
12599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12601 else
12602 # Is the header compilable?
12603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12605 cat >conftest.$ac_ext <<_ACEOF
12606 #line $LINENO "configure"
12607 /* confdefs.h. */
12608 _ACEOF
12609 cat confdefs.h >>conftest.$ac_ext
12610 cat >>conftest.$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12612 $ac_includes_default
12613 #include <$ac_header>
12614 _ACEOF
12615 rm -f conftest.$ac_objext
12616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12617 (eval $ac_compile) 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); } &&
12621 { ac_try='test -s conftest.$ac_objext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12624 ac_status=$?
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_header_compiler=yes
12628 else
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.$ac_ext >&5
12631
12632 ac_header_compiler=no
12633 fi
12634 rm -f conftest.$ac_objext conftest.$ac_ext
12635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12636 echo "${ECHO_T}$ac_header_compiler" >&6
12637
12638 # Is the header present?
12639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12641 cat >conftest.$ac_ext <<_ACEOF
12642 #line $LINENO "configure"
12643 /* confdefs.h. */
12644 _ACEOF
12645 cat confdefs.h >>conftest.$ac_ext
12646 cat >>conftest.$ac_ext <<_ACEOF
12647 /* end confdefs.h. */
12648 #include <$ac_header>
12649 _ACEOF
12650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12652 ac_status=$?
12653 grep -v '^ *+' conftest.er1 >conftest.err
12654 rm -f conftest.er1
12655 cat conftest.err >&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); } >/dev/null; then
12658 if test -s conftest.err; then
12659 ac_cpp_err=$ac_c_preproc_warn_flag
12660 else
12661 ac_cpp_err=
12662 fi
12663 else
12664 ac_cpp_err=yes
12665 fi
12666 if test -z "$ac_cpp_err"; then
12667 ac_header_preproc=yes
12668 else
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12671
12672 ac_header_preproc=no
12673 fi
12674 rm -f conftest.err conftest.$ac_ext
12675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12676 echo "${ECHO_T}$ac_header_preproc" >&6
12677
12678 # So? What about this header?
12679 case $ac_header_compiler:$ac_header_preproc in
12680 yes:no )
12681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12685 (
12686 cat <<\_ASBOX
12687 ## ------------------------------------ ##
12688 ## Report this to bug-autoconf@gnu.org. ##
12689 ## ------------------------------------ ##
12690 _ASBOX
12691 ) |
12692 sed "s/^/$as_me: WARNING: /" >&2
12693 ;;
12694 no:yes )
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12701 (
12702 cat <<\_ASBOX
12703 ## ------------------------------------ ##
12704 ## Report this to bug-autoconf@gnu.org. ##
12705 ## ------------------------------------ ##
12706 _ASBOX
12707 ) |
12708 sed "s/^/$as_me: WARNING: /" >&2
12709 ;;
12710 esac
12711 echo "$as_me:$LINENO: checking for $ac_header" >&5
12712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12715 else
12716 eval "$as_ac_Header=$ac_header_preproc"
12717 fi
12718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12720
12721 fi
12722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12723 cat >>confdefs.h <<_ACEOF
12724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12725 _ACEOF
12726
12727 fi
12728
12729 done
12730
12731
12732 for ac_header in wchar.h
12733 do
12734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12736 echo "$as_me:$LINENO: checking for $ac_header" >&5
12737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12740 fi
12741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12743 else
12744 # Is the header compilable?
12745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12747 cat >conftest.$ac_ext <<_ACEOF
12748 #line $LINENO "configure"
12749 /* confdefs.h. */
12750 _ACEOF
12751 cat confdefs.h >>conftest.$ac_ext
12752 cat >>conftest.$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12754 $ac_includes_default
12755 #include <$ac_header>
12756 _ACEOF
12757 rm -f conftest.$ac_objext
12758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12759 (eval $ac_compile) 2>&5
12760 ac_status=$?
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -s conftest.$ac_objext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12769 ac_header_compiler=yes
12770 else
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.$ac_ext >&5
12773
12774 ac_header_compiler=no
12775 fi
12776 rm -f conftest.$ac_objext conftest.$ac_ext
12777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12778 echo "${ECHO_T}$ac_header_compiler" >&6
12779
12780 # Is the header present?
12781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12783 cat >conftest.$ac_ext <<_ACEOF
12784 #line $LINENO "configure"
12785 /* confdefs.h. */
12786 _ACEOF
12787 cat confdefs.h >>conftest.$ac_ext
12788 cat >>conftest.$ac_ext <<_ACEOF
12789 /* end confdefs.h. */
12790 #include <$ac_header>
12791 _ACEOF
12792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12794 ac_status=$?
12795 grep -v '^ *+' conftest.er1 >conftest.err
12796 rm -f conftest.er1
12797 cat conftest.err >&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } >/dev/null; then
12800 if test -s conftest.err; then
12801 ac_cpp_err=$ac_c_preproc_warn_flag
12802 else
12803 ac_cpp_err=
12804 fi
12805 else
12806 ac_cpp_err=yes
12807 fi
12808 if test -z "$ac_cpp_err"; then
12809 ac_header_preproc=yes
12810 else
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12813
12814 ac_header_preproc=no
12815 fi
12816 rm -f conftest.err conftest.$ac_ext
12817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12818 echo "${ECHO_T}$ac_header_preproc" >&6
12819
12820 # So? What about this header?
12821 case $ac_header_compiler:$ac_header_preproc in
12822 yes:no )
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12827 (
12828 cat <<\_ASBOX
12829 ## ------------------------------------ ##
12830 ## Report this to bug-autoconf@gnu.org. ##
12831 ## ------------------------------------ ##
12832 _ASBOX
12833 ) |
12834 sed "s/^/$as_me: WARNING: /" >&2
12835 ;;
12836 no:yes )
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12843 (
12844 cat <<\_ASBOX
12845 ## ------------------------------------ ##
12846 ## Report this to bug-autoconf@gnu.org. ##
12847 ## ------------------------------------ ##
12848 _ASBOX
12849 ) |
12850 sed "s/^/$as_me: WARNING: /" >&2
12851 ;;
12852 esac
12853 echo "$as_me:$LINENO: checking for $ac_header" >&5
12854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12856 echo $ECHO_N "(cached) $ECHO_C" >&6
12857 else
12858 eval "$as_ac_Header=$ac_header_preproc"
12859 fi
12860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12862
12863 fi
12864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12865 cat >>confdefs.h <<_ACEOF
12866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12867 _ACEOF
12868
12869 fi
12870
12871 done
12872
12873
12874 if test "$ac_cv_header_wchar_h" != "yes"; then
12875
12876 for ac_header in wcstr.h
12877 do
12878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12880 echo "$as_me:$LINENO: checking for $ac_header" >&5
12881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 fi
12885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12887 else
12888 # Is the header compilable?
12889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12891 cat >conftest.$ac_ext <<_ACEOF
12892 #line $LINENO "configure"
12893 /* confdefs.h. */
12894 _ACEOF
12895 cat confdefs.h >>conftest.$ac_ext
12896 cat >>conftest.$ac_ext <<_ACEOF
12897 /* end confdefs.h. */
12898 $ac_includes_default
12899 #include <$ac_header>
12900 _ACEOF
12901 rm -f conftest.$ac_objext
12902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903 (eval $ac_compile) 2>&5
12904 ac_status=$?
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); } &&
12907 { ac_try='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12910 ac_status=$?
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 ac_header_compiler=yes
12914 else
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.$ac_ext >&5
12917
12918 ac_header_compiler=no
12919 fi
12920 rm -f conftest.$ac_objext conftest.$ac_ext
12921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12922 echo "${ECHO_T}$ac_header_compiler" >&6
12923
12924 # Is the header present?
12925 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12926 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12927 cat >conftest.$ac_ext <<_ACEOF
12928 #line $LINENO "configure"
12929 /* confdefs.h. */
12930 _ACEOF
12931 cat confdefs.h >>conftest.$ac_ext
12932 cat >>conftest.$ac_ext <<_ACEOF
12933 /* end confdefs.h. */
12934 #include <$ac_header>
12935 _ACEOF
12936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12938 ac_status=$?
12939 grep -v '^ *+' conftest.er1 >conftest.err
12940 rm -f conftest.er1
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } >/dev/null; then
12944 if test -s conftest.err; then
12945 ac_cpp_err=$ac_c_preproc_warn_flag
12946 else
12947 ac_cpp_err=
12948 fi
12949 else
12950 ac_cpp_err=yes
12951 fi
12952 if test -z "$ac_cpp_err"; then
12953 ac_header_preproc=yes
12954 else
12955 echo "$as_me: failed program was:" >&5
12956 sed 's/^/| /' conftest.$ac_ext >&5
12957
12958 ac_header_preproc=no
12959 fi
12960 rm -f conftest.err conftest.$ac_ext
12961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12962 echo "${ECHO_T}$ac_header_preproc" >&6
12963
12964 # So? What about this header?
12965 case $ac_header_compiler:$ac_header_preproc in
12966 yes:no )
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12971 (
12972 cat <<\_ASBOX
12973 ## ------------------------------------ ##
12974 ## Report this to bug-autoconf@gnu.org. ##
12975 ## ------------------------------------ ##
12976 _ASBOX
12977 ) |
12978 sed "s/^/$as_me: WARNING: /" >&2
12979 ;;
12980 no:yes )
12981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12987 (
12988 cat <<\_ASBOX
12989 ## ------------------------------------ ##
12990 ## Report this to bug-autoconf@gnu.org. ##
12991 ## ------------------------------------ ##
12992 _ASBOX
12993 ) |
12994 sed "s/^/$as_me: WARNING: /" >&2
12995 ;;
12996 esac
12997 echo "$as_me:$LINENO: checking for $ac_header" >&5
12998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 else
13002 eval "$as_ac_Header=$ac_header_preproc"
13003 fi
13004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13006
13007 fi
13008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13009 cat >>confdefs.h <<_ACEOF
13010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13011 _ACEOF
13012
13013 fi
13014
13015 done
13016
13017 fi
13018
13019
13020 for ac_header in fnmatch.h
13021 do
13022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13024 echo "$as_me:$LINENO: checking for $ac_header" >&5
13025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 fi
13029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13031 else
13032 # Is the header compilable?
13033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13035 cat >conftest.$ac_ext <<_ACEOF
13036 #line $LINENO "configure"
13037 /* confdefs.h. */
13038 _ACEOF
13039 cat confdefs.h >>conftest.$ac_ext
13040 cat >>conftest.$ac_ext <<_ACEOF
13041 /* end confdefs.h. */
13042 $ac_includes_default
13043 #include <$ac_header>
13044 _ACEOF
13045 rm -f conftest.$ac_objext
13046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13047 (eval $ac_compile) 2>&5
13048 ac_status=$?
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try='test -s conftest.$ac_objext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13054 ac_status=$?
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 ac_header_compiler=yes
13058 else
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.$ac_ext >&5
13061
13062 ac_header_compiler=no
13063 fi
13064 rm -f conftest.$ac_objext conftest.$ac_ext
13065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13066 echo "${ECHO_T}$ac_header_compiler" >&6
13067
13068 # Is the header present?
13069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13071 cat >conftest.$ac_ext <<_ACEOF
13072 #line $LINENO "configure"
13073 /* confdefs.h. */
13074 _ACEOF
13075 cat confdefs.h >>conftest.$ac_ext
13076 cat >>conftest.$ac_ext <<_ACEOF
13077 /* end confdefs.h. */
13078 #include <$ac_header>
13079 _ACEOF
13080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13082 ac_status=$?
13083 grep -v '^ *+' conftest.er1 >conftest.err
13084 rm -f conftest.er1
13085 cat conftest.err >&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); } >/dev/null; then
13088 if test -s conftest.err; then
13089 ac_cpp_err=$ac_c_preproc_warn_flag
13090 else
13091 ac_cpp_err=
13092 fi
13093 else
13094 ac_cpp_err=yes
13095 fi
13096 if test -z "$ac_cpp_err"; then
13097 ac_header_preproc=yes
13098 else
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.$ac_ext >&5
13101
13102 ac_header_preproc=no
13103 fi
13104 rm -f conftest.err conftest.$ac_ext
13105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13106 echo "${ECHO_T}$ac_header_preproc" >&6
13107
13108 # So? What about this header?
13109 case $ac_header_compiler:$ac_header_preproc in
13110 yes:no )
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13115 (
13116 cat <<\_ASBOX
13117 ## ------------------------------------ ##
13118 ## Report this to bug-autoconf@gnu.org. ##
13119 ## ------------------------------------ ##
13120 _ASBOX
13121 ) |
13122 sed "s/^/$as_me: WARNING: /" >&2
13123 ;;
13124 no:yes )
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13131 (
13132 cat <<\_ASBOX
13133 ## ------------------------------------ ##
13134 ## Report this to bug-autoconf@gnu.org. ##
13135 ## ------------------------------------ ##
13136 _ASBOX
13137 ) |
13138 sed "s/^/$as_me: WARNING: /" >&2
13139 ;;
13140 esac
13141 echo "$as_me:$LINENO: checking for $ac_header" >&5
13142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 else
13146 eval "$as_ac_Header=$ac_header_preproc"
13147 fi
13148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13150
13151 fi
13152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13153 cat >>confdefs.h <<_ACEOF
13154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13155 _ACEOF
13156
13157 fi
13158
13159 done
13160
13161
13162 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13163
13164 for ac_func in fnmatch
13165 do
13166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13167 echo "$as_me:$LINENO: checking for $ac_func" >&5
13168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13169 if eval "test \"\${$as_ac_var+set}\" = set"; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13171 else
13172 cat >conftest.$ac_ext <<_ACEOF
13173 #line $LINENO "configure"
13174 /* confdefs.h. */
13175 _ACEOF
13176 cat confdefs.h >>conftest.$ac_ext
13177 cat >>conftest.$ac_ext <<_ACEOF
13178 /* end confdefs.h. */
13179 /* System header to define __stub macros and hopefully few prototypes,
13180 which can conflict with char $ac_func (); below.
13181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13182 <limits.h> exists even on freestanding compilers. */
13183 #ifdef __STDC__
13184 # include <limits.h>
13185 #else
13186 # include <assert.h>
13187 #endif
13188 /* Override any gcc2 internal prototype to avoid an error. */
13189 #ifdef __cplusplus
13190 extern "C"
13191 {
13192 #endif
13193 /* We use char because int might match the return type of a gcc2
13194 builtin and then its argument prototype would still apply. */
13195 char $ac_func ();
13196 /* The GNU C library defines this for functions which it implements
13197 to always fail with ENOSYS. Some functions are actually named
13198 something starting with __ and the normal name is an alias. */
13199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13200 choke me
13201 #else
13202 char (*f) () = $ac_func;
13203 #endif
13204 #ifdef __cplusplus
13205 }
13206 #endif
13207
13208 int
13209 main ()
13210 {
13211 return f != $ac_func;
13212 ;
13213 return 0;
13214 }
13215 _ACEOF
13216 rm -f conftest.$ac_objext conftest$ac_exeext
13217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13218 (eval $ac_link) 2>&5
13219 ac_status=$?
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); } &&
13222 { ac_try='test -s conftest$ac_exeext'
13223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13224 (eval $ac_try) 2>&5
13225 ac_status=$?
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); }; }; then
13228 eval "$as_ac_var=yes"
13229 else
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.$ac_ext >&5
13232
13233 eval "$as_ac_var=no"
13234 fi
13235 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13236 fi
13237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13239 if test `eval echo '${'$as_ac_var'}'` = yes; then
13240 cat >>confdefs.h <<_ACEOF
13241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13242 _ACEOF
13243
13244 fi
13245 done
13246
13247 fi
13248
13249
13250 for ac_header in langinfo.h
13251 do
13252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13254 echo "$as_me:$LINENO: checking for $ac_header" >&5
13255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13258 fi
13259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13261 else
13262 # Is the header compilable?
13263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13265 cat >conftest.$ac_ext <<_ACEOF
13266 #line $LINENO "configure"
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 $ac_includes_default
13273 #include <$ac_header>
13274 _ACEOF
13275 rm -f conftest.$ac_objext
13276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13277 (eval $ac_compile) 2>&5
13278 ac_status=$?
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } &&
13281 { ac_try='test -s conftest.$ac_objext'
13282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 (eval $ac_try) 2>&5
13284 ac_status=$?
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); }; }; then
13287 ac_header_compiler=yes
13288 else
13289 echo "$as_me: failed program was:" >&5
13290 sed 's/^/| /' conftest.$ac_ext >&5
13291
13292 ac_header_compiler=no
13293 fi
13294 rm -f conftest.$ac_objext conftest.$ac_ext
13295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13296 echo "${ECHO_T}$ac_header_compiler" >&6
13297
13298 # Is the header present?
13299 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13300 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13301 cat >conftest.$ac_ext <<_ACEOF
13302 #line $LINENO "configure"
13303 /* confdefs.h. */
13304 _ACEOF
13305 cat confdefs.h >>conftest.$ac_ext
13306 cat >>conftest.$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308 #include <$ac_header>
13309 _ACEOF
13310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13312 ac_status=$?
13313 grep -v '^ *+' conftest.er1 >conftest.err
13314 rm -f conftest.er1
13315 cat conftest.err >&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } >/dev/null; then
13318 if test -s conftest.err; then
13319 ac_cpp_err=$ac_c_preproc_warn_flag
13320 else
13321 ac_cpp_err=
13322 fi
13323 else
13324 ac_cpp_err=yes
13325 fi
13326 if test -z "$ac_cpp_err"; then
13327 ac_header_preproc=yes
13328 else
13329 echo "$as_me: failed program was:" >&5
13330 sed 's/^/| /' conftest.$ac_ext >&5
13331
13332 ac_header_preproc=no
13333 fi
13334 rm -f conftest.err conftest.$ac_ext
13335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13336 echo "${ECHO_T}$ac_header_preproc" >&6
13337
13338 # So? What about this header?
13339 case $ac_header_compiler:$ac_header_preproc in
13340 yes:no )
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13345 (
13346 cat <<\_ASBOX
13347 ## ------------------------------------ ##
13348 ## Report this to bug-autoconf@gnu.org. ##
13349 ## ------------------------------------ ##
13350 _ASBOX
13351 ) |
13352 sed "s/^/$as_me: WARNING: /" >&2
13353 ;;
13354 no:yes )
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13361 (
13362 cat <<\_ASBOX
13363 ## ------------------------------------ ##
13364 ## Report this to bug-autoconf@gnu.org. ##
13365 ## ------------------------------------ ##
13366 _ASBOX
13367 ) |
13368 sed "s/^/$as_me: WARNING: /" >&2
13369 ;;
13370 esac
13371 echo "$as_me:$LINENO: checking for $ac_header" >&5
13372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13375 else
13376 eval "$as_ac_Header=$ac_header_preproc"
13377 fi
13378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13380
13381 fi
13382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13383 cat >>confdefs.h <<_ACEOF
13384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13385 _ACEOF
13386
13387 fi
13388
13389 done
13390
13391
13392 case "${host}" in
13393 *-pc-os2_emx | *-pc-os2-emx )
13394 if test $ac_cv_header_langinfo_h = "yes"; then
13395 LIBS="$LIBS -lintl"
13396 fi
13397 ;;
13398 esac
13399
13400 if test "$wxUSE_GUI" = "yes"; then
13401 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13402
13403 for ac_header in X11/Xlib.h
13404 do
13405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13407 echo "$as_me:$LINENO: checking for $ac_header" >&5
13408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13411 fi
13412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13414 else
13415 # Is the header compilable?
13416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13418 cat >conftest.$ac_ext <<_ACEOF
13419 #line $LINENO "configure"
13420 /* confdefs.h. */
13421 _ACEOF
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 $ac_includes_default
13426 #include <$ac_header>
13427 _ACEOF
13428 rm -f conftest.$ac_objext
13429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13430 (eval $ac_compile) 2>&5
13431 ac_status=$?
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); } &&
13434 { ac_try='test -s conftest.$ac_objext'
13435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 (eval $ac_try) 2>&5
13437 ac_status=$?
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); }; }; then
13440 ac_header_compiler=yes
13441 else
13442 echo "$as_me: failed program was:" >&5
13443 sed 's/^/| /' conftest.$ac_ext >&5
13444
13445 ac_header_compiler=no
13446 fi
13447 rm -f conftest.$ac_objext conftest.$ac_ext
13448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13449 echo "${ECHO_T}$ac_header_compiler" >&6
13450
13451 # Is the header present?
13452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13454 cat >conftest.$ac_ext <<_ACEOF
13455 #line $LINENO "configure"
13456 /* confdefs.h. */
13457 _ACEOF
13458 cat confdefs.h >>conftest.$ac_ext
13459 cat >>conftest.$ac_ext <<_ACEOF
13460 /* end confdefs.h. */
13461 #include <$ac_header>
13462 _ACEOF
13463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13465 ac_status=$?
13466 grep -v '^ *+' conftest.er1 >conftest.err
13467 rm -f conftest.er1
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } >/dev/null; then
13471 if test -s conftest.err; then
13472 ac_cpp_err=$ac_c_preproc_warn_flag
13473 else
13474 ac_cpp_err=
13475 fi
13476 else
13477 ac_cpp_err=yes
13478 fi
13479 if test -z "$ac_cpp_err"; then
13480 ac_header_preproc=yes
13481 else
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.$ac_ext >&5
13484
13485 ac_header_preproc=no
13486 fi
13487 rm -f conftest.err conftest.$ac_ext
13488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13489 echo "${ECHO_T}$ac_header_preproc" >&6
13490
13491 # So? What about this header?
13492 case $ac_header_compiler:$ac_header_preproc in
13493 yes:no )
13494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13498 (
13499 cat <<\_ASBOX
13500 ## ------------------------------------ ##
13501 ## Report this to bug-autoconf@gnu.org. ##
13502 ## ------------------------------------ ##
13503 _ASBOX
13504 ) |
13505 sed "s/^/$as_me: WARNING: /" >&2
13506 ;;
13507 no:yes )
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13514 (
13515 cat <<\_ASBOX
13516 ## ------------------------------------ ##
13517 ## Report this to bug-autoconf@gnu.org. ##
13518 ## ------------------------------------ ##
13519 _ASBOX
13520 ) |
13521 sed "s/^/$as_me: WARNING: /" >&2
13522 ;;
13523 esac
13524 echo "$as_me:$LINENO: checking for $ac_header" >&5
13525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13528 else
13529 eval "$as_ac_Header=$ac_header_preproc"
13530 fi
13531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13533
13534 fi
13535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13536 cat >>confdefs.h <<_ACEOF
13537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13538 _ACEOF
13539
13540 fi
13541
13542 done
13543
13544
13545 for ac_header in X11/XKBlib.h
13546 do
13547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13548 echo "$as_me:$LINENO: checking for $ac_header" >&5
13549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13552 else
13553 cat >conftest.$ac_ext <<_ACEOF
13554 #line $LINENO "configure"
13555 /* confdefs.h. */
13556 _ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560
13561 #if HAVE_X11_XLIB_H
13562 #include <X11/Xlib.h>
13563 #endif
13564
13565
13566 #include <$ac_header>
13567 _ACEOF
13568 rm -f conftest.$ac_objext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13570 (eval $ac_compile) 2>&5
13571 ac_status=$?
13572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573 (exit $ac_status); } &&
13574 { ac_try='test -s conftest.$ac_objext'
13575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13576 (eval $ac_try) 2>&5
13577 ac_status=$?
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); }; }; then
13580 eval "$as_ac_Header=yes"
13581 else
13582 echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.$ac_ext >&5
13584
13585 eval "$as_ac_Header=no"
13586 fi
13587 rm -f conftest.$ac_objext conftest.$ac_ext
13588 fi
13589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13592 cat >>confdefs.h <<_ACEOF
13593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13594 _ACEOF
13595
13596 fi
13597
13598 done
13599
13600 fi
13601 fi
13602
13603
13604 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13605 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13606 if test "${ac_cv_c_const+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13608 else
13609 cat >conftest.$ac_ext <<_ACEOF
13610 #line $LINENO "configure"
13611 /* confdefs.h. */
13612 _ACEOF
13613 cat confdefs.h >>conftest.$ac_ext
13614 cat >>conftest.$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13616
13617 int
13618 main ()
13619 {
13620 /* FIXME: Include the comments suggested by Paul. */
13621 #ifndef __cplusplus
13622 /* Ultrix mips cc rejects this. */
13623 typedef int charset[2];
13624 const charset x;
13625 /* SunOS 4.1.1 cc rejects this. */
13626 char const *const *ccp;
13627 char **p;
13628 /* NEC SVR4.0.2 mips cc rejects this. */
13629 struct point {int x, y;};
13630 static struct point const zero = {0,0};
13631 /* AIX XL C 1.02.0.0 rejects this.
13632 It does not let you subtract one const X* pointer from another in
13633 an arm of an if-expression whose if-part is not a constant
13634 expression */
13635 const char *g = "string";
13636 ccp = &g + (g ? g-g : 0);
13637 /* HPUX 7.0 cc rejects these. */
13638 ++ccp;
13639 p = (char**) ccp;
13640 ccp = (char const *const *) p;
13641 { /* SCO 3.2v4 cc rejects this. */
13642 char *t;
13643 char const *s = 0 ? (char *) 0 : (char const *) 0;
13644
13645 *t++ = 0;
13646 }
13647 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13648 int x[] = {25, 17};
13649 const int *foo = &x[0];
13650 ++foo;
13651 }
13652 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13653 typedef const int *iptr;
13654 iptr p = 0;
13655 ++p;
13656 }
13657 { /* AIX XL C 1.02.0.0 rejects this saying
13658 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13659 struct s { int j; const int *ap[3]; };
13660 struct s *b; b->j = 5;
13661 }
13662 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13663 const int foo = 10;
13664 }
13665 #endif
13666
13667 ;
13668 return 0;
13669 }
13670 _ACEOF
13671 rm -f conftest.$ac_objext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13673 (eval $ac_compile) 2>&5
13674 ac_status=$?
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 (exit $ac_status); } &&
13677 { ac_try='test -s conftest.$ac_objext'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13680 ac_status=$?
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13683 ac_cv_c_const=yes
13684 else
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.$ac_ext >&5
13687
13688 ac_cv_c_const=no
13689 fi
13690 rm -f conftest.$ac_objext conftest.$ac_ext
13691 fi
13692 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13693 echo "${ECHO_T}$ac_cv_c_const" >&6
13694 if test $ac_cv_c_const = no; then
13695
13696 cat >>confdefs.h <<\_ACEOF
13697 #define const
13698 _ACEOF
13699
13700 fi
13701
13702 echo "$as_me:$LINENO: checking for inline" >&5
13703 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13704 if test "${ac_cv_c_inline+set}" = set; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13706 else
13707 ac_cv_c_inline=no
13708 for ac_kw in inline __inline__ __inline; do
13709 cat >conftest.$ac_ext <<_ACEOF
13710 #line $LINENO "configure"
13711 /* confdefs.h. */
13712 _ACEOF
13713 cat confdefs.h >>conftest.$ac_ext
13714 cat >>conftest.$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13716 #ifndef __cplusplus
13717 typedef int foo_t;
13718 static $ac_kw foo_t static_foo () {return 0; }
13719 $ac_kw foo_t foo () {return 0; }
13720 #endif
13721
13722 _ACEOF
13723 rm -f conftest.$ac_objext
13724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13725 (eval $ac_compile) 2>&5
13726 ac_status=$?
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
13729 { ac_try='test -s conftest.$ac_objext'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13732 ac_status=$?
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; }; then
13735 ac_cv_c_inline=$ac_kw; break
13736 else
13737 echo "$as_me: failed program was:" >&5
13738 sed 's/^/| /' conftest.$ac_ext >&5
13739
13740 fi
13741 rm -f conftest.$ac_objext conftest.$ac_ext
13742 done
13743
13744 fi
13745 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13746 echo "${ECHO_T}$ac_cv_c_inline" >&6
13747 case $ac_cv_c_inline in
13748 inline | yes) ;;
13749 no)
13750 cat >>confdefs.h <<\_ACEOF
13751 #define inline
13752 _ACEOF
13753 ;;
13754 *) cat >>confdefs.h <<_ACEOF
13755 #define inline $ac_cv_c_inline
13756 _ACEOF
13757 ;;
13758 esac
13759
13760
13761 echo "$as_me:$LINENO: checking for char" >&5
13762 echo $ECHO_N "checking for char... $ECHO_C" >&6
13763 if test "${ac_cv_type_char+set}" = set; then
13764 echo $ECHO_N "(cached) $ECHO_C" >&6
13765 else
13766 cat >conftest.$ac_ext <<_ACEOF
13767 #line $LINENO "configure"
13768 /* confdefs.h. */
13769 _ACEOF
13770 cat confdefs.h >>conftest.$ac_ext
13771 cat >>conftest.$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 $ac_includes_default
13774 int
13775 main ()
13776 {
13777 if ((char *) 0)
13778 return 0;
13779 if (sizeof (char))
13780 return 0;
13781 ;
13782 return 0;
13783 }
13784 _ACEOF
13785 rm -f conftest.$ac_objext
13786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13787 (eval $ac_compile) 2>&5
13788 ac_status=$?
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } &&
13791 { ac_try='test -s conftest.$ac_objext'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13794 ac_status=$?
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; }; then
13797 ac_cv_type_char=yes
13798 else
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.$ac_ext >&5
13801
13802 ac_cv_type_char=no
13803 fi
13804 rm -f conftest.$ac_objext conftest.$ac_ext
13805 fi
13806 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13807 echo "${ECHO_T}$ac_cv_type_char" >&6
13808
13809 echo "$as_me:$LINENO: checking size of char" >&5
13810 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13811 if test "${ac_cv_sizeof_char+set}" = set; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13813 else
13814 if test "$ac_cv_type_char" = yes; then
13815 # The cast to unsigned long works around a bug in the HP C Compiler
13816 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13817 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13818 # This bug is HP SR number 8606223364.
13819 if test "$cross_compiling" = yes; then
13820 # Depending upon the size, compute the lo and hi bounds.
13821 cat >conftest.$ac_ext <<_ACEOF
13822 #line $LINENO "configure"
13823 /* confdefs.h. */
13824 _ACEOF
13825 cat confdefs.h >>conftest.$ac_ext
13826 cat >>conftest.$ac_ext <<_ACEOF
13827 /* end confdefs.h. */
13828 $ac_includes_default
13829 int
13830 main ()
13831 {
13832 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13833 test_array [0] = 0
13834
13835 ;
13836 return 0;
13837 }
13838 _ACEOF
13839 rm -f conftest.$ac_objext
13840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13841 (eval $ac_compile) 2>&5
13842 ac_status=$?
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13844 (exit $ac_status); } &&
13845 { ac_try='test -s conftest.$ac_objext'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; }; then
13851 ac_lo=0 ac_mid=0
13852 while :; do
13853 cat >conftest.$ac_ext <<_ACEOF
13854 #line $LINENO "configure"
13855 /* confdefs.h. */
13856 _ACEOF
13857 cat confdefs.h >>conftest.$ac_ext
13858 cat >>conftest.$ac_ext <<_ACEOF
13859 /* end confdefs.h. */
13860 $ac_includes_default
13861 int
13862 main ()
13863 {
13864 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13865 test_array [0] = 0
13866
13867 ;
13868 return 0;
13869 }
13870 _ACEOF
13871 rm -f conftest.$ac_objext
13872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13873 (eval $ac_compile) 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); } &&
13877 { ac_try='test -s conftest.$ac_objext'
13878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13879 (eval $ac_try) 2>&5
13880 ac_status=$?
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); }; }; then
13883 ac_hi=$ac_mid; break
13884 else
13885 echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.$ac_ext >&5
13887
13888 ac_lo=`expr $ac_mid + 1`
13889 if test $ac_lo -le $ac_mid; then
13890 ac_lo= ac_hi=
13891 break
13892 fi
13893 ac_mid=`expr 2 '*' $ac_mid + 1`
13894 fi
13895 rm -f conftest.$ac_objext conftest.$ac_ext
13896 done
13897 else
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13900
13901 cat >conftest.$ac_ext <<_ACEOF
13902 #line $LINENO "configure"
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 $ac_includes_default
13909 int
13910 main ()
13911 {
13912 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13913 test_array [0] = 0
13914
13915 ;
13916 return 0;
13917 }
13918 _ACEOF
13919 rm -f conftest.$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>&5
13922 ac_status=$?
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } &&
13925 { ac_try='test -s conftest.$ac_objext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13928 ac_status=$?
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 ac_hi=-1 ac_mid=-1
13932 while :; do
13933 cat >conftest.$ac_ext <<_ACEOF
13934 #line $LINENO "configure"
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 $ac_includes_default
13941 int
13942 main ()
13943 {
13944 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13945 test_array [0] = 0
13946
13947 ;
13948 return 0;
13949 }
13950 _ACEOF
13951 rm -f conftest.$ac_objext
13952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } &&
13957 { ac_try='test -s conftest.$ac_objext'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13960 ac_status=$?
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; }; then
13963 ac_lo=$ac_mid; break
13964 else
13965 echo "$as_me: failed program was:" >&5
13966 sed 's/^/| /' conftest.$ac_ext >&5
13967
13968 ac_hi=`expr '(' $ac_mid ')' - 1`
13969 if test $ac_mid -le $ac_hi; then
13970 ac_lo= ac_hi=
13971 break
13972 fi
13973 ac_mid=`expr 2 '*' $ac_mid`
13974 fi
13975 rm -f conftest.$ac_objext conftest.$ac_ext
13976 done
13977 else
13978 echo "$as_me: failed program was:" >&5
13979 sed 's/^/| /' conftest.$ac_ext >&5
13980
13981 ac_lo= ac_hi=
13982 fi
13983 rm -f conftest.$ac_objext conftest.$ac_ext
13984 fi
13985 rm -f conftest.$ac_objext conftest.$ac_ext
13986 # Binary search between lo and hi bounds.
13987 while test "x$ac_lo" != "x$ac_hi"; do
13988 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13989 cat >conftest.$ac_ext <<_ACEOF
13990 #line $LINENO "configure"
13991 /* confdefs.h. */
13992 _ACEOF
13993 cat confdefs.h >>conftest.$ac_ext
13994 cat >>conftest.$ac_ext <<_ACEOF
13995 /* end confdefs.h. */
13996 $ac_includes_default
13997 int
13998 main ()
13999 {
14000 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14001 test_array [0] = 0
14002
14003 ;
14004 return 0;
14005 }
14006 _ACEOF
14007 rm -f conftest.$ac_objext
14008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14009 (eval $ac_compile) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); } &&
14013 { ac_try='test -s conftest.$ac_objext'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; }; then
14019 ac_hi=$ac_mid
14020 else
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14023
14024 ac_lo=`expr '(' $ac_mid ')' + 1`
14025 fi
14026 rm -f conftest.$ac_objext conftest.$ac_ext
14027 done
14028 case $ac_lo in
14029 ?*) ac_cv_sizeof_char=$ac_lo;;
14030 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14031 See \`config.log' for more details." >&5
14032 echo "$as_me: error: cannot compute sizeof (char), 77
14033 See \`config.log' for more details." >&2;}
14034 { (exit 1); exit 1; }; } ;;
14035 esac
14036 else
14037 if test "$cross_compiling" = yes; then
14038 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14039 See \`config.log' for more details." >&5
14040 echo "$as_me: error: cannot run test program while cross compiling
14041 See \`config.log' for more details." >&2;}
14042 { (exit 1); exit 1; }; }
14043 else
14044 cat >conftest.$ac_ext <<_ACEOF
14045 #line $LINENO "configure"
14046 /* confdefs.h. */
14047 _ACEOF
14048 cat confdefs.h >>conftest.$ac_ext
14049 cat >>conftest.$ac_ext <<_ACEOF
14050 /* end confdefs.h. */
14051 $ac_includes_default
14052 long longval () { return (long) (sizeof (char)); }
14053 unsigned long ulongval () { return (long) (sizeof (char)); }
14054 #include <stdio.h>
14055 #include <stdlib.h>
14056 int
14057 main ()
14058 {
14059
14060 FILE *f = fopen ("conftest.val", "w");
14061 if (! f)
14062 exit (1);
14063 if (((long) (sizeof (char))) < 0)
14064 {
14065 long i = longval ();
14066 if (i != ((long) (sizeof (char))))
14067 exit (1);
14068 fprintf (f, "%ld\n", i);
14069 }
14070 else
14071 {
14072 unsigned long i = ulongval ();
14073 if (i != ((long) (sizeof (char))))
14074 exit (1);
14075 fprintf (f, "%lu\n", i);
14076 }
14077 exit (ferror (f) || fclose (f) != 0);
14078
14079 ;
14080 return 0;
14081 }
14082 _ACEOF
14083 rm -f conftest$ac_exeext
14084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14085 (eval $ac_link) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14091 ac_status=$?
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; }; then
14094 ac_cv_sizeof_char=`cat conftest.val`
14095 else
14096 echo "$as_me: program exited with status $ac_status" >&5
14097 echo "$as_me: failed program was:" >&5
14098 sed 's/^/| /' conftest.$ac_ext >&5
14099
14100 ( exit $ac_status )
14101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14102 See \`config.log' for more details." >&5
14103 echo "$as_me: error: cannot compute sizeof (char), 77
14104 See \`config.log' for more details." >&2;}
14105 { (exit 1); exit 1; }; }
14106 fi
14107 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14108 fi
14109 fi
14110 rm -f conftest.val
14111 else
14112 ac_cv_sizeof_char=0
14113 fi
14114 fi
14115 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14116 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14117 cat >>confdefs.h <<_ACEOF
14118 #define SIZEOF_CHAR $ac_cv_sizeof_char
14119 _ACEOF
14120
14121
14122 echo "$as_me:$LINENO: checking for short" >&5
14123 echo $ECHO_N "checking for short... $ECHO_C" >&6
14124 if test "${ac_cv_type_short+set}" = set; then
14125 echo $ECHO_N "(cached) $ECHO_C" >&6
14126 else
14127 cat >conftest.$ac_ext <<_ACEOF
14128 #line $LINENO "configure"
14129 /* confdefs.h. */
14130 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14135 int
14136 main ()
14137 {
14138 if ((short *) 0)
14139 return 0;
14140 if (sizeof (short))
14141 return 0;
14142 ;
14143 return 0;
14144 }
14145 _ACEOF
14146 rm -f conftest.$ac_objext
14147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14148 (eval $ac_compile) 2>&5
14149 ac_status=$?
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try='test -s conftest.$ac_objext'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14155 ac_status=$?
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; }; then
14158 ac_cv_type_short=yes
14159 else
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.$ac_ext >&5
14162
14163 ac_cv_type_short=no
14164 fi
14165 rm -f conftest.$ac_objext conftest.$ac_ext
14166 fi
14167 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14168 echo "${ECHO_T}$ac_cv_type_short" >&6
14169
14170 echo "$as_me:$LINENO: checking size of short" >&5
14171 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14172 if test "${ac_cv_sizeof_short+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 else
14175 if test "$ac_cv_type_short" = yes; then
14176 # The cast to unsigned long works around a bug in the HP C Compiler
14177 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14178 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14179 # This bug is HP SR number 8606223364.
14180 if test "$cross_compiling" = yes; then
14181 # Depending upon the size, compute the lo and hi bounds.
14182 cat >conftest.$ac_ext <<_ACEOF
14183 #line $LINENO "configure"
14184 /* confdefs.h. */
14185 _ACEOF
14186 cat confdefs.h >>conftest.$ac_ext
14187 cat >>conftest.$ac_ext <<_ACEOF
14188 /* end confdefs.h. */
14189 $ac_includes_default
14190 int
14191 main ()
14192 {
14193 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14194 test_array [0] = 0
14195
14196 ;
14197 return 0;
14198 }
14199 _ACEOF
14200 rm -f conftest.$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>&5
14203 ac_status=$?
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); } &&
14206 { ac_try='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14209 ac_status=$?
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14212 ac_lo=0 ac_mid=0
14213 while :; do
14214 cat >conftest.$ac_ext <<_ACEOF
14215 #line $LINENO "configure"
14216 /* confdefs.h. */
14217 _ACEOF
14218 cat confdefs.h >>conftest.$ac_ext
14219 cat >>conftest.$ac_ext <<_ACEOF
14220 /* end confdefs.h. */
14221 $ac_includes_default
14222 int
14223 main ()
14224 {
14225 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14226 test_array [0] = 0
14227
14228 ;
14229 return 0;
14230 }
14231 _ACEOF
14232 rm -f conftest.$ac_objext
14233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14234 (eval $ac_compile) 2>&5
14235 ac_status=$?
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } &&
14238 { ac_try='test -s conftest.$ac_objext'
14239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14240 (eval $ac_try) 2>&5
14241 ac_status=$?
14242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14243 (exit $ac_status); }; }; then
14244 ac_hi=$ac_mid; break
14245 else
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14248
14249 ac_lo=`expr $ac_mid + 1`
14250 if test $ac_lo -le $ac_mid; then
14251 ac_lo= ac_hi=
14252 break
14253 fi
14254 ac_mid=`expr 2 '*' $ac_mid + 1`
14255 fi
14256 rm -f conftest.$ac_objext conftest.$ac_ext
14257 done
14258 else
14259 echo "$as_me: failed program was:" >&5
14260 sed 's/^/| /' conftest.$ac_ext >&5
14261
14262 cat >conftest.$ac_ext <<_ACEOF
14263 #line $LINENO "configure"
14264 /* confdefs.h. */
14265 _ACEOF
14266 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14269 $ac_includes_default
14270 int
14271 main ()
14272 {
14273 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14274 test_array [0] = 0
14275
14276 ;
14277 return 0;
14278 }
14279 _ACEOF
14280 rm -f conftest.$ac_objext
14281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14282 (eval $ac_compile) 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); } &&
14286 { ac_try='test -s conftest.$ac_objext'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; }; then
14292 ac_hi=-1 ac_mid=-1
14293 while :; do
14294 cat >conftest.$ac_ext <<_ACEOF
14295 #line $LINENO "configure"
14296 /* confdefs.h. */
14297 _ACEOF
14298 cat confdefs.h >>conftest.$ac_ext
14299 cat >>conftest.$ac_ext <<_ACEOF
14300 /* end confdefs.h. */
14301 $ac_includes_default
14302 int
14303 main ()
14304 {
14305 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14306 test_array [0] = 0
14307
14308 ;
14309 return 0;
14310 }
14311 _ACEOF
14312 rm -f conftest.$ac_objext
14313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14314 (eval $ac_compile) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); } &&
14318 { ac_try='test -s conftest.$ac_objext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14321 ac_status=$?
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 ac_lo=$ac_mid; break
14325 else
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 ac_hi=`expr '(' $ac_mid ')' - 1`
14330 if test $ac_mid -le $ac_hi; then
14331 ac_lo= ac_hi=
14332 break
14333 fi
14334 ac_mid=`expr 2 '*' $ac_mid`
14335 fi
14336 rm -f conftest.$ac_objext conftest.$ac_ext
14337 done
14338 else
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.$ac_ext >&5
14341
14342 ac_lo= ac_hi=
14343 fi
14344 rm -f conftest.$ac_objext conftest.$ac_ext
14345 fi
14346 rm -f conftest.$ac_objext conftest.$ac_ext
14347 # Binary search between lo and hi bounds.
14348 while test "x$ac_lo" != "x$ac_hi"; do
14349 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14350 cat >conftest.$ac_ext <<_ACEOF
14351 #line $LINENO "configure"
14352 /* confdefs.h. */
14353 _ACEOF
14354 cat confdefs.h >>conftest.$ac_ext
14355 cat >>conftest.$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14357 $ac_includes_default
14358 int
14359 main ()
14360 {
14361 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14362 test_array [0] = 0
14363
14364 ;
14365 return 0;
14366 }
14367 _ACEOF
14368 rm -f conftest.$ac_objext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); } &&
14374 { ac_try='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14377 ac_status=$?
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 ac_hi=$ac_mid
14381 else
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.$ac_ext >&5
14384
14385 ac_lo=`expr '(' $ac_mid ')' + 1`
14386 fi
14387 rm -f conftest.$ac_objext conftest.$ac_ext
14388 done
14389 case $ac_lo in
14390 ?*) ac_cv_sizeof_short=$ac_lo;;
14391 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14392 See \`config.log' for more details." >&5
14393 echo "$as_me: error: cannot compute sizeof (short), 77
14394 See \`config.log' for more details." >&2;}
14395 { (exit 1); exit 1; }; } ;;
14396 esac
14397 else
14398 if test "$cross_compiling" = yes; then
14399 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14400 See \`config.log' for more details." >&5
14401 echo "$as_me: error: cannot run test program while cross compiling
14402 See \`config.log' for more details." >&2;}
14403 { (exit 1); exit 1; }; }
14404 else
14405 cat >conftest.$ac_ext <<_ACEOF
14406 #line $LINENO "configure"
14407 /* confdefs.h. */
14408 _ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14412 $ac_includes_default
14413 long longval () { return (long) (sizeof (short)); }
14414 unsigned long ulongval () { return (long) (sizeof (short)); }
14415 #include <stdio.h>
14416 #include <stdlib.h>
14417 int
14418 main ()
14419 {
14420
14421 FILE *f = fopen ("conftest.val", "w");
14422 if (! f)
14423 exit (1);
14424 if (((long) (sizeof (short))) < 0)
14425 {
14426 long i = longval ();
14427 if (i != ((long) (sizeof (short))))
14428 exit (1);
14429 fprintf (f, "%ld\n", i);
14430 }
14431 else
14432 {
14433 unsigned long i = ulongval ();
14434 if (i != ((long) (sizeof (short))))
14435 exit (1);
14436 fprintf (f, "%lu\n", i);
14437 }
14438 exit (ferror (f) || fclose (f) != 0);
14439
14440 ;
14441 return 0;
14442 }
14443 _ACEOF
14444 rm -f conftest$ac_exeext
14445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446 (eval $ac_link) 2>&5
14447 ac_status=$?
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14452 ac_status=$?
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; }; then
14455 ac_cv_sizeof_short=`cat conftest.val`
14456 else
14457 echo "$as_me: program exited with status $ac_status" >&5
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.$ac_ext >&5
14460
14461 ( exit $ac_status )
14462 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot compute sizeof (short), 77
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; }
14467 fi
14468 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14469 fi
14470 fi
14471 rm -f conftest.val
14472 else
14473 ac_cv_sizeof_short=0
14474 fi
14475 fi
14476 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14477 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14478 cat >>confdefs.h <<_ACEOF
14479 #define SIZEOF_SHORT $ac_cv_sizeof_short
14480 _ACEOF
14481
14482
14483 echo "$as_me:$LINENO: checking for void *" >&5
14484 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14485 if test "${ac_cv_type_void_p+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14487 else
14488 cat >conftest.$ac_ext <<_ACEOF
14489 #line $LINENO "configure"
14490 /* confdefs.h. */
14491 _ACEOF
14492 cat confdefs.h >>conftest.$ac_ext
14493 cat >>conftest.$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14496 int
14497 main ()
14498 {
14499 if ((void * *) 0)
14500 return 0;
14501 if (sizeof (void *))
14502 return 0;
14503 ;
14504 return 0;
14505 }
14506 _ACEOF
14507 rm -f conftest.$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>&5
14510 ac_status=$?
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } &&
14513 { ac_try='test -s conftest.$ac_objext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14516 ac_status=$?
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14519 ac_cv_type_void_p=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14523
14524 ac_cv_type_void_p=no
14525 fi
14526 rm -f conftest.$ac_objext conftest.$ac_ext
14527 fi
14528 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14529 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14530
14531 echo "$as_me:$LINENO: checking size of void *" >&5
14532 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14533 if test "${ac_cv_sizeof_void_p+set}" = set; then
14534 echo $ECHO_N "(cached) $ECHO_C" >&6
14535 else
14536 if test "$ac_cv_type_void_p" = yes; then
14537 # The cast to unsigned long works around a bug in the HP C Compiler
14538 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14539 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14540 # This bug is HP SR number 8606223364.
14541 if test "$cross_compiling" = yes; then
14542 # Depending upon the size, compute the lo and hi bounds.
14543 cat >conftest.$ac_ext <<_ACEOF
14544 #line $LINENO "configure"
14545 /* confdefs.h. */
14546 _ACEOF
14547 cat confdefs.h >>conftest.$ac_ext
14548 cat >>conftest.$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 $ac_includes_default
14551 int
14552 main ()
14553 {
14554 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14555 test_array [0] = 0
14556
14557 ;
14558 return 0;
14559 }
14560 _ACEOF
14561 rm -f conftest.$ac_objext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14563 (eval $ac_compile) 2>&5
14564 ac_status=$?
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -s conftest.$ac_objext'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; }; then
14573 ac_lo=0 ac_mid=0
14574 while :; do
14575 cat >conftest.$ac_ext <<_ACEOF
14576 #line $LINENO "configure"
14577 /* confdefs.h. */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582 $ac_includes_default
14583 int
14584 main ()
14585 {
14586 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14587 test_array [0] = 0
14588
14589 ;
14590 return 0;
14591 }
14592 _ACEOF
14593 rm -f conftest.$ac_objext
14594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14595 (eval $ac_compile) 2>&5
14596 ac_status=$?
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -s conftest.$ac_objext'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; }; then
14605 ac_hi=$ac_mid; break
14606 else
14607 echo "$as_me: failed program was:" >&5
14608 sed 's/^/| /' conftest.$ac_ext >&5
14609
14610 ac_lo=`expr $ac_mid + 1`
14611 if test $ac_lo -le $ac_mid; then
14612 ac_lo= ac_hi=
14613 break
14614 fi
14615 ac_mid=`expr 2 '*' $ac_mid + 1`
14616 fi
14617 rm -f conftest.$ac_objext conftest.$ac_ext
14618 done
14619 else
14620 echo "$as_me: failed program was:" >&5
14621 sed 's/^/| /' conftest.$ac_ext >&5
14622
14623 cat >conftest.$ac_ext <<_ACEOF
14624 #line $LINENO "configure"
14625 /* confdefs.h. */
14626 _ACEOF
14627 cat confdefs.h >>conftest.$ac_ext
14628 cat >>conftest.$ac_ext <<_ACEOF
14629 /* end confdefs.h. */
14630 $ac_includes_default
14631 int
14632 main ()
14633 {
14634 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14635 test_array [0] = 0
14636
14637 ;
14638 return 0;
14639 }
14640 _ACEOF
14641 rm -f conftest.$ac_objext
14642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14643 (eval $ac_compile) 2>&5
14644 ac_status=$?
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } &&
14647 { ac_try='test -s conftest.$ac_objext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14650 ac_status=$?
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14653 ac_hi=-1 ac_mid=-1
14654 while :; do
14655 cat >conftest.$ac_ext <<_ACEOF
14656 #line $LINENO "configure"
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14662 $ac_includes_default
14663 int
14664 main ()
14665 {
14666 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14667 test_array [0] = 0
14668
14669 ;
14670 return 0;
14671 }
14672 _ACEOF
14673 rm -f conftest.$ac_objext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14675 (eval $ac_compile) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); } &&
14679 { ac_try='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 ac_lo=$ac_mid; break
14686 else
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.$ac_ext >&5
14689
14690 ac_hi=`expr '(' $ac_mid ')' - 1`
14691 if test $ac_mid -le $ac_hi; then
14692 ac_lo= ac_hi=
14693 break
14694 fi
14695 ac_mid=`expr 2 '*' $ac_mid`
14696 fi
14697 rm -f conftest.$ac_objext conftest.$ac_ext
14698 done
14699 else
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.$ac_ext >&5
14702
14703 ac_lo= ac_hi=
14704 fi
14705 rm -f conftest.$ac_objext conftest.$ac_ext
14706 fi
14707 rm -f conftest.$ac_objext conftest.$ac_ext
14708 # Binary search between lo and hi bounds.
14709 while test "x$ac_lo" != "x$ac_hi"; do
14710 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14711 cat >conftest.$ac_ext <<_ACEOF
14712 #line $LINENO "configure"
14713 /* confdefs.h. */
14714 _ACEOF
14715 cat confdefs.h >>conftest.$ac_ext
14716 cat >>conftest.$ac_ext <<_ACEOF
14717 /* end confdefs.h. */
14718 $ac_includes_default
14719 int
14720 main ()
14721 {
14722 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14723 test_array [0] = 0
14724
14725 ;
14726 return 0;
14727 }
14728 _ACEOF
14729 rm -f conftest.$ac_objext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14731 (eval $ac_compile) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); } &&
14735 { ac_try='test -s conftest.$ac_objext'
14736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14737 (eval $ac_try) 2>&5
14738 ac_status=$?
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); }; }; then
14741 ac_hi=$ac_mid
14742 else
14743 echo "$as_me: failed program was:" >&5
14744 sed 's/^/| /' conftest.$ac_ext >&5
14745
14746 ac_lo=`expr '(' $ac_mid ')' + 1`
14747 fi
14748 rm -f conftest.$ac_objext conftest.$ac_ext
14749 done
14750 case $ac_lo in
14751 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14752 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14753 See \`config.log' for more details." >&5
14754 echo "$as_me: error: cannot compute sizeof (void *), 77
14755 See \`config.log' for more details." >&2;}
14756 { (exit 1); exit 1; }; } ;;
14757 esac
14758 else
14759 if test "$cross_compiling" = yes; then
14760 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14761 See \`config.log' for more details." >&5
14762 echo "$as_me: error: cannot run test program while cross compiling
14763 See \`config.log' for more details." >&2;}
14764 { (exit 1); exit 1; }; }
14765 else
14766 cat >conftest.$ac_ext <<_ACEOF
14767 #line $LINENO "configure"
14768 /* confdefs.h. */
14769 _ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773 $ac_includes_default
14774 long longval () { return (long) (sizeof (void *)); }
14775 unsigned long ulongval () { return (long) (sizeof (void *)); }
14776 #include <stdio.h>
14777 #include <stdlib.h>
14778 int
14779 main ()
14780 {
14781
14782 FILE *f = fopen ("conftest.val", "w");
14783 if (! f)
14784 exit (1);
14785 if (((long) (sizeof (void *))) < 0)
14786 {
14787 long i = longval ();
14788 if (i != ((long) (sizeof (void *))))
14789 exit (1);
14790 fprintf (f, "%ld\n", i);
14791 }
14792 else
14793 {
14794 unsigned long i = ulongval ();
14795 if (i != ((long) (sizeof (void *))))
14796 exit (1);
14797 fprintf (f, "%lu\n", i);
14798 }
14799 exit (ferror (f) || fclose (f) != 0);
14800
14801 ;
14802 return 0;
14803 }
14804 _ACEOF
14805 rm -f conftest$ac_exeext
14806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14807 (eval $ac_link) 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14812 (eval $ac_try) 2>&5
14813 ac_status=$?
14814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14815 (exit $ac_status); }; }; then
14816 ac_cv_sizeof_void_p=`cat conftest.val`
14817 else
14818 echo "$as_me: program exited with status $ac_status" >&5
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14821
14822 ( exit $ac_status )
14823 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14824 See \`config.log' for more details." >&5
14825 echo "$as_me: error: cannot compute sizeof (void *), 77
14826 See \`config.log' for more details." >&2;}
14827 { (exit 1); exit 1; }; }
14828 fi
14829 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14830 fi
14831 fi
14832 rm -f conftest.val
14833 else
14834 ac_cv_sizeof_void_p=0
14835 fi
14836 fi
14837 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14838 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14839 cat >>confdefs.h <<_ACEOF
14840 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14841 _ACEOF
14842
14843
14844 echo "$as_me:$LINENO: checking for int" >&5
14845 echo $ECHO_N "checking for int... $ECHO_C" >&6
14846 if test "${ac_cv_type_int+set}" = set; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14848 else
14849 cat >conftest.$ac_ext <<_ACEOF
14850 #line $LINENO "configure"
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14857 int
14858 main ()
14859 {
14860 if ((int *) 0)
14861 return 0;
14862 if (sizeof (int))
14863 return 0;
14864 ;
14865 return 0;
14866 }
14867 _ACEOF
14868 rm -f conftest.$ac_objext
14869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14870 (eval $ac_compile) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } &&
14874 { ac_try='test -s conftest.$ac_objext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14877 ac_status=$?
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14880 ac_cv_type_int=yes
14881 else
14882 echo "$as_me: failed program was:" >&5
14883 sed 's/^/| /' conftest.$ac_ext >&5
14884
14885 ac_cv_type_int=no
14886 fi
14887 rm -f conftest.$ac_objext conftest.$ac_ext
14888 fi
14889 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14890 echo "${ECHO_T}$ac_cv_type_int" >&6
14891
14892 echo "$as_me:$LINENO: checking size of int" >&5
14893 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14894 if test "${ac_cv_sizeof_int+set}" = set; then
14895 echo $ECHO_N "(cached) $ECHO_C" >&6
14896 else
14897 if test "$ac_cv_type_int" = yes; then
14898 # The cast to unsigned long works around a bug in the HP C Compiler
14899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14901 # This bug is HP SR number 8606223364.
14902 if test "$cross_compiling" = yes; then
14903 # Depending upon the size, compute the lo and hi bounds.
14904 cat >conftest.$ac_ext <<_ACEOF
14905 #line $LINENO "configure"
14906 /* confdefs.h. */
14907 _ACEOF
14908 cat confdefs.h >>conftest.$ac_ext
14909 cat >>conftest.$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 $ac_includes_default
14912 int
14913 main ()
14914 {
14915 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14916 test_array [0] = 0
14917
14918 ;
14919 return 0;
14920 }
14921 _ACEOF
14922 rm -f conftest.$ac_objext
14923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14924 (eval $ac_compile) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14934 ac_lo=0 ac_mid=0
14935 while :; do
14936 cat >conftest.$ac_ext <<_ACEOF
14937 #line $LINENO "configure"
14938 /* confdefs.h. */
14939 _ACEOF
14940 cat confdefs.h >>conftest.$ac_ext
14941 cat >>conftest.$ac_ext <<_ACEOF
14942 /* end confdefs.h. */
14943 $ac_includes_default
14944 int
14945 main ()
14946 {
14947 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14948 test_array [0] = 0
14949
14950 ;
14951 return 0;
14952 }
14953 _ACEOF
14954 rm -f conftest.$ac_objext
14955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14956 (eval $ac_compile) 2>&5
14957 ac_status=$?
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try='test -s conftest.$ac_objext'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14963 ac_status=$?
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; }; then
14966 ac_hi=$ac_mid; break
14967 else
14968 echo "$as_me: failed program was:" >&5
14969 sed 's/^/| /' conftest.$ac_ext >&5
14970
14971 ac_lo=`expr $ac_mid + 1`
14972 if test $ac_lo -le $ac_mid; then
14973 ac_lo= ac_hi=
14974 break
14975 fi
14976 ac_mid=`expr 2 '*' $ac_mid + 1`
14977 fi
14978 rm -f conftest.$ac_objext conftest.$ac_ext
14979 done
14980 else
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14983
14984 cat >conftest.$ac_ext <<_ACEOF
14985 #line $LINENO "configure"
14986 /* confdefs.h. */
14987 _ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 $ac_includes_default
14992 int
14993 main ()
14994 {
14995 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14996 test_array [0] = 0
14997
14998 ;
14999 return 0;
15000 }
15001 _ACEOF
15002 rm -f conftest.$ac_objext
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>&5
15005 ac_status=$?
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try='test -s conftest.$ac_objext'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15011 ac_status=$?
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; }; then
15014 ac_hi=-1 ac_mid=-1
15015 while :; do
15016 cat >conftest.$ac_ext <<_ACEOF
15017 #line $LINENO "configure"
15018 /* confdefs.h. */
15019 _ACEOF
15020 cat confdefs.h >>conftest.$ac_ext
15021 cat >>conftest.$ac_ext <<_ACEOF
15022 /* end confdefs.h. */
15023 $ac_includes_default
15024 int
15025 main ()
15026 {
15027 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15028 test_array [0] = 0
15029
15030 ;
15031 return 0;
15032 }
15033 _ACEOF
15034 rm -f conftest.$ac_objext
15035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15036 (eval $ac_compile) 2>&5
15037 ac_status=$?
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } &&
15040 { ac_try='test -s conftest.$ac_objext'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 ac_lo=$ac_mid; break
15047 else
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.$ac_ext >&5
15050
15051 ac_hi=`expr '(' $ac_mid ')' - 1`
15052 if test $ac_mid -le $ac_hi; then
15053 ac_lo= ac_hi=
15054 break
15055 fi
15056 ac_mid=`expr 2 '*' $ac_mid`
15057 fi
15058 rm -f conftest.$ac_objext conftest.$ac_ext
15059 done
15060 else
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.$ac_ext >&5
15063
15064 ac_lo= ac_hi=
15065 fi
15066 rm -f conftest.$ac_objext conftest.$ac_ext
15067 fi
15068 rm -f conftest.$ac_objext conftest.$ac_ext
15069 # Binary search between lo and hi bounds.
15070 while test "x$ac_lo" != "x$ac_hi"; do
15071 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15072 cat >conftest.$ac_ext <<_ACEOF
15073 #line $LINENO "configure"
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 $ac_includes_default
15080 int
15081 main ()
15082 {
15083 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15084 test_array [0] = 0
15085
15086 ;
15087 return 0;
15088 }
15089 _ACEOF
15090 rm -f conftest.$ac_objext
15091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15092 (eval $ac_compile) 2>&5
15093 ac_status=$?
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } &&
15096 { ac_try='test -s conftest.$ac_objext'
15097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15098 (eval $ac_try) 2>&5
15099 ac_status=$?
15100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15101 (exit $ac_status); }; }; then
15102 ac_hi=$ac_mid
15103 else
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.$ac_ext >&5
15106
15107 ac_lo=`expr '(' $ac_mid ')' + 1`
15108 fi
15109 rm -f conftest.$ac_objext conftest.$ac_ext
15110 done
15111 case $ac_lo in
15112 ?*) ac_cv_sizeof_int=$ac_lo;;
15113 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15114 See \`config.log' for more details." >&5
15115 echo "$as_me: error: cannot compute sizeof (int), 77
15116 See \`config.log' for more details." >&2;}
15117 { (exit 1); exit 1; }; } ;;
15118 esac
15119 else
15120 if test "$cross_compiling" = yes; then
15121 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15122 See \`config.log' for more details." >&5
15123 echo "$as_me: error: cannot run test program while cross compiling
15124 See \`config.log' for more details." >&2;}
15125 { (exit 1); exit 1; }; }
15126 else
15127 cat >conftest.$ac_ext <<_ACEOF
15128 #line $LINENO "configure"
15129 /* confdefs.h. */
15130 _ACEOF
15131 cat confdefs.h >>conftest.$ac_ext
15132 cat >>conftest.$ac_ext <<_ACEOF
15133 /* end confdefs.h. */
15134 $ac_includes_default
15135 long longval () { return (long) (sizeof (int)); }
15136 unsigned long ulongval () { return (long) (sizeof (int)); }
15137 #include <stdio.h>
15138 #include <stdlib.h>
15139 int
15140 main ()
15141 {
15142
15143 FILE *f = fopen ("conftest.val", "w");
15144 if (! f)
15145 exit (1);
15146 if (((long) (sizeof (int))) < 0)
15147 {
15148 long i = longval ();
15149 if (i != ((long) (sizeof (int))))
15150 exit (1);
15151 fprintf (f, "%ld\n", i);
15152 }
15153 else
15154 {
15155 unsigned long i = ulongval ();
15156 if (i != ((long) (sizeof (int))))
15157 exit (1);
15158 fprintf (f, "%lu\n", i);
15159 }
15160 exit (ferror (f) || fclose (f) != 0);
15161
15162 ;
15163 return 0;
15164 }
15165 _ACEOF
15166 rm -f conftest$ac_exeext
15167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15168 (eval $ac_link) 2>&5
15169 ac_status=$?
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15173 (eval $ac_try) 2>&5
15174 ac_status=$?
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); }; }; then
15177 ac_cv_sizeof_int=`cat conftest.val`
15178 else
15179 echo "$as_me: program exited with status $ac_status" >&5
15180 echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.$ac_ext >&5
15182
15183 ( exit $ac_status )
15184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15185 See \`config.log' for more details." >&5
15186 echo "$as_me: error: cannot compute sizeof (int), 77
15187 See \`config.log' for more details." >&2;}
15188 { (exit 1); exit 1; }; }
15189 fi
15190 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15191 fi
15192 fi
15193 rm -f conftest.val
15194 else
15195 ac_cv_sizeof_int=0
15196 fi
15197 fi
15198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15199 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15200 cat >>confdefs.h <<_ACEOF
15201 #define SIZEOF_INT $ac_cv_sizeof_int
15202 _ACEOF
15203
15204
15205 echo "$as_me:$LINENO: checking for long" >&5
15206 echo $ECHO_N "checking for long... $ECHO_C" >&6
15207 if test "${ac_cv_type_long+set}" = set; then
15208 echo $ECHO_N "(cached) $ECHO_C" >&6
15209 else
15210 cat >conftest.$ac_ext <<_ACEOF
15211 #line $LINENO "configure"
15212 /* confdefs.h. */
15213 _ACEOF
15214 cat confdefs.h >>conftest.$ac_ext
15215 cat >>conftest.$ac_ext <<_ACEOF
15216 /* end confdefs.h. */
15217 $ac_includes_default
15218 int
15219 main ()
15220 {
15221 if ((long *) 0)
15222 return 0;
15223 if (sizeof (long))
15224 return 0;
15225 ;
15226 return 0;
15227 }
15228 _ACEOF
15229 rm -f conftest.$ac_objext
15230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15231 (eval $ac_compile) 2>&5
15232 ac_status=$?
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } &&
15235 { ac_try='test -s conftest.$ac_objext'
15236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15237 (eval $ac_try) 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }; }; then
15241 ac_cv_type_long=yes
15242 else
15243 echo "$as_me: failed program was:" >&5
15244 sed 's/^/| /' conftest.$ac_ext >&5
15245
15246 ac_cv_type_long=no
15247 fi
15248 rm -f conftest.$ac_objext conftest.$ac_ext
15249 fi
15250 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15251 echo "${ECHO_T}$ac_cv_type_long" >&6
15252
15253 echo "$as_me:$LINENO: checking size of long" >&5
15254 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15255 if test "${ac_cv_sizeof_long+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 else
15258 if test "$ac_cv_type_long" = yes; then
15259 # The cast to unsigned long works around a bug in the HP C Compiler
15260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15262 # This bug is HP SR number 8606223364.
15263 if test "$cross_compiling" = yes; then
15264 # Depending upon the size, compute the lo and hi bounds.
15265 cat >conftest.$ac_ext <<_ACEOF
15266 #line $LINENO "configure"
15267 /* confdefs.h. */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15272 $ac_includes_default
15273 int
15274 main ()
15275 {
15276 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15277 test_array [0] = 0
15278
15279 ;
15280 return 0;
15281 }
15282 _ACEOF
15283 rm -f conftest.$ac_objext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>&5
15286 ac_status=$?
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try='test -s conftest.$ac_objext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15292 ac_status=$?
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15295 ac_lo=0 ac_mid=0
15296 while :; do
15297 cat >conftest.$ac_ext <<_ACEOF
15298 #line $LINENO "configure"
15299 /* confdefs.h. */
15300 _ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15304 $ac_includes_default
15305 int
15306 main ()
15307 {
15308 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15309 test_array [0] = 0
15310
15311 ;
15312 return 0;
15313 }
15314 _ACEOF
15315 rm -f conftest.$ac_objext
15316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15317 (eval $ac_compile) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_hi=$ac_mid; break
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15331
15332 ac_lo=`expr $ac_mid + 1`
15333 if test $ac_lo -le $ac_mid; then
15334 ac_lo= ac_hi=
15335 break
15336 fi
15337 ac_mid=`expr 2 '*' $ac_mid + 1`
15338 fi
15339 rm -f conftest.$ac_objext conftest.$ac_ext
15340 done
15341 else
15342 echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.$ac_ext >&5
15344
15345 cat >conftest.$ac_ext <<_ACEOF
15346 #line $LINENO "configure"
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352 $ac_includes_default
15353 int
15354 main ()
15355 {
15356 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15357 test_array [0] = 0
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 rm -f conftest.$ac_objext
15364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15365 (eval $ac_compile) 2>&5
15366 ac_status=$?
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); } &&
15369 { ac_try='test -s conftest.$ac_objext'
15370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15371 (eval $ac_try) 2>&5
15372 ac_status=$?
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); }; }; then
15375 ac_hi=-1 ac_mid=-1
15376 while :; do
15377 cat >conftest.$ac_ext <<_ACEOF
15378 #line $LINENO "configure"
15379 /* confdefs.h. */
15380 _ACEOF
15381 cat confdefs.h >>conftest.$ac_ext
15382 cat >>conftest.$ac_ext <<_ACEOF
15383 /* end confdefs.h. */
15384 $ac_includes_default
15385 int
15386 main ()
15387 {
15388 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15389 test_array [0] = 0
15390
15391 ;
15392 return 0;
15393 }
15394 _ACEOF
15395 rm -f conftest.$ac_objext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15397 (eval $ac_compile) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } &&
15401 { ac_try='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15404 ac_status=$?
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_lo=$ac_mid; break
15408 else
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15411
15412 ac_hi=`expr '(' $ac_mid ')' - 1`
15413 if test $ac_mid -le $ac_hi; then
15414 ac_lo= ac_hi=
15415 break
15416 fi
15417 ac_mid=`expr 2 '*' $ac_mid`
15418 fi
15419 rm -f conftest.$ac_objext conftest.$ac_ext
15420 done
15421 else
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.$ac_ext >&5
15424
15425 ac_lo= ac_hi=
15426 fi
15427 rm -f conftest.$ac_objext conftest.$ac_ext
15428 fi
15429 rm -f conftest.$ac_objext conftest.$ac_ext
15430 # Binary search between lo and hi bounds.
15431 while test "x$ac_lo" != "x$ac_hi"; do
15432 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15433 cat >conftest.$ac_ext <<_ACEOF
15434 #line $LINENO "configure"
15435 /* confdefs.h. */
15436 _ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440 $ac_includes_default
15441 int
15442 main ()
15443 {
15444 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15445 test_array [0] = 0
15446
15447 ;
15448 return 0;
15449 }
15450 _ACEOF
15451 rm -f conftest.$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>&5
15454 ac_status=$?
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); } &&
15457 { ac_try='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15460 ac_status=$?
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 ac_hi=$ac_mid
15464 else
15465 echo "$as_me: failed program was:" >&5
15466 sed 's/^/| /' conftest.$ac_ext >&5
15467
15468 ac_lo=`expr '(' $ac_mid ')' + 1`
15469 fi
15470 rm -f conftest.$ac_objext conftest.$ac_ext
15471 done
15472 case $ac_lo in
15473 ?*) ac_cv_sizeof_long=$ac_lo;;
15474 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15475 See \`config.log' for more details." >&5
15476 echo "$as_me: error: cannot compute sizeof (long), 77
15477 See \`config.log' for more details." >&2;}
15478 { (exit 1); exit 1; }; } ;;
15479 esac
15480 else
15481 if test "$cross_compiling" = yes; then
15482 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15483 See \`config.log' for more details." >&5
15484 echo "$as_me: error: cannot run test program while cross compiling
15485 See \`config.log' for more details." >&2;}
15486 { (exit 1); exit 1; }; }
15487 else
15488 cat >conftest.$ac_ext <<_ACEOF
15489 #line $LINENO "configure"
15490 /* confdefs.h. */
15491 _ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495 $ac_includes_default
15496 long longval () { return (long) (sizeof (long)); }
15497 unsigned long ulongval () { return (long) (sizeof (long)); }
15498 #include <stdio.h>
15499 #include <stdlib.h>
15500 int
15501 main ()
15502 {
15503
15504 FILE *f = fopen ("conftest.val", "w");
15505 if (! f)
15506 exit (1);
15507 if (((long) (sizeof (long))) < 0)
15508 {
15509 long i = longval ();
15510 if (i != ((long) (sizeof (long))))
15511 exit (1);
15512 fprintf (f, "%ld\n", i);
15513 }
15514 else
15515 {
15516 unsigned long i = ulongval ();
15517 if (i != ((long) (sizeof (long))))
15518 exit (1);
15519 fprintf (f, "%lu\n", i);
15520 }
15521 exit (ferror (f) || fclose (f) != 0);
15522
15523 ;
15524 return 0;
15525 }
15526 _ACEOF
15527 rm -f conftest$ac_exeext
15528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15529 (eval $ac_link) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_cv_sizeof_long=`cat conftest.val`
15539 else
15540 echo "$as_me: program exited with status $ac_status" >&5
15541 echo "$as_me: failed program was:" >&5
15542 sed 's/^/| /' conftest.$ac_ext >&5
15543
15544 ( exit $ac_status )
15545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15546 See \`config.log' for more details." >&5
15547 echo "$as_me: error: cannot compute sizeof (long), 77
15548 See \`config.log' for more details." >&2;}
15549 { (exit 1); exit 1; }; }
15550 fi
15551 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15552 fi
15553 fi
15554 rm -f conftest.val
15555 else
15556 ac_cv_sizeof_long=0
15557 fi
15558 fi
15559 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15560 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15561 cat >>confdefs.h <<_ACEOF
15562 #define SIZEOF_LONG $ac_cv_sizeof_long
15563 _ACEOF
15564
15565
15566
15567 case "${host}" in
15568 arm-*-linux* )
15569 echo "$as_me:$LINENO: checking for long long" >&5
15570 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15571 if test "${ac_cv_type_long_long+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574 cat >conftest.$ac_ext <<_ACEOF
15575 #line $LINENO "configure"
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 $ac_includes_default
15582 int
15583 main ()
15584 {
15585 if ((long long *) 0)
15586 return 0;
15587 if (sizeof (long long))
15588 return 0;
15589 ;
15590 return 0;
15591 }
15592 _ACEOF
15593 rm -f conftest.$ac_objext
15594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15595 (eval $ac_compile) 2>&5
15596 ac_status=$?
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } &&
15599 { ac_try='test -s conftest.$ac_objext'
15600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15601 (eval $ac_try) 2>&5
15602 ac_status=$?
15603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15604 (exit $ac_status); }; }; then
15605 ac_cv_type_long_long=yes
15606 else
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.$ac_ext >&5
15609
15610 ac_cv_type_long_long=no
15611 fi
15612 rm -f conftest.$ac_objext conftest.$ac_ext
15613 fi
15614 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15615 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15616
15617 echo "$as_me:$LINENO: checking size of long long" >&5
15618 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15619 if test "${ac_cv_sizeof_long_long+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 else
15622 if test "$ac_cv_type_long_long" = yes; then
15623 # The cast to unsigned long works around a bug in the HP C Compiler
15624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15626 # This bug is HP SR number 8606223364.
15627 if test "$cross_compiling" = yes; then
15628 # Depending upon the size, compute the lo and hi bounds.
15629 cat >conftest.$ac_ext <<_ACEOF
15630 #line $LINENO "configure"
15631 /* confdefs.h. */
15632 _ACEOF
15633 cat confdefs.h >>conftest.$ac_ext
15634 cat >>conftest.$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 $ac_includes_default
15637 int
15638 main ()
15639 {
15640 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15641 test_array [0] = 0
15642
15643 ;
15644 return 0;
15645 }
15646 _ACEOF
15647 rm -f conftest.$ac_objext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>&5
15650 ac_status=$?
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -s conftest.$ac_objext'
15654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15655 (eval $ac_try) 2>&5
15656 ac_status=$?
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); }; }; then
15659 ac_lo=0 ac_mid=0
15660 while :; do
15661 cat >conftest.$ac_ext <<_ACEOF
15662 #line $LINENO "configure"
15663 /* confdefs.h. */
15664 _ACEOF
15665 cat confdefs.h >>conftest.$ac_ext
15666 cat >>conftest.$ac_ext <<_ACEOF
15667 /* end confdefs.h. */
15668 $ac_includes_default
15669 int
15670 main ()
15671 {
15672 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15673 test_array [0] = 0
15674
15675 ;
15676 return 0;
15677 }
15678 _ACEOF
15679 rm -f conftest.$ac_objext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>&5
15682 ac_status=$?
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -s conftest.$ac_objext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15691 ac_hi=$ac_mid; break
15692 else
15693 echo "$as_me: failed program was:" >&5
15694 sed 's/^/| /' conftest.$ac_ext >&5
15695
15696 ac_lo=`expr $ac_mid + 1`
15697 if test $ac_lo -le $ac_mid; then
15698 ac_lo= ac_hi=
15699 break
15700 fi
15701 ac_mid=`expr 2 '*' $ac_mid + 1`
15702 fi
15703 rm -f conftest.$ac_objext conftest.$ac_ext
15704 done
15705 else
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15708
15709 cat >conftest.$ac_ext <<_ACEOF
15710 #line $LINENO "configure"
15711 /* confdefs.h. */
15712 _ACEOF
15713 cat confdefs.h >>conftest.$ac_ext
15714 cat >>conftest.$ac_ext <<_ACEOF
15715 /* end confdefs.h. */
15716 $ac_includes_default
15717 int
15718 main ()
15719 {
15720 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15721 test_array [0] = 0
15722
15723 ;
15724 return 0;
15725 }
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>&5
15730 ac_status=$?
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); } &&
15733 { ac_try='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15736 ac_status=$?
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 ac_hi=-1 ac_mid=-1
15740 while :; do
15741 cat >conftest.$ac_ext <<_ACEOF
15742 #line $LINENO "configure"
15743 /* confdefs.h. */
15744 _ACEOF
15745 cat confdefs.h >>conftest.$ac_ext
15746 cat >>conftest.$ac_ext <<_ACEOF
15747 /* end confdefs.h. */
15748 $ac_includes_default
15749 int
15750 main ()
15751 {
15752 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15753 test_array [0] = 0
15754
15755 ;
15756 return 0;
15757 }
15758 _ACEOF
15759 rm -f conftest.$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>&5
15762 ac_status=$?
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); } &&
15765 { ac_try='test -s conftest.$ac_objext'
15766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15767 (eval $ac_try) 2>&5
15768 ac_status=$?
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); }; }; then
15771 ac_lo=$ac_mid; break
15772 else
15773 echo "$as_me: failed program was:" >&5
15774 sed 's/^/| /' conftest.$ac_ext >&5
15775
15776 ac_hi=`expr '(' $ac_mid ')' - 1`
15777 if test $ac_mid -le $ac_hi; then
15778 ac_lo= ac_hi=
15779 break
15780 fi
15781 ac_mid=`expr 2 '*' $ac_mid`
15782 fi
15783 rm -f conftest.$ac_objext conftest.$ac_ext
15784 done
15785 else
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15788
15789 ac_lo= ac_hi=
15790 fi
15791 rm -f conftest.$ac_objext conftest.$ac_ext
15792 fi
15793 rm -f conftest.$ac_objext conftest.$ac_ext
15794 # Binary search between lo and hi bounds.
15795 while test "x$ac_lo" != "x$ac_hi"; do
15796 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15797 cat >conftest.$ac_ext <<_ACEOF
15798 #line $LINENO "configure"
15799 /* confdefs.h. */
15800 _ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804 $ac_includes_default
15805 int
15806 main ()
15807 {
15808 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15809 test_array [0] = 0
15810
15811 ;
15812 return 0;
15813 }
15814 _ACEOF
15815 rm -f conftest.$ac_objext
15816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15817 (eval $ac_compile) 2>&5
15818 ac_status=$?
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -s conftest.$ac_objext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_hi=$ac_mid
15828 else
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.$ac_ext >&5
15831
15832 ac_lo=`expr '(' $ac_mid ')' + 1`
15833 fi
15834 rm -f conftest.$ac_objext conftest.$ac_ext
15835 done
15836 case $ac_lo in
15837 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15838 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15839 See \`config.log' for more details." >&5
15840 echo "$as_me: error: cannot compute sizeof (long long), 77
15841 See \`config.log' for more details." >&2;}
15842 { (exit 1); exit 1; }; } ;;
15843 esac
15844 else
15845 if test "$cross_compiling" = yes; then
15846 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15847 See \`config.log' for more details." >&5
15848 echo "$as_me: error: cannot run test program while cross compiling
15849 See \`config.log' for more details." >&2;}
15850 { (exit 1); exit 1; }; }
15851 else
15852 cat >conftest.$ac_ext <<_ACEOF
15853 #line $LINENO "configure"
15854 /* confdefs.h. */
15855 _ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15859 $ac_includes_default
15860 long longval () { return (long) (sizeof (long long)); }
15861 unsigned long ulongval () { return (long) (sizeof (long long)); }
15862 #include <stdio.h>
15863 #include <stdlib.h>
15864 int
15865 main ()
15866 {
15867
15868 FILE *f = fopen ("conftest.val", "w");
15869 if (! f)
15870 exit (1);
15871 if (((long) (sizeof (long long))) < 0)
15872 {
15873 long i = longval ();
15874 if (i != ((long) (sizeof (long long))))
15875 exit (1);
15876 fprintf (f, "%ld\n", i);
15877 }
15878 else
15879 {
15880 unsigned long i = ulongval ();
15881 if (i != ((long) (sizeof (long long))))
15882 exit (1);
15883 fprintf (f, "%lu\n", i);
15884 }
15885 exit (ferror (f) || fclose (f) != 0);
15886
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 rm -f conftest$ac_exeext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15893 (eval $ac_link) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15899 ac_status=$?
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 ac_cv_sizeof_long_long=`cat conftest.val`
15903 else
15904 echo "$as_me: program exited with status $ac_status" >&5
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.$ac_ext >&5
15907
15908 ( exit $ac_status )
15909 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15910 See \`config.log' for more details." >&5
15911 echo "$as_me: error: cannot compute sizeof (long long), 77
15912 See \`config.log' for more details." >&2;}
15913 { (exit 1); exit 1; }; }
15914 fi
15915 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15916 fi
15917 fi
15918 rm -f conftest.val
15919 else
15920 ac_cv_sizeof_long_long=0
15921 fi
15922 fi
15923 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15924 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15925 cat >>confdefs.h <<_ACEOF
15926 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15927 _ACEOF
15928
15929
15930 ;;
15931 *-hp-hpux* )
15932 echo "$as_me:$LINENO: checking for long long" >&5
15933 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15934 if test "${ac_cv_type_long_long+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 else
15937 cat >conftest.$ac_ext <<_ACEOF
15938 #line $LINENO "configure"
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 $ac_includes_default
15945 int
15946 main ()
15947 {
15948 if ((long long *) 0)
15949 return 0;
15950 if (sizeof (long long))
15951 return 0;
15952 ;
15953 return 0;
15954 }
15955 _ACEOF
15956 rm -f conftest.$ac_objext
15957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15958 (eval $ac_compile) 2>&5
15959 ac_status=$?
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } &&
15962 { ac_try='test -s conftest.$ac_objext'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15965 ac_status=$?
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; }; then
15968 ac_cv_type_long_long=yes
15969 else
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.$ac_ext >&5
15972
15973 ac_cv_type_long_long=no
15974 fi
15975 rm -f conftest.$ac_objext conftest.$ac_ext
15976 fi
15977 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15978 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15979
15980 echo "$as_me:$LINENO: checking size of long long" >&5
15981 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15982 if test "${ac_cv_sizeof_long_long+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15984 else
15985 if test "$ac_cv_type_long_long" = yes; then
15986 # The cast to unsigned long works around a bug in the HP C Compiler
15987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15989 # This bug is HP SR number 8606223364.
15990 if test "$cross_compiling" = yes; then
15991 # Depending upon the size, compute the lo and hi bounds.
15992 cat >conftest.$ac_ext <<_ACEOF
15993 #line $LINENO "configure"
15994 /* confdefs.h. */
15995 _ACEOF
15996 cat confdefs.h >>conftest.$ac_ext
15997 cat >>conftest.$ac_ext <<_ACEOF
15998 /* end confdefs.h. */
15999 $ac_includes_default
16000 int
16001 main ()
16002 {
16003 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16004 test_array [0] = 0
16005
16006 ;
16007 return 0;
16008 }
16009 _ACEOF
16010 rm -f conftest.$ac_objext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16012 (eval $ac_compile) 2>&5
16013 ac_status=$?
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } &&
16016 { ac_try='test -s conftest.$ac_objext'
16017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16018 (eval $ac_try) 2>&5
16019 ac_status=$?
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); }; }; then
16022 ac_lo=0 ac_mid=0
16023 while :; do
16024 cat >conftest.$ac_ext <<_ACEOF
16025 #line $LINENO "configure"
16026 /* confdefs.h. */
16027 _ACEOF
16028 cat confdefs.h >>conftest.$ac_ext
16029 cat >>conftest.$ac_ext <<_ACEOF
16030 /* end confdefs.h. */
16031 $ac_includes_default
16032 int
16033 main ()
16034 {
16035 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16036 test_array [0] = 0
16037
16038 ;
16039 return 0;
16040 }
16041 _ACEOF
16042 rm -f conftest.$ac_objext
16043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16044 (eval $ac_compile) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); } &&
16048 { ac_try='test -s conftest.$ac_objext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 ac_hi=$ac_mid; break
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 ac_lo=`expr $ac_mid + 1`
16060 if test $ac_lo -le $ac_mid; then
16061 ac_lo= ac_hi=
16062 break
16063 fi
16064 ac_mid=`expr 2 '*' $ac_mid + 1`
16065 fi
16066 rm -f conftest.$ac_objext conftest.$ac_ext
16067 done
16068 else
16069 echo "$as_me: failed program was:" >&5
16070 sed 's/^/| /' conftest.$ac_ext >&5
16071
16072 cat >conftest.$ac_ext <<_ACEOF
16073 #line $LINENO "configure"
16074 /* confdefs.h. */
16075 _ACEOF
16076 cat confdefs.h >>conftest.$ac_ext
16077 cat >>conftest.$ac_ext <<_ACEOF
16078 /* end confdefs.h. */
16079 $ac_includes_default
16080 int
16081 main ()
16082 {
16083 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16084 test_array [0] = 0
16085
16086 ;
16087 return 0;
16088 }
16089 _ACEOF
16090 rm -f conftest.$ac_objext
16091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16092 (eval $ac_compile) 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } &&
16096 { ac_try='test -s conftest.$ac_objext'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; }; then
16102 ac_hi=-1 ac_mid=-1
16103 while :; do
16104 cat >conftest.$ac_ext <<_ACEOF
16105 #line $LINENO "configure"
16106 /* confdefs.h. */
16107 _ACEOF
16108 cat confdefs.h >>conftest.$ac_ext
16109 cat >>conftest.$ac_ext <<_ACEOF
16110 /* end confdefs.h. */
16111 $ac_includes_default
16112 int
16113 main ()
16114 {
16115 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16116 test_array [0] = 0
16117
16118 ;
16119 return 0;
16120 }
16121 _ACEOF
16122 rm -f conftest.$ac_objext
16123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16124 (eval $ac_compile) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); } &&
16128 { ac_try='test -s conftest.$ac_objext'
16129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16130 (eval $ac_try) 2>&5
16131 ac_status=$?
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); }; }; then
16134 ac_lo=$ac_mid; break
16135 else
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.$ac_ext >&5
16138
16139 ac_hi=`expr '(' $ac_mid ')' - 1`
16140 if test $ac_mid -le $ac_hi; then
16141 ac_lo= ac_hi=
16142 break
16143 fi
16144 ac_mid=`expr 2 '*' $ac_mid`
16145 fi
16146 rm -f conftest.$ac_objext conftest.$ac_ext
16147 done
16148 else
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.$ac_ext >&5
16151
16152 ac_lo= ac_hi=
16153 fi
16154 rm -f conftest.$ac_objext conftest.$ac_ext
16155 fi
16156 rm -f conftest.$ac_objext conftest.$ac_ext
16157 # Binary search between lo and hi bounds.
16158 while test "x$ac_lo" != "x$ac_hi"; do
16159 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16160 cat >conftest.$ac_ext <<_ACEOF
16161 #line $LINENO "configure"
16162 /* confdefs.h. */
16163 _ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 $ac_includes_default
16168 int
16169 main ()
16170 {
16171 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16172 test_array [0] = 0
16173
16174 ;
16175 return 0;
16176 }
16177 _ACEOF
16178 rm -f conftest.$ac_objext
16179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_hi=$ac_mid
16191 else
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.$ac_ext >&5
16194
16195 ac_lo=`expr '(' $ac_mid ')' + 1`
16196 fi
16197 rm -f conftest.$ac_objext conftest.$ac_ext
16198 done
16199 case $ac_lo in
16200 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16201 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16202 See \`config.log' for more details." >&5
16203 echo "$as_me: error: cannot compute sizeof (long long), 77
16204 See \`config.log' for more details." >&2;}
16205 { (exit 1); exit 1; }; } ;;
16206 esac
16207 else
16208 if test "$cross_compiling" = yes; then
16209 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16210 See \`config.log' for more details." >&5
16211 echo "$as_me: error: cannot run test program while cross compiling
16212 See \`config.log' for more details." >&2;}
16213 { (exit 1); exit 1; }; }
16214 else
16215 cat >conftest.$ac_ext <<_ACEOF
16216 #line $LINENO "configure"
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 $ac_includes_default
16223 long longval () { return (long) (sizeof (long long)); }
16224 unsigned long ulongval () { return (long) (sizeof (long long)); }
16225 #include <stdio.h>
16226 #include <stdlib.h>
16227 int
16228 main ()
16229 {
16230
16231 FILE *f = fopen ("conftest.val", "w");
16232 if (! f)
16233 exit (1);
16234 if (((long) (sizeof (long long))) < 0)
16235 {
16236 long i = longval ();
16237 if (i != ((long) (sizeof (long long))))
16238 exit (1);
16239 fprintf (f, "%ld\n", i);
16240 }
16241 else
16242 {
16243 unsigned long i = ulongval ();
16244 if (i != ((long) (sizeof (long long))))
16245 exit (1);
16246 fprintf (f, "%lu\n", i);
16247 }
16248 exit (ferror (f) || fclose (f) != 0);
16249
16250 ;
16251 return 0;
16252 }
16253 _ACEOF
16254 rm -f conftest$ac_exeext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16256 (eval $ac_link) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_sizeof_long_long=`cat conftest.val`
16266 else
16267 echo "$as_me: program exited with status $ac_status" >&5
16268 echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16270
16271 ( exit $ac_status )
16272 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16273 See \`config.log' for more details." >&5
16274 echo "$as_me: error: cannot compute sizeof (long long), 77
16275 See \`config.log' for more details." >&2;}
16276 { (exit 1); exit 1; }; }
16277 fi
16278 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16279 fi
16280 fi
16281 rm -f conftest.val
16282 else
16283 ac_cv_sizeof_long_long=0
16284 fi
16285 fi
16286 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16287 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16288 cat >>confdefs.h <<_ACEOF
16289 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16290 _ACEOF
16291
16292
16293 if test "$ac_cv_sizeof_long_long" != "0"; then
16294 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16295 fi
16296 ;;
16297 * )
16298 echo "$as_me:$LINENO: checking for long long" >&5
16299 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16300 if test "${ac_cv_type_long_long+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 cat >conftest.$ac_ext <<_ACEOF
16304 #line $LINENO "configure"
16305 /* confdefs.h. */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 $ac_includes_default
16311 int
16312 main ()
16313 {
16314 if ((long long *) 0)
16315 return 0;
16316 if (sizeof (long long))
16317 return 0;
16318 ;
16319 return 0;
16320 }
16321 _ACEOF
16322 rm -f conftest.$ac_objext
16323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16324 (eval $ac_compile) 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } &&
16328 { ac_try='test -s conftest.$ac_objext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16331 ac_status=$?
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_cv_type_long_long=yes
16335 else
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 ac_cv_type_long_long=no
16340 fi
16341 rm -f conftest.$ac_objext conftest.$ac_ext
16342 fi
16343 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16344 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16345
16346 echo "$as_me:$LINENO: checking size of long long" >&5
16347 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16348 if test "${ac_cv_sizeof_long_long+set}" = set; then
16349 echo $ECHO_N "(cached) $ECHO_C" >&6
16350 else
16351 if test "$ac_cv_type_long_long" = yes; then
16352 # The cast to unsigned long works around a bug in the HP C Compiler
16353 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16354 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16355 # This bug is HP SR number 8606223364.
16356 if test "$cross_compiling" = yes; then
16357 # Depending upon the size, compute the lo and hi bounds.
16358 cat >conftest.$ac_ext <<_ACEOF
16359 #line $LINENO "configure"
16360 /* confdefs.h. */
16361 _ACEOF
16362 cat confdefs.h >>conftest.$ac_ext
16363 cat >>conftest.$ac_ext <<_ACEOF
16364 /* end confdefs.h. */
16365 $ac_includes_default
16366 int
16367 main ()
16368 {
16369 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16370 test_array [0] = 0
16371
16372 ;
16373 return 0;
16374 }
16375 _ACEOF
16376 rm -f conftest.$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); } &&
16382 { ac_try='test -s conftest.$ac_objext'
16383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384 (eval $ac_try) 2>&5
16385 ac_status=$?
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; }; then
16388 ac_lo=0 ac_mid=0
16389 while :; do
16390 cat >conftest.$ac_ext <<_ACEOF
16391 #line $LINENO "configure"
16392 /* confdefs.h. */
16393 _ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16397 $ac_includes_default
16398 int
16399 main ()
16400 {
16401 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16402 test_array [0] = 0
16403
16404 ;
16405 return 0;
16406 }
16407 _ACEOF
16408 rm -f conftest.$ac_objext
16409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16410 (eval $ac_compile) 2>&5
16411 ac_status=$?
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } &&
16414 { ac_try='test -s conftest.$ac_objext'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; }; then
16420 ac_hi=$ac_mid; break
16421 else
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16424
16425 ac_lo=`expr $ac_mid + 1`
16426 if test $ac_lo -le $ac_mid; then
16427 ac_lo= ac_hi=
16428 break
16429 fi
16430 ac_mid=`expr 2 '*' $ac_mid + 1`
16431 fi
16432 rm -f conftest.$ac_objext conftest.$ac_ext
16433 done
16434 else
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16437
16438 cat >conftest.$ac_ext <<_ACEOF
16439 #line $LINENO "configure"
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16445 $ac_includes_default
16446 int
16447 main ()
16448 {
16449 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16450 test_array [0] = 0
16451
16452 ;
16453 return 0;
16454 }
16455 _ACEOF
16456 rm -f conftest.$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>&5
16459 ac_status=$?
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try='test -s conftest.$ac_objext'
16463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16464 (eval $ac_try) 2>&5
16465 ac_status=$?
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); }; }; then
16468 ac_hi=-1 ac_mid=-1
16469 while :; do
16470 cat >conftest.$ac_ext <<_ACEOF
16471 #line $LINENO "configure"
16472 /* confdefs.h. */
16473 _ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 $ac_includes_default
16478 int
16479 main ()
16480 {
16481 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16482 test_array [0] = 0
16483
16484 ;
16485 return 0;
16486 }
16487 _ACEOF
16488 rm -f conftest.$ac_objext
16489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16490 (eval $ac_compile) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); } &&
16494 { ac_try='test -s conftest.$ac_objext'
16495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496 (eval $ac_try) 2>&5
16497 ac_status=$?
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); }; }; then
16500 ac_lo=$ac_mid; break
16501 else
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.$ac_ext >&5
16504
16505 ac_hi=`expr '(' $ac_mid ')' - 1`
16506 if test $ac_mid -le $ac_hi; then
16507 ac_lo= ac_hi=
16508 break
16509 fi
16510 ac_mid=`expr 2 '*' $ac_mid`
16511 fi
16512 rm -f conftest.$ac_objext conftest.$ac_ext
16513 done
16514 else
16515 echo "$as_me: failed program was:" >&5
16516 sed 's/^/| /' conftest.$ac_ext >&5
16517
16518 ac_lo= ac_hi=
16519 fi
16520 rm -f conftest.$ac_objext conftest.$ac_ext
16521 fi
16522 rm -f conftest.$ac_objext conftest.$ac_ext
16523 # Binary search between lo and hi bounds.
16524 while test "x$ac_lo" != "x$ac_hi"; do
16525 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16526 cat >conftest.$ac_ext <<_ACEOF
16527 #line $LINENO "configure"
16528 /* confdefs.h. */
16529 _ACEOF
16530 cat confdefs.h >>conftest.$ac_ext
16531 cat >>conftest.$ac_ext <<_ACEOF
16532 /* end confdefs.h. */
16533 $ac_includes_default
16534 int
16535 main ()
16536 {
16537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16538 test_array [0] = 0
16539
16540 ;
16541 return 0;
16542 }
16543 _ACEOF
16544 rm -f conftest.$ac_objext
16545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 (eval $ac_compile) 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } &&
16550 { ac_try='test -s conftest.$ac_objext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16556 ac_hi=$ac_mid
16557 else
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16560
16561 ac_lo=`expr '(' $ac_mid ')' + 1`
16562 fi
16563 rm -f conftest.$ac_objext conftest.$ac_ext
16564 done
16565 case $ac_lo in
16566 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16567 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16568 See \`config.log' for more details." >&5
16569 echo "$as_me: error: cannot compute sizeof (long long), 77
16570 See \`config.log' for more details." >&2;}
16571 { (exit 1); exit 1; }; } ;;
16572 esac
16573 else
16574 if test "$cross_compiling" = yes; then
16575 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16576 See \`config.log' for more details." >&5
16577 echo "$as_me: error: cannot run test program while cross compiling
16578 See \`config.log' for more details." >&2;}
16579 { (exit 1); exit 1; }; }
16580 else
16581 cat >conftest.$ac_ext <<_ACEOF
16582 #line $LINENO "configure"
16583 /* confdefs.h. */
16584 _ACEOF
16585 cat confdefs.h >>conftest.$ac_ext
16586 cat >>conftest.$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16588 $ac_includes_default
16589 long longval () { return (long) (sizeof (long long)); }
16590 unsigned long ulongval () { return (long) (sizeof (long long)); }
16591 #include <stdio.h>
16592 #include <stdlib.h>
16593 int
16594 main ()
16595 {
16596
16597 FILE *f = fopen ("conftest.val", "w");
16598 if (! f)
16599 exit (1);
16600 if (((long) (sizeof (long long))) < 0)
16601 {
16602 long i = longval ();
16603 if (i != ((long) (sizeof (long long))))
16604 exit (1);
16605 fprintf (f, "%ld\n", i);
16606 }
16607 else
16608 {
16609 unsigned long i = ulongval ();
16610 if (i != ((long) (sizeof (long long))))
16611 exit (1);
16612 fprintf (f, "%lu\n", i);
16613 }
16614 exit (ferror (f) || fclose (f) != 0);
16615
16616 ;
16617 return 0;
16618 }
16619 _ACEOF
16620 rm -f conftest$ac_exeext
16621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16622 (eval $ac_link) 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16627 (eval $ac_try) 2>&5
16628 ac_status=$?
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }; }; then
16631 ac_cv_sizeof_long_long=`cat conftest.val`
16632 else
16633 echo "$as_me: program exited with status $ac_status" >&5
16634 echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.$ac_ext >&5
16636
16637 ( exit $ac_status )
16638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16639 See \`config.log' for more details." >&5
16640 echo "$as_me: error: cannot compute sizeof (long long), 77
16641 See \`config.log' for more details." >&2;}
16642 { (exit 1); exit 1; }; }
16643 fi
16644 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16645 fi
16646 fi
16647 rm -f conftest.val
16648 else
16649 ac_cv_sizeof_long_long=0
16650 fi
16651 fi
16652 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16653 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16654 cat >>confdefs.h <<_ACEOF
16655 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16656 _ACEOF
16657
16658
16659 esac
16660
16661 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16662 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16663 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16664 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 else
16666
16667 if test "$cross_compiling" = yes; then
16668
16669 case "${host}" in
16670 *-pc-msdosdjgpp )
16671 wx_cv_sizeof_wchar_t=0
16672 ;;
16673 * )
16674 wx_cv_sizeof_wchar_t=4
16675 ;;
16676 esac
16677
16678
16679 else
16680 cat >conftest.$ac_ext <<_ACEOF
16681 #line $LINENO "configure"
16682 /* confdefs.h. */
16683 _ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687
16688 /* DJGPP only has fake wchar_t: */
16689 #ifdef __DJGPP__
16690 # error "fake wchar_t"
16691 #endif
16692 #ifdef HAVE_WCHAR_H
16693 # ifdef __CYGWIN__
16694 # include <stddef.h>
16695 # endif
16696 # include <wchar.h>
16697 #endif
16698 #ifdef HAVE_STDLIB_H
16699 # include <stdlib.h>
16700 #endif
16701 #include <stdio.h>
16702 int main()
16703 {
16704 FILE *f=fopen("conftestval", "w");
16705 if (!f) exit(1);
16706 fprintf(f, "%i", sizeof(wchar_t));
16707 exit(0);
16708 }
16709
16710 _ACEOF
16711 rm -f conftest$ac_exeext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16713 (eval $ac_link) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 wx_cv_sizeof_wchar_t=`cat conftestval`
16723 else
16724 echo "$as_me: program exited with status $ac_status" >&5
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16727
16728 ( exit $ac_status )
16729 wx_cv_sizeof_wchar_t=0
16730 fi
16731 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16732 fi
16733
16734 fi
16735 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16736 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16737
16738 cat >>confdefs.h <<_ACEOF
16739 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16740 _ACEOF
16741
16742
16743 # Check whether --enable-largefile or --disable-largefile was given.
16744 if test "${enable_largefile+set}" = set; then
16745 enableval="$enable_largefile"
16746
16747 fi;
16748 if test "$enable_largefile" != no; then
16749 wx_largefile=no
16750
16751 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16752 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16753 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 else
16756
16757 cat >conftest.$ac_ext <<_ACEOF
16758 #line $LINENO "configure"
16759 /* confdefs.h. */
16760 _ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 #define _FILE_OFFSET_BITS 64
16765 #include <sys/types.h>
16766 int
16767 main ()
16768 {
16769 typedef struct {
16770 unsigned int field: sizeof(off_t) == 8;
16771 } wxlf;
16772
16773 ;
16774 return 0;
16775 }
16776 _ACEOF
16777 rm -f conftest.$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>&5
16780 ac_status=$?
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try='test -s conftest.$ac_objext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sys_file_offset_bits=64
16790 else
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16793
16794 ac_cv_sys_file_offset_bits=no
16795 fi
16796 rm -f conftest.$ac_objext conftest.$ac_ext
16797
16798
16799 fi
16800 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16801 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16802
16803 if test "$ac_cv_sys_file_offset_bits" != no; then
16804 wx_largefile=yes
16805 cat >>confdefs.h <<_ACEOF
16806 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16807 _ACEOF
16808
16809 fi
16810
16811 if test "x$wx_largefile" != "xyes"; then
16812
16813 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16814 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16815 if test "${ac_cv_sys_large_files+set}" = set; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 else
16818
16819 cat >conftest.$ac_ext <<_ACEOF
16820 #line $LINENO "configure"
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 #define _LARGE_FILES 1
16827 #include <sys/types.h>
16828 int
16829 main ()
16830 {
16831 typedef struct {
16832 unsigned int field: sizeof(off_t) == 8;
16833 } wxlf;
16834
16835 ;
16836 return 0;
16837 }
16838 _ACEOF
16839 rm -f conftest.$ac_objext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16841 (eval $ac_compile) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } &&
16845 { ac_try='test -s conftest.$ac_objext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16848 ac_status=$?
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 ac_cv_sys_large_files=1
16852 else
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16855
16856 ac_cv_sys_large_files=no
16857 fi
16858 rm -f conftest.$ac_objext conftest.$ac_ext
16859
16860
16861 fi
16862 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16863 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16864
16865 if test "$ac_cv_sys_large_files" != no; then
16866 wx_largefile=yes
16867 cat >>confdefs.h <<_ACEOF
16868 #define _LARGE_FILES $ac_cv_sys_large_files
16869 _ACEOF
16870
16871 fi
16872
16873 fi
16874
16875 echo "$as_me:$LINENO: checking if large file support is available" >&5
16876 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16877 if test "x$wx_largefile" = "xyes"; then
16878 cat >>confdefs.h <<\_ACEOF
16879 #define HAVE_LARGEFILE_SUPPORT 1
16880 _ACEOF
16881
16882 fi
16883 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16884 echo "${ECHO_T}$wx_largefile" >&6
16885 fi
16886
16887
16888 if test "x$wx_largefile" = "xyes"; then
16889 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16890 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16891 else
16892 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16893 fi
16894 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16895 fi
16896
16897 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16898 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16899 if test "${ac_cv_c_bigendian+set}" = set; then
16900 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 else
16902 ac_cv_c_bigendian=unknown
16903 # See if sys/param.h defines the BYTE_ORDER macro.
16904 cat >conftest.$ac_ext <<_ACEOF
16905 #line $LINENO "configure"
16906 /* confdefs.h. */
16907 _ACEOF
16908 cat confdefs.h >>conftest.$ac_ext
16909 cat >>conftest.$ac_ext <<_ACEOF
16910 /* end confdefs.h. */
16911 #include <sys/types.h>
16912 #include <sys/param.h>
16913 int
16914 main ()
16915 {
16916
16917 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16918 bogus endian macros
16919 #endif
16920 ;
16921 return 0;
16922 }
16923 _ACEOF
16924 rm -f conftest.$ac_objext
16925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16926 (eval $ac_compile) 2>&5
16927 ac_status=$?
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); } &&
16930 { ac_try='test -s conftest.$ac_objext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 # It does; now see whether it defined to BIG_ENDIAN or not.
16937 cat >conftest.$ac_ext <<_ACEOF
16938 #line $LINENO "configure"
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 #include <sys/types.h>
16945 #include <sys/param.h>
16946 int
16947 main ()
16948 {
16949
16950 #if BYTE_ORDER != BIG_ENDIAN
16951 not big endian
16952 #endif
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 rm -f conftest.$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try='test -s conftest.$ac_objext'
16964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16965 (eval $ac_try) 2>&5
16966 ac_status=$?
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); }; }; then
16969 ac_cv_c_bigendian=yes
16970 else
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16973
16974 ac_cv_c_bigendian=no
16975 fi
16976 rm -f conftest.$ac_objext conftest.$ac_ext
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 fi
16982 rm -f conftest.$ac_objext conftest.$ac_ext
16983 if test $ac_cv_c_bigendian = unknown; then
16984 if test "$cross_compiling" = yes; then
16985 ac_cv_c_bigendian=unknown
16986 else
16987 cat >conftest.$ac_ext <<_ACEOF
16988 #line $LINENO "configure"
16989 /* confdefs.h. */
16990 _ACEOF
16991 cat confdefs.h >>conftest.$ac_ext
16992 cat >>conftest.$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16994 main () {
16995 /* Are we little or big endian? From Harbison&Steele. */
16996 union
16997 {
16998 long l;
16999 char c[sizeof (long)];
17000 } u;
17001 u.l = 1;
17002 exit (u.c[sizeof (long) - 1] == 1);
17003 }
17004 _ACEOF
17005 rm -f conftest$ac_exeext
17006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17007 (eval $ac_link) 2>&5
17008 ac_status=$?
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17013 ac_status=$?
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; }; then
17016 ac_cv_c_bigendian=no
17017 else
17018 echo "$as_me: program exited with status $ac_status" >&5
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17021
17022 ( exit $ac_status )
17023 ac_cv_c_bigendian=yes
17024 fi
17025 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17026 fi
17027 fi
17028 fi
17029 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17030 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17031 if test $ac_cv_c_bigendian = unknown; then
17032 { 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
17033 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;}
17034 fi
17035 if test $ac_cv_c_bigendian = yes; then
17036 cat >>confdefs.h <<\_ACEOF
17037 #define WORDS_BIGENDIAN 1
17038 _ACEOF
17039
17040 fi
17041
17042
17043
17044 ac_ext=cc
17045 ac_cpp='$CXXCPP $CPPFLAGS'
17046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17049 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17050 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17051 if test -z "$CXXCPP"; then
17052 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 else
17055 # Double quotes because CXXCPP needs to be expanded
17056 for CXXCPP in "$CXX -E" "/lib/cpp"
17057 do
17058 ac_preproc_ok=false
17059 for ac_cxx_preproc_warn_flag in '' yes
17060 do
17061 # Use a header file that comes with gcc, so configuring glibc
17062 # with a fresh cross-compiler works.
17063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17064 # <limits.h> exists even on freestanding compilers.
17065 # On the NeXT, cc -E runs the code through the compiler's parser,
17066 # not just through cpp. "Syntax error" is here to catch this case.
17067 cat >conftest.$ac_ext <<_ACEOF
17068 #line $LINENO "configure"
17069 /* confdefs.h. */
17070 _ACEOF
17071 cat confdefs.h >>conftest.$ac_ext
17072 cat >>conftest.$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 #ifdef __STDC__
17075 # include <limits.h>
17076 #else
17077 # include <assert.h>
17078 #endif
17079 Syntax error
17080 _ACEOF
17081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17083 ac_status=$?
17084 grep -v '^ *+' conftest.er1 >conftest.err
17085 rm -f conftest.er1
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } >/dev/null; then
17089 if test -s conftest.err; then
17090 ac_cpp_err=$ac_cxx_preproc_warn_flag
17091 else
17092 ac_cpp_err=
17093 fi
17094 else
17095 ac_cpp_err=yes
17096 fi
17097 if test -z "$ac_cpp_err"; then
17098 :
17099 else
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17102
17103 # Broken: fails on valid input.
17104 continue
17105 fi
17106 rm -f conftest.err conftest.$ac_ext
17107
17108 # OK, works on sane cases. Now check whether non-existent headers
17109 # can be detected and how.
17110 cat >conftest.$ac_ext <<_ACEOF
17111 #line $LINENO "configure"
17112 /* confdefs.h. */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include <ac_nonexistent.h>
17118 _ACEOF
17119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev/null; then
17127 if test -s conftest.err; then
17128 ac_cpp_err=$ac_cxx_preproc_warn_flag
17129 else
17130 ac_cpp_err=
17131 fi
17132 else
17133 ac_cpp_err=yes
17134 fi
17135 if test -z "$ac_cpp_err"; then
17136 # Broken: success on invalid input.
17137 continue
17138 else
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17141
17142 # Passes both tests.
17143 ac_preproc_ok=:
17144 break
17145 fi
17146 rm -f conftest.err conftest.$ac_ext
17147
17148 done
17149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17150 rm -f conftest.err conftest.$ac_ext
17151 if $ac_preproc_ok; then
17152 break
17153 fi
17154
17155 done
17156 ac_cv_prog_CXXCPP=$CXXCPP
17157
17158 fi
17159 CXXCPP=$ac_cv_prog_CXXCPP
17160 else
17161 ac_cv_prog_CXXCPP=$CXXCPP
17162 fi
17163 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17164 echo "${ECHO_T}$CXXCPP" >&6
17165 ac_preproc_ok=false
17166 for ac_cxx_preproc_warn_flag in '' yes
17167 do
17168 # Use a header file that comes with gcc, so configuring glibc
17169 # with a fresh cross-compiler works.
17170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17171 # <limits.h> exists even on freestanding compilers.
17172 # On the NeXT, cc -E runs the code through the compiler's parser,
17173 # not just through cpp. "Syntax error" is here to catch this case.
17174 cat >conftest.$ac_ext <<_ACEOF
17175 #line $LINENO "configure"
17176 /* confdefs.h. */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 #ifdef __STDC__
17182 # include <limits.h>
17183 #else
17184 # include <assert.h>
17185 #endif
17186 Syntax error
17187 _ACEOF
17188 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } >/dev/null; then
17196 if test -s conftest.err; then
17197 ac_cpp_err=$ac_cxx_preproc_warn_flag
17198 else
17199 ac_cpp_err=
17200 fi
17201 else
17202 ac_cpp_err=yes
17203 fi
17204 if test -z "$ac_cpp_err"; then
17205 :
17206 else
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17209
17210 # Broken: fails on valid input.
17211 continue
17212 fi
17213 rm -f conftest.err conftest.$ac_ext
17214
17215 # OK, works on sane cases. Now check whether non-existent headers
17216 # can be detected and how.
17217 cat >conftest.$ac_ext <<_ACEOF
17218 #line $LINENO "configure"
17219 /* confdefs.h. */
17220 _ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224 #include <ac_nonexistent.h>
17225 _ACEOF
17226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17228 ac_status=$?
17229 grep -v '^ *+' conftest.er1 >conftest.err
17230 rm -f conftest.er1
17231 cat conftest.err >&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } >/dev/null; then
17234 if test -s conftest.err; then
17235 ac_cpp_err=$ac_cxx_preproc_warn_flag
17236 else
17237 ac_cpp_err=
17238 fi
17239 else
17240 ac_cpp_err=yes
17241 fi
17242 if test -z "$ac_cpp_err"; then
17243 # Broken: success on invalid input.
17244 continue
17245 else
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17248
17249 # Passes both tests.
17250 ac_preproc_ok=:
17251 break
17252 fi
17253 rm -f conftest.err conftest.$ac_ext
17254
17255 done
17256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17257 rm -f conftest.err conftest.$ac_ext
17258 if $ac_preproc_ok; then
17259 :
17260 else
17261 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17262 See \`config.log' for more details." >&5
17263 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17264 See \`config.log' for more details." >&2;}
17265 { (exit 1); exit 1; }; }
17266 fi
17267
17268 ac_ext=cc
17269 ac_cpp='$CXXCPP $CPPFLAGS'
17270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17273
17274
17275
17276 if test "$cross_compiling" = "yes"; then
17277 cat >>confdefs.h <<\_ACEOF
17278 #define wxUSE_IOSTREAMH 1
17279 _ACEOF
17280
17281 else
17282
17283
17284 ac_ext=cc
17285 ac_cpp='$CXXCPP $CPPFLAGS'
17286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17289
17290
17291
17292 for ac_header in iostream
17293 do
17294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17296 echo "$as_me:$LINENO: checking for $ac_header" >&5
17297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17299 echo $ECHO_N "(cached) $ECHO_C" >&6
17300 fi
17301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17303 else
17304 # Is the header compilable?
17305 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17306 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17307 cat >conftest.$ac_ext <<_ACEOF
17308 #line $LINENO "configure"
17309 /* confdefs.h. */
17310 _ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314 $ac_includes_default
17315 #include <$ac_header>
17316 _ACEOF
17317 rm -f conftest.$ac_objext
17318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17319 (eval $ac_compile) 2>&5
17320 ac_status=$?
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } &&
17323 { ac_try='test -s conftest.$ac_objext'
17324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325 (eval $ac_try) 2>&5
17326 ac_status=$?
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_header_compiler=yes
17330 else
17331 echo "$as_me: failed program was:" >&5
17332 sed 's/^/| /' conftest.$ac_ext >&5
17333
17334 ac_header_compiler=no
17335 fi
17336 rm -f conftest.$ac_objext conftest.$ac_ext
17337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17338 echo "${ECHO_T}$ac_header_compiler" >&6
17339
17340 # Is the header present?
17341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17343 cat >conftest.$ac_ext <<_ACEOF
17344 #line $LINENO "configure"
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350 #include <$ac_header>
17351 _ACEOF
17352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17354 ac_status=$?
17355 grep -v '^ *+' conftest.er1 >conftest.err
17356 rm -f conftest.er1
17357 cat conftest.err >&5
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } >/dev/null; then
17360 if test -s conftest.err; then
17361 ac_cpp_err=$ac_cxx_preproc_warn_flag
17362 else
17363 ac_cpp_err=
17364 fi
17365 else
17366 ac_cpp_err=yes
17367 fi
17368 if test -z "$ac_cpp_err"; then
17369 ac_header_preproc=yes
17370 else
17371 echo "$as_me: failed program was:" >&5
17372 sed 's/^/| /' conftest.$ac_ext >&5
17373
17374 ac_header_preproc=no
17375 fi
17376 rm -f conftest.err conftest.$ac_ext
17377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17378 echo "${ECHO_T}$ac_header_preproc" >&6
17379
17380 # So? What about this header?
17381 case $ac_header_compiler:$ac_header_preproc in
17382 yes:no )
17383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17387 (
17388 cat <<\_ASBOX
17389 ## ------------------------------------ ##
17390 ## Report this to bug-autoconf@gnu.org. ##
17391 ## ------------------------------------ ##
17392 _ASBOX
17393 ) |
17394 sed "s/^/$as_me: WARNING: /" >&2
17395 ;;
17396 no:yes )
17397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17403 (
17404 cat <<\_ASBOX
17405 ## ------------------------------------ ##
17406 ## Report this to bug-autoconf@gnu.org. ##
17407 ## ------------------------------------ ##
17408 _ASBOX
17409 ) |
17410 sed "s/^/$as_me: WARNING: /" >&2
17411 ;;
17412 esac
17413 echo "$as_me:$LINENO: checking for $ac_header" >&5
17414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 else
17418 eval "$as_ac_Header=$ac_header_preproc"
17419 fi
17420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17422
17423 fi
17424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17425 cat >>confdefs.h <<_ACEOF
17426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17427 _ACEOF
17428
17429 fi
17430
17431 done
17432
17433
17434 if test "$ac_cv_header_iostream" = "yes" ; then
17435 :
17436 else
17437 cat >>confdefs.h <<\_ACEOF
17438 #define wxUSE_IOSTREAMH 1
17439 _ACEOF
17440
17441 fi
17442
17443 ac_ext=c
17444 ac_cpp='$CPP $CPPFLAGS'
17445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17448
17449 fi
17450
17451
17452
17453 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17454 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17455 if test "${wx_cv_cpp_bool+set}" = set; then
17456 echo $ECHO_N "(cached) $ECHO_C" >&6
17457 else
17458
17459
17460
17461 ac_ext=cc
17462 ac_cpp='$CXXCPP $CPPFLAGS'
17463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17466
17467
17468 cat >conftest.$ac_ext <<_ACEOF
17469 #line $LINENO "configure"
17470 /* confdefs.h. */
17471 _ACEOF
17472 cat confdefs.h >>conftest.$ac_ext
17473 cat >>conftest.$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17475
17476
17477 int
17478 main ()
17479 {
17480
17481 bool b = true;
17482
17483 return 0;
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 rm -f conftest.$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>&5
17492 ac_status=$?
17493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17494 (exit $ac_status); } &&
17495 { ac_try='test -s conftest.$ac_objext'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17498 ac_status=$?
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; }; then
17501
17502 wx_cv_cpp_bool=yes
17503
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17507
17508
17509 wx_cv_cpp_bool=no
17510
17511
17512 fi
17513 rm -f conftest.$ac_objext conftest.$ac_ext
17514
17515 ac_ext=c
17516 ac_cpp='$CPP $CPPFLAGS'
17517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17520
17521
17522 fi
17523 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17524 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17525
17526 if test "$wx_cv_cpp_bool" = "yes"; then
17527 cat >>confdefs.h <<\_ACEOF
17528 #define HAVE_BOOL 1
17529 _ACEOF
17530
17531 fi
17532
17533
17534
17535 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17536 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17537 if test "${wx_cv_explicit+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 else
17540
17541
17542
17543 ac_ext=cc
17544 ac_cpp='$CXXCPP $CPPFLAGS'
17545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17548
17549
17550 cat >conftest.$ac_ext <<_ACEOF
17551 #line $LINENO "configure"
17552 /* confdefs.h. */
17553 _ACEOF
17554 cat confdefs.h >>conftest.$ac_ext
17555 cat >>conftest.$ac_ext <<_ACEOF
17556 /* end confdefs.h. */
17557
17558 class Foo { public: explicit Foo(int) {} };
17559
17560 int
17561 main ()
17562 {
17563
17564 return 0;
17565
17566 ;
17567 return 0;
17568 }
17569 _ACEOF
17570 rm -f conftest.$ac_objext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17572 (eval $ac_compile) 2>&5
17573 ac_status=$?
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582
17583 cat >conftest.$ac_ext <<_ACEOF
17584 #line $LINENO "configure"
17585 /* confdefs.h. */
17586 _ACEOF
17587 cat confdefs.h >>conftest.$ac_ext
17588 cat >>conftest.$ac_ext <<_ACEOF
17589 /* end confdefs.h. */
17590
17591 class Foo { public: explicit Foo(int) {} };
17592 static void TakeFoo(const Foo& foo) { }
17593
17594 int
17595 main ()
17596 {
17597
17598 TakeFoo(17);
17599 return 0;
17600
17601 ;
17602 return 0;
17603 }
17604 _ACEOF
17605 rm -f conftest.$ac_objext
17606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17607 (eval $ac_compile) 2>&5
17608 ac_status=$?
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } &&
17611 { ac_try='test -s conftest.$ac_objext'
17612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17613 (eval $ac_try) 2>&5
17614 ac_status=$?
17615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616 (exit $ac_status); }; }; then
17617 wx_cv_explicit=no
17618 else
17619 echo "$as_me: failed program was:" >&5
17620 sed 's/^/| /' conftest.$ac_ext >&5
17621
17622 wx_cv_explicit=yes
17623
17624 fi
17625 rm -f conftest.$ac_objext conftest.$ac_ext
17626
17627 else
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.$ac_ext >&5
17630
17631 wx_cv_explicit=no
17632
17633 fi
17634 rm -f conftest.$ac_objext conftest.$ac_ext
17635
17636 ac_ext=c
17637 ac_cpp='$CPP $CPPFLAGS'
17638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17641
17642
17643 fi
17644 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17645 echo "${ECHO_T}$wx_cv_explicit" >&6
17646
17647 if test "$wx_cv_explicit" = "yes"; then
17648 cat >>confdefs.h <<\_ACEOF
17649 #define HAVE_EXPLICIT 1
17650 _ACEOF
17651
17652 fi
17653
17654
17655 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17656 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17657 if test "${ac_cv_cxx_const_cast+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 else
17660
17661
17662 ac_ext=cc
17663 ac_cpp='$CXXCPP $CPPFLAGS'
17664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17667
17668 cat >conftest.$ac_ext <<_ACEOF
17669 #line $LINENO "configure"
17670 /* confdefs.h. */
17671 _ACEOF
17672 cat confdefs.h >>conftest.$ac_ext
17673 cat >>conftest.$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675
17676 int
17677 main ()
17678 {
17679 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17680 ;
17681 return 0;
17682 }
17683 _ACEOF
17684 rm -f conftest.$ac_objext
17685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17686 (eval $ac_compile) 2>&5
17687 ac_status=$?
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); } &&
17690 { ac_try='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 ac_cv_cxx_const_cast=yes
17697 else
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17700
17701 ac_cv_cxx_const_cast=no
17702 fi
17703 rm -f conftest.$ac_objext conftest.$ac_ext
17704 ac_ext=c
17705 ac_cpp='$CPP $CPPFLAGS'
17706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17709
17710
17711 fi
17712 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17713 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17714 if test "$ac_cv_cxx_const_cast" = yes; then
17715
17716 cat >>confdefs.h <<\_ACEOF
17717 #define HAVE_CONST_CAST
17718 _ACEOF
17719
17720 fi
17721
17722
17723 if test "$wxUSE_STL" = "yes"; then
17724 ac_ext=cc
17725 ac_cpp='$CXXCPP $CPPFLAGS'
17726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17729
17730
17731 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17732 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17733 cat >conftest.$ac_ext <<_ACEOF
17734 #line $LINENO "configure"
17735 /* confdefs.h. */
17736 _ACEOF
17737 cat confdefs.h >>conftest.$ac_ext
17738 cat >>conftest.$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17740 #include <string>
17741 #include <functional>
17742 #include <algorithm>
17743 #include <vector>
17744 #include <list>
17745 int
17746 main ()
17747 {
17748 std::vector<int> moo;
17749 std::list<int> foo;
17750 std::vector<int>::iterator it =
17751 std::find_if(moo.begin(), moo.end(),
17752 std::bind2nd(std::less<int>(), 3));
17753 ;
17754 return 0;
17755 }
17756 _ACEOF
17757 rm -f conftest.$ac_objext
17758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17759 (eval $ac_compile) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); } &&
17763 { ac_try='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 echo "$as_me:$LINENO: result: yes" >&5
17770 echo "${ECHO_T}yes" >&6
17771 else
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17774
17775 echo "$as_me:$LINENO: result: no" >&5
17776 echo "${ECHO_T}no" >&6
17777 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17778 echo "$as_me: error: Basic STL functionality missing" >&2;}
17779 { (exit 1); exit 1; }; }
17780 fi
17781 rm -f conftest.$ac_objext conftest.$ac_ext
17782
17783 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17784 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17785 cat >conftest.$ac_ext <<_ACEOF
17786 #line $LINENO "configure"
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <string>
17793 int
17794 main ()
17795 {
17796 std::wstring foo;
17797 ;
17798 return 0;
17799 }
17800 _ACEOF
17801 rm -f conftest.$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>&5
17804 ac_status=$?
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -s conftest.$ac_objext'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; }; then
17813 echo "$as_me:$LINENO: result: yes" >&5
17814 echo "${ECHO_T}yes" >&6
17815 cat >>confdefs.h <<\_ACEOF
17816 #define HAVE_STD_WSTRING 1
17817 _ACEOF
17818
17819 else
17820 echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.$ac_ext >&5
17822
17823 echo "$as_me:$LINENO: result: no" >&5
17824 echo "${ECHO_T}no" >&6
17825 fi
17826 rm -f conftest.$ac_objext conftest.$ac_ext
17827
17828 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17829 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17830 cat >conftest.$ac_ext <<_ACEOF
17831 #line $LINENO "configure"
17832 /* confdefs.h. */
17833 _ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17837 #include <string>
17838 int
17839 main ()
17840 {
17841 std::string foo, bar;
17842 foo.compare(bar);
17843 foo.compare(1, 1, bar);
17844 foo.compare(1, 1, bar, 1, 1);
17845 foo.compare("");
17846 foo.compare(1, 1, "");
17847 foo.compare(1, 1, "", 2);
17848 ;
17849 return 0;
17850 }
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17854 (eval $ac_compile) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 echo "$as_me:$LINENO: result: yes" >&5
17865 echo "${ECHO_T}yes" >&6
17866 cat >>confdefs.h <<\_ACEOF
17867 #define HAVE_STD_STRING_COMPARE 1
17868 _ACEOF
17869
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17873
17874 echo "$as_me:$LINENO: result: no" >&5
17875 echo "${ECHO_T}no" >&6
17876 fi
17877 rm -f conftest.$ac_objext conftest.$ac_ext
17878
17879 ac_ext=c
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884
17885 fi
17886
17887
17888 SEARCH_INCLUDE="\
17889 /usr/local/include \
17890 \
17891 /usr/Motif-1.2/include \
17892 /usr/Motif-2.1/include \
17893 \
17894 /usr/include/Motif1.2 \
17895 /opt/xpm/include/X11 \
17896 /opt/GBxpm/include/ \
17897 /opt/GBxpm/X11/include/ \
17898 \
17899 /usr/Motif1.2/include \
17900 /usr/dt/include \
17901 /usr/openwin/include \
17902 \
17903 /usr/include/Xm \
17904 \
17905 /usr/X11R6/include \
17906 /usr/X11R6.4/include \
17907 /usr/X11R5/include \
17908 /usr/X11R4/include \
17909 \
17910 /usr/include/X11R6 \
17911 /usr/include/X11R5 \
17912 /usr/include/X11R4 \
17913 \
17914 /usr/local/X11R6/include \
17915 /usr/local/X11R5/include \
17916 /usr/local/X11R4/include \
17917 \
17918 /usr/local/include/X11R6 \
17919 /usr/local/include/X11R5 \
17920 /usr/local/include/X11R4 \
17921 \
17922 /usr/X11/include \
17923 /usr/include/X11 \
17924 /usr/local/X11/include \
17925 /usr/local/include/X11 \
17926 \
17927 /usr/X386/include \
17928 /usr/x386/include \
17929 /usr/XFree86/include/X11 \
17930 \
17931 X:/XFree86/include \
17932 X:/XFree86/include/X11 \
17933 \
17934 /usr/include/gtk \
17935 /usr/local/include/gtk \
17936 /usr/include/glib \
17937 /usr/local/include/glib \
17938 \
17939 /usr/include/qt \
17940 /usr/local/include/qt \
17941 \
17942 /usr/include/windows \
17943 /usr/include/wine \
17944 /usr/local/include/wine \
17945 \
17946 /usr/unsupported/include \
17947 /usr/athena/include \
17948 /usr/local/x11r5/include \
17949 /usr/lpp/Xamples/include \
17950 \
17951 /usr/openwin/share/include"
17952
17953 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17954
17955
17956 cat >confcache <<\_ACEOF
17957 # This file is a shell script that caches the results of configure
17958 # tests run on this system so they can be shared between configure
17959 # scripts and configure runs, see configure's option --config-cache.
17960 # It is not useful on other systems. If it contains results you don't
17961 # want to keep, you may remove or edit it.
17962 #
17963 # config.status only pays attention to the cache file if you give it
17964 # the --recheck option to rerun configure.
17965 #
17966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17968 # following values.
17969
17970 _ACEOF
17971
17972 # The following way of writing the cache mishandles newlines in values,
17973 # but we know of no workaround that is simple, portable, and efficient.
17974 # So, don't put newlines in cache variables' values.
17975 # Ultrix sh set writes to stderr and can't be redirected directly,
17976 # and sets the high bit in the cache file unless we assign to the vars.
17977 {
17978 (set) 2>&1 |
17979 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17980 *ac_space=\ *)
17981 # `set' does not quote correctly, so add quotes (double-quote
17982 # substitution turns \\\\ into \\, and sed turns \\ into \).
17983 sed -n \
17984 "s/'/'\\\\''/g;
17985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17986 ;;
17987 *)
17988 # `set' quotes correctly as required by POSIX, so do not add quotes.
17989 sed -n \
17990 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17991 ;;
17992 esac;
17993 } |
17994 sed '
17995 t clear
17996 : clear
17997 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17998 t end
17999 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18000 : end' >>confcache
18001 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18002 if test -w $cache_file; then
18003 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18004 cat confcache >$cache_file
18005 else
18006 echo "not updating unwritable cache $cache_file"
18007 fi
18008 fi
18009 rm -f confcache
18010
18011 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18012 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18013 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18014 if test "${wx_cv_lib_glibc21+set}" = set; then
18015 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 else
18017
18018 cat >conftest.$ac_ext <<_ACEOF
18019 #line $LINENO "configure"
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 #include <features.h>
18026 int
18027 main ()
18028 {
18029
18030 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18031 #error not glibc2.1
18032 #endif
18033
18034 ;
18035 return 0;
18036 }
18037 _ACEOF
18038 rm -f conftest.$ac_objext
18039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18040 (eval $ac_compile) 2>&5
18041 ac_status=$?
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } &&
18044 { ac_try='test -s conftest.$ac_objext'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; }; then
18050
18051 wx_cv_lib_glibc21=yes
18052
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18056
18057
18058 wx_cv_lib_glibc21=no
18059
18060
18061 fi
18062 rm -f conftest.$ac_objext conftest.$ac_ext
18063
18064 fi
18065 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18066 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18067 if test "$wx_cv_lib_glibc21" = "yes"; then
18068 cat >>confdefs.h <<\_ACEOF
18069 #define wxHAVE_GLIBC2 1
18070 _ACEOF
18071
18072 fi
18073 fi
18074
18075 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18076 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18077 cat >>confdefs.h <<\_ACEOF
18078 #define _GNU_SOURCE 1
18079 _ACEOF
18080
18081 fi
18082 fi
18083
18084
18085
18086 REGEX_INCLUDE=
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_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18094 if test "${ac_cv_header_regex_h+set}" = set; then
18095 echo "$as_me:$LINENO: checking for regex.h" >&5
18096 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18097 if test "${ac_cv_header_regex_h+set}" = set; then
18098 echo $ECHO_N "(cached) $ECHO_C" >&6
18099 fi
18100 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18101 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18102 else
18103 # Is the header compilable?
18104 echo "$as_me:$LINENO: checking regex.h usability" >&5
18105 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18106 cat >conftest.$ac_ext <<_ACEOF
18107 #line $LINENO "configure"
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 $ac_includes_default
18114 #include <regex.h>
18115 _ACEOF
18116 rm -f conftest.$ac_objext
18117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18118 (eval $ac_compile) 2>&5
18119 ac_status=$?
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try='test -s conftest.$ac_objext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_header_compiler=yes
18129 else
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18132
18133 ac_header_compiler=no
18134 fi
18135 rm -f conftest.$ac_objext conftest.$ac_ext
18136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18137 echo "${ECHO_T}$ac_header_compiler" >&6
18138
18139 # Is the header present?
18140 echo "$as_me:$LINENO: checking regex.h presence" >&5
18141 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18142 cat >conftest.$ac_ext <<_ACEOF
18143 #line $LINENO "configure"
18144 /* confdefs.h. */
18145 _ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 #include <regex.h>
18150 _ACEOF
18151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } >/dev/null; then
18159 if test -s conftest.err; then
18160 ac_cpp_err=$ac_c_preproc_warn_flag
18161 else
18162 ac_cpp_err=
18163 fi
18164 else
18165 ac_cpp_err=yes
18166 fi
18167 if test -z "$ac_cpp_err"; then
18168 ac_header_preproc=yes
18169 else
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.$ac_ext >&5
18172
18173 ac_header_preproc=no
18174 fi
18175 rm -f conftest.err conftest.$ac_ext
18176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18177 echo "${ECHO_T}$ac_header_preproc" >&6
18178
18179 # So? What about this header?
18180 case $ac_header_compiler:$ac_header_preproc in
18181 yes:no )
18182 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18183 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18184 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18185 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18186 (
18187 cat <<\_ASBOX
18188 ## ------------------------------------ ##
18189 ## Report this to bug-autoconf@gnu.org. ##
18190 ## ------------------------------------ ##
18191 _ASBOX
18192 ) |
18193 sed "s/^/$as_me: WARNING: /" >&2
18194 ;;
18195 no:yes )
18196 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18197 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18198 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18199 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18200 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18201 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18202 (
18203 cat <<\_ASBOX
18204 ## ------------------------------------ ##
18205 ## Report this to bug-autoconf@gnu.org. ##
18206 ## ------------------------------------ ##
18207 _ASBOX
18208 ) |
18209 sed "s/^/$as_me: WARNING: /" >&2
18210 ;;
18211 esac
18212 echo "$as_me:$LINENO: checking for regex.h" >&5
18213 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18214 if test "${ac_cv_header_regex_h+set}" = set; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 else
18217 ac_cv_header_regex_h=$ac_header_preproc
18218 fi
18219 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18220 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18221
18222 fi
18223 if test $ac_cv_header_regex_h = yes; then
18224
18225 for ac_func in regcomp
18226 do
18227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18228 echo "$as_me:$LINENO: checking for $ac_func" >&5
18229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18230 if eval "test \"\${$as_ac_var+set}\" = set"; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 else
18233 cat >conftest.$ac_ext <<_ACEOF
18234 #line $LINENO "configure"
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 /* System header to define __stub macros and hopefully few prototypes,
18241 which can conflict with char $ac_func (); below.
18242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18243 <limits.h> exists even on freestanding compilers. */
18244 #ifdef __STDC__
18245 # include <limits.h>
18246 #else
18247 # include <assert.h>
18248 #endif
18249 /* Override any gcc2 internal prototype to avoid an error. */
18250 #ifdef __cplusplus
18251 extern "C"
18252 {
18253 #endif
18254 /* We use char because int might match the return type of a gcc2
18255 builtin and then its argument prototype would still apply. */
18256 char $ac_func ();
18257 /* The GNU C library defines this for functions which it implements
18258 to always fail with ENOSYS. Some functions are actually named
18259 something starting with __ and the normal name is an alias. */
18260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18261 choke me
18262 #else
18263 char (*f) () = $ac_func;
18264 #endif
18265 #ifdef __cplusplus
18266 }
18267 #endif
18268
18269 int
18270 main ()
18271 {
18272 return f != $ac_func;
18273 ;
18274 return 0;
18275 }
18276 _ACEOF
18277 rm -f conftest.$ac_objext conftest$ac_exeext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18279 (eval $ac_link) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } &&
18283 { ac_try='test -s conftest$ac_exeext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 eval "$as_ac_var=yes"
18290 else
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18293
18294 eval "$as_ac_var=no"
18295 fi
18296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18297 fi
18298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18300 if test `eval echo '${'$as_ac_var'}'` = yes; then
18301 cat >>confdefs.h <<_ACEOF
18302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18303 _ACEOF
18304
18305 fi
18306 done
18307
18308 fi
18309
18310
18311
18312 if test "x$ac_cv_func_regcomp" != "xyes"; then
18313 if test "$wxUSE_REGEX" = "sys" ; then
18314 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18315 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18316 { (exit 1); exit 1; }; }
18317 else
18318 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18319 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18320 wxUSE_REGEX=builtin
18321 fi
18322 else
18323 wxUSE_REGEX=sys
18324 fi
18325 fi
18326
18327 if test "$wxUSE_REGEX" = "builtin" ; then
18328 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18329 fi
18330 fi
18331
18332
18333 ZLIB_INCLUDE=
18334 ZLIB_LINK=
18335 if test "$wxUSE_ZLIB" != "no" ; then
18336 cat >>confdefs.h <<\_ACEOF
18337 #define wxUSE_ZLIB 1
18338 _ACEOF
18339
18340
18341 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18342 if test "$USE_DARWIN" = 1; then
18343 system_zlib_h_ok="yes"
18344 else
18345 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18346 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18347 if test "${ac_cv_header_zlib_h+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 else
18350 if test "$cross_compiling" = yes; then
18351 unset ac_cv_header_zlib_h
18352
18353 else
18354 cat >conftest.$ac_ext <<_ACEOF
18355 #line $LINENO "configure"
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361
18362 #include <zlib.h>
18363 #include <stdio.h>
18364
18365 int main()
18366 {
18367 FILE *f=fopen("conftestval", "w");
18368 if (!f) exit(1);
18369 fprintf(f, "%s",
18370 ZLIB_VERSION[0] == '1' &&
18371 (ZLIB_VERSION[2] > '1' ||
18372 (ZLIB_VERSION[2] == '1' &&
18373 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18374 exit(0);
18375 }
18376
18377 _ACEOF
18378 rm -f conftest$ac_exeext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18380 (eval $ac_link) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; }; then
18389 ac_cv_header_zlib_h=`cat conftestval`
18390 else
18391 echo "$as_me: program exited with status $ac_status" >&5
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ( exit $ac_status )
18396 ac_cv_header_zlib_h=no
18397 fi
18398 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18399 fi
18400
18401 fi
18402 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18403 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18404 if test "${ac_cv_header_zlib_h+set}" = set; then
18405 echo "$as_me:$LINENO: checking for zlib.h" >&5
18406 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18407 if test "${ac_cv_header_zlib_h+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 fi
18410 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18411 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18412 else
18413 # Is the header compilable?
18414 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18415 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18416 cat >conftest.$ac_ext <<_ACEOF
18417 #line $LINENO "configure"
18418 /* confdefs.h. */
18419 _ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 $ac_includes_default
18424 #include <zlib.h>
18425 _ACEOF
18426 rm -f conftest.$ac_objext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18428 (eval $ac_compile) 2>&5
18429 ac_status=$?
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } &&
18432 { ac_try='test -s conftest.$ac_objext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18435 ac_status=$?
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_header_compiler=yes
18439 else
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.$ac_ext >&5
18442
18443 ac_header_compiler=no
18444 fi
18445 rm -f conftest.$ac_objext conftest.$ac_ext
18446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18447 echo "${ECHO_T}$ac_header_compiler" >&6
18448
18449 # Is the header present?
18450 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18451 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18452 cat >conftest.$ac_ext <<_ACEOF
18453 #line $LINENO "configure"
18454 /* confdefs.h. */
18455 _ACEOF
18456 cat confdefs.h >>conftest.$ac_ext
18457 cat >>conftest.$ac_ext <<_ACEOF
18458 /* end confdefs.h. */
18459 #include <zlib.h>
18460 _ACEOF
18461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18463 ac_status=$?
18464 grep -v '^ *+' conftest.er1 >conftest.err
18465 rm -f conftest.er1
18466 cat conftest.err >&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } >/dev/null; then
18469 if test -s conftest.err; then
18470 ac_cpp_err=$ac_c_preproc_warn_flag
18471 else
18472 ac_cpp_err=
18473 fi
18474 else
18475 ac_cpp_err=yes
18476 fi
18477 if test -z "$ac_cpp_err"; then
18478 ac_header_preproc=yes
18479 else
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18482
18483 ac_header_preproc=no
18484 fi
18485 rm -f conftest.err conftest.$ac_ext
18486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18487 echo "${ECHO_T}$ac_header_preproc" >&6
18488
18489 # So? What about this header?
18490 case $ac_header_compiler:$ac_header_preproc in
18491 yes:no )
18492 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18493 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18494 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18495 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18496 (
18497 cat <<\_ASBOX
18498 ## ------------------------------------ ##
18499 ## Report this to bug-autoconf@gnu.org. ##
18500 ## ------------------------------------ ##
18501 _ASBOX
18502 ) |
18503 sed "s/^/$as_me: WARNING: /" >&2
18504 ;;
18505 no:yes )
18506 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18507 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18508 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18509 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18510 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18511 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18512 (
18513 cat <<\_ASBOX
18514 ## ------------------------------------ ##
18515 ## Report this to bug-autoconf@gnu.org. ##
18516 ## ------------------------------------ ##
18517 _ASBOX
18518 ) |
18519 sed "s/^/$as_me: WARNING: /" >&2
18520 ;;
18521 esac
18522 echo "$as_me:$LINENO: checking for zlib.h" >&5
18523 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18524 if test "${ac_cv_header_zlib_h+set}" = set; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18526 else
18527 ac_cv_header_zlib_h=$ac_header_preproc
18528 fi
18529 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18531
18532 fi
18533
18534
18535
18536 system_zlib_h_ok=$ac_cv_header_zlib_h
18537 fi
18538
18539 if test "$system_zlib_h_ok" = "yes"; then
18540 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18541 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18542 if test "${ac_cv_lib_z_deflate+set}" = set; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18544 else
18545 ac_check_lib_save_LIBS=$LIBS
18546 LIBS="-lz $LIBS"
18547 cat >conftest.$ac_ext <<_ACEOF
18548 #line $LINENO "configure"
18549 /* confdefs.h. */
18550 _ACEOF
18551 cat confdefs.h >>conftest.$ac_ext
18552 cat >>conftest.$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18554
18555 /* Override any gcc2 internal prototype to avoid an error. */
18556 #ifdef __cplusplus
18557 extern "C"
18558 #endif
18559 /* We use char because int might match the return type of a gcc2
18560 builtin and then its argument prototype would still apply. */
18561 char deflate ();
18562 int
18563 main ()
18564 {
18565 deflate ();
18566 ;
18567 return 0;
18568 }
18569 _ACEOF
18570 rm -f conftest.$ac_objext conftest$ac_exeext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18572 (eval $ac_link) 2>&5
18573 ac_status=$?
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try='test -s conftest$ac_exeext'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18579 ac_status=$?
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; }; then
18582 ac_cv_lib_z_deflate=yes
18583 else
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.$ac_ext >&5
18586
18587 ac_cv_lib_z_deflate=no
18588 fi
18589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18590 LIBS=$ac_check_lib_save_LIBS
18591 fi
18592 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18593 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18594 if test $ac_cv_lib_z_deflate = yes; then
18595 ZLIB_LINK=" -lz"
18596 fi
18597
18598 fi
18599
18600 if test "x$ZLIB_LINK" = "x" ; then
18601 if test "$wxUSE_ZLIB" = "sys" ; then
18602 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18603 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18604 { (exit 1); exit 1; }; }
18605 else
18606 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18607 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18608 wxUSE_ZLIB=builtin
18609 fi
18610 else
18611 wxUSE_ZLIB=sys
18612 fi
18613 fi
18614
18615 if test "$wxUSE_ZLIB" = "builtin" ; then
18616 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18617 fi
18618 fi
18619
18620
18621 PNG_INCLUDE=
18622 PNG_LINK=
18623 if test "$wxUSE_LIBPNG" != "no" ; then
18624 cat >>confdefs.h <<\_ACEOF
18625 #define wxUSE_LIBPNG 1
18626 _ACEOF
18627
18628
18629 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18630 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18631 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18632 wxUSE_LIBPNG=sys
18633 fi
18634
18635 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18636 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18637 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18638 wxUSE_LIBPNG=builtin
18639 fi
18640
18641 if test "$wxUSE_MGL" != 1 ; then
18642 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18643 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18644 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18645 if test "${ac_cv_header_png_h+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18647 else
18648 if test "$cross_compiling" = yes; then
18649 unset ac_cv_header_png_h
18650
18651 else
18652 cat >conftest.$ac_ext <<_ACEOF
18653 #line $LINENO "configure"
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659
18660 #include <png.h>
18661 #include <stdio.h>
18662
18663 int main()
18664 {
18665 FILE *f=fopen("conftestval", "w");
18666 if (!f) exit(1);
18667 fprintf(f, "%s",
18668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18669 exit(0);
18670 }
18671
18672 _ACEOF
18673 rm -f conftest$ac_exeext
18674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18675 (eval $ac_link) 2>&5
18676 ac_status=$?
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18684 ac_cv_header_png_h=`cat conftestval`
18685 else
18686 echo "$as_me: program exited with status $ac_status" >&5
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.$ac_ext >&5
18689
18690 ( exit $ac_status )
18691 ac_cv_header_png_h=no
18692 fi
18693 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18694 fi
18695
18696 fi
18697 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18698 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18699 if test "${ac_cv_header_png_h+set}" = set; then
18700 echo "$as_me:$LINENO: checking for png.h" >&5
18701 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18702 if test "${ac_cv_header_png_h+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 fi
18705 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18706 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18707 else
18708 # Is the header compilable?
18709 echo "$as_me:$LINENO: checking png.h usability" >&5
18710 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18711 cat >conftest.$ac_ext <<_ACEOF
18712 #line $LINENO "configure"
18713 /* confdefs.h. */
18714 _ACEOF
18715 cat confdefs.h >>conftest.$ac_ext
18716 cat >>conftest.$ac_ext <<_ACEOF
18717 /* end confdefs.h. */
18718 $ac_includes_default
18719 #include <png.h>
18720 _ACEOF
18721 rm -f conftest.$ac_objext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try='test -s conftest.$ac_objext'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; }; then
18733 ac_header_compiler=yes
18734 else
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18737
18738 ac_header_compiler=no
18739 fi
18740 rm -f conftest.$ac_objext conftest.$ac_ext
18741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18742 echo "${ECHO_T}$ac_header_compiler" >&6
18743
18744 # Is the header present?
18745 echo "$as_me:$LINENO: checking png.h presence" >&5
18746 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18747 cat >conftest.$ac_ext <<_ACEOF
18748 #line $LINENO "configure"
18749 /* confdefs.h. */
18750 _ACEOF
18751 cat confdefs.h >>conftest.$ac_ext
18752 cat >>conftest.$ac_ext <<_ACEOF
18753 /* end confdefs.h. */
18754 #include <png.h>
18755 _ACEOF
18756 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } >/dev/null; then
18764 if test -s conftest.err; then
18765 ac_cpp_err=$ac_c_preproc_warn_flag
18766 else
18767 ac_cpp_err=
18768 fi
18769 else
18770 ac_cpp_err=yes
18771 fi
18772 if test -z "$ac_cpp_err"; then
18773 ac_header_preproc=yes
18774 else
18775 echo "$as_me: failed program was:" >&5
18776 sed 's/^/| /' conftest.$ac_ext >&5
18777
18778 ac_header_preproc=no
18779 fi
18780 rm -f conftest.err conftest.$ac_ext
18781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18782 echo "${ECHO_T}$ac_header_preproc" >&6
18783
18784 # So? What about this header?
18785 case $ac_header_compiler:$ac_header_preproc in
18786 yes:no )
18787 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18788 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18789 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18790 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18791 (
18792 cat <<\_ASBOX
18793 ## ------------------------------------ ##
18794 ## Report this to bug-autoconf@gnu.org. ##
18795 ## ------------------------------------ ##
18796 _ASBOX
18797 ) |
18798 sed "s/^/$as_me: WARNING: /" >&2
18799 ;;
18800 no:yes )
18801 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18802 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18804 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18806 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18807 (
18808 cat <<\_ASBOX
18809 ## ------------------------------------ ##
18810 ## Report this to bug-autoconf@gnu.org. ##
18811 ## ------------------------------------ ##
18812 _ASBOX
18813 ) |
18814 sed "s/^/$as_me: WARNING: /" >&2
18815 ;;
18816 esac
18817 echo "$as_me:$LINENO: checking for png.h" >&5
18818 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18819 if test "${ac_cv_header_png_h+set}" = set; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 else
18822 ac_cv_header_png_h=$ac_header_preproc
18823 fi
18824 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18825 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18826
18827 fi
18828
18829
18830
18831 if test "$ac_cv_header_png_h" = "yes"; then
18832 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18833 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18834 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18835 echo $ECHO_N "(cached) $ECHO_C" >&6
18836 else
18837 ac_check_lib_save_LIBS=$LIBS
18838 LIBS="-lpng -lz -lm $LIBS"
18839 cat >conftest.$ac_ext <<_ACEOF
18840 #line $LINENO "configure"
18841 /* confdefs.h. */
18842 _ACEOF
18843 cat confdefs.h >>conftest.$ac_ext
18844 cat >>conftest.$ac_ext <<_ACEOF
18845 /* end confdefs.h. */
18846
18847 /* Override any gcc2 internal prototype to avoid an error. */
18848 #ifdef __cplusplus
18849 extern "C"
18850 #endif
18851 /* We use char because int might match the return type of a gcc2
18852 builtin and then its argument prototype would still apply. */
18853 char png_check_sig ();
18854 int
18855 main ()
18856 {
18857 png_check_sig ();
18858 ;
18859 return 0;
18860 }
18861 _ACEOF
18862 rm -f conftest.$ac_objext conftest$ac_exeext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18864 (eval $ac_link) 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } &&
18868 { ac_try='test -s conftest$ac_exeext'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18871 ac_status=$?
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; }; then
18874 ac_cv_lib_png_png_check_sig=yes
18875 else
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.$ac_ext >&5
18878
18879 ac_cv_lib_png_png_check_sig=no
18880 fi
18881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18882 LIBS=$ac_check_lib_save_LIBS
18883 fi
18884 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18885 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18886 if test $ac_cv_lib_png_png_check_sig = yes; then
18887 PNG_LINK=" -lpng"
18888 fi
18889
18890 fi
18891
18892 if test "x$PNG_LINK" = "x" ; then
18893 if test "$wxUSE_LIBPNG" = "sys" ; then
18894 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18895 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18896 { (exit 1); exit 1; }; }
18897 else
18898 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18899 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18900 wxUSE_LIBPNG=builtin
18901 fi
18902 else
18903 wxUSE_LIBPNG=sys
18904 fi
18905 fi
18906 fi
18907
18908 if test "$wxUSE_LIBPNG" = "builtin" ; then
18909 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18910 fi
18911
18912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18913 fi
18914
18915
18916 JPEG_INCLUDE=
18917 JPEG_LINK=
18918 if test "$wxUSE_LIBJPEG" != "no" ; then
18919 cat >>confdefs.h <<\_ACEOF
18920 #define wxUSE_LIBJPEG 1
18921 _ACEOF
18922
18923
18924 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18925 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18926 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18927 wxUSE_LIBJPEG=sys
18928 fi
18929
18930 if test "$wxUSE_MGL" != 1 ; then
18931 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18932 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18933 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18934 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 else
18937 cat >conftest.$ac_ext <<_ACEOF
18938 #line $LINENO "configure"
18939 /* confdefs.h. */
18940 _ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944
18945 #undef HAVE_STDLIB_H
18946 #include <stdio.h>
18947 #include <jpeglib.h>
18948
18949 int
18950 main ()
18951 {
18952
18953
18954 ;
18955 return 0;
18956 }
18957 _ACEOF
18958 rm -f conftest.$ac_objext
18959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18960 (eval $ac_compile) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -s conftest.$ac_objext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18967 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18970 ac_cv_header_jpeglib_h=yes
18971 else
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18974
18975 ac_cv_header_jpeglib_h=no
18976
18977 fi
18978 rm -f conftest.$ac_objext conftest.$ac_ext
18979
18980 fi
18981
18982 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18983 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18984
18985 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18986 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18987 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18988 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 else
18991 ac_check_lib_save_LIBS=$LIBS
18992 LIBS="-ljpeg $LIBS"
18993 cat >conftest.$ac_ext <<_ACEOF
18994 #line $LINENO "configure"
18995 /* confdefs.h. */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000
19001 /* Override any gcc2 internal prototype to avoid an error. */
19002 #ifdef __cplusplus
19003 extern "C"
19004 #endif
19005 /* We use char because int might match the return type of a gcc2
19006 builtin and then its argument prototype would still apply. */
19007 char jpeg_read_header ();
19008 int
19009 main ()
19010 {
19011 jpeg_read_header ();
19012 ;
19013 return 0;
19014 }
19015 _ACEOF
19016 rm -f conftest.$ac_objext conftest$ac_exeext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19018 (eval $ac_link) 2>&5
19019 ac_status=$?
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } &&
19022 { ac_try='test -s conftest$ac_exeext'
19023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024 (eval $ac_try) 2>&5
19025 ac_status=$?
19026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027 (exit $ac_status); }; }; then
19028 ac_cv_lib_jpeg_jpeg_read_header=yes
19029 else
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.$ac_ext >&5
19032
19033 ac_cv_lib_jpeg_jpeg_read_header=no
19034 fi
19035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19036 LIBS=$ac_check_lib_save_LIBS
19037 fi
19038 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19039 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19040 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19041 JPEG_LINK=" -ljpeg"
19042 fi
19043
19044 fi
19045
19046 if test "x$JPEG_LINK" = "x" ; then
19047 if test "$wxUSE_LIBJPEG" = "sys" ; then
19048 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19049 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19050 { (exit 1); exit 1; }; }
19051 else
19052 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19053 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19054 wxUSE_LIBJPEG=builtin
19055 fi
19056 else
19057 wxUSE_LIBJPEG=sys
19058 fi
19059 fi
19060 fi
19061
19062 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19063 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19064 fi
19065 fi
19066
19067
19068 TIFF_INCLUDE=
19069 TIFF_LINK=
19070 TIFF_PREREQ_LINKS=-lm
19071 if test "$wxUSE_LIBTIFF" != "no" ; then
19072 cat >>confdefs.h <<\_ACEOF
19073 #define wxUSE_LIBTIFF 1
19074 _ACEOF
19075
19076
19077 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19078 if test "$wxUSE_LIBJPEG" = "sys"; then
19079 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19080 fi
19081 if test "$wxUSE_ZLIB" = "sys"; then
19082 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19083 fi
19084 if test "${ac_cv_header_tiffio_h+set}" = set; then
19085 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19086 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19087 if test "${ac_cv_header_tiffio_h+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 fi
19090 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19091 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19092 else
19093 # Is the header compilable?
19094 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19095 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19096 cat >conftest.$ac_ext <<_ACEOF
19097 #line $LINENO "configure"
19098 /* confdefs.h. */
19099 _ACEOF
19100 cat confdefs.h >>conftest.$ac_ext
19101 cat >>conftest.$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19103 $ac_includes_default
19104 #include <tiffio.h>
19105 _ACEOF
19106 rm -f conftest.$ac_objext
19107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19108 (eval $ac_compile) 2>&5
19109 ac_status=$?
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } &&
19112 { ac_try='test -s conftest.$ac_objext'
19113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19114 (eval $ac_try) 2>&5
19115 ac_status=$?
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); }; }; then
19118 ac_header_compiler=yes
19119 else
19120 echo "$as_me: failed program was:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19122
19123 ac_header_compiler=no
19124 fi
19125 rm -f conftest.$ac_objext conftest.$ac_ext
19126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19127 echo "${ECHO_T}$ac_header_compiler" >&6
19128
19129 # Is the header present?
19130 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19131 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19132 cat >conftest.$ac_ext <<_ACEOF
19133 #line $LINENO "configure"
19134 /* confdefs.h. */
19135 _ACEOF
19136 cat confdefs.h >>conftest.$ac_ext
19137 cat >>conftest.$ac_ext <<_ACEOF
19138 /* end confdefs.h. */
19139 #include <tiffio.h>
19140 _ACEOF
19141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } >/dev/null; then
19149 if test -s conftest.err; then
19150 ac_cpp_err=$ac_c_preproc_warn_flag
19151 else
19152 ac_cpp_err=
19153 fi
19154 else
19155 ac_cpp_err=yes
19156 fi
19157 if test -z "$ac_cpp_err"; then
19158 ac_header_preproc=yes
19159 else
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19162
19163 ac_header_preproc=no
19164 fi
19165 rm -f conftest.err conftest.$ac_ext
19166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19167 echo "${ECHO_T}$ac_header_preproc" >&6
19168
19169 # So? What about this header?
19170 case $ac_header_compiler:$ac_header_preproc in
19171 yes:no )
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19173 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19174 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19175 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19176 (
19177 cat <<\_ASBOX
19178 ## ------------------------------------ ##
19179 ## Report this to bug-autoconf@gnu.org. ##
19180 ## ------------------------------------ ##
19181 _ASBOX
19182 ) |
19183 sed "s/^/$as_me: WARNING: /" >&2
19184 ;;
19185 no:yes )
19186 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19187 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19189 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19190 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19191 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19192 (
19193 cat <<\_ASBOX
19194 ## ------------------------------------ ##
19195 ## Report this to bug-autoconf@gnu.org. ##
19196 ## ------------------------------------ ##
19197 _ASBOX
19198 ) |
19199 sed "s/^/$as_me: WARNING: /" >&2
19200 ;;
19201 esac
19202 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19203 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19204 if test "${ac_cv_header_tiffio_h+set}" = set; then
19205 echo $ECHO_N "(cached) $ECHO_C" >&6
19206 else
19207 ac_cv_header_tiffio_h=$ac_header_preproc
19208 fi
19209 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19210 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19211
19212 fi
19213 if test $ac_cv_header_tiffio_h = yes; then
19214
19215 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19216 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19217 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220 ac_check_lib_save_LIBS=$LIBS
19221 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19222 cat >conftest.$ac_ext <<_ACEOF
19223 #line $LINENO "configure"
19224 /* confdefs.h. */
19225 _ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229
19230 /* Override any gcc2 internal prototype to avoid an error. */
19231 #ifdef __cplusplus
19232 extern "C"
19233 #endif
19234 /* We use char because int might match the return type of a gcc2
19235 builtin and then its argument prototype would still apply. */
19236 char TIFFError ();
19237 int
19238 main ()
19239 {
19240 TIFFError ();
19241 ;
19242 return 0;
19243 }
19244 _ACEOF
19245 rm -f conftest.$ac_objext conftest$ac_exeext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19247 (eval $ac_link) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } &&
19251 { ac_try='test -s conftest$ac_exeext'
19252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253 (eval $ac_try) 2>&5
19254 ac_status=$?
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); }; }; then
19257 ac_cv_lib_tiff_TIFFError=yes
19258 else
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19261
19262 ac_cv_lib_tiff_TIFFError=no
19263 fi
19264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19265 LIBS=$ac_check_lib_save_LIBS
19266 fi
19267 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19268 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19269 if test $ac_cv_lib_tiff_TIFFError = yes; then
19270 TIFF_LINK=" -ltiff"
19271 fi
19272
19273
19274
19275 fi
19276
19277
19278
19279 if test "x$TIFF_LINK" = "x" ; then
19280 if test "$wxUSE_LIBTIFF" = "sys" ; then
19281 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19282 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19283 { (exit 1); exit 1; }; }
19284 else
19285 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19286 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19287 wxUSE_LIBTIFF=builtin
19288 fi
19289 else
19290 wxUSE_LIBTIFF=sys
19291 fi
19292 fi
19293
19294 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19295 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19296 fi
19297 fi
19298
19299
19300 if test "$wxUSE_EXPAT" != "no"; then
19301 wxUSE_XML=yes
19302 cat >>confdefs.h <<\_ACEOF
19303 #define wxUSE_EXPAT 1
19304 _ACEOF
19305
19306 cat >>confdefs.h <<\_ACEOF
19307 #define wxUSE_XML 1
19308 _ACEOF
19309
19310
19311 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19312 if test "${ac_cv_header_expat_h+set}" = set; then
19313 echo "$as_me:$LINENO: checking for expat.h" >&5
19314 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19315 if test "${ac_cv_header_expat_h+set}" = set; then
19316 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 fi
19318 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19319 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19320 else
19321 # Is the header compilable?
19322 echo "$as_me:$LINENO: checking expat.h usability" >&5
19323 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19324 cat >conftest.$ac_ext <<_ACEOF
19325 #line $LINENO "configure"
19326 /* confdefs.h. */
19327 _ACEOF
19328 cat confdefs.h >>conftest.$ac_ext
19329 cat >>conftest.$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 $ac_includes_default
19332 #include <expat.h>
19333 _ACEOF
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>&5
19337 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -s conftest.$ac_objext'
19341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19342 (eval $ac_try) 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_header_compiler=yes
19347 else
19348 echo "$as_me: failed program was:" >&5
19349 sed 's/^/| /' conftest.$ac_ext >&5
19350
19351 ac_header_compiler=no
19352 fi
19353 rm -f conftest.$ac_objext conftest.$ac_ext
19354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19355 echo "${ECHO_T}$ac_header_compiler" >&6
19356
19357 # Is the header present?
19358 echo "$as_me:$LINENO: checking expat.h presence" >&5
19359 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19360 cat >conftest.$ac_ext <<_ACEOF
19361 #line $LINENO "configure"
19362 /* confdefs.h. */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367 #include <expat.h>
19368 _ACEOF
19369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19371 ac_status=$?
19372 grep -v '^ *+' conftest.er1 >conftest.err
19373 rm -f conftest.er1
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } >/dev/null; then
19377 if test -s conftest.err; then
19378 ac_cpp_err=$ac_c_preproc_warn_flag
19379 else
19380 ac_cpp_err=
19381 fi
19382 else
19383 ac_cpp_err=yes
19384 fi
19385 if test -z "$ac_cpp_err"; then
19386 ac_header_preproc=yes
19387 else
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19390
19391 ac_header_preproc=no
19392 fi
19393 rm -f conftest.err conftest.$ac_ext
19394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19395 echo "${ECHO_T}$ac_header_preproc" >&6
19396
19397 # So? What about this header?
19398 case $ac_header_compiler:$ac_header_preproc in
19399 yes:no )
19400 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19401 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19402 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19403 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19404 (
19405 cat <<\_ASBOX
19406 ## ------------------------------------ ##
19407 ## Report this to bug-autoconf@gnu.org. ##
19408 ## ------------------------------------ ##
19409 _ASBOX
19410 ) |
19411 sed "s/^/$as_me: WARNING: /" >&2
19412 ;;
19413 no:yes )
19414 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19415 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19416 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19417 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19418 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19419 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19420 (
19421 cat <<\_ASBOX
19422 ## ------------------------------------ ##
19423 ## Report this to bug-autoconf@gnu.org. ##
19424 ## ------------------------------------ ##
19425 _ASBOX
19426 ) |
19427 sed "s/^/$as_me: WARNING: /" >&2
19428 ;;
19429 esac
19430 echo "$as_me:$LINENO: checking for expat.h" >&5
19431 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19432 if test "${ac_cv_header_expat_h+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 else
19435 ac_cv_header_expat_h=$ac_header_preproc
19436 fi
19437 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19438 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19439
19440 fi
19441 if test $ac_cv_header_expat_h = yes; then
19442 found_expat_h=1
19443 fi
19444
19445
19446 if test "x$found_expat_h" = "x1"; then
19447 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19448 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19449 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19450 echo $ECHO_N "(cached) $ECHO_C" >&6
19451 else
19452
19453
19454
19455 ac_ext=cc
19456 ac_cpp='$CXXCPP $CPPFLAGS'
19457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19460
19461 cat >conftest.$ac_ext <<_ACEOF
19462 #line $LINENO "configure"
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #include <expat.h>
19469 int
19470 main ()
19471 {
19472
19473 ;
19474 return 0;
19475 }
19476 _ACEOF
19477 rm -f conftest.$ac_objext
19478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19479 (eval $ac_compile) 2>&5
19480 ac_status=$?
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } &&
19483 { ac_try='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 wx_cv_expat_is_not_broken=yes
19490 else
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 wx_cv_expat_is_not_broken=no
19495
19496 fi
19497 rm -f conftest.$ac_objext conftest.$ac_ext
19498 ac_ext=c
19499 ac_cpp='$CPP $CPPFLAGS'
19500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19503
19504
19505
19506 fi
19507 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19508 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19509 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19510 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19511 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19512 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19515 ac_check_lib_save_LIBS=$LIBS
19516 LIBS="-lexpat $LIBS"
19517 cat >conftest.$ac_ext <<_ACEOF
19518 #line $LINENO "configure"
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524
19525 /* Override any gcc2 internal prototype to avoid an error. */
19526 #ifdef __cplusplus
19527 extern "C"
19528 #endif
19529 /* We use char because int might match the return type of a gcc2
19530 builtin and then its argument prototype would still apply. */
19531 char XML_ParserCreate ();
19532 int
19533 main ()
19534 {
19535 XML_ParserCreate ();
19536 ;
19537 return 0;
19538 }
19539 _ACEOF
19540 rm -f conftest.$ac_objext conftest$ac_exeext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19542 (eval $ac_link) 2>&5
19543 ac_status=$?
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try='test -s conftest$ac_exeext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19549 ac_status=$?
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_lib_expat_XML_ParserCreate=yes
19553 else
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19556
19557 ac_cv_lib_expat_XML_ParserCreate=no
19558 fi
19559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19560 LIBS=$ac_check_lib_save_LIBS
19561 fi
19562 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19563 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19564 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19565 EXPAT_LINK=" -lexpat"
19566 fi
19567
19568 fi
19569 fi
19570 if test "x$EXPAT_LINK" = "x" ; then
19571 if test "$wxUSE_EXPAT" = "sys" ; then
19572 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19573 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19574 { (exit 1); exit 1; }; }
19575 else
19576 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19577 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19578 wxUSE_EXPAT=builtin
19579 fi
19580 else
19581 wxUSE_EXPAT=sys
19582 fi
19583 fi
19584 if test "$wxUSE_EXPAT" = "builtin" ; then
19585
19586
19587 subdirs="$subdirs src/expat"
19588
19589 fi
19590 fi
19591
19592
19593
19594 if test "$wxUSE_LIBMSPACK" != "no"; then
19595
19596 if test "${ac_cv_header_mspack_h+set}" = set; then
19597 echo "$as_me:$LINENO: checking for mspack.h" >&5
19598 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19599 if test "${ac_cv_header_mspack_h+set}" = set; then
19600 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 fi
19602 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19603 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19604 else
19605 # Is the header compilable?
19606 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19607 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19608 cat >conftest.$ac_ext <<_ACEOF
19609 #line $LINENO "configure"
19610 /* confdefs.h. */
19611 _ACEOF
19612 cat confdefs.h >>conftest.$ac_ext
19613 cat >>conftest.$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 $ac_includes_default
19616 #include <mspack.h>
19617 _ACEOF
19618 rm -f conftest.$ac_objext
19619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19620 (eval $ac_compile) 2>&5
19621 ac_status=$?
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try='test -s conftest.$ac_objext'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19627 ac_status=$?
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; }; then
19630 ac_header_compiler=yes
19631 else
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19634
19635 ac_header_compiler=no
19636 fi
19637 rm -f conftest.$ac_objext conftest.$ac_ext
19638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19639 echo "${ECHO_T}$ac_header_compiler" >&6
19640
19641 # Is the header present?
19642 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19643 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19644 cat >conftest.$ac_ext <<_ACEOF
19645 #line $LINENO "configure"
19646 /* confdefs.h. */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <mspack.h>
19652 _ACEOF
19653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } >/dev/null; then
19661 if test -s conftest.err; then
19662 ac_cpp_err=$ac_c_preproc_warn_flag
19663 else
19664 ac_cpp_err=
19665 fi
19666 else
19667 ac_cpp_err=yes
19668 fi
19669 if test -z "$ac_cpp_err"; then
19670 ac_header_preproc=yes
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19674
19675 ac_header_preproc=no
19676 fi
19677 rm -f conftest.err conftest.$ac_ext
19678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19679 echo "${ECHO_T}$ac_header_preproc" >&6
19680
19681 # So? What about this header?
19682 case $ac_header_compiler:$ac_header_preproc in
19683 yes:no )
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19685 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19686 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19687 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19688 (
19689 cat <<\_ASBOX
19690 ## ------------------------------------ ##
19691 ## Report this to bug-autoconf@gnu.org. ##
19692 ## ------------------------------------ ##
19693 _ASBOX
19694 ) |
19695 sed "s/^/$as_me: WARNING: /" >&2
19696 ;;
19697 no:yes )
19698 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19699 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19701 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19702 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19703 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19704 (
19705 cat <<\_ASBOX
19706 ## ------------------------------------ ##
19707 ## Report this to bug-autoconf@gnu.org. ##
19708 ## ------------------------------------ ##
19709 _ASBOX
19710 ) |
19711 sed "s/^/$as_me: WARNING: /" >&2
19712 ;;
19713 esac
19714 echo "$as_me:$LINENO: checking for mspack.h" >&5
19715 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19716 if test "${ac_cv_header_mspack_h+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 else
19719 ac_cv_header_mspack_h=$ac_header_preproc
19720 fi
19721 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19722 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19723
19724 fi
19725 if test $ac_cv_header_mspack_h = yes; then
19726 found_mspack_h=1
19727 fi
19728
19729
19730 if test "x$found_mspack_h" = "x1"; then
19731 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19732 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19733 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19735 else
19736 ac_check_lib_save_LIBS=$LIBS
19737 LIBS="-lmspack $LIBS"
19738 cat >conftest.$ac_ext <<_ACEOF
19739 #line $LINENO "configure"
19740 /* confdefs.h. */
19741 _ACEOF
19742 cat confdefs.h >>conftest.$ac_ext
19743 cat >>conftest.$ac_ext <<_ACEOF
19744 /* end confdefs.h. */
19745
19746 /* Override any gcc2 internal prototype to avoid an error. */
19747 #ifdef __cplusplus
19748 extern "C"
19749 #endif
19750 /* We use char because int might match the return type of a gcc2
19751 builtin and then its argument prototype would still apply. */
19752 char mspack_create_chm_decompressor ();
19753 int
19754 main ()
19755 {
19756 mspack_create_chm_decompressor ();
19757 ;
19758 return 0;
19759 }
19760 _ACEOF
19761 rm -f conftest.$ac_objext conftest$ac_exeext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19763 (eval $ac_link) 2>&5
19764 ac_status=$?
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } &&
19767 { ac_try='test -s conftest$ac_exeext'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; }; then
19773 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19774 else
19775 echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.$ac_ext >&5
19777
19778 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19779 fi
19780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19781 LIBS=$ac_check_lib_save_LIBS
19782 fi
19783 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19784 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19785 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19786 MSPACK_LINK=" -lmspack"
19787 fi
19788
19789 fi
19790 if test "x$MSPACK_LINK" = "x" ; then
19791 wxUSE_LIBMSPACK=no
19792 else
19793 cat >>confdefs.h <<\_ACEOF
19794 #define wxUSE_LIBMSPACK 1
19795 _ACEOF
19796
19797 fi
19798 fi
19799
19800
19801
19802 AFMINSTALL=
19803 WIN32INSTALL=
19804
19805 TOOLKIT=
19806 TOOLKIT_INCLUDE=
19807 WIDGET_SET=
19808
19809 if test "$USE_WIN32" = 1 ; then
19810
19811 for ac_header in w32api.h
19812 do
19813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19815 echo "$as_me:$LINENO: checking for $ac_header" >&5
19816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 fi
19820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19822 else
19823 # Is the header compilable?
19824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19826 cat >conftest.$ac_ext <<_ACEOF
19827 #line $LINENO "configure"
19828 /* confdefs.h. */
19829 _ACEOF
19830 cat confdefs.h >>conftest.$ac_ext
19831 cat >>conftest.$ac_ext <<_ACEOF
19832 /* end confdefs.h. */
19833 $ac_includes_default
19834 #include <$ac_header>
19835 _ACEOF
19836 rm -f conftest.$ac_objext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19838 (eval $ac_compile) 2>&5
19839 ac_status=$?
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } &&
19842 { ac_try='test -s conftest.$ac_objext'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19845 ac_status=$?
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_header_compiler=yes
19849 else
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.$ac_ext >&5
19852
19853 ac_header_compiler=no
19854 fi
19855 rm -f conftest.$ac_objext conftest.$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19857 echo "${ECHO_T}$ac_header_compiler" >&6
19858
19859 # Is the header present?
19860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19862 cat >conftest.$ac_ext <<_ACEOF
19863 #line $LINENO "configure"
19864 /* confdefs.h. */
19865 _ACEOF
19866 cat confdefs.h >>conftest.$ac_ext
19867 cat >>conftest.$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 #include <$ac_header>
19870 _ACEOF
19871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } >/dev/null; then
19879 if test -s conftest.err; then
19880 ac_cpp_err=$ac_c_preproc_warn_flag
19881 else
19882 ac_cpp_err=
19883 fi
19884 else
19885 ac_cpp_err=yes
19886 fi
19887 if test -z "$ac_cpp_err"; then
19888 ac_header_preproc=yes
19889 else
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19892
19893 ac_header_preproc=no
19894 fi
19895 rm -f conftest.err conftest.$ac_ext
19896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19897 echo "${ECHO_T}$ac_header_preproc" >&6
19898
19899 # So? What about this header?
19900 case $ac_header_compiler:$ac_header_preproc in
19901 yes:no )
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19906 (
19907 cat <<\_ASBOX
19908 ## ------------------------------------ ##
19909 ## Report this to bug-autoconf@gnu.org. ##
19910 ## ------------------------------------ ##
19911 _ASBOX
19912 ) |
19913 sed "s/^/$as_me: WARNING: /" >&2
19914 ;;
19915 no:yes )
19916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19922 (
19923 cat <<\_ASBOX
19924 ## ------------------------------------ ##
19925 ## Report this to bug-autoconf@gnu.org. ##
19926 ## ------------------------------------ ##
19927 _ASBOX
19928 ) |
19929 sed "s/^/$as_me: WARNING: /" >&2
19930 ;;
19931 esac
19932 echo "$as_me:$LINENO: checking for $ac_header" >&5
19933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19936 else
19937 eval "$as_ac_Header=$ac_header_preproc"
19938 fi
19939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19941
19942 fi
19943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19944 cat >>confdefs.h <<_ACEOF
19945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19946 _ACEOF
19947
19948 fi
19949
19950 done
19951
19952 if test "${ac_cv_header_windows_h+set}" = set; then
19953 echo "$as_me:$LINENO: checking for windows.h" >&5
19954 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19955 if test "${ac_cv_header_windows_h+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19957 fi
19958 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19959 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19960 else
19961 # Is the header compilable?
19962 echo "$as_me:$LINENO: checking windows.h usability" >&5
19963 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19964 cat >conftest.$ac_ext <<_ACEOF
19965 #line $LINENO "configure"
19966 /* confdefs.h. */
19967 _ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 $ac_includes_default
19972 #include <windows.h>
19973 _ACEOF
19974 rm -f conftest.$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>&5
19977 ac_status=$?
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } &&
19980 { ac_try='test -s conftest.$ac_objext'
19981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19982 (eval $ac_try) 2>&5
19983 ac_status=$?
19984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985 (exit $ac_status); }; }; then
19986 ac_header_compiler=yes
19987 else
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19990
19991 ac_header_compiler=no
19992 fi
19993 rm -f conftest.$ac_objext conftest.$ac_ext
19994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19995 echo "${ECHO_T}$ac_header_compiler" >&6
19996
19997 # Is the header present?
19998 echo "$as_me:$LINENO: checking windows.h presence" >&5
19999 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20000 cat >conftest.$ac_ext <<_ACEOF
20001 #line $LINENO "configure"
20002 /* confdefs.h. */
20003 _ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 #include <windows.h>
20008 _ACEOF
20009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20011 ac_status=$?
20012 grep -v '^ *+' conftest.er1 >conftest.err
20013 rm -f conftest.er1
20014 cat conftest.err >&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); } >/dev/null; then
20017 if test -s conftest.err; then
20018 ac_cpp_err=$ac_c_preproc_warn_flag
20019 else
20020 ac_cpp_err=
20021 fi
20022 else
20023 ac_cpp_err=yes
20024 fi
20025 if test -z "$ac_cpp_err"; then
20026 ac_header_preproc=yes
20027 else
20028 echo "$as_me: failed program was:" >&5
20029 sed 's/^/| /' conftest.$ac_ext >&5
20030
20031 ac_header_preproc=no
20032 fi
20033 rm -f conftest.err conftest.$ac_ext
20034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20035 echo "${ECHO_T}$ac_header_preproc" >&6
20036
20037 # So? What about this header?
20038 case $ac_header_compiler:$ac_header_preproc in
20039 yes:no )
20040 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20041 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20042 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20043 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20044 (
20045 cat <<\_ASBOX
20046 ## ------------------------------------ ##
20047 ## Report this to bug-autoconf@gnu.org. ##
20048 ## ------------------------------------ ##
20049 _ASBOX
20050 ) |
20051 sed "s/^/$as_me: WARNING: /" >&2
20052 ;;
20053 no:yes )
20054 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20055 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20057 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20058 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20059 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20060 (
20061 cat <<\_ASBOX
20062 ## ------------------------------------ ##
20063 ## Report this to bug-autoconf@gnu.org. ##
20064 ## ------------------------------------ ##
20065 _ASBOX
20066 ) |
20067 sed "s/^/$as_me: WARNING: /" >&2
20068 ;;
20069 esac
20070 echo "$as_me:$LINENO: checking for windows.h" >&5
20071 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20072 if test "${ac_cv_header_windows_h+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 ac_cv_header_windows_h=$ac_header_preproc
20076 fi
20077 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20078 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20079
20080 fi
20081 if test $ac_cv_header_windows_h = yes; then
20082 :
20083 else
20084
20085 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20086 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20087 { (exit 1); exit 1; }; }
20088
20089 fi
20090
20091
20092
20093 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20094
20095 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20096 LIBS="$LIBS -loleacc"
20097 fi
20098
20099 case "${host}" in
20100 *-*-cygwin* )
20101 LIBS="$LIBS -lkernel32 -luser32"
20102 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20103 esac
20104
20105 if test "$wxUSE_ODBC" = "sys" ; then
20106 wxUSE_ODBC = "yes"
20107 fi
20108 if test "$wxUSE_ODBC" = "yes" ; then
20109 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20110 cat >>confdefs.h <<\_ACEOF
20111 #define wxUSE_ODBC 1
20112 _ACEOF
20113
20114 fi
20115
20116 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20117 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20118
20119 WIN32INSTALL=win32install
20120 fi
20121
20122 if test "$wxUSE_GUI" = "yes"; then
20123 USE_GUI=1
20124
20125 GUI_TK_LIBRARY=
20126
20127 WXGTK12=
20128 WXGTK127=
20129 WXGTK20=
20130
20131 if test "$wxUSE_MSW" = 1 ; then
20132 TOOLKIT=MSW
20133 GUIDIST=MSW_DIST
20134
20135 case "${host}" in
20136 *-*-mingw32* )
20137 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20138 esac
20139 fi
20140
20141 if test "$wxUSE_GTK" = 1; then
20142 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20143 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20144
20145 gtk_version_cached=1
20146 if test "${wx_cv_lib_gtk+set}" = set; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 else
20149
20150 gtk_version_cached=0
20151 echo "$as_me:$LINENO: result: " >&5
20152 echo "${ECHO_T}" >&6
20153
20154 GTK_MODULES=
20155 if test "$wxUSE_THREADS" = "yes"; then
20156 GTK_MODULES=gthread
20157 fi
20158
20159 wx_cv_lib_gtk=
20160 if test "x$wxUSE_GTK2" = "xyes"; then
20161 # Check whether --enable-gtktest or --disable-gtktest was given.
20162 if test "${enable_gtktest+set}" = set; then
20163 enableval="$enable_gtktest"
20164
20165 else
20166 enable_gtktest=yes
20167 fi;
20168
20169 pkg_config_args=gtk+-2.0
20170 for module in . $GTK_MODULES
20171 do
20172 case "$module" in
20173 gthread)
20174 pkg_config_args="$pkg_config_args gthread-2.0"
20175 ;;
20176 esac
20177 done
20178
20179 no_gtk=""
20180
20181 # Extract the first word of "pkg-config", so it can be a program name with args.
20182 set dummy pkg-config; ac_word=$2
20183 echo "$as_me:$LINENO: checking for $ac_word" >&5
20184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20185 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 else
20188 case $PKG_CONFIG in
20189 [\\/]* | ?:[\\/]*)
20190 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20191 ;;
20192 *)
20193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20194 for as_dir in $PATH
20195 do
20196 IFS=$as_save_IFS
20197 test -z "$as_dir" && as_dir=.
20198 for ac_exec_ext in '' $ac_executable_extensions; do
20199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20200 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20202 break 2
20203 fi
20204 done
20205 done
20206
20207 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20208 ;;
20209 esac
20210 fi
20211 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20212
20213 if test -n "$PKG_CONFIG"; then
20214 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20215 echo "${ECHO_T}$PKG_CONFIG" >&6
20216 else
20217 echo "$as_me:$LINENO: result: no" >&5
20218 echo "${ECHO_T}no" >&6
20219 fi
20220
20221
20222 if test x$PKG_CONFIG != xno ; then
20223 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20224 :
20225 else
20226 echo *** pkg-config too old; version 0.7 or better required.
20227 no_gtk=yes
20228 PKG_CONFIG=no
20229 fi
20230 else
20231 no_gtk=yes
20232 fi
20233
20234 min_gtk_version=2.0.0
20235 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20236 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20237
20238 if test x$PKG_CONFIG != xno ; then
20239 ## don't try to run the test against uninstalled libtool libs
20240 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20241 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20242 enable_gtktest=no
20243 fi
20244
20245 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20246 :
20247 else
20248 no_gtk=yes
20249 fi
20250 fi
20251
20252 if test x"$no_gtk" = x ; then
20253 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20254 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20255 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20257 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20259 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20261 if test "x$enable_gtktest" = "xyes" ; then
20262 ac_save_CFLAGS="$CFLAGS"
20263 ac_save_LIBS="$LIBS"
20264 CFLAGS="$CFLAGS $GTK_CFLAGS"
20265 LIBS="$GTK_LIBS $LIBS"
20266 rm -f conf.gtktest
20267 if test "$cross_compiling" = yes; then
20268 echo $ac_n "cross compiling; assumed OK... $ac_c"
20269 else
20270 cat >conftest.$ac_ext <<_ACEOF
20271 #line $LINENO "configure"
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277
20278 #include <gtk/gtk.h>
20279 #include <stdio.h>
20280 #include <stdlib.h>
20281
20282 int
20283 main ()
20284 {
20285 int major, minor, micro;
20286 char *tmp_version;
20287
20288 system ("touch conf.gtktest");
20289
20290 /* HP/UX 9 (%@#!) writes to sscanf strings */
20291 tmp_version = g_strdup("$min_gtk_version");
20292 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20293 printf("%s, bad version string\n", "$min_gtk_version");
20294 exit(1);
20295 }
20296
20297 if ((gtk_major_version != $gtk_config_major_version) ||
20298 (gtk_minor_version != $gtk_config_minor_version) ||
20299 (gtk_micro_version != $gtk_config_micro_version))
20300 {
20301 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20302 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20303 gtk_major_version, gtk_minor_version, gtk_micro_version);
20304 printf ("*** was found! If pkg-config was correct, then it is best\n");
20305 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20306 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20307 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20308 printf("*** required on your system.\n");
20309 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20310 printf("*** to point to the correct configuration files\n");
20311 }
20312 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20313 (gtk_minor_version != GTK_MINOR_VERSION) ||
20314 (gtk_micro_version != GTK_MICRO_VERSION))
20315 {
20316 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20317 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20318 printf("*** library (version %d.%d.%d)\n",
20319 gtk_major_version, gtk_minor_version, gtk_micro_version);
20320 }
20321 else
20322 {
20323 if ((gtk_major_version > major) ||
20324 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20325 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20326 {
20327 return 0;
20328 }
20329 else
20330 {
20331 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20332 gtk_major_version, gtk_minor_version, gtk_micro_version);
20333 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20334 major, minor, micro);
20335 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20336 printf("***\n");
20337 printf("*** If you have already installed a sufficiently new version, this error\n");
20338 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20339 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20340 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20341 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20342 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20343 printf("*** so that the correct libraries are found at run-time))\n");
20344 }
20345 }
20346 return 1;
20347 }
20348
20349 _ACEOF
20350 rm -f conftest$ac_exeext
20351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20352 (eval $ac_link) 2>&5
20353 ac_status=$?
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 :
20362 else
20363 echo "$as_me: program exited with status $ac_status" >&5
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20366
20367 ( exit $ac_status )
20368 no_gtk=yes
20369 fi
20370 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20371 fi
20372 CFLAGS="$ac_save_CFLAGS"
20373 LIBS="$ac_save_LIBS"
20374 fi
20375 fi
20376 if test "x$no_gtk" = x ; then
20377 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20378 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20379 wx_cv_lib_gtk=2.0
20380 else
20381 echo "$as_me:$LINENO: result: no" >&5
20382 echo "${ECHO_T}no" >&6
20383 if test "$PKG_CONFIG" = "no" ; then
20384 echo "*** A new enough version of pkg-config was not found."
20385 echo "*** See http://pkgconfig.sourceforge.net"
20386 else
20387 if test -f conf.gtktest ; then
20388 :
20389 else
20390 echo "*** Could not run GTK+ test program, checking why..."
20391 ac_save_CFLAGS="$CFLAGS"
20392 ac_save_LIBS="$LIBS"
20393 CFLAGS="$CFLAGS $GTK_CFLAGS"
20394 LIBS="$LIBS $GTK_LIBS"
20395 cat >conftest.$ac_ext <<_ACEOF
20396 #line $LINENO "configure"
20397 /* confdefs.h. */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402
20403 #include <gtk/gtk.h>
20404 #include <stdio.h>
20405
20406 int
20407 main ()
20408 {
20409 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20410 ;
20411 return 0;
20412 }
20413 _ACEOF
20414 rm -f conftest.$ac_objext conftest$ac_exeext
20415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20416 (eval $ac_link) 2>&5
20417 ac_status=$?
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try='test -s conftest$ac_exeext'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20423 ac_status=$?
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; }; then
20426 echo "*** The test program compiled, but did not run. This usually means"
20427 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20428 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20429 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20430 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20431 echo "*** is required on your system"
20432 echo "***"
20433 echo "*** If you have an old version installed, it is best to remove it, although"
20434 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20435 else
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20438
20439 echo "*** The test program failed to compile or link. See the file config.log for the"
20440 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20441 fi
20442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20443 CFLAGS="$ac_save_CFLAGS"
20444 LIBS="$ac_save_LIBS"
20445 fi
20446 fi
20447 GTK_CFLAGS=""
20448 GTK_LIBS=""
20449 :
20450 fi
20451
20452
20453 rm -f conf.gtktest
20454
20455 else
20456
20457 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20458 if test "${with_gtk_prefix+set}" = set; then
20459 withval="$with_gtk_prefix"
20460 gtk_config_prefix="$withval"
20461 else
20462 gtk_config_prefix=""
20463 fi;
20464
20465 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20466 if test "${with_gtk_exec_prefix+set}" = set; then
20467 withval="$with_gtk_exec_prefix"
20468 gtk_config_exec_prefix="$withval"
20469 else
20470 gtk_config_exec_prefix=""
20471 fi;
20472 # Check whether --enable-gtktest or --disable-gtktest was given.
20473 if test "${enable_gtktest+set}" = set; then
20474 enableval="$enable_gtktest"
20475
20476 else
20477 enable_gtktest=yes
20478 fi;
20479
20480 for module in . $GTK_MODULES
20481 do
20482 case "$module" in
20483 gthread)
20484 gtk_config_args="$gtk_config_args gthread"
20485 ;;
20486 esac
20487 done
20488
20489 if test x$gtk_config_exec_prefix != x ; then
20490 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20491 if test x${GTK_CONFIG+set} != xset ; then
20492 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20493 fi
20494 fi
20495 if test x$gtk_config_prefix != x ; then
20496 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20497 if test x${GTK_CONFIG+set} != xset ; then
20498 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20499 fi
20500 fi
20501
20502 # Extract the first word of "gtk-config", so it can be a program name with args.
20503 set dummy gtk-config; ac_word=$2
20504 echo "$as_me:$LINENO: checking for $ac_word" >&5
20505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20506 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20508 else
20509 case $GTK_CONFIG in
20510 [\\/]* | ?:[\\/]*)
20511 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20512 ;;
20513 *)
20514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20515 for as_dir in $PATH
20516 do
20517 IFS=$as_save_IFS
20518 test -z "$as_dir" && as_dir=.
20519 for ac_exec_ext in '' $ac_executable_extensions; do
20520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20521 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20523 break 2
20524 fi
20525 done
20526 done
20527
20528 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20529 ;;
20530 esac
20531 fi
20532 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20533
20534 if test -n "$GTK_CONFIG"; then
20535 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20536 echo "${ECHO_T}$GTK_CONFIG" >&6
20537 else
20538 echo "$as_me:$LINENO: result: no" >&5
20539 echo "${ECHO_T}no" >&6
20540 fi
20541
20542 min_gtk_version=1.2.7
20543 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20544 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20545 no_gtk=""
20546 if test "$GTK_CONFIG" = "no" ; then
20547 no_gtk=yes
20548 else
20549 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20550 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20551 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20553 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20555 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20557 if test "x$enable_gtktest" = "xyes" ; then
20558 ac_save_CFLAGS="$CFLAGS"
20559 ac_save_LIBS="$LIBS"
20560 CFLAGS="$CFLAGS $GTK_CFLAGS"
20561 LIBS="$GTK_LIBS $LIBS"
20562 rm -f conf.gtktest
20563 if test "$cross_compiling" = yes; then
20564 echo $ac_n "cross compiling; assumed OK... $ac_c"
20565 else
20566 cat >conftest.$ac_ext <<_ACEOF
20567 #line $LINENO "configure"
20568 /* confdefs.h. */
20569 _ACEOF
20570 cat confdefs.h >>conftest.$ac_ext
20571 cat >>conftest.$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20573
20574 #include <gtk/gtk.h>
20575 #include <stdio.h>
20576 #include <stdlib.h>
20577
20578 int
20579 main ()
20580 {
20581 int major, minor, micro;
20582 char *tmp_version;
20583
20584 system ("touch conf.gtktest");
20585
20586 /* HP/UX 9 (%@#!) writes to sscanf strings */
20587 tmp_version = g_strdup("$min_gtk_version");
20588 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20589 printf("%s, bad version string\n", "$min_gtk_version");
20590 exit(1);
20591 }
20592
20593 if ((gtk_major_version != $gtk_config_major_version) ||
20594 (gtk_minor_version != $gtk_config_minor_version) ||
20595 (gtk_micro_version != $gtk_config_micro_version))
20596 {
20597 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20598 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20599 gtk_major_version, gtk_minor_version, gtk_micro_version);
20600 printf ("*** was found! If gtk-config was correct, then it is best\n");
20601 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20602 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20603 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20604 printf("*** required on your system.\n");
20605 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20606 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20607 printf("*** before re-running configure\n");
20608 }
20609 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20610 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20611 (gtk_minor_version != GTK_MINOR_VERSION) ||
20612 (gtk_micro_version != GTK_MICRO_VERSION))
20613 {
20614 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20615 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20616 printf("*** library (version %d.%d.%d)\n",
20617 gtk_major_version, gtk_minor_version, gtk_micro_version);
20618 }
20619 #endif /* defined (GTK_MAJOR_VERSION) ... */
20620 else
20621 {
20622 if ((gtk_major_version > major) ||
20623 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20624 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20625 {
20626 return 0;
20627 }
20628 else
20629 {
20630 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20631 gtk_major_version, gtk_minor_version, gtk_micro_version);
20632 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20633 major, minor, micro);
20634 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20635 printf("***\n");
20636 printf("*** If you have already installed a sufficiently new version, this error\n");
20637 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20638 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20639 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20640 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20641 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20642 printf("*** so that the correct libraries are found at run-time))\n");
20643 }
20644 }
20645 return 1;
20646 }
20647
20648 _ACEOF
20649 rm -f conftest$ac_exeext
20650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20651 (eval $ac_link) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20657 ac_status=$?
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; }; then
20660 :
20661 else
20662 echo "$as_me: program exited with status $ac_status" >&5
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.$ac_ext >&5
20665
20666 ( exit $ac_status )
20667 no_gtk=yes
20668 fi
20669 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20670 fi
20671 CFLAGS="$ac_save_CFLAGS"
20672 LIBS="$ac_save_LIBS"
20673 fi
20674 fi
20675 if test "x$no_gtk" = x ; then
20676 echo "$as_me:$LINENO: result: yes" >&5
20677 echo "${ECHO_T}yes" >&6
20678 wx_cv_lib_gtk=1.2.7
20679 else
20680 echo "$as_me:$LINENO: result: no" >&5
20681 echo "${ECHO_T}no" >&6
20682 if test "$GTK_CONFIG" = "no" ; then
20683 echo "*** The gtk-config script installed by GTK could not be found"
20684 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20685 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20686 echo "*** full path to gtk-config."
20687 else
20688 if test -f conf.gtktest ; then
20689 :
20690 else
20691 echo "*** Could not run GTK test program, checking why..."
20692 CFLAGS="$CFLAGS $GTK_CFLAGS"
20693 LIBS="$LIBS $GTK_LIBS"
20694 cat >conftest.$ac_ext <<_ACEOF
20695 #line $LINENO "configure"
20696 /* confdefs.h. */
20697 _ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701
20702 #include <gtk/gtk.h>
20703 #include <stdio.h>
20704
20705 int
20706 main ()
20707 {
20708 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20709 ;
20710 return 0;
20711 }
20712 _ACEOF
20713 rm -f conftest.$ac_objext conftest$ac_exeext
20714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20715 (eval $ac_link) 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } &&
20719 { ac_try='test -s conftest$ac_exeext'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20722 ac_status=$?
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; }; then
20725 echo "*** The test program compiled, but did not run. This usually means"
20726 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20727 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20728 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20729 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20730 echo "*** is required on your system"
20731 echo "***"
20732 echo "*** If you have an old version installed, it is best to remove it, although"
20733 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20734 echo "***"
20735 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20736 echo "*** came with the system with the command"
20737 echo "***"
20738 echo "*** rpm --erase --nodeps gtk gtk-devel"
20739 else
20740 echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.$ac_ext >&5
20742
20743 echo "*** The test program failed to compile or link. See the file config.log for the"
20744 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20745 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20746 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20747 fi
20748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20749 CFLAGS="$ac_save_CFLAGS"
20750 LIBS="$ac_save_LIBS"
20751 fi
20752 fi
20753 GTK_CFLAGS=""
20754 GTK_LIBS=""
20755 :
20756 fi
20757
20758
20759 rm -f conf.gtktest
20760
20761
20762 if test -z "$wx_cv_lib_gtk"; then
20763
20764 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20765 if test "${with_gtk_prefix+set}" = set; then
20766 withval="$with_gtk_prefix"
20767 gtk_config_prefix="$withval"
20768 else
20769 gtk_config_prefix=""
20770 fi;
20771
20772 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20773 if test "${with_gtk_exec_prefix+set}" = set; then
20774 withval="$with_gtk_exec_prefix"
20775 gtk_config_exec_prefix="$withval"
20776 else
20777 gtk_config_exec_prefix=""
20778 fi;
20779 # Check whether --enable-gtktest or --disable-gtktest was given.
20780 if test "${enable_gtktest+set}" = set; then
20781 enableval="$enable_gtktest"
20782
20783 else
20784 enable_gtktest=yes
20785 fi;
20786
20787 for module in . $GTK_MODULES
20788 do
20789 case "$module" in
20790 gthread)
20791 gtk_config_args="$gtk_config_args gthread"
20792 ;;
20793 esac
20794 done
20795
20796 if test x$gtk_config_exec_prefix != x ; then
20797 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20798 if test x${GTK_CONFIG+set} != xset ; then
20799 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20800 fi
20801 fi
20802 if test x$gtk_config_prefix != x ; then
20803 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20804 if test x${GTK_CONFIG+set} != xset ; then
20805 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20806 fi
20807 fi
20808
20809 # Extract the first word of "gtk-config", so it can be a program name with args.
20810 set dummy gtk-config; ac_word=$2
20811 echo "$as_me:$LINENO: checking for $ac_word" >&5
20812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20813 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20815 else
20816 case $GTK_CONFIG in
20817 [\\/]* | ?:[\\/]*)
20818 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20819 ;;
20820 *)
20821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20822 for as_dir in $PATH
20823 do
20824 IFS=$as_save_IFS
20825 test -z "$as_dir" && as_dir=.
20826 for ac_exec_ext in '' $ac_executable_extensions; do
20827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20828 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20830 break 2
20831 fi
20832 done
20833 done
20834
20835 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20836 ;;
20837 esac
20838 fi
20839 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20840
20841 if test -n "$GTK_CONFIG"; then
20842 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20843 echo "${ECHO_T}$GTK_CONFIG" >&6
20844 else
20845 echo "$as_me:$LINENO: result: no" >&5
20846 echo "${ECHO_T}no" >&6
20847 fi
20848
20849 min_gtk_version=1.2.3
20850 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20851 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20852 no_gtk=""
20853 if test "$GTK_CONFIG" = "no" ; then
20854 no_gtk=yes
20855 else
20856 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20857 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20858 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20860 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20862 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20864 if test "x$enable_gtktest" = "xyes" ; then
20865 ac_save_CFLAGS="$CFLAGS"
20866 ac_save_LIBS="$LIBS"
20867 CFLAGS="$CFLAGS $GTK_CFLAGS"
20868 LIBS="$GTK_LIBS $LIBS"
20869 rm -f conf.gtktest
20870 if test "$cross_compiling" = yes; then
20871 echo $ac_n "cross compiling; assumed OK... $ac_c"
20872 else
20873 cat >conftest.$ac_ext <<_ACEOF
20874 #line $LINENO "configure"
20875 /* confdefs.h. */
20876 _ACEOF
20877 cat confdefs.h >>conftest.$ac_ext
20878 cat >>conftest.$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880
20881 #include <gtk/gtk.h>
20882 #include <stdio.h>
20883 #include <stdlib.h>
20884
20885 int
20886 main ()
20887 {
20888 int major, minor, micro;
20889 char *tmp_version;
20890
20891 system ("touch conf.gtktest");
20892
20893 /* HP/UX 9 (%@#!) writes to sscanf strings */
20894 tmp_version = g_strdup("$min_gtk_version");
20895 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20896 printf("%s, bad version string\n", "$min_gtk_version");
20897 exit(1);
20898 }
20899
20900 if ((gtk_major_version != $gtk_config_major_version) ||
20901 (gtk_minor_version != $gtk_config_minor_version) ||
20902 (gtk_micro_version != $gtk_config_micro_version))
20903 {
20904 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20905 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20906 gtk_major_version, gtk_minor_version, gtk_micro_version);
20907 printf ("*** was found! If gtk-config was correct, then it is best\n");
20908 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20909 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20910 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20911 printf("*** required on your system.\n");
20912 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20913 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20914 printf("*** before re-running configure\n");
20915 }
20916 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20917 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20918 (gtk_minor_version != GTK_MINOR_VERSION) ||
20919 (gtk_micro_version != GTK_MICRO_VERSION))
20920 {
20921 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20922 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20923 printf("*** library (version %d.%d.%d)\n",
20924 gtk_major_version, gtk_minor_version, gtk_micro_version);
20925 }
20926 #endif /* defined (GTK_MAJOR_VERSION) ... */
20927 else
20928 {
20929 if ((gtk_major_version > major) ||
20930 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20931 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20932 {
20933 return 0;
20934 }
20935 else
20936 {
20937 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20938 gtk_major_version, gtk_minor_version, gtk_micro_version);
20939 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20940 major, minor, micro);
20941 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20942 printf("***\n");
20943 printf("*** If you have already installed a sufficiently new version, this error\n");
20944 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20945 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20946 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20947 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20948 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20949 printf("*** so that the correct libraries are found at run-time))\n");
20950 }
20951 }
20952 return 1;
20953 }
20954
20955 _ACEOF
20956 rm -f conftest$ac_exeext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958 (eval $ac_link) 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 :
20968 else
20969 echo "$as_me: program exited with status $ac_status" >&5
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 ( exit $ac_status )
20974 no_gtk=yes
20975 fi
20976 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20977 fi
20978 CFLAGS="$ac_save_CFLAGS"
20979 LIBS="$ac_save_LIBS"
20980 fi
20981 fi
20982 if test "x$no_gtk" = x ; then
20983 echo "$as_me:$LINENO: result: yes" >&5
20984 echo "${ECHO_T}yes" >&6
20985 wx_cv_lib_gtk=1.2.3
20986 else
20987 echo "$as_me:$LINENO: result: no" >&5
20988 echo "${ECHO_T}no" >&6
20989 if test "$GTK_CONFIG" = "no" ; then
20990 echo "*** The gtk-config script installed by GTK could not be found"
20991 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20992 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20993 echo "*** full path to gtk-config."
20994 else
20995 if test -f conf.gtktest ; then
20996 :
20997 else
20998 echo "*** Could not run GTK test program, checking why..."
20999 CFLAGS="$CFLAGS $GTK_CFLAGS"
21000 LIBS="$LIBS $GTK_LIBS"
21001 cat >conftest.$ac_ext <<_ACEOF
21002 #line $LINENO "configure"
21003 /* confdefs.h. */
21004 _ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008
21009 #include <gtk/gtk.h>
21010 #include <stdio.h>
21011
21012 int
21013 main ()
21014 {
21015 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21016 ;
21017 return 0;
21018 }
21019 _ACEOF
21020 rm -f conftest.$ac_objext conftest$ac_exeext
21021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 (eval $ac_link) 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } &&
21026 { ac_try='test -s conftest$ac_exeext'
21027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21028 (eval $ac_try) 2>&5
21029 ac_status=$?
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); }; }; then
21032 echo "*** The test program compiled, but did not run. This usually means"
21033 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21034 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21037 echo "*** is required on your system"
21038 echo "***"
21039 echo "*** If you have an old version installed, it is best to remove it, although"
21040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21041 echo "***"
21042 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21043 echo "*** came with the system with the command"
21044 echo "***"
21045 echo "*** rpm --erase --nodeps gtk gtk-devel"
21046 else
21047 echo "$as_me: failed program was:" >&5
21048 sed 's/^/| /' conftest.$ac_ext >&5
21049
21050 echo "*** The test program failed to compile or link. See the file config.log for the"
21051 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21052 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21053 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21054 fi
21055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21056 CFLAGS="$ac_save_CFLAGS"
21057 LIBS="$ac_save_LIBS"
21058 fi
21059 fi
21060 GTK_CFLAGS=""
21061 GTK_LIBS=""
21062 :
21063 fi
21064
21065
21066 rm -f conf.gtktest
21067
21068 fi
21069 fi
21070
21071 if test -z "$wx_cv_lib_gtk"; then
21072 wx_cv_lib_gtk=none
21073 else
21074 wx_cv_cflags_gtk=$GTK_CFLAGS
21075 wx_cv_libs_gtk=$GTK_LIBS
21076 fi
21077
21078
21079 fi
21080
21081
21082 if test "$gtk_version_cached" = 1; then
21083 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21084 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21085 fi
21086
21087 case "$wx_cv_lib_gtk" in
21088 2.0) WXGTK20=1
21089 TOOLKIT_VERSION=2
21090 ;;
21091 1.2.7) WXGTK127=1
21092 WXGTK12=1
21093 ;;
21094 1.2.3) WXGTK12=1
21095 ;;
21096 *) { { echo "$as_me:$LINENO: error:
21097 Please check that gtk-config is in path, the directory
21098 where GTK+ libraries are installed (returned by
21099 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21100 equivalent variable and GTK+ is version 1.2.3 or above.
21101 " >&5
21102 echo "$as_me: error:
21103 Please check that gtk-config is in path, the directory
21104 where GTK+ libraries are installed (returned by
21105 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21106 equivalent variable and GTK+ is version 1.2.3 or above.
21107 " >&2;}
21108 { (exit 1); exit 1; }; }
21109 ;;
21110 esac
21111
21112 if test "$WXGTK20" = 1; then
21113 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21114
21115 succeeded=no
21116
21117 if test -z "$PKG_CONFIG"; then
21118 # Extract the first word of "pkg-config", so it can be a program name with args.
21119 set dummy pkg-config; ac_word=$2
21120 echo "$as_me:$LINENO: checking for $ac_word" >&5
21121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21122 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21123 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 else
21125 case $PKG_CONFIG in
21126 [\\/]* | ?:[\\/]*)
21127 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21128 ;;
21129 *)
21130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21131 for as_dir in $PATH
21132 do
21133 IFS=$as_save_IFS
21134 test -z "$as_dir" && as_dir=.
21135 for ac_exec_ext in '' $ac_executable_extensions; do
21136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21137 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21139 break 2
21140 fi
21141 done
21142 done
21143
21144 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21145 ;;
21146 esac
21147 fi
21148 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21149
21150 if test -n "$PKG_CONFIG"; then
21151 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21152 echo "${ECHO_T}$PKG_CONFIG" >&6
21153 else
21154 echo "$as_me:$LINENO: result: no" >&5
21155 echo "${ECHO_T}no" >&6
21156 fi
21157
21158 fi
21159
21160 if test "$PKG_CONFIG" = "no" ; then
21161 echo "*** The pkg-config script could not be found. Make sure it is"
21162 echo "*** in your path, or set the PKG_CONFIG environment variable"
21163 echo "*** to the full path to pkg-config."
21164 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21165 else
21166 PKG_CONFIG_MIN_VERSION=0.9.0
21167 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21168 echo "$as_me:$LINENO: checking for pangoft2" >&5
21169 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21170
21171 if $PKG_CONFIG --exists "pangoft2" ; then
21172 echo "$as_me:$LINENO: result: yes" >&5
21173 echo "${ECHO_T}yes" >&6
21174 succeeded=yes
21175
21176 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21177 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21178 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21179 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21180 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21181
21182 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21183 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21184 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21185 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21186 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21187 else
21188 PANGOFT2_CFLAGS=""
21189 PANGOFT2_LIBS=""
21190 ## If we have a custom action on failure, don't print errors, but
21191 ## do set a variable so people can do so.
21192 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21193
21194 fi
21195
21196
21197
21198 else
21199 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21200 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21201 fi
21202 fi
21203
21204 if test $succeeded = yes; then
21205
21206 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21207 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21208
21209 else
21210
21211 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21212 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21213 wxUSE_PRINTING_ARCHITECTURE="no"
21214
21215
21216 fi
21217
21218 fi
21219 else
21220 if test "$wxUSE_UNICODE" = "yes"; then
21221 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21222 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21223 wxUSE_UNICODE=no
21224 fi
21225 fi
21226
21227 if test "$USE_DARWIN" != 1; then
21228
21229 for ac_func in poll
21230 do
21231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21232 echo "$as_me:$LINENO: checking for $ac_func" >&5
21233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21234 if eval "test \"\${$as_ac_var+set}\" = set"; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 else
21237 cat >conftest.$ac_ext <<_ACEOF
21238 #line $LINENO "configure"
21239 /* confdefs.h. */
21240 _ACEOF
21241 cat confdefs.h >>conftest.$ac_ext
21242 cat >>conftest.$ac_ext <<_ACEOF
21243 /* end confdefs.h. */
21244 /* System header to define __stub macros and hopefully few prototypes,
21245 which can conflict with char $ac_func (); below.
21246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21247 <limits.h> exists even on freestanding compilers. */
21248 #ifdef __STDC__
21249 # include <limits.h>
21250 #else
21251 # include <assert.h>
21252 #endif
21253 /* Override any gcc2 internal prototype to avoid an error. */
21254 #ifdef __cplusplus
21255 extern "C"
21256 {
21257 #endif
21258 /* We use char because int might match the return type of a gcc2
21259 builtin and then its argument prototype would still apply. */
21260 char $ac_func ();
21261 /* The GNU C library defines this for functions which it implements
21262 to always fail with ENOSYS. Some functions are actually named
21263 something starting with __ and the normal name is an alias. */
21264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21265 choke me
21266 #else
21267 char (*f) () = $ac_func;
21268 #endif
21269 #ifdef __cplusplus
21270 }
21271 #endif
21272
21273 int
21274 main ()
21275 {
21276 return f != $ac_func;
21277 ;
21278 return 0;
21279 }
21280 _ACEOF
21281 rm -f conftest.$ac_objext conftest$ac_exeext
21282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21283 (eval $ac_link) 2>&5
21284 ac_status=$?
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } &&
21287 { ac_try='test -s conftest$ac_exeext'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 eval "$as_ac_var=yes"
21294 else
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21297
21298 eval "$as_ac_var=no"
21299 fi
21300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21301 fi
21302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21304 if test `eval echo '${'$as_ac_var'}'` = yes; then
21305 cat >>confdefs.h <<_ACEOF
21306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21307 _ACEOF
21308
21309 fi
21310 done
21311
21312 fi
21313
21314 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21315 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21316
21317 AFMINSTALL=afminstall
21318 TOOLKIT=GTK
21319 GUIDIST=GTK_DIST
21320
21321 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21322 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21323 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21325 else
21326 ac_check_lib_save_LIBS=$LIBS
21327 LIBS="-lgdk $LIBS"
21328 cat >conftest.$ac_ext <<_ACEOF
21329 #line $LINENO "configure"
21330 /* confdefs.h. */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335
21336 /* Override any gcc2 internal prototype to avoid an error. */
21337 #ifdef __cplusplus
21338 extern "C"
21339 #endif
21340 /* We use char because int might match the return type of a gcc2
21341 builtin and then its argument prototype would still apply. */
21342 char gdk_im_open ();
21343 int
21344 main ()
21345 {
21346 gdk_im_open ();
21347 ;
21348 return 0;
21349 }
21350 _ACEOF
21351 rm -f conftest.$ac_objext conftest$ac_exeext
21352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21353 (eval $ac_link) 2>&5
21354 ac_status=$?
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try='test -s conftest$ac_exeext'
21358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21359 (eval $ac_try) 2>&5
21360 ac_status=$?
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; }; then
21363 ac_cv_lib_gdk_gdk_im_open=yes
21364 else
21365 echo "$as_me: failed program was:" >&5
21366 sed 's/^/| /' conftest.$ac_ext >&5
21367
21368 ac_cv_lib_gdk_gdk_im_open=no
21369 fi
21370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21371 LIBS=$ac_check_lib_save_LIBS
21372 fi
21373 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21374 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21375 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21376 cat >>confdefs.h <<\_ACEOF
21377 #define HAVE_XIM 1
21378 _ACEOF
21379
21380 fi
21381
21382 fi
21383
21384 if test "$wxUSE_MGL" = 1; then
21385 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21386 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21387 if test "x$MGL_ROOT" = x ; then
21388 echo "$as_me:$LINENO: result: not found" >&5
21389 echo "${ECHO_T}not found" >&6
21390 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21391 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21392 { (exit 1); exit 1; }; }
21393 else
21394 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21395 echo "${ECHO_T}$MGL_ROOT" >&6
21396 fi
21397
21398 echo "$as_me:$LINENO: checking for libmgl location" >&5
21399 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21400 case "${host}" in
21401 *-*-linux* )
21402 if test "x$wxUSE_SHARED" = xyes ; then
21403 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21404 else
21405 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21406 fi
21407 ;;
21408 *-pc-msdosdjgpp )
21409 mgl_os_candidates="dos32/dj2"
21410 ;;
21411 *)
21412 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21413 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21414 { (exit 1); exit 1; }; }
21415 esac
21416
21417 mgl_lib_type=""
21418 mgl_os=""
21419
21420 for mgl_os_i in $mgl_os_candidates ; do
21421 if test "x$mgl_os" = x ; then
21422 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21423 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21424 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21425 mgl_lib_type=debug
21426 mgl_os=$mgl_os_i
21427 fi
21428 fi
21429 if test "x$mgl_lib_type" = x ; then
21430 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21431 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21432 mgl_lib_type=release
21433 mgl_os=$mgl_os_i
21434 fi
21435 fi
21436 fi
21437 done
21438
21439 if test "x$mgl_os" = x ; then
21440 echo "$as_me:$LINENO: result: not found" >&5
21441 echo "${ECHO_T}not found" >&6
21442 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21443 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21444 { (exit 1); exit 1; }; }
21445 fi
21446 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21447 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21448
21449 wxUSE_UNIVERSAL="yes"
21450
21451 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21452 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21453
21454 AFMINSTALL=afminstall
21455 TOOLKIT=MGL
21456 GUIDIST=MGL_DIST
21457 fi
21458
21459 if test "$wxUSE_MICROWIN" = 1; then
21460 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21461 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21462 if test "x$MICROWINDOWS" = x ; then
21463 echo "$as_me:$LINENO: result: not found" >&5
21464 echo "${ECHO_T}not found" >&6
21465 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21466 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21467 { (exit 1); exit 1; }; }
21468 else
21469 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21470 echo "${ECHO_T}$MICROWINDOWS" >&6
21471 fi
21472
21473 if test -f $MICROWINDOWS/lib/libmwin.a; then
21474 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21475 echo "${ECHO_T}MicroWindows' libraries found." >&6
21476 else
21477 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21478 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21479 { (exit 1); exit 1; }; }
21480 fi
21481
21482 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21483 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21484
21485 wxUSE_UNIVERSAL="yes"
21486
21487 AFMINSTALL=afminstall
21488 TOOLKIT=MICROWIN
21489 GUIDIST=MICROWIN_DIST
21490
21491 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21492 fi
21493
21494 if test "$wxUSE_X11" = 1; then
21495 echo "$as_me:$LINENO: checking for X" >&5
21496 echo $ECHO_N "checking for X... $ECHO_C" >&6
21497
21498
21499 # Check whether --with-x or --without-x was given.
21500 if test "${with_x+set}" = set; then
21501 withval="$with_x"
21502
21503 fi;
21504 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21505 if test "x$with_x" = xno; then
21506 # The user explicitly disabled X.
21507 have_x=disabled
21508 else
21509 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21510 # Both variables are already set.
21511 have_x=yes
21512 else
21513 if test "${ac_cv_have_x+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21515 else
21516 # One or both of the vars are not set, and there is no cached value.
21517 ac_x_includes=no ac_x_libraries=no
21518 rm -fr conftest.dir
21519 if mkdir conftest.dir; then
21520 cd conftest.dir
21521 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21522 cat >Imakefile <<'_ACEOF'
21523 acfindx:
21524 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21525 _ACEOF
21526 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21527 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21528 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21529 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21530 for ac_extension in a so sl; do
21531 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21532 test -f $ac_im_libdir/libX11.$ac_extension; then
21533 ac_im_usrlibdir=$ac_im_libdir; break
21534 fi
21535 done
21536 # Screen out bogus values from the imake configuration. They are
21537 # bogus both because they are the default anyway, and because
21538 # using them would break gcc on systems where it needs fixed includes.
21539 case $ac_im_incroot in
21540 /usr/include) ;;
21541 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21542 esac
21543 case $ac_im_usrlibdir in
21544 /usr/lib | /lib) ;;
21545 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21546 esac
21547 fi
21548 cd ..
21549 rm -fr conftest.dir
21550 fi
21551
21552 # Standard set of common directories for X headers.
21553 # Check X11 before X11Rn because it is often a symlink to the current release.
21554 ac_x_header_dirs='
21555 /usr/X11/include
21556 /usr/X11R6/include
21557 /usr/X11R5/include
21558 /usr/X11R4/include
21559
21560 /usr/include/X11
21561 /usr/include/X11R6
21562 /usr/include/X11R5
21563 /usr/include/X11R4
21564
21565 /usr/local/X11/include
21566 /usr/local/X11R6/include
21567 /usr/local/X11R5/include
21568 /usr/local/X11R4/include
21569
21570 /usr/local/include/X11
21571 /usr/local/include/X11R6
21572 /usr/local/include/X11R5
21573 /usr/local/include/X11R4
21574
21575 /usr/X386/include
21576 /usr/x386/include
21577 /usr/XFree86/include/X11
21578
21579 /usr/include
21580 /usr/local/include
21581 /usr/unsupported/include
21582 /usr/athena/include
21583 /usr/local/x11r5/include
21584 /usr/lpp/Xamples/include
21585
21586 /usr/openwin/include
21587 /usr/openwin/share/include'
21588
21589 if test "$ac_x_includes" = no; then
21590 # Guess where to find include files, by looking for Intrinsic.h.
21591 # First, try using that file with no special directory specified.
21592 cat >conftest.$ac_ext <<_ACEOF
21593 #line $LINENO "configure"
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 #include <X11/Intrinsic.h>
21600 _ACEOF
21601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21603 ac_status=$?
21604 grep -v '^ *+' conftest.er1 >conftest.err
21605 rm -f conftest.er1
21606 cat conftest.err >&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } >/dev/null; then
21609 if test -s conftest.err; then
21610 ac_cpp_err=$ac_c_preproc_warn_flag
21611 else
21612 ac_cpp_err=
21613 fi
21614 else
21615 ac_cpp_err=yes
21616 fi
21617 if test -z "$ac_cpp_err"; then
21618 # We can compile using X headers with no special include directory.
21619 ac_x_includes=
21620 else
21621 echo "$as_me: failed program was:" >&5
21622 sed 's/^/| /' conftest.$ac_ext >&5
21623
21624 for ac_dir in $ac_x_header_dirs; do
21625 if test -r "$ac_dir/X11/Intrinsic.h"; then
21626 ac_x_includes=$ac_dir
21627 break
21628 fi
21629 done
21630 fi
21631 rm -f conftest.err conftest.$ac_ext
21632 fi # $ac_x_includes = no
21633
21634 if test "$ac_x_libraries" = no; then
21635 # Check for the libraries.
21636 # See if we find them without any special options.
21637 # Don't add to $LIBS permanently.
21638 ac_save_LIBS=$LIBS
21639 LIBS="-lXt $LIBS"
21640 cat >conftest.$ac_ext <<_ACEOF
21641 #line $LINENO "configure"
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 #include <X11/Intrinsic.h>
21648 int
21649 main ()
21650 {
21651 XtMalloc (0)
21652 ;
21653 return 0;
21654 }
21655 _ACEOF
21656 rm -f conftest.$ac_objext conftest$ac_exeext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658 (eval $ac_link) 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } &&
21662 { ac_try='test -s conftest$ac_exeext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21665 ac_status=$?
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 LIBS=$ac_save_LIBS
21669 # We can link X programs with no special library path.
21670 ac_x_libraries=
21671 else
21672 echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 LIBS=$ac_save_LIBS
21676 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21677 do
21678 # Don't even attempt the hair of trying to link an X program!
21679 for ac_extension in a so sl; do
21680 if test -r $ac_dir/libXt.$ac_extension; then
21681 ac_x_libraries=$ac_dir
21682 break 2
21683 fi
21684 done
21685 done
21686 fi
21687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21688 fi # $ac_x_libraries = no
21689
21690 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21691 # Didn't find X anywhere. Cache the known absence of X.
21692 ac_cv_have_x="have_x=no"
21693 else
21694 # Record where we found X for the cache.
21695 ac_cv_have_x="have_x=yes \
21696 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21697 fi
21698 fi
21699
21700 fi
21701 eval "$ac_cv_have_x"
21702 fi # $with_x != no
21703
21704 if test "$have_x" != yes; then
21705 echo "$as_me:$LINENO: result: $have_x" >&5
21706 echo "${ECHO_T}$have_x" >&6
21707 no_x=yes
21708 else
21709 # If each of the values was on the command line, it overrides each guess.
21710 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21711 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21712 # Update the cache value to reflect the command line values.
21713 ac_cv_have_x="have_x=yes \
21714 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21715 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21716 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21717 fi
21718
21719 if test "$no_x" = yes; then
21720 # Not all programs may use this symbol, but it does not hurt to define it.
21721
21722 cat >>confdefs.h <<\_ACEOF
21723 #define X_DISPLAY_MISSING 1
21724 _ACEOF
21725
21726 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21727 else
21728 if test -n "$x_includes"; then
21729 X_CFLAGS="$X_CFLAGS -I$x_includes"
21730 fi
21731
21732 # It would also be nice to do this for all -L options, not just this one.
21733 if test -n "$x_libraries"; then
21734 X_LIBS="$X_LIBS -L$x_libraries"
21735 # For Solaris; some versions of Sun CC require a space after -R and
21736 # others require no space. Words are not sufficient . . . .
21737 case `(uname -sr) 2>/dev/null` in
21738 "SunOS 5"*)
21739 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21740 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21741 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21742 cat >conftest.$ac_ext <<_ACEOF
21743 #line $LINENO "configure"
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749
21750 int
21751 main ()
21752 {
21753
21754 ;
21755 return 0;
21756 }
21757 _ACEOF
21758 rm -f conftest.$ac_objext conftest$ac_exeext
21759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21760 (eval $ac_link) 2>&5
21761 ac_status=$?
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); } &&
21764 { ac_try='test -s conftest$ac_exeext'
21765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21766 (eval $ac_try) 2>&5
21767 ac_status=$?
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); }; }; then
21770 ac_R_nospace=yes
21771 else
21772 echo "$as_me: failed program was:" >&5
21773 sed 's/^/| /' conftest.$ac_ext >&5
21774
21775 ac_R_nospace=no
21776 fi
21777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21778 if test $ac_R_nospace = yes; then
21779 echo "$as_me:$LINENO: result: no" >&5
21780 echo "${ECHO_T}no" >&6
21781 X_LIBS="$X_LIBS -R$x_libraries"
21782 else
21783 LIBS="$ac_xsave_LIBS -R $x_libraries"
21784 cat >conftest.$ac_ext <<_ACEOF
21785 #line $LINENO "configure"
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791
21792 int
21793 main ()
21794 {
21795
21796 ;
21797 return 0;
21798 }
21799 _ACEOF
21800 rm -f conftest.$ac_objext conftest$ac_exeext
21801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21802 (eval $ac_link) 2>&5
21803 ac_status=$?
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } &&
21806 { ac_try='test -s conftest$ac_exeext'
21807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808 (eval $ac_try) 2>&5
21809 ac_status=$?
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; }; then
21812 ac_R_space=yes
21813 else
21814 echo "$as_me: failed program was:" >&5
21815 sed 's/^/| /' conftest.$ac_ext >&5
21816
21817 ac_R_space=no
21818 fi
21819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21820 if test $ac_R_space = yes; then
21821 echo "$as_me:$LINENO: result: yes" >&5
21822 echo "${ECHO_T}yes" >&6
21823 X_LIBS="$X_LIBS -R $x_libraries"
21824 else
21825 echo "$as_me:$LINENO: result: neither works" >&5
21826 echo "${ECHO_T}neither works" >&6
21827 fi
21828 fi
21829 LIBS=$ac_xsave_LIBS
21830 esac
21831 fi
21832
21833 # Check for system-dependent libraries X programs must link with.
21834 # Do this before checking for the system-independent R6 libraries
21835 # (-lICE), since we may need -lsocket or whatever for X linking.
21836
21837 if test "$ISC" = yes; then
21838 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21839 else
21840 # Martyn Johnson says this is needed for Ultrix, if the X
21841 # libraries were built with DECnet support. And Karl Berry says
21842 # the Alpha needs dnet_stub (dnet does not exist).
21843 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21844 cat >conftest.$ac_ext <<_ACEOF
21845 #line $LINENO "configure"
21846 /* confdefs.h. */
21847 _ACEOF
21848 cat confdefs.h >>conftest.$ac_ext
21849 cat >>conftest.$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21851
21852 /* Override any gcc2 internal prototype to avoid an error. */
21853 #ifdef __cplusplus
21854 extern "C"
21855 #endif
21856 /* We use char because int might match the return type of a gcc2
21857 builtin and then its argument prototype would still apply. */
21858 char XOpenDisplay ();
21859 int
21860 main ()
21861 {
21862 XOpenDisplay ();
21863 ;
21864 return 0;
21865 }
21866 _ACEOF
21867 rm -f conftest.$ac_objext conftest$ac_exeext
21868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21869 (eval $ac_link) 2>&5
21870 ac_status=$?
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); } &&
21873 { ac_try='test -s conftest$ac_exeext'
21874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21875 (eval $ac_try) 2>&5
21876 ac_status=$?
21877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21878 (exit $ac_status); }; }; then
21879 :
21880 else
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21883
21884 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21885 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21886 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21887 echo $ECHO_N "(cached) $ECHO_C" >&6
21888 else
21889 ac_check_lib_save_LIBS=$LIBS
21890 LIBS="-ldnet $LIBS"
21891 cat >conftest.$ac_ext <<_ACEOF
21892 #line $LINENO "configure"
21893 /* confdefs.h. */
21894 _ACEOF
21895 cat confdefs.h >>conftest.$ac_ext
21896 cat >>conftest.$ac_ext <<_ACEOF
21897 /* end confdefs.h. */
21898
21899 /* Override any gcc2 internal prototype to avoid an error. */
21900 #ifdef __cplusplus
21901 extern "C"
21902 #endif
21903 /* We use char because int might match the return type of a gcc2
21904 builtin and then its argument prototype would still apply. */
21905 char dnet_ntoa ();
21906 int
21907 main ()
21908 {
21909 dnet_ntoa ();
21910 ;
21911 return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest.$ac_objext conftest$ac_exeext
21915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21916 (eval $ac_link) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); } &&
21920 { ac_try='test -s conftest$ac_exeext'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_lib_dnet_dnet_ntoa=yes
21927 else
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21930
21931 ac_cv_lib_dnet_dnet_ntoa=no
21932 fi
21933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21934 LIBS=$ac_check_lib_save_LIBS
21935 fi
21936 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21937 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21938 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21939 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21940 fi
21941
21942 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21943 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21944 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21945 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 else
21948 ac_check_lib_save_LIBS=$LIBS
21949 LIBS="-ldnet_stub $LIBS"
21950 cat >conftest.$ac_ext <<_ACEOF
21951 #line $LINENO "configure"
21952 /* confdefs.h. */
21953 _ACEOF
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21957
21958 /* Override any gcc2 internal prototype to avoid an error. */
21959 #ifdef __cplusplus
21960 extern "C"
21961 #endif
21962 /* We use char because int might match the return type of a gcc2
21963 builtin and then its argument prototype would still apply. */
21964 char dnet_ntoa ();
21965 int
21966 main ()
21967 {
21968 dnet_ntoa ();
21969 ;
21970 return 0;
21971 }
21972 _ACEOF
21973 rm -f conftest.$ac_objext conftest$ac_exeext
21974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21975 (eval $ac_link) 2>&5
21976 ac_status=$?
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try='test -s conftest$ac_exeext'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21982 ac_status=$?
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; }; then
21985 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21986 else
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.$ac_ext >&5
21989
21990 ac_cv_lib_dnet_stub_dnet_ntoa=no
21991 fi
21992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21993 LIBS=$ac_check_lib_save_LIBS
21994 fi
21995 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21996 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21997 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21998 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21999 fi
22000
22001 fi
22002 fi
22003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22004 LIBS="$ac_xsave_LIBS"
22005
22006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22007 # to get the SysV transport functions.
22008 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22009 # needs -lnsl.
22010 # The nsl library prevents programs from opening the X display
22011 # on Irix 5.2, according to T.E. Dickey.
22012 # The functions gethostbyname, getservbyname, and inet_addr are
22013 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22014 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22015 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22016 if test "${ac_cv_func_gethostbyname+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 else
22019 cat >conftest.$ac_ext <<_ACEOF
22020 #line $LINENO "configure"
22021 /* confdefs.h. */
22022 _ACEOF
22023 cat confdefs.h >>conftest.$ac_ext
22024 cat >>conftest.$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 /* System header to define __stub macros and hopefully few prototypes,
22027 which can conflict with char gethostbyname (); below.
22028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22029 <limits.h> exists even on freestanding compilers. */
22030 #ifdef __STDC__
22031 # include <limits.h>
22032 #else
22033 # include <assert.h>
22034 #endif
22035 /* Override any gcc2 internal prototype to avoid an error. */
22036 #ifdef __cplusplus
22037 extern "C"
22038 {
22039 #endif
22040 /* We use char because int might match the return type of a gcc2
22041 builtin and then its argument prototype would still apply. */
22042 char gethostbyname ();
22043 /* The GNU C library defines this for functions which it implements
22044 to always fail with ENOSYS. Some functions are actually named
22045 something starting with __ and the normal name is an alias. */
22046 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22047 choke me
22048 #else
22049 char (*f) () = gethostbyname;
22050 #endif
22051 #ifdef __cplusplus
22052 }
22053 #endif
22054
22055 int
22056 main ()
22057 {
22058 return f != gethostbyname;
22059 ;
22060 return 0;
22061 }
22062 _ACEOF
22063 rm -f conftest.$ac_objext conftest$ac_exeext
22064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22065 (eval $ac_link) 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -s conftest$ac_exeext'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; }; then
22075 ac_cv_func_gethostbyname=yes
22076 else
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.$ac_ext >&5
22079
22080 ac_cv_func_gethostbyname=no
22081 fi
22082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22083 fi
22084 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22085 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22086
22087 if test $ac_cv_func_gethostbyname = no; then
22088 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22089 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22090 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 else
22093 ac_check_lib_save_LIBS=$LIBS
22094 LIBS="-lnsl $LIBS"
22095 cat >conftest.$ac_ext <<_ACEOF
22096 #line $LINENO "configure"
22097 /* confdefs.h. */
22098 _ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102
22103 /* Override any gcc2 internal prototype to avoid an error. */
22104 #ifdef __cplusplus
22105 extern "C"
22106 #endif
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22109 char gethostbyname ();
22110 int
22111 main ()
22112 {
22113 gethostbyname ();
22114 ;
22115 return 0;
22116 }
22117 _ACEOF
22118 rm -f conftest.$ac_objext conftest$ac_exeext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -s conftest$ac_exeext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22127 ac_status=$?
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_cv_lib_nsl_gethostbyname=yes
22131 else
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.$ac_ext >&5
22134
22135 ac_cv_lib_nsl_gethostbyname=no
22136 fi
22137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22138 LIBS=$ac_check_lib_save_LIBS
22139 fi
22140 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22141 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22142 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22144 fi
22145
22146 if test $ac_cv_lib_nsl_gethostbyname = no; then
22147 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22148 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22149 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22150 echo $ECHO_N "(cached) $ECHO_C" >&6
22151 else
22152 ac_check_lib_save_LIBS=$LIBS
22153 LIBS="-lbsd $LIBS"
22154 cat >conftest.$ac_ext <<_ACEOF
22155 #line $LINENO "configure"
22156 /* confdefs.h. */
22157 _ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22161
22162 /* Override any gcc2 internal prototype to avoid an error. */
22163 #ifdef __cplusplus
22164 extern "C"
22165 #endif
22166 /* We use char because int might match the return type of a gcc2
22167 builtin and then its argument prototype would still apply. */
22168 char gethostbyname ();
22169 int
22170 main ()
22171 {
22172 gethostbyname ();
22173 ;
22174 return 0;
22175 }
22176 _ACEOF
22177 rm -f conftest.$ac_objext conftest$ac_exeext
22178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22179 (eval $ac_link) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); } &&
22183 { ac_try='test -s conftest$ac_exeext'
22184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22185 (eval $ac_try) 2>&5
22186 ac_status=$?
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); }; }; then
22189 ac_cv_lib_bsd_gethostbyname=yes
22190 else
22191 echo "$as_me: failed program was:" >&5
22192 sed 's/^/| /' conftest.$ac_ext >&5
22193
22194 ac_cv_lib_bsd_gethostbyname=no
22195 fi
22196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22197 LIBS=$ac_check_lib_save_LIBS
22198 fi
22199 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22200 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22201 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22202 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22203 fi
22204
22205 fi
22206 fi
22207
22208 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22209 # socket/setsockopt and other routines are undefined under SCO ODT
22210 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22211 # on later versions), says Simon Leinen: it contains gethostby*
22212 # variants that don't use the name server (or something). -lsocket
22213 # must be given before -lnsl if both are needed. We assume that
22214 # if connect needs -lnsl, so does gethostbyname.
22215 echo "$as_me:$LINENO: checking for connect" >&5
22216 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22217 if test "${ac_cv_func_connect+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 else
22220 cat >conftest.$ac_ext <<_ACEOF
22221 #line $LINENO "configure"
22222 /* confdefs.h. */
22223 _ACEOF
22224 cat confdefs.h >>conftest.$ac_ext
22225 cat >>conftest.$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22227 /* System header to define __stub macros and hopefully few prototypes,
22228 which can conflict with char connect (); below.
22229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22230 <limits.h> exists even on freestanding compilers. */
22231 #ifdef __STDC__
22232 # include <limits.h>
22233 #else
22234 # include <assert.h>
22235 #endif
22236 /* Override any gcc2 internal prototype to avoid an error. */
22237 #ifdef __cplusplus
22238 extern "C"
22239 {
22240 #endif
22241 /* We use char because int might match the return type of a gcc2
22242 builtin and then its argument prototype would still apply. */
22243 char connect ();
22244 /* The GNU C library defines this for functions which it implements
22245 to always fail with ENOSYS. Some functions are actually named
22246 something starting with __ and the normal name is an alias. */
22247 #if defined (__stub_connect) || defined (__stub___connect)
22248 choke me
22249 #else
22250 char (*f) () = connect;
22251 #endif
22252 #ifdef __cplusplus
22253 }
22254 #endif
22255
22256 int
22257 main ()
22258 {
22259 return f != connect;
22260 ;
22261 return 0;
22262 }
22263 _ACEOF
22264 rm -f conftest.$ac_objext conftest$ac_exeext
22265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22266 (eval $ac_link) 2>&5
22267 ac_status=$?
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } &&
22270 { ac_try='test -s conftest$ac_exeext'
22271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22272 (eval $ac_try) 2>&5
22273 ac_status=$?
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; }; then
22276 ac_cv_func_connect=yes
22277 else
22278 echo "$as_me: failed program was:" >&5
22279 sed 's/^/| /' conftest.$ac_ext >&5
22280
22281 ac_cv_func_connect=no
22282 fi
22283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22284 fi
22285 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22286 echo "${ECHO_T}$ac_cv_func_connect" >&6
22287
22288 if test $ac_cv_func_connect = no; then
22289 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22290 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22291 if test "${ac_cv_lib_socket_connect+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 else
22294 ac_check_lib_save_LIBS=$LIBS
22295 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22296 cat >conftest.$ac_ext <<_ACEOF
22297 #line $LINENO "configure"
22298 /* confdefs.h. */
22299 _ACEOF
22300 cat confdefs.h >>conftest.$ac_ext
22301 cat >>conftest.$ac_ext <<_ACEOF
22302 /* end confdefs.h. */
22303
22304 /* Override any gcc2 internal prototype to avoid an error. */
22305 #ifdef __cplusplus
22306 extern "C"
22307 #endif
22308 /* We use char because int might match the return type of a gcc2
22309 builtin and then its argument prototype would still apply. */
22310 char connect ();
22311 int
22312 main ()
22313 {
22314 connect ();
22315 ;
22316 return 0;
22317 }
22318 _ACEOF
22319 rm -f conftest.$ac_objext conftest$ac_exeext
22320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22321 (eval $ac_link) 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } &&
22325 { ac_try='test -s conftest$ac_exeext'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22328 ac_status=$?
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_lib_socket_connect=yes
22332 else
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22335
22336 ac_cv_lib_socket_connect=no
22337 fi
22338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22339 LIBS=$ac_check_lib_save_LIBS
22340 fi
22341 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22342 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22343 if test $ac_cv_lib_socket_connect = yes; then
22344 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22345 fi
22346
22347 fi
22348
22349 # Guillermo Gomez says -lposix is necessary on A/UX.
22350 echo "$as_me:$LINENO: checking for remove" >&5
22351 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22352 if test "${ac_cv_func_remove+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 else
22355 cat >conftest.$ac_ext <<_ACEOF
22356 #line $LINENO "configure"
22357 /* confdefs.h. */
22358 _ACEOF
22359 cat confdefs.h >>conftest.$ac_ext
22360 cat >>conftest.$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 /* System header to define __stub macros and hopefully few prototypes,
22363 which can conflict with char remove (); below.
22364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22365 <limits.h> exists even on freestanding compilers. */
22366 #ifdef __STDC__
22367 # include <limits.h>
22368 #else
22369 # include <assert.h>
22370 #endif
22371 /* Override any gcc2 internal prototype to avoid an error. */
22372 #ifdef __cplusplus
22373 extern "C"
22374 {
22375 #endif
22376 /* We use char because int might match the return type of a gcc2
22377 builtin and then its argument prototype would still apply. */
22378 char remove ();
22379 /* The GNU C library defines this for functions which it implements
22380 to always fail with ENOSYS. Some functions are actually named
22381 something starting with __ and the normal name is an alias. */
22382 #if defined (__stub_remove) || defined (__stub___remove)
22383 choke me
22384 #else
22385 char (*f) () = remove;
22386 #endif
22387 #ifdef __cplusplus
22388 }
22389 #endif
22390
22391 int
22392 main ()
22393 {
22394 return f != remove;
22395 ;
22396 return 0;
22397 }
22398 _ACEOF
22399 rm -f conftest.$ac_objext conftest$ac_exeext
22400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22401 (eval $ac_link) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } &&
22405 { ac_try='test -s conftest$ac_exeext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22408 ac_status=$?
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 ac_cv_func_remove=yes
22412 else
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22415
22416 ac_cv_func_remove=no
22417 fi
22418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22419 fi
22420 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22421 echo "${ECHO_T}$ac_cv_func_remove" >&6
22422
22423 if test $ac_cv_func_remove = no; then
22424 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22425 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22426 if test "${ac_cv_lib_posix_remove+set}" = set; then
22427 echo $ECHO_N "(cached) $ECHO_C" >&6
22428 else
22429 ac_check_lib_save_LIBS=$LIBS
22430 LIBS="-lposix $LIBS"
22431 cat >conftest.$ac_ext <<_ACEOF
22432 #line $LINENO "configure"
22433 /* confdefs.h. */
22434 _ACEOF
22435 cat confdefs.h >>conftest.$ac_ext
22436 cat >>conftest.$ac_ext <<_ACEOF
22437 /* end confdefs.h. */
22438
22439 /* Override any gcc2 internal prototype to avoid an error. */
22440 #ifdef __cplusplus
22441 extern "C"
22442 #endif
22443 /* We use char because int might match the return type of a gcc2
22444 builtin and then its argument prototype would still apply. */
22445 char remove ();
22446 int
22447 main ()
22448 {
22449 remove ();
22450 ;
22451 return 0;
22452 }
22453 _ACEOF
22454 rm -f conftest.$ac_objext conftest$ac_exeext
22455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22456 (eval $ac_link) 2>&5
22457 ac_status=$?
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } &&
22460 { ac_try='test -s conftest$ac_exeext'
22461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22462 (eval $ac_try) 2>&5
22463 ac_status=$?
22464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22465 (exit $ac_status); }; }; then
22466 ac_cv_lib_posix_remove=yes
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22470
22471 ac_cv_lib_posix_remove=no
22472 fi
22473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22474 LIBS=$ac_check_lib_save_LIBS
22475 fi
22476 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22477 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22478 if test $ac_cv_lib_posix_remove = yes; then
22479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22480 fi
22481
22482 fi
22483
22484 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22485 echo "$as_me:$LINENO: checking for shmat" >&5
22486 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22487 if test "${ac_cv_func_shmat+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 else
22490 cat >conftest.$ac_ext <<_ACEOF
22491 #line $LINENO "configure"
22492 /* confdefs.h. */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 /* System header to define __stub macros and hopefully few prototypes,
22498 which can conflict with char shmat (); below.
22499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22500 <limits.h> exists even on freestanding compilers. */
22501 #ifdef __STDC__
22502 # include <limits.h>
22503 #else
22504 # include <assert.h>
22505 #endif
22506 /* Override any gcc2 internal prototype to avoid an error. */
22507 #ifdef __cplusplus
22508 extern "C"
22509 {
22510 #endif
22511 /* We use char because int might match the return type of a gcc2
22512 builtin and then its argument prototype would still apply. */
22513 char shmat ();
22514 /* The GNU C library defines this for functions which it implements
22515 to always fail with ENOSYS. Some functions are actually named
22516 something starting with __ and the normal name is an alias. */
22517 #if defined (__stub_shmat) || defined (__stub___shmat)
22518 choke me
22519 #else
22520 char (*f) () = shmat;
22521 #endif
22522 #ifdef __cplusplus
22523 }
22524 #endif
22525
22526 int
22527 main ()
22528 {
22529 return f != shmat;
22530 ;
22531 return 0;
22532 }
22533 _ACEOF
22534 rm -f conftest.$ac_objext conftest$ac_exeext
22535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22536 (eval $ac_link) 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } &&
22540 { ac_try='test -s conftest$ac_exeext'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; }; then
22546 ac_cv_func_shmat=yes
22547 else
22548 echo "$as_me: failed program was:" >&5
22549 sed 's/^/| /' conftest.$ac_ext >&5
22550
22551 ac_cv_func_shmat=no
22552 fi
22553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22554 fi
22555 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22556 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22557
22558 if test $ac_cv_func_shmat = no; then
22559 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22560 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22561 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 else
22564 ac_check_lib_save_LIBS=$LIBS
22565 LIBS="-lipc $LIBS"
22566 cat >conftest.$ac_ext <<_ACEOF
22567 #line $LINENO "configure"
22568 /* confdefs.h. */
22569 _ACEOF
22570 cat confdefs.h >>conftest.$ac_ext
22571 cat >>conftest.$ac_ext <<_ACEOF
22572 /* end confdefs.h. */
22573
22574 /* Override any gcc2 internal prototype to avoid an error. */
22575 #ifdef __cplusplus
22576 extern "C"
22577 #endif
22578 /* We use char because int might match the return type of a gcc2
22579 builtin and then its argument prototype would still apply. */
22580 char shmat ();
22581 int
22582 main ()
22583 {
22584 shmat ();
22585 ;
22586 return 0;
22587 }
22588 _ACEOF
22589 rm -f conftest.$ac_objext conftest$ac_exeext
22590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22591 (eval $ac_link) 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } &&
22595 { ac_try='test -s conftest$ac_exeext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22598 ac_status=$?
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_lib_ipc_shmat=yes
22602 else
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22605
22606 ac_cv_lib_ipc_shmat=no
22607 fi
22608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22609 LIBS=$ac_check_lib_save_LIBS
22610 fi
22611 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22612 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22613 if test $ac_cv_lib_ipc_shmat = yes; then
22614 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22615 fi
22616
22617 fi
22618 fi
22619
22620 # Check for libraries that X11R6 Xt/Xaw programs need.
22621 ac_save_LDFLAGS=$LDFLAGS
22622 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22623 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22624 # check for ICE first), but we must link in the order -lSM -lICE or
22625 # we get undefined symbols. So assume we have SM if we have ICE.
22626 # These have to be linked with before -lX11, unlike the other
22627 # libraries we check for below, so use a different variable.
22628 # John Interrante, Karl Berry
22629 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22630 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22631 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634 ac_check_lib_save_LIBS=$LIBS
22635 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22636 cat >conftest.$ac_ext <<_ACEOF
22637 #line $LINENO "configure"
22638 /* confdefs.h. */
22639 _ACEOF
22640 cat confdefs.h >>conftest.$ac_ext
22641 cat >>conftest.$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643
22644 /* Override any gcc2 internal prototype to avoid an error. */
22645 #ifdef __cplusplus
22646 extern "C"
22647 #endif
22648 /* We use char because int might match the return type of a gcc2
22649 builtin and then its argument prototype would still apply. */
22650 char IceConnectionNumber ();
22651 int
22652 main ()
22653 {
22654 IceConnectionNumber ();
22655 ;
22656 return 0;
22657 }
22658 _ACEOF
22659 rm -f conftest.$ac_objext conftest$ac_exeext
22660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22661 (eval $ac_link) 2>&5
22662 ac_status=$?
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } &&
22665 { ac_try='test -s conftest$ac_exeext'
22666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22667 (eval $ac_try) 2>&5
22668 ac_status=$?
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); }; }; then
22671 ac_cv_lib_ICE_IceConnectionNumber=yes
22672 else
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22675
22676 ac_cv_lib_ICE_IceConnectionNumber=no
22677 fi
22678 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22679 LIBS=$ac_check_lib_save_LIBS
22680 fi
22681 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22682 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22683 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22684 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22685 fi
22686
22687 LDFLAGS=$ac_save_LDFLAGS
22688
22689 fi
22690
22691
22692 if test "$no_x" = "yes"; then
22693 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22694 echo "$as_me: error: X11 not found" >&2;}
22695 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22696 fi
22697
22698 GUI_TK_LIBRARY="$X_LIBS"
22699 TOOLKIT_INCLUDE="$X_CFLAGS"
22700 AFMINSTALL=afminstall
22701 COMPILED_X_PROGRAM=0
22702
22703 if test "$wxUSE_NANOX" = "yes"; then
22704 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22705 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22706 if test "x$MICROWIN" = x ; then
22707 echo "$as_me:$LINENO: result: not found" >&5
22708 echo "${ECHO_T}not found" >&6
22709 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22710 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22711 { (exit 1); exit 1; }; }
22712 else
22713 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22714 echo "${ECHO_T}$MICROWIN" >&6
22715 cat >>confdefs.h <<\_ACEOF
22716 #define wxUSE_NANOX 1
22717 _ACEOF
22718
22719 fi
22720 fi
22721
22722 if test "$wxUSE_UNICODE" = "yes"; then
22723
22724 succeeded=no
22725
22726 if test -z "$PKG_CONFIG"; then
22727 # Extract the first word of "pkg-config", so it can be a program name with args.
22728 set dummy pkg-config; ac_word=$2
22729 echo "$as_me:$LINENO: checking for $ac_word" >&5
22730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22731 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22733 else
22734 case $PKG_CONFIG in
22735 [\\/]* | ?:[\\/]*)
22736 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22737 ;;
22738 *)
22739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22740 for as_dir in $PATH
22741 do
22742 IFS=$as_save_IFS
22743 test -z "$as_dir" && as_dir=.
22744 for ac_exec_ext in '' $ac_executable_extensions; do
22745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22746 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22748 break 2
22749 fi
22750 done
22751 done
22752
22753 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22754 ;;
22755 esac
22756 fi
22757 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22758
22759 if test -n "$PKG_CONFIG"; then
22760 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22761 echo "${ECHO_T}$PKG_CONFIG" >&6
22762 else
22763 echo "$as_me:$LINENO: result: no" >&5
22764 echo "${ECHO_T}no" >&6
22765 fi
22766
22767 fi
22768
22769 if test "$PKG_CONFIG" = "no" ; then
22770 echo "*** The pkg-config script could not be found. Make sure it is"
22771 echo "*** in your path, or set the PKG_CONFIG environment variable"
22772 echo "*** to the full path to pkg-config."
22773 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22774 else
22775 PKG_CONFIG_MIN_VERSION=0.9.0
22776 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22777 echo "$as_me:$LINENO: checking for pangox" >&5
22778 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22779
22780 if $PKG_CONFIG --exists "pangox" ; then
22781 echo "$as_me:$LINENO: result: yes" >&5
22782 echo "${ECHO_T}yes" >&6
22783 succeeded=yes
22784
22785 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22786 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22787 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22788 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22789 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22790
22791 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22792 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22793 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22794 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22795 echo "${ECHO_T}$PANGOX_LIBS" >&6
22796 else
22797 PANGOX_CFLAGS=""
22798 PANGOX_LIBS=""
22799 ## If we have a custom action on failure, don't print errors, but
22800 ## do set a variable so people can do so.
22801 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22802
22803 fi
22804
22805
22806
22807 else
22808 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22809 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22810 fi
22811 fi
22812
22813 if test $succeeded = yes; then
22814
22815 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22817
22818 else
22819
22820 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22821 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22822 { (exit 1); exit 1; }; }
22823
22824
22825 fi
22826
22827
22828 succeeded=no
22829
22830 if test -z "$PKG_CONFIG"; then
22831 # Extract the first word of "pkg-config", so it can be a program name with args.
22832 set dummy pkg-config; ac_word=$2
22833 echo "$as_me:$LINENO: checking for $ac_word" >&5
22834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22835 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 else
22838 case $PKG_CONFIG in
22839 [\\/]* | ?:[\\/]*)
22840 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22841 ;;
22842 *)
22843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22844 for as_dir in $PATH
22845 do
22846 IFS=$as_save_IFS
22847 test -z "$as_dir" && as_dir=.
22848 for ac_exec_ext in '' $ac_executable_extensions; do
22849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22850 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22852 break 2
22853 fi
22854 done
22855 done
22856
22857 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22858 ;;
22859 esac
22860 fi
22861 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22862
22863 if test -n "$PKG_CONFIG"; then
22864 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22865 echo "${ECHO_T}$PKG_CONFIG" >&6
22866 else
22867 echo "$as_me:$LINENO: result: no" >&5
22868 echo "${ECHO_T}no" >&6
22869 fi
22870
22871 fi
22872
22873 if test "$PKG_CONFIG" = "no" ; then
22874 echo "*** The pkg-config script could not be found. Make sure it is"
22875 echo "*** in your path, or set the PKG_CONFIG environment variable"
22876 echo "*** to the full path to pkg-config."
22877 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22878 else
22879 PKG_CONFIG_MIN_VERSION=0.9.0
22880 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22881 echo "$as_me:$LINENO: checking for pangoft2" >&5
22882 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22883
22884 if $PKG_CONFIG --exists "pangoft2" ; then
22885 echo "$as_me:$LINENO: result: yes" >&5
22886 echo "${ECHO_T}yes" >&6
22887 succeeded=yes
22888
22889 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22890 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22891 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22892 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22893 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22894
22895 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22896 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22897 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22898 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22899 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22900 else
22901 PANGOFT2_CFLAGS=""
22902 PANGOFT2_LIBS=""
22903 ## If we have a custom action on failure, don't print errors, but
22904 ## do set a variable so people can do so.
22905 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22906
22907 fi
22908
22909
22910
22911 else
22912 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22913 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22914 fi
22915 fi
22916
22917 if test $succeeded = yes; then
22918
22919 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22920 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22921
22922 else
22923
22924 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22925 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22926 wxUSE_PRINTING_ARCHITECTURE="no"
22927
22928
22929 fi
22930
22931
22932 succeeded=no
22933
22934 if test -z "$PKG_CONFIG"; then
22935 # Extract the first word of "pkg-config", so it can be a program name with args.
22936 set dummy pkg-config; ac_word=$2
22937 echo "$as_me:$LINENO: checking for $ac_word" >&5
22938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22939 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22940 echo $ECHO_N "(cached) $ECHO_C" >&6
22941 else
22942 case $PKG_CONFIG in
22943 [\\/]* | ?:[\\/]*)
22944 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22945 ;;
22946 *)
22947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22948 for as_dir in $PATH
22949 do
22950 IFS=$as_save_IFS
22951 test -z "$as_dir" && as_dir=.
22952 for ac_exec_ext in '' $ac_executable_extensions; do
22953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22954 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22956 break 2
22957 fi
22958 done
22959 done
22960
22961 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22962 ;;
22963 esac
22964 fi
22965 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22966
22967 if test -n "$PKG_CONFIG"; then
22968 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22969 echo "${ECHO_T}$PKG_CONFIG" >&6
22970 else
22971 echo "$as_me:$LINENO: result: no" >&5
22972 echo "${ECHO_T}no" >&6
22973 fi
22974
22975 fi
22976
22977 if test "$PKG_CONFIG" = "no" ; then
22978 echo "*** The pkg-config script could not be found. Make sure it is"
22979 echo "*** in your path, or set the PKG_CONFIG environment variable"
22980 echo "*** to the full path to pkg-config."
22981 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22982 else
22983 PKG_CONFIG_MIN_VERSION=0.9.0
22984 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22985 echo "$as_me:$LINENO: checking for pangoxft" >&5
22986 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22987
22988 if $PKG_CONFIG --exists "pangoxft" ; then
22989 echo "$as_me:$LINENO: result: yes" >&5
22990 echo "${ECHO_T}yes" >&6
22991 succeeded=yes
22992
22993 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22994 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22995 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22996 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22997 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22998
22999 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23000 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23001 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23002 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23003 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23004 else
23005 PANGOXFT_CFLAGS=""
23006 PANGOXFT_LIBS=""
23007 ## If we have a custom action on failure, don't print errors, but
23008 ## do set a variable so people can do so.
23009 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23010
23011 fi
23012
23013
23014
23015 else
23016 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23017 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23018 fi
23019 fi
23020
23021 if test $succeeded = yes; then
23022
23023 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23025
23026 else
23027
23028 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23029 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23030
23031
23032 fi
23033
23034 fi
23035
23036 wxUSE_UNIVERSAL="yes"
23037
23038 if test "$wxUSE_NANOX" = "yes"; then
23039 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23040 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"
23041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23042 else
23043 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
23044 fi
23045
23046 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23047 TOOLKIT=X11
23048 GUIDIST=X11_DIST
23049 fi
23050
23051 if test "$wxUSE_MOTIF" = 1; then
23052 if test "$no_x" = yes; then
23053 # Not all programs may use this symbol, but it does not hurt to define it.
23054
23055 cat >>confdefs.h <<\_ACEOF
23056 #define X_DISPLAY_MISSING 1
23057 _ACEOF
23058
23059 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23060 else
23061 if test -n "$x_includes"; then
23062 X_CFLAGS="$X_CFLAGS -I$x_includes"
23063 fi
23064
23065 # It would also be nice to do this for all -L options, not just this one.
23066 if test -n "$x_libraries"; then
23067 X_LIBS="$X_LIBS -L$x_libraries"
23068 # For Solaris; some versions of Sun CC require a space after -R and
23069 # others require no space. Words are not sufficient . . . .
23070 case `(uname -sr) 2>/dev/null` in
23071 "SunOS 5"*)
23072 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23073 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23074 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23075 cat >conftest.$ac_ext <<_ACEOF
23076 #line $LINENO "configure"
23077 /* confdefs.h. */
23078 _ACEOF
23079 cat confdefs.h >>conftest.$ac_ext
23080 cat >>conftest.$ac_ext <<_ACEOF
23081 /* end confdefs.h. */
23082
23083 int
23084 main ()
23085 {
23086
23087 ;
23088 return 0;
23089 }
23090 _ACEOF
23091 rm -f conftest.$ac_objext conftest$ac_exeext
23092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093 (eval $ac_link) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } &&
23097 { ac_try='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_R_nospace=yes
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_R_nospace=no
23109 fi
23110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23111 if test $ac_R_nospace = yes; then
23112 echo "$as_me:$LINENO: result: no" >&5
23113 echo "${ECHO_T}no" >&6
23114 X_LIBS="$X_LIBS -R$x_libraries"
23115 else
23116 LIBS="$ac_xsave_LIBS -R $x_libraries"
23117 cat >conftest.$ac_ext <<_ACEOF
23118 #line $LINENO "configure"
23119 /* confdefs.h. */
23120 _ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23124
23125 int
23126 main ()
23127 {
23128
23129 ;
23130 return 0;
23131 }
23132 _ACEOF
23133 rm -f conftest.$ac_objext conftest$ac_exeext
23134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23135 (eval $ac_link) 2>&5
23136 ac_status=$?
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } &&
23139 { ac_try='test -s conftest$ac_exeext'
23140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23141 (eval $ac_try) 2>&5
23142 ac_status=$?
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); }; }; then
23145 ac_R_space=yes
23146 else
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.$ac_ext >&5
23149
23150 ac_R_space=no
23151 fi
23152 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23153 if test $ac_R_space = yes; then
23154 echo "$as_me:$LINENO: result: yes" >&5
23155 echo "${ECHO_T}yes" >&6
23156 X_LIBS="$X_LIBS -R $x_libraries"
23157 else
23158 echo "$as_me:$LINENO: result: neither works" >&5
23159 echo "${ECHO_T}neither works" >&6
23160 fi
23161 fi
23162 LIBS=$ac_xsave_LIBS
23163 esac
23164 fi
23165
23166 # Check for system-dependent libraries X programs must link with.
23167 # Do this before checking for the system-independent R6 libraries
23168 # (-lICE), since we may need -lsocket or whatever for X linking.
23169
23170 if test "$ISC" = yes; then
23171 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23172 else
23173 # Martyn Johnson says this is needed for Ultrix, if the X
23174 # libraries were built with DECnet support. And Karl Berry says
23175 # the Alpha needs dnet_stub (dnet does not exist).
23176 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23177 cat >conftest.$ac_ext <<_ACEOF
23178 #line $LINENO "configure"
23179 /* confdefs.h. */
23180 _ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184
23185 /* Override any gcc2 internal prototype to avoid an error. */
23186 #ifdef __cplusplus
23187 extern "C"
23188 #endif
23189 /* We use char because int might match the return type of a gcc2
23190 builtin and then its argument prototype would still apply. */
23191 char XOpenDisplay ();
23192 int
23193 main ()
23194 {
23195 XOpenDisplay ();
23196 ;
23197 return 0;
23198 }
23199 _ACEOF
23200 rm -f conftest.$ac_objext conftest$ac_exeext
23201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23202 (eval $ac_link) 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); } &&
23206 { ac_try='test -s conftest$ac_exeext'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23212 :
23213 else
23214 echo "$as_me: failed program was:" >&5
23215 sed 's/^/| /' conftest.$ac_ext >&5
23216
23217 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23218 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23219 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23221 else
23222 ac_check_lib_save_LIBS=$LIBS
23223 LIBS="-ldnet $LIBS"
23224 cat >conftest.$ac_ext <<_ACEOF
23225 #line $LINENO "configure"
23226 /* confdefs.h. */
23227 _ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231
23232 /* Override any gcc2 internal prototype to avoid an error. */
23233 #ifdef __cplusplus
23234 extern "C"
23235 #endif
23236 /* We use char because int might match the return type of a gcc2
23237 builtin and then its argument prototype would still apply. */
23238 char dnet_ntoa ();
23239 int
23240 main ()
23241 {
23242 dnet_ntoa ();
23243 ;
23244 return 0;
23245 }
23246 _ACEOF
23247 rm -f conftest.$ac_objext conftest$ac_exeext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23249 (eval $ac_link) 2>&5
23250 ac_status=$?
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); } &&
23253 { ac_try='test -s conftest$ac_exeext'
23254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23255 (eval $ac_try) 2>&5
23256 ac_status=$?
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); }; }; then
23259 ac_cv_lib_dnet_dnet_ntoa=yes
23260 else
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.$ac_ext >&5
23263
23264 ac_cv_lib_dnet_dnet_ntoa=no
23265 fi
23266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23267 LIBS=$ac_check_lib_save_LIBS
23268 fi
23269 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23270 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23271 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23273 fi
23274
23275 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23276 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23277 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23278 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23280 else
23281 ac_check_lib_save_LIBS=$LIBS
23282 LIBS="-ldnet_stub $LIBS"
23283 cat >conftest.$ac_ext <<_ACEOF
23284 #line $LINENO "configure"
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290
23291 /* Override any gcc2 internal prototype to avoid an error. */
23292 #ifdef __cplusplus
23293 extern "C"
23294 #endif
23295 /* We use char because int might match the return type of a gcc2
23296 builtin and then its argument prototype would still apply. */
23297 char dnet_ntoa ();
23298 int
23299 main ()
23300 {
23301 dnet_ntoa ();
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest.$ac_objext conftest$ac_exeext
23307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try='test -s conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23315 ac_status=$?
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23319 else
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.$ac_ext >&5
23322
23323 ac_cv_lib_dnet_stub_dnet_ntoa=no
23324 fi
23325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23326 LIBS=$ac_check_lib_save_LIBS
23327 fi
23328 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23329 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23330 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23331 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23332 fi
23333
23334 fi
23335 fi
23336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23337 LIBS="$ac_xsave_LIBS"
23338
23339 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23340 # to get the SysV transport functions.
23341 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23342 # needs -lnsl.
23343 # The nsl library prevents programs from opening the X display
23344 # on Irix 5.2, according to T.E. Dickey.
23345 # The functions gethostbyname, getservbyname, and inet_addr are
23346 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23347 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23348 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23349 if test "${ac_cv_func_gethostbyname+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23351 else
23352 cat >conftest.$ac_ext <<_ACEOF
23353 #line $LINENO "configure"
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 /* System header to define __stub macros and hopefully few prototypes,
23360 which can conflict with char gethostbyname (); below.
23361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23362 <limits.h> exists even on freestanding compilers. */
23363 #ifdef __STDC__
23364 # include <limits.h>
23365 #else
23366 # include <assert.h>
23367 #endif
23368 /* Override any gcc2 internal prototype to avoid an error. */
23369 #ifdef __cplusplus
23370 extern "C"
23371 {
23372 #endif
23373 /* We use char because int might match the return type of a gcc2
23374 builtin and then its argument prototype would still apply. */
23375 char gethostbyname ();
23376 /* The GNU C library defines this for functions which it implements
23377 to always fail with ENOSYS. Some functions are actually named
23378 something starting with __ and the normal name is an alias. */
23379 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23380 choke me
23381 #else
23382 char (*f) () = gethostbyname;
23383 #endif
23384 #ifdef __cplusplus
23385 }
23386 #endif
23387
23388 int
23389 main ()
23390 {
23391 return f != gethostbyname;
23392 ;
23393 return 0;
23394 }
23395 _ACEOF
23396 rm -f conftest.$ac_objext conftest$ac_exeext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23398 (eval $ac_link) 2>&5
23399 ac_status=$?
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } &&
23402 { ac_try='test -s conftest$ac_exeext'
23403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23404 (eval $ac_try) 2>&5
23405 ac_status=$?
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); }; }; then
23408 ac_cv_func_gethostbyname=yes
23409 else
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23412
23413 ac_cv_func_gethostbyname=no
23414 fi
23415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23416 fi
23417 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23418 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23419
23420 if test $ac_cv_func_gethostbyname = no; then
23421 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23422 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23423 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23424 echo $ECHO_N "(cached) $ECHO_C" >&6
23425 else
23426 ac_check_lib_save_LIBS=$LIBS
23427 LIBS="-lnsl $LIBS"
23428 cat >conftest.$ac_ext <<_ACEOF
23429 #line $LINENO "configure"
23430 /* confdefs.h. */
23431 _ACEOF
23432 cat confdefs.h >>conftest.$ac_ext
23433 cat >>conftest.$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435
23436 /* Override any gcc2 internal prototype to avoid an error. */
23437 #ifdef __cplusplus
23438 extern "C"
23439 #endif
23440 /* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23442 char gethostbyname ();
23443 int
23444 main ()
23445 {
23446 gethostbyname ();
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext conftest$ac_exeext
23452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23453 (eval $ac_link) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); } &&
23457 { ac_try='test -s conftest$ac_exeext'
23458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23459 (eval $ac_try) 2>&5
23460 ac_status=$?
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23462 (exit $ac_status); }; }; then
23463 ac_cv_lib_nsl_gethostbyname=yes
23464 else
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.$ac_ext >&5
23467
23468 ac_cv_lib_nsl_gethostbyname=no
23469 fi
23470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23471 LIBS=$ac_check_lib_save_LIBS
23472 fi
23473 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23474 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23475 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23477 fi
23478
23479 if test $ac_cv_lib_nsl_gethostbyname = no; then
23480 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23481 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23482 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23483 echo $ECHO_N "(cached) $ECHO_C" >&6
23484 else
23485 ac_check_lib_save_LIBS=$LIBS
23486 LIBS="-lbsd $LIBS"
23487 cat >conftest.$ac_ext <<_ACEOF
23488 #line $LINENO "configure"
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494
23495 /* Override any gcc2 internal prototype to avoid an error. */
23496 #ifdef __cplusplus
23497 extern "C"
23498 #endif
23499 /* We use char because int might match the return type of a gcc2
23500 builtin and then its argument prototype would still apply. */
23501 char gethostbyname ();
23502 int
23503 main ()
23504 {
23505 gethostbyname ();
23506 ;
23507 return 0;
23508 }
23509 _ACEOF
23510 rm -f conftest.$ac_objext conftest$ac_exeext
23511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23512 (eval $ac_link) 2>&5
23513 ac_status=$?
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } &&
23516 { ac_try='test -s conftest$ac_exeext'
23517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23518 (eval $ac_try) 2>&5
23519 ac_status=$?
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); }; }; then
23522 ac_cv_lib_bsd_gethostbyname=yes
23523 else
23524 echo "$as_me: failed program was:" >&5
23525 sed 's/^/| /' conftest.$ac_ext >&5
23526
23527 ac_cv_lib_bsd_gethostbyname=no
23528 fi
23529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23530 LIBS=$ac_check_lib_save_LIBS
23531 fi
23532 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23533 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23534 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23535 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23536 fi
23537
23538 fi
23539 fi
23540
23541 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23542 # socket/setsockopt and other routines are undefined under SCO ODT
23543 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23544 # on later versions), says Simon Leinen: it contains gethostby*
23545 # variants that don't use the name server (or something). -lsocket
23546 # must be given before -lnsl if both are needed. We assume that
23547 # if connect needs -lnsl, so does gethostbyname.
23548 echo "$as_me:$LINENO: checking for connect" >&5
23549 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23550 if test "${ac_cv_func_connect+set}" = set; then
23551 echo $ECHO_N "(cached) $ECHO_C" >&6
23552 else
23553 cat >conftest.$ac_ext <<_ACEOF
23554 #line $LINENO "configure"
23555 /* confdefs.h. */
23556 _ACEOF
23557 cat confdefs.h >>conftest.$ac_ext
23558 cat >>conftest.$ac_ext <<_ACEOF
23559 /* end confdefs.h. */
23560 /* System header to define __stub macros and hopefully few prototypes,
23561 which can conflict with char connect (); below.
23562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23563 <limits.h> exists even on freestanding compilers. */
23564 #ifdef __STDC__
23565 # include <limits.h>
23566 #else
23567 # include <assert.h>
23568 #endif
23569 /* Override any gcc2 internal prototype to avoid an error. */
23570 #ifdef __cplusplus
23571 extern "C"
23572 {
23573 #endif
23574 /* We use char because int might match the return type of a gcc2
23575 builtin and then its argument prototype would still apply. */
23576 char connect ();
23577 /* The GNU C library defines this for functions which it implements
23578 to always fail with ENOSYS. Some functions are actually named
23579 something starting with __ and the normal name is an alias. */
23580 #if defined (__stub_connect) || defined (__stub___connect)
23581 choke me
23582 #else
23583 char (*f) () = connect;
23584 #endif
23585 #ifdef __cplusplus
23586 }
23587 #endif
23588
23589 int
23590 main ()
23591 {
23592 return f != connect;
23593 ;
23594 return 0;
23595 }
23596 _ACEOF
23597 rm -f conftest.$ac_objext conftest$ac_exeext
23598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23599 (eval $ac_link) 2>&5
23600 ac_status=$?
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); } &&
23603 { ac_try='test -s conftest$ac_exeext'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23606 ac_status=$?
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; }; then
23609 ac_cv_func_connect=yes
23610 else
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.$ac_ext >&5
23613
23614 ac_cv_func_connect=no
23615 fi
23616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23617 fi
23618 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23619 echo "${ECHO_T}$ac_cv_func_connect" >&6
23620
23621 if test $ac_cv_func_connect = no; then
23622 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23623 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23624 if test "${ac_cv_lib_socket_connect+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 else
23627 ac_check_lib_save_LIBS=$LIBS
23628 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23629 cat >conftest.$ac_ext <<_ACEOF
23630 #line $LINENO "configure"
23631 /* confdefs.h. */
23632 _ACEOF
23633 cat confdefs.h >>conftest.$ac_ext
23634 cat >>conftest.$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23636
23637 /* Override any gcc2 internal prototype to avoid an error. */
23638 #ifdef __cplusplus
23639 extern "C"
23640 #endif
23641 /* We use char because int might match the return type of a gcc2
23642 builtin and then its argument prototype would still apply. */
23643 char connect ();
23644 int
23645 main ()
23646 {
23647 connect ();
23648 ;
23649 return 0;
23650 }
23651 _ACEOF
23652 rm -f conftest.$ac_objext conftest$ac_exeext
23653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23654 (eval $ac_link) 2>&5
23655 ac_status=$?
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); } &&
23658 { ac_try='test -s conftest$ac_exeext'
23659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23660 (eval $ac_try) 2>&5
23661 ac_status=$?
23662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23663 (exit $ac_status); }; }; then
23664 ac_cv_lib_socket_connect=yes
23665 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
23669 ac_cv_lib_socket_connect=no
23670 fi
23671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23672 LIBS=$ac_check_lib_save_LIBS
23673 fi
23674 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23675 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23676 if test $ac_cv_lib_socket_connect = yes; then
23677 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23678 fi
23679
23680 fi
23681
23682 # Guillermo Gomez says -lposix is necessary on A/UX.
23683 echo "$as_me:$LINENO: checking for remove" >&5
23684 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23685 if test "${ac_cv_func_remove+set}" = set; then
23686 echo $ECHO_N "(cached) $ECHO_C" >&6
23687 else
23688 cat >conftest.$ac_ext <<_ACEOF
23689 #line $LINENO "configure"
23690 /* confdefs.h. */
23691 _ACEOF
23692 cat confdefs.h >>conftest.$ac_ext
23693 cat >>conftest.$ac_ext <<_ACEOF
23694 /* end confdefs.h. */
23695 /* System header to define __stub macros and hopefully few prototypes,
23696 which can conflict with char remove (); below.
23697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23698 <limits.h> exists even on freestanding compilers. */
23699 #ifdef __STDC__
23700 # include <limits.h>
23701 #else
23702 # include <assert.h>
23703 #endif
23704 /* Override any gcc2 internal prototype to avoid an error. */
23705 #ifdef __cplusplus
23706 extern "C"
23707 {
23708 #endif
23709 /* We use char because int might match the return type of a gcc2
23710 builtin and then its argument prototype would still apply. */
23711 char remove ();
23712 /* The GNU C library defines this for functions which it implements
23713 to always fail with ENOSYS. Some functions are actually named
23714 something starting with __ and the normal name is an alias. */
23715 #if defined (__stub_remove) || defined (__stub___remove)
23716 choke me
23717 #else
23718 char (*f) () = remove;
23719 #endif
23720 #ifdef __cplusplus
23721 }
23722 #endif
23723
23724 int
23725 main ()
23726 {
23727 return f != remove;
23728 ;
23729 return 0;
23730 }
23731 _ACEOF
23732 rm -f conftest.$ac_objext conftest$ac_exeext
23733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23734 (eval $ac_link) 2>&5
23735 ac_status=$?
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); } &&
23738 { ac_try='test -s conftest$ac_exeext'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23741 ac_status=$?
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 ac_cv_func_remove=yes
23745 else
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.$ac_ext >&5
23748
23749 ac_cv_func_remove=no
23750 fi
23751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23752 fi
23753 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23754 echo "${ECHO_T}$ac_cv_func_remove" >&6
23755
23756 if test $ac_cv_func_remove = no; then
23757 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23758 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23759 if test "${ac_cv_lib_posix_remove+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 else
23762 ac_check_lib_save_LIBS=$LIBS
23763 LIBS="-lposix $LIBS"
23764 cat >conftest.$ac_ext <<_ACEOF
23765 #line $LINENO "configure"
23766 /* confdefs.h. */
23767 _ACEOF
23768 cat confdefs.h >>conftest.$ac_ext
23769 cat >>conftest.$ac_ext <<_ACEOF
23770 /* end confdefs.h. */
23771
23772 /* Override any gcc2 internal prototype to avoid an error. */
23773 #ifdef __cplusplus
23774 extern "C"
23775 #endif
23776 /* We use char because int might match the return type of a gcc2
23777 builtin and then its argument prototype would still apply. */
23778 char remove ();
23779 int
23780 main ()
23781 {
23782 remove ();
23783 ;
23784 return 0;
23785 }
23786 _ACEOF
23787 rm -f conftest.$ac_objext conftest$ac_exeext
23788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23789 (eval $ac_link) 2>&5
23790 ac_status=$?
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try='test -s conftest$ac_exeext'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; }; then
23799 ac_cv_lib_posix_remove=yes
23800 else
23801 echo "$as_me: failed program was:" >&5
23802 sed 's/^/| /' conftest.$ac_ext >&5
23803
23804 ac_cv_lib_posix_remove=no
23805 fi
23806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23807 LIBS=$ac_check_lib_save_LIBS
23808 fi
23809 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23810 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23811 if test $ac_cv_lib_posix_remove = yes; then
23812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23813 fi
23814
23815 fi
23816
23817 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23818 echo "$as_me:$LINENO: checking for shmat" >&5
23819 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23820 if test "${ac_cv_func_shmat+set}" = set; then
23821 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 else
23823 cat >conftest.$ac_ext <<_ACEOF
23824 #line $LINENO "configure"
23825 /* confdefs.h. */
23826 _ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 /* System header to define __stub macros and hopefully few prototypes,
23831 which can conflict with char shmat (); below.
23832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23833 <limits.h> exists even on freestanding compilers. */
23834 #ifdef __STDC__
23835 # include <limits.h>
23836 #else
23837 # include <assert.h>
23838 #endif
23839 /* Override any gcc2 internal prototype to avoid an error. */
23840 #ifdef __cplusplus
23841 extern "C"
23842 {
23843 #endif
23844 /* We use char because int might match the return type of a gcc2
23845 builtin and then its argument prototype would still apply. */
23846 char shmat ();
23847 /* The GNU C library defines this for functions which it implements
23848 to always fail with ENOSYS. Some functions are actually named
23849 something starting with __ and the normal name is an alias. */
23850 #if defined (__stub_shmat) || defined (__stub___shmat)
23851 choke me
23852 #else
23853 char (*f) () = shmat;
23854 #endif
23855 #ifdef __cplusplus
23856 }
23857 #endif
23858
23859 int
23860 main ()
23861 {
23862 return f != shmat;
23863 ;
23864 return 0;
23865 }
23866 _ACEOF
23867 rm -f conftest.$ac_objext conftest$ac_exeext
23868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23869 (eval $ac_link) 2>&5
23870 ac_status=$?
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try='test -s conftest$ac_exeext'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23876 ac_status=$?
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; }; then
23879 ac_cv_func_shmat=yes
23880 else
23881 echo "$as_me: failed program was:" >&5
23882 sed 's/^/| /' conftest.$ac_ext >&5
23883
23884 ac_cv_func_shmat=no
23885 fi
23886 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23887 fi
23888 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23889 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23890
23891 if test $ac_cv_func_shmat = no; then
23892 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23893 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23894 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23895 echo $ECHO_N "(cached) $ECHO_C" >&6
23896 else
23897 ac_check_lib_save_LIBS=$LIBS
23898 LIBS="-lipc $LIBS"
23899 cat >conftest.$ac_ext <<_ACEOF
23900 #line $LINENO "configure"
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906
23907 /* Override any gcc2 internal prototype to avoid an error. */
23908 #ifdef __cplusplus
23909 extern "C"
23910 #endif
23911 /* We use char because int might match the return type of a gcc2
23912 builtin and then its argument prototype would still apply. */
23913 char shmat ();
23914 int
23915 main ()
23916 {
23917 shmat ();
23918 ;
23919 return 0;
23920 }
23921 _ACEOF
23922 rm -f conftest.$ac_objext conftest$ac_exeext
23923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23924 (eval $ac_link) 2>&5
23925 ac_status=$?
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } &&
23928 { ac_try='test -s conftest$ac_exeext'
23929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23930 (eval $ac_try) 2>&5
23931 ac_status=$?
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); }; }; then
23934 ac_cv_lib_ipc_shmat=yes
23935 else
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.$ac_ext >&5
23938
23939 ac_cv_lib_ipc_shmat=no
23940 fi
23941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23942 LIBS=$ac_check_lib_save_LIBS
23943 fi
23944 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23945 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23946 if test $ac_cv_lib_ipc_shmat = yes; then
23947 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23948 fi
23949
23950 fi
23951 fi
23952
23953 # Check for libraries that X11R6 Xt/Xaw programs need.
23954 ac_save_LDFLAGS=$LDFLAGS
23955 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23956 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23957 # check for ICE first), but we must link in the order -lSM -lICE or
23958 # we get undefined symbols. So assume we have SM if we have ICE.
23959 # These have to be linked with before -lX11, unlike the other
23960 # libraries we check for below, so use a different variable.
23961 # John Interrante, Karl Berry
23962 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23963 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23964 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23965 echo $ECHO_N "(cached) $ECHO_C" >&6
23966 else
23967 ac_check_lib_save_LIBS=$LIBS
23968 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23969 cat >conftest.$ac_ext <<_ACEOF
23970 #line $LINENO "configure"
23971 /* confdefs.h. */
23972 _ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976
23977 /* Override any gcc2 internal prototype to avoid an error. */
23978 #ifdef __cplusplus
23979 extern "C"
23980 #endif
23981 /* We use char because int might match the return type of a gcc2
23982 builtin and then its argument prototype would still apply. */
23983 char IceConnectionNumber ();
23984 int
23985 main ()
23986 {
23987 IceConnectionNumber ();
23988 ;
23989 return 0;
23990 }
23991 _ACEOF
23992 rm -f conftest.$ac_objext conftest$ac_exeext
23993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23994 (eval $ac_link) 2>&5
23995 ac_status=$?
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try='test -s conftest$ac_exeext'
23999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24000 (eval $ac_try) 2>&5
24001 ac_status=$?
24002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003 (exit $ac_status); }; }; then
24004 ac_cv_lib_ICE_IceConnectionNumber=yes
24005 else
24006 echo "$as_me: failed program was:" >&5
24007 sed 's/^/| /' conftest.$ac_ext >&5
24008
24009 ac_cv_lib_ICE_IceConnectionNumber=no
24010 fi
24011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24012 LIBS=$ac_check_lib_save_LIBS
24013 fi
24014 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24015 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24016 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24017 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24018 fi
24019
24020 LDFLAGS=$ac_save_LDFLAGS
24021
24022 fi
24023
24024
24025 if test "$no_x" = "yes"; then
24026 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24027 echo "$as_me: error: X11 not found" >&2;}
24028 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24029 fi
24030
24031 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24032 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24033 AFMINSTALL=afminstall
24034 COMPILED_X_PROGRAM=0
24035
24036 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24037 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24038
24039 ac_find_includes=
24040 for ac_dir in $SEARCH_INCLUDE /usr/include;
24041 do
24042 if test -f "$ac_dir/Xm/Xm.h"; then
24043 ac_find_includes=$ac_dir
24044 break
24045 fi
24046 done
24047
24048 if test "$ac_find_includes" != "" ; then
24049 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24050 echo "${ECHO_T}found in $ac_find_includes" >&6
24051
24052 if test "x$ac_find_includes" = "x/usr/include"; then
24053 ac_path_to_include=""
24054 else
24055 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24056 result=$?
24057 if test $result = 0; then
24058 ac_path_to_include=""
24059 else
24060 ac_path_to_include=" -I$ac_find_includes"
24061 fi
24062 fi
24063
24064 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24065 else
24066 cat >conftest.$ac_ext <<_ACEOF
24067 #line $LINENO "configure"
24068 /* confdefs.h. */
24069 _ACEOF
24070 cat confdefs.h >>conftest.$ac_ext
24071 cat >>conftest.$ac_ext <<_ACEOF
24072 /* end confdefs.h. */
24073
24074 #include <Xm/Xm.h>
24075
24076 int
24077 main ()
24078 {
24079
24080 int version;
24081 version = xmUseVersion;
24082
24083 ;
24084 return 0;
24085 }
24086 _ACEOF
24087 rm -f conftest.$ac_objext
24088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24089 (eval $ac_compile) 2>&5
24090 ac_status=$?
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } &&
24093 { ac_try='test -s conftest.$ac_objext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24096 ac_status=$?
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099
24100 echo "$as_me:$LINENO: result: found in default search path" >&5
24101 echo "${ECHO_T}found in default search path" >&6
24102 COMPILED_X_PROGRAM=1
24103
24104 else
24105 echo "$as_me: failed program was:" >&5
24106 sed 's/^/| /' conftest.$ac_ext >&5
24107
24108
24109 echo "$as_me:$LINENO: result: no" >&5
24110 echo "${ECHO_T}no" >&6
24111 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24112 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24113 { (exit 1); exit 1; }; }
24114
24115
24116 fi
24117 rm -f conftest.$ac_objext conftest.$ac_ext
24118 fi
24119
24120 if test "$COMPILED_X_PROGRAM" = 0; then
24121 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24122 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24123
24124 ac_find_libraries=
24125 for ac_dir in $SEARCH_LIB /usr/lib;
24126 do
24127 for ac_extension in a so sl dylib; do
24128 if test -f "$ac_dir/libXm.$ac_extension"; then
24129 ac_find_libraries=$ac_dir
24130 break 2
24131 fi
24132 done
24133 done
24134
24135 if test "$ac_find_libraries" != "" ; then
24136 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24137 echo "${ECHO_T}found at $ac_find_libraries" >&6
24138
24139
24140 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24141 result=$?
24142 if test $result = 0; then
24143 ac_path_to_link=""
24144 else
24145 ac_path_to_link=" -L$ac_find_libraries"
24146 fi
24147
24148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24149 else
24150 save_CFLAGS=$CFLAGS
24151 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24152
24153 cat >conftest.$ac_ext <<_ACEOF
24154 #line $LINENO "configure"
24155 /* confdefs.h. */
24156 _ACEOF
24157 cat confdefs.h >>conftest.$ac_ext
24158 cat >>conftest.$ac_ext <<_ACEOF
24159 /* end confdefs.h. */
24160
24161 #include <Xm/Xm.h>
24162
24163 int
24164 main ()
24165 {
24166
24167 int version;
24168 version = xmUseVersion;
24169
24170 ;
24171 return 0;
24172 }
24173 _ACEOF
24174 rm -f conftest.$ac_objext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24176 (eval $ac_compile) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try='test -s conftest.$ac_objext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24183 ac_status=$?
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24186
24187 echo "$as_me:$LINENO: result: found in default search path" >&5
24188 echo "${ECHO_T}found in default search path" >&6
24189 COMPILED_X_PROGRAM=1
24190
24191 else
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.$ac_ext >&5
24194
24195
24196 echo "$as_me:$LINENO: result: no" >&5
24197 echo "${ECHO_T}no" >&6
24198 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24199 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24200 { (exit 1); exit 1; }; }
24201
24202
24203 fi
24204 rm -f conftest.$ac_objext conftest.$ac_ext
24205
24206 CFLAGS=$save_CFLAGS
24207 fi
24208 fi
24209
24210 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24211 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24212 libp_link=""
24213 libsm_ice_link=""
24214 libs_found=0
24215 for libp in "" " -lXp"; do
24216 if test "$libs_found" = "0"; then
24217 for libsm_ice in "" " -lSM -lICE"; do
24218 if test "$libs_found" = "0"; then
24219 save_LIBS="$LIBS"
24220 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24221 save_CFLAGS=$CFLAGS
24222 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24223
24224 cat >conftest.$ac_ext <<_ACEOF
24225 #line $LINENO "configure"
24226 /* confdefs.h. */
24227 _ACEOF
24228 cat confdefs.h >>conftest.$ac_ext
24229 cat >>conftest.$ac_ext <<_ACEOF
24230 /* end confdefs.h. */
24231
24232 #include <Xm/Xm.h>
24233 #include <Xm/List.h>
24234
24235 int
24236 main ()
24237 {
24238
24239 XmString string = NULL;
24240 Widget w = NULL;
24241 int position = 0;
24242 XmListAddItem(w, string, position);
24243
24244 ;
24245 return 0;
24246 }
24247 _ACEOF
24248 rm -f conftest.$ac_objext conftest$ac_exeext
24249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24250 (eval $ac_link) 2>&5
24251 ac_status=$?
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); } &&
24254 { ac_try='test -s conftest$ac_exeext'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; }; then
24260
24261 libp_link="$libp"
24262 libsm_ice_link="$libsm_ice"
24263 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24264 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24265 libs_found=1
24266
24267 else
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24270
24271
24272
24273 fi
24274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24275
24276 LIBS="$save_LIBS"
24277 CFLAGS=$save_CFLAGS
24278 fi
24279 done
24280 fi
24281 done
24282
24283 if test "$libs_found" = "0"; then
24284 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24285 echo "${ECHO_T}can't find the right libraries" >&6
24286 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24287 echo "$as_me: error: can't link a simple motif program" >&2;}
24288 { (exit 1); exit 1; }; }
24289 fi
24290
24291 save_CFLAGS=$CFLAGS
24292 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24293 echo "$as_me:$LINENO: checking for Motif 2" >&5
24294 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24295 cat >conftest.$ac_ext <<_ACEOF
24296 #line $LINENO "configure"
24297 /* confdefs.h. */
24298 _ACEOF
24299 cat confdefs.h >>conftest.$ac_ext
24300 cat >>conftest.$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302
24303 #include <Xm/Xm.h>
24304
24305 int
24306 main ()
24307 {
24308
24309 #if XmVersion < 2000
24310 #error "Not Motif 2"
24311 #endif
24312
24313 ;
24314 return 0;
24315 }
24316 _ACEOF
24317 rm -f conftest.$ac_objext
24318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24319 (eval $ac_compile) 2>&5
24320 ac_status=$?
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } &&
24323 { ac_try='test -s conftest.$ac_objext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24326 ac_status=$?
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24329
24330 cat >>confdefs.h <<\_ACEOF
24331 #define __WXMOTIF20__ 1
24332 _ACEOF
24333
24334 echo "$as_me:$LINENO: result: found" >&5
24335 echo "${ECHO_T}found" >&6
24336
24337 else
24338 echo "$as_me: failed program was:" >&5
24339 sed 's/^/| /' conftest.$ac_ext >&5
24340
24341
24342 cat >>confdefs.h <<\_ACEOF
24343 #define __WXMOTIF20__ 0
24344 _ACEOF
24345
24346 echo "$as_me:$LINENO: result: not found" >&5
24347 echo "${ECHO_T}not found" >&6
24348
24349 fi
24350 rm -f conftest.$ac_objext conftest.$ac_ext
24351 CFLAGS=$save_CFLAGS
24352
24353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24354 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24355 TOOLKIT=MOTIF
24356 GUIDIST=MOTIF_DIST
24357 fi
24358
24359 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24360 if test "$wxUSE_LIBXPM" = "sys"; then
24361 echo "$as_me:$LINENO: checking for Xpm library" >&5
24362 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24363
24364 ac_find_libraries=
24365 for ac_dir in $SEARCH_LIB /usr/lib;
24366 do
24367 for ac_extension in a so sl dylib; do
24368 if test -f "$ac_dir/libXpm.$ac_extension"; then
24369 ac_find_libraries=$ac_dir
24370 break 2
24371 fi
24372 done
24373 done
24374
24375 if test "$ac_find_libraries" != "" ; then
24376
24377 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24378 result=$?
24379 if test $result = 0; then
24380 ac_path_to_link=""
24381 else
24382 ac_path_to_link=" -L$ac_find_libraries"
24383 fi
24384
24385 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24386 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24387 echo "${ECHO_T}found at $ac_find_libraries" >&6
24388
24389 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24390 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24391 if test "${wx_cv_x11_xpm_h+set}" = set; then
24392 echo $ECHO_N "(cached) $ECHO_C" >&6
24393 else
24394
24395 save_CFLAGS=$CFLAGS
24396 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24397
24398 cat >conftest.$ac_ext <<_ACEOF
24399 #line $LINENO "configure"
24400 /* confdefs.h. */
24401 _ACEOF
24402 cat confdefs.h >>conftest.$ac_ext
24403 cat >>conftest.$ac_ext <<_ACEOF
24404 /* end confdefs.h. */
24405
24406 #include <X11/xpm.h>
24407
24408 int
24409 main ()
24410 {
24411
24412 int version;
24413 version = XpmLibraryVersion();
24414
24415 ;
24416 return 0;
24417 }
24418 _ACEOF
24419 rm -f conftest.$ac_objext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24421 (eval $ac_compile) 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } &&
24425 { ac_try='test -s conftest.$ac_objext'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24428 ac_status=$?
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; }; then
24431 wx_cv_x11_xpm_h=yes
24432 else
24433 echo "$as_me: failed program was:" >&5
24434 sed 's/^/| /' conftest.$ac_ext >&5
24435
24436 wx_cv_x11_xpm_h=no
24437
24438 fi
24439 rm -f conftest.$ac_objext conftest.$ac_ext
24440
24441 CFLAGS=$save_CFLAGS
24442
24443
24444 fi
24445 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24446 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24447
24448 if test $wx_cv_x11_xpm_h = "yes"; then
24449 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
24450 cat >>confdefs.h <<\_ACEOF
24451 #define wxHAVE_LIB_XPM 1
24452 _ACEOF
24453
24454 else
24455 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24456 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24457 fi
24458 fi
24459
24460 fi
24461
24462 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24463 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24464 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24466 else
24467 ac_check_lib_save_LIBS=$LIBS
24468 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24469 cat >conftest.$ac_ext <<_ACEOF
24470 #line $LINENO "configure"
24471 /* confdefs.h. */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476
24477 /* Override any gcc2 internal prototype to avoid an error. */
24478 #ifdef __cplusplus
24479 extern "C"
24480 #endif
24481 /* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24483 char XShapeQueryExtension ();
24484 int
24485 main ()
24486 {
24487 XShapeQueryExtension ();
24488 ;
24489 return 0;
24490 }
24491 _ACEOF
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } &&
24498 { ac_try='test -s conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24501 ac_status=$?
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 ac_cv_lib_Xext_XShapeQueryExtension=yes
24505 else
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24508
24509 ac_cv_lib_Xext_XShapeQueryExtension=no
24510 fi
24511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24512 LIBS=$ac_check_lib_save_LIBS
24513 fi
24514 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24515 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24516 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24517
24518 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
24519 wxHAVE_XEXT_LIB=1
24520
24521 fi
24522
24523
24524 if test "$wxHAVE_XEXT_LIB" = 1; then
24525 save_CFLAGS="$CFLAGS"
24526 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24527
24528 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24529 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24530 cat >conftest.$ac_ext <<_ACEOF
24531 #line $LINENO "configure"
24532 /* confdefs.h. */
24533 _ACEOF
24534 cat confdefs.h >>conftest.$ac_ext
24535 cat >>conftest.$ac_ext <<_ACEOF
24536 /* end confdefs.h. */
24537
24538 #include <X11/Xlib.h>
24539 #include <X11/extensions/shape.h>
24540
24541 int
24542 main ()
24543 {
24544
24545 int dummy1, dummy2;
24546 XShapeQueryExtension((Display*)NULL,
24547 (int*)NULL, (int*)NULL);
24548
24549 ;
24550 return 0;
24551 }
24552 _ACEOF
24553 rm -f conftest.$ac_objext
24554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24555 (eval $ac_compile) 2>&5
24556 ac_status=$?
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try='test -s conftest.$ac_objext'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24562 ac_status=$?
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; }; then
24565
24566 cat >>confdefs.h <<\_ACEOF
24567 #define HAVE_XSHAPE 1
24568 _ACEOF
24569
24570 echo "$as_me:$LINENO: result: found" >&5
24571 echo "${ECHO_T}found" >&6
24572
24573 else
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.$ac_ext >&5
24576
24577
24578 echo "$as_me:$LINENO: result: not found" >&5
24579 echo "${ECHO_T}not found" >&6
24580
24581 fi
24582 rm -f conftest.$ac_objext conftest.$ac_ext
24583 CFLAGS="$save_CFLAGS"
24584
24585 fi
24586 fi
24587
24588 if test "$wxUSE_MAC" = 1; then
24589 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24590 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24591 if test "$GCC" = yes; then
24592 echo "$as_me:$LINENO: result: gcc" >&5
24593 echo "${ECHO_T}gcc" >&6
24594 CPPFLAGS_PASCAL="-fpascal-strings"
24595 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24596 echo "$as_me:$LINENO: result: xlc" >&5
24597 echo "${ECHO_T}xlc" >&6
24598 CPPFLAGS_PASCAL="-qmacpstr"
24599 else
24600 echo "$as_me:$LINENO: result: none" >&5
24601 echo "${ECHO_T}none" >&6
24602 fi
24603
24604 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24605
24606 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24607 TOOLKIT=MAC
24608 GUIDIST=MACX_DIST
24609 WXBASEPORT="_carbon"
24610 fi
24611
24612 if test "$wxUSE_COCOA" = 1; then
24613 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24614 TOOLKIT=COCOA
24615 GUIDIST=COCOA_DIST
24616 fi
24617
24618 if test "$wxUSE_PM" = 1; then
24619 TOOLKIT=PM
24620 GUIDIST=GTK_DIST
24621 fi
24622
24623 if test "$TOOLKIT" = "PM" ; then
24624 TOOLKIT_DIR="os2"
24625 else
24626 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24627 fi
24628
24629 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24630
24631 if test "$wxUSE_UNIVERSAL" = "yes"; then
24632 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24633
24634 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24635 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24636
24637 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24638 if test "$wxUSE_X11" = 1; then
24639 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24640 else
24641 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24642 fi
24643 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24644 WIDGET_SET=univ
24645 else
24646 ALL_OBJECTS="\$(GUIOBJS)"
24647 ALL_SOURCES="\$(ALL_SOURCES)"
24648 ALL_HEADERS="\$(ALL_HEADERS)"
24649 fi
24650
24651 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24652
24653 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24654 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24655 fi
24656
24657 if test "$wxUSE_HTML" = "yes"; then
24658 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24659 fi
24660
24661 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24662 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24663 fi
24664 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24665 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24666 fi
24667 if test "$wxUSE_LIBPNG" = "builtin" ; then
24668 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24669 fi
24670
24671 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24672 DISTDIR="wx\$(TOOLKIT)"
24673 else
24674 USE_GUI=0
24675
24676 TOOLKIT_DIR="base"
24677
24678 if test "$USE_WIN32" = 1 ; then
24679 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24680 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24681
24682 TOOLKIT="MSW"
24683 else
24684 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24685 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24686 fi
24687
24688 ALL_SOURCES="\$(ALL_SOURCES)"
24689 ALL_HEADERS="\$(ALL_HEADERS)"
24690
24691 PORT_FILES="\${top_srcdir}/src/files.lst"
24692
24693 GUIDIST="BASE_DIST"
24694 DISTDIR="wxBase"
24695 fi
24696
24697
24698
24699
24700 IODBC_C_SRC=""
24701
24702
24703 if test "$TOOLKIT" != "MSW" ; then
24704
24705 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24706
24707 if test "${ac_cv_header_sql_h+set}" = set; then
24708 echo "$as_me:$LINENO: checking for sql.h" >&5
24709 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24710 if test "${ac_cv_header_sql_h+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24712 fi
24713 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24714 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24715 else
24716 # Is the header compilable?
24717 echo "$as_me:$LINENO: checking sql.h usability" >&5
24718 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24719 cat >conftest.$ac_ext <<_ACEOF
24720 #line $LINENO "configure"
24721 /* confdefs.h. */
24722 _ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24726 $ac_includes_default
24727 #include <sql.h>
24728 _ACEOF
24729 rm -f conftest.$ac_objext
24730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24731 (eval $ac_compile) 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try='test -s conftest.$ac_objext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_header_compiler=yes
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24745
24746 ac_header_compiler=no
24747 fi
24748 rm -f conftest.$ac_objext conftest.$ac_ext
24749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24750 echo "${ECHO_T}$ac_header_compiler" >&6
24751
24752 # Is the header present?
24753 echo "$as_me:$LINENO: checking sql.h presence" >&5
24754 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24755 cat >conftest.$ac_ext <<_ACEOF
24756 #line $LINENO "configure"
24757 /* confdefs.h. */
24758 _ACEOF
24759 cat confdefs.h >>conftest.$ac_ext
24760 cat >>conftest.$ac_ext <<_ACEOF
24761 /* end confdefs.h. */
24762 #include <sql.h>
24763 _ACEOF
24764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24766 ac_status=$?
24767 grep -v '^ *+' conftest.er1 >conftest.err
24768 rm -f conftest.er1
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } >/dev/null; then
24772 if test -s conftest.err; then
24773 ac_cpp_err=$ac_c_preproc_warn_flag
24774 else
24775 ac_cpp_err=
24776 fi
24777 else
24778 ac_cpp_err=yes
24779 fi
24780 if test -z "$ac_cpp_err"; then
24781 ac_header_preproc=yes
24782 else
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.$ac_ext >&5
24785
24786 ac_header_preproc=no
24787 fi
24788 rm -f conftest.err conftest.$ac_ext
24789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24790 echo "${ECHO_T}$ac_header_preproc" >&6
24791
24792 # So? What about this header?
24793 case $ac_header_compiler:$ac_header_preproc in
24794 yes:no )
24795 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24796 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24797 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24798 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24799 (
24800 cat <<\_ASBOX
24801 ## ------------------------------------ ##
24802 ## Report this to bug-autoconf@gnu.org. ##
24803 ## ------------------------------------ ##
24804 _ASBOX
24805 ) |
24806 sed "s/^/$as_me: WARNING: /" >&2
24807 ;;
24808 no:yes )
24809 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24810 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24811 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24812 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24813 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24814 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24815 (
24816 cat <<\_ASBOX
24817 ## ------------------------------------ ##
24818 ## Report this to bug-autoconf@gnu.org. ##
24819 ## ------------------------------------ ##
24820 _ASBOX
24821 ) |
24822 sed "s/^/$as_me: WARNING: /" >&2
24823 ;;
24824 esac
24825 echo "$as_me:$LINENO: checking for sql.h" >&5
24826 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24827 if test "${ac_cv_header_sql_h+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24830 ac_cv_header_sql_h=$ac_header_preproc
24831 fi
24832 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24833 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24834
24835 fi
24836 if test $ac_cv_header_sql_h = yes; then
24837 found_sql_h=1
24838 fi
24839
24840
24841 if test "x$found_sql_h" = "x1" ; then
24842 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24843 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24844 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24846 else
24847 ac_check_lib_save_LIBS=$LIBS
24848 LIBS="-liodbc $LIBS"
24849 cat >conftest.$ac_ext <<_ACEOF
24850 #line $LINENO "configure"
24851 /* confdefs.h. */
24852 _ACEOF
24853 cat confdefs.h >>conftest.$ac_ext
24854 cat >>conftest.$ac_ext <<_ACEOF
24855 /* end confdefs.h. */
24856
24857 /* Override any gcc2 internal prototype to avoid an error. */
24858 #ifdef __cplusplus
24859 extern "C"
24860 #endif
24861 /* We use char because int might match the return type of a gcc2
24862 builtin and then its argument prototype would still apply. */
24863 char SQLAllocEnv ();
24864 int
24865 main ()
24866 {
24867 SQLAllocEnv ();
24868 ;
24869 return 0;
24870 }
24871 _ACEOF
24872 rm -f conftest.$ac_objext conftest$ac_exeext
24873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24874 (eval $ac_link) 2>&5
24875 ac_status=$?
24876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24877 (exit $ac_status); } &&
24878 { ac_try='test -s conftest$ac_exeext'
24879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24880 (eval $ac_try) 2>&5
24881 ac_status=$?
24882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24883 (exit $ac_status); }; }; then
24884 ac_cv_lib_iodbc_SQLAllocEnv=yes
24885 else
24886 echo "$as_me: failed program was:" >&5
24887 sed 's/^/| /' conftest.$ac_ext >&5
24888
24889 ac_cv_lib_iodbc_SQLAllocEnv=no
24890 fi
24891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24892 LIBS=$ac_check_lib_save_LIBS
24893 fi
24894 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24895 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24896 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24897 ODBC_LINK=" -liodbc"
24898 else
24899
24900 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24901 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24902 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24904 else
24905 ac_check_lib_save_LIBS=$LIBS
24906 LIBS="-lunixodbc $LIBS"
24907 cat >conftest.$ac_ext <<_ACEOF
24908 #line $LINENO "configure"
24909 /* confdefs.h. */
24910 _ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24914
24915 /* Override any gcc2 internal prototype to avoid an error. */
24916 #ifdef __cplusplus
24917 extern "C"
24918 #endif
24919 /* We use char because int might match the return type of a gcc2
24920 builtin and then its argument prototype would still apply. */
24921 char SQLAllocEnv ();
24922 int
24923 main ()
24924 {
24925 SQLAllocEnv ();
24926 ;
24927 return 0;
24928 }
24929 _ACEOF
24930 rm -f conftest.$ac_objext conftest$ac_exeext
24931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24932 (eval $ac_link) 2>&5
24933 ac_status=$?
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); } &&
24936 { ac_try='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24939 ac_status=$?
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24943 else
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.$ac_ext >&5
24946
24947 ac_cv_lib_unixodbc_SQLAllocEnv=no
24948 fi
24949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24950 LIBS=$ac_check_lib_save_LIBS
24951 fi
24952 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24953 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24954 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24955 ODBC_LINK=" -lunixodbc"
24956 else
24957
24958 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24959 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24960 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24961 echo $ECHO_N "(cached) $ECHO_C" >&6
24962 else
24963 ac_check_lib_save_LIBS=$LIBS
24964 LIBS="-lodbc $LIBS"
24965 cat >conftest.$ac_ext <<_ACEOF
24966 #line $LINENO "configure"
24967 /* confdefs.h. */
24968 _ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24972
24973 /* Override any gcc2 internal prototype to avoid an error. */
24974 #ifdef __cplusplus
24975 extern "C"
24976 #endif
24977 /* We use char because int might match the return type of a gcc2
24978 builtin and then its argument prototype would still apply. */
24979 char SQLAllocEnv ();
24980 int
24981 main ()
24982 {
24983 SQLAllocEnv ();
24984 ;
24985 return 0;
24986 }
24987 _ACEOF
24988 rm -f conftest.$ac_objext conftest$ac_exeext
24989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24990 (eval $ac_link) 2>&5
24991 ac_status=$?
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try='test -s conftest$ac_exeext'
24995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24996 (eval $ac_try) 2>&5
24997 ac_status=$?
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); }; }; then
25000 ac_cv_lib_odbc_SQLAllocEnv=yes
25001 else
25002 echo "$as_me: failed program was:" >&5
25003 sed 's/^/| /' conftest.$ac_ext >&5
25004
25005 ac_cv_lib_odbc_SQLAllocEnv=no
25006 fi
25007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25008 LIBS=$ac_check_lib_save_LIBS
25009 fi
25010 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25011 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25012 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25013 ODBC_LINK=" -lodbc"
25014 fi
25015
25016
25017 fi
25018
25019
25020 fi
25021
25022 fi
25023 if test "x$ODBC_LINK" = "x" ; then
25024 if test "$wxUSE_ODBC" = "sys" ; then
25025 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25026 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25027 { (exit 1); exit 1; }; }
25028 else
25029 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25030 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25031 wxUSE_ODBC=builtin
25032 fi
25033 else
25034 wxUSE_ODBC=sys
25035 fi
25036 fi
25037 if test "$wxUSE_ODBC" != "no" ; then
25038 cat >>confdefs.h <<\_ACEOF
25039 #define wxUSE_ODBC 1
25040 _ACEOF
25041
25042 if test "$wxUSE_ODBC" = "builtin" ; then
25043 cat >>confdefs.h <<\_ACEOF
25044 #define wxUSE_BUILTIN_IODBC 1
25045 _ACEOF
25046
25047 fi
25048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25049
25050 WXODBCFLAG="-D_IODBC_"
25051 fi
25052 fi
25053
25054 if test "$wxUSE_REGEX" = "builtin" ; then
25055 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25056 fi
25057 if test "$wxUSE_ZLIB" = "builtin" ; then
25058 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25059 fi
25060
25061
25062 USE_OPENGL=0
25063 if test "$wxUSE_OPENGL" = "yes"; then
25064 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25065 OPENGL_LIBS="-framework OpenGL -framework AGL"
25066 elif test "$wxUSE_MSW" = 1; then
25067 OPENGL_LIBS="-lopengl32 -lglu32"
25068 else
25069
25070
25071 ac_find_includes=
25072 for ac_dir in $SEARCH_INCLUDE /usr/include;
25073 do
25074 if test -f "$ac_dir/GL/gl.h"; then
25075 ac_find_includes=$ac_dir
25076 break
25077 fi
25078 done
25079
25080 if test "$ac_find_includes" != "" ; then
25081 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25082 echo "${ECHO_T}found in $ac_find_includes" >&6
25083
25084 if test "x$ac_find_includes" = "x/usr/include"; then
25085 ac_path_to_include=""
25086 else
25087 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25088 result=$?
25089 if test $result = 0; then
25090 ac_path_to_include=""
25091 else
25092 ac_path_to_include=" -I$ac_find_includes"
25093 fi
25094 fi
25095
25096 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25097 fi
25098
25099 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25100 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25101 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25102 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25103 echo $ECHO_N "(cached) $ECHO_C" >&6
25104 fi
25105 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25106 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25107 else
25108 # Is the header compilable?
25109 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25110 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25111 cat >conftest.$ac_ext <<_ACEOF
25112 #line $LINENO "configure"
25113 /* confdefs.h. */
25114 _ACEOF
25115 cat confdefs.h >>conftest.$ac_ext
25116 cat >>conftest.$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25118 $ac_includes_default
25119 #include <GL/gl.h>
25120 _ACEOF
25121 rm -f conftest.$ac_objext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25123 (eval $ac_compile) 2>&5
25124 ac_status=$?
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } &&
25127 { ac_try='test -s conftest.$ac_objext'
25128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129 (eval $ac_try) 2>&5
25130 ac_status=$?
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); }; }; then
25133 ac_header_compiler=yes
25134 else
25135 echo "$as_me: failed program was:" >&5
25136 sed 's/^/| /' conftest.$ac_ext >&5
25137
25138 ac_header_compiler=no
25139 fi
25140 rm -f conftest.$ac_objext conftest.$ac_ext
25141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25142 echo "${ECHO_T}$ac_header_compiler" >&6
25143
25144 # Is the header present?
25145 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25146 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25147 cat >conftest.$ac_ext <<_ACEOF
25148 #line $LINENO "configure"
25149 /* confdefs.h. */
25150 _ACEOF
25151 cat confdefs.h >>conftest.$ac_ext
25152 cat >>conftest.$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25154 #include <GL/gl.h>
25155 _ACEOF
25156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25158 ac_status=$?
25159 grep -v '^ *+' conftest.er1 >conftest.err
25160 rm -f conftest.er1
25161 cat conftest.err >&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } >/dev/null; then
25164 if test -s conftest.err; then
25165 ac_cpp_err=$ac_c_preproc_warn_flag
25166 else
25167 ac_cpp_err=
25168 fi
25169 else
25170 ac_cpp_err=yes
25171 fi
25172 if test -z "$ac_cpp_err"; then
25173 ac_header_preproc=yes
25174 else
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.$ac_ext >&5
25177
25178 ac_header_preproc=no
25179 fi
25180 rm -f conftest.err conftest.$ac_ext
25181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25182 echo "${ECHO_T}$ac_header_preproc" >&6
25183
25184 # So? What about this header?
25185 case $ac_header_compiler:$ac_header_preproc in
25186 yes:no )
25187 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25188 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25189 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25190 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25191 (
25192 cat <<\_ASBOX
25193 ## ------------------------------------ ##
25194 ## Report this to bug-autoconf@gnu.org. ##
25195 ## ------------------------------------ ##
25196 _ASBOX
25197 ) |
25198 sed "s/^/$as_me: WARNING: /" >&2
25199 ;;
25200 no:yes )
25201 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25202 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25204 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25205 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25206 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25207 (
25208 cat <<\_ASBOX
25209 ## ------------------------------------ ##
25210 ## Report this to bug-autoconf@gnu.org. ##
25211 ## ------------------------------------ ##
25212 _ASBOX
25213 ) |
25214 sed "s/^/$as_me: WARNING: /" >&2
25215 ;;
25216 esac
25217 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25218 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25219 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25221 else
25222 ac_cv_header_GL_gl_h=$ac_header_preproc
25223 fi
25224 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25225 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25226
25227 fi
25228 if test $ac_cv_header_GL_gl_h = yes; then
25229
25230 found_gl=0
25231
25232 echo "$as_me:$LINENO: checking for -lGL" >&5
25233 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25234
25235 ac_find_libraries=
25236 for ac_dir in $SEARCH_LIB /usr/lib;
25237 do
25238 for ac_extension in a so sl dylib; do
25239 if test -f "$ac_dir/libGL.$ac_extension"; then
25240 ac_find_libraries=$ac_dir
25241 break 2
25242 fi
25243 done
25244 done
25245
25246 if test "$ac_find_libraries" != "" ; then
25247
25248 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25249 result=$?
25250 if test $result = 0; then
25251 ac_path_to_link=""
25252 else
25253 ac_path_to_link=" -L$ac_find_libraries"
25254 fi
25255
25256 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25257 LDFLAGS_GL="$ac_path_to_link"
25258 fi
25259
25260
25261 ac_find_libraries=
25262 for ac_dir in $SEARCH_LIB /usr/lib;
25263 do
25264 for ac_extension in a so sl dylib; do
25265 if test -f "$ac_dir/libGLU.$ac_extension"; then
25266 ac_find_libraries=$ac_dir
25267 break 2
25268 fi
25269 done
25270 done
25271
25272 if test "$ac_find_libraries" != "" ; then
25273
25274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25275 result=$?
25276 if test $result = 0; then
25277 ac_path_to_link=""
25278 else
25279 ac_path_to_link=" -L$ac_find_libraries"
25280 fi
25281
25282 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25283 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25284 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25285 fi
25286
25287 found_gl=1
25288 OPENGL_LIBS="-lGL -lGLU"
25289 echo "$as_me:$LINENO: result: yes" >&5
25290 echo "${ECHO_T}yes" >&6
25291 fi
25292 fi
25293
25294 if test "$found_gl" != 1; then
25295 echo "$as_me:$LINENO: result: no" >&5
25296 echo "${ECHO_T}no" >&6
25297 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25298 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25299
25300 ac_find_libraries=
25301 for ac_dir in $SEARCH_LIB /usr/lib;
25302 do
25303 for ac_extension in a so sl dylib; do
25304 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25305 ac_find_libraries=$ac_dir
25306 break 2
25307 fi
25308 done
25309 done
25310
25311 if test "$ac_find_libraries" != "" ; then
25312
25313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25314 result=$?
25315 if test $result = 0; then
25316 ac_path_to_link=""
25317 else
25318 ac_path_to_link=" -L$ac_find_libraries"
25319 fi
25320
25321 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25322 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25323 echo "$as_me:$LINENO: result: yes" >&5
25324 echo "${ECHO_T}yes" >&6
25325 else
25326 echo "$as_me:$LINENO: result: no" >&5
25327 echo "${ECHO_T}no" >&6
25328 fi
25329 fi
25330
25331 fi
25332
25333
25334
25335 if test "x$OPENGL_LIBS" = "x"; then
25336 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25337 echo "$as_me: error: OpenGL libraries not available" >&2;}
25338 { (exit 1); exit 1; }; }
25339 fi
25340 fi
25341
25342 if test "$wxUSE_OPENGL" = "yes"; then
25343 USE_OPENGL=1
25344 cat >>confdefs.h <<\_ACEOF
25345 #define wxUSE_OPENGL 1
25346 _ACEOF
25347
25348 cat >>confdefs.h <<\_ACEOF
25349 #define wxUSE_GLCANVAS 1
25350 _ACEOF
25351
25352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25353 fi
25354 fi
25355
25356 if test -z "$TOOLKIT_VPATH" ; then
25357 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25358 fi
25359
25360 if test -n "$TOOLKIT" ; then
25361 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25362 fi
25363
25364 UNICODE=0
25365 lib_unicode_suffix=
25366 if test "$wxUSE_UNICODE" = "yes"; then
25367 lib_unicode_suffix=u
25368 UNICODE=1
25369 fi
25370
25371 lib_debug_suffix=
25372 DEBUG_FLAG=0
25373 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25374 lib_debug_suffix=d
25375 DEBUG_FLAG=1
25376 fi
25377
25378 DEBUG_INFO=0
25379 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25380 DEBUG_INFO=1
25381 fi
25382
25383 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25384
25385 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25386 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25387
25388 if test "$cross_compiling" = "yes"; then
25389 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25390 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25391 HOST_SUFFIX="-${host_alias}"
25392 fi
25393
25394 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25395 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25396 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25397 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25398
25399 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25400 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25401
25402 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25403 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25404 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25405 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25406
25407 case "${host}" in
25408 *-*-cygwin* | *-*-mingw32* )
25409 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25410 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25411 ;;
25412
25413 *-*-darwin* )
25414
25415 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25416 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25417
25418 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25419 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25420 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25421 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25422
25423 if test "$wxUSE_MAC" = 1; then
25424 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25425 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25426 fi
25427 ;;
25428 esac
25429
25430 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25431 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25432
25433 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25434 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25435
25436 if test "$wxUSE_OPENGL" = "yes"; then
25437 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25438 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25439 fi
25440
25441
25442
25443 if test "$wxUSE_SHARED" = "yes"; then
25444 case "${host}" in
25445 *-pc-os2_emx | *-pc-os2-emx | \
25446 *-pc-msdosdjgpp )
25447 wxUSE_SHARED=no
25448 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25449 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25450 ;;
25451 esac
25452 fi
25453
25454 SHARED=0
25455 if test "$wxUSE_SHARED" = "yes"; then
25456 SHARED=1
25457
25458
25459 found_versioning=no
25460
25461
25462 if test $found_versioning = no ; then
25463 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25464 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25465 if test "${wx_cv_version_script+set}" = set; then
25466 echo $ECHO_N "(cached) $ECHO_C" >&6
25467 else
25468
25469 echo "VER_1 { *; };" >conftest.sym
25470 echo "int main() { return 0; }" >conftest.cpp
25471
25472 if { ac_try='
25473 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25474 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476 (eval $ac_try) 2>&5
25477 ac_status=$?
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); }; } ; then
25480 if test -s conftest.stderr ; then
25481 wx_cv_version_script=no
25482 else
25483 wx_cv_version_script=yes
25484 fi
25485 else
25486 wx_cv_version_script=no
25487 fi
25488 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25489
25490 fi
25491 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25492 echo "${ECHO_T}$wx_cv_version_script" >&6
25493 if test $wx_cv_version_script = yes ; then
25494 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25495 fi
25496 fi
25497
25498
25499 case "${host}" in
25500 *-*-linux* | *-*-gnu* )
25501 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25502 ;;
25503
25504 *-*-solaris2* )
25505 if test "$GCC" = yes ; then
25506 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25507
25508 saveLdflags="$LDFLAGS"
25509 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25510 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25511 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25512 cat >conftest.$ac_ext <<_ACEOF
25513 #line $LINENO "configure"
25514 /* confdefs.h. */
25515 _ACEOF
25516 cat confdefs.h >>conftest.$ac_ext
25517 cat >>conftest.$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519
25520 int
25521 main ()
25522 {
25523
25524 ;
25525 return 0;
25526 }
25527 _ACEOF
25528 rm -f conftest.$ac_objext conftest$ac_exeext
25529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25530 (eval $ac_link) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try='test -s conftest$ac_exeext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25537 ac_status=$?
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25540
25541 echo "$as_me:$LINENO: result: yes" >&5
25542 echo "${ECHO_T}yes" >&6
25543 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25544
25545 else
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.$ac_ext >&5
25548
25549
25550 echo "$as_me:$LINENO: result: no" >&5
25551 echo "${ECHO_T}no" >&6
25552 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25553 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25554 LDFLAGS="$saveLdflags -Wl,-R,/"
25555 cat >conftest.$ac_ext <<_ACEOF
25556 #line $LINENO "configure"
25557 /* confdefs.h. */
25558 _ACEOF
25559 cat confdefs.h >>conftest.$ac_ext
25560 cat >>conftest.$ac_ext <<_ACEOF
25561 /* end confdefs.h. */
25562
25563 int
25564 main ()
25565 {
25566
25567 ;
25568 return 0;
25569 }
25570 _ACEOF
25571 rm -f conftest.$ac_objext conftest$ac_exeext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25573 (eval $ac_link) 2>&5
25574 ac_status=$?
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } &&
25577 { ac_try='test -s conftest$ac_exeext'
25578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25579 (eval $ac_try) 2>&5
25580 ac_status=$?
25581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25582 (exit $ac_status); }; }; then
25583
25584 echo "$as_me:$LINENO: result: yes" >&5
25585 echo "${ECHO_T}yes" >&6
25586 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25587 else
25588 echo "$as_me: failed program was:" >&5
25589 sed 's/^/| /' conftest.$ac_ext >&5
25590
25591
25592 echo "$as_me:$LINENO: result: no" >&5
25593 echo "${ECHO_T}no" >&6
25594
25595 fi
25596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25597
25598 fi
25599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25600 LDFLAGS="$saveLdflags"
25601 else
25602 SHARED_LD="${CXX} -G -o"
25603 PIC_FLAG="-KPIC"
25604 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25605 fi
25606 ;;
25607
25608 powerpc-*-darwin* )
25609 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25610 cat <<EOF >change-install-names
25611 #!/bin/sh
25612 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25613 inst_cmd="install_name_tool "
25614 for i in \${libnames} ; do
25615 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25616 done
25617 \${inst_cmd} \${3}
25618 EOF
25619 chmod +x change-install-names
25620 ;;
25621
25622 esac
25623
25624 if test "x$WX_TARGET_LIBRARY" = "x"; then
25625 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25626 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25627 fi
25628
25629 WX_TARGET_LIBRARY_TYPE="so"
25630 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25631 fi
25632
25633 if test "$wxUSE_SHARED" = "no"; then
25634
25635 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25636 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25637 fi
25638
25639 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25640 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25641 fi
25642
25643 if test "$wxUSE_OPENGL" = "yes"; then
25644 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25645 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25646 else
25647 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25648 fi
25649
25650 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25651 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25652
25653 WX_TARGET_LIBRARY_TYPE="a"
25654 INSTALL_LIBRARY='$(INSTALL_DATA)'
25655
25656 STATIC_FLAG="yes"
25657 else
25658 STATIC_FLAG="no"
25659 fi
25660
25661 MACRESCOMP="@#"
25662 MACSETFILE="@#"
25663 MACRESWXCONFIG="#"
25664 if test "$wxUSE_MAC" = 1; then
25665 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25666 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25667 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25668 # Extract the first word of "Rez", so it can be a program name with args.
25669 set dummy Rez; ac_word=$2
25670 echo "$as_me:$LINENO: checking for $ac_word" >&5
25671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25672 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 else
25675 if test -n "$RESCOMP"; then
25676 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25677 else
25678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25679 for as_dir in $PATH
25680 do
25681 IFS=$as_save_IFS
25682 test -z "$as_dir" && as_dir=.
25683 for ac_exec_ext in '' $ac_executable_extensions; do
25684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25685 ac_cv_prog_RESCOMP="Rez"
25686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25687 break 2
25688 fi
25689 done
25690 done
25691
25692 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25693 fi
25694 fi
25695 RESCOMP=$ac_cv_prog_RESCOMP
25696 if test -n "$RESCOMP"; then
25697 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25698 echo "${ECHO_T}$RESCOMP" >&6
25699 else
25700 echo "$as_me:$LINENO: result: no" >&5
25701 echo "${ECHO_T}no" >&6
25702 fi
25703
25704 # Extract the first word of "DeRez", so it can be a program name with args.
25705 set dummy DeRez; ac_word=$2
25706 echo "$as_me:$LINENO: checking for $ac_word" >&5
25707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25708 if test "${ac_cv_prog_DEREZ+set}" = set; then
25709 echo $ECHO_N "(cached) $ECHO_C" >&6
25710 else
25711 if test -n "$DEREZ"; then
25712 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25713 else
25714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25715 for as_dir in $PATH
25716 do
25717 IFS=$as_save_IFS
25718 test -z "$as_dir" && as_dir=.
25719 for ac_exec_ext in '' $ac_executable_extensions; do
25720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25721 ac_cv_prog_DEREZ="DeRez"
25722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25723 break 2
25724 fi
25725 done
25726 done
25727
25728 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25729 fi
25730 fi
25731 DEREZ=$ac_cv_prog_DEREZ
25732 if test -n "$DEREZ"; then
25733 echo "$as_me:$LINENO: result: $DEREZ" >&5
25734 echo "${ECHO_T}$DEREZ" >&6
25735 else
25736 echo "$as_me:$LINENO: result: no" >&5
25737 echo "${ECHO_T}no" >&6
25738 fi
25739
25740 # Extract the first word of "SetFile", so it can be a program name with args.
25741 set dummy SetFile; ac_word=$2
25742 echo "$as_me:$LINENO: checking for $ac_word" >&5
25743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25744 if test "${ac_cv_prog_SETFILE+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 else
25747 if test -n "$SETFILE"; then
25748 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25749 else
25750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25751 for as_dir in $PATH
25752 do
25753 IFS=$as_save_IFS
25754 test -z "$as_dir" && as_dir=.
25755 for ac_exec_ext in '' $ac_executable_extensions; do
25756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25757 ac_cv_prog_SETFILE="SetFile"
25758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25759 break 2
25760 fi
25761 done
25762 done
25763
25764 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25765 fi
25766 fi
25767 SETFILE=$ac_cv_prog_SETFILE
25768 if test -n "$SETFILE"; then
25769 echo "$as_me:$LINENO: result: $SETFILE" >&5
25770 echo "${ECHO_T}$SETFILE" >&6
25771 else
25772 echo "$as_me:$LINENO: result: no" >&5
25773 echo "${ECHO_T}no" >&6
25774 fi
25775
25776 MACOSX_BUNDLE="bundle"
25777 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25778 MACSETFILE="\$(SETFILE)"
25779 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25780 elif test "$wxUSE_COCOA" = 1; then
25781 # Extract the first word of "Rez", so it can be a program name with args.
25782 set dummy Rez; ac_word=$2
25783 echo "$as_me:$LINENO: checking for $ac_word" >&5
25784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25785 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25787 else
25788 if test -n "$RESCOMP"; then
25789 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25790 else
25791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25792 for as_dir in $PATH
25793 do
25794 IFS=$as_save_IFS
25795 test -z "$as_dir" && as_dir=.
25796 for ac_exec_ext in '' $ac_executable_extensions; do
25797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25798 ac_cv_prog_RESCOMP="Rez"
25799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25800 break 2
25801 fi
25802 done
25803 done
25804
25805 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25806 fi
25807 fi
25808 RESCOMP=$ac_cv_prog_RESCOMP
25809 if test -n "$RESCOMP"; then
25810 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25811 echo "${ECHO_T}$RESCOMP" >&6
25812 else
25813 echo "$as_me:$LINENO: result: no" >&5
25814 echo "${ECHO_T}no" >&6
25815 fi
25816
25817 # Extract the first word of "DeRez", so it can be a program name with args.
25818 set dummy DeRez; ac_word=$2
25819 echo "$as_me:$LINENO: checking for $ac_word" >&5
25820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25821 if test "${ac_cv_prog_DEREZ+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25824 if test -n "$DEREZ"; then
25825 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25826 else
25827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25828 for as_dir in $PATH
25829 do
25830 IFS=$as_save_IFS
25831 test -z "$as_dir" && as_dir=.
25832 for ac_exec_ext in '' $ac_executable_extensions; do
25833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25834 ac_cv_prog_DEREZ="DeRez"
25835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25836 break 2
25837 fi
25838 done
25839 done
25840
25841 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25842 fi
25843 fi
25844 DEREZ=$ac_cv_prog_DEREZ
25845 if test -n "$DEREZ"; then
25846 echo "$as_me:$LINENO: result: $DEREZ" >&5
25847 echo "${ECHO_T}$DEREZ" >&6
25848 else
25849 echo "$as_me:$LINENO: result: no" >&5
25850 echo "${ECHO_T}no" >&6
25851 fi
25852
25853 # Extract the first word of "SetFile", so it can be a program name with args.
25854 set dummy SetFile; ac_word=$2
25855 echo "$as_me:$LINENO: checking for $ac_word" >&5
25856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25857 if test "${ac_cv_prog_SETFILE+set}" = set; then
25858 echo $ECHO_N "(cached) $ECHO_C" >&6
25859 else
25860 if test -n "$SETFILE"; then
25861 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25862 else
25863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25864 for as_dir in $PATH
25865 do
25866 IFS=$as_save_IFS
25867 test -z "$as_dir" && as_dir=.
25868 for ac_exec_ext in '' $ac_executable_extensions; do
25869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25870 ac_cv_prog_SETFILE="SetFile"
25871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25872 break 2
25873 fi
25874 done
25875 done
25876
25877 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25878 fi
25879 fi
25880 SETFILE=$ac_cv_prog_SETFILE
25881 if test -n "$SETFILE"; then
25882 echo "$as_me:$LINENO: result: $SETFILE" >&5
25883 echo "${ECHO_T}$SETFILE" >&6
25884 else
25885 echo "$as_me:$LINENO: result: no" >&5
25886 echo "${ECHO_T}no" >&6
25887 fi
25888
25889 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25890 MACSETFILE="\$(SETFILE)"
25891 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25892 else
25893 if test "$wxUSE_PM" = 1; then
25894 MACRESCOMP="emxbind -ep"
25895 fi
25896 fi
25897
25898
25899 echo "$as_me:$LINENO: checking for mode_t" >&5
25900 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25901 if test "${ac_cv_type_mode_t+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25904 cat >conftest.$ac_ext <<_ACEOF
25905 #line $LINENO "configure"
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 $ac_includes_default
25912 int
25913 main ()
25914 {
25915 if ((mode_t *) 0)
25916 return 0;
25917 if (sizeof (mode_t))
25918 return 0;
25919 ;
25920 return 0;
25921 }
25922 _ACEOF
25923 rm -f conftest.$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>&5
25926 ac_status=$?
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -s conftest.$ac_objext'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25932 ac_status=$?
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; }; then
25935 ac_cv_type_mode_t=yes
25936 else
25937 echo "$as_me: failed program was:" >&5
25938 sed 's/^/| /' conftest.$ac_ext >&5
25939
25940 ac_cv_type_mode_t=no
25941 fi
25942 rm -f conftest.$ac_objext conftest.$ac_ext
25943 fi
25944 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25945 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25946 if test $ac_cv_type_mode_t = yes; then
25947 :
25948 else
25949
25950 cat >>confdefs.h <<_ACEOF
25951 #define mode_t int
25952 _ACEOF
25953
25954 fi
25955
25956 echo "$as_me:$LINENO: checking for off_t" >&5
25957 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25958 if test "${ac_cv_type_off_t+set}" = set; then
25959 echo $ECHO_N "(cached) $ECHO_C" >&6
25960 else
25961 cat >conftest.$ac_ext <<_ACEOF
25962 #line $LINENO "configure"
25963 /* confdefs.h. */
25964 _ACEOF
25965 cat confdefs.h >>conftest.$ac_ext
25966 cat >>conftest.$ac_ext <<_ACEOF
25967 /* end confdefs.h. */
25968 $ac_includes_default
25969 int
25970 main ()
25971 {
25972 if ((off_t *) 0)
25973 return 0;
25974 if (sizeof (off_t))
25975 return 0;
25976 ;
25977 return 0;
25978 }
25979 _ACEOF
25980 rm -f conftest.$ac_objext
25981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25982 (eval $ac_compile) 2>&5
25983 ac_status=$?
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); } &&
25986 { ac_try='test -s conftest.$ac_objext'
25987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25988 (eval $ac_try) 2>&5
25989 ac_status=$?
25990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25991 (exit $ac_status); }; }; then
25992 ac_cv_type_off_t=yes
25993 else
25994 echo "$as_me: failed program was:" >&5
25995 sed 's/^/| /' conftest.$ac_ext >&5
25996
25997 ac_cv_type_off_t=no
25998 fi
25999 rm -f conftest.$ac_objext conftest.$ac_ext
26000 fi
26001 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26002 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26003 if test $ac_cv_type_off_t = yes; then
26004 :
26005 else
26006
26007 cat >>confdefs.h <<_ACEOF
26008 #define off_t long
26009 _ACEOF
26010
26011 fi
26012
26013 echo "$as_me:$LINENO: checking for pid_t" >&5
26014 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26015 if test "${ac_cv_type_pid_t+set}" = set; then
26016 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 else
26018 cat >conftest.$ac_ext <<_ACEOF
26019 #line $LINENO "configure"
26020 /* confdefs.h. */
26021 _ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26025 $ac_includes_default
26026 int
26027 main ()
26028 {
26029 if ((pid_t *) 0)
26030 return 0;
26031 if (sizeof (pid_t))
26032 return 0;
26033 ;
26034 return 0;
26035 }
26036 _ACEOF
26037 rm -f conftest.$ac_objext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 ac_cv_type_pid_t=yes
26050 else
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26053
26054 ac_cv_type_pid_t=no
26055 fi
26056 rm -f conftest.$ac_objext conftest.$ac_ext
26057 fi
26058 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26059 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26060 if test $ac_cv_type_pid_t = yes; then
26061 :
26062 else
26063
26064 cat >>confdefs.h <<_ACEOF
26065 #define pid_t int
26066 _ACEOF
26067
26068 fi
26069
26070 echo "$as_me:$LINENO: checking for size_t" >&5
26071 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26072 if test "${ac_cv_type_size_t+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 else
26075 cat >conftest.$ac_ext <<_ACEOF
26076 #line $LINENO "configure"
26077 /* confdefs.h. */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 $ac_includes_default
26083 int
26084 main ()
26085 {
26086 if ((size_t *) 0)
26087 return 0;
26088 if (sizeof (size_t))
26089 return 0;
26090 ;
26091 return 0;
26092 }
26093 _ACEOF
26094 rm -f conftest.$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096 (eval $ac_compile) 2>&5
26097 ac_status=$?
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try='test -s conftest.$ac_objext'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26103 ac_status=$?
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; }; then
26106 ac_cv_type_size_t=yes
26107 else
26108 echo "$as_me: failed program was:" >&5
26109 sed 's/^/| /' conftest.$ac_ext >&5
26110
26111 ac_cv_type_size_t=no
26112 fi
26113 rm -f conftest.$ac_objext conftest.$ac_ext
26114 fi
26115 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26116 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26117 if test $ac_cv_type_size_t = yes; then
26118 :
26119 else
26120
26121 cat >>confdefs.h <<_ACEOF
26122 #define size_t unsigned
26123 _ACEOF
26124
26125 fi
26126
26127 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26128 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26129 if test "${ac_cv_type_uid_t+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 cat >conftest.$ac_ext <<_ACEOF
26133 #line $LINENO "configure"
26134 /* confdefs.h. */
26135 _ACEOF
26136 cat confdefs.h >>conftest.$ac_ext
26137 cat >>conftest.$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26139 #include <sys/types.h>
26140
26141 _ACEOF
26142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26143 $EGREP "uid_t" >/dev/null 2>&1; then
26144 ac_cv_type_uid_t=yes
26145 else
26146 ac_cv_type_uid_t=no
26147 fi
26148 rm -f conftest*
26149
26150 fi
26151 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26152 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26153 if test $ac_cv_type_uid_t = no; then
26154
26155 cat >>confdefs.h <<\_ACEOF
26156 #define uid_t int
26157 _ACEOF
26158
26159
26160 cat >>confdefs.h <<\_ACEOF
26161 #define gid_t int
26162 _ACEOF
26163
26164 fi
26165
26166
26167
26168
26169 ac_ext=cc
26170 ac_cpp='$CXXCPP $CPPFLAGS'
26171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26174
26175 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26176 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26177 if test "${wx_cv_size_t_is_uint+set}" = set; then
26178 echo $ECHO_N "(cached) $ECHO_C" >&6
26179 else
26180
26181 cat >conftest.$ac_ext <<_ACEOF
26182 #line $LINENO "configure"
26183 /* confdefs.h. */
26184 _ACEOF
26185 cat confdefs.h >>conftest.$ac_ext
26186 cat >>conftest.$ac_ext <<_ACEOF
26187 /* end confdefs.h. */
26188 #include <stddef.h>
26189 int
26190 main ()
26191 {
26192
26193 return 0; }
26194
26195 struct Foo { void foo(size_t); void foo(unsigned int); };
26196
26197 int bar() {
26198
26199 ;
26200 return 0;
26201 }
26202 _ACEOF
26203 rm -f conftest.$ac_objext
26204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26205 (eval $ac_compile) 2>&5
26206 ac_status=$?
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); } &&
26209 { ac_try='test -s conftest.$ac_objext'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26212 ac_status=$?
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; }; then
26215 wx_cv_size_t_is_uint=no
26216 else
26217 echo "$as_me: failed program was:" >&5
26218 sed 's/^/| /' conftest.$ac_ext >&5
26219
26220 wx_cv_size_t_is_uint=yes
26221
26222 fi
26223 rm -f conftest.$ac_objext conftest.$ac_ext
26224
26225
26226 fi
26227 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26228 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26229
26230 if test "$wx_cv_size_t_is_uint" = "yes"; then
26231 cat >>confdefs.h <<\_ACEOF
26232 #define wxSIZE_T_IS_UINT 1
26233 _ACEOF
26234
26235 else
26236 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26237 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26238 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26239 echo $ECHO_N "(cached) $ECHO_C" >&6
26240 else
26241 cat >conftest.$ac_ext <<_ACEOF
26242 #line $LINENO "configure"
26243 /* confdefs.h. */
26244 _ACEOF
26245 cat confdefs.h >>conftest.$ac_ext
26246 cat >>conftest.$ac_ext <<_ACEOF
26247 /* end confdefs.h. */
26248 #include <stddef.h>
26249 int
26250 main ()
26251 {
26252
26253 return 0; }
26254
26255 struct Foo { void foo(size_t); void foo(unsigned long); };
26256
26257 int bar() {
26258
26259 ;
26260 return 0;
26261 }
26262 _ACEOF
26263 rm -f conftest.$ac_objext
26264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26265 (eval $ac_compile) 2>&5
26266 ac_status=$?
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); } &&
26269 { ac_try='test -s conftest.$ac_objext'
26270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26271 (eval $ac_try) 2>&5
26272 ac_status=$?
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); }; }; then
26275 wx_cv_size_t_is_ulong=no
26276 else
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26279
26280 wx_cv_size_t_is_ulong=yes
26281
26282 fi
26283 rm -f conftest.$ac_objext conftest.$ac_ext
26284
26285 fi
26286 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26287 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26288
26289 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26290 cat >>confdefs.h <<\_ACEOF
26291 #define wxSIZE_T_IS_ULONG 1
26292 _ACEOF
26293
26294 fi
26295 fi
26296
26297 ac_ext=c
26298 ac_cpp='$CPP $CPPFLAGS'
26299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26302
26303
26304
26305 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26306 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26307 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26309 else
26310
26311 cat >conftest.$ac_ext <<_ACEOF
26312 #line $LINENO "configure"
26313 /* confdefs.h. */
26314 _ACEOF
26315 cat confdefs.h >>conftest.$ac_ext
26316 cat >>conftest.$ac_ext <<_ACEOF
26317 /* end confdefs.h. */
26318 #include <pwd.h>
26319 int
26320 main ()
26321 {
26322
26323 char *p;
26324 struct passwd *pw;
26325 p = pw->pw_gecos;
26326
26327 ;
26328 return 0;
26329 }
26330 _ACEOF
26331 rm -f conftest.$ac_objext
26332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26333 (eval $ac_compile) 2>&5
26334 ac_status=$?
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try='test -s conftest.$ac_objext'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26340 ac_status=$?
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; }; then
26343
26344 wx_cv_struct_pw_gecos=yes
26345
26346 else
26347 echo "$as_me: failed program was:" >&5
26348 sed 's/^/| /' conftest.$ac_ext >&5
26349
26350
26351 wx_cv_struct_pw_gecos=no
26352
26353
26354 fi
26355 rm -f conftest.$ac_objext conftest.$ac_ext
26356
26357
26358 fi
26359 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26360 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26361
26362 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26363 cat >>confdefs.h <<\_ACEOF
26364 #define HAVE_PW_GECOS 1
26365 _ACEOF
26366
26367 fi
26368
26369
26370 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26371 cat >>confdefs.h <<\_ACEOF
26372 #define wxUSE_WCHAR_T 1
26373 _ACEOF
26374
26375
26376 WCSLEN_FOUND=0
26377 WCHAR_LINK=
26378
26379 for ac_func in wcslen
26380 do
26381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26382 echo "$as_me:$LINENO: checking for $ac_func" >&5
26383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26384 if eval "test \"\${$as_ac_var+set}\" = set"; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 else
26387 cat >conftest.$ac_ext <<_ACEOF
26388 #line $LINENO "configure"
26389 /* confdefs.h. */
26390 _ACEOF
26391 cat confdefs.h >>conftest.$ac_ext
26392 cat >>conftest.$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26394 /* System header to define __stub macros and hopefully few prototypes,
26395 which can conflict with char $ac_func (); below.
26396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26397 <limits.h> exists even on freestanding compilers. */
26398 #ifdef __STDC__
26399 # include <limits.h>
26400 #else
26401 # include <assert.h>
26402 #endif
26403 /* Override any gcc2 internal prototype to avoid an error. */
26404 #ifdef __cplusplus
26405 extern "C"
26406 {
26407 #endif
26408 /* We use char because int might match the return type of a gcc2
26409 builtin and then its argument prototype would still apply. */
26410 char $ac_func ();
26411 /* The GNU C library defines this for functions which it implements
26412 to always fail with ENOSYS. Some functions are actually named
26413 something starting with __ and the normal name is an alias. */
26414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26415 choke me
26416 #else
26417 char (*f) () = $ac_func;
26418 #endif
26419 #ifdef __cplusplus
26420 }
26421 #endif
26422
26423 int
26424 main ()
26425 {
26426 return f != $ac_func;
26427 ;
26428 return 0;
26429 }
26430 _ACEOF
26431 rm -f conftest.$ac_objext conftest$ac_exeext
26432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26433 (eval $ac_link) 2>&5
26434 ac_status=$?
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } &&
26437 { ac_try='test -s conftest$ac_exeext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26440 ac_status=$?
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26443 eval "$as_ac_var=yes"
26444 else
26445 echo "$as_me: failed program was:" >&5
26446 sed 's/^/| /' conftest.$ac_ext >&5
26447
26448 eval "$as_ac_var=no"
26449 fi
26450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26451 fi
26452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26454 if test `eval echo '${'$as_ac_var'}'` = yes; then
26455 cat >>confdefs.h <<_ACEOF
26456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26457 _ACEOF
26458 WCSLEN_FOUND=1
26459 fi
26460 done
26461
26462
26463 if test "$WCSLEN_FOUND" = 0; then
26464 if test "$TOOLKIT" = "MSW"; then
26465 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26466 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26467 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26469 else
26470 ac_check_lib_save_LIBS=$LIBS
26471 LIBS="-lmsvcrt $LIBS"
26472 cat >conftest.$ac_ext <<_ACEOF
26473 #line $LINENO "configure"
26474 /* confdefs.h. */
26475 _ACEOF
26476 cat confdefs.h >>conftest.$ac_ext
26477 cat >>conftest.$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26479
26480 /* Override any gcc2 internal prototype to avoid an error. */
26481 #ifdef __cplusplus
26482 extern "C"
26483 #endif
26484 /* We use char because int might match the return type of a gcc2
26485 builtin and then its argument prototype would still apply. */
26486 char wcslen ();
26487 int
26488 main ()
26489 {
26490 wcslen ();
26491 ;
26492 return 0;
26493 }
26494 _ACEOF
26495 rm -f conftest.$ac_objext conftest$ac_exeext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26497 (eval $ac_link) 2>&5
26498 ac_status=$?
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try='test -s conftest$ac_exeext'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26504 ac_status=$?
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; }; then
26507 ac_cv_lib_msvcrt_wcslen=yes
26508 else
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.$ac_ext >&5
26511
26512 ac_cv_lib_msvcrt_wcslen=no
26513 fi
26514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26515 LIBS=$ac_check_lib_save_LIBS
26516 fi
26517 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26518 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26519 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26520 WCHAR_OK=1
26521 fi
26522
26523 else
26524 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26525 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26526 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26528 else
26529 ac_check_lib_save_LIBS=$LIBS
26530 LIBS="-lw $LIBS"
26531 cat >conftest.$ac_ext <<_ACEOF
26532 #line $LINENO "configure"
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538
26539 /* Override any gcc2 internal prototype to avoid an error. */
26540 #ifdef __cplusplus
26541 extern "C"
26542 #endif
26543 /* We use char because int might match the return type of a gcc2
26544 builtin and then its argument prototype would still apply. */
26545 char wcslen ();
26546 int
26547 main ()
26548 {
26549 wcslen ();
26550 ;
26551 return 0;
26552 }
26553 _ACEOF
26554 rm -f conftest.$ac_objext conftest$ac_exeext
26555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26556 (eval $ac_link) 2>&5
26557 ac_status=$?
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); } &&
26560 { ac_try='test -s conftest$ac_exeext'
26561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26562 (eval $ac_try) 2>&5
26563 ac_status=$?
26564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); }; }; then
26566 ac_cv_lib_w_wcslen=yes
26567 else
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.$ac_ext >&5
26570
26571 ac_cv_lib_w_wcslen=no
26572 fi
26573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26574 LIBS=$ac_check_lib_save_LIBS
26575 fi
26576 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26577 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26578 if test $ac_cv_lib_w_wcslen = yes; then
26579
26580 WCHAR_LINK=" -lw"
26581 WCSLEN_FOUND=1
26582
26583 fi
26584
26585 fi
26586 fi
26587
26588 if test "$WCSLEN_FOUND" = 1; then
26589 cat >>confdefs.h <<\_ACEOF
26590 #define HAVE_WCSLEN 1
26591 _ACEOF
26592
26593 fi
26594
26595
26596 for ac_func in wcsrtombs
26597 do
26598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26599 echo "$as_me:$LINENO: checking for $ac_func" >&5
26600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26601 if eval "test \"\${$as_ac_var+set}\" = set"; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26603 else
26604 cat >conftest.$ac_ext <<_ACEOF
26605 #line $LINENO "configure"
26606 /* confdefs.h. */
26607 _ACEOF
26608 cat confdefs.h >>conftest.$ac_ext
26609 cat >>conftest.$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26611 /* System header to define __stub macros and hopefully few prototypes,
26612 which can conflict with char $ac_func (); below.
26613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26614 <limits.h> exists even on freestanding compilers. */
26615 #ifdef __STDC__
26616 # include <limits.h>
26617 #else
26618 # include <assert.h>
26619 #endif
26620 /* Override any gcc2 internal prototype to avoid an error. */
26621 #ifdef __cplusplus
26622 extern "C"
26623 {
26624 #endif
26625 /* We use char because int might match the return type of a gcc2
26626 builtin and then its argument prototype would still apply. */
26627 char $ac_func ();
26628 /* The GNU C library defines this for functions which it implements
26629 to always fail with ENOSYS. Some functions are actually named
26630 something starting with __ and the normal name is an alias. */
26631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26632 choke me
26633 #else
26634 char (*f) () = $ac_func;
26635 #endif
26636 #ifdef __cplusplus
26637 }
26638 #endif
26639
26640 int
26641 main ()
26642 {
26643 return f != $ac_func;
26644 ;
26645 return 0;
26646 }
26647 _ACEOF
26648 rm -f conftest.$ac_objext conftest$ac_exeext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650 (eval $ac_link) 2>&5
26651 ac_status=$?
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26657 ac_status=$?
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26660 eval "$as_ac_var=yes"
26661 else
26662 echo "$as_me: failed program was:" >&5
26663 sed 's/^/| /' conftest.$ac_ext >&5
26664
26665 eval "$as_ac_var=no"
26666 fi
26667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26668 fi
26669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26671 if test `eval echo '${'$as_ac_var'}'` = yes; then
26672 cat >>confdefs.h <<_ACEOF
26673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26674 _ACEOF
26675
26676 fi
26677 done
26678
26679 else
26680 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26681 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26682 fi
26683
26684
26685
26686 ac_ext=cc
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26691
26692
26693
26694 for ac_func in vsnprintf
26695 do
26696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26697 echo "$as_me:$LINENO: checking for $ac_func" >&5
26698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26699 if eval "test \"\${$as_ac_var+set}\" = set"; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 else
26702 cat >conftest.$ac_ext <<_ACEOF
26703 #line $LINENO "configure"
26704 /* confdefs.h. */
26705 _ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26709 /* System header to define __stub macros and hopefully few prototypes,
26710 which can conflict with char $ac_func (); below.
26711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26712 <limits.h> exists even on freestanding compilers. */
26713 #ifdef __STDC__
26714 # include <limits.h>
26715 #else
26716 # include <assert.h>
26717 #endif
26718 /* Override any gcc2 internal prototype to avoid an error. */
26719 #ifdef __cplusplus
26720 extern "C"
26721 {
26722 #endif
26723 /* We use char because int might match the return type of a gcc2
26724 builtin and then its argument prototype would still apply. */
26725 char $ac_func ();
26726 /* The GNU C library defines this for functions which it implements
26727 to always fail with ENOSYS. Some functions are actually named
26728 something starting with __ and the normal name is an alias. */
26729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26730 choke me
26731 #else
26732 char (*f) () = $ac_func;
26733 #endif
26734 #ifdef __cplusplus
26735 }
26736 #endif
26737
26738 int
26739 main ()
26740 {
26741 return f != $ac_func;
26742 ;
26743 return 0;
26744 }
26745 _ACEOF
26746 rm -f conftest.$ac_objext conftest$ac_exeext
26747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26748 (eval $ac_link) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); } &&
26752 { ac_try='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 eval "$as_ac_var=yes"
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26762
26763 eval "$as_ac_var=no"
26764 fi
26765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26766 fi
26767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26769 if test `eval echo '${'$as_ac_var'}'` = yes; then
26770 cat >>confdefs.h <<_ACEOF
26771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26772 _ACEOF
26773
26774 fi
26775 done
26776
26777
26778 if test "$ac_cv_func_vsnprintf" = "yes"; then
26779 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26780 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26781 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26784
26785 cat >conftest.$ac_ext <<_ACEOF
26786 #line $LINENO "configure"
26787 /* confdefs.h. */
26788 _ACEOF
26789 cat confdefs.h >>conftest.$ac_ext
26790 cat >>conftest.$ac_ext <<_ACEOF
26791 /* end confdefs.h. */
26792
26793 #include <stdio.h>
26794 #include <stdarg.h>
26795
26796 int
26797 main ()
26798 {
26799
26800 char *buf;
26801 va_list ap;
26802 vsnprintf(buf, 10u, "%s", ap);
26803
26804 ;
26805 return 0;
26806 }
26807 _ACEOF
26808 rm -f conftest.$ac_objext
26809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26810 (eval $ac_compile) 2>&5
26811 ac_status=$?
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); } &&
26814 { ac_try='test -s conftest.$ac_objext'
26815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26816 (eval $ac_try) 2>&5
26817 ac_status=$?
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); }; }; then
26820 wx_cv_func_vsnprintf_decl=yes
26821 else
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.$ac_ext >&5
26824
26825 wx_cv_func_vsnprintf_decl=no
26826
26827 fi
26828 rm -f conftest.$ac_objext conftest.$ac_ext
26829
26830
26831 fi
26832 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26833 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26834
26835 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26836 cat >>confdefs.h <<\_ACEOF
26837 #define HAVE_VSNPRINTF_DECL 1
26838 _ACEOF
26839
26840 fi
26841 fi
26842
26843 if test "$wxUSE_UNICODE" = yes; then
26844
26845
26846
26847 for ac_func in fputwc wprintf vswprintf
26848 do
26849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26850 echo "$as_me:$LINENO: checking for $ac_func" >&5
26851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26852 if eval "test \"\${$as_ac_var+set}\" = set"; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 else
26855 cat >conftest.$ac_ext <<_ACEOF
26856 #line $LINENO "configure"
26857 /* confdefs.h. */
26858 _ACEOF
26859 cat confdefs.h >>conftest.$ac_ext
26860 cat >>conftest.$ac_ext <<_ACEOF
26861 /* end confdefs.h. */
26862 /* System header to define __stub macros and hopefully few prototypes,
26863 which can conflict with char $ac_func (); below.
26864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26865 <limits.h> exists even on freestanding compilers. */
26866 #ifdef __STDC__
26867 # include <limits.h>
26868 #else
26869 # include <assert.h>
26870 #endif
26871 /* Override any gcc2 internal prototype to avoid an error. */
26872 #ifdef __cplusplus
26873 extern "C"
26874 {
26875 #endif
26876 /* We use char because int might match the return type of a gcc2
26877 builtin and then its argument prototype would still apply. */
26878 char $ac_func ();
26879 /* The GNU C library defines this for functions which it implements
26880 to always fail with ENOSYS. Some functions are actually named
26881 something starting with __ and the normal name is an alias. */
26882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26883 choke me
26884 #else
26885 char (*f) () = $ac_func;
26886 #endif
26887 #ifdef __cplusplus
26888 }
26889 #endif
26890
26891 int
26892 main ()
26893 {
26894 return f != $ac_func;
26895 ;
26896 return 0;
26897 }
26898 _ACEOF
26899 rm -f conftest.$ac_objext conftest$ac_exeext
26900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26901 (eval $ac_link) 2>&5
26902 ac_status=$?
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try='test -s conftest$ac_exeext'
26906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26907 (eval $ac_try) 2>&5
26908 ac_status=$?
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); }; }; then
26911 eval "$as_ac_var=yes"
26912 else
26913 echo "$as_me: failed program was:" >&5
26914 sed 's/^/| /' conftest.$ac_ext >&5
26915
26916 eval "$as_ac_var=no"
26917 fi
26918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26919 fi
26920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26922 if test `eval echo '${'$as_ac_var'}'` = yes; then
26923 cat >>confdefs.h <<_ACEOF
26924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26925 _ACEOF
26926
26927 fi
26928 done
26929
26930
26931 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26932 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26933 cat >conftest.$ac_ext <<_ACEOF
26934 #line $LINENO "configure"
26935 /* confdefs.h. */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26940 #include <wchar.h>
26941 int
26942 main ()
26943 {
26944 &_vsnwprintf;
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>&5
26952 ac_status=$?
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try='test -s conftest.$ac_objext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26958 ac_status=$?
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26961 echo "$as_me:$LINENO: result: yes" >&5
26962 echo "${ECHO_T}yes" >&6
26963 cat >>confdefs.h <<\_ACEOF
26964 #define HAVE__VSNWPRINTF 1
26965 _ACEOF
26966
26967 else
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26970
26971 echo "$as_me:$LINENO: result: no" >&5
26972 echo "${ECHO_T}no" >&6
26973 fi
26974 rm -f conftest.$ac_objext conftest.$ac_ext;
26975 fi
26976
26977 ac_ext=c
26978 ac_cpp='$CPP $CPPFLAGS'
26979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26982
26983
26984
26985
26986 if test "$TOOLKIT" != "MSW"; then
26987
26988
26989
26990
26991 ac_ext=cc
26992 ac_cpp='$CXXCPP $CPPFLAGS'
26993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26996
26997
26998
26999
27000 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27001 if test "${with_libiconv_prefix+set}" = set; then
27002 withval="$with_libiconv_prefix"
27003
27004 for dir in `echo "$withval" | tr : ' '`; do
27005 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27006 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27007 done
27008
27009 fi;
27010
27011 echo "$as_me:$LINENO: checking for iconv" >&5
27012 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27013 if test "${am_cv_func_iconv+set}" = set; then
27014 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 else
27016
27017 am_cv_func_iconv="no, consider installing GNU libiconv"
27018 am_cv_lib_iconv=no
27019 cat >conftest.$ac_ext <<_ACEOF
27020 #line $LINENO "configure"
27021 /* confdefs.h. */
27022 _ACEOF
27023 cat confdefs.h >>conftest.$ac_ext
27024 cat >>conftest.$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 #include <stdlib.h>
27027 #include <iconv.h>
27028 int
27029 main ()
27030 {
27031 iconv_t cd = iconv_open("","");
27032 iconv(cd,NULL,NULL,NULL,NULL);
27033 iconv_close(cd);
27034 ;
27035 return 0;
27036 }
27037 _ACEOF
27038 rm -f conftest.$ac_objext conftest$ac_exeext
27039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27040 (eval $ac_link) 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); } &&
27044 { ac_try='test -s conftest$ac_exeext'
27045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046 (eval $ac_try) 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27050 am_cv_func_iconv=yes
27051 else
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27054
27055 fi
27056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27057 if test "$am_cv_func_iconv" != yes; then
27058 am_save_LIBS="$LIBS"
27059 LIBS="$LIBS -liconv"
27060 cat >conftest.$ac_ext <<_ACEOF
27061 #line $LINENO "configure"
27062 /* confdefs.h. */
27063 _ACEOF
27064 cat confdefs.h >>conftest.$ac_ext
27065 cat >>conftest.$ac_ext <<_ACEOF
27066 /* end confdefs.h. */
27067 #include <stdlib.h>
27068 #include <iconv.h>
27069 int
27070 main ()
27071 {
27072 iconv_t cd = iconv_open("","");
27073 iconv(cd,NULL,NULL,NULL,NULL);
27074 iconv_close(cd);
27075 ;
27076 return 0;
27077 }
27078 _ACEOF
27079 rm -f conftest.$ac_objext conftest$ac_exeext
27080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27081 (eval $ac_link) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); } &&
27085 { ac_try='test -s conftest$ac_exeext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 am_cv_lib_iconv=yes
27092 am_cv_func_iconv=yes
27093 else
27094 echo "$as_me: failed program was:" >&5
27095 sed 's/^/| /' conftest.$ac_ext >&5
27096
27097 fi
27098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27099 LIBS="$am_save_LIBS"
27100 fi
27101
27102 fi
27103 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27104 echo "${ECHO_T}$am_cv_func_iconv" >&6
27105 if test "$am_cv_func_iconv" = yes; then
27106
27107 cat >>confdefs.h <<\_ACEOF
27108 #define HAVE_ICONV 1
27109 _ACEOF
27110
27111 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27112 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27113 if test "${wx_cv_func_iconv_const+set}" = set; then
27114 echo $ECHO_N "(cached) $ECHO_C" >&6
27115 else
27116 cat >conftest.$ac_ext <<_ACEOF
27117 #line $LINENO "configure"
27118 /* confdefs.h. */
27119 _ACEOF
27120 cat confdefs.h >>conftest.$ac_ext
27121 cat >>conftest.$ac_ext <<_ACEOF
27122 /* end confdefs.h. */
27123
27124 #include <stdlib.h>
27125 #include <iconv.h>
27126 extern
27127 #ifdef __cplusplus
27128 "C"
27129 #endif
27130 #if defined(__STDC__) || defined(__cplusplus)
27131 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27132 #else
27133 size_t iconv();
27134 #endif
27135
27136 int
27137 main ()
27138 {
27139
27140 ;
27141 return 0;
27142 }
27143 _ACEOF
27144 rm -f conftest.$ac_objext
27145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27146 (eval $ac_compile) 2>&5
27147 ac_status=$?
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); } &&
27150 { ac_try='test -s conftest.$ac_objext'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27153 ac_status=$?
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; }; then
27156 wx_cv_func_iconv_const="no"
27157 else
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.$ac_ext >&5
27160
27161 wx_cv_func_iconv_const="yes"
27162
27163 fi
27164 rm -f conftest.$ac_objext conftest.$ac_ext
27165
27166 fi
27167 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27168 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27169
27170 iconv_const=
27171 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27172 iconv_const="const"
27173 fi
27174
27175
27176 cat >>confdefs.h <<_ACEOF
27177 #define ICONV_CONST $iconv_const
27178 _ACEOF
27179
27180 fi
27181 LIBICONV=
27182 if test "$am_cv_lib_iconv" = yes; then
27183 LIBICONV="-liconv"
27184 fi
27185
27186
27187 LIBS="$LIBICONV $LIBS"
27188 ac_ext=c
27189 ac_cpp='$CPP $CPPFLAGS'
27190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27193
27194
27195 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27196
27197 for ac_func in sigaction
27198 do
27199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27200 echo "$as_me:$LINENO: checking for $ac_func" >&5
27201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27202 if eval "test \"\${$as_ac_var+set}\" = set"; then
27203 echo $ECHO_N "(cached) $ECHO_C" >&6
27204 else
27205 cat >conftest.$ac_ext <<_ACEOF
27206 #line $LINENO "configure"
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 /* System header to define __stub macros and hopefully few prototypes,
27213 which can conflict with char $ac_func (); below.
27214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27215 <limits.h> exists even on freestanding compilers. */
27216 #ifdef __STDC__
27217 # include <limits.h>
27218 #else
27219 # include <assert.h>
27220 #endif
27221 /* Override any gcc2 internal prototype to avoid an error. */
27222 #ifdef __cplusplus
27223 extern "C"
27224 {
27225 #endif
27226 /* We use char because int might match the return type of a gcc2
27227 builtin and then its argument prototype would still apply. */
27228 char $ac_func ();
27229 /* The GNU C library defines this for functions which it implements
27230 to always fail with ENOSYS. Some functions are actually named
27231 something starting with __ and the normal name is an alias. */
27232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27233 choke me
27234 #else
27235 char (*f) () = $ac_func;
27236 #endif
27237 #ifdef __cplusplus
27238 }
27239 #endif
27240
27241 int
27242 main ()
27243 {
27244 return f != $ac_func;
27245 ;
27246 return 0;
27247 }
27248 _ACEOF
27249 rm -f conftest.$ac_objext conftest$ac_exeext
27250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27251 (eval $ac_link) 2>&5
27252 ac_status=$?
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } &&
27255 { ac_try='test -s conftest$ac_exeext'
27256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27257 (eval $ac_try) 2>&5
27258 ac_status=$?
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); }; }; then
27261 eval "$as_ac_var=yes"
27262 else
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266 eval "$as_ac_var=no"
27267 fi
27268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27269 fi
27270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27272 if test `eval echo '${'$as_ac_var'}'` = yes; then
27273 cat >>confdefs.h <<_ACEOF
27274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27275 _ACEOF
27276
27277 fi
27278 done
27279
27280
27281 if test "$ac_cv_func_sigaction" = "no"; then
27282 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27283 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27284 wxUSE_ON_FATAL_EXCEPTION=no
27285 fi
27286
27287 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27288
27289
27290 ac_ext=cc
27291 ac_cpp='$CXXCPP $CPPFLAGS'
27292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27295
27296
27297 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27298 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27299 if test "${wx_cv_type_sa_handler+set}" = set; then
27300 echo $ECHO_N "(cached) $ECHO_C" >&6
27301 else
27302
27303 cat >conftest.$ac_ext <<_ACEOF
27304 #line $LINENO "configure"
27305 /* confdefs.h. */
27306 _ACEOF
27307 cat confdefs.h >>conftest.$ac_ext
27308 cat >>conftest.$ac_ext <<_ACEOF
27309 /* end confdefs.h. */
27310 #include <signal.h>
27311 int
27312 main ()
27313 {
27314
27315 extern void testSigHandler(int);
27316
27317 struct sigaction sa;
27318 sa.sa_handler = testSigHandler;
27319
27320 ;
27321 return 0;
27322 }
27323 _ACEOF
27324 rm -f conftest.$ac_objext
27325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27326 (eval $ac_compile) 2>&5
27327 ac_status=$?
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } &&
27330 { ac_try='test -s conftest.$ac_objext'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27333 ac_status=$?
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; }; then
27336
27337 wx_cv_type_sa_handler=int
27338
27339 else
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27342
27343
27344 wx_cv_type_sa_handler=void
27345
27346 fi
27347 rm -f conftest.$ac_objext conftest.$ac_ext
27348
27349 fi
27350 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27351 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27352
27353 ac_ext=c
27354 ac_cpp='$CPP $CPPFLAGS'
27355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27358
27359
27360 cat >>confdefs.h <<_ACEOF
27361 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27362 _ACEOF
27363
27364 fi
27365 fi
27366
27367
27368
27369 for ac_func in mkstemp mktemp
27370 do
27371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27372 echo "$as_me:$LINENO: checking for $ac_func" >&5
27373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27374 if eval "test \"\${$as_ac_var+set}\" = set"; then
27375 echo $ECHO_N "(cached) $ECHO_C" >&6
27376 else
27377 cat >conftest.$ac_ext <<_ACEOF
27378 #line $LINENO "configure"
27379 /* confdefs.h. */
27380 _ACEOF
27381 cat confdefs.h >>conftest.$ac_ext
27382 cat >>conftest.$ac_ext <<_ACEOF
27383 /* end confdefs.h. */
27384 /* System header to define __stub macros and hopefully few prototypes,
27385 which can conflict with char $ac_func (); below.
27386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27387 <limits.h> exists even on freestanding compilers. */
27388 #ifdef __STDC__
27389 # include <limits.h>
27390 #else
27391 # include <assert.h>
27392 #endif
27393 /* Override any gcc2 internal prototype to avoid an error. */
27394 #ifdef __cplusplus
27395 extern "C"
27396 {
27397 #endif
27398 /* We use char because int might match the return type of a gcc2
27399 builtin and then its argument prototype would still apply. */
27400 char $ac_func ();
27401 /* The GNU C library defines this for functions which it implements
27402 to always fail with ENOSYS. Some functions are actually named
27403 something starting with __ and the normal name is an alias. */
27404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27405 choke me
27406 #else
27407 char (*f) () = $ac_func;
27408 #endif
27409 #ifdef __cplusplus
27410 }
27411 #endif
27412
27413 int
27414 main ()
27415 {
27416 return f != $ac_func;
27417 ;
27418 return 0;
27419 }
27420 _ACEOF
27421 rm -f conftest.$ac_objext conftest$ac_exeext
27422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27423 (eval $ac_link) 2>&5
27424 ac_status=$?
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } &&
27427 { ac_try='test -s conftest$ac_exeext'
27428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27429 (eval $ac_try) 2>&5
27430 ac_status=$?
27431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432 (exit $ac_status); }; }; then
27433 eval "$as_ac_var=yes"
27434 else
27435 echo "$as_me: failed program was:" >&5
27436 sed 's/^/| /' conftest.$ac_ext >&5
27437
27438 eval "$as_ac_var=no"
27439 fi
27440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27441 fi
27442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27444 if test `eval echo '${'$as_ac_var'}'` = yes; then
27445 cat >>confdefs.h <<_ACEOF
27446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27447 _ACEOF
27448 break
27449 fi
27450 done
27451
27452
27453 echo "$as_me:$LINENO: checking for statfs" >&5
27454 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27455 if test "${wx_cv_func_statfs+set}" = set; then
27456 echo $ECHO_N "(cached) $ECHO_C" >&6
27457 else
27458 cat >conftest.$ac_ext <<_ACEOF
27459 #line $LINENO "configure"
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465
27466 #if defined(__BSD__)
27467 #include <sys/param.h>
27468 #include <sys/mount.h>
27469 #else
27470 #include <sys/vfs.h>
27471 #endif
27472
27473 int
27474 main ()
27475 {
27476
27477 long l;
27478 struct statfs fs;
27479 statfs("/", &fs);
27480 l = fs.f_bsize;
27481 l += fs.f_blocks;
27482 l += fs.f_bavail;
27483
27484 ;
27485 return 0;
27486 }
27487 _ACEOF
27488 rm -f conftest.$ac_objext
27489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27490 (eval $ac_compile) 2>&5
27491 ac_status=$?
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); } &&
27494 { ac_try='test -s conftest.$ac_objext'
27495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27496 (eval $ac_try) 2>&5
27497 ac_status=$?
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); }; }; then
27500
27501 wx_cv_func_statfs=yes
27502
27503 else
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.$ac_ext >&5
27506
27507
27508 wx_cv_func_statfs=no
27509
27510
27511 fi
27512 rm -f conftest.$ac_objext conftest.$ac_ext
27513
27514 fi
27515 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27516 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27517
27518 if test "$wx_cv_func_statfs" = "yes"; then
27519 wx_cv_type_statvfs_t="struct statfs"
27520 cat >>confdefs.h <<\_ACEOF
27521 #define HAVE_STATFS 1
27522 _ACEOF
27523
27524 else
27525 echo "$as_me:$LINENO: checking for statvfs" >&5
27526 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27527 if test "${wx_cv_func_statvfs+set}" = set; then
27528 echo $ECHO_N "(cached) $ECHO_C" >&6
27529 else
27530 cat >conftest.$ac_ext <<_ACEOF
27531 #line $LINENO "configure"
27532 /* confdefs.h. */
27533 _ACEOF
27534 cat confdefs.h >>conftest.$ac_ext
27535 cat >>conftest.$ac_ext <<_ACEOF
27536 /* end confdefs.h. */
27537
27538 #include <stddef.h>
27539 #include <sys/statvfs.h>
27540
27541 int
27542 main ()
27543 {
27544
27545 statvfs("/", NULL);
27546
27547 ;
27548 return 0;
27549 }
27550 _ACEOF
27551 rm -f conftest.$ac_objext
27552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27553 (eval $ac_compile) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); } &&
27557 { ac_try='test -s conftest.$ac_objext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27563 wx_cv_func_statvfs=yes
27564 else
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27567
27568 wx_cv_func_statvfs=no
27569
27570 fi
27571 rm -f conftest.$ac_objext conftest.$ac_ext
27572
27573 fi
27574 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27575 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27576
27577 if test "$wx_cv_func_statvfs" = "yes"; then
27578
27579
27580 ac_ext=cc
27581 ac_cpp='$CXXCPP $CPPFLAGS'
27582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27585
27586
27587 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27588 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27589 if test "${wx_cv_type_statvfs_t+set}" = set; then
27590 echo $ECHO_N "(cached) $ECHO_C" >&6
27591 else
27592 cat >conftest.$ac_ext <<_ACEOF
27593 #line $LINENO "configure"
27594 /* confdefs.h. */
27595 _ACEOF
27596 cat confdefs.h >>conftest.$ac_ext
27597 cat >>conftest.$ac_ext <<_ACEOF
27598 /* end confdefs.h. */
27599
27600 #include <sys/statvfs.h>
27601
27602 int
27603 main ()
27604 {
27605
27606 long l;
27607 statvfs_t fs;
27608 statvfs("/", &fs);
27609 l = fs.f_bsize;
27610 l += fs.f_blocks;
27611 l += fs.f_bavail;
27612
27613 ;
27614 return 0;
27615 }
27616 _ACEOF
27617 rm -f conftest.$ac_objext
27618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27619 (eval $ac_compile) 2>&5
27620 ac_status=$?
27621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622 (exit $ac_status); } &&
27623 { ac_try='test -s conftest.$ac_objext'
27624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27625 (eval $ac_try) 2>&5
27626 ac_status=$?
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); }; }; then
27629 wx_cv_type_statvfs_t=statvfs_t
27630 else
27631 echo "$as_me: failed program was:" >&5
27632 sed 's/^/| /' conftest.$ac_ext >&5
27633
27634
27635 cat >conftest.$ac_ext <<_ACEOF
27636 #line $LINENO "configure"
27637 /* confdefs.h. */
27638 _ACEOF
27639 cat confdefs.h >>conftest.$ac_ext
27640 cat >>conftest.$ac_ext <<_ACEOF
27641 /* end confdefs.h. */
27642
27643 #include <sys/statvfs.h>
27644
27645 int
27646 main ()
27647 {
27648
27649 long l;
27650 struct statvfs fs;
27651 statvfs("/", &fs);
27652 l = fs.f_bsize;
27653 l += fs.f_blocks;
27654 l += fs.f_bavail;
27655
27656 ;
27657 return 0;
27658 }
27659 _ACEOF
27660 rm -f conftest.$ac_objext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27662 (eval $ac_compile) 2>&5
27663 ac_status=$?
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } &&
27666 { ac_try='test -s conftest.$ac_objext'
27667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27668 (eval $ac_try) 2>&5
27669 ac_status=$?
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); }; }; then
27672 wx_cv_type_statvfs_t="struct statvfs"
27673 else
27674 echo "$as_me: failed program was:" >&5
27675 sed 's/^/| /' conftest.$ac_ext >&5
27676
27677 wx_cv_type_statvfs_t="unknown"
27678
27679 fi
27680 rm -f conftest.$ac_objext conftest.$ac_ext
27681
27682
27683 fi
27684 rm -f conftest.$ac_objext conftest.$ac_ext
27685
27686 fi
27687 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27688 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27689
27690 ac_ext=c
27691 ac_cpp='$CPP $CPPFLAGS'
27692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27695
27696
27697 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27698 cat >>confdefs.h <<\_ACEOF
27699 #define HAVE_STATVFS 1
27700 _ACEOF
27701
27702 fi
27703 else
27704 wx_cv_type_statvfs_t="unknown"
27705 fi
27706 fi
27707
27708 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27709 cat >>confdefs.h <<_ACEOF
27710 #define WX_STATFS_T $wx_cv_type_statvfs_t
27711 _ACEOF
27712
27713 else
27714 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27715 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27716 fi
27717
27718 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27719
27720
27721 for ac_func in fcntl flock
27722 do
27723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27724 echo "$as_me:$LINENO: checking for $ac_func" >&5
27725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27726 if eval "test \"\${$as_ac_var+set}\" = set"; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27728 else
27729 cat >conftest.$ac_ext <<_ACEOF
27730 #line $LINENO "configure"
27731 /* confdefs.h. */
27732 _ACEOF
27733 cat confdefs.h >>conftest.$ac_ext
27734 cat >>conftest.$ac_ext <<_ACEOF
27735 /* end confdefs.h. */
27736 /* System header to define __stub macros and hopefully few prototypes,
27737 which can conflict with char $ac_func (); below.
27738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27739 <limits.h> exists even on freestanding compilers. */
27740 #ifdef __STDC__
27741 # include <limits.h>
27742 #else
27743 # include <assert.h>
27744 #endif
27745 /* Override any gcc2 internal prototype to avoid an error. */
27746 #ifdef __cplusplus
27747 extern "C"
27748 {
27749 #endif
27750 /* We use char because int might match the return type of a gcc2
27751 builtin and then its argument prototype would still apply. */
27752 char $ac_func ();
27753 /* The GNU C library defines this for functions which it implements
27754 to always fail with ENOSYS. Some functions are actually named
27755 something starting with __ and the normal name is an alias. */
27756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27757 choke me
27758 #else
27759 char (*f) () = $ac_func;
27760 #endif
27761 #ifdef __cplusplus
27762 }
27763 #endif
27764
27765 int
27766 main ()
27767 {
27768 return f != $ac_func;
27769 ;
27770 return 0;
27771 }
27772 _ACEOF
27773 rm -f conftest.$ac_objext conftest$ac_exeext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27775 (eval $ac_link) 2>&5
27776 ac_status=$?
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try='test -s conftest$ac_exeext'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27782 ac_status=$?
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; }; then
27785 eval "$as_ac_var=yes"
27786 else
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.$ac_ext >&5
27789
27790 eval "$as_ac_var=no"
27791 fi
27792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27793 fi
27794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27796 if test `eval echo '${'$as_ac_var'}'` = yes; then
27797 cat >>confdefs.h <<_ACEOF
27798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27799 _ACEOF
27800 break
27801 fi
27802 done
27803
27804
27805 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27806 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27807 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27808 wxUSE_SNGLINST_CHECKER=no
27809 fi
27810 fi
27811
27812
27813 for ac_func in timegm
27814 do
27815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27816 echo "$as_me:$LINENO: checking for $ac_func" >&5
27817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27818 if eval "test \"\${$as_ac_var+set}\" = set"; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 else
27821 cat >conftest.$ac_ext <<_ACEOF
27822 #line $LINENO "configure"
27823 /* confdefs.h. */
27824 _ACEOF
27825 cat confdefs.h >>conftest.$ac_ext
27826 cat >>conftest.$ac_ext <<_ACEOF
27827 /* end confdefs.h. */
27828 /* System header to define __stub macros and hopefully few prototypes,
27829 which can conflict with char $ac_func (); below.
27830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27831 <limits.h> exists even on freestanding compilers. */
27832 #ifdef __STDC__
27833 # include <limits.h>
27834 #else
27835 # include <assert.h>
27836 #endif
27837 /* Override any gcc2 internal prototype to avoid an error. */
27838 #ifdef __cplusplus
27839 extern "C"
27840 {
27841 #endif
27842 /* We use char because int might match the return type of a gcc2
27843 builtin and then its argument prototype would still apply. */
27844 char $ac_func ();
27845 /* The GNU C library defines this for functions which it implements
27846 to always fail with ENOSYS. Some functions are actually named
27847 something starting with __ and the normal name is an alias. */
27848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27849 choke me
27850 #else
27851 char (*f) () = $ac_func;
27852 #endif
27853 #ifdef __cplusplus
27854 }
27855 #endif
27856
27857 int
27858 main ()
27859 {
27860 return f != $ac_func;
27861 ;
27862 return 0;
27863 }
27864 _ACEOF
27865 rm -f conftest.$ac_objext conftest$ac_exeext
27866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27867 (eval $ac_link) 2>&5
27868 ac_status=$?
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); } &&
27871 { ac_try='test -s conftest$ac_exeext'
27872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27873 (eval $ac_try) 2>&5
27874 ac_status=$?
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); }; }; then
27877 eval "$as_ac_var=yes"
27878 else
27879 echo "$as_me: failed program was:" >&5
27880 sed 's/^/| /' conftest.$ac_ext >&5
27881
27882 eval "$as_ac_var=no"
27883 fi
27884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27885 fi
27886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27888 if test `eval echo '${'$as_ac_var'}'` = yes; then
27889 cat >>confdefs.h <<_ACEOF
27890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27891 _ACEOF
27892
27893 fi
27894 done
27895
27896
27897
27898
27899 for ac_func in putenv setenv
27900 do
27901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27902 echo "$as_me:$LINENO: checking for $ac_func" >&5
27903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27904 if eval "test \"\${$as_ac_var+set}\" = set"; then
27905 echo $ECHO_N "(cached) $ECHO_C" >&6
27906 else
27907 cat >conftest.$ac_ext <<_ACEOF
27908 #line $LINENO "configure"
27909 /* confdefs.h. */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914 /* System header to define __stub macros and hopefully few prototypes,
27915 which can conflict with char $ac_func (); below.
27916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27917 <limits.h> exists even on freestanding compilers. */
27918 #ifdef __STDC__
27919 # include <limits.h>
27920 #else
27921 # include <assert.h>
27922 #endif
27923 /* Override any gcc2 internal prototype to avoid an error. */
27924 #ifdef __cplusplus
27925 extern "C"
27926 {
27927 #endif
27928 /* We use char because int might match the return type of a gcc2
27929 builtin and then its argument prototype would still apply. */
27930 char $ac_func ();
27931 /* The GNU C library defines this for functions which it implements
27932 to always fail with ENOSYS. Some functions are actually named
27933 something starting with __ and the normal name is an alias. */
27934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27935 choke me
27936 #else
27937 char (*f) () = $ac_func;
27938 #endif
27939 #ifdef __cplusplus
27940 }
27941 #endif
27942
27943 int
27944 main ()
27945 {
27946 return f != $ac_func;
27947 ;
27948 return 0;
27949 }
27950 _ACEOF
27951 rm -f conftest.$ac_objext conftest$ac_exeext
27952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27953 (eval $ac_link) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try='test -s conftest$ac_exeext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 eval "$as_ac_var=yes"
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27967
27968 eval "$as_ac_var=no"
27969 fi
27970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27971 fi
27972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27974 if test `eval echo '${'$as_ac_var'}'` = yes; then
27975 cat >>confdefs.h <<_ACEOF
27976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27977 _ACEOF
27978 break
27979 fi
27980 done
27981
27982
27983 HAVE_SOME_SLEEP_FUNC=0
27984 if test "$USE_BEOS" = 1; then
27985 cat >>confdefs.h <<\_ACEOF
27986 #define HAVE_SLEEP 1
27987 _ACEOF
27988
27989 HAVE_SOME_SLEEP_FUNC=1
27990 fi
27991
27992 if test "$USE_DARWIN" = 1; then
27993 cat >>confdefs.h <<\_ACEOF
27994 #define HAVE_USLEEP 1
27995 _ACEOF
27996
27997 HAVE_SOME_SLEEP_FUNC=1
27998 fi
27999
28000 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28001 POSIX4_LINK=
28002
28003 for ac_func in nanosleep
28004 do
28005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28006 echo "$as_me:$LINENO: checking for $ac_func" >&5
28007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28008 if eval "test \"\${$as_ac_var+set}\" = set"; then
28009 echo $ECHO_N "(cached) $ECHO_C" >&6
28010 else
28011 cat >conftest.$ac_ext <<_ACEOF
28012 #line $LINENO "configure"
28013 /* confdefs.h. */
28014 _ACEOF
28015 cat confdefs.h >>conftest.$ac_ext
28016 cat >>conftest.$ac_ext <<_ACEOF
28017 /* end confdefs.h. */
28018 /* System header to define __stub macros and hopefully few prototypes,
28019 which can conflict with char $ac_func (); below.
28020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28021 <limits.h> exists even on freestanding compilers. */
28022 #ifdef __STDC__
28023 # include <limits.h>
28024 #else
28025 # include <assert.h>
28026 #endif
28027 /* Override any gcc2 internal prototype to avoid an error. */
28028 #ifdef __cplusplus
28029 extern "C"
28030 {
28031 #endif
28032 /* We use char because int might match the return type of a gcc2
28033 builtin and then its argument prototype would still apply. */
28034 char $ac_func ();
28035 /* The GNU C library defines this for functions which it implements
28036 to always fail with ENOSYS. Some functions are actually named
28037 something starting with __ and the normal name is an alias. */
28038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28039 choke me
28040 #else
28041 char (*f) () = $ac_func;
28042 #endif
28043 #ifdef __cplusplus
28044 }
28045 #endif
28046
28047 int
28048 main ()
28049 {
28050 return f != $ac_func;
28051 ;
28052 return 0;
28053 }
28054 _ACEOF
28055 rm -f conftest.$ac_objext conftest$ac_exeext
28056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28057 (eval $ac_link) 2>&5
28058 ac_status=$?
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); } &&
28061 { ac_try='test -s conftest$ac_exeext'
28062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28063 (eval $ac_try) 2>&5
28064 ac_status=$?
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); }; }; then
28067 eval "$as_ac_var=yes"
28068 else
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28071
28072 eval "$as_ac_var=no"
28073 fi
28074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28075 fi
28076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28078 if test `eval echo '${'$as_ac_var'}'` = yes; then
28079 cat >>confdefs.h <<_ACEOF
28080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28081 _ACEOF
28082 cat >>confdefs.h <<\_ACEOF
28083 #define HAVE_NANOSLEEP 1
28084 _ACEOF
28085
28086 else
28087
28088 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28089 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28090 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28092 else
28093 ac_check_lib_save_LIBS=$LIBS
28094 LIBS="-lposix4 $LIBS"
28095 cat >conftest.$ac_ext <<_ACEOF
28096 #line $LINENO "configure"
28097 /* confdefs.h. */
28098 _ACEOF
28099 cat confdefs.h >>conftest.$ac_ext
28100 cat >>conftest.$ac_ext <<_ACEOF
28101 /* end confdefs.h. */
28102
28103 /* Override any gcc2 internal prototype to avoid an error. */
28104 #ifdef __cplusplus
28105 extern "C"
28106 #endif
28107 /* We use char because int might match the return type of a gcc2
28108 builtin and then its argument prototype would still apply. */
28109 char nanosleep ();
28110 int
28111 main ()
28112 {
28113 nanosleep ();
28114 ;
28115 return 0;
28116 }
28117 _ACEOF
28118 rm -f conftest.$ac_objext conftest$ac_exeext
28119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28120 (eval $ac_link) 2>&5
28121 ac_status=$?
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try='test -s conftest$ac_exeext'
28125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28126 (eval $ac_try) 2>&5
28127 ac_status=$?
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); }; }; then
28130 ac_cv_lib_posix4_nanosleep=yes
28131 else
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.$ac_ext >&5
28134
28135 ac_cv_lib_posix4_nanosleep=no
28136 fi
28137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28138 LIBS=$ac_check_lib_save_LIBS
28139 fi
28140 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28141 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28142 if test $ac_cv_lib_posix4_nanosleep = yes; then
28143
28144 cat >>confdefs.h <<\_ACEOF
28145 #define HAVE_NANOSLEEP 1
28146 _ACEOF
28147
28148 POSIX4_LINK=" -lposix4"
28149
28150 else
28151
28152
28153 for ac_func in usleep
28154 do
28155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28156 echo "$as_me:$LINENO: checking for $ac_func" >&5
28157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28158 if eval "test \"\${$as_ac_var+set}\" = set"; then
28159 echo $ECHO_N "(cached) $ECHO_C" >&6
28160 else
28161 cat >conftest.$ac_ext <<_ACEOF
28162 #line $LINENO "configure"
28163 /* confdefs.h. */
28164 _ACEOF
28165 cat confdefs.h >>conftest.$ac_ext
28166 cat >>conftest.$ac_ext <<_ACEOF
28167 /* end confdefs.h. */
28168 /* System header to define __stub macros and hopefully few prototypes,
28169 which can conflict with char $ac_func (); below.
28170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28171 <limits.h> exists even on freestanding compilers. */
28172 #ifdef __STDC__
28173 # include <limits.h>
28174 #else
28175 # include <assert.h>
28176 #endif
28177 /* Override any gcc2 internal prototype to avoid an error. */
28178 #ifdef __cplusplus
28179 extern "C"
28180 {
28181 #endif
28182 /* We use char because int might match the return type of a gcc2
28183 builtin and then its argument prototype would still apply. */
28184 char $ac_func ();
28185 /* The GNU C library defines this for functions which it implements
28186 to always fail with ENOSYS. Some functions are actually named
28187 something starting with __ and the normal name is an alias. */
28188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28189 choke me
28190 #else
28191 char (*f) () = $ac_func;
28192 #endif
28193 #ifdef __cplusplus
28194 }
28195 #endif
28196
28197 int
28198 main ()
28199 {
28200 return f != $ac_func;
28201 ;
28202 return 0;
28203 }
28204 _ACEOF
28205 rm -f conftest.$ac_objext conftest$ac_exeext
28206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28207 (eval $ac_link) 2>&5
28208 ac_status=$?
28209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28210 (exit $ac_status); } &&
28211 { ac_try='test -s conftest$ac_exeext'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; }; then
28217 eval "$as_ac_var=yes"
28218 else
28219 echo "$as_me: failed program was:" >&5
28220 sed 's/^/| /' conftest.$ac_ext >&5
28221
28222 eval "$as_ac_var=no"
28223 fi
28224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28225 fi
28226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28228 if test `eval echo '${'$as_ac_var'}'` = yes; then
28229 cat >>confdefs.h <<_ACEOF
28230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28231 _ACEOF
28232 cat >>confdefs.h <<\_ACEOF
28233 #define HAVE_USLEEP 1
28234 _ACEOF
28235
28236 else
28237 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28238 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28239
28240 fi
28241 done
28242
28243
28244
28245 fi
28246
28247
28248
28249 fi
28250 done
28251
28252 fi
28253
28254
28255
28256 for ac_func in uname gethostname
28257 do
28258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28259 echo "$as_me:$LINENO: checking for $ac_func" >&5
28260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28261 if eval "test \"\${$as_ac_var+set}\" = set"; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28263 else
28264 cat >conftest.$ac_ext <<_ACEOF
28265 #line $LINENO "configure"
28266 /* confdefs.h. */
28267 _ACEOF
28268 cat confdefs.h >>conftest.$ac_ext
28269 cat >>conftest.$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28271 /* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28275 #ifdef __STDC__
28276 # include <limits.h>
28277 #else
28278 # include <assert.h>
28279 #endif
28280 /* Override any gcc2 internal prototype to avoid an error. */
28281 #ifdef __cplusplus
28282 extern "C"
28283 {
28284 #endif
28285 /* We use char because int might match the return type of a gcc2
28286 builtin and then its argument prototype would still apply. */
28287 char $ac_func ();
28288 /* The GNU C library defines this for functions which it implements
28289 to always fail with ENOSYS. Some functions are actually named
28290 something starting with __ and the normal name is an alias. */
28291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28292 choke me
28293 #else
28294 char (*f) () = $ac_func;
28295 #endif
28296 #ifdef __cplusplus
28297 }
28298 #endif
28299
28300 int
28301 main ()
28302 {
28303 return f != $ac_func;
28304 ;
28305 return 0;
28306 }
28307 _ACEOF
28308 rm -f conftest.$ac_objext conftest$ac_exeext
28309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28310 (eval $ac_link) 2>&5
28311 ac_status=$?
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try='test -s conftest$ac_exeext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 eval "$as_ac_var=yes"
28321 else
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28324
28325 eval "$as_ac_var=no"
28326 fi
28327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28328 fi
28329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28331 if test `eval echo '${'$as_ac_var'}'` = yes; then
28332 cat >>confdefs.h <<_ACEOF
28333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28334 _ACEOF
28335 break
28336 fi
28337 done
28338
28339
28340
28341
28342 ac_ext=cc
28343 ac_cpp='$CXXCPP $CPPFLAGS'
28344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28347
28348
28349
28350 for ac_func in strtok_r
28351 do
28352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28353 echo "$as_me:$LINENO: checking for $ac_func" >&5
28354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28355 if eval "test \"\${$as_ac_var+set}\" = set"; then
28356 echo $ECHO_N "(cached) $ECHO_C" >&6
28357 else
28358 cat >conftest.$ac_ext <<_ACEOF
28359 #line $LINENO "configure"
28360 /* confdefs.h. */
28361 _ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365 /* System header to define __stub macros and hopefully few prototypes,
28366 which can conflict with char $ac_func (); below.
28367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28368 <limits.h> exists even on freestanding compilers. */
28369 #ifdef __STDC__
28370 # include <limits.h>
28371 #else
28372 # include <assert.h>
28373 #endif
28374 /* Override any gcc2 internal prototype to avoid an error. */
28375 #ifdef __cplusplus
28376 extern "C"
28377 {
28378 #endif
28379 /* We use char because int might match the return type of a gcc2
28380 builtin and then its argument prototype would still apply. */
28381 char $ac_func ();
28382 /* The GNU C library defines this for functions which it implements
28383 to always fail with ENOSYS. Some functions are actually named
28384 something starting with __ and the normal name is an alias. */
28385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28386 choke me
28387 #else
28388 char (*f) () = $ac_func;
28389 #endif
28390 #ifdef __cplusplus
28391 }
28392 #endif
28393
28394 int
28395 main ()
28396 {
28397 return f != $ac_func;
28398 ;
28399 return 0;
28400 }
28401 _ACEOF
28402 rm -f conftest.$ac_objext conftest$ac_exeext
28403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28404 (eval $ac_link) 2>&5
28405 ac_status=$?
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } &&
28408 { ac_try='test -s conftest$ac_exeext'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28411 ac_status=$?
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; }; then
28414 eval "$as_ac_var=yes"
28415 else
28416 echo "$as_me: failed program was:" >&5
28417 sed 's/^/| /' conftest.$ac_ext >&5
28418
28419 eval "$as_ac_var=no"
28420 fi
28421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28422 fi
28423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28425 if test `eval echo '${'$as_ac_var'}'` = yes; then
28426 cat >>confdefs.h <<_ACEOF
28427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28428 _ACEOF
28429
28430 fi
28431 done
28432
28433
28434 ac_ext=c
28435 ac_cpp='$CPP $CPPFLAGS'
28436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28439
28440
28441 INET_LINK=
28442
28443 for ac_func in inet_addr
28444 do
28445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28446 echo "$as_me:$LINENO: checking for $ac_func" >&5
28447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28448 if eval "test \"\${$as_ac_var+set}\" = set"; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28450 else
28451 cat >conftest.$ac_ext <<_ACEOF
28452 #line $LINENO "configure"
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458 /* System header to define __stub macros and hopefully few prototypes,
28459 which can conflict with char $ac_func (); below.
28460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28461 <limits.h> exists even on freestanding compilers. */
28462 #ifdef __STDC__
28463 # include <limits.h>
28464 #else
28465 # include <assert.h>
28466 #endif
28467 /* Override any gcc2 internal prototype to avoid an error. */
28468 #ifdef __cplusplus
28469 extern "C"
28470 {
28471 #endif
28472 /* We use char because int might match the return type of a gcc2
28473 builtin and then its argument prototype would still apply. */
28474 char $ac_func ();
28475 /* The GNU C library defines this for functions which it implements
28476 to always fail with ENOSYS. Some functions are actually named
28477 something starting with __ and the normal name is an alias. */
28478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28479 choke me
28480 #else
28481 char (*f) () = $ac_func;
28482 #endif
28483 #ifdef __cplusplus
28484 }
28485 #endif
28486
28487 int
28488 main ()
28489 {
28490 return f != $ac_func;
28491 ;
28492 return 0;
28493 }
28494 _ACEOF
28495 rm -f conftest.$ac_objext conftest$ac_exeext
28496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28497 (eval $ac_link) 2>&5
28498 ac_status=$?
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); } &&
28501 { ac_try='test -s conftest$ac_exeext'
28502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28503 (eval $ac_try) 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 eval "$as_ac_var=yes"
28508 else
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28511
28512 eval "$as_ac_var=no"
28513 fi
28514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28515 fi
28516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28518 if test `eval echo '${'$as_ac_var'}'` = yes; then
28519 cat >>confdefs.h <<_ACEOF
28520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28521 _ACEOF
28522 cat >>confdefs.h <<\_ACEOF
28523 #define HAVE_INET_ADDR 1
28524 _ACEOF
28525
28526 else
28527
28528 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28529 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28530 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28531 echo $ECHO_N "(cached) $ECHO_C" >&6
28532 else
28533 ac_check_lib_save_LIBS=$LIBS
28534 LIBS="-lnsl $LIBS"
28535 cat >conftest.$ac_ext <<_ACEOF
28536 #line $LINENO "configure"
28537 /* confdefs.h. */
28538 _ACEOF
28539 cat confdefs.h >>conftest.$ac_ext
28540 cat >>conftest.$ac_ext <<_ACEOF
28541 /* end confdefs.h. */
28542
28543 /* Override any gcc2 internal prototype to avoid an error. */
28544 #ifdef __cplusplus
28545 extern "C"
28546 #endif
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28549 char inet_addr ();
28550 int
28551 main ()
28552 {
28553 inet_addr ();
28554 ;
28555 return 0;
28556 }
28557 _ACEOF
28558 rm -f conftest.$ac_objext conftest$ac_exeext
28559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28560 (eval $ac_link) 2>&5
28561 ac_status=$?
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } &&
28564 { ac_try='test -s conftest$ac_exeext'
28565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28566 (eval $ac_try) 2>&5
28567 ac_status=$?
28568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28569 (exit $ac_status); }; }; then
28570 ac_cv_lib_nsl_inet_addr=yes
28571 else
28572 echo "$as_me: failed program was:" >&5
28573 sed 's/^/| /' conftest.$ac_ext >&5
28574
28575 ac_cv_lib_nsl_inet_addr=no
28576 fi
28577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28578 LIBS=$ac_check_lib_save_LIBS
28579 fi
28580 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28581 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28582 if test $ac_cv_lib_nsl_inet_addr = yes; then
28583 INET_LINK="nsl"
28584 else
28585
28586 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28587 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28588 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28590 else
28591 ac_check_lib_save_LIBS=$LIBS
28592 LIBS="-lresolv $LIBS"
28593 cat >conftest.$ac_ext <<_ACEOF
28594 #line $LINENO "configure"
28595 /* confdefs.h. */
28596 _ACEOF
28597 cat confdefs.h >>conftest.$ac_ext
28598 cat >>conftest.$ac_ext <<_ACEOF
28599 /* end confdefs.h. */
28600
28601 /* Override any gcc2 internal prototype to avoid an error. */
28602 #ifdef __cplusplus
28603 extern "C"
28604 #endif
28605 /* We use char because int might match the return type of a gcc2
28606 builtin and then its argument prototype would still apply. */
28607 char inet_addr ();
28608 int
28609 main ()
28610 {
28611 inet_addr ();
28612 ;
28613 return 0;
28614 }
28615 _ACEOF
28616 rm -f conftest.$ac_objext conftest$ac_exeext
28617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28618 (eval $ac_link) 2>&5
28619 ac_status=$?
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } &&
28622 { ac_try='test -s conftest$ac_exeext'
28623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28624 (eval $ac_try) 2>&5
28625 ac_status=$?
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); }; }; then
28628 ac_cv_lib_resolv_inet_addr=yes
28629 else
28630 echo "$as_me: failed program was:" >&5
28631 sed 's/^/| /' conftest.$ac_ext >&5
28632
28633 ac_cv_lib_resolv_inet_addr=no
28634 fi
28635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28636 LIBS=$ac_check_lib_save_LIBS
28637 fi
28638 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28639 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28640 if test $ac_cv_lib_resolv_inet_addr = yes; then
28641 INET_LINK="resolv"
28642 else
28643
28644 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28645 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28646 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28647 echo $ECHO_N "(cached) $ECHO_C" >&6
28648 else
28649 ac_check_lib_save_LIBS=$LIBS
28650 LIBS="-lsocket $LIBS"
28651 cat >conftest.$ac_ext <<_ACEOF
28652 #line $LINENO "configure"
28653 /* confdefs.h. */
28654 _ACEOF
28655 cat confdefs.h >>conftest.$ac_ext
28656 cat >>conftest.$ac_ext <<_ACEOF
28657 /* end confdefs.h. */
28658
28659 /* Override any gcc2 internal prototype to avoid an error. */
28660 #ifdef __cplusplus
28661 extern "C"
28662 #endif
28663 /* We use char because int might match the return type of a gcc2
28664 builtin and then its argument prototype would still apply. */
28665 char inet_addr ();
28666 int
28667 main ()
28668 {
28669 inet_addr ();
28670 ;
28671 return 0;
28672 }
28673 _ACEOF
28674 rm -f conftest.$ac_objext conftest$ac_exeext
28675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28676 (eval $ac_link) 2>&5
28677 ac_status=$?
28678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28679 (exit $ac_status); } &&
28680 { ac_try='test -s conftest$ac_exeext'
28681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28682 (eval $ac_try) 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 ac_cv_lib_socket_inet_addr=yes
28687 else
28688 echo "$as_me: failed program was:" >&5
28689 sed 's/^/| /' conftest.$ac_ext >&5
28690
28691 ac_cv_lib_socket_inet_addr=no
28692 fi
28693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28694 LIBS=$ac_check_lib_save_LIBS
28695 fi
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28697 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28698 if test $ac_cv_lib_socket_inet_addr = yes; then
28699 INET_LINK="socket"
28700
28701 fi
28702
28703
28704
28705 fi
28706
28707
28708
28709 fi
28710
28711
28712
28713 fi
28714 done
28715
28716
28717
28718 for ac_func in inet_aton
28719 do
28720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28721 echo "$as_me:$LINENO: checking for $ac_func" >&5
28722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28723 if eval "test \"\${$as_ac_var+set}\" = set"; then
28724 echo $ECHO_N "(cached) $ECHO_C" >&6
28725 else
28726 cat >conftest.$ac_ext <<_ACEOF
28727 #line $LINENO "configure"
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 /* System header to define __stub macros and hopefully few prototypes,
28734 which can conflict with char $ac_func (); below.
28735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28736 <limits.h> exists even on freestanding compilers. */
28737 #ifdef __STDC__
28738 # include <limits.h>
28739 #else
28740 # include <assert.h>
28741 #endif
28742 /* Override any gcc2 internal prototype to avoid an error. */
28743 #ifdef __cplusplus
28744 extern "C"
28745 {
28746 #endif
28747 /* We use char because int might match the return type of a gcc2
28748 builtin and then its argument prototype would still apply. */
28749 char $ac_func ();
28750 /* The GNU C library defines this for functions which it implements
28751 to always fail with ENOSYS. Some functions are actually named
28752 something starting with __ and the normal name is an alias. */
28753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28754 choke me
28755 #else
28756 char (*f) () = $ac_func;
28757 #endif
28758 #ifdef __cplusplus
28759 }
28760 #endif
28761
28762 int
28763 main ()
28764 {
28765 return f != $ac_func;
28766 ;
28767 return 0;
28768 }
28769 _ACEOF
28770 rm -f conftest.$ac_objext conftest$ac_exeext
28771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28772 (eval $ac_link) 2>&5
28773 ac_status=$?
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } &&
28776 { ac_try='test -s conftest$ac_exeext'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28779 ac_status=$?
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; }; then
28782 eval "$as_ac_var=yes"
28783 else
28784 echo "$as_me: failed program was:" >&5
28785 sed 's/^/| /' conftest.$ac_ext >&5
28786
28787 eval "$as_ac_var=no"
28788 fi
28789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28790 fi
28791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28793 if test `eval echo '${'$as_ac_var'}'` = yes; then
28794 cat >>confdefs.h <<_ACEOF
28795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28796 _ACEOF
28797 cat >>confdefs.h <<\_ACEOF
28798 #define HAVE_INET_ATON 1
28799 _ACEOF
28800
28801 else
28802
28803 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28804 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28805 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28806 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28807 echo $ECHO_N "(cached) $ECHO_C" >&6
28808 else
28809 ac_check_lib_save_LIBS=$LIBS
28810 LIBS="-l$INET_LINK $LIBS"
28811 cat >conftest.$ac_ext <<_ACEOF
28812 #line $LINENO "configure"
28813 /* confdefs.h. */
28814 _ACEOF
28815 cat confdefs.h >>conftest.$ac_ext
28816 cat >>conftest.$ac_ext <<_ACEOF
28817 /* end confdefs.h. */
28818
28819 /* Override any gcc2 internal prototype to avoid an error. */
28820 #ifdef __cplusplus
28821 extern "C"
28822 #endif
28823 /* We use char because int might match the return type of a gcc2
28824 builtin and then its argument prototype would still apply. */
28825 char inet_aton ();
28826 int
28827 main ()
28828 {
28829 inet_aton ();
28830 ;
28831 return 0;
28832 }
28833 _ACEOF
28834 rm -f conftest.$ac_objext conftest$ac_exeext
28835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28836 (eval $ac_link) 2>&5
28837 ac_status=$?
28838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839 (exit $ac_status); } &&
28840 { ac_try='test -s conftest$ac_exeext'
28841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28842 (eval $ac_try) 2>&5
28843 ac_status=$?
28844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28845 (exit $ac_status); }; }; then
28846 eval "$as_ac_Lib=yes"
28847 else
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28850
28851 eval "$as_ac_Lib=no"
28852 fi
28853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28854 LIBS=$ac_check_lib_save_LIBS
28855 fi
28856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28857 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28858 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28859 cat >>confdefs.h <<\_ACEOF
28860 #define HAVE_INET_ATON 1
28861 _ACEOF
28862
28863 fi
28864
28865
28866 fi
28867 done
28868
28869
28870 if test "x$INET_LINK" != "x"; then
28871 cat >>confdefs.h <<\_ACEOF
28872 #define HAVE_INET_ADDR 1
28873 _ACEOF
28874
28875 INET_LINK=" -l$INET_LINK"
28876 fi
28877
28878 fi
28879
28880
28881
28882 EXTRALIBS_ESD=
28883 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28884 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28885 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28886 echo $ECHO_N "(cached) $ECHO_C" >&6
28887 else
28888 ac_check_lib_save_LIBS=$LIBS
28889 LIBS="-lesd $LIBS"
28890 cat >conftest.$ac_ext <<_ACEOF
28891 #line $LINENO "configure"
28892 /* confdefs.h. */
28893 _ACEOF
28894 cat confdefs.h >>conftest.$ac_ext
28895 cat >>conftest.$ac_ext <<_ACEOF
28896 /* end confdefs.h. */
28897
28898 /* Override any gcc2 internal prototype to avoid an error. */
28899 #ifdef __cplusplus
28900 extern "C"
28901 #endif
28902 /* We use char because int might match the return type of a gcc2
28903 builtin and then its argument prototype would still apply. */
28904 char esd_close ();
28905 int
28906 main ()
28907 {
28908 esd_close ();
28909 ;
28910 return 0;
28911 }
28912 _ACEOF
28913 rm -f conftest.$ac_objext conftest$ac_exeext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915 (eval $ac_link) 2>&5
28916 ac_status=$?
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try='test -s conftest$ac_exeext'
28920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28921 (eval $ac_try) 2>&5
28922 ac_status=$?
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); }; }; then
28925 ac_cv_lib_esd_esd_close=yes
28926 else
28927 echo "$as_me: failed program was:" >&5
28928 sed 's/^/| /' conftest.$ac_ext >&5
28929
28930 ac_cv_lib_esd_esd_close=no
28931 fi
28932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28933 LIBS=$ac_check_lib_save_LIBS
28934 fi
28935 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28936 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28937 if test $ac_cv_lib_esd_esd_close = yes; then
28938
28939
28940 for ac_header in esd.h
28941 do
28942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28944 echo "$as_me:$LINENO: checking for $ac_header" >&5
28945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28948 fi
28949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28951 else
28952 # Is the header compilable?
28953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28955 cat >conftest.$ac_ext <<_ACEOF
28956 #line $LINENO "configure"
28957 /* confdefs.h. */
28958 _ACEOF
28959 cat confdefs.h >>conftest.$ac_ext
28960 cat >>conftest.$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28962 $ac_includes_default
28963 #include <$ac_header>
28964 _ACEOF
28965 rm -f conftest.$ac_objext
28966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28967 (eval $ac_compile) 2>&5
28968 ac_status=$?
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } &&
28971 { ac_try='test -s conftest.$ac_objext'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28974 ac_status=$?
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; }; then
28977 ac_header_compiler=yes
28978 else
28979 echo "$as_me: failed program was:" >&5
28980 sed 's/^/| /' conftest.$ac_ext >&5
28981
28982 ac_header_compiler=no
28983 fi
28984 rm -f conftest.$ac_objext conftest.$ac_ext
28985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28986 echo "${ECHO_T}$ac_header_compiler" >&6
28987
28988 # Is the header present?
28989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28991 cat >conftest.$ac_ext <<_ACEOF
28992 #line $LINENO "configure"
28993 /* confdefs.h. */
28994 _ACEOF
28995 cat confdefs.h >>conftest.$ac_ext
28996 cat >>conftest.$ac_ext <<_ACEOF
28997 /* end confdefs.h. */
28998 #include <$ac_header>
28999 _ACEOF
29000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29002 ac_status=$?
29003 grep -v '^ *+' conftest.er1 >conftest.err
29004 rm -f conftest.er1
29005 cat conftest.err >&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } >/dev/null; then
29008 if test -s conftest.err; then
29009 ac_cpp_err=$ac_c_preproc_warn_flag
29010 else
29011 ac_cpp_err=
29012 fi
29013 else
29014 ac_cpp_err=yes
29015 fi
29016 if test -z "$ac_cpp_err"; then
29017 ac_header_preproc=yes
29018 else
29019 echo "$as_me: failed program was:" >&5
29020 sed 's/^/| /' conftest.$ac_ext >&5
29021
29022 ac_header_preproc=no
29023 fi
29024 rm -f conftest.err conftest.$ac_ext
29025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29026 echo "${ECHO_T}$ac_header_preproc" >&6
29027
29028 # So? What about this header?
29029 case $ac_header_compiler:$ac_header_preproc in
29030 yes:no )
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29035 (
29036 cat <<\_ASBOX
29037 ## ------------------------------------ ##
29038 ## Report this to bug-autoconf@gnu.org. ##
29039 ## ------------------------------------ ##
29040 _ASBOX
29041 ) |
29042 sed "s/^/$as_me: WARNING: /" >&2
29043 ;;
29044 no:yes )
29045 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29046 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29047 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29048 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29051 (
29052 cat <<\_ASBOX
29053 ## ------------------------------------ ##
29054 ## Report this to bug-autoconf@gnu.org. ##
29055 ## ------------------------------------ ##
29056 _ASBOX
29057 ) |
29058 sed "s/^/$as_me: WARNING: /" >&2
29059 ;;
29060 esac
29061 echo "$as_me:$LINENO: checking for $ac_header" >&5
29062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29065 else
29066 eval "$as_ac_Header=$ac_header_preproc"
29067 fi
29068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29070
29071 fi
29072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29073 cat >>confdefs.h <<_ACEOF
29074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29075 _ACEOF
29076
29077 EXTRALIBS_ESD="-lesd"
29078
29079 fi
29080
29081 done
29082
29083
29084 fi
29085
29086
29087
29088 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29089 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29090 cat >conftest.$ac_ext <<_ACEOF
29091 #line $LINENO "configure"
29092 /* confdefs.h. */
29093 _ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097 #ifdef __linux__
29098 #include <linux/cdrom.h>
29099 #else
29100 /* For Solaris */
29101 #include <sys/cdio.h>
29102 #endif
29103
29104 int
29105 main ()
29106 {
29107 struct cdrom_tocentry entry, old_entry;
29108 ;
29109 return 0;
29110 }
29111 _ACEOF
29112 rm -f conftest.$ac_objext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29114 (eval $ac_compile) 2>&5
29115 ac_status=$?
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); } &&
29118 { ac_try='test -s conftest.$ac_objext'
29119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120 (eval $ac_try) 2>&5
29121 ac_status=$?
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); }; }; then
29124 echo "$as_me:$LINENO: result: yes" >&5
29125 echo "${ECHO_T}yes" >&6
29126 cat >>confdefs.h <<\_ACEOF
29127 #define HAVE_KNOWN_CDROM_INTERFACE 1
29128 _ACEOF
29129
29130 else
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.$ac_ext >&5
29133
29134 echo "$as_me:$LINENO: result: no" >&5
29135 echo "${ECHO_T}no" >&6
29136 fi
29137 rm -f conftest.$ac_objext conftest.$ac_ext
29138
29139
29140 cat >confcache <<\_ACEOF
29141 # This file is a shell script that caches the results of configure
29142 # tests run on this system so they can be shared between configure
29143 # scripts and configure runs, see configure's option --config-cache.
29144 # It is not useful on other systems. If it contains results you don't
29145 # want to keep, you may remove or edit it.
29146 #
29147 # config.status only pays attention to the cache file if you give it
29148 # the --recheck option to rerun configure.
29149 #
29150 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29151 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29152 # following values.
29153
29154 _ACEOF
29155
29156 # The following way of writing the cache mishandles newlines in values,
29157 # but we know of no workaround that is simple, portable, and efficient.
29158 # So, don't put newlines in cache variables' values.
29159 # Ultrix sh set writes to stderr and can't be redirected directly,
29160 # and sets the high bit in the cache file unless we assign to the vars.
29161 {
29162 (set) 2>&1 |
29163 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29164 *ac_space=\ *)
29165 # `set' does not quote correctly, so add quotes (double-quote
29166 # substitution turns \\\\ into \\, and sed turns \\ into \).
29167 sed -n \
29168 "s/'/'\\\\''/g;
29169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29170 ;;
29171 *)
29172 # `set' quotes correctly as required by POSIX, so do not add quotes.
29173 sed -n \
29174 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29175 ;;
29176 esac;
29177 } |
29178 sed '
29179 t clear
29180 : clear
29181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29182 t end
29183 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29184 : end' >>confcache
29185 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29186 if test -w $cache_file; then
29187 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29188 cat confcache >$cache_file
29189 else
29190 echo "not updating unwritable cache $cache_file"
29191 fi
29192 fi
29193 rm -f confcache
29194
29195
29196 CPP_MT_FLAG=
29197 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29198
29199
29200 THREADS_LINK=
29201 THREADS_CFLAGS=
29202
29203 if test "$wxUSE_THREADS" = "yes" ; then
29204 if test "$USE_BEOS" = 1; then
29205 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29206 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29207 wxUSE_THREADS="no"
29208 fi
29209 fi
29210
29211 if test "$wxUSE_THREADS" = "yes" ; then
29212
29213
29214 THREAD_OPTS="-pthread"
29215 case "${host}" in
29216 *-*-solaris2* | *-*-sunos4* )
29217 if test "x$GCC" = "xyes"; then
29218 THREAD_OPTS="-pthreads $THREAD_OPTS"
29219 else
29220 THREAD_OPTS="-mt $THREAD_OPTS"
29221 fi
29222 ;;
29223 *-*-freebsd*)
29224 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29225 ;;
29226 *-*-darwin* | *-*-cygwin* )
29227 THREAD_OPTS=""
29228 ;;
29229 *-*-aix*)
29230 THREAD_OPTS="pthreads"
29231 ;;
29232 *-hp-hpux* )
29233 if test "x$GCC" != "xyes"; then
29234 THREAD_OPTS=""
29235 fi
29236 ;;
29237
29238 *-*-irix* )
29239 if test "x$GCC" = "xyes"; then
29240 THREAD_OPTS=""
29241 fi
29242 ;;
29243
29244 *-*-*UnixWare*)
29245 if test "x$GCC" != "xyes"; then
29246 THREAD_OPTS="-Ethread"
29247 fi
29248 ;;
29249 esac
29250
29251 THREAD_OPTS="$THREAD_OPTS pthread none"
29252
29253 THREADS_OK=no
29254 for flag in $THREAD_OPTS; do
29255 case $flag in
29256 none)
29257 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29258 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29259 ;;
29260
29261 -*)
29262 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29263 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29264 THREADS_CFLAGS="$flag"
29265 ;;
29266
29267 *)
29268 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29269 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29270 THREADS_LINK="-l$flag"
29271 ;;
29272 esac
29273
29274 save_LIBS="$LIBS"
29275 save_CFLAGS="$CFLAGS"
29276 LIBS="$THREADS_LINK $LIBS"
29277 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29278
29279 cat >conftest.$ac_ext <<_ACEOF
29280 #line $LINENO "configure"
29281 /* confdefs.h. */
29282 _ACEOF
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29286 #include <pthread.h>
29287 int
29288 main ()
29289 {
29290 pthread_create(0,0,0,0);
29291 ;
29292 return 0;
29293 }
29294 _ACEOF
29295 rm -f conftest.$ac_objext conftest$ac_exeext
29296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29297 (eval $ac_link) 2>&5
29298 ac_status=$?
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); } &&
29301 { ac_try='test -s conftest$ac_exeext'
29302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29303 (eval $ac_try) 2>&5
29304 ac_status=$?
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); }; }; then
29307 THREADS_OK=yes
29308 else
29309 echo "$as_me: failed program was:" >&5
29310 sed 's/^/| /' conftest.$ac_ext >&5
29311
29312 fi
29313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29314
29315 LIBS="$save_LIBS"
29316 CFLAGS="$save_CFLAGS"
29317
29318 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29319 echo "${ECHO_T}$THREADS_OK" >&6
29320 if test "x$THREADS_OK" = "xyes"; then
29321 break;
29322 fi
29323
29324 THREADS_LINK=""
29325 THREADS_CFLAGS=""
29326 done
29327
29328 if test "x$THREADS_OK" != "xyes"; then
29329 wxUSE_THREADS=no
29330 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29331 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29332 else
29333 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29334 LIBS="$THREADS_LINK $LIBS"
29335
29336 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29337 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29338 flag=no
29339 case "${host}" in
29340 *-aix*)
29341 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29342 flag="-D_THREAD_SAFE"
29343 ;;
29344 *-freebsd*)
29345 flag="-D_THREAD_SAFE"
29346 ;;
29347 *-hp-hpux* )
29348 flag="-D_REENTRANT"
29349 if test "x$GCC" != "xyes"; then
29350 flag="$flag -D_RWSTD_MULTI_THREAD"
29351 fi
29352 ;;
29353 *solaris* | alpha*-osf*)
29354 flag="-D_REENTRANT"
29355 ;;
29356 esac
29357 echo "$as_me:$LINENO: result: ${flag}" >&5
29358 echo "${ECHO_T}${flag}" >&6
29359 if test "x$flag" != xno; then
29360 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29361 fi
29362
29363 if test "x$THREADS_CFLAGS" != "x"; then
29364 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29365 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29366 fi
29367 fi
29368 fi
29369
29370 if test "$wxUSE_THREADS" = "yes" ; then
29371
29372 for ac_func in thr_setconcurrency
29373 do
29374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29375 echo "$as_me:$LINENO: checking for $ac_func" >&5
29376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29377 if eval "test \"\${$as_ac_var+set}\" = set"; then
29378 echo $ECHO_N "(cached) $ECHO_C" >&6
29379 else
29380 cat >conftest.$ac_ext <<_ACEOF
29381 #line $LINENO "configure"
29382 /* confdefs.h. */
29383 _ACEOF
29384 cat confdefs.h >>conftest.$ac_ext
29385 cat >>conftest.$ac_ext <<_ACEOF
29386 /* end confdefs.h. */
29387 /* System header to define __stub macros and hopefully few prototypes,
29388 which can conflict with char $ac_func (); below.
29389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29390 <limits.h> exists even on freestanding compilers. */
29391 #ifdef __STDC__
29392 # include <limits.h>
29393 #else
29394 # include <assert.h>
29395 #endif
29396 /* Override any gcc2 internal prototype to avoid an error. */
29397 #ifdef __cplusplus
29398 extern "C"
29399 {
29400 #endif
29401 /* We use char because int might match the return type of a gcc2
29402 builtin and then its argument prototype would still apply. */
29403 char $ac_func ();
29404 /* The GNU C library defines this for functions which it implements
29405 to always fail with ENOSYS. Some functions are actually named
29406 something starting with __ and the normal name is an alias. */
29407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29408 choke me
29409 #else
29410 char (*f) () = $ac_func;
29411 #endif
29412 #ifdef __cplusplus
29413 }
29414 #endif
29415
29416 int
29417 main ()
29418 {
29419 return f != $ac_func;
29420 ;
29421 return 0;
29422 }
29423 _ACEOF
29424 rm -f conftest.$ac_objext conftest$ac_exeext
29425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29426 (eval $ac_link) 2>&5
29427 ac_status=$?
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } &&
29430 { ac_try='test -s conftest$ac_exeext'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; }; then
29436 eval "$as_ac_var=yes"
29437 else
29438 echo "$as_me: failed program was:" >&5
29439 sed 's/^/| /' conftest.$ac_ext >&5
29440
29441 eval "$as_ac_var=no"
29442 fi
29443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29444 fi
29445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29447 if test `eval echo '${'$as_ac_var'}'` = yes; then
29448 cat >>confdefs.h <<_ACEOF
29449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29450 _ACEOF
29451
29452 fi
29453 done
29454
29455
29456
29457 for ac_header in sched.h
29458 do
29459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29461 echo "$as_me:$LINENO: checking for $ac_header" >&5
29462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29465 fi
29466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29468 else
29469 # Is the header compilable?
29470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29472 cat >conftest.$ac_ext <<_ACEOF
29473 #line $LINENO "configure"
29474 /* confdefs.h. */
29475 _ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 $ac_includes_default
29480 #include <$ac_header>
29481 _ACEOF
29482 rm -f conftest.$ac_objext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29484 (eval $ac_compile) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try='test -s conftest.$ac_objext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 ac_header_compiler=yes
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 ac_header_compiler=no
29500 fi
29501 rm -f conftest.$ac_objext conftest.$ac_ext
29502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29503 echo "${ECHO_T}$ac_header_compiler" >&6
29504
29505 # Is the header present?
29506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29508 cat >conftest.$ac_ext <<_ACEOF
29509 #line $LINENO "configure"
29510 /* confdefs.h. */
29511 _ACEOF
29512 cat confdefs.h >>conftest.$ac_ext
29513 cat >>conftest.$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515 #include <$ac_header>
29516 _ACEOF
29517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29519 ac_status=$?
29520 grep -v '^ *+' conftest.er1 >conftest.err
29521 rm -f conftest.er1
29522 cat conftest.err >&5
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); } >/dev/null; then
29525 if test -s conftest.err; then
29526 ac_cpp_err=$ac_c_preproc_warn_flag
29527 else
29528 ac_cpp_err=
29529 fi
29530 else
29531 ac_cpp_err=yes
29532 fi
29533 if test -z "$ac_cpp_err"; then
29534 ac_header_preproc=yes
29535 else
29536 echo "$as_me: failed program was:" >&5
29537 sed 's/^/| /' conftest.$ac_ext >&5
29538
29539 ac_header_preproc=no
29540 fi
29541 rm -f conftest.err conftest.$ac_ext
29542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29543 echo "${ECHO_T}$ac_header_preproc" >&6
29544
29545 # So? What about this header?
29546 case $ac_header_compiler:$ac_header_preproc in
29547 yes:no )
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29552 (
29553 cat <<\_ASBOX
29554 ## ------------------------------------ ##
29555 ## Report this to bug-autoconf@gnu.org. ##
29556 ## ------------------------------------ ##
29557 _ASBOX
29558 ) |
29559 sed "s/^/$as_me: WARNING: /" >&2
29560 ;;
29561 no:yes )
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29568 (
29569 cat <<\_ASBOX
29570 ## ------------------------------------ ##
29571 ## Report this to bug-autoconf@gnu.org. ##
29572 ## ------------------------------------ ##
29573 _ASBOX
29574 ) |
29575 sed "s/^/$as_me: WARNING: /" >&2
29576 ;;
29577 esac
29578 echo "$as_me:$LINENO: checking for $ac_header" >&5
29579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29581 echo $ECHO_N "(cached) $ECHO_C" >&6
29582 else
29583 eval "$as_ac_Header=$ac_header_preproc"
29584 fi
29585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29587
29588 fi
29589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29590 cat >>confdefs.h <<_ACEOF
29591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29592 _ACEOF
29593
29594 fi
29595
29596 done
29597
29598 if test "$ac_cv_header_sched_h" = "yes"; then
29599 echo "$as_me:$LINENO: checking for sched_yield" >&5
29600 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29601 if test "${ac_cv_func_sched_yield+set}" = set; then
29602 echo $ECHO_N "(cached) $ECHO_C" >&6
29603 else
29604 cat >conftest.$ac_ext <<_ACEOF
29605 #line $LINENO "configure"
29606 /* confdefs.h. */
29607 _ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29611 /* System header to define __stub macros and hopefully few prototypes,
29612 which can conflict with char sched_yield (); below.
29613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29614 <limits.h> exists even on freestanding compilers. */
29615 #ifdef __STDC__
29616 # include <limits.h>
29617 #else
29618 # include <assert.h>
29619 #endif
29620 /* Override any gcc2 internal prototype to avoid an error. */
29621 #ifdef __cplusplus
29622 extern "C"
29623 {
29624 #endif
29625 /* We use char because int might match the return type of a gcc2
29626 builtin and then its argument prototype would still apply. */
29627 char sched_yield ();
29628 /* The GNU C library defines this for functions which it implements
29629 to always fail with ENOSYS. Some functions are actually named
29630 something starting with __ and the normal name is an alias. */
29631 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29632 choke me
29633 #else
29634 char (*f) () = sched_yield;
29635 #endif
29636 #ifdef __cplusplus
29637 }
29638 #endif
29639
29640 int
29641 main ()
29642 {
29643 return f != sched_yield;
29644 ;
29645 return 0;
29646 }
29647 _ACEOF
29648 rm -f conftest.$ac_objext conftest$ac_exeext
29649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29650 (eval $ac_link) 2>&5
29651 ac_status=$?
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); } &&
29654 { ac_try='test -s conftest$ac_exeext'
29655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29656 (eval $ac_try) 2>&5
29657 ac_status=$?
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); }; }; then
29660 ac_cv_func_sched_yield=yes
29661 else
29662 echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.$ac_ext >&5
29664
29665 ac_cv_func_sched_yield=no
29666 fi
29667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29668 fi
29669 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29670 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29671 if test $ac_cv_func_sched_yield = yes; then
29672 cat >>confdefs.h <<\_ACEOF
29673 #define HAVE_SCHED_YIELD 1
29674 _ACEOF
29675
29676 else
29677
29678 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29679 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29680 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29682 else
29683 ac_check_lib_save_LIBS=$LIBS
29684 LIBS="-lposix4 $LIBS"
29685 cat >conftest.$ac_ext <<_ACEOF
29686 #line $LINENO "configure"
29687 /* confdefs.h. */
29688 _ACEOF
29689 cat confdefs.h >>conftest.$ac_ext
29690 cat >>conftest.$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29692
29693 /* Override any gcc2 internal prototype to avoid an error. */
29694 #ifdef __cplusplus
29695 extern "C"
29696 #endif
29697 /* We use char because int might match the return type of a gcc2
29698 builtin and then its argument prototype would still apply. */
29699 char sched_yield ();
29700 int
29701 main ()
29702 {
29703 sched_yield ();
29704 ;
29705 return 0;
29706 }
29707 _ACEOF
29708 rm -f conftest.$ac_objext conftest$ac_exeext
29709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710 (eval $ac_link) 2>&5
29711 ac_status=$?
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); } &&
29714 { ac_try='test -s conftest$ac_exeext'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29717 ac_status=$?
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; }; then
29720 ac_cv_lib_posix4_sched_yield=yes
29721 else
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.$ac_ext >&5
29724
29725 ac_cv_lib_posix4_sched_yield=no
29726 fi
29727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29728 LIBS=$ac_check_lib_save_LIBS
29729 fi
29730 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29731 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29732 if test $ac_cv_lib_posix4_sched_yield = yes; then
29733 cat >>confdefs.h <<\_ACEOF
29734 #define HAVE_SCHED_YIELD 1
29735 _ACEOF
29736 POSIX4_LINK=" -lposix4"
29737 else
29738 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29739 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29740
29741 fi
29742
29743
29744
29745 fi
29746
29747 fi
29748
29749 HAVE_PRIOR_FUNCS=0
29750 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29751 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29752 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29754 else
29755 cat >conftest.$ac_ext <<_ACEOF
29756 #line $LINENO "configure"
29757 /* confdefs.h. */
29758 _ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762 /* System header to define __stub macros and hopefully few prototypes,
29763 which can conflict with char pthread_attr_getschedpolicy (); below.
29764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29765 <limits.h> exists even on freestanding compilers. */
29766 #ifdef __STDC__
29767 # include <limits.h>
29768 #else
29769 # include <assert.h>
29770 #endif
29771 /* Override any gcc2 internal prototype to avoid an error. */
29772 #ifdef __cplusplus
29773 extern "C"
29774 {
29775 #endif
29776 /* We use char because int might match the return type of a gcc2
29777 builtin and then its argument prototype would still apply. */
29778 char pthread_attr_getschedpolicy ();
29779 /* The GNU C library defines this for functions which it implements
29780 to always fail with ENOSYS. Some functions are actually named
29781 something starting with __ and the normal name is an alias. */
29782 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29783 choke me
29784 #else
29785 char (*f) () = pthread_attr_getschedpolicy;
29786 #endif
29787 #ifdef __cplusplus
29788 }
29789 #endif
29790
29791 int
29792 main ()
29793 {
29794 return f != pthread_attr_getschedpolicy;
29795 ;
29796 return 0;
29797 }
29798 _ACEOF
29799 rm -f conftest.$ac_objext conftest$ac_exeext
29800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29801 (eval $ac_link) 2>&5
29802 ac_status=$?
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); } &&
29805 { ac_try='test -s conftest$ac_exeext'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; }; then
29811 ac_cv_func_pthread_attr_getschedpolicy=yes
29812 else
29813 echo "$as_me: failed program was:" >&5
29814 sed 's/^/| /' conftest.$ac_ext >&5
29815
29816 ac_cv_func_pthread_attr_getschedpolicy=no
29817 fi
29818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29819 fi
29820 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29821 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29822 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29823 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29824 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29825 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29826 echo $ECHO_N "(cached) $ECHO_C" >&6
29827 else
29828 cat >conftest.$ac_ext <<_ACEOF
29829 #line $LINENO "configure"
29830 /* confdefs.h. */
29831 _ACEOF
29832 cat confdefs.h >>conftest.$ac_ext
29833 cat >>conftest.$ac_ext <<_ACEOF
29834 /* end confdefs.h. */
29835 /* System header to define __stub macros and hopefully few prototypes,
29836 which can conflict with char pthread_attr_setschedparam (); below.
29837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29838 <limits.h> exists even on freestanding compilers. */
29839 #ifdef __STDC__
29840 # include <limits.h>
29841 #else
29842 # include <assert.h>
29843 #endif
29844 /* Override any gcc2 internal prototype to avoid an error. */
29845 #ifdef __cplusplus
29846 extern "C"
29847 {
29848 #endif
29849 /* We use char because int might match the return type of a gcc2
29850 builtin and then its argument prototype would still apply. */
29851 char pthread_attr_setschedparam ();
29852 /* The GNU C library defines this for functions which it implements
29853 to always fail with ENOSYS. Some functions are actually named
29854 something starting with __ and the normal name is an alias. */
29855 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29856 choke me
29857 #else
29858 char (*f) () = pthread_attr_setschedparam;
29859 #endif
29860 #ifdef __cplusplus
29861 }
29862 #endif
29863
29864 int
29865 main ()
29866 {
29867 return f != pthread_attr_setschedparam;
29868 ;
29869 return 0;
29870 }
29871 _ACEOF
29872 rm -f conftest.$ac_objext conftest$ac_exeext
29873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29874 (eval $ac_link) 2>&5
29875 ac_status=$?
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } &&
29878 { ac_try='test -s conftest$ac_exeext'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29881 ac_status=$?
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; }; then
29884 ac_cv_func_pthread_attr_setschedparam=yes
29885 else
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.$ac_ext >&5
29888
29889 ac_cv_func_pthread_attr_setschedparam=no
29890 fi
29891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29892 fi
29893 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29894 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29895 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29896 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29897 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29898 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 else
29901 cat >conftest.$ac_ext <<_ACEOF
29902 #line $LINENO "configure"
29903 /* confdefs.h. */
29904 _ACEOF
29905 cat confdefs.h >>conftest.$ac_ext
29906 cat >>conftest.$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29908 /* System header to define __stub macros and hopefully few prototypes,
29909 which can conflict with char sched_get_priority_max (); below.
29910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29911 <limits.h> exists even on freestanding compilers. */
29912 #ifdef __STDC__
29913 # include <limits.h>
29914 #else
29915 # include <assert.h>
29916 #endif
29917 /* Override any gcc2 internal prototype to avoid an error. */
29918 #ifdef __cplusplus
29919 extern "C"
29920 {
29921 #endif
29922 /* We use char because int might match the return type of a gcc2
29923 builtin and then its argument prototype would still apply. */
29924 char sched_get_priority_max ();
29925 /* The GNU C library defines this for functions which it implements
29926 to always fail with ENOSYS. Some functions are actually named
29927 something starting with __ and the normal name is an alias. */
29928 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29929 choke me
29930 #else
29931 char (*f) () = sched_get_priority_max;
29932 #endif
29933 #ifdef __cplusplus
29934 }
29935 #endif
29936
29937 int
29938 main ()
29939 {
29940 return f != sched_get_priority_max;
29941 ;
29942 return 0;
29943 }
29944 _ACEOF
29945 rm -f conftest.$ac_objext conftest$ac_exeext
29946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29947 (eval $ac_link) 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); } &&
29951 { ac_try='test -s conftest$ac_exeext'
29952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29953 (eval $ac_try) 2>&5
29954 ac_status=$?
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); }; }; then
29957 ac_cv_func_sched_get_priority_max=yes
29958 else
29959 echo "$as_me: failed program was:" >&5
29960 sed 's/^/| /' conftest.$ac_ext >&5
29961
29962 ac_cv_func_sched_get_priority_max=no
29963 fi
29964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29965 fi
29966 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29967 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29968 if test $ac_cv_func_sched_get_priority_max = yes; then
29969 HAVE_PRIOR_FUNCS=1
29970 else
29971 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29972 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29973 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29974 echo $ECHO_N "(cached) $ECHO_C" >&6
29975 else
29976 ac_check_lib_save_LIBS=$LIBS
29977 LIBS="-lposix4 $LIBS"
29978 cat >conftest.$ac_ext <<_ACEOF
29979 #line $LINENO "configure"
29980 /* confdefs.h. */
29981 _ACEOF
29982 cat confdefs.h >>conftest.$ac_ext
29983 cat >>conftest.$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29985
29986 /* Override any gcc2 internal prototype to avoid an error. */
29987 #ifdef __cplusplus
29988 extern "C"
29989 #endif
29990 /* We use char because int might match the return type of a gcc2
29991 builtin and then its argument prototype would still apply. */
29992 char sched_get_priority_max ();
29993 int
29994 main ()
29995 {
29996 sched_get_priority_max ();
29997 ;
29998 return 0;
29999 }
30000 _ACEOF
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30003 (eval $ac_link) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); } &&
30007 { ac_try='test -s conftest$ac_exeext'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30010 ac_status=$?
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30013 ac_cv_lib_posix4_sched_get_priority_max=yes
30014 else
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.$ac_ext >&5
30017
30018 ac_cv_lib_posix4_sched_get_priority_max=no
30019 fi
30020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30021 LIBS=$ac_check_lib_save_LIBS
30022 fi
30023 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30024 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30025 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30026
30027 HAVE_PRIOR_FUNCS=1
30028 POSIX4_LINK=" -lposix4"
30029
30030 fi
30031
30032
30033 fi
30034
30035
30036 fi
30037
30038
30039 fi
30040
30041
30042 if test "$HAVE_PRIOR_FUNCS" = 1; then
30043 cat >>confdefs.h <<\_ACEOF
30044 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30045 _ACEOF
30046
30047 else
30048 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30049 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30050 fi
30051
30052 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30053 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30054 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30055 echo $ECHO_N "(cached) $ECHO_C" >&6
30056 else
30057 cat >conftest.$ac_ext <<_ACEOF
30058 #line $LINENO "configure"
30059 /* confdefs.h. */
30060 _ACEOF
30061 cat confdefs.h >>conftest.$ac_ext
30062 cat >>conftest.$ac_ext <<_ACEOF
30063 /* end confdefs.h. */
30064 /* System header to define __stub macros and hopefully few prototypes,
30065 which can conflict with char pthread_cancel (); below.
30066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30067 <limits.h> exists even on freestanding compilers. */
30068 #ifdef __STDC__
30069 # include <limits.h>
30070 #else
30071 # include <assert.h>
30072 #endif
30073 /* Override any gcc2 internal prototype to avoid an error. */
30074 #ifdef __cplusplus
30075 extern "C"
30076 {
30077 #endif
30078 /* We use char because int might match the return type of a gcc2
30079 builtin and then its argument prototype would still apply. */
30080 char pthread_cancel ();
30081 /* The GNU C library defines this for functions which it implements
30082 to always fail with ENOSYS. Some functions are actually named
30083 something starting with __ and the normal name is an alias. */
30084 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30085 choke me
30086 #else
30087 char (*f) () = pthread_cancel;
30088 #endif
30089 #ifdef __cplusplus
30090 }
30091 #endif
30092
30093 int
30094 main ()
30095 {
30096 return f != pthread_cancel;
30097 ;
30098 return 0;
30099 }
30100 _ACEOF
30101 rm -f conftest.$ac_objext conftest$ac_exeext
30102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30103 (eval $ac_link) 2>&5
30104 ac_status=$?
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } &&
30107 { ac_try='test -s conftest$ac_exeext'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; }; then
30113 ac_cv_func_pthread_cancel=yes
30114 else
30115 echo "$as_me: failed program was:" >&5
30116 sed 's/^/| /' conftest.$ac_ext >&5
30117
30118 ac_cv_func_pthread_cancel=no
30119 fi
30120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30121 fi
30122 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30123 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30124 if test $ac_cv_func_pthread_cancel = yes; then
30125 cat >>confdefs.h <<\_ACEOF
30126 #define HAVE_PTHREAD_CANCEL 1
30127 _ACEOF
30128
30129 else
30130 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30131 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30132 fi
30133
30134
30135
30136
30137 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30138 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30139 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 else
30142
30143 cat >conftest.$ac_ext <<_ACEOF
30144 #line $LINENO "configure"
30145 /* confdefs.h. */
30146 _ACEOF
30147 cat confdefs.h >>conftest.$ac_ext
30148 cat >>conftest.$ac_ext <<_ACEOF
30149 /* end confdefs.h. */
30150 #include <pthread.h>
30151 int
30152 main ()
30153 {
30154
30155 pthread_mutexattr_t attr;
30156 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30157
30158 ;
30159 return 0;
30160 }
30161 _ACEOF
30162 rm -f conftest.$ac_objext
30163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30164 (eval $ac_compile) 2>&5
30165 ac_status=$?
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try='test -s conftest.$ac_objext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30174
30175 wx_cv_type_pthread_mutexattr_t=yes
30176
30177 else
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.$ac_ext >&5
30180
30181
30182 wx_cv_type_pthread_mutexattr_t=no
30183
30184
30185 fi
30186 rm -f conftest.$ac_objext conftest.$ac_ext
30187
30188 fi
30189 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30190 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30191
30192 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30193 cat >>confdefs.h <<\_ACEOF
30194 #define HAVE_PTHREAD_MUTEXATTR_T 1
30195 _ACEOF
30196
30197 else
30198 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30199 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30200 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30202 else
30203
30204 cat >conftest.$ac_ext <<_ACEOF
30205 #line $LINENO "configure"
30206 /* confdefs.h. */
30207 _ACEOF
30208 cat confdefs.h >>conftest.$ac_ext
30209 cat >>conftest.$ac_ext <<_ACEOF
30210 /* end confdefs.h. */
30211 #include <pthread.h>
30212 int
30213 main ()
30214 {
30215
30216 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30217
30218 ;
30219 return 0;
30220 }
30221 _ACEOF
30222 rm -f conftest.$ac_objext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30224 (eval $ac_compile) 2>&5
30225 ac_status=$?
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try='test -s conftest.$ac_objext'
30229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30230 (eval $ac_try) 2>&5
30231 ac_status=$?
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; }; then
30234
30235 wx_cv_type_pthread_rec_mutex_init=yes
30236
30237 else
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.$ac_ext >&5
30240
30241
30242 wx_cv_type_pthread_rec_mutex_init=no
30243
30244
30245 fi
30246 rm -f conftest.$ac_objext conftest.$ac_ext
30247
30248 fi
30249 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30250 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30251 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30252 cat >>confdefs.h <<\_ACEOF
30253 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30254 _ACEOF
30255
30256 else
30257 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30258 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30259 fi
30260 fi
30261 fi
30262
30263 else
30264 if test "$wxUSE_THREADS" = "yes" ; then
30265 case "${host}" in
30266 *-*-mingw32* )
30267 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30268 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30269 if test "${wx_cv_cflags_mthread+set}" = set; then
30270 echo $ECHO_N "(cached) $ECHO_C" >&6
30271 else
30272
30273 CFLAGS_OLD="$CFLAGS"
30274 CFLAGS="$CFLAGS -mthreads"
30275 cat >conftest.$ac_ext <<_ACEOF
30276 #line $LINENO "configure"
30277 /* confdefs.h. */
30278 _ACEOF
30279 cat confdefs.h >>conftest.$ac_ext
30280 cat >>conftest.$ac_ext <<_ACEOF
30281 /* end confdefs.h. */
30282
30283 int
30284 main ()
30285 {
30286
30287 ;
30288 return 0;
30289 }
30290 _ACEOF
30291 rm -f conftest.$ac_objext
30292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30293 (eval $ac_compile) 2>&5
30294 ac_status=$?
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); } &&
30297 { ac_try='test -s conftest.$ac_objext'
30298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30299 (eval $ac_try) 2>&5
30300 ac_status=$?
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; }; then
30303 wx_cv_cflags_mthread=yes
30304 else
30305 echo "$as_me: failed program was:" >&5
30306 sed 's/^/| /' conftest.$ac_ext >&5
30307
30308 wx_cv_cflags_mthread=no
30309
30310 fi
30311 rm -f conftest.$ac_objext conftest.$ac_ext
30312
30313
30314 fi
30315 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30316 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30317
30318 if test "$wx_cv_cflags_mthread" = "yes"; then
30319 CXXFLAGS="$CXXFLAGS -mthreads"
30320 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30321 LDFLAGS="$LDFLAGS -mthreads"
30322 else
30323 CFLAGS="$CFLAGS_OLD"
30324 fi
30325 ;;
30326 *-pc-os2*emx )
30327 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30328 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30329 LDFLAGS="$LDFLAGS -Zmt"
30330 ;;
30331 esac
30332 fi
30333 fi
30334
30335 if test "$wxUSE_THREADS" = "yes"; then
30336 cat >>confdefs.h <<\_ACEOF
30337 #define wxUSE_THREADS 1
30338 _ACEOF
30339
30340
30341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30342 else
30343 if test "$ac_cv_func_strtok_r" = "yes"; then
30344 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30345 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30346 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30347 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30348 echo "$as_me:$LINENO: result: yes" >&5
30349 echo "${ECHO_T}yes" >&6
30350 else
30351 echo "$as_me:$LINENO: result: no" >&5
30352 echo "${ECHO_T}no" >&6
30353 fi
30354 fi
30355 fi
30356
30357 if test "$WXGTK20" = 1 ; then
30358 cat >>confdefs.h <<_ACEOF
30359 #define __WXGTK20__ $WXGTK20
30360 _ACEOF
30361
30362 WXGTK12=1
30363 fi
30364
30365 if test "$WXGTK12" = 1 ; then
30366 cat >>confdefs.h <<_ACEOF
30367 #define __WXGTK12__ $WXGTK12
30368 _ACEOF
30369
30370 fi
30371
30372 if test "$WXGTK127" = 1 ; then
30373 cat >>confdefs.h <<_ACEOF
30374 #define __WXGTK127__ $WXGTK127
30375 _ACEOF
30376
30377 fi
30378
30379 WXDEBUG=
30380
30381 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30382 WXDEBUG="-g"
30383 wxUSE_OPTIMISE=no
30384 fi
30385
30386 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30387 wxUSE_DEBUG_INFO=yes
30388 WXDEBUG="-ggdb"
30389 fi
30390
30391 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30392 cat >>confdefs.h <<\_ACEOF
30393 #define WXDEBUG 1
30394 _ACEOF
30395
30396 WXDEBUG_DEFINE="-D__WXDEBUG__"
30397 else
30398 if test "$wxUSE_GTK" = 1 ; then
30399 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30400 fi
30401 fi
30402
30403 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30404 cat >>confdefs.h <<\_ACEOF
30405 #define wxUSE_MEMORY_TRACING 1
30406 _ACEOF
30407
30408 cat >>confdefs.h <<\_ACEOF
30409 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30410 _ACEOF
30411
30412 cat >>confdefs.h <<\_ACEOF
30413 #define wxUSE_DEBUG_NEW_ALWAYS 1
30414 _ACEOF
30415
30416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30417 fi
30418
30419 if test "$wxUSE_DMALLOC" = "yes" ; then
30420 DMALLOC_LIBS="-ldmalloc"
30421 fi
30422
30423 PROFILE=
30424 if test "$wxUSE_PROFILE" = "yes" ; then
30425 PROFILE=" -pg"
30426 fi
30427
30428 CODE_GEN_FLAGS=
30429 CODE_GEN_FLAGS_CXX=
30430 if test "$GCC" = "yes" ; then
30431 if test "$wxUSE_NO_RTTI" = "yes" ; then
30432 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30433 fi
30434 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30435 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30436 fi
30437 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30438 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30439 fi
30440
30441 case "${host}" in
30442 powerpc*-*-aix* )
30443 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30444 ;;
30445 *-hppa* )
30446 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30447 ;;
30448 esac
30449 fi
30450
30451 OPTIMISE=
30452 if test "$wxUSE_OPTIMISE" = "no" ; then
30453 if test "$GCC" = yes ; then
30454 OPTIMISE="-O0"
30455 fi
30456 else
30457 if test "$GCC" = yes ; then
30458 OPTIMISE="-O2"
30459
30460 case "${host}" in
30461 i586-*-*|i686-*-* )
30462 OPTIMISE="${OPTIMISE} "
30463 ;;
30464 esac
30465 else
30466 OPTIMISE="-O"
30467 fi
30468 fi
30469
30470
30471 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30472 cat >>confdefs.h <<\_ACEOF
30473 #define WXWIN_COMPATIBILITY_2_2 1
30474 _ACEOF
30475
30476
30477 WXWIN_COMPATIBILITY_2_4="yes"
30478 fi
30479
30480 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30481 cat >>confdefs.h <<\_ACEOF
30482 #define WXWIN_COMPATIBILITY_2_4 1
30483 _ACEOF
30484
30485 fi
30486
30487
30488 if test "$wxUSE_GUI" = "yes"; then
30489 cat >>confdefs.h <<\_ACEOF
30490 #define wxUSE_GUI 1
30491 _ACEOF
30492
30493
30494 else
30495 cat >>confdefs.h <<\_ACEOF
30496 #define wxUSE_NOGUI 1
30497 _ACEOF
30498
30499 fi
30500
30501
30502 if test "$wxUSE_UNIX" = "yes"; then
30503 cat >>confdefs.h <<\_ACEOF
30504 #define wxUSE_UNIX 1
30505 _ACEOF
30506
30507 fi
30508
30509
30510 if test "$wxUSE_STL" = "yes"; then
30511 cat >>confdefs.h <<\_ACEOF
30512 #define wxUSE_STL 1
30513 _ACEOF
30514
30515 fi
30516
30517 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30518 cat >>confdefs.h <<\_ACEOF
30519 #define wxUSE_APPLE_IEEE 1
30520 _ACEOF
30521
30522 fi
30523
30524 if test "$wxUSE_TIMER" = "yes"; then
30525 cat >>confdefs.h <<\_ACEOF
30526 #define wxUSE_TIMER 1
30527 _ACEOF
30528
30529 fi
30530
30531 if test "$wxUSE_WAVE" = "yes"; then
30532 cat >>confdefs.h <<\_ACEOF
30533 #define wxUSE_WAVE 1
30534 _ACEOF
30535
30536 fi
30537
30538 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30539 cat >>confdefs.h <<\_ACEOF
30540 #define wxUSE_CMDLINE_PARSER 1
30541 _ACEOF
30542
30543 fi
30544
30545 if test "$wxUSE_STOPWATCH" = "yes"; then
30546 cat >>confdefs.h <<\_ACEOF
30547 #define wxUSE_STOPWATCH 1
30548 _ACEOF
30549
30550 fi
30551
30552 if test "$wxUSE_DATETIME" = "yes"; then
30553 cat >>confdefs.h <<\_ACEOF
30554 #define wxUSE_DATETIME 1
30555 _ACEOF
30556
30557 fi
30558
30559 if test "$wxUSE_FILE" = "yes"; then
30560 cat >>confdefs.h <<\_ACEOF
30561 #define wxUSE_FILE 1
30562 _ACEOF
30563
30564 fi
30565
30566 if test "$wxUSE_FFILE" = "yes"; then
30567 cat >>confdefs.h <<\_ACEOF
30568 #define wxUSE_FFILE 1
30569 _ACEOF
30570
30571 fi
30572
30573 if test "$wxUSE_FILESYSTEM" = "yes"; then
30574 cat >>confdefs.h <<\_ACEOF
30575 #define wxUSE_FILESYSTEM 1
30576 _ACEOF
30577
30578 fi
30579
30580 if test "$wxUSE_FS_ZIP" = "yes"; then
30581 cat >>confdefs.h <<\_ACEOF
30582 #define wxUSE_FS_ZIP 1
30583 _ACEOF
30584
30585 fi
30586
30587 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30588 cat >>confdefs.h <<\_ACEOF
30589 #define wxUSE_ZIPSTREAM 1
30590 _ACEOF
30591
30592 fi
30593
30594 if test "$wxUSE_GZSTREAM" = "yes"; then
30595 cat >>confdefs.h <<\_ACEOF
30596 #define wxUSE_GZSTREAM 1
30597 _ACEOF
30598
30599 fi
30600
30601 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30602 cat >>confdefs.h <<\_ACEOF
30603 #define wxUSE_ON_FATAL_EXCEPTION 1
30604 _ACEOF
30605
30606 fi
30607
30608 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30609 cat >>confdefs.h <<\_ACEOF
30610 #define wxUSE_SNGLINST_CHECKER 1
30611 _ACEOF
30612
30613 fi
30614
30615 if test "$wxUSE_BUSYINFO" = "yes"; then
30616 cat >>confdefs.h <<\_ACEOF
30617 #define wxUSE_BUSYINFO 1
30618 _ACEOF
30619
30620 fi
30621
30622 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30623 cat >>confdefs.h <<\_ACEOF
30624 #define wxUSE_STD_IOSTREAM 1
30625 _ACEOF
30626
30627 fi
30628
30629 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30630 cat >>confdefs.h <<\_ACEOF
30631 #define wxUSE_TEXTBUFFER 1
30632 _ACEOF
30633
30634 fi
30635
30636 if test "$wxUSE_TEXTFILE" = "yes"; then
30637 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30638 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30639 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30640 else
30641 cat >>confdefs.h <<\_ACEOF
30642 #define wxUSE_TEXTFILE 1
30643 _ACEOF
30644
30645 fi
30646 fi
30647
30648 if test "$wxUSE_CONFIG" = "yes" ; then
30649 if test "$wxUSE_TEXTFILE" != "yes"; then
30650 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30651 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30652 else
30653 cat >>confdefs.h <<\_ACEOF
30654 #define wxUSE_CONFIG 1
30655 _ACEOF
30656
30657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30658 fi
30659 fi
30660
30661 if test "$wxUSE_INTL" = "yes" ; then
30662 if test "$wxUSE_FILE" != "yes"; then
30663 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30664 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30665 else
30666 cat >>confdefs.h <<\_ACEOF
30667 #define wxUSE_INTL 1
30668 _ACEOF
30669
30670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30671 GUIDIST="$GUIDIST INTL_DIST"
30672 fi
30673 fi
30674
30675 if test "$wxUSE_LOG" = "yes"; then
30676 cat >>confdefs.h <<\_ACEOF
30677 #define wxUSE_LOG 1
30678 _ACEOF
30679
30680
30681 if test "$wxUSE_LOGGUI" = "yes"; then
30682 cat >>confdefs.h <<\_ACEOF
30683 #define wxUSE_LOGGUI 1
30684 _ACEOF
30685
30686 fi
30687
30688 if test "$wxUSE_LOGWINDOW" = "yes"; then
30689 cat >>confdefs.h <<\_ACEOF
30690 #define wxUSE_LOGWINDOW 1
30691 _ACEOF
30692
30693 fi
30694
30695 if test "$wxUSE_LOGDIALOG" = "yes"; then
30696 cat >>confdefs.h <<\_ACEOF
30697 #define wxUSE_LOG_DIALOG 1
30698 _ACEOF
30699
30700 fi
30701 fi
30702
30703 if test "$wxUSE_LONGLONG" = "yes"; then
30704 cat >>confdefs.h <<\_ACEOF
30705 #define wxUSE_LONGLONG 1
30706 _ACEOF
30707
30708 fi
30709
30710 if test "$wxUSE_GEOMETRY" = "yes"; then
30711 cat >>confdefs.h <<\_ACEOF
30712 #define wxUSE_GEOMETRY 1
30713 _ACEOF
30714
30715 fi
30716
30717 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30718 cat >>confdefs.h <<\_ACEOF
30719 #define wxUSE_DIALUP_MANAGER 1
30720 _ACEOF
30721
30722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30723 fi
30724
30725 if test "$wxUSE_STREAMS" = "yes" ; then
30726 cat >>confdefs.h <<\_ACEOF
30727 #define wxUSE_STREAMS 1
30728 _ACEOF
30729
30730 fi
30731
30732
30733 if test "$wxUSE_DATETIME" = "yes"; then
30734
30735 for ac_func in strptime
30736 do
30737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30738 echo "$as_me:$LINENO: checking for $ac_func" >&5
30739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30740 if eval "test \"\${$as_ac_var+set}\" = set"; then
30741 echo $ECHO_N "(cached) $ECHO_C" >&6
30742 else
30743 cat >conftest.$ac_ext <<_ACEOF
30744 #line $LINENO "configure"
30745 /* confdefs.h. */
30746 _ACEOF
30747 cat confdefs.h >>conftest.$ac_ext
30748 cat >>conftest.$ac_ext <<_ACEOF
30749 /* end confdefs.h. */
30750 /* System header to define __stub macros and hopefully few prototypes,
30751 which can conflict with char $ac_func (); below.
30752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30753 <limits.h> exists even on freestanding compilers. */
30754 #ifdef __STDC__
30755 # include <limits.h>
30756 #else
30757 # include <assert.h>
30758 #endif
30759 /* Override any gcc2 internal prototype to avoid an error. */
30760 #ifdef __cplusplus
30761 extern "C"
30762 {
30763 #endif
30764 /* We use char because int might match the return type of a gcc2
30765 builtin and then its argument prototype would still apply. */
30766 char $ac_func ();
30767 /* The GNU C library defines this for functions which it implements
30768 to always fail with ENOSYS. Some functions are actually named
30769 something starting with __ and the normal name is an alias. */
30770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30771 choke me
30772 #else
30773 char (*f) () = $ac_func;
30774 #endif
30775 #ifdef __cplusplus
30776 }
30777 #endif
30778
30779 int
30780 main ()
30781 {
30782 return f != $ac_func;
30783 ;
30784 return 0;
30785 }
30786 _ACEOF
30787 rm -f conftest.$ac_objext conftest$ac_exeext
30788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30789 (eval $ac_link) 2>&5
30790 ac_status=$?
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } &&
30793 { ac_try='test -s conftest$ac_exeext'
30794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30795 (eval $ac_try) 2>&5
30796 ac_status=$?
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); }; }; then
30799 eval "$as_ac_var=yes"
30800 else
30801 echo "$as_me: failed program was:" >&5
30802 sed 's/^/| /' conftest.$ac_ext >&5
30803
30804 eval "$as_ac_var=no"
30805 fi
30806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30807 fi
30808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30810 if test `eval echo '${'$as_ac_var'}'` = yes; then
30811 cat >>confdefs.h <<_ACEOF
30812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30813 _ACEOF
30814
30815 fi
30816 done
30817
30818
30819 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30820 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30821 if test "${wx_cv_var_timezone+set}" = set; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30823 else
30824
30825 cat >conftest.$ac_ext <<_ACEOF
30826 #line $LINENO "configure"
30827 /* confdefs.h. */
30828 _ACEOF
30829 cat confdefs.h >>conftest.$ac_ext
30830 cat >>conftest.$ac_ext <<_ACEOF
30831 /* end confdefs.h. */
30832
30833 #include <time.h>
30834
30835 int
30836 main ()
30837 {
30838
30839 int tz;
30840 tz = timezone;
30841
30842 ;
30843 return 0;
30844 }
30845 _ACEOF
30846 rm -f conftest.$ac_objext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30848 (eval $ac_compile) 2>&5
30849 ac_status=$?
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); } &&
30852 { ac_try='test -s conftest.$ac_objext'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30855 ac_status=$?
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30858
30859 wx_cv_var_timezone=timezone
30860
30861 else
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.$ac_ext >&5
30864
30865
30866 cat >conftest.$ac_ext <<_ACEOF
30867 #line $LINENO "configure"
30868 /* confdefs.h. */
30869 _ACEOF
30870 cat confdefs.h >>conftest.$ac_ext
30871 cat >>conftest.$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30873
30874 #include <time.h>
30875
30876 int
30877 main ()
30878 {
30879
30880 int tz;
30881 tz = _timezone;
30882
30883 ;
30884 return 0;
30885 }
30886 _ACEOF
30887 rm -f conftest.$ac_objext
30888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30889 (eval $ac_compile) 2>&5
30890 ac_status=$?
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); } &&
30893 { ac_try='test -s conftest.$ac_objext'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30896 ac_status=$?
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; }; then
30899
30900 wx_cv_var_timezone=_timezone
30901
30902 else
30903 echo "$as_me: failed program was:" >&5
30904 sed 's/^/| /' conftest.$ac_ext >&5
30905
30906
30907 cat >conftest.$ac_ext <<_ACEOF
30908 #line $LINENO "configure"
30909 /* confdefs.h. */
30910 _ACEOF
30911 cat confdefs.h >>conftest.$ac_ext
30912 cat >>conftest.$ac_ext <<_ACEOF
30913 /* end confdefs.h. */
30914
30915 #include <time.h>
30916
30917 int
30918 main ()
30919 {
30920
30921 int tz;
30922 tz = __timezone;
30923
30924 ;
30925 return 0;
30926 }
30927 _ACEOF
30928 rm -f conftest.$ac_objext
30929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30930 (eval $ac_compile) 2>&5
30931 ac_status=$?
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); } &&
30934 { ac_try='test -s conftest.$ac_objext'
30935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30936 (eval $ac_try) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); }; }; then
30940
30941 wx_cv_var_timezone=__timezone
30942
30943 else
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.$ac_ext >&5
30946
30947
30948 if test "$USE_DOS" = 0 ; then
30949 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30950 echo "$as_me: WARNING: no timezone variable" >&2;}
30951 fi
30952
30953
30954 fi
30955 rm -f conftest.$ac_objext conftest.$ac_ext
30956
30957
30958 fi
30959 rm -f conftest.$ac_objext conftest.$ac_ext
30960
30961
30962 fi
30963 rm -f conftest.$ac_objext conftest.$ac_ext
30964
30965
30966 fi
30967 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30968 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30969
30970 if test "x$wx_cv_var_timezone" != x ; then
30971 cat >>confdefs.h <<_ACEOF
30972 #define WX_TIMEZONE $wx_cv_var_timezone
30973 _ACEOF
30974
30975 fi
30976
30977
30978 for ac_func in localtime
30979 do
30980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30981 echo "$as_me:$LINENO: checking for $ac_func" >&5
30982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30983 if eval "test \"\${$as_ac_var+set}\" = set"; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 else
30986 cat >conftest.$ac_ext <<_ACEOF
30987 #line $LINENO "configure"
30988 /* confdefs.h. */
30989 _ACEOF
30990 cat confdefs.h >>conftest.$ac_ext
30991 cat >>conftest.$ac_ext <<_ACEOF
30992 /* end confdefs.h. */
30993 /* System header to define __stub macros and hopefully few prototypes,
30994 which can conflict with char $ac_func (); below.
30995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30996 <limits.h> exists even on freestanding compilers. */
30997 #ifdef __STDC__
30998 # include <limits.h>
30999 #else
31000 # include <assert.h>
31001 #endif
31002 /* Override any gcc2 internal prototype to avoid an error. */
31003 #ifdef __cplusplus
31004 extern "C"
31005 {
31006 #endif
31007 /* We use char because int might match the return type of a gcc2
31008 builtin and then its argument prototype would still apply. */
31009 char $ac_func ();
31010 /* The GNU C library defines this for functions which it implements
31011 to always fail with ENOSYS. Some functions are actually named
31012 something starting with __ and the normal name is an alias. */
31013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31014 choke me
31015 #else
31016 char (*f) () = $ac_func;
31017 #endif
31018 #ifdef __cplusplus
31019 }
31020 #endif
31021
31022 int
31023 main ()
31024 {
31025 return f != $ac_func;
31026 ;
31027 return 0;
31028 }
31029 _ACEOF
31030 rm -f conftest.$ac_objext conftest$ac_exeext
31031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31032 (eval $ac_link) 2>&5
31033 ac_status=$?
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try='test -s conftest$ac_exeext'
31037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31038 (eval $ac_try) 2>&5
31039 ac_status=$?
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); }; }; then
31042 eval "$as_ac_var=yes"
31043 else
31044 echo "$as_me: failed program was:" >&5
31045 sed 's/^/| /' conftest.$ac_ext >&5
31046
31047 eval "$as_ac_var=no"
31048 fi
31049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31050 fi
31051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31053 if test `eval echo '${'$as_ac_var'}'` = yes; then
31054 cat >>confdefs.h <<_ACEOF
31055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31056 _ACEOF
31057
31058 fi
31059 done
31060
31061
31062 if test "$ac_cv_func_localtime" = "yes"; then
31063 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31064 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31065 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 else
31068
31069 cat >conftest.$ac_ext <<_ACEOF
31070 #line $LINENO "configure"
31071 /* confdefs.h. */
31072 _ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31076
31077 #include <time.h>
31078
31079 int
31080 main ()
31081 {
31082
31083 struct tm tm;
31084 tm.tm_gmtoff++;
31085
31086 ;
31087 return 0;
31088 }
31089 _ACEOF
31090 rm -f conftest.$ac_objext
31091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31092 (eval $ac_compile) 2>&5
31093 ac_status=$?
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } &&
31096 { ac_try='test -s conftest.$ac_objext'
31097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31098 (eval $ac_try) 2>&5
31099 ac_status=$?
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); }; }; then
31102
31103 wx_cv_struct_tm_has_gmtoff=yes
31104
31105 else
31106 echo "$as_me: failed program was:" >&5
31107 sed 's/^/| /' conftest.$ac_ext >&5
31108
31109 wx_cv_struct_tm_has_gmtoff=no
31110
31111 fi
31112 rm -f conftest.$ac_objext conftest.$ac_ext
31113
31114 fi
31115 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31116 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31117 fi
31118
31119 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31120 cat >>confdefs.h <<\_ACEOF
31121 #define WX_GMTOFF_IN_TM 1
31122 _ACEOF
31123
31124 fi
31125
31126
31127
31128 for ac_func in gettimeofday ftime
31129 do
31130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31131 echo "$as_me:$LINENO: checking for $ac_func" >&5
31132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31133 if eval "test \"\${$as_ac_var+set}\" = set"; then
31134 echo $ECHO_N "(cached) $ECHO_C" >&6
31135 else
31136 cat >conftest.$ac_ext <<_ACEOF
31137 #line $LINENO "configure"
31138 /* confdefs.h. */
31139 _ACEOF
31140 cat confdefs.h >>conftest.$ac_ext
31141 cat >>conftest.$ac_ext <<_ACEOF
31142 /* end confdefs.h. */
31143 /* System header to define __stub macros and hopefully few prototypes,
31144 which can conflict with char $ac_func (); below.
31145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31146 <limits.h> exists even on freestanding compilers. */
31147 #ifdef __STDC__
31148 # include <limits.h>
31149 #else
31150 # include <assert.h>
31151 #endif
31152 /* Override any gcc2 internal prototype to avoid an error. */
31153 #ifdef __cplusplus
31154 extern "C"
31155 {
31156 #endif
31157 /* We use char because int might match the return type of a gcc2
31158 builtin and then its argument prototype would still apply. */
31159 char $ac_func ();
31160 /* The GNU C library defines this for functions which it implements
31161 to always fail with ENOSYS. Some functions are actually named
31162 something starting with __ and the normal name is an alias. */
31163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31164 choke me
31165 #else
31166 char (*f) () = $ac_func;
31167 #endif
31168 #ifdef __cplusplus
31169 }
31170 #endif
31171
31172 int
31173 main ()
31174 {
31175 return f != $ac_func;
31176 ;
31177 return 0;
31178 }
31179 _ACEOF
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31182 (eval $ac_link) 2>&5
31183 ac_status=$?
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); } &&
31186 { ac_try='test -s conftest$ac_exeext'
31187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31188 (eval $ac_try) 2>&5
31189 ac_status=$?
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); }; }; then
31192 eval "$as_ac_var=yes"
31193 else
31194 echo "$as_me: failed program was:" >&5
31195 sed 's/^/| /' conftest.$ac_ext >&5
31196
31197 eval "$as_ac_var=no"
31198 fi
31199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31200 fi
31201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31203 if test `eval echo '${'$as_ac_var'}'` = yes; then
31204 cat >>confdefs.h <<_ACEOF
31205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31206 _ACEOF
31207 break
31208 fi
31209 done
31210
31211
31212 if test "$ac_cv_func_gettimeofday" = "yes"; then
31213 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31214 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31215 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31217 else
31218
31219
31220
31221 ac_ext=cc
31222 ac_cpp='$CXXCPP $CPPFLAGS'
31223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31226
31227
31228 cat >conftest.$ac_ext <<_ACEOF
31229 #line $LINENO "configure"
31230 /* confdefs.h. */
31231 _ACEOF
31232 cat confdefs.h >>conftest.$ac_ext
31233 cat >>conftest.$ac_ext <<_ACEOF
31234 /* end confdefs.h. */
31235
31236 #include <sys/time.h>
31237 #include <unistd.h>
31238
31239 int
31240 main ()
31241 {
31242
31243 struct timeval tv;
31244 gettimeofday(&tv, NULL);
31245
31246 ;
31247 return 0;
31248 }
31249 _ACEOF
31250 rm -f conftest.$ac_objext
31251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31252 (eval $ac_compile) 2>&5
31253 ac_status=$?
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } &&
31256 { ac_try='test -s conftest.$ac_objext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31259 ac_status=$?
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 wx_cv_func_gettimeofday_has_2_args=yes
31263 else
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.$ac_ext >&5
31266
31267 cat >conftest.$ac_ext <<_ACEOF
31268 #line $LINENO "configure"
31269 /* confdefs.h. */
31270 _ACEOF
31271 cat confdefs.h >>conftest.$ac_ext
31272 cat >>conftest.$ac_ext <<_ACEOF
31273 /* end confdefs.h. */
31274
31275 #include <sys/time.h>
31276 #include <unistd.h>
31277
31278 int
31279 main ()
31280 {
31281
31282 struct timeval tv;
31283 gettimeofday(&tv);
31284
31285 ;
31286 return 0;
31287 }
31288 _ACEOF
31289 rm -f conftest.$ac_objext
31290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31291 (eval $ac_compile) 2>&5
31292 ac_status=$?
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); } &&
31295 { ac_try='test -s conftest.$ac_objext'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31298 ac_status=$?
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; }; then
31301 wx_cv_func_gettimeofday_has_2_args=no
31302 else
31303 echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.$ac_ext >&5
31305
31306
31307 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31308 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31309 wx_cv_func_gettimeofday_has_2_args=unknown
31310
31311
31312 fi
31313 rm -f conftest.$ac_objext conftest.$ac_ext
31314
31315 fi
31316 rm -f conftest.$ac_objext conftest.$ac_ext
31317 ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31322
31323
31324 fi
31325 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31326 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31327
31328 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31329 cat >>confdefs.h <<\_ACEOF
31330 #define WX_GETTIMEOFDAY_NO_TZ 1
31331 _ACEOF
31332
31333 fi
31334 fi
31335
31336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31337 fi
31338
31339
31340 if test "$wxUSE_SOCKETS" = "yes"; then
31341 if test "$wxUSE_MGL" = "1"; then
31342 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31343 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31344 wxUSE_SOCKETS="no"
31345 fi
31346 if test "$wxUSE_COCOA" = "1"; then
31347 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31348 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31349 wxUSE_SOCKETS="no"
31350 fi
31351 fi
31352
31353 if test "$wxUSE_SOCKETS" = "yes"; then
31354 if test "$TOOLKIT" != "MSW"; then
31355 echo "$as_me:$LINENO: checking for socket" >&5
31356 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31357 if test "${ac_cv_func_socket+set}" = set; then
31358 echo $ECHO_N "(cached) $ECHO_C" >&6
31359 else
31360 cat >conftest.$ac_ext <<_ACEOF
31361 #line $LINENO "configure"
31362 /* confdefs.h. */
31363 _ACEOF
31364 cat confdefs.h >>conftest.$ac_ext
31365 cat >>conftest.$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31367 /* System header to define __stub macros and hopefully few prototypes,
31368 which can conflict with char socket (); below.
31369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31370 <limits.h> exists even on freestanding compilers. */
31371 #ifdef __STDC__
31372 # include <limits.h>
31373 #else
31374 # include <assert.h>
31375 #endif
31376 /* Override any gcc2 internal prototype to avoid an error. */
31377 #ifdef __cplusplus
31378 extern "C"
31379 {
31380 #endif
31381 /* We use char because int might match the return type of a gcc2
31382 builtin and then its argument prototype would still apply. */
31383 char socket ();
31384 /* The GNU C library defines this for functions which it implements
31385 to always fail with ENOSYS. Some functions are actually named
31386 something starting with __ and the normal name is an alias. */
31387 #if defined (__stub_socket) || defined (__stub___socket)
31388 choke me
31389 #else
31390 char (*f) () = socket;
31391 #endif
31392 #ifdef __cplusplus
31393 }
31394 #endif
31395
31396 int
31397 main ()
31398 {
31399 return f != socket;
31400 ;
31401 return 0;
31402 }
31403 _ACEOF
31404 rm -f conftest.$ac_objext conftest$ac_exeext
31405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31406 (eval $ac_link) 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } &&
31410 { ac_try='test -s conftest$ac_exeext'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; }; then
31416 ac_cv_func_socket=yes
31417 else
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.$ac_ext >&5
31420
31421 ac_cv_func_socket=no
31422 fi
31423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31424 fi
31425 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31426 echo "${ECHO_T}$ac_cv_func_socket" >&6
31427 if test $ac_cv_func_socket = yes; then
31428 :
31429 else
31430
31431 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31432 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31433 if test "${ac_cv_lib_socket_socket+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 else
31436 ac_check_lib_save_LIBS=$LIBS
31437 LIBS="-lsocket $LIBS"
31438 cat >conftest.$ac_ext <<_ACEOF
31439 #line $LINENO "configure"
31440 /* confdefs.h. */
31441 _ACEOF
31442 cat confdefs.h >>conftest.$ac_ext
31443 cat >>conftest.$ac_ext <<_ACEOF
31444 /* end confdefs.h. */
31445
31446 /* Override any gcc2 internal prototype to avoid an error. */
31447 #ifdef __cplusplus
31448 extern "C"
31449 #endif
31450 /* We use char because int might match the return type of a gcc2
31451 builtin and then its argument prototype would still apply. */
31452 char socket ();
31453 int
31454 main ()
31455 {
31456 socket ();
31457 ;
31458 return 0;
31459 }
31460 _ACEOF
31461 rm -f conftest.$ac_objext conftest$ac_exeext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31463 (eval $ac_link) 2>&5
31464 ac_status=$?
31465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466 (exit $ac_status); } &&
31467 { ac_try='test -s conftest$ac_exeext'
31468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31469 (eval $ac_try) 2>&5
31470 ac_status=$?
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); }; }; then
31473 ac_cv_lib_socket_socket=yes
31474 else
31475 echo "$as_me: failed program was:" >&5
31476 sed 's/^/| /' conftest.$ac_ext >&5
31477
31478 ac_cv_lib_socket_socket=no
31479 fi
31480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31481 LIBS=$ac_check_lib_save_LIBS
31482 fi
31483 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31484 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31485 if test $ac_cv_lib_socket_socket = yes; then
31486 if test "$INET_LINK" != " -lsocket"; then
31487 INET_LINK="$INET_LINK -lsocket"
31488 fi
31489 else
31490
31491 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31492 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31493 wxUSE_SOCKETS=no
31494
31495
31496 fi
31497
31498
31499
31500 fi
31501
31502 fi
31503 fi
31504
31505 if test "$wxUSE_SOCKETS" = "yes" ; then
31506 if test "$TOOLKIT" != "MSW"; then
31507 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31508 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31509 if test "${wx_cv_type_getsockname3+set}" = set; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31511 else
31512
31513 cat >conftest.$ac_ext <<_ACEOF
31514 #line $LINENO "configure"
31515 /* confdefs.h. */
31516 _ACEOF
31517 cat confdefs.h >>conftest.$ac_ext
31518 cat >>conftest.$ac_ext <<_ACEOF
31519 /* end confdefs.h. */
31520
31521 #include <sys/types.h>
31522 #include <sys/socket.h>
31523
31524 int
31525 main ()
31526 {
31527
31528 socklen_t len;
31529 getsockname(0, 0, &len);
31530
31531 ;
31532 return 0;
31533 }
31534 _ACEOF
31535 rm -f conftest.$ac_objext
31536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31537 (eval $ac_compile) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); } &&
31541 { ac_try='test -s conftest.$ac_objext'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31544 ac_status=$?
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; }; then
31547 wx_cv_type_getsockname3=socklen_t
31548 else
31549 echo "$as_me: failed program was:" >&5
31550 sed 's/^/| /' conftest.$ac_ext >&5
31551
31552
31553 CFLAGS_OLD="$CFLAGS"
31554 if test "$GCC" = yes ; then
31555 CFLAGS="$CFLAGS -Werror"
31556 fi
31557
31558 cat >conftest.$ac_ext <<_ACEOF
31559 #line $LINENO "configure"
31560 /* confdefs.h. */
31561 _ACEOF
31562 cat confdefs.h >>conftest.$ac_ext
31563 cat >>conftest.$ac_ext <<_ACEOF
31564 /* end confdefs.h. */
31565
31566 #include <sys/types.h>
31567 #include <sys/socket.h>
31568
31569 int
31570 main ()
31571 {
31572
31573 size_t len;
31574 getsockname(0, 0, &len);
31575
31576 ;
31577 return 0;
31578 }
31579 _ACEOF
31580 rm -f conftest.$ac_objext
31581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31582 (eval $ac_compile) 2>&5
31583 ac_status=$?
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); } &&
31586 { ac_try='test -s conftest.$ac_objext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31589 ac_status=$?
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 wx_cv_type_getsockname3=size_t
31593 else
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31596
31597 cat >conftest.$ac_ext <<_ACEOF
31598 #line $LINENO "configure"
31599 /* confdefs.h. */
31600 _ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604
31605 #include <sys/types.h>
31606 #include <sys/socket.h>
31607
31608 int
31609 main ()
31610 {
31611
31612 int len;
31613 getsockname(0, 0, &len);
31614
31615 ;
31616 return 0;
31617 }
31618 _ACEOF
31619 rm -f conftest.$ac_objext
31620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31621 (eval $ac_compile) 2>&5
31622 ac_status=$?
31623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31624 (exit $ac_status); } &&
31625 { ac_try='test -s conftest.$ac_objext'
31626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31627 (eval $ac_try) 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; }; then
31631 wx_cv_type_getsockname3=int
31632 else
31633 echo "$as_me: failed program was:" >&5
31634 sed 's/^/| /' conftest.$ac_ext >&5
31635
31636 wx_cv_type_getsockname3=unknown
31637
31638 fi
31639 rm -f conftest.$ac_objext conftest.$ac_ext
31640
31641 fi
31642 rm -f conftest.$ac_objext conftest.$ac_ext
31643
31644 CFLAGS="$CFLAGS_OLD"
31645
31646
31647 fi
31648 rm -f conftest.$ac_objext conftest.$ac_ext
31649
31650 fi
31651 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31652 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31653
31654 if test "$wx_cv_type_getsockname3" = "unknown"; then
31655 wxUSE_SOCKETS=no
31656 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31657 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31658 else
31659 cat >>confdefs.h <<_ACEOF
31660 #define SOCKLEN_T $wx_cv_type_getsockname3
31661 _ACEOF
31662
31663 fi
31664 fi
31665 fi
31666
31667 if test "$wxUSE_SOCKETS" = "yes" ; then
31668 cat >>confdefs.h <<\_ACEOF
31669 #define wxUSE_SOCKETS 1
31670 _ACEOF
31671
31672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31673 fi
31674
31675 if test "$wxUSE_PROTOCOL" = "yes"; then
31676 if test "$wxUSE_SOCKETS" != "yes"; then
31677 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31678 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31679 wxUSE_PROTOCOL=no
31680 fi
31681 fi
31682
31683 if test "$wxUSE_PROTOCOL" = "yes"; then
31684 cat >>confdefs.h <<\_ACEOF
31685 #define wxUSE_PROTOCOL 1
31686 _ACEOF
31687
31688
31689 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31690 cat >>confdefs.h <<\_ACEOF
31691 #define wxUSE_PROTOCOL_HTTP 1
31692 _ACEOF
31693
31694 fi
31695 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31696 cat >>confdefs.h <<\_ACEOF
31697 #define wxUSE_PROTOCOL_FTP 1
31698 _ACEOF
31699
31700 fi
31701 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31702 cat >>confdefs.h <<\_ACEOF
31703 #define wxUSE_PROTOCOL_FILE 1
31704 _ACEOF
31705
31706 fi
31707 else
31708 if test "$wxUSE_FS_INET" = "yes"; then
31709 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31710 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31711 wxUSE_FS_INET="no"
31712 fi
31713 fi
31714
31715 if test "$wxUSE_URL" = "yes"; then
31716 if test "$wxUSE_PROTOCOL" != "yes"; then
31717 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31718 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31719 wxUSE_URL=no
31720 fi
31721 if test "$wxUSE_URL" = "yes"; then
31722 cat >>confdefs.h <<\_ACEOF
31723 #define wxUSE_URL 1
31724 _ACEOF
31725
31726 fi
31727 fi
31728
31729 if test "$wxUSE_FS_INET" = "yes"; then
31730 cat >>confdefs.h <<\_ACEOF
31731 #define wxUSE_FS_INET 1
31732 _ACEOF
31733
31734 fi
31735
31736
31737 if test "$wxUSE_GUI" = "yes"; then
31738
31739 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31740 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31741 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31742 wxUSE_JOYSTICK=no
31743 fi
31744
31745 if test "$TOOLKIT" != "MSW"; then
31746 if test "$wxUSE_JOYSTICK" = "yes"; then
31747
31748 for ac_header in linux/joystick.h
31749 do
31750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31752 echo "$as_me:$LINENO: checking for $ac_header" >&5
31753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 fi
31757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31759 else
31760 # Is the header compilable?
31761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31763 cat >conftest.$ac_ext <<_ACEOF
31764 #line $LINENO "configure"
31765 /* confdefs.h. */
31766 _ACEOF
31767 cat confdefs.h >>conftest.$ac_ext
31768 cat >>conftest.$ac_ext <<_ACEOF
31769 /* end confdefs.h. */
31770 $ac_includes_default
31771 #include <$ac_header>
31772 _ACEOF
31773 rm -f conftest.$ac_objext
31774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31775 (eval $ac_compile) 2>&5
31776 ac_status=$?
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try='test -s conftest.$ac_objext'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31782 ac_status=$?
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; }; then
31785 ac_header_compiler=yes
31786 else
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.$ac_ext >&5
31789
31790 ac_header_compiler=no
31791 fi
31792 rm -f conftest.$ac_objext conftest.$ac_ext
31793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31794 echo "${ECHO_T}$ac_header_compiler" >&6
31795
31796 # Is the header present?
31797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31799 cat >conftest.$ac_ext <<_ACEOF
31800 #line $LINENO "configure"
31801 /* confdefs.h. */
31802 _ACEOF
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31806 #include <$ac_header>
31807 _ACEOF
31808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31810 ac_status=$?
31811 grep -v '^ *+' conftest.er1 >conftest.err
31812 rm -f conftest.er1
31813 cat conftest.err >&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } >/dev/null; then
31816 if test -s conftest.err; then
31817 ac_cpp_err=$ac_c_preproc_warn_flag
31818 else
31819 ac_cpp_err=
31820 fi
31821 else
31822 ac_cpp_err=yes
31823 fi
31824 if test -z "$ac_cpp_err"; then
31825 ac_header_preproc=yes
31826 else
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31829
31830 ac_header_preproc=no
31831 fi
31832 rm -f conftest.err conftest.$ac_ext
31833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31834 echo "${ECHO_T}$ac_header_preproc" >&6
31835
31836 # So? What about this header?
31837 case $ac_header_compiler:$ac_header_preproc in
31838 yes:no )
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31843 (
31844 cat <<\_ASBOX
31845 ## ------------------------------------ ##
31846 ## Report this to bug-autoconf@gnu.org. ##
31847 ## ------------------------------------ ##
31848 _ASBOX
31849 ) |
31850 sed "s/^/$as_me: WARNING: /" >&2
31851 ;;
31852 no:yes )
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31859 (
31860 cat <<\_ASBOX
31861 ## ------------------------------------ ##
31862 ## Report this to bug-autoconf@gnu.org. ##
31863 ## ------------------------------------ ##
31864 _ASBOX
31865 ) |
31866 sed "s/^/$as_me: WARNING: /" >&2
31867 ;;
31868 esac
31869 echo "$as_me:$LINENO: checking for $ac_header" >&5
31870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31872 echo $ECHO_N "(cached) $ECHO_C" >&6
31873 else
31874 eval "$as_ac_Header=$ac_header_preproc"
31875 fi
31876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31878
31879 fi
31880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31881 cat >>confdefs.h <<_ACEOF
31882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31883 _ACEOF
31884
31885 fi
31886
31887 done
31888
31889 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31890 wxUSE_JOYSTICK=no
31891 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31892 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31893 fi
31894 fi
31895 fi
31896
31897 if test "$wxUSE_JOYSTICK" = "yes"; then
31898 cat >>confdefs.h <<\_ACEOF
31899 #define wxUSE_JOYSTICK 1
31900 _ACEOF
31901
31902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31903 fi
31904 fi
31905
31906
31907 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31908
31909 HAVE_DL_FUNCS=0
31910 HAVE_SHL_FUNCS=0
31911 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31912 if test "$USE_DARWIN" = 1; then
31913 HAVE_DL_FUNCS=1
31914 else
31915
31916 for ac_func in dlopen
31917 do
31918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31919 echo "$as_me:$LINENO: checking for $ac_func" >&5
31920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31921 if eval "test \"\${$as_ac_var+set}\" = set"; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31923 else
31924 cat >conftest.$ac_ext <<_ACEOF
31925 #line $LINENO "configure"
31926 /* confdefs.h. */
31927 _ACEOF
31928 cat confdefs.h >>conftest.$ac_ext
31929 cat >>conftest.$ac_ext <<_ACEOF
31930 /* end confdefs.h. */
31931 /* System header to define __stub macros and hopefully few prototypes,
31932 which can conflict with char $ac_func (); below.
31933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31934 <limits.h> exists even on freestanding compilers. */
31935 #ifdef __STDC__
31936 # include <limits.h>
31937 #else
31938 # include <assert.h>
31939 #endif
31940 /* Override any gcc2 internal prototype to avoid an error. */
31941 #ifdef __cplusplus
31942 extern "C"
31943 {
31944 #endif
31945 /* We use char because int might match the return type of a gcc2
31946 builtin and then its argument prototype would still apply. */
31947 char $ac_func ();
31948 /* The GNU C library defines this for functions which it implements
31949 to always fail with ENOSYS. Some functions are actually named
31950 something starting with __ and the normal name is an alias. */
31951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31952 choke me
31953 #else
31954 char (*f) () = $ac_func;
31955 #endif
31956 #ifdef __cplusplus
31957 }
31958 #endif
31959
31960 int
31961 main ()
31962 {
31963 return f != $ac_func;
31964 ;
31965 return 0;
31966 }
31967 _ACEOF
31968 rm -f conftest.$ac_objext conftest$ac_exeext
31969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31970 (eval $ac_link) 2>&5
31971 ac_status=$?
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } &&
31974 { ac_try='test -s conftest$ac_exeext'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; }; then
31980 eval "$as_ac_var=yes"
31981 else
31982 echo "$as_me: failed program was:" >&5
31983 sed 's/^/| /' conftest.$ac_ext >&5
31984
31985 eval "$as_ac_var=no"
31986 fi
31987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31988 fi
31989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31991 if test `eval echo '${'$as_ac_var'}'` = yes; then
31992 cat >>confdefs.h <<_ACEOF
31993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31994 _ACEOF
31995
31996 cat >>confdefs.h <<\_ACEOF
31997 #define HAVE_DLOPEN 1
31998 _ACEOF
31999
32000 HAVE_DL_FUNCS=1
32001
32002 else
32003
32004 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32005 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32006 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32007 echo $ECHO_N "(cached) $ECHO_C" >&6
32008 else
32009 ac_check_lib_save_LIBS=$LIBS
32010 LIBS="-ldl $LIBS"
32011 cat >conftest.$ac_ext <<_ACEOF
32012 #line $LINENO "configure"
32013 /* confdefs.h. */
32014 _ACEOF
32015 cat confdefs.h >>conftest.$ac_ext
32016 cat >>conftest.$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32018
32019 /* Override any gcc2 internal prototype to avoid an error. */
32020 #ifdef __cplusplus
32021 extern "C"
32022 #endif
32023 /* We use char because int might match the return type of a gcc2
32024 builtin and then its argument prototype would still apply. */
32025 char dlopen ();
32026 int
32027 main ()
32028 {
32029 dlopen ();
32030 ;
32031 return 0;
32032 }
32033 _ACEOF
32034 rm -f conftest.$ac_objext conftest$ac_exeext
32035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32036 (eval $ac_link) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } &&
32040 { ac_try='test -s conftest$ac_exeext'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; }; then
32046 ac_cv_lib_dl_dlopen=yes
32047 else
32048 echo "$as_me: failed program was:" >&5
32049 sed 's/^/| /' conftest.$ac_ext >&5
32050
32051 ac_cv_lib_dl_dlopen=no
32052 fi
32053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32054 LIBS=$ac_check_lib_save_LIBS
32055 fi
32056 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32057 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32058 if test $ac_cv_lib_dl_dlopen = yes; then
32059
32060 cat >>confdefs.h <<\_ACEOF
32061 #define HAVE_DLOPEN 1
32062 _ACEOF
32063
32064 HAVE_DL_FUNCS=1
32065 DL_LINK=" -ldl$DL_LINK"
32066
32067 else
32068
32069
32070 for ac_func in shl_load
32071 do
32072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32073 echo "$as_me:$LINENO: checking for $ac_func" >&5
32074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32075 if eval "test \"\${$as_ac_var+set}\" = set"; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 else
32078 cat >conftest.$ac_ext <<_ACEOF
32079 #line $LINENO "configure"
32080 /* confdefs.h. */
32081 _ACEOF
32082 cat confdefs.h >>conftest.$ac_ext
32083 cat >>conftest.$ac_ext <<_ACEOF
32084 /* end confdefs.h. */
32085 /* System header to define __stub macros and hopefully few prototypes,
32086 which can conflict with char $ac_func (); below.
32087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32088 <limits.h> exists even on freestanding compilers. */
32089 #ifdef __STDC__
32090 # include <limits.h>
32091 #else
32092 # include <assert.h>
32093 #endif
32094 /* Override any gcc2 internal prototype to avoid an error. */
32095 #ifdef __cplusplus
32096 extern "C"
32097 {
32098 #endif
32099 /* We use char because int might match the return type of a gcc2
32100 builtin and then its argument prototype would still apply. */
32101 char $ac_func ();
32102 /* The GNU C library defines this for functions which it implements
32103 to always fail with ENOSYS. Some functions are actually named
32104 something starting with __ and the normal name is an alias. */
32105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32106 choke me
32107 #else
32108 char (*f) () = $ac_func;
32109 #endif
32110 #ifdef __cplusplus
32111 }
32112 #endif
32113
32114 int
32115 main ()
32116 {
32117 return f != $ac_func;
32118 ;
32119 return 0;
32120 }
32121 _ACEOF
32122 rm -f conftest.$ac_objext conftest$ac_exeext
32123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124 (eval $ac_link) 2>&5
32125 ac_status=$?
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } &&
32128 { ac_try='test -s conftest$ac_exeext'
32129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32130 (eval $ac_try) 2>&5
32131 ac_status=$?
32132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32133 (exit $ac_status); }; }; then
32134 eval "$as_ac_var=yes"
32135 else
32136 echo "$as_me: failed program was:" >&5
32137 sed 's/^/| /' conftest.$ac_ext >&5
32138
32139 eval "$as_ac_var=no"
32140 fi
32141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32142 fi
32143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32145 if test `eval echo '${'$as_ac_var'}'` = yes; then
32146 cat >>confdefs.h <<_ACEOF
32147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32148 _ACEOF
32149
32150 cat >>confdefs.h <<\_ACEOF
32151 #define HAVE_SHL_LOAD 1
32152 _ACEOF
32153
32154 HAVE_SHL_FUNCS=1
32155
32156 else
32157
32158 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32159 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32160 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32162 else
32163 ac_check_lib_save_LIBS=$LIBS
32164 LIBS="-lshl_load $LIBS"
32165 cat >conftest.$ac_ext <<_ACEOF
32166 #line $LINENO "configure"
32167 /* confdefs.h. */
32168 _ACEOF
32169 cat confdefs.h >>conftest.$ac_ext
32170 cat >>conftest.$ac_ext <<_ACEOF
32171 /* end confdefs.h. */
32172
32173 /* Override any gcc2 internal prototype to avoid an error. */
32174 #ifdef __cplusplus
32175 extern "C"
32176 #endif
32177 /* We use char because int might match the return type of a gcc2
32178 builtin and then its argument prototype would still apply. */
32179 char dld ();
32180 int
32181 main ()
32182 {
32183 dld ();
32184 ;
32185 return 0;
32186 }
32187 _ACEOF
32188 rm -f conftest.$ac_objext conftest$ac_exeext
32189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32190 (eval $ac_link) 2>&5
32191 ac_status=$?
32192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32193 (exit $ac_status); } &&
32194 { ac_try='test -s conftest$ac_exeext'
32195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32196 (eval $ac_try) 2>&5
32197 ac_status=$?
32198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32199 (exit $ac_status); }; }; then
32200 ac_cv_lib_shl_load_dld=yes
32201 else
32202 echo "$as_me: failed program was:" >&5
32203 sed 's/^/| /' conftest.$ac_ext >&5
32204
32205 ac_cv_lib_shl_load_dld=no
32206 fi
32207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32208 LIBS=$ac_check_lib_save_LIBS
32209 fi
32210 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32211 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32212 if test $ac_cv_lib_shl_load_dld = yes; then
32213
32214 HAVE_SHL_FUNCS=1
32215 DL_LINK=" -ldld$DL_LINK"
32216
32217 fi
32218
32219
32220 fi
32221 done
32222
32223
32224 fi
32225
32226
32227 fi
32228 done
32229
32230
32231 if test "$HAVE_DL_FUNCS" = 1; then
32232
32233 for ac_func in dlerror
32234 do
32235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32236 echo "$as_me:$LINENO: checking for $ac_func" >&5
32237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32238 if eval "test \"\${$as_ac_var+set}\" = set"; then
32239 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 else
32241 cat >conftest.$ac_ext <<_ACEOF
32242 #line $LINENO "configure"
32243 /* confdefs.h. */
32244 _ACEOF
32245 cat confdefs.h >>conftest.$ac_ext
32246 cat >>conftest.$ac_ext <<_ACEOF
32247 /* end confdefs.h. */
32248 /* System header to define __stub macros and hopefully few prototypes,
32249 which can conflict with char $ac_func (); below.
32250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32251 <limits.h> exists even on freestanding compilers. */
32252 #ifdef __STDC__
32253 # include <limits.h>
32254 #else
32255 # include <assert.h>
32256 #endif
32257 /* Override any gcc2 internal prototype to avoid an error. */
32258 #ifdef __cplusplus
32259 extern "C"
32260 {
32261 #endif
32262 /* We use char because int might match the return type of a gcc2
32263 builtin and then its argument prototype would still apply. */
32264 char $ac_func ();
32265 /* The GNU C library defines this for functions which it implements
32266 to always fail with ENOSYS. Some functions are actually named
32267 something starting with __ and the normal name is an alias. */
32268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32269 choke me
32270 #else
32271 char (*f) () = $ac_func;
32272 #endif
32273 #ifdef __cplusplus
32274 }
32275 #endif
32276
32277 int
32278 main ()
32279 {
32280 return f != $ac_func;
32281 ;
32282 return 0;
32283 }
32284 _ACEOF
32285 rm -f conftest.$ac_objext conftest$ac_exeext
32286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32287 (eval $ac_link) 2>&5
32288 ac_status=$?
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try='test -s conftest$ac_exeext'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; }; then
32297 eval "$as_ac_var=yes"
32298 else
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.$ac_ext >&5
32301
32302 eval "$as_ac_var=no"
32303 fi
32304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32305 fi
32306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32308 if test `eval echo '${'$as_ac_var'}'` = yes; then
32309 cat >>confdefs.h <<_ACEOF
32310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32311 _ACEOF
32312 cat >>confdefs.h <<\_ACEOF
32313 #define HAVE_DLERROR 1
32314 _ACEOF
32315
32316 else
32317
32318 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32319 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32320 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 else
32323 ac_check_lib_save_LIBS=$LIBS
32324 LIBS="-ldl $LIBS"
32325 cat >conftest.$ac_ext <<_ACEOF
32326 #line $LINENO "configure"
32327 /* confdefs.h. */
32328 _ACEOF
32329 cat confdefs.h >>conftest.$ac_ext
32330 cat >>conftest.$ac_ext <<_ACEOF
32331 /* end confdefs.h. */
32332
32333 /* Override any gcc2 internal prototype to avoid an error. */
32334 #ifdef __cplusplus
32335 extern "C"
32336 #endif
32337 /* We use char because int might match the return type of a gcc2
32338 builtin and then its argument prototype would still apply. */
32339 char dlerror ();
32340 int
32341 main ()
32342 {
32343 dlerror ();
32344 ;
32345 return 0;
32346 }
32347 _ACEOF
32348 rm -f conftest.$ac_objext conftest$ac_exeext
32349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32350 (eval $ac_link) 2>&5
32351 ac_status=$?
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try='test -s conftest$ac_exeext'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32357 ac_status=$?
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; }; then
32360 ac_cv_lib_dl_dlerror=yes
32361 else
32362 echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.$ac_ext >&5
32364
32365 ac_cv_lib_dl_dlerror=no
32366 fi
32367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32368 LIBS=$ac_check_lib_save_LIBS
32369 fi
32370 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32371 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32372 if test $ac_cv_lib_dl_dlerror = yes; then
32373 cat >>confdefs.h <<\_ACEOF
32374 #define HAVE_DLERROR 1
32375 _ACEOF
32376
32377 fi
32378
32379
32380
32381 fi
32382 done
32383
32384 fi
32385 fi
32386
32387 if test "$HAVE_DL_FUNCS" = 0; then
32388 if test "$HAVE_SHL_FUNCS" = 0; then
32389 if test "$USE_UNIX" = 1; then
32390 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32391 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32392 wxUSE_DYNAMIC_LOADER=no
32393 wxUSE_DYNLIB_CLASS=no
32394 else
32395 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32396 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32397 fi
32398 fi
32399 fi
32400 fi
32401 fi
32402
32403 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32404 cat >>confdefs.h <<\_ACEOF
32405 #define wxUSE_DYNAMIC_LOADER 1
32406 _ACEOF
32407
32408 fi
32409 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32410 cat >>confdefs.h <<\_ACEOF
32411 #define wxUSE_DYNLIB_CLASS 1
32412 _ACEOF
32413
32414 fi
32415
32416
32417 if test "$wxUSE_FONTMAP" = "yes" ; then
32418 cat >>confdefs.h <<\_ACEOF
32419 #define wxUSE_FONTMAP 1
32420 _ACEOF
32421
32422 fi
32423
32424 if test "$wxUSE_UNICODE" = "yes" ; then
32425 cat >>confdefs.h <<\_ACEOF
32426 #define wxUSE_UNICODE 1
32427 _ACEOF
32428
32429
32430 if test "$USE_WIN32" != 1; then
32431 wxUSE_UNICODE_MSLU=no
32432 fi
32433
32434 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32435 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32436 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32437 if test "${ac_cv_lib_unicows_main+set}" = set; then
32438 echo $ECHO_N "(cached) $ECHO_C" >&6
32439 else
32440 ac_check_lib_save_LIBS=$LIBS
32441 LIBS="-lunicows $LIBS"
32442 cat >conftest.$ac_ext <<_ACEOF
32443 #line $LINENO "configure"
32444 /* confdefs.h. */
32445 _ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32449
32450
32451 int
32452 main ()
32453 {
32454 main ();
32455 ;
32456 return 0;
32457 }
32458 _ACEOF
32459 rm -f conftest.$ac_objext conftest$ac_exeext
32460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32461 (eval $ac_link) 2>&5
32462 ac_status=$?
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); } &&
32465 { ac_try='test -s conftest$ac_exeext'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32468 ac_status=$?
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }; then
32471 ac_cv_lib_unicows_main=yes
32472 else
32473 echo "$as_me: failed program was:" >&5
32474 sed 's/^/| /' conftest.$ac_ext >&5
32475
32476 ac_cv_lib_unicows_main=no
32477 fi
32478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32479 LIBS=$ac_check_lib_save_LIBS
32480 fi
32481 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32482 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32483 if test $ac_cv_lib_unicows_main = yes; then
32484
32485 cat >>confdefs.h <<\_ACEOF
32486 #define wxUSE_UNICODE_MSLU 1
32487 _ACEOF
32488
32489
32490 else
32491
32492 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&5
32494 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32495 Applications will only run on Windows NT/2000/XP!" >&2;}
32496 wxUSE_UNICODE_MSLU=no
32497
32498 fi
32499
32500 fi
32501 fi
32502
32503 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32504 cat >>confdefs.h <<\_ACEOF
32505 #define wxUSE_EXPERIMENTAL_PRINTF 1
32506 _ACEOF
32507
32508 fi
32509
32510
32511 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32512 cat >>confdefs.h <<\_ACEOF
32513 #define wxUSE_POSTSCRIPT 1
32514 _ACEOF
32515
32516 fi
32517
32518 cat >>confdefs.h <<\_ACEOF
32519 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32520 _ACEOF
32521
32522
32523 cat >>confdefs.h <<\_ACEOF
32524 #define wxUSE_NORMALIZED_PS_FONTS 1
32525 _ACEOF
32526
32527
32528
32529 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32530 cat >>confdefs.h <<\_ACEOF
32531 #define wxUSE_CONSTRAINTS 1
32532 _ACEOF
32533
32534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32535 fi
32536
32537 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32538 cat >>confdefs.h <<\_ACEOF
32539 #define wxUSE_MDI_ARCHITECTURE 1
32540 _ACEOF
32541
32542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32543 fi
32544
32545 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32546 cat >>confdefs.h <<\_ACEOF
32547 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32548 _ACEOF
32549
32550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32551 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32553 fi
32554 fi
32555
32556 if test "$wxUSE_HELP" = "yes"; then
32557 cat >>confdefs.h <<\_ACEOF
32558 #define wxUSE_HELP 1
32559 _ACEOF
32560
32561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32562
32563 if test "$wxUSE_MSW" = 1; then
32564 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32565 cat >>confdefs.h <<\_ACEOF
32566 #define wxUSE_MS_HTML_HELP 1
32567 _ACEOF
32568
32569 fi
32570 fi
32571
32572 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32573 if test "$wxUSE_HTML" = "yes"; then
32574 cat >>confdefs.h <<\_ACEOF
32575 #define wxUSE_WXHTML_HELP 1
32576 _ACEOF
32577
32578 else
32579 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32580 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32581 wxUSE_WXHTML_HELP=no
32582 fi
32583 fi
32584 fi
32585
32586 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32587 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32588 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32589 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32590 else
32591 cat >>confdefs.h <<\_ACEOF
32592 #define wxUSE_PRINTING_ARCHITECTURE 1
32593 _ACEOF
32594
32595 fi
32596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32597 fi
32598
32599 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32600 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32601 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32602 { (exit 1); exit 1; }; }
32603 fi
32604
32605
32606 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32607 -o "$wxUSE_CLIPBOARD" = "yes" \
32608 -o "$wxUSE_OLE" = "yes" \
32609 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32610
32611 for ac_header in ole2.h
32612 do
32613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32615 echo "$as_me:$LINENO: checking for $ac_header" >&5
32616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32618 echo $ECHO_N "(cached) $ECHO_C" >&6
32619 fi
32620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32622 else
32623 # Is the header compilable?
32624 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32626 cat >conftest.$ac_ext <<_ACEOF
32627 #line $LINENO "configure"
32628 /* confdefs.h. */
32629 _ACEOF
32630 cat confdefs.h >>conftest.$ac_ext
32631 cat >>conftest.$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633 $ac_includes_default
32634 #include <$ac_header>
32635 _ACEOF
32636 rm -f conftest.$ac_objext
32637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32638 (eval $ac_compile) 2>&5
32639 ac_status=$?
32640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32641 (exit $ac_status); } &&
32642 { ac_try='test -s conftest.$ac_objext'
32643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32644 (eval $ac_try) 2>&5
32645 ac_status=$?
32646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32647 (exit $ac_status); }; }; then
32648 ac_header_compiler=yes
32649 else
32650 echo "$as_me: failed program was:" >&5
32651 sed 's/^/| /' conftest.$ac_ext >&5
32652
32653 ac_header_compiler=no
32654 fi
32655 rm -f conftest.$ac_objext conftest.$ac_ext
32656 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32657 echo "${ECHO_T}$ac_header_compiler" >&6
32658
32659 # Is the header present?
32660 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32661 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32662 cat >conftest.$ac_ext <<_ACEOF
32663 #line $LINENO "configure"
32664 /* confdefs.h. */
32665 _ACEOF
32666 cat confdefs.h >>conftest.$ac_ext
32667 cat >>conftest.$ac_ext <<_ACEOF
32668 /* end confdefs.h. */
32669 #include <$ac_header>
32670 _ACEOF
32671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32673 ac_status=$?
32674 grep -v '^ *+' conftest.er1 >conftest.err
32675 rm -f conftest.er1
32676 cat conftest.err >&5
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); } >/dev/null; then
32679 if test -s conftest.err; then
32680 ac_cpp_err=$ac_c_preproc_warn_flag
32681 else
32682 ac_cpp_err=
32683 fi
32684 else
32685 ac_cpp_err=yes
32686 fi
32687 if test -z "$ac_cpp_err"; then
32688 ac_header_preproc=yes
32689 else
32690 echo "$as_me: failed program was:" >&5
32691 sed 's/^/| /' conftest.$ac_ext >&5
32692
32693 ac_header_preproc=no
32694 fi
32695 rm -f conftest.err conftest.$ac_ext
32696 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32697 echo "${ECHO_T}$ac_header_preproc" >&6
32698
32699 # So? What about this header?
32700 case $ac_header_compiler:$ac_header_preproc in
32701 yes:no )
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32706 (
32707 cat <<\_ASBOX
32708 ## ------------------------------------ ##
32709 ## Report this to bug-autoconf@gnu.org. ##
32710 ## ------------------------------------ ##
32711 _ASBOX
32712 ) |
32713 sed "s/^/$as_me: WARNING: /" >&2
32714 ;;
32715 no:yes )
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32722 (
32723 cat <<\_ASBOX
32724 ## ------------------------------------ ##
32725 ## Report this to bug-autoconf@gnu.org. ##
32726 ## ------------------------------------ ##
32727 _ASBOX
32728 ) |
32729 sed "s/^/$as_me: WARNING: /" >&2
32730 ;;
32731 esac
32732 echo "$as_me:$LINENO: checking for $ac_header" >&5
32733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32736 else
32737 eval "$as_ac_Header=$ac_header_preproc"
32738 fi
32739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32741
32742 fi
32743 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32744 cat >>confdefs.h <<_ACEOF
32745 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32746 _ACEOF
32747
32748 fi
32749
32750 done
32751
32752
32753 if test "$ac_cv_header_ole2_h" = "yes" ; then
32754 if test "$GCC" = yes ; then
32755
32756
32757 ac_ext=cc
32758 ac_cpp='$CXXCPP $CPPFLAGS'
32759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32762
32763
32764 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32765 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32766 cat >conftest.$ac_ext <<_ACEOF
32767 #line $LINENO "configure"
32768 /* confdefs.h. */
32769 _ACEOF
32770 cat confdefs.h >>conftest.$ac_ext
32771 cat >>conftest.$ac_ext <<_ACEOF
32772 /* end confdefs.h. */
32773 #include <windows.h>
32774 #include <ole2.h>
32775 int
32776 main ()
32777 {
32778
32779 ;
32780 return 0;
32781 }
32782 _ACEOF
32783 rm -f conftest.$ac_objext
32784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32785 (eval $ac_compile) 2>&5
32786 ac_status=$?
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } &&
32789 { ac_try='test -s conftest.$ac_objext'
32790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32791 (eval $ac_try) 2>&5
32792 ac_status=$?
32793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32794 (exit $ac_status); }; }; then
32795 echo "$as_me:$LINENO: result: no" >&5
32796 echo "${ECHO_T}no" >&6
32797 else
32798 echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.$ac_ext >&5
32800
32801 echo "$as_me:$LINENO: result: yes" >&5
32802 echo "${ECHO_T}yes" >&6
32803 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32804 fi
32805 rm -f conftest.$ac_objext conftest.$ac_ext
32806 ac_ext=c
32807 ac_cpp='$CPP $CPPFLAGS'
32808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32811
32812 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32813 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32814 cat >>confdefs.h <<\_ACEOF
32815 #define wxUSE_OLE 1
32816 _ACEOF
32817
32818
32819 fi
32820
32821 cat >>confdefs.h <<\_ACEOF
32822 #define wxUSE_DATAOBJ 1
32823 _ACEOF
32824
32825 else
32826 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32827 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32828
32829 wxUSE_CLIPBOARD=no
32830 wxUSE_DRAG_AND_DROP=no
32831 wxUSE_DATAOBJ=no
32832 wxUSE_OLE=no
32833 fi
32834
32835 if test "$wxUSE_METAFILE" = "yes"; then
32836 cat >>confdefs.h <<\_ACEOF
32837 #define wxUSE_METAFILE 1
32838 _ACEOF
32839
32840
32841 cat >>confdefs.h <<\_ACEOF
32842 #define wxUSE_ENH_METAFILE 1
32843 _ACEOF
32844
32845 fi
32846 fi
32847
32848 if test "$wxUSE_IPC" = "yes"; then
32849 if test "$wxUSE_SOCKETS" != "yes"; then
32850 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32851 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32852 fi
32853
32854 cat >>confdefs.h <<\_ACEOF
32855 #define wxUSE_IPC 1
32856 _ACEOF
32857
32858 fi
32859
32860 if test "$wxUSE_CLIPBOARD" = "yes"; then
32861 if test "$wxUSE_MGL" = 1; then
32862 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32863 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32864 wxUSE_CLIPBOARD=no
32865 fi
32866
32867 if test "$wxUSE_CLIPBOARD" = "yes"; then
32868 cat >>confdefs.h <<\_ACEOF
32869 #define wxUSE_CLIPBOARD 1
32870 _ACEOF
32871
32872
32873 cat >>confdefs.h <<\_ACEOF
32874 #define wxUSE_DATAOBJ 1
32875 _ACEOF
32876
32877 fi
32878 fi
32879
32880 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32881 if test "$wxUSE_GTK" = 1; then
32882 if test "$WXGTK12" != 1; then
32883 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32884 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32885 wxUSE_DRAG_AND_DROP=no
32886 fi
32887 fi
32888
32889 if test "$wxUSE_MOTIF" = 1; then
32890 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32891 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32892 wxUSE_DRAG_AND_DROP=no
32893 fi
32894
32895 if test "$wxUSE_X11" = 1; then
32896 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32897 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32898 wxUSE_DRAG_AND_DROP=no
32899 fi
32900
32901 if test "$wxUSE_MGL" = 1; then
32902 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32903 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32904 wxUSE_DRAG_AND_DROP=no
32905 fi
32906
32907 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32908 cat >>confdefs.h <<\_ACEOF
32909 #define wxUSE_DRAG_AND_DROP 1
32910 _ACEOF
32911
32912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32913 fi
32914
32915 fi
32916
32917 if test "$wxUSE_SPLINES" = "yes" ; then
32918 cat >>confdefs.h <<\_ACEOF
32919 #define wxUSE_SPLINES 1
32920 _ACEOF
32921
32922 fi
32923
32924
32925 USES_CONTROLS=0
32926 if test "$wxUSE_CONTROLS" = "yes"; then
32927 USES_CONTROLS=1
32928 fi
32929
32930 if test "$wxUSE_ACCEL" = "yes"; then
32931 cat >>confdefs.h <<\_ACEOF
32932 #define wxUSE_ACCEL 1
32933 _ACEOF
32934
32935 USES_CONTROLS=1
32936 fi
32937
32938 if test "$wxUSE_BUTTON" = "yes"; then
32939 cat >>confdefs.h <<\_ACEOF
32940 #define wxUSE_BUTTON 1
32941 _ACEOF
32942
32943 USES_CONTROLS=1
32944 fi
32945
32946 if test "$wxUSE_BMPBUTTON" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948 #define wxUSE_BMPBUTTON 1
32949 _ACEOF
32950
32951 USES_CONTROLS=1
32952 fi
32953
32954 if test "$wxUSE_CALCTRL" = "yes"; then
32955 cat >>confdefs.h <<\_ACEOF
32956 #define wxUSE_CALENDARCTRL 1
32957 _ACEOF
32958
32959 USES_CONTROLS=1
32960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32961 fi
32962
32963 if test "$wxUSE_CARET" = "yes"; then
32964 cat >>confdefs.h <<\_ACEOF
32965 #define wxUSE_CARET 1
32966 _ACEOF
32967
32968 USES_CONTROLS=1
32969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32970 fi
32971
32972 if test "$wxUSE_COMBOBOX" = "yes"; then
32973 cat >>confdefs.h <<\_ACEOF
32974 #define wxUSE_COMBOBOX 1
32975 _ACEOF
32976
32977 USES_CONTROLS=1
32978 fi
32979
32980 if test "$wxUSE_CHOICE" = "yes"; then
32981 cat >>confdefs.h <<\_ACEOF
32982 #define wxUSE_CHOICE 1
32983 _ACEOF
32984
32985 USES_CONTROLS=1
32986 fi
32987
32988 if test "$wxUSE_CHECKBOX" = "yes"; then
32989 cat >>confdefs.h <<\_ACEOF
32990 #define wxUSE_CHECKBOX 1
32991 _ACEOF
32992
32993 USES_CONTROLS=1
32994 fi
32995
32996 if test "$wxUSE_CHECKLST" = "yes"; then
32997 cat >>confdefs.h <<\_ACEOF
32998 #define wxUSE_CHECKLISTBOX 1
32999 _ACEOF
33000
33001 USES_CONTROLS=1
33002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33003 fi
33004
33005 if test "$wxUSE_DISPLAY" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007 #define wxUSE_DISPLAY 1
33008 _ACEOF
33009
33010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33011 fi
33012
33013 if test "$wxUSE_GAUGE" = "yes"; then
33014 cat >>confdefs.h <<\_ACEOF
33015 #define wxUSE_GAUGE 1
33016 _ACEOF
33017
33018 USES_CONTROLS=1
33019 fi
33020
33021 if test "$wxUSE_GRID" = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023 #define wxUSE_GRID 1
33024 _ACEOF
33025
33026 USES_CONTROLS=1
33027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33028 fi
33029
33030 if test "$wxUSE_IMAGLIST" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032 #define wxUSE_IMAGLIST 1
33033 _ACEOF
33034
33035 fi
33036
33037 if test "$wxUSE_LISTBOOK" = "yes"; then
33038 cat >>confdefs.h <<\_ACEOF
33039 #define wxUSE_LISTBOOK 1
33040 _ACEOF
33041
33042 USES_CONTROLS=1
33043 fi
33044
33045 if test "$wxUSE_LISTBOX" = "yes"; then
33046 cat >>confdefs.h <<\_ACEOF
33047 #define wxUSE_LISTBOX 1
33048 _ACEOF
33049
33050 USES_CONTROLS=1
33051 fi
33052
33053 if test "$wxUSE_LISTCTRL" = "yes"; then
33054 if test "$wxUSE_IMAGLIST" = "yes"; then
33055 cat >>confdefs.h <<\_ACEOF
33056 #define wxUSE_LISTCTRL 1
33057 _ACEOF
33058
33059 USES_CONTROLS=1
33060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33061 else
33062 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33063 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33064 fi
33065 fi
33066
33067 if test "$wxUSE_NOTEBOOK" = "yes"; then
33068 cat >>confdefs.h <<\_ACEOF
33069 #define wxUSE_NOTEBOOK 1
33070 _ACEOF
33071
33072 USES_CONTROLS=1
33073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33074 fi
33075
33076
33077 if test "$wxUSE_RADIOBOX" = "yes"; then
33078 cat >>confdefs.h <<\_ACEOF
33079 #define wxUSE_RADIOBOX 1
33080 _ACEOF
33081
33082 USES_CONTROLS=1
33083 fi
33084
33085 if test "$wxUSE_RADIOBTN" = "yes"; then
33086 cat >>confdefs.h <<\_ACEOF
33087 #define wxUSE_RADIOBTN 1
33088 _ACEOF
33089
33090 USES_CONTROLS=1
33091 fi
33092
33093 if test "$wxUSE_SASH" = "yes"; then
33094 cat >>confdefs.h <<\_ACEOF
33095 #define wxUSE_SASH 1
33096 _ACEOF
33097
33098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33099 fi
33100
33101 if test "$wxUSE_SCROLLBAR" = "yes"; then
33102 cat >>confdefs.h <<\_ACEOF
33103 #define wxUSE_SCROLLBAR 1
33104 _ACEOF
33105
33106 USES_CONTROLS=1
33107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33108 fi
33109
33110 if test "$wxUSE_SLIDER" = "yes"; then
33111 cat >>confdefs.h <<\_ACEOF
33112 #define wxUSE_SLIDER 1
33113 _ACEOF
33114
33115 USES_CONTROLS=1
33116 fi
33117
33118 if test "$wxUSE_SPINBTN" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120 #define wxUSE_SPINBTN 1
33121 _ACEOF
33122
33123 USES_CONTROLS=1
33124 fi
33125
33126 if test "$wxUSE_SPINCTRL" = "yes"; then
33127 cat >>confdefs.h <<\_ACEOF
33128 #define wxUSE_SPINCTRL 1
33129 _ACEOF
33130
33131 USES_CONTROLS=1
33132 fi
33133
33134 if test "$wxUSE_SPLITTER" = "yes"; then
33135 cat >>confdefs.h <<\_ACEOF
33136 #define wxUSE_SPLITTER 1
33137 _ACEOF
33138
33139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33140 fi
33141
33142 if test "$wxUSE_STATBMP" = "yes"; then
33143 cat >>confdefs.h <<\_ACEOF
33144 #define wxUSE_STATBMP 1
33145 _ACEOF
33146
33147 USES_CONTROLS=1
33148 fi
33149
33150 if test "$wxUSE_STATBOX" = "yes"; then
33151 cat >>confdefs.h <<\_ACEOF
33152 #define wxUSE_STATBOX 1
33153 _ACEOF
33154
33155 USES_CONTROLS=1
33156 fi
33157
33158 if test "$wxUSE_STATTEXT" = "yes"; then
33159 cat >>confdefs.h <<\_ACEOF
33160 #define wxUSE_STATTEXT 1
33161 _ACEOF
33162
33163 USES_CONTROLS=1
33164 fi
33165
33166 if test "$wxUSE_STATLINE" = "yes"; then
33167 cat >>confdefs.h <<\_ACEOF
33168 #define wxUSE_STATLINE 1
33169 _ACEOF
33170
33171 USES_CONTROLS=1
33172 fi
33173
33174 if test "$wxUSE_STATUSBAR" = "yes"; then
33175 cat >>confdefs.h <<\_ACEOF
33176 #define wxUSE_STATUSBAR 1
33177 _ACEOF
33178
33179 USES_CONTROLS=1
33180
33181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33182 fi
33183
33184 if test "$wxUSE_TABDIALOG" = "yes"; then
33185 cat >>confdefs.h <<\_ACEOF
33186 #define wxUSE_TAB_DIALOG 1
33187 _ACEOF
33188
33189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33190 fi
33191
33192 if test "$wxUSE_TEXTCTRL" = "yes"; then
33193 cat >>confdefs.h <<\_ACEOF
33194 #define wxUSE_TEXTCTRL 1
33195 _ACEOF
33196
33197 USES_CONTROLS=1
33198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33199 fi
33200
33201 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33202 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33203 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33204 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33205 wxUSE_TOGGLEBTN=no
33206 fi
33207 if test "$wxUSE_UNIVERSAL" = "yes"; then
33208 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33209 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33210 wxUSE_TOGGLEBTN=no
33211 fi
33212
33213 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33214 cat >>confdefs.h <<\_ACEOF
33215 #define wxUSE_TOGGLEBTN 1
33216 _ACEOF
33217
33218 USES_CONTROLS=1
33219 fi
33220 fi
33221
33222 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33223 cat >>confdefs.h <<\_ACEOF
33224 #define wxUSE_TOOLBAR_SIMPLE 1
33225 _ACEOF
33226
33227 wxUSE_TOOLBAR="yes"
33228 USES_CONTROLS=1
33229 fi
33230
33231 if test "$wxUSE_TOOLBAR" = "yes"; then
33232 cat >>confdefs.h <<\_ACEOF
33233 #define wxUSE_TOOLBAR 1
33234 _ACEOF
33235
33236 USES_CONTROLS=1
33237
33238 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33239 wxUSE_TOOLBAR_NATIVE="yes"
33240 fi
33241
33242 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33243 cat >>confdefs.h <<\_ACEOF
33244 #define wxUSE_TOOLBAR_NATIVE 1
33245 _ACEOF
33246
33247 USES_CONTROLS=1
33248 fi
33249
33250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33251 fi
33252
33253 if test "$wxUSE_TOOLTIPS" = "yes"; then
33254 if test "$wxUSE_MOTIF" = 1; then
33255 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33256 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33257 else
33258 if test "$wxUSE_UNIVERSAL" = "yes"; then
33259 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33260 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33261 else
33262 cat >>confdefs.h <<\_ACEOF
33263 #define wxUSE_TOOLTIPS 1
33264 _ACEOF
33265
33266 fi
33267 fi
33268 fi
33269
33270 if test "$wxUSE_TREECTRL" = "yes"; then
33271 if test "$wxUSE_IMAGLIST" = "yes"; then
33272 cat >>confdefs.h <<\_ACEOF
33273 #define wxUSE_TREECTRL 1
33274 _ACEOF
33275
33276 USES_CONTROLS=1
33277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33278 else
33279 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33280 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33281 fi
33282 fi
33283
33284 if test "$wxUSE_POPUPWIN" = "yes"; then
33285 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33286 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33287 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33288 else
33289 if test "$wxUSE_PM" = 1; then
33290 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33291 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33292 else
33293 cat >>confdefs.h <<\_ACEOF
33294 #define wxUSE_POPUPWIN 1
33295 _ACEOF
33296
33297
33298 USES_CONTROLS=1
33299 fi
33300 fi
33301 fi
33302
33303 if test "$wxUSE_TIPWINDOW" = "yes"; then
33304 if test "$wxUSE_PM" = 1; then
33305 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33306 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33307 else
33308 cat >>confdefs.h <<\_ACEOF
33309 #define wxUSE_TIPWINDOW 1
33310 _ACEOF
33311
33312 fi
33313 fi
33314
33315 if test "$USES_CONTROLS" = 1; then
33316 cat >>confdefs.h <<\_ACEOF
33317 #define wxUSE_CONTROLS 1
33318 _ACEOF
33319
33320 fi
33321
33322
33323 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33324 cat >>confdefs.h <<\_ACEOF
33325 #define wxUSE_ACCESSIBILITY 1
33326 _ACEOF
33327
33328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33329 fi
33330
33331 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33332 cat >>confdefs.h <<\_ACEOF
33333 #define wxUSE_DRAGIMAGE 1
33334 _ACEOF
33335
33336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33337 fi
33338
33339 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33340 cat >>confdefs.h <<\_ACEOF
33341 #define wxUSE_EXCEPTIONS 1
33342 _ACEOF
33343
33344 fi
33345
33346 USE_HTML=0
33347 if test "$wxUSE_HTML" = "yes"; then
33348 cat >>confdefs.h <<\_ACEOF
33349 #define wxUSE_HTML 1
33350 _ACEOF
33351
33352 USE_HTML=1
33353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33354 fi
33355
33356 if test "$wxUSE_MENUS" = "yes"; then
33357 cat >>confdefs.h <<\_ACEOF
33358 #define wxUSE_MENUS 1
33359 _ACEOF
33360
33361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33362 fi
33363
33364 if test "$wxUSE_METAFILE" = "yes"; then
33365 cat >>confdefs.h <<\_ACEOF
33366 #define wxUSE_METAFILE 1
33367 _ACEOF
33368
33369 fi
33370
33371 if test "$wxUSE_MIMETYPE" = "yes"; then
33372 cat >>confdefs.h <<\_ACEOF
33373 #define wxUSE_MIMETYPE 1
33374 _ACEOF
33375
33376 fi
33377
33378 if test "$wxUSE_MINIFRAME" = "yes"; then
33379 cat >>confdefs.h <<\_ACEOF
33380 #define wxUSE_MINIFRAME 1
33381 _ACEOF
33382
33383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33384 fi
33385
33386 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33387 cat >>confdefs.h <<\_ACEOF
33388 #define wxUSE_SYSTEM_OPTIONS 1
33389 _ACEOF
33390
33391 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33392 "$TOOLKIT" = "MOTIF"; then
33393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33394 fi
33395 fi
33396
33397
33398 if test "$wxUSE_VALIDATORS" = "yes"; then
33399 cat >>confdefs.h <<\_ACEOF
33400 #define wxUSE_VALIDATORS 1
33401 _ACEOF
33402
33403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33404 fi
33405
33406 if test "$wxUSE_PALETTE" = "yes" ; then
33407 cat >>confdefs.h <<\_ACEOF
33408 #define wxUSE_PALETTE 1
33409 _ACEOF
33410
33411 fi
33412
33413 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33414 LIBS=" -lunicows $LIBS"
33415 fi
33416
33417
33418 if test "$wxUSE_IMAGE" = "yes" ; then
33419 cat >>confdefs.h <<\_ACEOF
33420 #define wxUSE_IMAGE 1
33421 _ACEOF
33422
33423
33424 if test "$wxUSE_GIF" = "yes" ; then
33425 cat >>confdefs.h <<\_ACEOF
33426 #define wxUSE_GIF 1
33427 _ACEOF
33428
33429 fi
33430
33431 if test "$wxUSE_PCX" = "yes" ; then
33432 cat >>confdefs.h <<\_ACEOF
33433 #define wxUSE_PCX 1
33434 _ACEOF
33435
33436 fi
33437
33438 if test "$wxUSE_IFF" = "yes" ; then
33439 cat >>confdefs.h <<\_ACEOF
33440 #define wxUSE_IFF 1
33441 _ACEOF
33442
33443 fi
33444
33445 if test "$wxUSE_PNM" = "yes" ; then
33446 cat >>confdefs.h <<\_ACEOF
33447 #define wxUSE_PNM 1
33448 _ACEOF
33449
33450 fi
33451
33452 if test "$wxUSE_XPM" = "yes" ; then
33453 cat >>confdefs.h <<\_ACEOF
33454 #define wxUSE_XPM 1
33455 _ACEOF
33456
33457 fi
33458
33459 if test "$wxUSE_ICO_CUR" = "yes" ; then
33460 cat >>confdefs.h <<\_ACEOF
33461 #define wxUSE_ICO_CUR 1
33462 _ACEOF
33463
33464 fi
33465 fi
33466
33467
33468 if test "$wxUSE_CHOICEDLG" = "yes"; then
33469 cat >>confdefs.h <<\_ACEOF
33470 #define wxUSE_CHOICEDLG 1
33471 _ACEOF
33472
33473 fi
33474
33475 if test "$wxUSE_COLOURDLG" = "yes"; then
33476 cat >>confdefs.h <<\_ACEOF
33477 #define wxUSE_COLOURDLG 1
33478 _ACEOF
33479
33480 fi
33481
33482 if test "$wxUSE_FILEDLG" = "yes"; then
33483 cat >>confdefs.h <<\_ACEOF
33484 #define wxUSE_FILEDLG 1
33485 _ACEOF
33486
33487 fi
33488
33489 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33490 cat >>confdefs.h <<\_ACEOF
33491 #define wxUSE_FINDREPLDLG 1
33492 _ACEOF
33493
33494 fi
33495
33496 if test "$wxUSE_FONTDLG" = "yes"; then
33497 cat >>confdefs.h <<\_ACEOF
33498 #define wxUSE_FONTDLG 1
33499 _ACEOF
33500
33501 fi
33502
33503 if test "$wxUSE_DIRDLG" = "yes"; then
33504 if test "$wxUSE_TREECTRL" != "yes"; then
33505 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33506 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33507 else
33508 cat >>confdefs.h <<\_ACEOF
33509 #define wxUSE_DIRDLG 1
33510 _ACEOF
33511
33512 fi
33513 fi
33514
33515 if test "$wxUSE_MSGDLG" = "yes"; then
33516 cat >>confdefs.h <<\_ACEOF
33517 #define wxUSE_MSGDLG 1
33518 _ACEOF
33519
33520 fi
33521
33522 if test "$wxUSE_NUMBERDLG" = "yes"; then
33523 cat >>confdefs.h <<\_ACEOF
33524 #define wxUSE_NUMBERDLG 1
33525 _ACEOF
33526
33527 fi
33528
33529 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33530 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33531 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33532 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33533 else
33534 cat >>confdefs.h <<\_ACEOF
33535 #define wxUSE_PROGRESSDLG 1
33536 _ACEOF
33537
33538 fi
33539 fi
33540
33541 if test "$wxUSE_SPLASH" = "yes"; then
33542 cat >>confdefs.h <<\_ACEOF
33543 #define wxUSE_SPLASH 1
33544 _ACEOF
33545
33546 fi
33547
33548 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33549 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33550 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33551 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33552 else
33553 cat >>confdefs.h <<\_ACEOF
33554 #define wxUSE_STARTUP_TIPS 1
33555 _ACEOF
33556
33557 fi
33558 fi
33559
33560 if test "$wxUSE_TEXTDLG" = "yes"; then
33561 cat >>confdefs.h <<\_ACEOF
33562 #define wxUSE_TEXTDLG 1
33563 _ACEOF
33564
33565 fi
33566
33567 if test "$wxUSE_WIZARDDLG" = "yes"; then
33568 cat >>confdefs.h <<\_ACEOF
33569 #define wxUSE_WIZARDDLG 1
33570 _ACEOF
33571
33572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33573 fi
33574
33575
33576 if test "$cross_compiling" = "yes"; then
33577 OSINFO="\"$host\""
33578 else
33579 OSINFO=`uname -s -r -m`
33580 OSINFO="\"$OSINFO\""
33581 fi
33582
33583 cat >>confdefs.h <<_ACEOF
33584 #define WXWIN_OS_DESCRIPTION $OSINFO
33585 _ACEOF
33586
33587
33588
33589 if test "x$prefix" != "xNONE"; then
33590 wxPREFIX=$prefix
33591 else
33592 wxPREFIX=$ac_default_prefix
33593 fi
33594
33595 cat >>confdefs.h <<_ACEOF
33596 #define wxINSTALL_PREFIX "$wxPREFIX"
33597 _ACEOF
33598
33599
33600 top_builddir_wxconfig=`pwd`
33601
33602
33603
33604 CORE_BASE_LIBS="net base"
33605 CORE_GUI_LIBS="adv core"
33606
33607 if test "$wxUSE_XML" = "yes" ; then
33608 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33609 fi
33610 if test "$wxUSE_ODBC" != "no" ; then
33611 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33612 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33613 fi
33614 if test "$wxUSE_HTML" = "yes" ; then
33615 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33616 fi
33617
33618 if test "$wxUSE_GUI" != "yes"; then
33619 CORE_GUI_LIBS=""
33620 fi
33621
33622
33623
33624
33625
33626
33627
33628
33629 if test "$wxUSE_MAC" = 1 ; then
33630 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33631 fi
33632 if test "$wxUSE_COCOA" = 1 ; then
33633 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33634 fi
33635
33636
33637 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33638
33639 have_cos=0
33640 have_floor=0
33641
33642 for ac_func in cos
33643 do
33644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33645 echo "$as_me:$LINENO: checking for $ac_func" >&5
33646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33647 if eval "test \"\${$as_ac_var+set}\" = set"; then
33648 echo $ECHO_N "(cached) $ECHO_C" >&6
33649 else
33650 cat >conftest.$ac_ext <<_ACEOF
33651 #line $LINENO "configure"
33652 /* confdefs.h. */
33653 _ACEOF
33654 cat confdefs.h >>conftest.$ac_ext
33655 cat >>conftest.$ac_ext <<_ACEOF
33656 /* end confdefs.h. */
33657 /* System header to define __stub macros and hopefully few prototypes,
33658 which can conflict with char $ac_func (); below.
33659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33660 <limits.h> exists even on freestanding compilers. */
33661 #ifdef __STDC__
33662 # include <limits.h>
33663 #else
33664 # include <assert.h>
33665 #endif
33666 /* Override any gcc2 internal prototype to avoid an error. */
33667 #ifdef __cplusplus
33668 extern "C"
33669 {
33670 #endif
33671 /* We use char because int might match the return type of a gcc2
33672 builtin and then its argument prototype would still apply. */
33673 char $ac_func ();
33674 /* The GNU C library defines this for functions which it implements
33675 to always fail with ENOSYS. Some functions are actually named
33676 something starting with __ and the normal name is an alias. */
33677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33678 choke me
33679 #else
33680 char (*f) () = $ac_func;
33681 #endif
33682 #ifdef __cplusplus
33683 }
33684 #endif
33685
33686 int
33687 main ()
33688 {
33689 return f != $ac_func;
33690 ;
33691 return 0;
33692 }
33693 _ACEOF
33694 rm -f conftest.$ac_objext conftest$ac_exeext
33695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33696 (eval $ac_link) 2>&5
33697 ac_status=$?
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try='test -s conftest$ac_exeext'
33701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33702 (eval $ac_try) 2>&5
33703 ac_status=$?
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); }; }; then
33706 eval "$as_ac_var=yes"
33707 else
33708 echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.$ac_ext >&5
33710
33711 eval "$as_ac_var=no"
33712 fi
33713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33714 fi
33715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33717 if test `eval echo '${'$as_ac_var'}'` = yes; then
33718 cat >>confdefs.h <<_ACEOF
33719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33720 _ACEOF
33721 have_cos=1
33722 fi
33723 done
33724
33725
33726 for ac_func in floor
33727 do
33728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33729 echo "$as_me:$LINENO: checking for $ac_func" >&5
33730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33731 if eval "test \"\${$as_ac_var+set}\" = set"; then
33732 echo $ECHO_N "(cached) $ECHO_C" >&6
33733 else
33734 cat >conftest.$ac_ext <<_ACEOF
33735 #line $LINENO "configure"
33736 /* confdefs.h. */
33737 _ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741 /* System header to define __stub macros and hopefully few prototypes,
33742 which can conflict with char $ac_func (); below.
33743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33744 <limits.h> exists even on freestanding compilers. */
33745 #ifdef __STDC__
33746 # include <limits.h>
33747 #else
33748 # include <assert.h>
33749 #endif
33750 /* Override any gcc2 internal prototype to avoid an error. */
33751 #ifdef __cplusplus
33752 extern "C"
33753 {
33754 #endif
33755 /* We use char because int might match the return type of a gcc2
33756 builtin and then its argument prototype would still apply. */
33757 char $ac_func ();
33758 /* The GNU C library defines this for functions which it implements
33759 to always fail with ENOSYS. Some functions are actually named
33760 something starting with __ and the normal name is an alias. */
33761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33762 choke me
33763 #else
33764 char (*f) () = $ac_func;
33765 #endif
33766 #ifdef __cplusplus
33767 }
33768 #endif
33769
33770 int
33771 main ()
33772 {
33773 return f != $ac_func;
33774 ;
33775 return 0;
33776 }
33777 _ACEOF
33778 rm -f conftest.$ac_objext conftest$ac_exeext
33779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33780 (eval $ac_link) 2>&5
33781 ac_status=$?
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); } &&
33784 { ac_try='test -s conftest$ac_exeext'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; }; then
33790 eval "$as_ac_var=yes"
33791 else
33792 echo "$as_me: failed program was:" >&5
33793 sed 's/^/| /' conftest.$ac_ext >&5
33794
33795 eval "$as_ac_var=no"
33796 fi
33797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33798 fi
33799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33801 if test `eval echo '${'$as_ac_var'}'` = yes; then
33802 cat >>confdefs.h <<_ACEOF
33803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33804 _ACEOF
33805 have_floor=1
33806 fi
33807 done
33808
33809 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33810 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33811 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33812 echo "$as_me:$LINENO: result: yes" >&5
33813 echo "${ECHO_T}yes" >&6
33814 else
33815 echo "$as_me:$LINENO: result: no" >&5
33816 echo "${ECHO_T}no" >&6
33817 LIBS="$LIBS -lm"
33818 # use different functions to avoid configure caching
33819 have_sin=0
33820 have_ceil=0
33821
33822 for ac_func in sin
33823 do
33824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33825 echo "$as_me:$LINENO: checking for $ac_func" >&5
33826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33827 if eval "test \"\${$as_ac_var+set}\" = set"; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 else
33830 cat >conftest.$ac_ext <<_ACEOF
33831 #line $LINENO "configure"
33832 /* confdefs.h. */
33833 _ACEOF
33834 cat confdefs.h >>conftest.$ac_ext
33835 cat >>conftest.$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33837 /* System header to define __stub macros and hopefully few prototypes,
33838 which can conflict with char $ac_func (); below.
33839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33840 <limits.h> exists even on freestanding compilers. */
33841 #ifdef __STDC__
33842 # include <limits.h>
33843 #else
33844 # include <assert.h>
33845 #endif
33846 /* Override any gcc2 internal prototype to avoid an error. */
33847 #ifdef __cplusplus
33848 extern "C"
33849 {
33850 #endif
33851 /* We use char because int might match the return type of a gcc2
33852 builtin and then its argument prototype would still apply. */
33853 char $ac_func ();
33854 /* The GNU C library defines this for functions which it implements
33855 to always fail with ENOSYS. Some functions are actually named
33856 something starting with __ and the normal name is an alias. */
33857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33858 choke me
33859 #else
33860 char (*f) () = $ac_func;
33861 #endif
33862 #ifdef __cplusplus
33863 }
33864 #endif
33865
33866 int
33867 main ()
33868 {
33869 return f != $ac_func;
33870 ;
33871 return 0;
33872 }
33873 _ACEOF
33874 rm -f conftest.$ac_objext conftest$ac_exeext
33875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33876 (eval $ac_link) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } &&
33880 { ac_try='test -s conftest$ac_exeext'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33883 ac_status=$?
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; }; then
33886 eval "$as_ac_var=yes"
33887 else
33888 echo "$as_me: failed program was:" >&5
33889 sed 's/^/| /' conftest.$ac_ext >&5
33890
33891 eval "$as_ac_var=no"
33892 fi
33893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33894 fi
33895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33897 if test `eval echo '${'$as_ac_var'}'` = yes; then
33898 cat >>confdefs.h <<_ACEOF
33899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33900 _ACEOF
33901 have_sin=1
33902 fi
33903 done
33904
33905
33906 for ac_func in ceil
33907 do
33908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33909 echo "$as_me:$LINENO: checking for $ac_func" >&5
33910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33911 if eval "test \"\${$as_ac_var+set}\" = set"; then
33912 echo $ECHO_N "(cached) $ECHO_C" >&6
33913 else
33914 cat >conftest.$ac_ext <<_ACEOF
33915 #line $LINENO "configure"
33916 /* confdefs.h. */
33917 _ACEOF
33918 cat confdefs.h >>conftest.$ac_ext
33919 cat >>conftest.$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 /* System header to define __stub macros and hopefully few prototypes,
33922 which can conflict with char $ac_func (); below.
33923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33924 <limits.h> exists even on freestanding compilers. */
33925 #ifdef __STDC__
33926 # include <limits.h>
33927 #else
33928 # include <assert.h>
33929 #endif
33930 /* Override any gcc2 internal prototype to avoid an error. */
33931 #ifdef __cplusplus
33932 extern "C"
33933 {
33934 #endif
33935 /* We use char because int might match the return type of a gcc2
33936 builtin and then its argument prototype would still apply. */
33937 char $ac_func ();
33938 /* The GNU C library defines this for functions which it implements
33939 to always fail with ENOSYS. Some functions are actually named
33940 something starting with __ and the normal name is an alias. */
33941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33942 choke me
33943 #else
33944 char (*f) () = $ac_func;
33945 #endif
33946 #ifdef __cplusplus
33947 }
33948 #endif
33949
33950 int
33951 main ()
33952 {
33953 return f != $ac_func;
33954 ;
33955 return 0;
33956 }
33957 _ACEOF
33958 rm -f conftest.$ac_objext conftest$ac_exeext
33959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33960 (eval $ac_link) 2>&5
33961 ac_status=$?
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); } &&
33964 { ac_try='test -s conftest$ac_exeext'
33965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33966 (eval $ac_try) 2>&5
33967 ac_status=$?
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); }; }; then
33970 eval "$as_ac_var=yes"
33971 else
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.$ac_ext >&5
33974
33975 eval "$as_ac_var=no"
33976 fi
33977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33978 fi
33979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33981 if test `eval echo '${'$as_ac_var'}'` = yes; then
33982 cat >>confdefs.h <<_ACEOF
33983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33984 _ACEOF
33985 have_ceil=1
33986 fi
33987 done
33988
33989 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33990 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33991 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33992 echo "$as_me:$LINENO: result: yes" >&5
33993 echo "${ECHO_T}yes" >&6
33994 else
33995 echo "$as_me:$LINENO: result: no" >&5
33996 echo "${ECHO_T}no" >&6
33997 # not sure we should warn the user, crash, etc.
33998 fi
33999 fi
34000
34001 if test "$wxUSE_GUI" = "yes"; then
34002
34003
34004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34005 drawing dynamic erase event exec font image \
34006 minimal propsize rotate shaped widgets render"
34007
34008 if test "$wxUSE_MONOLITHIC" != "yes"; then
34009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34010 fi
34011 else
34012 SAMPLES_SUBDIRS="console"
34013 fi
34014
34015
34016 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34017 -I\${top_srcdir}/include \
34018 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34019 $TOOLKIT_INCLUDE"
34020
34021 if test "$GXX" = yes ; then
34022 CXXWARNINGS="-Wall"
34023 fi
34024
34025 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34026
34027 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34028 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34029 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34030
34031
34032 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34033 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34034 EXTRALIBS_XML="$EXPAT_LINK"
34035 EXTRALIBS_HTML="$MSPACK_LINK"
34036 EXTRALIBS_ODBC="$ODBC_LINK"
34037 if test "$wxUSE_GUI" = "yes"; then
34038 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34039 fi
34040 if test "$wxUSE_OPENGL" = "yes"; then
34041 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34042 fi
34043
34044 LDFLAGS="$LDFLAGS $PROFILE"
34045
34046 if test "$wxUSE_GTK" = 1; then
34047 WXCONFIG_INCLUDE=
34048 else
34049 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34050 fi
34051
34052 WXCONFIG_EXTRALIBS="$LIBS"
34053
34054 if test "$wxUSE_REGEX" = "builtin" ; then
34055 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34056 fi
34057 if test "$wxUSE_EXPAT" = "builtin" ; then
34058 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34059 fi
34060 if test "$wxUSE_ODBC" = "builtin" ; then
34061 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34062 fi
34063 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34064 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34065 fi
34066 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34067 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34068 fi
34069 if test "$wxUSE_LIBPNG" = "builtin" ; then
34070 wxconfig_3rdparty="$wxconfig_3rdparty png"
34071 fi
34072 if test "$wxUSE_ZLIB" = "builtin" ; then
34073 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34074 fi
34075 if test "$wxUSE_ODBC" = "builtin" ; then
34076 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34077 fi
34078
34079 for i in $wxconfig_3rdparty ; do
34080 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34081 done
34082
34083
34084 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34085 WXUNIV=1
34086 else
34087 WXUNIV=0
34088 fi
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098 if test $wxUSE_MONOLITHIC = "yes" ; then
34099 MONOLITHIC=1
34100 else
34101 MONOLITHIC=0
34102 fi
34103
34104 if test $wxUSE_ODBC != "no" ; then
34105 USE_ODBC=1
34106 else
34107 USE_ODBC=0
34108 fi
34109
34110 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34111 OFFICIAL_BUILD=1
34112 else
34113 OFFICIAL_BUILD=0
34114 fi
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34134
34135
34136
34137
34138
34139
34140
34141 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34142
34143 if test -n "$ac_tool_prefix"; then
34144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34146 echo "$as_me:$LINENO: checking for $ac_word" >&5
34147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34148 if test "${ac_cv_prog_RANLIB+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34150 else
34151 if test -n "$RANLIB"; then
34152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34153 else
34154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34155 for as_dir in $PATH
34156 do
34157 IFS=$as_save_IFS
34158 test -z "$as_dir" && as_dir=.
34159 for ac_exec_ext in '' $ac_executable_extensions; do
34160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34163 break 2
34164 fi
34165 done
34166 done
34167
34168 fi
34169 fi
34170 RANLIB=$ac_cv_prog_RANLIB
34171 if test -n "$RANLIB"; then
34172 echo "$as_me:$LINENO: result: $RANLIB" >&5
34173 echo "${ECHO_T}$RANLIB" >&6
34174 else
34175 echo "$as_me:$LINENO: result: no" >&5
34176 echo "${ECHO_T}no" >&6
34177 fi
34178
34179 fi
34180 if test -z "$ac_cv_prog_RANLIB"; then
34181 ac_ct_RANLIB=$RANLIB
34182 # Extract the first word of "ranlib", so it can be a program name with args.
34183 set dummy ranlib; ac_word=$2
34184 echo "$as_me:$LINENO: checking for $ac_word" >&5
34185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34186 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34188 else
34189 if test -n "$ac_ct_RANLIB"; then
34190 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34191 else
34192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34193 for as_dir in $PATH
34194 do
34195 IFS=$as_save_IFS
34196 test -z "$as_dir" && as_dir=.
34197 for ac_exec_ext in '' $ac_executable_extensions; do
34198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34199 ac_cv_prog_ac_ct_RANLIB="ranlib"
34200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34201 break 2
34202 fi
34203 done
34204 done
34205
34206 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34207 fi
34208 fi
34209 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34210 if test -n "$ac_ct_RANLIB"; then
34211 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34212 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34213 else
34214 echo "$as_me:$LINENO: result: no" >&5
34215 echo "${ECHO_T}no" >&6
34216 fi
34217
34218 RANLIB=$ac_ct_RANLIB
34219 else
34220 RANLIB="$ac_cv_prog_RANLIB"
34221 fi
34222
34223 # Find a good install program. We prefer a C program (faster),
34224 # so one script is as good as another. But avoid the broken or
34225 # incompatible versions:
34226 # SysV /etc/install, /usr/sbin/install
34227 # SunOS /usr/etc/install
34228 # IRIX /sbin/install
34229 # AIX /bin/install
34230 # AmigaOS /C/install, which installs bootblocks on floppy discs
34231 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34232 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34233 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34234 # ./install, which can be erroneously created by make from ./install.sh.
34235 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34236 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34237 if test -z "$INSTALL"; then
34238 if test "${ac_cv_path_install+set}" = set; then
34239 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 else
34241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34242 for as_dir in $PATH
34243 do
34244 IFS=$as_save_IFS
34245 test -z "$as_dir" && as_dir=.
34246 # Account for people who put trailing slashes in PATH elements.
34247 case $as_dir/ in
34248 ./ | .// | /cC/* | \
34249 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34250 /usr/ucb/* ) ;;
34251 *)
34252 # OSF1 and SCO ODT 3.0 have their own names for install.
34253 # Don't use installbsd from OSF since it installs stuff as root
34254 # by default.
34255 for ac_prog in ginstall scoinst install; do
34256 for ac_exec_ext in '' $ac_executable_extensions; do
34257 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34258 if test $ac_prog = install &&
34259 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34260 # AIX install. It has an incompatible calling convention.
34261 :
34262 elif test $ac_prog = install &&
34263 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34264 # program-specific install script used by HP pwplus--don't use.
34265 :
34266 else
34267 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34268 break 3
34269 fi
34270 fi
34271 done
34272 done
34273 ;;
34274 esac
34275 done
34276
34277
34278 fi
34279 if test "${ac_cv_path_install+set}" = set; then
34280 INSTALL=$ac_cv_path_install
34281 else
34282 # As a last resort, use the slow shell script. We don't cache a
34283 # path for INSTALL within a source directory, because that will
34284 # break other packages using the cache if that directory is
34285 # removed, or if the path is relative.
34286 INSTALL=$ac_install_sh
34287 fi
34288 fi
34289 echo "$as_me:$LINENO: result: $INSTALL" >&5
34290 echo "${ECHO_T}$INSTALL" >&6
34291
34292 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34293 # It thinks the first close brace ends the variable substitution.
34294 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34295
34296 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34297
34298 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34299
34300 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34301 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34302 LN_S=$as_ln_s
34303 if test "$LN_S" = "ln -s"; then
34304 echo "$as_me:$LINENO: result: yes" >&5
34305 echo "${ECHO_T}yes" >&6
34306 else
34307 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34308 echo "${ECHO_T}no, using $LN_S" >&6
34309 fi
34310
34311
34312 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34313 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34314 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34315 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34316 echo $ECHO_N "(cached) $ECHO_C" >&6
34317 else
34318 cat >conftest.make <<\_ACEOF
34319 all:
34320 @echo 'ac_maketemp="$(MAKE)"'
34321 _ACEOF
34322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34323 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34324 if test -n "$ac_maketemp"; then
34325 eval ac_cv_prog_make_${ac_make}_set=yes
34326 else
34327 eval ac_cv_prog_make_${ac_make}_set=no
34328 fi
34329 rm -f conftest.make
34330 fi
34331 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34332 echo "$as_me:$LINENO: result: yes" >&5
34333 echo "${ECHO_T}yes" >&6
34334 SET_MAKE=
34335 else
34336 echo "$as_me:$LINENO: result: no" >&5
34337 echo "${ECHO_T}no" >&6
34338 SET_MAKE="MAKE=${MAKE-make}"
34339 fi
34340
34341
34342
34343 if test -n "$ac_tool_prefix"; then
34344 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34345 set dummy ${ac_tool_prefix}ar; ac_word=$2
34346 echo "$as_me:$LINENO: checking for $ac_word" >&5
34347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34348 if test "${ac_cv_prog_AR+set}" = set; then
34349 echo $ECHO_N "(cached) $ECHO_C" >&6
34350 else
34351 if test -n "$AR"; then
34352 ac_cv_prog_AR="$AR" # Let the user override the test.
34353 else
34354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34355 for as_dir in $PATH
34356 do
34357 IFS=$as_save_IFS
34358 test -z "$as_dir" && as_dir=.
34359 for ac_exec_ext in '' $ac_executable_extensions; do
34360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34361 ac_cv_prog_AR="${ac_tool_prefix}ar"
34362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34363 break 2
34364 fi
34365 done
34366 done
34367
34368 fi
34369 fi
34370 AR=$ac_cv_prog_AR
34371 if test -n "$AR"; then
34372 echo "$as_me:$LINENO: result: $AR" >&5
34373 echo "${ECHO_T}$AR" >&6
34374 else
34375 echo "$as_me:$LINENO: result: no" >&5
34376 echo "${ECHO_T}no" >&6
34377 fi
34378
34379 fi
34380 if test -z "$ac_cv_prog_AR"; then
34381 ac_ct_AR=$AR
34382 # Extract the first word of "ar", so it can be a program name with args.
34383 set dummy ar; ac_word=$2
34384 echo "$as_me:$LINENO: checking for $ac_word" >&5
34385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34386 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34387 echo $ECHO_N "(cached) $ECHO_C" >&6
34388 else
34389 if test -n "$ac_ct_AR"; then
34390 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34391 else
34392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34393 for as_dir in $PATH
34394 do
34395 IFS=$as_save_IFS
34396 test -z "$as_dir" && as_dir=.
34397 for ac_exec_ext in '' $ac_executable_extensions; do
34398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34399 ac_cv_prog_ac_ct_AR="ar"
34400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34401 break 2
34402 fi
34403 done
34404 done
34405
34406 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34407 fi
34408 fi
34409 ac_ct_AR=$ac_cv_prog_ac_ct_AR
34410 if test -n "$ac_ct_AR"; then
34411 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34412 echo "${ECHO_T}$ac_ct_AR" >&6
34413 else
34414 echo "$as_me:$LINENO: result: no" >&5
34415 echo "${ECHO_T}no" >&6
34416 fi
34417
34418 AR=$ac_ct_AR
34419 else
34420 AR="$ac_cv_prog_AR"
34421 fi
34422
34423 if test -n "$ac_tool_prefix"; then
34424 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34425 set dummy ${ac_tool_prefix}strip; ac_word=$2
34426 echo "$as_me:$LINENO: checking for $ac_word" >&5
34427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34428 if test "${ac_cv_prog_STRIP+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 if test -n "$STRIP"; then
34432 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34433 else
34434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34435 for as_dir in $PATH
34436 do
34437 IFS=$as_save_IFS
34438 test -z "$as_dir" && as_dir=.
34439 for ac_exec_ext in '' $ac_executable_extensions; do
34440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34441 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34443 break 2
34444 fi
34445 done
34446 done
34447
34448 fi
34449 fi
34450 STRIP=$ac_cv_prog_STRIP
34451 if test -n "$STRIP"; then
34452 echo "$as_me:$LINENO: result: $STRIP" >&5
34453 echo "${ECHO_T}$STRIP" >&6
34454 else
34455 echo "$as_me:$LINENO: result: no" >&5
34456 echo "${ECHO_T}no" >&6
34457 fi
34458
34459 fi
34460 if test -z "$ac_cv_prog_STRIP"; then
34461 ac_ct_STRIP=$STRIP
34462 # Extract the first word of "strip", so it can be a program name with args.
34463 set dummy strip; ac_word=$2
34464 echo "$as_me:$LINENO: checking for $ac_word" >&5
34465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34466 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34468 else
34469 if test -n "$ac_ct_STRIP"; then
34470 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34471 else
34472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34473 for as_dir in $PATH
34474 do
34475 IFS=$as_save_IFS
34476 test -z "$as_dir" && as_dir=.
34477 for ac_exec_ext in '' $ac_executable_extensions; do
34478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34479 ac_cv_prog_ac_ct_STRIP="strip"
34480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34481 break 2
34482 fi
34483 done
34484 done
34485
34486 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34487 fi
34488 fi
34489 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34490 if test -n "$ac_ct_STRIP"; then
34491 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34492 echo "${ECHO_T}$ac_ct_STRIP" >&6
34493 else
34494 echo "$as_me:$LINENO: result: no" >&5
34495 echo "${ECHO_T}no" >&6
34496 fi
34497
34498 STRIP=$ac_ct_STRIP
34499 else
34500 STRIP="$ac_cv_prog_STRIP"
34501 fi
34502
34503 if test -n "$ac_tool_prefix"; then
34504 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34505 set dummy ${ac_tool_prefix}nm; ac_word=$2
34506 echo "$as_me:$LINENO: checking for $ac_word" >&5
34507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34508 if test "${ac_cv_prog_NM+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34510 else
34511 if test -n "$NM"; then
34512 ac_cv_prog_NM="$NM" # Let the user override the test.
34513 else
34514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34515 for as_dir in $PATH
34516 do
34517 IFS=$as_save_IFS
34518 test -z "$as_dir" && as_dir=.
34519 for ac_exec_ext in '' $ac_executable_extensions; do
34520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34521 ac_cv_prog_NM="${ac_tool_prefix}nm"
34522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34523 break 2
34524 fi
34525 done
34526 done
34527
34528 fi
34529 fi
34530 NM=$ac_cv_prog_NM
34531 if test -n "$NM"; then
34532 echo "$as_me:$LINENO: result: $NM" >&5
34533 echo "${ECHO_T}$NM" >&6
34534 else
34535 echo "$as_me:$LINENO: result: no" >&5
34536 echo "${ECHO_T}no" >&6
34537 fi
34538
34539 fi
34540 if test -z "$ac_cv_prog_NM"; then
34541 ac_ct_NM=$NM
34542 # Extract the first word of "nm", so it can be a program name with args.
34543 set dummy nm; ac_word=$2
34544 echo "$as_me:$LINENO: checking for $ac_word" >&5
34545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34546 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34548 else
34549 if test -n "$ac_ct_NM"; then
34550 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34551 else
34552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34553 for as_dir in $PATH
34554 do
34555 IFS=$as_save_IFS
34556 test -z "$as_dir" && as_dir=.
34557 for ac_exec_ext in '' $ac_executable_extensions; do
34558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34559 ac_cv_prog_ac_ct_NM="nm"
34560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34561 break 2
34562 fi
34563 done
34564 done
34565
34566 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34567 fi
34568 fi
34569 ac_ct_NM=$ac_cv_prog_ac_ct_NM
34570 if test -n "$ac_ct_NM"; then
34571 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34572 echo "${ECHO_T}$ac_ct_NM" >&6
34573 else
34574 echo "$as_me:$LINENO: result: no" >&5
34575 echo "${ECHO_T}no" >&6
34576 fi
34577
34578 NM=$ac_ct_NM
34579 else
34580 NM="$ac_cv_prog_NM"
34581 fi
34582
34583
34584 case ${host} in
34585 *-hp-hpux* )
34586 INSTALL_DIR="mkdir"
34587 ;;
34588 *) INSTALL_DIR="$INSTALL -d"
34589 ;;
34590 esac
34591
34592
34593 LDFLAGS_GUI=
34594 case ${host} in
34595 *-*-cygwin* | *-*-mingw32* )
34596 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34597 esac
34598
34599
34600 fi
34601
34602 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34603 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34604 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34606 else
34607
34608 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34609 egrep -s GNU > /dev/null); then
34610 bakefile_cv_prog_makeisgnu="yes"
34611 else
34612 bakefile_cv_prog_makeisgnu="no"
34613 fi
34614
34615 fi
34616 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34617 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34618
34619 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34620 IF_GNU_MAKE=""
34621 else
34622 IF_GNU_MAKE="#"
34623 fi
34624
34625
34626
34627 PLATFORM_UNIX=0
34628 PLATFORM_WIN32=0
34629 PLATFORM_MSDOS=0
34630 PLATFORM_MAC=0
34631 PLATFORM_MACOSX=0
34632 PLATFORM_OS2=0
34633
34634 case "${host}" in
34635 *-*-cygwin* | *-*-mingw32* )
34636 PLATFORM_WIN32=1
34637 ;;
34638 *-pc-msdosdjgpp )
34639 PLATFORM_MSDOS=1
34640 ;;
34641 *-pc-os2_emx | *-pc-os2-emx )
34642 PLATFORM_OS2=1
34643 ;;
34644 powerpc-*-darwin* )
34645 PLATFORM_MAC=1
34646 PLATFORM_MACOSX=1
34647 ;;
34648 * )
34649 PLATFORM_UNIX=1
34650 ;;
34651 esac
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661 SO_SUFFIX="so"
34662 SO_SUFFIX_MODULE="so"
34663 EXEEXT=""
34664 LIBPREFIX=lib
34665 DLLPREFIX=lib
34666 DLLPREFIX_MODULE=
34667
34668 case "${host}" in
34669 *-hp-hpux* )
34670 SO_SUFFIX="sl"
34671 SO_SUFFIX_MODULE="sl"
34672 ;;
34673 *-*-aix* )
34674 SO_SUFFIX="a"
34675 SO_SUFFIX_MODULE="a"
34676 ;;
34677 *-*-cygwin* | *-*-mingw32* )
34678 SO_SUFFIX="dll"
34679 SO_SUFFIX_MODULE="dll"
34680 EXEEXT=".exe"
34681 DLLPREFIX=""
34682 ;;
34683 *-pc-msdosdjgpp )
34684 EXEEXT=".exe"
34685 DLLPREFIX=""
34686 ;;
34687 *-pc-os2_emx | *-pc-os2-emx )
34688 EXEEXT=".exe"
34689 DLLPREFIX=""
34690 LIBPREFIX=""
34691 ;;
34692 powerpc-*-darwin* )
34693 SO_SUFFIX="dylib"
34694 SO_SUFFIX_MODULE="bundle"
34695 ;;
34696 esac
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706 SHARED_LD_CC="\$(CC) -shared -o"
34707 SHARED_LD_CXX="\$(CXX) -shared -o"
34708
34709 if test "x$GCC" = "xyes"; then
34710 PIC_FLAG="-fPIC"
34711 fi
34712
34713 case "${host}" in
34714 *-hp-hpux* )
34715 if test "x$GCC" = "xyes"; then
34716 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34717 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34718 else
34719 LDFLAGS="$LDFLAGS -L/usr/lib"
34720
34721 SHARED_LD_CC="${CC} -b -o"
34722 SHARED_LD_CXX="${CXX} -b -o"
34723 PIC_FLAG="+Z"
34724 fi
34725 ;;
34726
34727 *-*-linux* )
34728 if test "x$GCC" != "xyes"; then
34729 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34730 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34731 if test "${bakefile_cv_prog_icc+set}" = set; then
34732 echo $ECHO_N "(cached) $ECHO_C" >&6
34733 else
34734
34735 cat >conftest.$ac_ext <<_ACEOF
34736 #line $LINENO "configure"
34737 /* confdefs.h. */
34738 _ACEOF
34739 cat confdefs.h >>conftest.$ac_ext
34740 cat >>conftest.$ac_ext <<_ACEOF
34741 /* end confdefs.h. */
34742
34743 int
34744 main ()
34745 {
34746
34747 #ifndef __INTEL_COMPILER
34748 #error Not icc
34749 #endif
34750
34751 ;
34752 return 0;
34753 }
34754 _ACEOF
34755 rm -f conftest.$ac_objext
34756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34757 (eval $ac_compile) 2>&5
34758 ac_status=$?
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try='test -s conftest.$ac_objext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34764 ac_status=$?
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 bakefile_cv_prog_icc=yes
34768 else
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.$ac_ext >&5
34771
34772 bakefile_cv_prog_icc=no
34773
34774 fi
34775 rm -f conftest.$ac_objext conftest.$ac_ext
34776
34777 fi
34778 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34779 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34780 if test "$bakefile_cv_prog_icc" = "yes"; then
34781 PIC_FLAG="-KPIC"
34782 fi
34783 fi
34784 ;;
34785
34786 *-*-solaris2* )
34787 if test "x$GCC" != xyes ; then
34788 SHARED_LD_CC="${CC} -G -o"
34789 SHARED_LD_CXX="${CXX} -G -o"
34790 PIC_FLAG="-KPIC"
34791 fi
34792 ;;
34793
34794 *-*-darwin* )
34795 CFLAGS="$CFLAGS -fno-common"
34796 CXXFLAGS="$CXXFLAGS -fno-common"
34797
34798
34799 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34800 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34801 if test "${wx_cv_gcc31+set}" = set; then
34802 echo $ECHO_N "(cached) $ECHO_C" >&6
34803 else
34804
34805 cat >conftest.$ac_ext <<_ACEOF
34806 #line $LINENO "configure"
34807 /* confdefs.h. */
34808 _ACEOF
34809 cat confdefs.h >>conftest.$ac_ext
34810 cat >>conftest.$ac_ext <<_ACEOF
34811 /* end confdefs.h. */
34812
34813 int
34814 main ()
34815 {
34816
34817 #if (__GNUC__ < 3) || \
34818 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34819 #error old gcc
34820 #endif
34821
34822 ;
34823 return 0;
34824 }
34825 _ACEOF
34826 rm -f conftest.$ac_objext
34827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34828 (eval $ac_compile) 2>&5
34829 ac_status=$?
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } &&
34832 { ac_try='test -s conftest.$ac_objext'
34833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34834 (eval $ac_try) 2>&5
34835 ac_status=$?
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); }; }; then
34838
34839 wx_cv_gcc31=yes
34840
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845
34846 wx_cv_gcc31=no
34847
34848
34849 fi
34850 rm -f conftest.$ac_objext conftest.$ac_ext
34851
34852 fi
34853 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34854 echo "${ECHO_T}$wx_cv_gcc31" >&6
34855 if test "$wx_cv_gcc31" = "no"; then
34856 cat <<EOF >shared-ld-sh
34857 #!/bin/sh
34858 #-----------------------------------------------------------------------------
34859 #-- Name: distrib/mac/shared-ld-sh
34860 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34861 #-- Author: Gilles Depeyrot
34862 #-- Copyright: (c) 2002 Gilles Depeyrot
34863 #-- Licence: any use permitted
34864 #-----------------------------------------------------------------------------
34865
34866 verbose=0
34867 args=""
34868 objects=""
34869 linking_flag="-dynamiclib"
34870
34871 while test \${#} -gt 0; do
34872 case \${1} in
34873
34874 -v)
34875 verbose=1
34876 ;;
34877
34878 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34879 # collect these options and values
34880 args="\${args} \${1} \${2}"
34881 shift
34882 ;;
34883
34884 -l*|-L*|-flat_namespace)
34885 # collect these options
34886 args="\${args} \${1}"
34887 ;;
34888
34889 -dynamiclib|-bundle)
34890 linking_flag="\${1}"
34891 ;;
34892
34893 -*)
34894 echo "shared-ld: unhandled option '\${1}'"
34895 exit 1
34896 ;;
34897
34898 *.o | *.a | *.dylib)
34899 # collect object files
34900 objects="\${objects} \${1}"
34901 ;;
34902
34903 *)
34904 echo "shared-ld: unhandled argument '\${1}'"
34905 exit 1
34906 ;;
34907
34908 esac
34909 shift
34910 done
34911
34912 #
34913 # Link one module containing all the others
34914 #
34915 if test \${verbose} = 1; then
34916 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34917 fi
34918 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34919 status=\$?
34920 if test \${status} != 0; then
34921 exit \${status}
34922 fi
34923
34924 #
34925 # Link the shared library from the single module created
34926 #
34927 if test \${verbose} = 1; then
34928 echo "cc \${linking_flag} master.\$\$.o \${args}"
34929 fi
34930 c++ \${linking_flag} master.\$\$.o \${args}
34931 status=\$?
34932 if test \${status} != 0; then
34933 exit \${status}
34934 fi
34935
34936 #
34937 # Remove intermediate module
34938 #
34939 rm -f master.\$\$.o
34940
34941 exit 0
34942 EOF
34943 chmod +x shared-ld-sh
34944
34945 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34946 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34947 SHARED_LD_CXX="$SHARED_LD_CC"
34948 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34949 else
34950 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34951 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34952 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34953 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34954 fi
34955
34956 PIC_FLAG="-dynamic -fPIC"
34957 ;;
34958
34959 *-*-aix* )
34960 if test "x$GCC" != "xyes"; then
34961 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34962 set dummy makeC++SharedLib; ac_word=$2
34963 echo "$as_me:$LINENO: checking for $ac_word" >&5
34964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34965 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 else
34968 if test -n "$AIX_CXX_LD"; then
34969 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34970 else
34971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34972 for as_dir in $PATH
34973 do
34974 IFS=$as_save_IFS
34975 test -z "$as_dir" && as_dir=.
34976 for ac_exec_ext in '' $ac_executable_extensions; do
34977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34978 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34980 break 2
34981 fi
34982 done
34983 done
34984
34985 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34986 fi
34987 fi
34988 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34989 if test -n "$AIX_CXX_LD"; then
34990 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34991 echo "${ECHO_T}$AIX_CXX_LD" >&6
34992 else
34993 echo "$as_me:$LINENO: result: no" >&5
34994 echo "${ECHO_T}no" >&6
34995 fi
34996
34997 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34998 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34999 fi
35000 ;;
35001
35002 *-*-beos* )
35003 SHARED_LD_CC="${LD} -shared -o"
35004 SHARED_LD_CXX="${LD} -shared -o"
35005 ;;
35006
35007 *-*-irix* )
35008 if test "x$GCC" != "xyes"; then
35009 PIC_FLAG="-KPIC"
35010 fi
35011 ;;
35012
35013 *-*-cygwin* | *-*-mingw32* )
35014 PIC_FLAG=""
35015 ;;
35016
35017 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35018 *-*-sunos4* | \
35019 *-*-osf* | \
35020 *-*-dgux5* | \
35021 *-pc-os2_emx | *-pc-os2-emx | \
35022 *-*-sysv5* )
35023 ;;
35024
35025 *)
35026 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35027 echo "$as_me: error: unknown system type $host." >&2;}
35028 { (exit 1); exit 1; }; }
35029 esac
35030
35031 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35032 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35033 fi
35034 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35035 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35036 fi
35037
35038
35039
35040
35041
35042
35043
35044
35045 USE_SOVERSION=0
35046 USE_SOVERLINUX=0
35047 USE_SOVERSOLARIS=0
35048 USE_SOSYMLINKS=0
35049 USE_MACVERSION=0
35050 SONAME_FLAG=
35051
35052 case "${host}" in
35053 *-*-linux* )
35054 SONAME_FLAG="-Wl,-soname,"
35055 USE_SOVERSION=1
35056 USE_SOVERLINUX=1
35057 USE_SOSYMLINKS=1
35058 ;;
35059
35060 *-*-solaris2* )
35061 SONAME_FLAG="-h "
35062 USE_SOVERSION=1
35063 USE_SOVERSOLARIS=1
35064 USE_SOSYMLINKS=1
35065 ;;
35066
35067 *-*-darwin* )
35068 USE_MACVERSION=1
35069 USE_SOVERSION=1
35070 USE_SOSYMLINKS=1
35071 ;;
35072 esac
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35083 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35084 DEPS_TRACKING=0
35085
35086 if test "x$GCC" = "xyes"; then
35087 DEPSMODE=gcc
35088 DEPS_TRACKING=1
35089 case "${host}" in
35090 powerpc-*-darwin* )
35091 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35092 ;;
35093 * )
35094 DEPSFLAG_GCC="-MMD"
35095 ;;
35096 esac
35097 echo "$as_me:$LINENO: result: gcc" >&5
35098 echo "${ECHO_T}gcc" >&6
35099 else
35100 echo "$as_me:$LINENO: result: none" >&5
35101 echo "${ECHO_T}none" >&6
35102 fi
35103
35104 if test $DEPS_TRACKING = 1 ; then
35105 cat <<EOF >bk-deps
35106 #!/bin/sh
35107
35108 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35109 # script. It is used to track C/C++ files dependencies in portable way.
35110 #
35111 # Permission is given to use this file in any way.
35112
35113 DEPSMODE=$DEPSMODE
35114 DEPSDIR=.deps
35115 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35116
35117 mkdir -p \$DEPSDIR
35118
35119 if test \$DEPSMODE = gcc ; then
35120 \${*} \${DEPSFLAG_GCC}
35121 status=\${?}
35122 if test \${status} != 0 ; then
35123 exit \${status}
35124 fi
35125 # move created file to the location we want it in:
35126 while test \${#} -gt 0; do
35127 case "\${1}" in
35128 -o )
35129 shift
35130 objfile=\${1}
35131 ;;
35132 -* )
35133 ;;
35134 * )
35135 srcfile=\${1}
35136 ;;
35137 esac
35138 shift
35139 done
35140 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35141 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35142 if test -f \$depfile ; then
35143 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35144 rm -f \$depfile
35145 else
35146 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35147 if test -f \$depfile ; then
35148 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35149 rm -f \$depfile
35150 fi
35151 fi
35152 exit 0
35153 else
35154 \${*}
35155 exit \${?}
35156 fi
35157 EOF
35158 chmod +x bk-deps
35159 fi
35160
35161
35162
35163
35164 RESCOMP=
35165 SETFILE=
35166
35167 case ${host} in
35168 *-*-cygwin* | *-*-mingw32* )
35169 if test "$build" != "$host" ; then
35170 RESCOMP=$host_alias-windres
35171 else
35172 # Extract the first word of "windres", so it can be a program name with args.
35173 set dummy windres; ac_word=$2
35174 echo "$as_me:$LINENO: checking for $ac_word" >&5
35175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35176 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35177 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 else
35179 if test -n "$RESCOMP"; then
35180 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35181 else
35182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35183 for as_dir in $PATH
35184 do
35185 IFS=$as_save_IFS
35186 test -z "$as_dir" && as_dir=.
35187 for ac_exec_ext in '' $ac_executable_extensions; do
35188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35189 ac_cv_prog_RESCOMP="windres"
35190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35191 break 2
35192 fi
35193 done
35194 done
35195
35196 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35197 fi
35198 fi
35199 RESCOMP=$ac_cv_prog_RESCOMP
35200 if test -n "$RESCOMP"; then
35201 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35202 echo "${ECHO_T}$RESCOMP" >&6
35203 else
35204 echo "$as_me:$LINENO: result: no" >&5
35205 echo "${ECHO_T}no" >&6
35206 fi
35207
35208 fi
35209 ;;
35210
35211 *-*-darwin* )
35212 # Extract the first word of "Rez", so it can be a program name with args.
35213 set dummy Rez; ac_word=$2
35214 echo "$as_me:$LINENO: checking for $ac_word" >&5
35215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35216 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 else
35219 if test -n "$RESCOMP"; then
35220 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35221 else
35222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35223 for as_dir in $PATH
35224 do
35225 IFS=$as_save_IFS
35226 test -z "$as_dir" && as_dir=.
35227 for ac_exec_ext in '' $ac_executable_extensions; do
35228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35229 ac_cv_prog_RESCOMP="Rez"
35230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35231 break 2
35232 fi
35233 done
35234 done
35235
35236 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35237 fi
35238 fi
35239 RESCOMP=$ac_cv_prog_RESCOMP
35240 if test -n "$RESCOMP"; then
35241 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35242 echo "${ECHO_T}$RESCOMP" >&6
35243 else
35244 echo "$as_me:$LINENO: result: no" >&5
35245 echo "${ECHO_T}no" >&6
35246 fi
35247
35248 # Extract the first word of "SetFile", so it can be a program name with args.
35249 set dummy SetFile; ac_word=$2
35250 echo "$as_me:$LINENO: checking for $ac_word" >&5
35251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35252 if test "${ac_cv_prog_SETFILE+set}" = set; then
35253 echo $ECHO_N "(cached) $ECHO_C" >&6
35254 else
35255 if test -n "$SETFILE"; then
35256 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35257 else
35258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35259 for as_dir in $PATH
35260 do
35261 IFS=$as_save_IFS
35262 test -z "$as_dir" && as_dir=.
35263 for ac_exec_ext in '' $ac_executable_extensions; do
35264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35265 ac_cv_prog_SETFILE="SetFile"
35266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35267 break 2
35268 fi
35269 done
35270 done
35271
35272 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35273 fi
35274 fi
35275 SETFILE=$ac_cv_prog_SETFILE
35276 if test -n "$SETFILE"; then
35277 echo "$as_me:$LINENO: result: $SETFILE" >&5
35278 echo "${ECHO_T}$SETFILE" >&6
35279 else
35280 echo "$as_me:$LINENO: result: no" >&5
35281 echo "${ECHO_T}no" >&6
35282 fi
35283
35284 ;;
35285 esac
35286
35287
35288
35289
35290
35291
35292
35293
35294 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35295 if test "${enable_precomp_headers+set}" = set; then
35296 enableval="$enable_precomp_headers"
35297 bk_use_pch="$enableval"
35298 fi;
35299
35300 GCC_PCH=0
35301
35302 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35303 if test "x$GCC" = "xyes"; then
35304 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35305 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35306 cat >conftest.$ac_ext <<_ACEOF
35307 #line $LINENO "configure"
35308 /* confdefs.h. */
35309 _ACEOF
35310 cat confdefs.h >>conftest.$ac_ext
35311 cat >>conftest.$ac_ext <<_ACEOF
35312 /* end confdefs.h. */
35313
35314 int
35315 main ()
35316 {
35317
35318 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35319 #error "no pch support"
35320 #endif
35321 #if (__GNUC__ < 3)
35322 #error "no pch support"
35323 #endif
35324 #if (__GNUC__ == 3) && \
35325 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35326 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35327 #error "no pch support"
35328 #endif
35329
35330 ;
35331 return 0;
35332 }
35333 _ACEOF
35334 rm -f conftest.$ac_objext
35335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35336 (eval $ac_compile) 2>&5
35337 ac_status=$?
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } &&
35340 { ac_try='test -s conftest.$ac_objext'
35341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35342 (eval $ac_try) 2>&5
35343 ac_status=$?
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); }; }; then
35346
35347 echo "$as_me:$LINENO: result: yes" >&5
35348 echo "${ECHO_T}yes" >&6
35349 CPPFLAGS="-fpch-deps $CPPFLAGS"
35350 GCC_PCH=1
35351
35352 else
35353 echo "$as_me: failed program was:" >&5
35354 sed 's/^/| /' conftest.$ac_ext >&5
35355
35356
35357 echo "$as_me:$LINENO: result: no" >&5
35358 echo "${ECHO_T}no" >&6
35359
35360 fi
35361 rm -f conftest.$ac_objext conftest.$ac_ext
35362 if test $GCC_PCH = 1 ; then
35363 cat <<EOF >bk-make-pch
35364 #!/bin/sh
35365
35366 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35367 # script. It is used to generated precompiled headers.
35368 #
35369 # Permission is given to use this file in any way.
35370
35371 outfile="\${1}"
35372 header="\${2}"
35373 shift
35374 shift
35375
35376 compiler=
35377 headerfile=
35378 while test \${#} -gt 0; do
35379 case "\${1}" in
35380 -I* )
35381 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35382 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35383 headerfile="\${incdir}/\${header}"
35384 fi
35385 ;;
35386 esac
35387 compiler="\${compiler} \${1}"
35388 shift
35389 done
35390
35391 if test "x\${headerfile}" = "x" ; then
35392 echo "error: can't find header \${header} in include paths" >2
35393 else
35394 if test -f \${outfile} ; then
35395 rm -f \${outfile}
35396 else
35397 mkdir -p \`dirname \${outfile}\`
35398 fi
35399 depsfile=".deps/\`basename \${outfile}\`.d"
35400 mkdir -p .deps
35401 # can do this because gcc is >= 3.4:
35402 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35403 exit \${?}
35404 fi
35405 EOF
35406 chmod +x bk-make-pch
35407 fi
35408 fi
35409 fi
35410
35411
35412
35413
35414
35415 COND_BUILD_DEBUG="#"
35416 if test "x$BUILD" = "xdebug" ; then
35417 COND_BUILD_DEBUG=""
35418 fi
35419
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35421 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35422 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35423 fi
35424
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35426 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35427 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35428 fi
35429
35430 COND_BUILD_RELEASE="#"
35431 if test "x$BUILD" = "xrelease" ; then
35432 COND_BUILD_RELEASE=""
35433 fi
35434
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35436 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35437 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35438 fi
35439
35440 COND_DEBUG_FLAG_1="#"
35441 if test "x$DEBUG_FLAG" = "x1" ; then
35442 COND_DEBUG_FLAG_1=""
35443 fi
35444
35445 COND_DEBUG_INFO_0="#"
35446 if test "x$DEBUG_INFO" = "x0" ; then
35447 COND_DEBUG_INFO_0=""
35448 fi
35449
35450 COND_DEBUG_INFO_1="#"
35451 if test "x$DEBUG_INFO" = "x1" ; then
35452 COND_DEBUG_INFO_1=""
35453 fi
35454
35455 COND_DEPS_TRACKING_0="#"
35456 if test "x$DEPS_TRACKING" = "x0" ; then
35457 COND_DEPS_TRACKING_0=""
35458 fi
35459
35460 COND_DEPS_TRACKING_1="#"
35461 if test "x$DEPS_TRACKING" = "x1" ; then
35462 COND_DEPS_TRACKING_1=""
35463 fi
35464
35465 COND_GCC_PCH_1="#"
35466 if test "x$GCC_PCH" = "x1" ; then
35467 COND_GCC_PCH_1=""
35468 fi
35469
35470 COND_MONOLITHIC_0="#"
35471 if test "x$MONOLITHIC" = "x0" ; then
35472 COND_MONOLITHIC_0=""
35473 fi
35474
35475 COND_MONOLITHIC_0_SHARED_0="#"
35476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35477 COND_MONOLITHIC_0_SHARED_0=""
35478 fi
35479
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35483 fi
35484
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35488 fi
35489
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35492 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35493 fi
35494
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35497 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35498 fi
35499
35500 COND_MONOLITHIC_0_SHARED_1="#"
35501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35502 COND_MONOLITHIC_0_SHARED_1=""
35503 fi
35504
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35507 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35508 fi
35509
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35512 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35513 fi
35514
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35517 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35518 fi
35519
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35522 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35523 fi
35524
35525 COND_MONOLITHIC_1="#"
35526 if test "x$MONOLITHIC" = "x1" ; then
35527 COND_MONOLITHIC_1=""
35528 fi
35529
35530 COND_MONOLITHIC_1_SHARED_0="#"
35531 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35532 COND_MONOLITHIC_1_SHARED_0=""
35533 fi
35534
35535 COND_MONOLITHIC_1_SHARED_1="#"
35536 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35537 COND_MONOLITHIC_1_SHARED_1=""
35538 fi
35539
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35541 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35542 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35543 fi
35544
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35546 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35547 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35548 fi
35549
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35551 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35552 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35553 fi
35554
35555 COND_PLATFORM_MACOSX_1="#"
35556 if test "x$PLATFORM_MACOSX" = "x1" ; then
35557 COND_PLATFORM_MACOSX_1=""
35558 fi
35559
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35561 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35562 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35563 fi
35564
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35566 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35567 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35568 fi
35569
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35571 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35572 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35573 fi
35574
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
35576 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35577 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
35578 fi
35579
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35581 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35582 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35583 fi
35584
35585 COND_PLATFORM_MAC_1="#"
35586 if test "x$PLATFORM_MAC" = "x1" ; then
35587 COND_PLATFORM_MAC_1=""
35588 fi
35589
35590 COND_PLATFORM_OS2_1="#"
35591 if test "x$PLATFORM_OS2" = "x1" ; then
35592 COND_PLATFORM_OS2_1=""
35593 fi
35594
35595 COND_PLATFORM_UNIX_0="#"
35596 if test "x$PLATFORM_UNIX" = "x0" ; then
35597 COND_PLATFORM_UNIX_0=""
35598 fi
35599
35600 COND_PLATFORM_UNIX_1="#"
35601 if test "x$PLATFORM_UNIX" = "x1" ; then
35602 COND_PLATFORM_UNIX_1=""
35603 fi
35604
35605 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
35606 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35607 COND_PLATFORM_UNIX_1_USE_GUI_1=""
35608 fi
35609
35610 COND_PLATFORM_WIN32_0="#"
35611 if test "x$PLATFORM_WIN32" = "x0" ; then
35612 COND_PLATFORM_WIN32_0=""
35613 fi
35614
35615 COND_PLATFORM_WIN32_1="#"
35616 if test "x$PLATFORM_WIN32" = "x1" ; then
35617 COND_PLATFORM_WIN32_1=""
35618 fi
35619
35620 COND_SHARED_0="#"
35621 if test "x$SHARED" = "x0" ; then
35622 COND_SHARED_0=""
35623 fi
35624
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35626 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35627 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35628 fi
35629
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35631 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35632 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35633 fi
35634
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35636 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35637 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35638 fi
35639
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35641 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35642 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35643 fi
35644
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35646 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35647 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35648 fi
35649
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35651 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35652 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35653 fi
35654
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35656 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35657 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35658 fi
35659
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35661 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35662 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35663 fi
35664
35665 COND_SHARED_1="#"
35666 if test "x$SHARED" = "x1" ; then
35667 COND_SHARED_1=""
35668 fi
35669
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35671 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35672 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35673 fi
35674
35675 COND_TOOLKIT_COCOA="#"
35676 if test "x$TOOLKIT" = "xCOCOA" ; then
35677 COND_TOOLKIT_COCOA=""
35678 fi
35679
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35681 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35682 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35683 fi
35684
35685 COND_TOOLKIT_GTK="#"
35686 if test "x$TOOLKIT" = "xGTK" ; then
35687 COND_TOOLKIT_GTK=""
35688 fi
35689
35690 COND_TOOLKIT_GTK_USE_GUI_1="#"
35691 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35692 COND_TOOLKIT_GTK_USE_GUI_1=""
35693 fi
35694
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35696 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35697 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35698 fi
35699
35700 COND_TOOLKIT_MAC="#"
35701 if test "x$TOOLKIT" = "xMAC" ; then
35702 COND_TOOLKIT_MAC=""
35703 fi
35704
35705 COND_TOOLKIT_MAC_USE_GUI_1="#"
35706 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35707 COND_TOOLKIT_MAC_USE_GUI_1=""
35708 fi
35709
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35711 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35712 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35713 fi
35714
35715 COND_TOOLKIT_MGL="#"
35716 if test "x$TOOLKIT" = "xMGL" ; then
35717 COND_TOOLKIT_MGL=""
35718 fi
35719
35720 COND_TOOLKIT_MGL_USE_GUI_1="#"
35721 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35722 COND_TOOLKIT_MGL_USE_GUI_1=""
35723 fi
35724
35725 COND_TOOLKIT_MOTIF="#"
35726 if test "x$TOOLKIT" = "xMOTIF" ; then
35727 COND_TOOLKIT_MOTIF=""
35728 fi
35729
35730 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35731 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35732 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35733 fi
35734
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35736 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35737 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35738 fi
35739
35740 COND_TOOLKIT_MSW="#"
35741 if test "x$TOOLKIT" = "xMSW" ; then
35742 COND_TOOLKIT_MSW=""
35743 fi
35744
35745 COND_TOOLKIT_MSW_USE_GUI_1="#"
35746 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35747 COND_TOOLKIT_MSW_USE_GUI_1=""
35748 fi
35749
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35751 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35752 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35753 fi
35754
35755 COND_TOOLKIT_PM="#"
35756 if test "x$TOOLKIT" = "xPM" ; then
35757 COND_TOOLKIT_PM=""
35758 fi
35759
35760 COND_TOOLKIT_PM_USE_GUI_1="#"
35761 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35762 COND_TOOLKIT_PM_USE_GUI_1=""
35763 fi
35764
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35766 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35767 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35768 fi
35769
35770 COND_TOOLKIT_X11="#"
35771 if test "x$TOOLKIT" = "xX11" ; then
35772 COND_TOOLKIT_X11=""
35773 fi
35774
35775 COND_TOOLKIT_X11_USE_GUI_1="#"
35776 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35777 COND_TOOLKIT_X11_USE_GUI_1=""
35778 fi
35779
35780 COND_UNICODE_1="#"
35781 if test "x$UNICODE" = "x1" ; then
35782 COND_UNICODE_1=""
35783 fi
35784
35785 COND_USE_EXCEPTIONS_0="#"
35786 if test "x$USE_EXCEPTIONS" = "x0" ; then
35787 COND_USE_EXCEPTIONS_0=""
35788 fi
35789
35790 COND_USE_EXCEPTIONS_1="#"
35791 if test "x$USE_EXCEPTIONS" = "x1" ; then
35792 COND_USE_EXCEPTIONS_1=""
35793 fi
35794
35795 COND_USE_GUI_0="#"
35796 if test "x$USE_GUI" = "x0" ; then
35797 COND_USE_GUI_0=""
35798 fi
35799
35800 COND_USE_GUI_1="#"
35801 if test "x$USE_GUI" = "x1" ; then
35802 COND_USE_GUI_1=""
35803 fi
35804
35805 COND_USE_GUI_1_WXUNIV_0="#"
35806 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35807 COND_USE_GUI_1_WXUNIV_0=""
35808 fi
35809
35810 COND_USE_GUI_1_WXUNIV_1="#"
35811 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35812 COND_USE_GUI_1_WXUNIV_1=""
35813 fi
35814
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35816 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35817 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35818 fi
35819
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35821 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35822 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35823 fi
35824
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35826 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35827 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35828 fi
35829
35830 COND_USE_ODBC_1="#"
35831 if test "x$USE_ODBC" = "x1" ; then
35832 COND_USE_ODBC_1=""
35833 fi
35834
35835 COND_USE_SOSYMLINKS_1="#"
35836 if test "x$USE_SOSYMLINKS" = "x1" ; then
35837 COND_USE_SOSYMLINKS_1=""
35838 fi
35839
35840 COND_USE_SOVERLINUX_1="#"
35841 if test "x$USE_SOVERLINUX" = "x1" ; then
35842 COND_USE_SOVERLINUX_1=""
35843 fi
35844
35845 COND_USE_SOVERSION_0="#"
35846 if test "x$USE_SOVERSION" = "x0" ; then
35847 COND_USE_SOVERSION_0=""
35848 fi
35849
35850 COND_USE_SOVERSOLARIS_1="#"
35851 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35852 COND_USE_SOVERSOLARIS_1=""
35853 fi
35854
35855 COND_WXUNIV_1="#"
35856 if test "x$WXUNIV" = "x1" ; then
35857 COND_WXUNIV_1=""
35858 fi
35859
35860 COND_WXUSE_EXPAT_BUILTIN="#"
35861 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35862 COND_WXUSE_EXPAT_BUILTIN=""
35863 fi
35864
35865 COND_WXUSE_LIBJPEG_BUILTIN="#"
35866 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35867 COND_WXUSE_LIBJPEG_BUILTIN=""
35868 fi
35869
35870 COND_WXUSE_LIBPNG_BUILTIN="#"
35871 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35872 COND_WXUSE_LIBPNG_BUILTIN=""
35873 fi
35874
35875 COND_WXUSE_LIBTIFF_BUILTIN="#"
35876 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35877 COND_WXUSE_LIBTIFF_BUILTIN=""
35878 fi
35879
35880 COND_WXUSE_ODBC_BUILTIN="#"
35881 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35882 COND_WXUSE_ODBC_BUILTIN=""
35883 fi
35884
35885 COND_WXUSE_REGEX_BUILTIN="#"
35886 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35887 COND_WXUSE_REGEX_BUILTIN=""
35888 fi
35889
35890 COND_WXUSE_ZLIB_BUILTIN="#"
35891 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35892 COND_WXUSE_ZLIB_BUILTIN=""
35893 fi
35894
35895
35896
35897
35898
35899 if test $GCC_PCH = 1 ; then
35900 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35901 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35902 else
35903 case "${host}" in
35904 powerpc-*-darwin* )
35905 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
35906 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35907 ;;
35908 esac
35909 fi
35910
35911
35912 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
36011
36012
36013 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36014 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36015 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36016 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36017 echo $ECHO_N "(cached) $ECHO_C" >&6
36018 else
36019 cat >conftest.make <<\_ACEOF
36020 all:
36021 @echo 'ac_maketemp="$(MAKE)"'
36022 _ACEOF
36023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36024 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36025 if test -n "$ac_maketemp"; then
36026 eval ac_cv_prog_make_${ac_make}_set=yes
36027 else
36028 eval ac_cv_prog_make_${ac_make}_set=no
36029 fi
36030 rm -f conftest.make
36031 fi
36032 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36033 echo "$as_me:$LINENO: result: yes" >&5
36034 echo "${ECHO_T}yes" >&6
36035 SET_MAKE=
36036 else
36037 echo "$as_me:$LINENO: result: no" >&5
36038 echo "${ECHO_T}no" >&6
36039 SET_MAKE="MAKE=${MAKE-make}"
36040 fi
36041
36042
36043 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36044 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36045 fi
36046
36047 ac_config_headers="$ac_config_headers setup.h"
36048
36049
36050 ac_config_files="$ac_config_files wx-config version-script Makefile"
36051
36052
36053 ac_config_commands="$ac_config_commands default"
36054
36055
36056
36057 if test "$wxUSE_GUI" = "yes"; then
36058 SUBDIRS="samples demos utils contrib"
36059 else SUBDIRS="samples utils"
36060 fi
36061
36062 for subdir in `echo $SUBDIRS`; do
36063 if test -d ${srcdir}/${subdir} ; then
36064 if test "$wxUSE_GUI" = "yes"; then
36065 if test ${subdir} = "samples"; then
36066 makefiles="samples/Makefile.in $makefiles"
36067 for sample in `echo $SAMPLES_SUBDIRS`; do
36068 if test -d $srcdir/samples/$sample; then
36069 makefiles="samples/$sample/Makefile.in $makefiles"
36070 fi
36071 done
36072 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36073 fi
36074 else if test ${subdir} = "samples"; then
36075 makefiles="samples/Makefile.in samples/console/Makefile.in"
36076 else makefiles="utils/HelpGen/Makefile.in \
36077 utils/HelpGen/src/Makefile.in \
36078 utils/tex2rtf/Makefile.in \
36079 utils/tex2rtf/src/Makefile.in"
36080 fi
36081 fi
36082
36083 for mkin in $makefiles ; do
36084 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36085 ac_config_files="$ac_config_files $mk"
36086
36087 done
36088 fi
36089 done
36090
36091
36092 cat >confcache <<\_ACEOF
36093 # This file is a shell script that caches the results of configure
36094 # tests run on this system so they can be shared between configure
36095 # scripts and configure runs, see configure's option --config-cache.
36096 # It is not useful on other systems. If it contains results you don't
36097 # want to keep, you may remove or edit it.
36098 #
36099 # config.status only pays attention to the cache file if you give it
36100 # the --recheck option to rerun configure.
36101 #
36102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36104 # following values.
36105
36106 _ACEOF
36107
36108 # The following way of writing the cache mishandles newlines in values,
36109 # but we know of no workaround that is simple, portable, and efficient.
36110 # So, don't put newlines in cache variables' values.
36111 # Ultrix sh set writes to stderr and can't be redirected directly,
36112 # and sets the high bit in the cache file unless we assign to the vars.
36113 {
36114 (set) 2>&1 |
36115 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36116 *ac_space=\ *)
36117 # `set' does not quote correctly, so add quotes (double-quote
36118 # substitution turns \\\\ into \\, and sed turns \\ into \).
36119 sed -n \
36120 "s/'/'\\\\''/g;
36121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36122 ;;
36123 *)
36124 # `set' quotes correctly as required by POSIX, so do not add quotes.
36125 sed -n \
36126 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36127 ;;
36128 esac;
36129 } |
36130 sed '
36131 t clear
36132 : clear
36133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36134 t end
36135 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36136 : end' >>confcache
36137 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36138 if test -w $cache_file; then
36139 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36140 cat confcache >$cache_file
36141 else
36142 echo "not updating unwritable cache $cache_file"
36143 fi
36144 fi
36145 rm -f confcache
36146
36147 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36148 # Let make expand exec_prefix.
36149 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36150
36151 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36152 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36153 # trailing colons and then remove the whole line if VPATH becomes empty
36154 # (actually we leave an empty line to preserve line numbers).
36155 if test "x$srcdir" = x.; then
36156 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36157 s/:*\$(srcdir):*/:/;
36158 s/:*\${srcdir}:*/:/;
36159 s/:*@srcdir@:*/:/;
36160 s/^\([^=]*=[ ]*\):*/\1/;
36161 s/:*$//;
36162 s/^[^=]*=[ ]*$//;
36163 }'
36164 fi
36165
36166 DEFS=-DHAVE_CONFIG_H
36167
36168 ac_libobjs=
36169 ac_ltlibobjs=
36170 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36171 # 1. Remove the extension, and $U if already installed.
36172 ac_i=`echo "$ac_i" |
36173 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36174 # 2. Add them.
36175 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36176 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36177 done
36178 LIBOBJS=$ac_libobjs
36179
36180 LTLIBOBJS=$ac_ltlibobjs
36181
36182
36183
36184 : ${CONFIG_STATUS=./config.status}
36185 ac_clean_files_save=$ac_clean_files
36186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36187 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36188 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36189 cat >$CONFIG_STATUS <<_ACEOF
36190 #! $SHELL
36191 # Generated by $as_me.
36192 # Run this file to recreate the current configuration.
36193 # Compiler output produced by configure, useful for debugging
36194 # configure, is in config.log if it exists.
36195
36196 debug=false
36197 ac_cs_recheck=false
36198 ac_cs_silent=false
36199 SHELL=\${CONFIG_SHELL-$SHELL}
36200 _ACEOF
36201
36202 cat >>$CONFIG_STATUS <<\_ACEOF
36203 ## --------------------- ##
36204 ## M4sh Initialization. ##
36205 ## --------------------- ##
36206
36207 # Be Bourne compatible
36208 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36209 emulate sh
36210 NULLCMD=:
36211 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36212 # is contrary to our usage. Disable this feature.
36213 alias -g '${1+"$@"}'='"$@"'
36214 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36215 set -o posix
36216 fi
36217
36218 # Support unset when possible.
36219 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36220 as_unset=unset
36221 else
36222 as_unset=false
36223 fi
36224
36225
36226 # Work around bugs in pre-3.0 UWIN ksh.
36227 $as_unset ENV MAIL MAILPATH
36228 PS1='$ '
36229 PS2='> '
36230 PS4='+ '
36231
36232 # NLS nuisances.
36233 for as_var in \
36234 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36235 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36236 LC_TELEPHONE LC_TIME
36237 do
36238 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36239 eval $as_var=C; export $as_var
36240 else
36241 $as_unset $as_var
36242 fi
36243 done
36244
36245 # Required to use basename.
36246 if expr a : '\(a\)' >/dev/null 2>&1; then
36247 as_expr=expr
36248 else
36249 as_expr=false
36250 fi
36251
36252 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36253 as_basename=basename
36254 else
36255 as_basename=false
36256 fi
36257
36258
36259 # Name of the executable.
36260 as_me=`$as_basename "$0" ||
36261 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36262 X"$0" : 'X\(//\)$' \| \
36263 X"$0" : 'X\(/\)$' \| \
36264 . : '\(.\)' 2>/dev/null ||
36265 echo X/"$0" |
36266 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36267 /^X\/\(\/\/\)$/{ s//\1/; q; }
36268 /^X\/\(\/\).*/{ s//\1/; q; }
36269 s/.*/./; q'`
36270
36271
36272 # PATH needs CR, and LINENO needs CR and PATH.
36273 # Avoid depending upon Character Ranges.
36274 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36275 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36276 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36277 as_cr_digits='0123456789'
36278 as_cr_alnum=$as_cr_Letters$as_cr_digits
36279
36280 # The user is always right.
36281 if test "${PATH_SEPARATOR+set}" != set; then
36282 echo "#! /bin/sh" >conf$$.sh
36283 echo "exit 0" >>conf$$.sh
36284 chmod +x conf$$.sh
36285 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36286 PATH_SEPARATOR=';'
36287 else
36288 PATH_SEPARATOR=:
36289 fi
36290 rm -f conf$$.sh
36291 fi
36292
36293
36294 as_lineno_1=$LINENO
36295 as_lineno_2=$LINENO
36296 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36297 test "x$as_lineno_1" != "x$as_lineno_2" &&
36298 test "x$as_lineno_3" = "x$as_lineno_2" || {
36299 # Find who we are. Look in the path if we contain no path at all
36300 # relative or not.
36301 case $0 in
36302 *[\\/]* ) as_myself=$0 ;;
36303 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36304 for as_dir in $PATH
36305 do
36306 IFS=$as_save_IFS
36307 test -z "$as_dir" && as_dir=.
36308 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36309 done
36310
36311 ;;
36312 esac
36313 # We did not find ourselves, most probably we were run as `sh COMMAND'
36314 # in which case we are not to be found in the path.
36315 if test "x$as_myself" = x; then
36316 as_myself=$0
36317 fi
36318 if test ! -f "$as_myself"; then
36319 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36320 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36321 { (exit 1); exit 1; }; }
36322 fi
36323 case $CONFIG_SHELL in
36324 '')
36325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36326 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36327 do
36328 IFS=$as_save_IFS
36329 test -z "$as_dir" && as_dir=.
36330 for as_base in sh bash ksh sh5; do
36331 case $as_dir in
36332 /*)
36333 if ("$as_dir/$as_base" -c '
36334 as_lineno_1=$LINENO
36335 as_lineno_2=$LINENO
36336 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36337 test "x$as_lineno_1" != "x$as_lineno_2" &&
36338 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36339 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36340 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36341 CONFIG_SHELL=$as_dir/$as_base
36342 export CONFIG_SHELL
36343 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36344 fi;;
36345 esac
36346 done
36347 done
36348 ;;
36349 esac
36350
36351 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36352 # uniformly replaced by the line number. The first 'sed' inserts a
36353 # line-number line before each line; the second 'sed' does the real
36354 # work. The second script uses 'N' to pair each line-number line
36355 # with the numbered line, and appends trailing '-' during
36356 # substitution so that $LINENO is not a special case at line end.
36357 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36358 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36359 sed '=' <$as_myself |
36360 sed '
36361 N
36362 s,$,-,
36363 : loop
36364 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36365 t loop
36366 s,-$,,
36367 s,^['$as_cr_digits']*\n,,
36368 ' >$as_me.lineno &&
36369 chmod +x $as_me.lineno ||
36370 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36371 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36372 { (exit 1); exit 1; }; }
36373
36374 # Don't try to exec as it changes $[0], causing all sort of problems
36375 # (the dirname of $[0] is not the place where we might find the
36376 # original and so on. Autoconf is especially sensible to this).
36377 . ./$as_me.lineno
36378 # Exit status is that of the last command.
36379 exit
36380 }
36381
36382
36383 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36384 *c*,-n*) ECHO_N= ECHO_C='
36385 ' ECHO_T=' ' ;;
36386 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36387 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36388 esac
36389
36390 if expr a : '\(a\)' >/dev/null 2>&1; then
36391 as_expr=expr
36392 else
36393 as_expr=false
36394 fi
36395
36396 rm -f conf$$ conf$$.exe conf$$.file
36397 echo >conf$$.file
36398 if ln -s conf$$.file conf$$ 2>/dev/null; then
36399 # We could just check for DJGPP; but this test a) works b) is more generic
36400 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36401 if test -f conf$$.exe; then
36402 # Don't use ln at all; we don't have any links
36403 as_ln_s='cp -p'
36404 else
36405 as_ln_s='ln -s'
36406 fi
36407 elif ln conf$$.file conf$$ 2>/dev/null; then
36408 as_ln_s=ln
36409 else
36410 as_ln_s='cp -p'
36411 fi
36412 rm -f conf$$ conf$$.exe conf$$.file
36413
36414 if mkdir -p . 2>/dev/null; then
36415 as_mkdir_p=:
36416 else
36417 as_mkdir_p=false
36418 fi
36419
36420 as_executable_p="test -f"
36421
36422 # Sed expression to map a string onto a valid CPP name.
36423 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36424
36425 # Sed expression to map a string onto a valid variable name.
36426 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36427
36428
36429 # IFS
36430 # We need space, tab and new line, in precisely that order.
36431 as_nl='
36432 '
36433 IFS=" $as_nl"
36434
36435 # CDPATH.
36436 $as_unset CDPATH
36437
36438 exec 6>&1
36439
36440 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36441 # report actual input values of CONFIG_FILES etc. instead of their
36442 # values after options handling. Logging --version etc. is OK.
36443 exec 5>>config.log
36444 {
36445 echo
36446 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36447 ## Running $as_me. ##
36448 _ASBOX
36449 } >&5
36450 cat >&5 <<_CSEOF
36451
36452 This file was extended by wxWindows $as_me 2.5.1, which was
36453 generated by GNU Autoconf 2.57. Invocation command line was
36454
36455 CONFIG_FILES = $CONFIG_FILES
36456 CONFIG_HEADERS = $CONFIG_HEADERS
36457 CONFIG_LINKS = $CONFIG_LINKS
36458 CONFIG_COMMANDS = $CONFIG_COMMANDS
36459 $ $0 $@
36460
36461 _CSEOF
36462 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36463 echo >&5
36464 _ACEOF
36465
36466 # Files that config.status was made for.
36467 if test -n "$ac_config_files"; then
36468 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36469 fi
36470
36471 if test -n "$ac_config_headers"; then
36472 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36473 fi
36474
36475 if test -n "$ac_config_links"; then
36476 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36477 fi
36478
36479 if test -n "$ac_config_commands"; then
36480 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36481 fi
36482
36483 cat >>$CONFIG_STATUS <<\_ACEOF
36484
36485 ac_cs_usage="\
36486 \`$as_me' instantiates files from templates according to the
36487 current configuration.
36488
36489 Usage: $0 [OPTIONS] [FILE]...
36490
36491 -h, --help print this help, then exit
36492 -V, --version print version number, then exit
36493 -q, --quiet do not print progress messages
36494 -d, --debug don't remove temporary files
36495 --recheck update $as_me by reconfiguring in the same conditions
36496 --file=FILE[:TEMPLATE]
36497 instantiate the configuration file FILE
36498 --header=FILE[:TEMPLATE]
36499 instantiate the configuration header FILE
36500
36501 Configuration files:
36502 $config_files
36503
36504 Configuration headers:
36505 $config_headers
36506
36507 Configuration commands:
36508 $config_commands
36509
36510 Report bugs to <bug-autoconf@gnu.org>."
36511 _ACEOF
36512
36513 cat >>$CONFIG_STATUS <<_ACEOF
36514 ac_cs_version="\\
36515 wxWindows config.status 2.5.1
36516 configured by $0, generated by GNU Autoconf 2.57,
36517 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36518
36519 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36520 Free Software Foundation, Inc.
36521 This config.status script is free software; the Free Software Foundation
36522 gives unlimited permission to copy, distribute and modify it."
36523 srcdir=$srcdir
36524 INSTALL="$INSTALL"
36525 _ACEOF
36526
36527 cat >>$CONFIG_STATUS <<\_ACEOF
36528 # If no file are specified by the user, then we need to provide default
36529 # value. By we need to know if files were specified by the user.
36530 ac_need_defaults=:
36531 while test $# != 0
36532 do
36533 case $1 in
36534 --*=*)
36535 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36536 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36537 ac_shift=:
36538 ;;
36539 -*)
36540 ac_option=$1
36541 ac_optarg=$2
36542 ac_shift=shift
36543 ;;
36544 *) # This is not an option, so the user has probably given explicit
36545 # arguments.
36546 ac_option=$1
36547 ac_need_defaults=false;;
36548 esac
36549
36550 case $ac_option in
36551 # Handling of the options.
36552 _ACEOF
36553 cat >>$CONFIG_STATUS <<\_ACEOF
36554 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36555 ac_cs_recheck=: ;;
36556 --version | --vers* | -V )
36557 echo "$ac_cs_version"; exit 0 ;;
36558 --he | --h)
36559 # Conflict between --help and --header
36560 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36561 Try \`$0 --help' for more information." >&5
36562 echo "$as_me: error: ambiguous option: $1
36563 Try \`$0 --help' for more information." >&2;}
36564 { (exit 1); exit 1; }; };;
36565 --help | --hel | -h )
36566 echo "$ac_cs_usage"; exit 0 ;;
36567 --debug | --d* | -d )
36568 debug=: ;;
36569 --file | --fil | --fi | --f )
36570 $ac_shift
36571 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36572 ac_need_defaults=false;;
36573 --header | --heade | --head | --hea )
36574 $ac_shift
36575 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36576 ac_need_defaults=false;;
36577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36578 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36579 ac_cs_silent=: ;;
36580
36581 # This is an error.
36582 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36583 Try \`$0 --help' for more information." >&5
36584 echo "$as_me: error: unrecognized option: $1
36585 Try \`$0 --help' for more information." >&2;}
36586 { (exit 1); exit 1; }; } ;;
36587
36588 *) ac_config_targets="$ac_config_targets $1" ;;
36589
36590 esac
36591 shift
36592 done
36593
36594 ac_configure_extra_args=
36595
36596 if $ac_cs_silent; then
36597 exec 6>/dev/null
36598 ac_configure_extra_args="$ac_configure_extra_args --silent"
36599 fi
36600
36601 _ACEOF
36602 cat >>$CONFIG_STATUS <<_ACEOF
36603 if \$ac_cs_recheck; then
36604 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36605 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36606 fi
36607
36608 _ACEOF
36609
36610 cat >>$CONFIG_STATUS <<_ACEOF
36611 #
36612 # INIT-COMMANDS section.
36613 #
36614
36615
36616 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36617 LN_S="${LN_S}"
36618
36619
36620
36621 _ACEOF
36622
36623
36624
36625 cat >>$CONFIG_STATUS <<\_ACEOF
36626 for ac_config_target in $ac_config_targets
36627 do
36628 case "$ac_config_target" in
36629 # Handling of arguments.
36630 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36631 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36632 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36633 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36634 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36635 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36637 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36638 { (exit 1); exit 1; }; };;
36639 esac
36640 done
36641
36642 # If the user did not use the arguments to specify the items to instantiate,
36643 # then the envvar interface is used. Set only those that are not.
36644 # We use the long form for the default assignment because of an extremely
36645 # bizarre bug on SunOS 4.1.3.
36646 if $ac_need_defaults; then
36647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36650 fi
36651
36652 # Have a temporary directory for convenience. Make it in the build tree
36653 # simply because there is no reason to put it here, and in addition,
36654 # creating and moving files from /tmp can sometimes cause problems.
36655 # Create a temporary directory, and hook for its removal unless debugging.
36656 $debug ||
36657 {
36658 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36659 trap '{ (exit 1); exit 1; }' 1 2 13 15
36660 }
36661
36662 # Create a (secure) tmp directory for tmp files.
36663
36664 {
36665 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36666 test -n "$tmp" && test -d "$tmp"
36667 } ||
36668 {
36669 tmp=./confstat$$-$RANDOM
36670 (umask 077 && mkdir $tmp)
36671 } ||
36672 {
36673 echo "$me: cannot create a temporary directory in ." >&2
36674 { (exit 1); exit 1; }
36675 }
36676
36677 _ACEOF
36678
36679 cat >>$CONFIG_STATUS <<_ACEOF
36680
36681 #
36682 # CONFIG_FILES section.
36683 #
36684
36685 # No need to generate the scripts if there are no CONFIG_FILES.
36686 # This happens for instance when ./config.status config.h
36687 if test -n "\$CONFIG_FILES"; then
36688 # Protect against being on the right side of a sed subst in config.status.
36689 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36690 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36691 s,@SHELL@,$SHELL,;t t
36692 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36693 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36694 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36695 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36696 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36697 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36698 s,@exec_prefix@,$exec_prefix,;t t
36699 s,@prefix@,$prefix,;t t
36700 s,@program_transform_name@,$program_transform_name,;t t
36701 s,@bindir@,$bindir,;t t
36702 s,@sbindir@,$sbindir,;t t
36703 s,@libexecdir@,$libexecdir,;t t
36704 s,@datadir@,$datadir,;t t
36705 s,@sysconfdir@,$sysconfdir,;t t
36706 s,@sharedstatedir@,$sharedstatedir,;t t
36707 s,@localstatedir@,$localstatedir,;t t
36708 s,@libdir@,$libdir,;t t
36709 s,@includedir@,$includedir,;t t
36710 s,@oldincludedir@,$oldincludedir,;t t
36711 s,@infodir@,$infodir,;t t
36712 s,@mandir@,$mandir,;t t
36713 s,@build_alias@,$build_alias,;t t
36714 s,@host_alias@,$host_alias,;t t
36715 s,@target_alias@,$target_alias,;t t
36716 s,@DEFS@,$DEFS,;t t
36717 s,@ECHO_C@,$ECHO_C,;t t
36718 s,@ECHO_N@,$ECHO_N,;t t
36719 s,@ECHO_T@,$ECHO_T,;t t
36720 s,@LIBS@,$LIBS,;t t
36721 s,@build@,$build,;t t
36722 s,@build_cpu@,$build_cpu,;t t
36723 s,@build_vendor@,$build_vendor,;t t
36724 s,@build_os@,$build_os,;t t
36725 s,@host@,$host,;t t
36726 s,@host_cpu@,$host_cpu,;t t
36727 s,@host_vendor@,$host_vendor,;t t
36728 s,@host_os@,$host_os,;t t
36729 s,@target@,$target,;t t
36730 s,@target_cpu@,$target_cpu,;t t
36731 s,@target_vendor@,$target_vendor,;t t
36732 s,@target_os@,$target_os,;t t
36733 s,@CC@,$CC,;t t
36734 s,@CFLAGS@,$CFLAGS,;t t
36735 s,@LDFLAGS@,$LDFLAGS,;t t
36736 s,@CPPFLAGS@,$CPPFLAGS,;t t
36737 s,@ac_ct_CC@,$ac_ct_CC,;t t
36738 s,@EXEEXT@,$EXEEXT,;t t
36739 s,@OBJEXT@,$OBJEXT,;t t
36740 s,@CPP@,$CPP,;t t
36741 s,@EGREP@,$EGREP,;t t
36742 s,@CXX@,$CXX,;t t
36743 s,@CXXFLAGS@,$CXXFLAGS,;t t
36744 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36745 s,@RANLIB@,$RANLIB,;t t
36746 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36747 s,@AR@,$AR,;t t
36748 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36749 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36750 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36751 s,@STRIP@,$STRIP,;t t
36752 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36753 s,@LN_S@,$LN_S,;t t
36754 s,@CXXCPP@,$CXXCPP,;t t
36755 s,@subdirs@,$subdirs,;t t
36756 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36757 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36758 s,@GTK_LIBS@,$GTK_LIBS,;t t
36759 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36760 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36761 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36762 s,@X_CFLAGS@,$X_CFLAGS,;t t
36763 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36764 s,@X_LIBS@,$X_LIBS,;t t
36765 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36766 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36767 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36768 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36769 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36770 s,@RESCOMP@,$RESCOMP,;t t
36771 s,@DEREZ@,$DEREZ,;t t
36772 s,@SETFILE@,$SETFILE,;t t
36773 s,@LIBICONV@,$LIBICONV,;t t
36774 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36775 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36776 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36777 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36778 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36779 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36780 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36781 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36782 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36783 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36784 s,@VENDOR@,$VENDOR,;t t
36785 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36786 s,@WXUNIV@,$WXUNIV,;t t
36787 s,@MONOLITHIC@,$MONOLITHIC,;t t
36788 s,@EXTRALIBS@,$EXTRALIBS,;t t
36789 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36790 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36791 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36792 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36793 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36794 s,@UNICODE@,$UNICODE,;t t
36795 s,@BUILD@,$BUILD,;t t
36796 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36797 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36798 s,@SHARED@,$SHARED,;t t
36799 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36800 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36801 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36802 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36803 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36804 s,@SET_MAKE@,$SET_MAKE,;t t
36805 s,@MAKE_SET@,$MAKE_SET,;t t
36806 s,@ac_ct_AR@,$ac_ct_AR,;t t
36807 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36808 s,@NM@,$NM,;t t
36809 s,@ac_ct_NM@,$ac_ct_NM,;t t
36810 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36811 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36812 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36813 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36814 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36815 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36816 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36817 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36818 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36819 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36820 s,@LIBPREFIX@,$LIBPREFIX,;t t
36821 s,@DLLPREFIX@,$DLLPREFIX,;t t
36822 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36823 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36824 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36825 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36826 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36827 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36828 s,@PIC_FLAG@,$PIC_FLAG,;t t
36829 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36830 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36831 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36832 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36833 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36834 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36835 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36836 s,@GCC_PCH@,$GCC_PCH,;t t
36837 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36838 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36839 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36840 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36841 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36842 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36843 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36844 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36845 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36846 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36847 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36848 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36849 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36850 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36851 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
36852 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36853 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36854 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36855 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36856 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
36857 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36858 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36859 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36860 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36861 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36862 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36863 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36864 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36865 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36866 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36867 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36868 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36869 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36870 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36871 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36872 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36873 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36874 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36875 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36876 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36877 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36878 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36879 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36880 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36881 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36882 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36883 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36884 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36885 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36886 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36887 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36888 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36889 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36890 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36891 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36892 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36893 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36894 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36895 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36896 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36897 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36898 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36899 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36900 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36901 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36902 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36903 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36904 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36905 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36906 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36907 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36908 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36909 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36910 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36911 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36912 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36913 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36914 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36915 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36916 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36917 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36918 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36919 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36920 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36921 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36922 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36923 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36924 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36925 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36926 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36927 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36928 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36929 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36930 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36931 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36932 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36933 s,@PATH_IFS@,$PATH_IFS,;t t
36934 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36935 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36936 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36937 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36938 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36939 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36940 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36941 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36942 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36943 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36944 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36945 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36946 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36947 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36948 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36949 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36950 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36951 s,@WX_ALL@,$WX_ALL,;t t
36952 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36953 s,@SHARED_LD@,$SHARED_LD,;t t
36954 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36955 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36956 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36957 s,@USE_GUI@,$USE_GUI,;t t
36958 s,@AFMINSTALL@,$AFMINSTALL,;t t
36959 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36960 s,@TOOLKIT@,$TOOLKIT,;t t
36961 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36962 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36963 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36964 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36965 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36966 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36967 s,@cross_compiling@,$cross_compiling,;t t
36968 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36969 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36970 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36971 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36972 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36973 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36974 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36975 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36976 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36977 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36978 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36979 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36980 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36981 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36982 s,@GUIDIST@,$GUIDIST,;t t
36983 s,@PORT_FILES@,$PORT_FILES,;t t
36984 s,@DISTDIR@,$DISTDIR,;t t
36985 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36986 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36987 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36988 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36989 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36990 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36991 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36992 s,@RESFLAGS@,$RESFLAGS,;t t
36993 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36994 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36995 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36996 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36997 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36998 s,@MACRESCOMP@,$MACRESCOMP,;t t
36999 s,@MACSETFILE@,$MACSETFILE,;t t
37000 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37001 s,@GCC@,$GCC,;t t
37002 s,@DLLTOOL@,$DLLTOOL,;t t
37003 s,@AS@,$AS,;t t
37004 s,@LD@,$LD,;t t
37005 s,@MAKEINFO@,$MAKEINFO,;t t
37006 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37007 s,@LIBOBJS@,$LIBOBJS,;t t
37008 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37009 CEOF
37010
37011 _ACEOF
37012
37013 cat >>$CONFIG_STATUS <<\_ACEOF
37014 # Split the substitutions into bite-sized pieces for seds with
37015 # small command number limits, like on Digital OSF/1 and HP-UX.
37016 ac_max_sed_lines=48
37017 ac_sed_frag=1 # Number of current file.
37018 ac_beg=1 # First line for current file.
37019 ac_end=$ac_max_sed_lines # Line after last line for current file.
37020 ac_more_lines=:
37021 ac_sed_cmds=
37022 while $ac_more_lines; do
37023 if test $ac_beg -gt 1; then
37024 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37025 else
37026 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37027 fi
37028 if test ! -s $tmp/subs.frag; then
37029 ac_more_lines=false
37030 else
37031 # The purpose of the label and of the branching condition is to
37032 # speed up the sed processing (if there are no `@' at all, there
37033 # is no need to browse any of the substitutions).
37034 # These are the two extra sed commands mentioned above.
37035 (echo ':t
37036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37037 if test -z "$ac_sed_cmds"; then
37038 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37039 else
37040 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37041 fi
37042 ac_sed_frag=`expr $ac_sed_frag + 1`
37043 ac_beg=$ac_end
37044 ac_end=`expr $ac_end + $ac_max_sed_lines`
37045 fi
37046 done
37047 if test -z "$ac_sed_cmds"; then
37048 ac_sed_cmds=cat
37049 fi
37050 fi # test -n "$CONFIG_FILES"
37051
37052 _ACEOF
37053 cat >>$CONFIG_STATUS <<\_ACEOF
37054 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37055 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37056 case $ac_file in
37057 - | *:- | *:-:* ) # input from stdin
37058 cat >$tmp/stdin
37059 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37060 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37061 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37062 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37063 * ) ac_file_in=$ac_file.in ;;
37064 esac
37065
37066 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37067 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37069 X"$ac_file" : 'X\(//\)[^/]' \| \
37070 X"$ac_file" : 'X\(//\)$' \| \
37071 X"$ac_file" : 'X\(/\)' \| \
37072 . : '\(.\)' 2>/dev/null ||
37073 echo X"$ac_file" |
37074 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37075 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37076 /^X\(\/\/\)$/{ s//\1/; q; }
37077 /^X\(\/\).*/{ s//\1/; q; }
37078 s/.*/./; q'`
37079 { if $as_mkdir_p; then
37080 mkdir -p "$ac_dir"
37081 else
37082 as_dir="$ac_dir"
37083 as_dirs=
37084 while test ! -d "$as_dir"; do
37085 as_dirs="$as_dir $as_dirs"
37086 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37088 X"$as_dir" : 'X\(//\)[^/]' \| \
37089 X"$as_dir" : 'X\(//\)$' \| \
37090 X"$as_dir" : 'X\(/\)' \| \
37091 . : '\(.\)' 2>/dev/null ||
37092 echo X"$as_dir" |
37093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37094 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37095 /^X\(\/\/\)$/{ s//\1/; q; }
37096 /^X\(\/\).*/{ s//\1/; q; }
37097 s/.*/./; q'`
37098 done
37099 test ! -n "$as_dirs" || mkdir $as_dirs
37100 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37101 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37102 { (exit 1); exit 1; }; }; }
37103
37104 ac_builddir=.
37105
37106 if test "$ac_dir" != .; then
37107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37108 # A "../" for each directory in $ac_dir_suffix.
37109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37110 else
37111 ac_dir_suffix= ac_top_builddir=
37112 fi
37113
37114 case $srcdir in
37115 .) # No --srcdir option. We are building in place.
37116 ac_srcdir=.
37117 if test -z "$ac_top_builddir"; then
37118 ac_top_srcdir=.
37119 else
37120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37121 fi ;;
37122 [\\/]* | ?:[\\/]* ) # Absolute path.
37123 ac_srcdir=$srcdir$ac_dir_suffix;
37124 ac_top_srcdir=$srcdir ;;
37125 *) # Relative path.
37126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37128 esac
37129 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37130 # absolute.
37131 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37132 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37133 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37134 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37135
37136
37137 case $INSTALL in
37138 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37139 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37140 esac
37141
37142 if test x"$ac_file" != x-; then
37143 { echo "$as_me:$LINENO: creating $ac_file" >&5
37144 echo "$as_me: creating $ac_file" >&6;}
37145 rm -f "$ac_file"
37146 fi
37147 # Let's still pretend it is `configure' which instantiates (i.e., don't
37148 # use $as_me), people would be surprised to read:
37149 # /* config.h. Generated by config.status. */
37150 if test x"$ac_file" = x-; then
37151 configure_input=
37152 else
37153 configure_input="$ac_file. "
37154 fi
37155 configure_input=$configure_input"Generated from `echo $ac_file_in |
37156 sed 's,.*/,,'` by configure."
37157
37158 # First look for the input files in the build tree, otherwise in the
37159 # src tree.
37160 ac_file_inputs=`IFS=:
37161 for f in $ac_file_in; do
37162 case $f in
37163 -) echo $tmp/stdin ;;
37164 [\\/$]*)
37165 # Absolute (can't be DOS-style, as IFS=:)
37166 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37167 echo "$as_me: error: cannot find input file: $f" >&2;}
37168 { (exit 1); exit 1; }; }
37169 echo $f;;
37170 *) # Relative
37171 if test -f "$f"; then
37172 # Build tree
37173 echo $f
37174 elif test -f "$srcdir/$f"; then
37175 # Source tree
37176 echo $srcdir/$f
37177 else
37178 # /dev/null tree
37179 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37180 echo "$as_me: error: cannot find input file: $f" >&2;}
37181 { (exit 1); exit 1; }; }
37182 fi;;
37183 esac
37184 done` || { (exit 1); exit 1; }
37185 _ACEOF
37186 cat >>$CONFIG_STATUS <<_ACEOF
37187 sed "$ac_vpsub
37188 $extrasub
37189 _ACEOF
37190 cat >>$CONFIG_STATUS <<\_ACEOF
37191 :t
37192 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37193 s,@configure_input@,$configure_input,;t t
37194 s,@srcdir@,$ac_srcdir,;t t
37195 s,@abs_srcdir@,$ac_abs_srcdir,;t t
37196 s,@top_srcdir@,$ac_top_srcdir,;t t
37197 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37198 s,@builddir@,$ac_builddir,;t t
37199 s,@abs_builddir@,$ac_abs_builddir,;t t
37200 s,@top_builddir@,$ac_top_builddir,;t t
37201 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37202 s,@INSTALL@,$ac_INSTALL,;t t
37203 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37204 rm -f $tmp/stdin
37205 if test x"$ac_file" != x-; then
37206 mv $tmp/out $ac_file
37207 else
37208 cat $tmp/out
37209 rm -f $tmp/out
37210 fi
37211
37212 done
37213 _ACEOF
37214 cat >>$CONFIG_STATUS <<\_ACEOF
37215
37216 #
37217 # CONFIG_HEADER section.
37218 #
37219
37220 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37221 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37222 #
37223 # ac_d sets the value in "#define NAME VALUE" lines.
37224 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37225 ac_dB='[ ].*$,\1#\2'
37226 ac_dC=' '
37227 ac_dD=',;t'
37228 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37229 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37230 ac_uB='$,\1#\2define\3'
37231 ac_uC=' '
37232 ac_uD=',;t'
37233
37234 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37236 case $ac_file in
37237 - | *:- | *:-:* ) # input from stdin
37238 cat >$tmp/stdin
37239 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37240 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37241 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37242 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37243 * ) ac_file_in=$ac_file.in ;;
37244 esac
37245
37246 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37247 echo "$as_me: creating $ac_file" >&6;}
37248
37249 # First look for the input files in the build tree, otherwise in the
37250 # src tree.
37251 ac_file_inputs=`IFS=:
37252 for f in $ac_file_in; do
37253 case $f in
37254 -) echo $tmp/stdin ;;
37255 [\\/$]*)
37256 # Absolute (can't be DOS-style, as IFS=:)
37257 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37258 echo "$as_me: error: cannot find input file: $f" >&2;}
37259 { (exit 1); exit 1; }; }
37260 echo $f;;
37261 *) # Relative
37262 if test -f "$f"; then
37263 # Build tree
37264 echo $f
37265 elif test -f "$srcdir/$f"; then
37266 # Source tree
37267 echo $srcdir/$f
37268 else
37269 # /dev/null tree
37270 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37271 echo "$as_me: error: cannot find input file: $f" >&2;}
37272 { (exit 1); exit 1; }; }
37273 fi;;
37274 esac
37275 done` || { (exit 1); exit 1; }
37276 # Remove the trailing spaces.
37277 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37278
37279 _ACEOF
37280
37281 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37282 # `conftest.undefs', that substitutes the proper values into
37283 # config.h.in to produce config.h. The first handles `#define'
37284 # templates, and the second `#undef' templates.
37285 # And first: Protect against being on the right side of a sed subst in
37286 # config.status. Protect against being in an unquoted here document
37287 # in config.status.
37288 rm -f conftest.defines conftest.undefs
37289 # Using a here document instead of a string reduces the quoting nightmare.
37290 # Putting comments in sed scripts is not portable.
37291 #
37292 # `end' is used to avoid that the second main sed command (meant for
37293 # 0-ary CPP macros) applies to n-ary macro definitions.
37294 # See the Autoconf documentation for `clear'.
37295 cat >confdef2sed.sed <<\_ACEOF
37296 s/[\\&,]/\\&/g
37297 s,[\\$`],\\&,g
37298 t clear
37299 : clear
37300 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37301 t end
37302 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37303 : end
37304 _ACEOF
37305 # If some macros were called several times there might be several times
37306 # the same #defines, which is useless. Nevertheless, we may not want to
37307 # sort them, since we want the *last* AC-DEFINE to be honored.
37308 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37309 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37310 rm -f confdef2sed.sed
37311
37312 # This sed command replaces #undef with comments. This is necessary, for
37313 # example, in the case of _POSIX_SOURCE, which is predefined and required
37314 # on some systems where configure will not decide to define it.
37315 cat >>conftest.undefs <<\_ACEOF
37316 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37317 _ACEOF
37318
37319 # Break up conftest.defines because some shells have a limit on the size
37320 # of here documents, and old seds have small limits too (100 cmds).
37321 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37322 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37323 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37324 echo ' :' >>$CONFIG_STATUS
37325 rm -f conftest.tail
37326 while grep . conftest.defines >/dev/null
37327 do
37328 # Write a limited-size here document to $tmp/defines.sed.
37329 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37330 # Speed up: don't consider the non `#define' lines.
37331 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37332 # Work around the forget-to-reset-the-flag bug.
37333 echo 't clr' >>$CONFIG_STATUS
37334 echo ': clr' >>$CONFIG_STATUS
37335 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37336 echo 'CEOF
37337 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37338 rm -f $tmp/in
37339 mv $tmp/out $tmp/in
37340 ' >>$CONFIG_STATUS
37341 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37342 rm -f conftest.defines
37343 mv conftest.tail conftest.defines
37344 done
37345 rm -f conftest.defines
37346 echo ' fi # grep' >>$CONFIG_STATUS
37347 echo >>$CONFIG_STATUS
37348
37349 # Break up conftest.undefs because some shells have a limit on the size
37350 # of here documents, and old seds have small limits too (100 cmds).
37351 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37352 rm -f conftest.tail
37353 while grep . conftest.undefs >/dev/null
37354 do
37355 # Write a limited-size here document to $tmp/undefs.sed.
37356 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37357 # Speed up: don't consider the non `#undef'
37358 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37359 # Work around the forget-to-reset-the-flag bug.
37360 echo 't clr' >>$CONFIG_STATUS
37361 echo ': clr' >>$CONFIG_STATUS
37362 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37363 echo 'CEOF
37364 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37365 rm -f $tmp/in
37366 mv $tmp/out $tmp/in
37367 ' >>$CONFIG_STATUS
37368 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37369 rm -f conftest.undefs
37370 mv conftest.tail conftest.undefs
37371 done
37372 rm -f conftest.undefs
37373
37374 cat >>$CONFIG_STATUS <<\_ACEOF
37375 # Let's still pretend it is `configure' which instantiates (i.e., don't
37376 # use $as_me), people would be surprised to read:
37377 # /* config.h. Generated by config.status. */
37378 if test x"$ac_file" = x-; then
37379 echo "/* Generated by configure. */" >$tmp/config.h
37380 else
37381 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37382 fi
37383 cat $tmp/in >>$tmp/config.h
37384 rm -f $tmp/in
37385 if test x"$ac_file" != x-; then
37386 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37387 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37388 echo "$as_me: $ac_file is unchanged" >&6;}
37389 else
37390 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37392 X"$ac_file" : 'X\(//\)[^/]' \| \
37393 X"$ac_file" : 'X\(//\)$' \| \
37394 X"$ac_file" : 'X\(/\)' \| \
37395 . : '\(.\)' 2>/dev/null ||
37396 echo X"$ac_file" |
37397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37399 /^X\(\/\/\)$/{ s//\1/; q; }
37400 /^X\(\/\).*/{ s//\1/; q; }
37401 s/.*/./; q'`
37402 { if $as_mkdir_p; then
37403 mkdir -p "$ac_dir"
37404 else
37405 as_dir="$ac_dir"
37406 as_dirs=
37407 while test ! -d "$as_dir"; do
37408 as_dirs="$as_dir $as_dirs"
37409 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37411 X"$as_dir" : 'X\(//\)[^/]' \| \
37412 X"$as_dir" : 'X\(//\)$' \| \
37413 X"$as_dir" : 'X\(/\)' \| \
37414 . : '\(.\)' 2>/dev/null ||
37415 echo X"$as_dir" |
37416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37418 /^X\(\/\/\)$/{ s//\1/; q; }
37419 /^X\(\/\).*/{ s//\1/; q; }
37420 s/.*/./; q'`
37421 done
37422 test ! -n "$as_dirs" || mkdir $as_dirs
37423 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37425 { (exit 1); exit 1; }; }; }
37426
37427 rm -f $ac_file
37428 mv $tmp/config.h $ac_file
37429 fi
37430 else
37431 cat $tmp/config.h
37432 rm -f $tmp/config.h
37433 fi
37434 done
37435 _ACEOF
37436 cat >>$CONFIG_STATUS <<\_ACEOF
37437
37438 #
37439 # CONFIG_COMMANDS section.
37440 #
37441 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37442 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37443 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37444 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37445 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37446 X"$ac_dest" : 'X\(//\)[^/]' \| \
37447 X"$ac_dest" : 'X\(//\)$' \| \
37448 X"$ac_dest" : 'X\(/\)' \| \
37449 . : '\(.\)' 2>/dev/null ||
37450 echo X"$ac_dest" |
37451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37453 /^X\(\/\/\)$/{ s//\1/; q; }
37454 /^X\(\/\).*/{ s//\1/; q; }
37455 s/.*/./; q'`
37456 ac_builddir=.
37457
37458 if test "$ac_dir" != .; then
37459 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37460 # A "../" for each directory in $ac_dir_suffix.
37461 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37462 else
37463 ac_dir_suffix= ac_top_builddir=
37464 fi
37465
37466 case $srcdir in
37467 .) # No --srcdir option. We are building in place.
37468 ac_srcdir=.
37469 if test -z "$ac_top_builddir"; then
37470 ac_top_srcdir=.
37471 else
37472 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37473 fi ;;
37474 [\\/]* | ?:[\\/]* ) # Absolute path.
37475 ac_srcdir=$srcdir$ac_dir_suffix;
37476 ac_top_srcdir=$srcdir ;;
37477 *) # Relative path.
37478 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37479 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37480 esac
37481 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37482 # absolute.
37483 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37484 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37485 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37486 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37487
37488
37489 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37490 echo "$as_me: executing $ac_dest commands" >&6;}
37491 case $ac_dest in
37492 default )
37493 if test ! -h wx-config; then
37494 chmod +x wx-config
37495 mv wx-config wx${TOOLCHAIN_NAME}-config
37496 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37497 fi
37498
37499 if test ! -d lib; then
37500 mkdir lib
37501 fi
37502 if test ! -d lib/wx; then
37503 mkdir lib/wx
37504 fi
37505 if test ! -d lib/wx/include; then
37506 mkdir lib/wx/include
37507 fi
37508 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37509 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37510 fi
37511 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37512 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37513 fi
37514 if test -f setup.h; then
37515 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37516 fi
37517 ;;
37518 esac
37519 done
37520 _ACEOF
37521
37522 cat >>$CONFIG_STATUS <<\_ACEOF
37523
37524 { (exit 0); exit 0; }
37525 _ACEOF
37526 chmod +x $CONFIG_STATUS
37527 ac_clean_files=$ac_clean_files_save
37528
37529
37530 # configure is writing to config.log, and then calls config.status.
37531 # config.status does its own redirection, appending to config.log.
37532 # Unfortunately, on DOS this fails, as config.log is still kept open
37533 # by configure, so config.status won't be able to write to it; its
37534 # output is simply discarded. So we exec the FD to /dev/null,
37535 # effectively closing config.log, so it can be properly (re)opened and
37536 # appended to by config.status. When coming back to configure, we
37537 # need to make the FD available again.
37538 if test "$no_create" != yes; then
37539 ac_cs_success=:
37540 ac_config_status_args=
37541 test "$silent" = yes &&
37542 ac_config_status_args="$ac_config_status_args --quiet"
37543 exec 5>/dev/null
37544 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37545 exec 5>>config.log
37546 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37547 # would make configure fail if this is the last instruction.
37548 $ac_cs_success || { (exit 1); exit 1; }
37549 fi
37550
37551 #
37552 # CONFIG_SUBDIRS section.
37553 #
37554 if test "$no_recursion" != yes; then
37555
37556 # Remove --cache-file and --srcdir arguments so they do not pile up.
37557 ac_sub_configure_args=
37558 ac_prev=
37559 for ac_arg in $ac_configure_args; do
37560 if test -n "$ac_prev"; then
37561 ac_prev=
37562 continue
37563 fi
37564 case $ac_arg in
37565 -cache-file | --cache-file | --cache-fil | --cache-fi \
37566 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37567 ac_prev=cache_file ;;
37568 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37569 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37570 | --c=*)
37571 ;;
37572 --config-cache | -C)
37573 ;;
37574 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37575 ac_prev=srcdir ;;
37576 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37577 ;;
37578 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37579 ac_prev=prefix ;;
37580 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37581 ;;
37582 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37583 esac
37584 done
37585
37586 # Always prepend --prefix to ensure using the same prefix
37587 # in subdir configurations.
37588 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37589
37590 ac_popdir=`pwd`
37591 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37592
37593 # Do not complain, so a configure script can configure whichever
37594 # parts of a large source tree are present.
37595 test -d $srcdir/$ac_dir || continue
37596
37597 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37598 echo "$as_me: configuring in $ac_dir" >&6;}
37599 { if $as_mkdir_p; then
37600 mkdir -p "$ac_dir"
37601 else
37602 as_dir="$ac_dir"
37603 as_dirs=
37604 while test ! -d "$as_dir"; do
37605 as_dirs="$as_dir $as_dirs"
37606 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37607 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37608 X"$as_dir" : 'X\(//\)[^/]' \| \
37609 X"$as_dir" : 'X\(//\)$' \| \
37610 X"$as_dir" : 'X\(/\)' \| \
37611 . : '\(.\)' 2>/dev/null ||
37612 echo X"$as_dir" |
37613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37614 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37615 /^X\(\/\/\)$/{ s//\1/; q; }
37616 /^X\(\/\).*/{ s//\1/; q; }
37617 s/.*/./; q'`
37618 done
37619 test ! -n "$as_dirs" || mkdir $as_dirs
37620 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37621 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37622 { (exit 1); exit 1; }; }; }
37623
37624 ac_builddir=.
37625
37626 if test "$ac_dir" != .; then
37627 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37628 # A "../" for each directory in $ac_dir_suffix.
37629 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37630 else
37631 ac_dir_suffix= ac_top_builddir=
37632 fi
37633
37634 case $srcdir in
37635 .) # No --srcdir option. We are building in place.
37636 ac_srcdir=.
37637 if test -z "$ac_top_builddir"; then
37638 ac_top_srcdir=.
37639 else
37640 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37641 fi ;;
37642 [\\/]* | ?:[\\/]* ) # Absolute path.
37643 ac_srcdir=$srcdir$ac_dir_suffix;
37644 ac_top_srcdir=$srcdir ;;
37645 *) # Relative path.
37646 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37647 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37648 esac
37649 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37650 # absolute.
37651 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37652 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37653 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37654 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37655
37656
37657 cd $ac_dir
37658
37659 # Check for guested configure; otherwise get Cygnus style configure.
37660 if test -f $ac_srcdir/configure.gnu; then
37661 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37662 elif test -f $ac_srcdir/configure; then
37663 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37664 elif test -f $ac_srcdir/configure.in; then
37665 ac_sub_configure=$ac_configure
37666 else
37667 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37668 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37669 ac_sub_configure=
37670 fi
37671
37672 # The recursion is here.
37673 if test -n "$ac_sub_configure"; then
37674 # Make the cache file name correct relative to the subdirectory.
37675 case $cache_file in
37676 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37677 *) # Relative path.
37678 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37679 esac
37680
37681 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37682 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37683 # The eval makes quoting arguments work.
37684 eval $ac_sub_configure $ac_sub_configure_args \
37685 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37686 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37687 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37688 { (exit 1); exit 1; }; }
37689 fi
37690
37691 cd $ac_popdir
37692 done
37693 fi
37694
37695
37696 echo
37697 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37698 echo ""
37699 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37700 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37701
37702 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37703 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37704 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37705
37706 echo " What level of wxWindows compatibility should be enabled?"
37707 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37708 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37709
37710 echo " Which libraries should wxWindows use?"
37711 echo " jpeg ${wxUSE_LIBJPEG-none}"
37712 echo " png ${wxUSE_LIBPNG-none}"
37713 echo " regex ${wxUSE_REGEX}"
37714 echo " tiff ${wxUSE_LIBTIFF-none}"
37715 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37716 echo " xpm ${wxUSE_LIBXPM-none}"
37717 fi
37718 echo " zlib ${wxUSE_ZLIB}"
37719 echo " odbc ${wxUSE_ODBC}"
37720 echo " expat ${wxUSE_EXPAT}"
37721 echo " libmspack ${wxUSE_LIBMSPACK}"
37722
37723 echo ""
37724