]> git.saurik.com Git - wxWidgets.git/blob - configure
1. fixed --with-libxpm switch handling, added it to the summary
[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=sys
2183 DEFAULT_wxUSE_XML=yes
2184 DEFAULT_wxUSE_EXPAT=sys
2185 DEFAULT_wxUSE_ZLIB=sys
2186 DEFAULT_wxUSE_LIBPNG=sys
2187 DEFAULT_wxUSE_LIBJPEG=sys
2188 DEFAULT_wxUSE_LIBTIFF=sys
2189 DEFAULT_wxUSE_LIBXPM=sys
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 'extern "C" void std::exit (int) throw (); using std::exit;' \
10693 'extern "C" void std::exit (int); using std::exit;' \
10694 'extern "C" void exit (int) throw ();' \
10695 'extern "C" void exit (int);' \
10696 'void exit (int);'
10697 do
10698 cat >conftest.$ac_ext <<_ACEOF
10699 #line $LINENO "configure"
10700 /* confdefs.h. */
10701 _ACEOF
10702 cat confdefs.h >>conftest.$ac_ext
10703 cat >>conftest.$ac_ext <<_ACEOF
10704 /* end confdefs.h. */
10705 $ac_declaration
10706 #include <stdlib.h>
10707 int
10708 main ()
10709 {
10710 exit (42);
10711 ;
10712 return 0;
10713 }
10714 _ACEOF
10715 rm -f conftest.$ac_objext
10716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10717 (eval $ac_compile) 2>&5
10718 ac_status=$?
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); } &&
10721 { ac_try='test -s conftest.$ac_objext'
10722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10723 (eval $ac_try) 2>&5
10724 ac_status=$?
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }; }; then
10727 :
10728 else
10729 echo "$as_me: failed program was:" >&5
10730 sed 's/^/| /' conftest.$ac_ext >&5
10731
10732 continue
10733 fi
10734 rm -f conftest.$ac_objext conftest.$ac_ext
10735 cat >conftest.$ac_ext <<_ACEOF
10736 #line $LINENO "configure"
10737 /* confdefs.h. */
10738 _ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 $ac_declaration
10743 int
10744 main ()
10745 {
10746 exit (42);
10747 ;
10748 return 0;
10749 }
10750 _ACEOF
10751 rm -f conftest.$ac_objext
10752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10753 (eval $ac_compile) 2>&5
10754 ac_status=$?
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try='test -s conftest.$ac_objext'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10760 ac_status=$?
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; }; then
10763 break
10764 else
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10767
10768 fi
10769 rm -f conftest.$ac_objext conftest.$ac_ext
10770 done
10771 rm -f conftest*
10772 if test -n "$ac_declaration"; then
10773 echo '#ifdef __cplusplus' >>confdefs.h
10774 echo $ac_declaration >>confdefs.h
10775 echo '#endif' >>confdefs.h
10776 fi
10777
10778 else
10779 echo "$as_me: failed program was:" >&5
10780 sed 's/^/| /' conftest.$ac_ext >&5
10781
10782 fi
10783 rm -f conftest.$ac_objext conftest.$ac_ext
10784 ac_ext=c
10785 ac_cpp='$CPP $CPPFLAGS'
10786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10789
10790
10791
10792 ac_ext=c
10793 ac_cpp='$CPP $CPPFLAGS'
10794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10797 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10798 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10799 # On Suns, sometimes $CPP names a directory.
10800 if test -n "$CPP" && test -d "$CPP"; then
10801 CPP=
10802 fi
10803 if test -z "$CPP"; then
10804 if test "${ac_cv_prog_CPP+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10806 else
10807 # Double quotes because CPP needs to be expanded
10808 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10809 do
10810 ac_preproc_ok=false
10811 for ac_c_preproc_warn_flag in '' yes
10812 do
10813 # Use a header file that comes with gcc, so configuring glibc
10814 # with a fresh cross-compiler works.
10815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10816 # <limits.h> exists even on freestanding compilers.
10817 # On the NeXT, cc -E runs the code through the compiler's parser,
10818 # not just through cpp. "Syntax error" is here to catch this case.
10819 cat >conftest.$ac_ext <<_ACEOF
10820 #line $LINENO "configure"
10821 /* confdefs.h. */
10822 _ACEOF
10823 cat confdefs.h >>conftest.$ac_ext
10824 cat >>conftest.$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10826 #ifdef __STDC__
10827 # include <limits.h>
10828 #else
10829 # include <assert.h>
10830 #endif
10831 Syntax error
10832 _ACEOF
10833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10835 ac_status=$?
10836 grep -v '^ *+' conftest.er1 >conftest.err
10837 rm -f conftest.er1
10838 cat conftest.err >&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); } >/dev/null; then
10841 if test -s conftest.err; then
10842 ac_cpp_err=$ac_c_preproc_warn_flag
10843 else
10844 ac_cpp_err=
10845 fi
10846 else
10847 ac_cpp_err=yes
10848 fi
10849 if test -z "$ac_cpp_err"; then
10850 :
10851 else
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10854
10855 # Broken: fails on valid input.
10856 continue
10857 fi
10858 rm -f conftest.err conftest.$ac_ext
10859
10860 # OK, works on sane cases. Now check whether non-existent headers
10861 # can be detected and how.
10862 cat >conftest.$ac_ext <<_ACEOF
10863 #line $LINENO "configure"
10864 /* confdefs.h. */
10865 _ACEOF
10866 cat confdefs.h >>conftest.$ac_ext
10867 cat >>conftest.$ac_ext <<_ACEOF
10868 /* end confdefs.h. */
10869 #include <ac_nonexistent.h>
10870 _ACEOF
10871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10873 ac_status=$?
10874 grep -v '^ *+' conftest.er1 >conftest.err
10875 rm -f conftest.er1
10876 cat conftest.err >&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); } >/dev/null; then
10879 if test -s conftest.err; then
10880 ac_cpp_err=$ac_c_preproc_warn_flag
10881 else
10882 ac_cpp_err=
10883 fi
10884 else
10885 ac_cpp_err=yes
10886 fi
10887 if test -z "$ac_cpp_err"; then
10888 # Broken: success on invalid input.
10889 continue
10890 else
10891 echo "$as_me: failed program was:" >&5
10892 sed 's/^/| /' conftest.$ac_ext >&5
10893
10894 # Passes both tests.
10895 ac_preproc_ok=:
10896 break
10897 fi
10898 rm -f conftest.err conftest.$ac_ext
10899
10900 done
10901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10902 rm -f conftest.err conftest.$ac_ext
10903 if $ac_preproc_ok; then
10904 break
10905 fi
10906
10907 done
10908 ac_cv_prog_CPP=$CPP
10909
10910 fi
10911 CPP=$ac_cv_prog_CPP
10912 else
10913 ac_cv_prog_CPP=$CPP
10914 fi
10915 echo "$as_me:$LINENO: result: $CPP" >&5
10916 echo "${ECHO_T}$CPP" >&6
10917 ac_preproc_ok=false
10918 for ac_c_preproc_warn_flag in '' yes
10919 do
10920 # Use a header file that comes with gcc, so configuring glibc
10921 # with a fresh cross-compiler works.
10922 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10923 # <limits.h> exists even on freestanding compilers.
10924 # On the NeXT, cc -E runs the code through the compiler's parser,
10925 # not just through cpp. "Syntax error" is here to catch this case.
10926 cat >conftest.$ac_ext <<_ACEOF
10927 #line $LINENO "configure"
10928 /* confdefs.h. */
10929 _ACEOF
10930 cat confdefs.h >>conftest.$ac_ext
10931 cat >>conftest.$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10933 #ifdef __STDC__
10934 # include <limits.h>
10935 #else
10936 # include <assert.h>
10937 #endif
10938 Syntax error
10939 _ACEOF
10940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10942 ac_status=$?
10943 grep -v '^ *+' conftest.er1 >conftest.err
10944 rm -f conftest.er1
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } >/dev/null; then
10948 if test -s conftest.err; then
10949 ac_cpp_err=$ac_c_preproc_warn_flag
10950 else
10951 ac_cpp_err=
10952 fi
10953 else
10954 ac_cpp_err=yes
10955 fi
10956 if test -z "$ac_cpp_err"; then
10957 :
10958 else
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10961
10962 # Broken: fails on valid input.
10963 continue
10964 fi
10965 rm -f conftest.err conftest.$ac_ext
10966
10967 # OK, works on sane cases. Now check whether non-existent headers
10968 # can be detected and how.
10969 cat >conftest.$ac_ext <<_ACEOF
10970 #line $LINENO "configure"
10971 /* confdefs.h. */
10972 _ACEOF
10973 cat confdefs.h >>conftest.$ac_ext
10974 cat >>conftest.$ac_ext <<_ACEOF
10975 /* end confdefs.h. */
10976 #include <ac_nonexistent.h>
10977 _ACEOF
10978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10980 ac_status=$?
10981 grep -v '^ *+' conftest.er1 >conftest.err
10982 rm -f conftest.er1
10983 cat conftest.err >&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); } >/dev/null; then
10986 if test -s conftest.err; then
10987 ac_cpp_err=$ac_c_preproc_warn_flag
10988 else
10989 ac_cpp_err=
10990 fi
10991 else
10992 ac_cpp_err=yes
10993 fi
10994 if test -z "$ac_cpp_err"; then
10995 # Broken: success on invalid input.
10996 continue
10997 else
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11000
11001 # Passes both tests.
11002 ac_preproc_ok=:
11003 break
11004 fi
11005 rm -f conftest.err conftest.$ac_ext
11006
11007 done
11008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11009 rm -f conftest.err conftest.$ac_ext
11010 if $ac_preproc_ok; then
11011 :
11012 else
11013 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11014 See \`config.log' for more details." >&5
11015 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11016 See \`config.log' for more details." >&2;}
11017 { (exit 1); exit 1; }; }
11018 fi
11019
11020 ac_ext=c
11021 ac_cpp='$CPP $CPPFLAGS'
11022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11025
11026
11027 echo "$as_me:$LINENO: checking for egrep" >&5
11028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11029 if test "${ac_cv_prog_egrep+set}" = set; then
11030 echo $ECHO_N "(cached) $ECHO_C" >&6
11031 else
11032 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11033 then ac_cv_prog_egrep='grep -E'
11034 else ac_cv_prog_egrep='egrep'
11035 fi
11036 fi
11037 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11038 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11039 EGREP=$ac_cv_prog_egrep
11040
11041
11042 if test $ac_cv_c_compiler_gnu = yes; then
11043 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11044 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11045 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11046 echo $ECHO_N "(cached) $ECHO_C" >&6
11047 else
11048 ac_pattern="Autoconf.*'x'"
11049 cat >conftest.$ac_ext <<_ACEOF
11050 #line $LINENO "configure"
11051 /* confdefs.h. */
11052 _ACEOF
11053 cat confdefs.h >>conftest.$ac_ext
11054 cat >>conftest.$ac_ext <<_ACEOF
11055 /* end confdefs.h. */
11056 #include <sgtty.h>
11057 Autoconf TIOCGETP
11058 _ACEOF
11059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11060 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11061 ac_cv_prog_gcc_traditional=yes
11062 else
11063 ac_cv_prog_gcc_traditional=no
11064 fi
11065 rm -f conftest*
11066
11067
11068 if test $ac_cv_prog_gcc_traditional = no; then
11069 cat >conftest.$ac_ext <<_ACEOF
11070 #line $LINENO "configure"
11071 /* confdefs.h. */
11072 _ACEOF
11073 cat confdefs.h >>conftest.$ac_ext
11074 cat >>conftest.$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11076 #include <termio.h>
11077 Autoconf TCGETA
11078 _ACEOF
11079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11080 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11081 ac_cv_prog_gcc_traditional=yes
11082 fi
11083 rm -f conftest*
11084
11085 fi
11086 fi
11087 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11088 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11089 if test $ac_cv_prog_gcc_traditional = yes; then
11090 CC="$CC -traditional"
11091 fi
11092 fi
11093
11094
11095
11096
11097 ac_ext=cc
11098 ac_cpp='$CXXCPP $CPPFLAGS'
11099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11102
11103
11104 CXXFLAGS=${CXXFLAGS:=}
11105 ac_ext=cc
11106 ac_cpp='$CXXCPP $CPPFLAGS'
11107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11110 if test -n "$ac_tool_prefix"; then
11111 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11112 do
11113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11115 echo "$as_me:$LINENO: checking for $ac_word" >&5
11116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11117 if test "${ac_cv_prog_CXX+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 else
11120 if test -n "$CXX"; then
11121 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11122 else
11123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11124 for as_dir in $PATH
11125 do
11126 IFS=$as_save_IFS
11127 test -z "$as_dir" && as_dir=.
11128 for ac_exec_ext in '' $ac_executable_extensions; do
11129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11130 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11132 break 2
11133 fi
11134 done
11135 done
11136
11137 fi
11138 fi
11139 CXX=$ac_cv_prog_CXX
11140 if test -n "$CXX"; then
11141 echo "$as_me:$LINENO: result: $CXX" >&5
11142 echo "${ECHO_T}$CXX" >&6
11143 else
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11146 fi
11147
11148 test -n "$CXX" && break
11149 done
11150 fi
11151 if test -z "$CXX"; then
11152 ac_ct_CXX=$CXX
11153 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11154 do
11155 # Extract the first word of "$ac_prog", so it can be a program name with args.
11156 set dummy $ac_prog; ac_word=$2
11157 echo "$as_me:$LINENO: checking for $ac_word" >&5
11158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11159 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11161 else
11162 if test -n "$ac_ct_CXX"; then
11163 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11164 else
11165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11166 for as_dir in $PATH
11167 do
11168 IFS=$as_save_IFS
11169 test -z "$as_dir" && as_dir=.
11170 for ac_exec_ext in '' $ac_executable_extensions; do
11171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11172 ac_cv_prog_ac_ct_CXX="$ac_prog"
11173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11174 break 2
11175 fi
11176 done
11177 done
11178
11179 fi
11180 fi
11181 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11182 if test -n "$ac_ct_CXX"; then
11183 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11184 echo "${ECHO_T}$ac_ct_CXX" >&6
11185 else
11186 echo "$as_me:$LINENO: result: no" >&5
11187 echo "${ECHO_T}no" >&6
11188 fi
11189
11190 test -n "$ac_ct_CXX" && break
11191 done
11192 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11193
11194 CXX=$ac_ct_CXX
11195 fi
11196
11197
11198 # Provide some information about the compiler.
11199 echo "$as_me:$LINENO:" \
11200 "checking for C++ compiler version" >&5
11201 ac_compiler=`set X $ac_compile; echo $2`
11202 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11203 (eval $ac_compiler --version </dev/null >&5) 2>&5
11204 ac_status=$?
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }
11207 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11208 (eval $ac_compiler -v </dev/null >&5) 2>&5
11209 ac_status=$?
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }
11212 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11213 (eval $ac_compiler -V </dev/null >&5) 2>&5
11214 ac_status=$?
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); }
11217
11218 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11219 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11220 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11221 echo $ECHO_N "(cached) $ECHO_C" >&6
11222 else
11223 cat >conftest.$ac_ext <<_ACEOF
11224 #line $LINENO "configure"
11225 /* confdefs.h. */
11226 _ACEOF
11227 cat confdefs.h >>conftest.$ac_ext
11228 cat >>conftest.$ac_ext <<_ACEOF
11229 /* end confdefs.h. */
11230
11231 int
11232 main ()
11233 {
11234 #ifndef __GNUC__
11235 choke me
11236 #endif
11237
11238 ;
11239 return 0;
11240 }
11241 _ACEOF
11242 rm -f conftest.$ac_objext
11243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11244 (eval $ac_compile) 2>&5
11245 ac_status=$?
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } &&
11248 { ac_try='test -s conftest.$ac_objext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11251 ac_status=$?
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_compiler_gnu=yes
11255 else
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11258
11259 ac_compiler_gnu=no
11260 fi
11261 rm -f conftest.$ac_objext conftest.$ac_ext
11262 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11263
11264 fi
11265 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11266 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11267 GXX=`test $ac_compiler_gnu = yes && echo yes`
11268 ac_test_CXXFLAGS=${CXXFLAGS+set}
11269 ac_save_CXXFLAGS=$CXXFLAGS
11270 CXXFLAGS="-g"
11271 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11272 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11273 if test "${ac_cv_prog_cxx_g+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11275 else
11276 cat >conftest.$ac_ext <<_ACEOF
11277 #line $LINENO "configure"
11278 /* confdefs.h. */
11279 _ACEOF
11280 cat confdefs.h >>conftest.$ac_ext
11281 cat >>conftest.$ac_ext <<_ACEOF
11282 /* end confdefs.h. */
11283
11284 int
11285 main ()
11286 {
11287
11288 ;
11289 return 0;
11290 }
11291 _ACEOF
11292 rm -f conftest.$ac_objext
11293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11294 (eval $ac_compile) 2>&5
11295 ac_status=$?
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try='test -s conftest.$ac_objext'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11301 ac_status=$?
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; }; then
11304 ac_cv_prog_cxx_g=yes
11305 else
11306 echo "$as_me: failed program was:" >&5
11307 sed 's/^/| /' conftest.$ac_ext >&5
11308
11309 ac_cv_prog_cxx_g=no
11310 fi
11311 rm -f conftest.$ac_objext conftest.$ac_ext
11312 fi
11313 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11314 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11315 if test "$ac_test_CXXFLAGS" = set; then
11316 CXXFLAGS=$ac_save_CXXFLAGS
11317 elif test $ac_cv_prog_cxx_g = yes; then
11318 if test "$GXX" = yes; then
11319 CXXFLAGS="-g -O2"
11320 else
11321 CXXFLAGS="-g"
11322 fi
11323 else
11324 if test "$GXX" = yes; then
11325 CXXFLAGS="-O2"
11326 else
11327 CXXFLAGS=
11328 fi
11329 fi
11330 for ac_declaration in \
11331 '' \
11332 'extern "C" void std::exit (int) throw (); using std::exit;' \
11333 'extern "C" void std::exit (int); using std::exit;' \
11334 'extern "C" void exit (int) throw ();' \
11335 'extern "C" void exit (int);' \
11336 'void exit (int);'
11337 do
11338 cat >conftest.$ac_ext <<_ACEOF
11339 #line $LINENO "configure"
11340 /* confdefs.h. */
11341 _ACEOF
11342 cat confdefs.h >>conftest.$ac_ext
11343 cat >>conftest.$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11345 $ac_declaration
11346 #include <stdlib.h>
11347 int
11348 main ()
11349 {
11350 exit (42);
11351 ;
11352 return 0;
11353 }
11354 _ACEOF
11355 rm -f conftest.$ac_objext
11356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11357 (eval $ac_compile) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); } &&
11361 { ac_try='test -s conftest.$ac_objext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11364 ac_status=$?
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11367 :
11368 else
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.$ac_ext >&5
11371
11372 continue
11373 fi
11374 rm -f conftest.$ac_objext conftest.$ac_ext
11375 cat >conftest.$ac_ext <<_ACEOF
11376 #line $LINENO "configure"
11377 /* confdefs.h. */
11378 _ACEOF
11379 cat confdefs.h >>conftest.$ac_ext
11380 cat >>conftest.$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11382 $ac_declaration
11383 int
11384 main ()
11385 {
11386 exit (42);
11387 ;
11388 return 0;
11389 }
11390 _ACEOF
11391 rm -f conftest.$ac_objext
11392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11393 (eval $ac_compile) 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } &&
11397 { ac_try='test -s conftest.$ac_objext'
11398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11399 (eval $ac_try) 2>&5
11400 ac_status=$?
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); }; }; then
11403 break
11404 else
11405 echo "$as_me: failed program was:" >&5
11406 sed 's/^/| /' conftest.$ac_ext >&5
11407
11408 fi
11409 rm -f conftest.$ac_objext conftest.$ac_ext
11410 done
11411 rm -f conftest*
11412 if test -n "$ac_declaration"; then
11413 echo '#ifdef __cplusplus' >>confdefs.h
11414 echo $ac_declaration >>confdefs.h
11415 echo '#endif' >>confdefs.h
11416 fi
11417
11418 ac_ext=cc
11419 ac_cpp='$CXXCPP $CPPFLAGS'
11420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11423
11424
11425 ac_ext=c
11426 ac_cpp='$CPP $CPPFLAGS'
11427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11430
11431
11432 if test -n "$ac_tool_prefix"; then
11433 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11434 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11435 echo "$as_me:$LINENO: checking for $ac_word" >&5
11436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11437 if test "${ac_cv_prog_RANLIB+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 else
11440 if test -n "$RANLIB"; then
11441 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11442 else
11443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11444 for as_dir in $PATH
11445 do
11446 IFS=$as_save_IFS
11447 test -z "$as_dir" && as_dir=.
11448 for ac_exec_ext in '' $ac_executable_extensions; do
11449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11450 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11452 break 2
11453 fi
11454 done
11455 done
11456
11457 fi
11458 fi
11459 RANLIB=$ac_cv_prog_RANLIB
11460 if test -n "$RANLIB"; then
11461 echo "$as_me:$LINENO: result: $RANLIB" >&5
11462 echo "${ECHO_T}$RANLIB" >&6
11463 else
11464 echo "$as_me:$LINENO: result: no" >&5
11465 echo "${ECHO_T}no" >&6
11466 fi
11467
11468 fi
11469 if test -z "$ac_cv_prog_RANLIB"; then
11470 ac_ct_RANLIB=$RANLIB
11471 # Extract the first word of "ranlib", so it can be a program name with args.
11472 set dummy ranlib; ac_word=$2
11473 echo "$as_me:$LINENO: checking for $ac_word" >&5
11474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11475 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11476 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 else
11478 if test -n "$ac_ct_RANLIB"; then
11479 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11480 else
11481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11482 for as_dir in $PATH
11483 do
11484 IFS=$as_save_IFS
11485 test -z "$as_dir" && as_dir=.
11486 for ac_exec_ext in '' $ac_executable_extensions; do
11487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11488 ac_cv_prog_ac_ct_RANLIB="ranlib"
11489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11490 break 2
11491 fi
11492 done
11493 done
11494
11495 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11496 fi
11497 fi
11498 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11499 if test -n "$ac_ct_RANLIB"; then
11500 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11501 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11502 else
11503 echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6
11505 fi
11506
11507 RANLIB=$ac_ct_RANLIB
11508 else
11509 RANLIB="$ac_cv_prog_RANLIB"
11510 fi
11511
11512
11513 # Extract the first word of "ar", so it can be a program name with args.
11514 set dummy ar; ac_word=$2
11515 echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517 if test "${ac_cv_prog_AR+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else
11520 if test -n "$AR"; then
11521 ac_cv_prog_AR="$AR" # Let the user override the test.
11522 else
11523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11524 for as_dir in $PATH
11525 do
11526 IFS=$as_save_IFS
11527 test -z "$as_dir" && as_dir=.
11528 for ac_exec_ext in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_prog_AR="ar"
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 break 2
11533 fi
11534 done
11535 done
11536
11537 fi
11538 fi
11539 AR=$ac_cv_prog_AR
11540 if test -n "$AR"; then
11541 echo "$as_me:$LINENO: result: $AR" >&5
11542 echo "${ECHO_T}$AR" >&6
11543 else
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11546 fi
11547
11548 if test "x$AR" = "x" ; then
11549 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11550 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11551 { (exit 1); exit 1; }; }
11552 fi
11553
11554 # Find a good install program. We prefer a C program (faster),
11555 # so one script is as good as another. But avoid the broken or
11556 # incompatible versions:
11557 # SysV /etc/install, /usr/sbin/install
11558 # SunOS /usr/etc/install
11559 # IRIX /sbin/install
11560 # AIX /bin/install
11561 # AmigaOS /C/install, which installs bootblocks on floppy discs
11562 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11563 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11564 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11565 # ./install, which can be erroneously created by make from ./install.sh.
11566 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11567 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11568 if test -z "$INSTALL"; then
11569 if test "${ac_cv_path_install+set}" = set; then
11570 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 else
11572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11573 for as_dir in $PATH
11574 do
11575 IFS=$as_save_IFS
11576 test -z "$as_dir" && as_dir=.
11577 # Account for people who put trailing slashes in PATH elements.
11578 case $as_dir/ in
11579 ./ | .// | /cC/* | \
11580 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11581 /usr/ucb/* ) ;;
11582 *)
11583 # OSF1 and SCO ODT 3.0 have their own names for install.
11584 # Don't use installbsd from OSF since it installs stuff as root
11585 # by default.
11586 for ac_prog in ginstall scoinst install; do
11587 for ac_exec_ext in '' $ac_executable_extensions; do
11588 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11589 if test $ac_prog = install &&
11590 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11591 # AIX install. It has an incompatible calling convention.
11592 :
11593 elif test $ac_prog = install &&
11594 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11595 # program-specific install script used by HP pwplus--don't use.
11596 :
11597 else
11598 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11599 break 3
11600 fi
11601 fi
11602 done
11603 done
11604 ;;
11605 esac
11606 done
11607
11608
11609 fi
11610 if test "${ac_cv_path_install+set}" = set; then
11611 INSTALL=$ac_cv_path_install
11612 else
11613 # As a last resort, use the slow shell script. We don't cache a
11614 # path for INSTALL within a source directory, because that will
11615 # break other packages using the cache if that directory is
11616 # removed, or if the path is relative.
11617 INSTALL=$ac_install_sh
11618 fi
11619 fi
11620 echo "$as_me:$LINENO: result: $INSTALL" >&5
11621 echo "${ECHO_T}$INSTALL" >&6
11622
11623 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11624 # It thinks the first close brace ends the variable substitution.
11625 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11626
11627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11628
11629 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11630
11631
11632 case ${INSTALL} in
11633 /* ) # Absolute
11634 ;;
11635 ?:* ) # Drive letter, considered as absolute.
11636 ;;
11637 *)
11638 INSTALL=`pwd`/${INSTALL} ;;
11639 esac
11640
11641 case ${host} in
11642 *-hp-hpux* )
11643 INSTALL_DIR="mkdir"
11644 ;;
11645
11646 *) INSTALL_DIR="$INSTALL -d"
11647 ;;
11648 esac
11649
11650
11651 case "${host}" in
11652
11653 powerpc-*-darwin* )
11654 INSTALL_PROGRAM="cp -fp"
11655 INSTALL_DATA="cp -fp"
11656 ;;
11657 *)
11658 ;;
11659 esac
11660
11661 # Extract the first word of "strip", so it can be a program name with args.
11662 set dummy strip; ac_word=$2
11663 echo "$as_me:$LINENO: checking for $ac_word" >&5
11664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11665 if test "${ac_cv_prog_STRIP+set}" = set; then
11666 echo $ECHO_N "(cached) $ECHO_C" >&6
11667 else
11668 if test -n "$STRIP"; then
11669 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11670 else
11671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11672 for as_dir in $PATH
11673 do
11674 IFS=$as_save_IFS
11675 test -z "$as_dir" && as_dir=.
11676 for ac_exec_ext in '' $ac_executable_extensions; do
11677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11678 ac_cv_prog_STRIP="strip"
11679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11680 break 2
11681 fi
11682 done
11683 done
11684
11685 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11686 fi
11687 fi
11688 STRIP=$ac_cv_prog_STRIP
11689 if test -n "$STRIP"; then
11690 echo "$as_me:$LINENO: result: $STRIP" >&5
11691 echo "${ECHO_T}$STRIP" >&6
11692 else
11693 echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6
11695 fi
11696
11697
11698 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11699 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11700 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11702 else
11703
11704 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11705 egrep -s GNU > /dev/null); then
11706 wx_cv_prog_makeisgnu="yes"
11707 else
11708 wx_cv_prog_makeisgnu="no"
11709 fi
11710
11711 fi
11712 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11713 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11714
11715 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11716 IF_GNU_MAKE=""
11717 else
11718 IF_GNU_MAKE="#"
11719 fi
11720
11721
11722
11723 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11724 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11725 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11726 if test "${wx_cv_prog_makevpath+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11728 else
11729
11730 cat - << EOF > confMake
11731 check : file
11732 cp \$? \$@
11733 cp \$? final_file
11734 EOF
11735
11736 if test ! -d sub ; then
11737 mkdir sub
11738 fi
11739 echo dummy > sub/file
11740 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11741 RESULT=$?
11742 rm -f sub/file check final_file confMake
11743 rmdir sub
11744 if test "$RESULT" = 0; then
11745 wx_cv_prog_makevpath="yes"
11746 else
11747 wx_cv_prog_makevpath="no"
11748 fi
11749
11750 fi
11751 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11752 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11753
11754 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11755 { { echo "$as_me:$LINENO: error:
11756 You need a make-utility that is able to use the variable
11757 VPATH correctly.
11758 If your version of make does not support VPATH correctly,
11759 please install GNU-make (possibly as gmake), and start
11760 configure with the following command:
11761 export MAKE=gmake; ./configure for sh-type shells
11762 setenv MAKE gmake; ./configure for csh-type shells
11763 Also please do remember to use gmake in this case every time
11764 you are trying to compile.
11765 " >&5
11766 echo "$as_me: error:
11767 You need a make-utility that is able to use the variable
11768 VPATH correctly.
11769 If your version of make does not support VPATH correctly,
11770 please install GNU-make (possibly as gmake), and start
11771 configure with the following command:
11772 export MAKE=gmake; ./configure for sh-type shells
11773 setenv MAKE gmake; ./configure for csh-type shells
11774 Also please do remember to use gmake in this case every time
11775 you are trying to compile.
11776 " >&2;}
11777 { (exit 1); exit 1; }; }
11778 fi fi
11779 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11780 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11781 LN_S=$as_ln_s
11782 if test "$LN_S" = "ln -s"; then
11783 echo "$as_me:$LINENO: result: yes" >&5
11784 echo "${ECHO_T}yes" >&6
11785 else
11786 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11787 echo "${ECHO_T}no, using $LN_S" >&6
11788 fi
11789
11790
11791 case "${host}" in
11792 *-pc-os2_emx | *-pc-os2-emx )
11793 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11794 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11795 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11796 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 else
11799 ac_check_lib_save_LIBS=$LIBS
11800 LIBS="-lcExt $LIBS"
11801 cat >conftest.$ac_ext <<_ACEOF
11802 #line $LINENO "configure"
11803 /* confdefs.h. */
11804 _ACEOF
11805 cat confdefs.h >>conftest.$ac_ext
11806 cat >>conftest.$ac_ext <<_ACEOF
11807 /* end confdefs.h. */
11808
11809 /* Override any gcc2 internal prototype to avoid an error. */
11810 #ifdef __cplusplus
11811 extern "C"
11812 #endif
11813 /* We use char because int might match the return type of a gcc2
11814 builtin and then its argument prototype would still apply. */
11815 char drand48 ();
11816 int
11817 main ()
11818 {
11819 drand48 ();
11820 ;
11821 return 0;
11822 }
11823 _ACEOF
11824 rm -f conftest.$ac_objext conftest$ac_exeext
11825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11826 (eval $ac_link) 2>&5
11827 ac_status=$?
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } &&
11830 { ac_try='test -s conftest$ac_exeext'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11833 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; }; then
11836 ac_cv_lib_cExt_drand48=yes
11837 else
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.$ac_ext >&5
11840
11841 ac_cv_lib_cExt_drand48=no
11842 fi
11843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11844 LIBS=$ac_check_lib_save_LIBS
11845 fi
11846 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11847 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11848 if test $ac_cv_lib_cExt_drand48 = yes; then
11849 LIBS="$LIBS -lcExt"
11850 fi
11851
11852 else
11853 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11854 fi
11855 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11856 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11857 if test "${wx_cv_gcc3+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 else
11860
11861 cat >conftest.$ac_ext <<_ACEOF
11862 #line $LINENO "configure"
11863 /* confdefs.h. */
11864 _ACEOF
11865 cat confdefs.h >>conftest.$ac_ext
11866 cat >>conftest.$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11868
11869 int
11870 main ()
11871 {
11872
11873 #if (__GNUC__ < 3)
11874 #error old gcc
11875 #endif
11876
11877 ;
11878 return 0;
11879 }
11880 _ACEOF
11881 rm -f conftest.$ac_objext
11882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11883 (eval $ac_compile) 2>&5
11884 ac_status=$?
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try='test -s conftest.$ac_objext'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11890 ac_status=$?
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; }; then
11893
11894 wx_cv_gcc3=yes
11895
11896 else
11897 echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.$ac_ext >&5
11899
11900
11901 wx_cv_gcc3=no
11902
11903
11904 fi
11905 rm -f conftest.$ac_objext conftest.$ac_ext
11906
11907 fi
11908 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11909 echo "${ECHO_T}$wx_cv_gcc3" >&6
11910 if test "$wx_cv_gcc3" = "no"; then
11911 LIBS="$LIBS -lstdcpp"
11912 else
11913 LIBS="$LIBS -lstdcxx"
11914 fi
11915 ;;
11916 esac
11917
11918
11919 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11920 echo "$as_me:$LINENO: checking for strings.h" >&5
11921 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11922 if test "${ac_cv_header_strings_h+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 else
11925 ac_cv_header_strings_h=no
11926 fi
11927 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11928 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11929 if test "$ac_cv_header_strings_h" = "no"; then
11930 echo "$as_me:$LINENO: result: forced no into cache" >&5
11931 echo "${ECHO_T}forced no into cache" >&6
11932 else
11933 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11934 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11935 fi
11936 fi
11937 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11938 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11939 if test "${ac_cv_header_stdc+set}" = set; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11941 else
11942 cat >conftest.$ac_ext <<_ACEOF
11943 #line $LINENO "configure"
11944 /* confdefs.h. */
11945 _ACEOF
11946 cat confdefs.h >>conftest.$ac_ext
11947 cat >>conftest.$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11949 #include <stdlib.h>
11950 #include <stdarg.h>
11951 #include <string.h>
11952 #include <float.h>
11953
11954 int
11955 main ()
11956 {
11957
11958 ;
11959 return 0;
11960 }
11961 _ACEOF
11962 rm -f conftest.$ac_objext
11963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11964 (eval $ac_compile) 2>&5
11965 ac_status=$?
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); } &&
11968 { ac_try='test -s conftest.$ac_objext'
11969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11970 (eval $ac_try) 2>&5
11971 ac_status=$?
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); }; }; then
11974 ac_cv_header_stdc=yes
11975 else
11976 echo "$as_me: failed program was:" >&5
11977 sed 's/^/| /' conftest.$ac_ext >&5
11978
11979 ac_cv_header_stdc=no
11980 fi
11981 rm -f conftest.$ac_objext conftest.$ac_ext
11982
11983 if test $ac_cv_header_stdc = yes; then
11984 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11985 cat >conftest.$ac_ext <<_ACEOF
11986 #line $LINENO "configure"
11987 /* confdefs.h. */
11988 _ACEOF
11989 cat confdefs.h >>conftest.$ac_ext
11990 cat >>conftest.$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11992 #include <string.h>
11993
11994 _ACEOF
11995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11996 $EGREP "memchr" >/dev/null 2>&1; then
11997 :
11998 else
11999 ac_cv_header_stdc=no
12000 fi
12001 rm -f conftest*
12002
12003 fi
12004
12005 if test $ac_cv_header_stdc = yes; then
12006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12007 cat >conftest.$ac_ext <<_ACEOF
12008 #line $LINENO "configure"
12009 /* confdefs.h. */
12010 _ACEOF
12011 cat confdefs.h >>conftest.$ac_ext
12012 cat >>conftest.$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12014 #include <stdlib.h>
12015
12016 _ACEOF
12017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12018 $EGREP "free" >/dev/null 2>&1; then
12019 :
12020 else
12021 ac_cv_header_stdc=no
12022 fi
12023 rm -f conftest*
12024
12025 fi
12026
12027 if test $ac_cv_header_stdc = yes; then
12028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12029 if test "$cross_compiling" = yes; then
12030 :
12031 else
12032 cat >conftest.$ac_ext <<_ACEOF
12033 #line $LINENO "configure"
12034 /* confdefs.h. */
12035 _ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 #include <ctype.h>
12040 #if ((' ' & 0x0FF) == 0x020)
12041 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12042 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12043 #else
12044 # define ISLOWER(c) \
12045 (('a' <= (c) && (c) <= 'i') \
12046 || ('j' <= (c) && (c) <= 'r') \
12047 || ('s' <= (c) && (c) <= 'z'))
12048 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12049 #endif
12050
12051 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12052 int
12053 main ()
12054 {
12055 int i;
12056 for (i = 0; i < 256; i++)
12057 if (XOR (islower (i), ISLOWER (i))
12058 || toupper (i) != TOUPPER (i))
12059 exit(2);
12060 exit (0);
12061 }
12062 _ACEOF
12063 rm -f conftest$ac_exeext
12064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12065 (eval $ac_link) 2>&5
12066 ac_status=$?
12067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12071 ac_status=$?
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 :
12075 else
12076 echo "$as_me: program exited with status $ac_status" >&5
12077 echo "$as_me: failed program was:" >&5
12078 sed 's/^/| /' conftest.$ac_ext >&5
12079
12080 ( exit $ac_status )
12081 ac_cv_header_stdc=no
12082 fi
12083 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12084 fi
12085 fi
12086 fi
12087 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12088 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12089 if test $ac_cv_header_stdc = yes; then
12090
12091 cat >>confdefs.h <<\_ACEOF
12092 #define STDC_HEADERS 1
12093 _ACEOF
12094
12095 fi
12096
12097 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12108 inttypes.h stdint.h unistd.h
12109 do
12110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12111 echo "$as_me:$LINENO: checking for $ac_header" >&5
12112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 else
12116 cat >conftest.$ac_ext <<_ACEOF
12117 #line $LINENO "configure"
12118 /* confdefs.h. */
12119 _ACEOF
12120 cat confdefs.h >>conftest.$ac_ext
12121 cat >>conftest.$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12123 $ac_includes_default
12124
12125 #include <$ac_header>
12126 _ACEOF
12127 rm -f conftest.$ac_objext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12129 (eval $ac_compile) 2>&5
12130 ac_status=$?
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try='test -s conftest.$ac_objext'
12134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12135 (eval $ac_try) 2>&5
12136 ac_status=$?
12137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138 (exit $ac_status); }; }; then
12139 eval "$as_ac_Header=yes"
12140 else
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12143
12144 eval "$as_ac_Header=no"
12145 fi
12146 rm -f conftest.$ac_objext conftest.$ac_ext
12147 fi
12148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12151 cat >>confdefs.h <<_ACEOF
12152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12153 _ACEOF
12154
12155 fi
12156
12157 done
12158
12159
12160
12161 for ac_header in strings.h
12162 do
12163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12165 echo "$as_me:$LINENO: checking for $ac_header" >&5
12166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 fi
12170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12172 else
12173 # Is the header compilable?
12174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12176 cat >conftest.$ac_ext <<_ACEOF
12177 #line $LINENO "configure"
12178 /* confdefs.h. */
12179 _ACEOF
12180 cat confdefs.h >>conftest.$ac_ext
12181 cat >>conftest.$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12183 $ac_includes_default
12184 #include <$ac_header>
12185 _ACEOF
12186 rm -f conftest.$ac_objext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188 (eval $ac_compile) 2>&5
12189 ac_status=$?
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } &&
12192 { ac_try='test -s conftest.$ac_objext'
12193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12194 (eval $ac_try) 2>&5
12195 ac_status=$?
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); }; }; then
12198 ac_header_compiler=yes
12199 else
12200 echo "$as_me: failed program was:" >&5
12201 sed 's/^/| /' conftest.$ac_ext >&5
12202
12203 ac_header_compiler=no
12204 fi
12205 rm -f conftest.$ac_objext conftest.$ac_ext
12206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12207 echo "${ECHO_T}$ac_header_compiler" >&6
12208
12209 # Is the header present?
12210 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12211 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12212 cat >conftest.$ac_ext <<_ACEOF
12213 #line $LINENO "configure"
12214 /* confdefs.h. */
12215 _ACEOF
12216 cat confdefs.h >>conftest.$ac_ext
12217 cat >>conftest.$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12219 #include <$ac_header>
12220 _ACEOF
12221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12223 ac_status=$?
12224 grep -v '^ *+' conftest.er1 >conftest.err
12225 rm -f conftest.er1
12226 cat conftest.err >&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } >/dev/null; then
12229 if test -s conftest.err; then
12230 ac_cpp_err=$ac_c_preproc_warn_flag
12231 else
12232 ac_cpp_err=
12233 fi
12234 else
12235 ac_cpp_err=yes
12236 fi
12237 if test -z "$ac_cpp_err"; then
12238 ac_header_preproc=yes
12239 else
12240 echo "$as_me: failed program was:" >&5
12241 sed 's/^/| /' conftest.$ac_ext >&5
12242
12243 ac_header_preproc=no
12244 fi
12245 rm -f conftest.err conftest.$ac_ext
12246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12247 echo "${ECHO_T}$ac_header_preproc" >&6
12248
12249 # So? What about this header?
12250 case $ac_header_compiler:$ac_header_preproc in
12251 yes:no )
12252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12256 (
12257 cat <<\_ASBOX
12258 ## ------------------------------------ ##
12259 ## Report this to bug-autoconf@gnu.org. ##
12260 ## ------------------------------------ ##
12261 _ASBOX
12262 ) |
12263 sed "s/^/$as_me: WARNING: /" >&2
12264 ;;
12265 no:yes )
12266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12272 (
12273 cat <<\_ASBOX
12274 ## ------------------------------------ ##
12275 ## Report this to bug-autoconf@gnu.org. ##
12276 ## ------------------------------------ ##
12277 _ASBOX
12278 ) |
12279 sed "s/^/$as_me: WARNING: /" >&2
12280 ;;
12281 esac
12282 echo "$as_me:$LINENO: checking for $ac_header" >&5
12283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12285 echo $ECHO_N "(cached) $ECHO_C" >&6
12286 else
12287 eval "$as_ac_Header=$ac_header_preproc"
12288 fi
12289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12291
12292 fi
12293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12294 cat >>confdefs.h <<_ACEOF
12295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12296 _ACEOF
12297
12298 fi
12299
12300 done
12301
12302
12303
12304 for ac_header in stdlib.h
12305 do
12306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12308 echo "$as_me:$LINENO: checking for $ac_header" >&5
12309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 fi
12313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12315 else
12316 # Is the header compilable?
12317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12319 cat >conftest.$ac_ext <<_ACEOF
12320 #line $LINENO "configure"
12321 /* confdefs.h. */
12322 _ACEOF
12323 cat confdefs.h >>conftest.$ac_ext
12324 cat >>conftest.$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12326 $ac_includes_default
12327 #include <$ac_header>
12328 _ACEOF
12329 rm -f conftest.$ac_objext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12331 (eval $ac_compile) 2>&5
12332 ac_status=$?
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } &&
12335 { ac_try='test -s conftest.$ac_objext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12338 ac_status=$?
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 ac_header_compiler=yes
12342 else
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.$ac_ext >&5
12345
12346 ac_header_compiler=no
12347 fi
12348 rm -f conftest.$ac_objext conftest.$ac_ext
12349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12350 echo "${ECHO_T}$ac_header_compiler" >&6
12351
12352 # Is the header present?
12353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12355 cat >conftest.$ac_ext <<_ACEOF
12356 #line $LINENO "configure"
12357 /* confdefs.h. */
12358 _ACEOF
12359 cat confdefs.h >>conftest.$ac_ext
12360 cat >>conftest.$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12362 #include <$ac_header>
12363 _ACEOF
12364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12366 ac_status=$?
12367 grep -v '^ *+' conftest.er1 >conftest.err
12368 rm -f conftest.er1
12369 cat conftest.err >&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } >/dev/null; then
12372 if test -s conftest.err; then
12373 ac_cpp_err=$ac_c_preproc_warn_flag
12374 else
12375 ac_cpp_err=
12376 fi
12377 else
12378 ac_cpp_err=yes
12379 fi
12380 if test -z "$ac_cpp_err"; then
12381 ac_header_preproc=yes
12382 else
12383 echo "$as_me: failed program was:" >&5
12384 sed 's/^/| /' conftest.$ac_ext >&5
12385
12386 ac_header_preproc=no
12387 fi
12388 rm -f conftest.err conftest.$ac_ext
12389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12390 echo "${ECHO_T}$ac_header_preproc" >&6
12391
12392 # So? What about this header?
12393 case $ac_header_compiler:$ac_header_preproc in
12394 yes:no )
12395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12399 (
12400 cat <<\_ASBOX
12401 ## ------------------------------------ ##
12402 ## Report this to bug-autoconf@gnu.org. ##
12403 ## ------------------------------------ ##
12404 _ASBOX
12405 ) |
12406 sed "s/^/$as_me: WARNING: /" >&2
12407 ;;
12408 no:yes )
12409 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12415 (
12416 cat <<\_ASBOX
12417 ## ------------------------------------ ##
12418 ## Report this to bug-autoconf@gnu.org. ##
12419 ## ------------------------------------ ##
12420 _ASBOX
12421 ) |
12422 sed "s/^/$as_me: WARNING: /" >&2
12423 ;;
12424 esac
12425 echo "$as_me:$LINENO: checking for $ac_header" >&5
12426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 else
12430 eval "$as_ac_Header=$ac_header_preproc"
12431 fi
12432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12434
12435 fi
12436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12437 cat >>confdefs.h <<_ACEOF
12438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12439 _ACEOF
12440
12441 fi
12442
12443 done
12444
12445
12446 for ac_header in malloc.h
12447 do
12448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12450 echo "$as_me:$LINENO: checking for $ac_header" >&5
12451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 fi
12455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12457 else
12458 # Is the header compilable?
12459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12461 cat >conftest.$ac_ext <<_ACEOF
12462 #line $LINENO "configure"
12463 /* confdefs.h. */
12464 _ACEOF
12465 cat confdefs.h >>conftest.$ac_ext
12466 cat >>conftest.$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12468 $ac_includes_default
12469 #include <$ac_header>
12470 _ACEOF
12471 rm -f conftest.$ac_objext
12472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12473 (eval $ac_compile) 2>&5
12474 ac_status=$?
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try='test -s conftest.$ac_objext'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12480 ac_status=$?
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; }; then
12483 ac_header_compiler=yes
12484 else
12485 echo "$as_me: failed program was:" >&5
12486 sed 's/^/| /' conftest.$ac_ext >&5
12487
12488 ac_header_compiler=no
12489 fi
12490 rm -f conftest.$ac_objext conftest.$ac_ext
12491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12492 echo "${ECHO_T}$ac_header_compiler" >&6
12493
12494 # Is the header present?
12495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12497 cat >conftest.$ac_ext <<_ACEOF
12498 #line $LINENO "configure"
12499 /* confdefs.h. */
12500 _ACEOF
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12504 #include <$ac_header>
12505 _ACEOF
12506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12508 ac_status=$?
12509 grep -v '^ *+' conftest.er1 >conftest.err
12510 rm -f conftest.er1
12511 cat conftest.err >&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); } >/dev/null; then
12514 if test -s conftest.err; then
12515 ac_cpp_err=$ac_c_preproc_warn_flag
12516 else
12517 ac_cpp_err=
12518 fi
12519 else
12520 ac_cpp_err=yes
12521 fi
12522 if test -z "$ac_cpp_err"; then
12523 ac_header_preproc=yes
12524 else
12525 echo "$as_me: failed program was:" >&5
12526 sed 's/^/| /' conftest.$ac_ext >&5
12527
12528 ac_header_preproc=no
12529 fi
12530 rm -f conftest.err conftest.$ac_ext
12531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12532 echo "${ECHO_T}$ac_header_preproc" >&6
12533
12534 # So? What about this header?
12535 case $ac_header_compiler:$ac_header_preproc in
12536 yes:no )
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12541 (
12542 cat <<\_ASBOX
12543 ## ------------------------------------ ##
12544 ## Report this to bug-autoconf@gnu.org. ##
12545 ## ------------------------------------ ##
12546 _ASBOX
12547 ) |
12548 sed "s/^/$as_me: WARNING: /" >&2
12549 ;;
12550 no:yes )
12551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12556 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12557 (
12558 cat <<\_ASBOX
12559 ## ------------------------------------ ##
12560 ## Report this to bug-autoconf@gnu.org. ##
12561 ## ------------------------------------ ##
12562 _ASBOX
12563 ) |
12564 sed "s/^/$as_me: WARNING: /" >&2
12565 ;;
12566 esac
12567 echo "$as_me:$LINENO: checking for $ac_header" >&5
12568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12570 echo $ECHO_N "(cached) $ECHO_C" >&6
12571 else
12572 eval "$as_ac_Header=$ac_header_preproc"
12573 fi
12574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12576
12577 fi
12578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12579 cat >>confdefs.h <<_ACEOF
12580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12581 _ACEOF
12582
12583 fi
12584
12585 done
12586
12587
12588 for ac_header in unistd.h
12589 do
12590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12592 echo "$as_me:$LINENO: checking for $ac_header" >&5
12593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 fi
12597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12599 else
12600 # Is the header compilable?
12601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12603 cat >conftest.$ac_ext <<_ACEOF
12604 #line $LINENO "configure"
12605 /* confdefs.h. */
12606 _ACEOF
12607 cat confdefs.h >>conftest.$ac_ext
12608 cat >>conftest.$ac_ext <<_ACEOF
12609 /* end confdefs.h. */
12610 $ac_includes_default
12611 #include <$ac_header>
12612 _ACEOF
12613 rm -f conftest.$ac_objext
12614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12615 (eval $ac_compile) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } &&
12619 { ac_try='test -s conftest.$ac_objext'
12620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12621 (eval $ac_try) 2>&5
12622 ac_status=$?
12623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12624 (exit $ac_status); }; }; then
12625 ac_header_compiler=yes
12626 else
12627 echo "$as_me: failed program was:" >&5
12628 sed 's/^/| /' conftest.$ac_ext >&5
12629
12630 ac_header_compiler=no
12631 fi
12632 rm -f conftest.$ac_objext conftest.$ac_ext
12633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12634 echo "${ECHO_T}$ac_header_compiler" >&6
12635
12636 # Is the header present?
12637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12639 cat >conftest.$ac_ext <<_ACEOF
12640 #line $LINENO "configure"
12641 /* confdefs.h. */
12642 _ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12646 #include <$ac_header>
12647 _ACEOF
12648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12650 ac_status=$?
12651 grep -v '^ *+' conftest.er1 >conftest.err
12652 rm -f conftest.er1
12653 cat conftest.err >&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); } >/dev/null; then
12656 if test -s conftest.err; then
12657 ac_cpp_err=$ac_c_preproc_warn_flag
12658 else
12659 ac_cpp_err=
12660 fi
12661 else
12662 ac_cpp_err=yes
12663 fi
12664 if test -z "$ac_cpp_err"; then
12665 ac_header_preproc=yes
12666 else
12667 echo "$as_me: failed program was:" >&5
12668 sed 's/^/| /' conftest.$ac_ext >&5
12669
12670 ac_header_preproc=no
12671 fi
12672 rm -f conftest.err conftest.$ac_ext
12673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12674 echo "${ECHO_T}$ac_header_preproc" >&6
12675
12676 # So? What about this header?
12677 case $ac_header_compiler:$ac_header_preproc in
12678 yes:no )
12679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12683 (
12684 cat <<\_ASBOX
12685 ## ------------------------------------ ##
12686 ## Report this to bug-autoconf@gnu.org. ##
12687 ## ------------------------------------ ##
12688 _ASBOX
12689 ) |
12690 sed "s/^/$as_me: WARNING: /" >&2
12691 ;;
12692 no:yes )
12693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12698 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12699 (
12700 cat <<\_ASBOX
12701 ## ------------------------------------ ##
12702 ## Report this to bug-autoconf@gnu.org. ##
12703 ## ------------------------------------ ##
12704 _ASBOX
12705 ) |
12706 sed "s/^/$as_me: WARNING: /" >&2
12707 ;;
12708 esac
12709 echo "$as_me:$LINENO: checking for $ac_header" >&5
12710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12713 else
12714 eval "$as_ac_Header=$ac_header_preproc"
12715 fi
12716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12718
12719 fi
12720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12721 cat >>confdefs.h <<_ACEOF
12722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12723 _ACEOF
12724
12725 fi
12726
12727 done
12728
12729
12730 for ac_header in wchar.h
12731 do
12732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12734 echo "$as_me:$LINENO: checking for $ac_header" >&5
12735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 fi
12739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12741 else
12742 # Is the header compilable?
12743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12745 cat >conftest.$ac_ext <<_ACEOF
12746 #line $LINENO "configure"
12747 /* confdefs.h. */
12748 _ACEOF
12749 cat confdefs.h >>conftest.$ac_ext
12750 cat >>conftest.$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 $ac_includes_default
12753 #include <$ac_header>
12754 _ACEOF
12755 rm -f conftest.$ac_objext
12756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12757 (eval $ac_compile) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try='test -s conftest.$ac_objext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12764 ac_status=$?
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12767 ac_header_compiler=yes
12768 else
12769 echo "$as_me: failed program was:" >&5
12770 sed 's/^/| /' conftest.$ac_ext >&5
12771
12772 ac_header_compiler=no
12773 fi
12774 rm -f conftest.$ac_objext conftest.$ac_ext
12775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12776 echo "${ECHO_T}$ac_header_compiler" >&6
12777
12778 # Is the header present?
12779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12781 cat >conftest.$ac_ext <<_ACEOF
12782 #line $LINENO "configure"
12783 /* confdefs.h. */
12784 _ACEOF
12785 cat confdefs.h >>conftest.$ac_ext
12786 cat >>conftest.$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12788 #include <$ac_header>
12789 _ACEOF
12790 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12791 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12792 ac_status=$?
12793 grep -v '^ *+' conftest.er1 >conftest.err
12794 rm -f conftest.er1
12795 cat conftest.err >&5
12796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12797 (exit $ac_status); } >/dev/null; then
12798 if test -s conftest.err; then
12799 ac_cpp_err=$ac_c_preproc_warn_flag
12800 else
12801 ac_cpp_err=
12802 fi
12803 else
12804 ac_cpp_err=yes
12805 fi
12806 if test -z "$ac_cpp_err"; then
12807 ac_header_preproc=yes
12808 else
12809 echo "$as_me: failed program was:" >&5
12810 sed 's/^/| /' conftest.$ac_ext >&5
12811
12812 ac_header_preproc=no
12813 fi
12814 rm -f conftest.err conftest.$ac_ext
12815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12816 echo "${ECHO_T}$ac_header_preproc" >&6
12817
12818 # So? What about this header?
12819 case $ac_header_compiler:$ac_header_preproc in
12820 yes:no )
12821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12824 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12825 (
12826 cat <<\_ASBOX
12827 ## ------------------------------------ ##
12828 ## Report this to bug-autoconf@gnu.org. ##
12829 ## ------------------------------------ ##
12830 _ASBOX
12831 ) |
12832 sed "s/^/$as_me: WARNING: /" >&2
12833 ;;
12834 no:yes )
12835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12841 (
12842 cat <<\_ASBOX
12843 ## ------------------------------------ ##
12844 ## Report this to bug-autoconf@gnu.org. ##
12845 ## ------------------------------------ ##
12846 _ASBOX
12847 ) |
12848 sed "s/^/$as_me: WARNING: /" >&2
12849 ;;
12850 esac
12851 echo "$as_me:$LINENO: checking for $ac_header" >&5
12852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 else
12856 eval "$as_ac_Header=$ac_header_preproc"
12857 fi
12858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12860
12861 fi
12862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12863 cat >>confdefs.h <<_ACEOF
12864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12865 _ACEOF
12866
12867 fi
12868
12869 done
12870
12871
12872 if test "$ac_cv_header_wchar_h" != "yes"; then
12873
12874 for ac_header in wcstr.h
12875 do
12876 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12878 echo "$as_me:$LINENO: checking for $ac_header" >&5
12879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12881 echo $ECHO_N "(cached) $ECHO_C" >&6
12882 fi
12883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12885 else
12886 # Is the header compilable?
12887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12889 cat >conftest.$ac_ext <<_ACEOF
12890 #line $LINENO "configure"
12891 /* confdefs.h. */
12892 _ACEOF
12893 cat confdefs.h >>conftest.$ac_ext
12894 cat >>conftest.$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12896 $ac_includes_default
12897 #include <$ac_header>
12898 _ACEOF
12899 rm -f conftest.$ac_objext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12901 (eval $ac_compile) 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } &&
12905 { ac_try='test -s conftest.$ac_objext'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 ac_header_compiler=yes
12912 else
12913 echo "$as_me: failed program was:" >&5
12914 sed 's/^/| /' conftest.$ac_ext >&5
12915
12916 ac_header_compiler=no
12917 fi
12918 rm -f conftest.$ac_objext conftest.$ac_ext
12919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12920 echo "${ECHO_T}$ac_header_compiler" >&6
12921
12922 # Is the header present?
12923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12925 cat >conftest.$ac_ext <<_ACEOF
12926 #line $LINENO "configure"
12927 /* confdefs.h. */
12928 _ACEOF
12929 cat confdefs.h >>conftest.$ac_ext
12930 cat >>conftest.$ac_ext <<_ACEOF
12931 /* end confdefs.h. */
12932 #include <$ac_header>
12933 _ACEOF
12934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12936 ac_status=$?
12937 grep -v '^ *+' conftest.er1 >conftest.err
12938 rm -f conftest.er1
12939 cat conftest.err >&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); } >/dev/null; then
12942 if test -s conftest.err; then
12943 ac_cpp_err=$ac_c_preproc_warn_flag
12944 else
12945 ac_cpp_err=
12946 fi
12947 else
12948 ac_cpp_err=yes
12949 fi
12950 if test -z "$ac_cpp_err"; then
12951 ac_header_preproc=yes
12952 else
12953 echo "$as_me: failed program was:" >&5
12954 sed 's/^/| /' conftest.$ac_ext >&5
12955
12956 ac_header_preproc=no
12957 fi
12958 rm -f conftest.err conftest.$ac_ext
12959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12960 echo "${ECHO_T}$ac_header_preproc" >&6
12961
12962 # So? What about this header?
12963 case $ac_header_compiler:$ac_header_preproc in
12964 yes:no )
12965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12969 (
12970 cat <<\_ASBOX
12971 ## ------------------------------------ ##
12972 ## Report this to bug-autoconf@gnu.org. ##
12973 ## ------------------------------------ ##
12974 _ASBOX
12975 ) |
12976 sed "s/^/$as_me: WARNING: /" >&2
12977 ;;
12978 no:yes )
12979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12985 (
12986 cat <<\_ASBOX
12987 ## ------------------------------------ ##
12988 ## Report this to bug-autoconf@gnu.org. ##
12989 ## ------------------------------------ ##
12990 _ASBOX
12991 ) |
12992 sed "s/^/$as_me: WARNING: /" >&2
12993 ;;
12994 esac
12995 echo "$as_me:$LINENO: checking for $ac_header" >&5
12996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
12999 else
13000 eval "$as_ac_Header=$ac_header_preproc"
13001 fi
13002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13004
13005 fi
13006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13007 cat >>confdefs.h <<_ACEOF
13008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13009 _ACEOF
13010
13011 fi
13012
13013 done
13014
13015 fi
13016
13017
13018 for ac_header in fnmatch.h
13019 do
13020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13022 echo "$as_me:$LINENO: checking for $ac_header" >&5
13023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 fi
13027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13029 else
13030 # Is the header compilable?
13031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13033 cat >conftest.$ac_ext <<_ACEOF
13034 #line $LINENO "configure"
13035 /* confdefs.h. */
13036 _ACEOF
13037 cat confdefs.h >>conftest.$ac_ext
13038 cat >>conftest.$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13040 $ac_includes_default
13041 #include <$ac_header>
13042 _ACEOF
13043 rm -f conftest.$ac_objext
13044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13045 (eval $ac_compile) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try='test -s conftest.$ac_objext'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13052 ac_status=$?
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; }; then
13055 ac_header_compiler=yes
13056 else
13057 echo "$as_me: failed program was:" >&5
13058 sed 's/^/| /' conftest.$ac_ext >&5
13059
13060 ac_header_compiler=no
13061 fi
13062 rm -f conftest.$ac_objext conftest.$ac_ext
13063 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13064 echo "${ECHO_T}$ac_header_compiler" >&6
13065
13066 # Is the header present?
13067 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13068 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13069 cat >conftest.$ac_ext <<_ACEOF
13070 #line $LINENO "configure"
13071 /* confdefs.h. */
13072 _ACEOF
13073 cat confdefs.h >>conftest.$ac_ext
13074 cat >>conftest.$ac_ext <<_ACEOF
13075 /* end confdefs.h. */
13076 #include <$ac_header>
13077 _ACEOF
13078 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13079 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13080 ac_status=$?
13081 grep -v '^ *+' conftest.er1 >conftest.err
13082 rm -f conftest.er1
13083 cat conftest.err >&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } >/dev/null; then
13086 if test -s conftest.err; then
13087 ac_cpp_err=$ac_c_preproc_warn_flag
13088 else
13089 ac_cpp_err=
13090 fi
13091 else
13092 ac_cpp_err=yes
13093 fi
13094 if test -z "$ac_cpp_err"; then
13095 ac_header_preproc=yes
13096 else
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.$ac_ext >&5
13099
13100 ac_header_preproc=no
13101 fi
13102 rm -f conftest.err conftest.$ac_ext
13103 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13104 echo "${ECHO_T}$ac_header_preproc" >&6
13105
13106 # So? What about this header?
13107 case $ac_header_compiler:$ac_header_preproc in
13108 yes:no )
13109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13110 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13113 (
13114 cat <<\_ASBOX
13115 ## ------------------------------------ ##
13116 ## Report this to bug-autoconf@gnu.org. ##
13117 ## ------------------------------------ ##
13118 _ASBOX
13119 ) |
13120 sed "s/^/$as_me: WARNING: /" >&2
13121 ;;
13122 no:yes )
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13129 (
13130 cat <<\_ASBOX
13131 ## ------------------------------------ ##
13132 ## Report this to bug-autoconf@gnu.org. ##
13133 ## ------------------------------------ ##
13134 _ASBOX
13135 ) |
13136 sed "s/^/$as_me: WARNING: /" >&2
13137 ;;
13138 esac
13139 echo "$as_me:$LINENO: checking for $ac_header" >&5
13140 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13142 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 else
13144 eval "$as_ac_Header=$ac_header_preproc"
13145 fi
13146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13148
13149 fi
13150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13151 cat >>confdefs.h <<_ACEOF
13152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13153 _ACEOF
13154
13155 fi
13156
13157 done
13158
13159
13160 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13161
13162 for ac_func in fnmatch
13163 do
13164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13165 echo "$as_me:$LINENO: checking for $ac_func" >&5
13166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13167 if eval "test \"\${$as_ac_var+set}\" = set"; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13169 else
13170 cat >conftest.$ac_ext <<_ACEOF
13171 #line $LINENO "configure"
13172 /* confdefs.h. */
13173 _ACEOF
13174 cat confdefs.h >>conftest.$ac_ext
13175 cat >>conftest.$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 /* System header to define __stub macros and hopefully few prototypes,
13178 which can conflict with char $ac_func (); below.
13179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13180 <limits.h> exists even on freestanding compilers. */
13181 #ifdef __STDC__
13182 # include <limits.h>
13183 #else
13184 # include <assert.h>
13185 #endif
13186 /* Override any gcc2 internal prototype to avoid an error. */
13187 #ifdef __cplusplus
13188 extern "C"
13189 {
13190 #endif
13191 /* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13193 char $ac_func ();
13194 /* The GNU C library defines this for functions which it implements
13195 to always fail with ENOSYS. Some functions are actually named
13196 something starting with __ and the normal name is an alias. */
13197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13198 choke me
13199 #else
13200 char (*f) () = $ac_func;
13201 #endif
13202 #ifdef __cplusplus
13203 }
13204 #endif
13205
13206 int
13207 main ()
13208 {
13209 return f != $ac_func;
13210 ;
13211 return 0;
13212 }
13213 _ACEOF
13214 rm -f conftest.$ac_objext conftest$ac_exeext
13215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13216 (eval $ac_link) 2>&5
13217 ac_status=$?
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try='test -s conftest$ac_exeext'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13223 ac_status=$?
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; }; then
13226 eval "$as_ac_var=yes"
13227 else
13228 echo "$as_me: failed program was:" >&5
13229 sed 's/^/| /' conftest.$ac_ext >&5
13230
13231 eval "$as_ac_var=no"
13232 fi
13233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13234 fi
13235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13237 if test `eval echo '${'$as_ac_var'}'` = yes; then
13238 cat >>confdefs.h <<_ACEOF
13239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13240 _ACEOF
13241
13242 fi
13243 done
13244
13245 fi
13246
13247
13248 for ac_header in langinfo.h
13249 do
13250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13252 echo "$as_me:$LINENO: checking for $ac_header" >&5
13253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 fi
13257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13259 else
13260 # Is the header compilable?
13261 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13262 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13263 cat >conftest.$ac_ext <<_ACEOF
13264 #line $LINENO "configure"
13265 /* confdefs.h. */
13266 _ACEOF
13267 cat confdefs.h >>conftest.$ac_ext
13268 cat >>conftest.$ac_ext <<_ACEOF
13269 /* end confdefs.h. */
13270 $ac_includes_default
13271 #include <$ac_header>
13272 _ACEOF
13273 rm -f conftest.$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>&5
13276 ac_status=$?
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try='test -s conftest.$ac_objext'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13282 ac_status=$?
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; }; then
13285 ac_header_compiler=yes
13286 else
13287 echo "$as_me: failed program was:" >&5
13288 sed 's/^/| /' conftest.$ac_ext >&5
13289
13290 ac_header_compiler=no
13291 fi
13292 rm -f conftest.$ac_objext conftest.$ac_ext
13293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13294 echo "${ECHO_T}$ac_header_compiler" >&6
13295
13296 # Is the header present?
13297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13299 cat >conftest.$ac_ext <<_ACEOF
13300 #line $LINENO "configure"
13301 /* confdefs.h. */
13302 _ACEOF
13303 cat confdefs.h >>conftest.$ac_ext
13304 cat >>conftest.$ac_ext <<_ACEOF
13305 /* end confdefs.h. */
13306 #include <$ac_header>
13307 _ACEOF
13308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13310 ac_status=$?
13311 grep -v '^ *+' conftest.er1 >conftest.err
13312 rm -f conftest.er1
13313 cat conftest.err >&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); } >/dev/null; then
13316 if test -s conftest.err; then
13317 ac_cpp_err=$ac_c_preproc_warn_flag
13318 else
13319 ac_cpp_err=
13320 fi
13321 else
13322 ac_cpp_err=yes
13323 fi
13324 if test -z "$ac_cpp_err"; then
13325 ac_header_preproc=yes
13326 else
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.$ac_ext >&5
13329
13330 ac_header_preproc=no
13331 fi
13332 rm -f conftest.err conftest.$ac_ext
13333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13334 echo "${ECHO_T}$ac_header_preproc" >&6
13335
13336 # So? What about this header?
13337 case $ac_header_compiler:$ac_header_preproc in
13338 yes:no )
13339 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13343 (
13344 cat <<\_ASBOX
13345 ## ------------------------------------ ##
13346 ## Report this to bug-autoconf@gnu.org. ##
13347 ## ------------------------------------ ##
13348 _ASBOX
13349 ) |
13350 sed "s/^/$as_me: WARNING: /" >&2
13351 ;;
13352 no:yes )
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13359 (
13360 cat <<\_ASBOX
13361 ## ------------------------------------ ##
13362 ## Report this to bug-autoconf@gnu.org. ##
13363 ## ------------------------------------ ##
13364 _ASBOX
13365 ) |
13366 sed "s/^/$as_me: WARNING: /" >&2
13367 ;;
13368 esac
13369 echo "$as_me:$LINENO: checking for $ac_header" >&5
13370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 else
13374 eval "$as_ac_Header=$ac_header_preproc"
13375 fi
13376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13378
13379 fi
13380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13381 cat >>confdefs.h <<_ACEOF
13382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13383 _ACEOF
13384
13385 fi
13386
13387 done
13388
13389
13390 case "${host}" in
13391 *-pc-os2_emx | *-pc-os2-emx )
13392 if test $ac_cv_header_langinfo_h = "yes"; then
13393 LIBS="$LIBS -lintl"
13394 fi
13395 ;;
13396 esac
13397
13398 if test "$wxUSE_GUI" = "yes"; then
13399 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13400
13401 for ac_header in X11/Xlib.h
13402 do
13403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13405 echo "$as_me:$LINENO: checking for $ac_header" >&5
13406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 fi
13410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13412 else
13413 # Is the header compilable?
13414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13416 cat >conftest.$ac_ext <<_ACEOF
13417 #line $LINENO "configure"
13418 /* confdefs.h. */
13419 _ACEOF
13420 cat confdefs.h >>conftest.$ac_ext
13421 cat >>conftest.$ac_ext <<_ACEOF
13422 /* end confdefs.h. */
13423 $ac_includes_default
13424 #include <$ac_header>
13425 _ACEOF
13426 rm -f conftest.$ac_objext
13427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13428 (eval $ac_compile) 2>&5
13429 ac_status=$?
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } &&
13432 { ac_try='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13435 ac_status=$?
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 ac_header_compiler=yes
13439 else
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13442
13443 ac_header_compiler=no
13444 fi
13445 rm -f conftest.$ac_objext conftest.$ac_ext
13446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13447 echo "${ECHO_T}$ac_header_compiler" >&6
13448
13449 # Is the header present?
13450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13452 cat >conftest.$ac_ext <<_ACEOF
13453 #line $LINENO "configure"
13454 /* confdefs.h. */
13455 _ACEOF
13456 cat confdefs.h >>conftest.$ac_ext
13457 cat >>conftest.$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 #include <$ac_header>
13460 _ACEOF
13461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13463 ac_status=$?
13464 grep -v '^ *+' conftest.er1 >conftest.err
13465 rm -f conftest.er1
13466 cat conftest.err >&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } >/dev/null; then
13469 if test -s conftest.err; then
13470 ac_cpp_err=$ac_c_preproc_warn_flag
13471 else
13472 ac_cpp_err=
13473 fi
13474 else
13475 ac_cpp_err=yes
13476 fi
13477 if test -z "$ac_cpp_err"; then
13478 ac_header_preproc=yes
13479 else
13480 echo "$as_me: failed program was:" >&5
13481 sed 's/^/| /' conftest.$ac_ext >&5
13482
13483 ac_header_preproc=no
13484 fi
13485 rm -f conftest.err conftest.$ac_ext
13486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13487 echo "${ECHO_T}$ac_header_preproc" >&6
13488
13489 # So? What about this header?
13490 case $ac_header_compiler:$ac_header_preproc in
13491 yes:no )
13492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13496 (
13497 cat <<\_ASBOX
13498 ## ------------------------------------ ##
13499 ## Report this to bug-autoconf@gnu.org. ##
13500 ## ------------------------------------ ##
13501 _ASBOX
13502 ) |
13503 sed "s/^/$as_me: WARNING: /" >&2
13504 ;;
13505 no:yes )
13506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13509 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13512 (
13513 cat <<\_ASBOX
13514 ## ------------------------------------ ##
13515 ## Report this to bug-autoconf@gnu.org. ##
13516 ## ------------------------------------ ##
13517 _ASBOX
13518 ) |
13519 sed "s/^/$as_me: WARNING: /" >&2
13520 ;;
13521 esac
13522 echo "$as_me:$LINENO: checking for $ac_header" >&5
13523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13525 echo $ECHO_N "(cached) $ECHO_C" >&6
13526 else
13527 eval "$as_ac_Header=$ac_header_preproc"
13528 fi
13529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13531
13532 fi
13533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13534 cat >>confdefs.h <<_ACEOF
13535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13536 _ACEOF
13537
13538 fi
13539
13540 done
13541
13542
13543 for ac_header in X11/XKBlib.h
13544 do
13545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13546 echo "$as_me:$LINENO: checking for $ac_header" >&5
13547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 else
13551 cat >conftest.$ac_ext <<_ACEOF
13552 #line $LINENO "configure"
13553 /* confdefs.h. */
13554 _ACEOF
13555 cat confdefs.h >>conftest.$ac_ext
13556 cat >>conftest.$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558
13559 #if HAVE_X11_XLIB_H
13560 #include <X11/Xlib.h>
13561 #endif
13562
13563
13564 #include <$ac_header>
13565 _ACEOF
13566 rm -f conftest.$ac_objext
13567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13568 (eval $ac_compile) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13575 ac_status=$?
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13578 eval "$as_ac_Header=yes"
13579 else
13580 echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.$ac_ext >&5
13582
13583 eval "$as_ac_Header=no"
13584 fi
13585 rm -f conftest.$ac_objext conftest.$ac_ext
13586 fi
13587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13590 cat >>confdefs.h <<_ACEOF
13591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13592 _ACEOF
13593
13594 fi
13595
13596 done
13597
13598 fi
13599 fi
13600
13601
13602 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13603 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13604 if test "${ac_cv_c_const+set}" = set; then
13605 echo $ECHO_N "(cached) $ECHO_C" >&6
13606 else
13607 cat >conftest.$ac_ext <<_ACEOF
13608 #line $LINENO "configure"
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614
13615 int
13616 main ()
13617 {
13618 /* FIXME: Include the comments suggested by Paul. */
13619 #ifndef __cplusplus
13620 /* Ultrix mips cc rejects this. */
13621 typedef int charset[2];
13622 const charset x;
13623 /* SunOS 4.1.1 cc rejects this. */
13624 char const *const *ccp;
13625 char **p;
13626 /* NEC SVR4.0.2 mips cc rejects this. */
13627 struct point {int x, y;};
13628 static struct point const zero = {0,0};
13629 /* AIX XL C 1.02.0.0 rejects this.
13630 It does not let you subtract one const X* pointer from another in
13631 an arm of an if-expression whose if-part is not a constant
13632 expression */
13633 const char *g = "string";
13634 ccp = &g + (g ? g-g : 0);
13635 /* HPUX 7.0 cc rejects these. */
13636 ++ccp;
13637 p = (char**) ccp;
13638 ccp = (char const *const *) p;
13639 { /* SCO 3.2v4 cc rejects this. */
13640 char *t;
13641 char const *s = 0 ? (char *) 0 : (char const *) 0;
13642
13643 *t++ = 0;
13644 }
13645 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13646 int x[] = {25, 17};
13647 const int *foo = &x[0];
13648 ++foo;
13649 }
13650 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13651 typedef const int *iptr;
13652 iptr p = 0;
13653 ++p;
13654 }
13655 { /* AIX XL C 1.02.0.0 rejects this saying
13656 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13657 struct s { int j; const int *ap[3]; };
13658 struct s *b; b->j = 5;
13659 }
13660 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13661 const int foo = 10;
13662 }
13663 #endif
13664
13665 ;
13666 return 0;
13667 }
13668 _ACEOF
13669 rm -f conftest.$ac_objext
13670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13671 (eval $ac_compile) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); } &&
13675 { ac_try='test -s conftest.$ac_objext'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13678 ac_status=$?
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 ac_cv_c_const=yes
13682 else
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13685
13686 ac_cv_c_const=no
13687 fi
13688 rm -f conftest.$ac_objext conftest.$ac_ext
13689 fi
13690 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13691 echo "${ECHO_T}$ac_cv_c_const" >&6
13692 if test $ac_cv_c_const = no; then
13693
13694 cat >>confdefs.h <<\_ACEOF
13695 #define const
13696 _ACEOF
13697
13698 fi
13699
13700 echo "$as_me:$LINENO: checking for inline" >&5
13701 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13702 if test "${ac_cv_c_inline+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13704 else
13705 ac_cv_c_inline=no
13706 for ac_kw in inline __inline__ __inline; do
13707 cat >conftest.$ac_ext <<_ACEOF
13708 #line $LINENO "configure"
13709 /* confdefs.h. */
13710 _ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 #ifndef __cplusplus
13715 typedef int foo_t;
13716 static $ac_kw foo_t static_foo () {return 0; }
13717 $ac_kw foo_t foo () {return 0; }
13718 #endif
13719
13720 _ACEOF
13721 rm -f conftest.$ac_objext
13722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13723 (eval $ac_compile) 2>&5
13724 ac_status=$?
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try='test -s conftest.$ac_objext'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; }; then
13733 ac_cv_c_inline=$ac_kw; break
13734 else
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.$ac_ext >&5
13737
13738 fi
13739 rm -f conftest.$ac_objext conftest.$ac_ext
13740 done
13741
13742 fi
13743 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13744 echo "${ECHO_T}$ac_cv_c_inline" >&6
13745 case $ac_cv_c_inline in
13746 inline | yes) ;;
13747 no)
13748 cat >>confdefs.h <<\_ACEOF
13749 #define inline
13750 _ACEOF
13751 ;;
13752 *) cat >>confdefs.h <<_ACEOF
13753 #define inline $ac_cv_c_inline
13754 _ACEOF
13755 ;;
13756 esac
13757
13758
13759 echo "$as_me:$LINENO: checking for char" >&5
13760 echo $ECHO_N "checking for char... $ECHO_C" >&6
13761 if test "${ac_cv_type_char+set}" = set; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 else
13764 cat >conftest.$ac_ext <<_ACEOF
13765 #line $LINENO "configure"
13766 /* confdefs.h. */
13767 _ACEOF
13768 cat confdefs.h >>conftest.$ac_ext
13769 cat >>conftest.$ac_ext <<_ACEOF
13770 /* end confdefs.h. */
13771 $ac_includes_default
13772 int
13773 main ()
13774 {
13775 if ((char *) 0)
13776 return 0;
13777 if (sizeof (char))
13778 return 0;
13779 ;
13780 return 0;
13781 }
13782 _ACEOF
13783 rm -f conftest.$ac_objext
13784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); } &&
13789 { ac_try='test -s conftest.$ac_objext'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13792 ac_status=$?
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; }; then
13795 ac_cv_type_char=yes
13796 else
13797 echo "$as_me: failed program was:" >&5
13798 sed 's/^/| /' conftest.$ac_ext >&5
13799
13800 ac_cv_type_char=no
13801 fi
13802 rm -f conftest.$ac_objext conftest.$ac_ext
13803 fi
13804 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13805 echo "${ECHO_T}$ac_cv_type_char" >&6
13806
13807 echo "$as_me:$LINENO: checking size of char" >&5
13808 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13809 if test "${ac_cv_sizeof_char+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 else
13812 if test "$ac_cv_type_char" = yes; then
13813 # The cast to unsigned long works around a bug in the HP C Compiler
13814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13816 # This bug is HP SR number 8606223364.
13817 if test "$cross_compiling" = yes; then
13818 # Depending upon the size, compute the lo and hi bounds.
13819 cat >conftest.$ac_ext <<_ACEOF
13820 #line $LINENO "configure"
13821 /* confdefs.h. */
13822 _ACEOF
13823 cat confdefs.h >>conftest.$ac_ext
13824 cat >>conftest.$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13826 $ac_includes_default
13827 int
13828 main ()
13829 {
13830 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13831 test_array [0] = 0
13832
13833 ;
13834 return 0;
13835 }
13836 _ACEOF
13837 rm -f conftest.$ac_objext
13838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13839 (eval $ac_compile) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } &&
13843 { ac_try='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 ac_lo=0 ac_mid=0
13850 while :; do
13851 cat >conftest.$ac_ext <<_ACEOF
13852 #line $LINENO "configure"
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858 $ac_includes_default
13859 int
13860 main ()
13861 {
13862 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13863 test_array [0] = 0
13864
13865 ;
13866 return 0;
13867 }
13868 _ACEOF
13869 rm -f conftest.$ac_objext
13870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13871 (eval $ac_compile) 2>&5
13872 ac_status=$?
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } &&
13875 { ac_try='test -s conftest.$ac_objext'
13876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877 (eval $ac_try) 2>&5
13878 ac_status=$?
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); }; }; then
13881 ac_hi=$ac_mid; break
13882 else
13883 echo "$as_me: failed program was:" >&5
13884 sed 's/^/| /' conftest.$ac_ext >&5
13885
13886 ac_lo=`expr $ac_mid + 1`
13887 if test $ac_lo -le $ac_mid; then
13888 ac_lo= ac_hi=
13889 break
13890 fi
13891 ac_mid=`expr 2 '*' $ac_mid + 1`
13892 fi
13893 rm -f conftest.$ac_objext conftest.$ac_ext
13894 done
13895 else
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.$ac_ext >&5
13898
13899 cat >conftest.$ac_ext <<_ACEOF
13900 #line $LINENO "configure"
13901 /* confdefs.h. */
13902 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 $ac_includes_default
13907 int
13908 main ()
13909 {
13910 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13911 test_array [0] = 0
13912
13913 ;
13914 return 0;
13915 }
13916 _ACEOF
13917 rm -f conftest.$ac_objext
13918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13919 (eval $ac_compile) 2>&5
13920 ac_status=$?
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } &&
13923 { ac_try='test -s conftest.$ac_objext'
13924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13926 ac_status=$?
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); }; }; then
13929 ac_hi=-1 ac_mid=-1
13930 while :; do
13931 cat >conftest.$ac_ext <<_ACEOF
13932 #line $LINENO "configure"
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 $ac_includes_default
13939 int
13940 main ()
13941 {
13942 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13943 test_array [0] = 0
13944
13945 ;
13946 return 0;
13947 }
13948 _ACEOF
13949 rm -f conftest.$ac_objext
13950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13951 (eval $ac_compile) 2>&5
13952 ac_status=$?
13953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954 (exit $ac_status); } &&
13955 { ac_try='test -s conftest.$ac_objext'
13956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13957 (eval $ac_try) 2>&5
13958 ac_status=$?
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); }; }; then
13961 ac_lo=$ac_mid; break
13962 else
13963 echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.$ac_ext >&5
13965
13966 ac_hi=`expr '(' $ac_mid ')' - 1`
13967 if test $ac_mid -le $ac_hi; then
13968 ac_lo= ac_hi=
13969 break
13970 fi
13971 ac_mid=`expr 2 '*' $ac_mid`
13972 fi
13973 rm -f conftest.$ac_objext conftest.$ac_ext
13974 done
13975 else
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.$ac_ext >&5
13978
13979 ac_lo= ac_hi=
13980 fi
13981 rm -f conftest.$ac_objext conftest.$ac_ext
13982 fi
13983 rm -f conftest.$ac_objext conftest.$ac_ext
13984 # Binary search between lo and hi bounds.
13985 while test "x$ac_lo" != "x$ac_hi"; do
13986 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13987 cat >conftest.$ac_ext <<_ACEOF
13988 #line $LINENO "configure"
13989 /* confdefs.h. */
13990 _ACEOF
13991 cat confdefs.h >>conftest.$ac_ext
13992 cat >>conftest.$ac_ext <<_ACEOF
13993 /* end confdefs.h. */
13994 $ac_includes_default
13995 int
13996 main ()
13997 {
13998 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13999 test_array [0] = 0
14000
14001 ;
14002 return 0;
14003 }
14004 _ACEOF
14005 rm -f conftest.$ac_objext
14006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14007 (eval $ac_compile) 2>&5
14008 ac_status=$?
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } &&
14011 { ac_try='test -s conftest.$ac_objext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14014 ac_status=$?
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 ac_hi=$ac_mid
14018 else
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.$ac_ext >&5
14021
14022 ac_lo=`expr '(' $ac_mid ')' + 1`
14023 fi
14024 rm -f conftest.$ac_objext conftest.$ac_ext
14025 done
14026 case $ac_lo in
14027 ?*) ac_cv_sizeof_char=$ac_lo;;
14028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14029 See \`config.log' for more details." >&5
14030 echo "$as_me: error: cannot compute sizeof (char), 77
14031 See \`config.log' for more details." >&2;}
14032 { (exit 1); exit 1; }; } ;;
14033 esac
14034 else
14035 if test "$cross_compiling" = yes; then
14036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14037 See \`config.log' for more details." >&5
14038 echo "$as_me: error: cannot run test program while cross compiling
14039 See \`config.log' for more details." >&2;}
14040 { (exit 1); exit 1; }; }
14041 else
14042 cat >conftest.$ac_ext <<_ACEOF
14043 #line $LINENO "configure"
14044 /* confdefs.h. */
14045 _ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049 $ac_includes_default
14050 long longval () { return (long) (sizeof (char)); }
14051 unsigned long ulongval () { return (long) (sizeof (char)); }
14052 #include <stdio.h>
14053 #include <stdlib.h>
14054 int
14055 main ()
14056 {
14057
14058 FILE *f = fopen ("conftest.val", "w");
14059 if (! f)
14060 exit (1);
14061 if (((long) (sizeof (char))) < 0)
14062 {
14063 long i = longval ();
14064 if (i != ((long) (sizeof (char))))
14065 exit (1);
14066 fprintf (f, "%ld\n", i);
14067 }
14068 else
14069 {
14070 unsigned long i = ulongval ();
14071 if (i != ((long) (sizeof (char))))
14072 exit (1);
14073 fprintf (f, "%lu\n", i);
14074 }
14075 exit (ferror (f) || fclose (f) != 0);
14076
14077 ;
14078 return 0;
14079 }
14080 _ACEOF
14081 rm -f conftest$ac_exeext
14082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14083 (eval $ac_link) 2>&5
14084 ac_status=$?
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14088 (eval $ac_try) 2>&5
14089 ac_status=$?
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); }; }; then
14092 ac_cv_sizeof_char=`cat conftest.val`
14093 else
14094 echo "$as_me: program exited with status $ac_status" >&5
14095 echo "$as_me: failed program was:" >&5
14096 sed 's/^/| /' conftest.$ac_ext >&5
14097
14098 ( exit $ac_status )
14099 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14100 See \`config.log' for more details." >&5
14101 echo "$as_me: error: cannot compute sizeof (char), 77
14102 See \`config.log' for more details." >&2;}
14103 { (exit 1); exit 1; }; }
14104 fi
14105 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14106 fi
14107 fi
14108 rm -f conftest.val
14109 else
14110 ac_cv_sizeof_char=0
14111 fi
14112 fi
14113 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14114 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14115 cat >>confdefs.h <<_ACEOF
14116 #define SIZEOF_CHAR $ac_cv_sizeof_char
14117 _ACEOF
14118
14119
14120 echo "$as_me:$LINENO: checking for short" >&5
14121 echo $ECHO_N "checking for short... $ECHO_C" >&6
14122 if test "${ac_cv_type_short+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 cat >conftest.$ac_ext <<_ACEOF
14126 #line $LINENO "configure"
14127 /* confdefs.h. */
14128 _ACEOF
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 $ac_includes_default
14133 int
14134 main ()
14135 {
14136 if ((short *) 0)
14137 return 0;
14138 if (sizeof (short))
14139 return 0;
14140 ;
14141 return 0;
14142 }
14143 _ACEOF
14144 rm -f conftest.$ac_objext
14145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14146 (eval $ac_compile) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } &&
14150 { ac_try='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14153 ac_status=$?
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14156 ac_cv_type_short=yes
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14160
14161 ac_cv_type_short=no
14162 fi
14163 rm -f conftest.$ac_objext conftest.$ac_ext
14164 fi
14165 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14166 echo "${ECHO_T}$ac_cv_type_short" >&6
14167
14168 echo "$as_me:$LINENO: checking size of short" >&5
14169 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14170 if test "${ac_cv_sizeof_short+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 else
14173 if test "$ac_cv_type_short" = yes; then
14174 # The cast to unsigned long works around a bug in the HP C Compiler
14175 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14176 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14177 # This bug is HP SR number 8606223364.
14178 if test "$cross_compiling" = yes; then
14179 # Depending upon the size, compute the lo and hi bounds.
14180 cat >conftest.$ac_ext <<_ACEOF
14181 #line $LINENO "configure"
14182 /* confdefs.h. */
14183 _ACEOF
14184 cat confdefs.h >>conftest.$ac_ext
14185 cat >>conftest.$ac_ext <<_ACEOF
14186 /* end confdefs.h. */
14187 $ac_includes_default
14188 int
14189 main ()
14190 {
14191 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14192 test_array [0] = 0
14193
14194 ;
14195 return 0;
14196 }
14197 _ACEOF
14198 rm -f conftest.$ac_objext
14199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14200 (eval $ac_compile) 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } &&
14204 { ac_try='test -s conftest.$ac_objext'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14207 ac_status=$?
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; }; then
14210 ac_lo=0 ac_mid=0
14211 while :; do
14212 cat >conftest.$ac_ext <<_ACEOF
14213 #line $LINENO "configure"
14214 /* confdefs.h. */
14215 _ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 $ac_includes_default
14220 int
14221 main ()
14222 {
14223 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14224 test_array [0] = 0
14225
14226 ;
14227 return 0;
14228 }
14229 _ACEOF
14230 rm -f conftest.$ac_objext
14231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14232 (eval $ac_compile) 2>&5
14233 ac_status=$?
14234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235 (exit $ac_status); } &&
14236 { ac_try='test -s conftest.$ac_objext'
14237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14238 (eval $ac_try) 2>&5
14239 ac_status=$?
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); }; }; then
14242 ac_hi=$ac_mid; break
14243 else
14244 echo "$as_me: failed program was:" >&5
14245 sed 's/^/| /' conftest.$ac_ext >&5
14246
14247 ac_lo=`expr $ac_mid + 1`
14248 if test $ac_lo -le $ac_mid; then
14249 ac_lo= ac_hi=
14250 break
14251 fi
14252 ac_mid=`expr 2 '*' $ac_mid + 1`
14253 fi
14254 rm -f conftest.$ac_objext conftest.$ac_ext
14255 done
14256 else
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14259
14260 cat >conftest.$ac_ext <<_ACEOF
14261 #line $LINENO "configure"
14262 /* confdefs.h. */
14263 _ACEOF
14264 cat confdefs.h >>conftest.$ac_ext
14265 cat >>conftest.$ac_ext <<_ACEOF
14266 /* end confdefs.h. */
14267 $ac_includes_default
14268 int
14269 main ()
14270 {
14271 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14272 test_array [0] = 0
14273
14274 ;
14275 return 0;
14276 }
14277 _ACEOF
14278 rm -f conftest.$ac_objext
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try='test -s conftest.$ac_objext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14287 ac_status=$?
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_hi=-1 ac_mid=-1
14291 while :; do
14292 cat >conftest.$ac_ext <<_ACEOF
14293 #line $LINENO "configure"
14294 /* confdefs.h. */
14295 _ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 $ac_includes_default
14300 int
14301 main ()
14302 {
14303 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14304 test_array [0] = 0
14305
14306 ;
14307 return 0;
14308 }
14309 _ACEOF
14310 rm -f conftest.$ac_objext
14311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14312 (eval $ac_compile) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); } &&
14316 { ac_try='test -s conftest.$ac_objext'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14319 ac_status=$?
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; }; then
14322 ac_lo=$ac_mid; break
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14326
14327 ac_hi=`expr '(' $ac_mid ')' - 1`
14328 if test $ac_mid -le $ac_hi; then
14329 ac_lo= ac_hi=
14330 break
14331 fi
14332 ac_mid=`expr 2 '*' $ac_mid`
14333 fi
14334 rm -f conftest.$ac_objext conftest.$ac_ext
14335 done
14336 else
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.$ac_ext >&5
14339
14340 ac_lo= ac_hi=
14341 fi
14342 rm -f conftest.$ac_objext conftest.$ac_ext
14343 fi
14344 rm -f conftest.$ac_objext conftest.$ac_ext
14345 # Binary search between lo and hi bounds.
14346 while test "x$ac_lo" != "x$ac_hi"; do
14347 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14348 cat >conftest.$ac_ext <<_ACEOF
14349 #line $LINENO "configure"
14350 /* confdefs.h. */
14351 _ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 $ac_includes_default
14356 int
14357 main ()
14358 {
14359 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14360 test_array [0] = 0
14361
14362 ;
14363 return 0;
14364 }
14365 _ACEOF
14366 rm -f conftest.$ac_objext
14367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14368 (eval $ac_compile) 2>&5
14369 ac_status=$?
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } &&
14372 { ac_try='test -s conftest.$ac_objext'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14375 ac_status=$?
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; }; then
14378 ac_hi=$ac_mid
14379 else
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.$ac_ext >&5
14382
14383 ac_lo=`expr '(' $ac_mid ')' + 1`
14384 fi
14385 rm -f conftest.$ac_objext conftest.$ac_ext
14386 done
14387 case $ac_lo in
14388 ?*) ac_cv_sizeof_short=$ac_lo;;
14389 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14390 See \`config.log' for more details." >&5
14391 echo "$as_me: error: cannot compute sizeof (short), 77
14392 See \`config.log' for more details." >&2;}
14393 { (exit 1); exit 1; }; } ;;
14394 esac
14395 else
14396 if test "$cross_compiling" = yes; then
14397 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14398 See \`config.log' for more details." >&5
14399 echo "$as_me: error: cannot run test program while cross compiling
14400 See \`config.log' for more details." >&2;}
14401 { (exit 1); exit 1; }; }
14402 else
14403 cat >conftest.$ac_ext <<_ACEOF
14404 #line $LINENO "configure"
14405 /* confdefs.h. */
14406 _ACEOF
14407 cat confdefs.h >>conftest.$ac_ext
14408 cat >>conftest.$ac_ext <<_ACEOF
14409 /* end confdefs.h. */
14410 $ac_includes_default
14411 long longval () { return (long) (sizeof (short)); }
14412 unsigned long ulongval () { return (long) (sizeof (short)); }
14413 #include <stdio.h>
14414 #include <stdlib.h>
14415 int
14416 main ()
14417 {
14418
14419 FILE *f = fopen ("conftest.val", "w");
14420 if (! f)
14421 exit (1);
14422 if (((long) (sizeof (short))) < 0)
14423 {
14424 long i = longval ();
14425 if (i != ((long) (sizeof (short))))
14426 exit (1);
14427 fprintf (f, "%ld\n", i);
14428 }
14429 else
14430 {
14431 unsigned long i = ulongval ();
14432 if (i != ((long) (sizeof (short))))
14433 exit (1);
14434 fprintf (f, "%lu\n", i);
14435 }
14436 exit (ferror (f) || fclose (f) != 0);
14437
14438 ;
14439 return 0;
14440 }
14441 _ACEOF
14442 rm -f conftest$ac_exeext
14443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14444 (eval $ac_link) 2>&5
14445 ac_status=$?
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14449 (eval $ac_try) 2>&5
14450 ac_status=$?
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); }; }; then
14453 ac_cv_sizeof_short=`cat conftest.val`
14454 else
14455 echo "$as_me: program exited with status $ac_status" >&5
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.$ac_ext >&5
14458
14459 ( exit $ac_status )
14460 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14461 See \`config.log' for more details." >&5
14462 echo "$as_me: error: cannot compute sizeof (short), 77
14463 See \`config.log' for more details." >&2;}
14464 { (exit 1); exit 1; }; }
14465 fi
14466 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14467 fi
14468 fi
14469 rm -f conftest.val
14470 else
14471 ac_cv_sizeof_short=0
14472 fi
14473 fi
14474 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14475 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14476 cat >>confdefs.h <<_ACEOF
14477 #define SIZEOF_SHORT $ac_cv_sizeof_short
14478 _ACEOF
14479
14480
14481 echo "$as_me:$LINENO: checking for void *" >&5
14482 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14483 if test "${ac_cv_type_void_p+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14485 else
14486 cat >conftest.$ac_ext <<_ACEOF
14487 #line $LINENO "configure"
14488 /* confdefs.h. */
14489 _ACEOF
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493 $ac_includes_default
14494 int
14495 main ()
14496 {
14497 if ((void * *) 0)
14498 return 0;
14499 if (sizeof (void *))
14500 return 0;
14501 ;
14502 return 0;
14503 }
14504 _ACEOF
14505 rm -f conftest.$ac_objext
14506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14507 (eval $ac_compile) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -s conftest.$ac_objext'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14514 ac_status=$?
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; }; then
14517 ac_cv_type_void_p=yes
14518 else
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14521
14522 ac_cv_type_void_p=no
14523 fi
14524 rm -f conftest.$ac_objext conftest.$ac_ext
14525 fi
14526 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14527 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14528
14529 echo "$as_me:$LINENO: checking size of void *" >&5
14530 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14531 if test "${ac_cv_sizeof_void_p+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 else
14534 if test "$ac_cv_type_void_p" = yes; then
14535 # The cast to unsigned long works around a bug in the HP C Compiler
14536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14538 # This bug is HP SR number 8606223364.
14539 if test "$cross_compiling" = yes; then
14540 # Depending upon the size, compute the lo and hi bounds.
14541 cat >conftest.$ac_ext <<_ACEOF
14542 #line $LINENO "configure"
14543 /* confdefs.h. */
14544 _ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 $ac_includes_default
14549 int
14550 main ()
14551 {
14552 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14553 test_array [0] = 0
14554
14555 ;
14556 return 0;
14557 }
14558 _ACEOF
14559 rm -f conftest.$ac_objext
14560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14561 (eval $ac_compile) 2>&5
14562 ac_status=$?
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 ac_lo=0 ac_mid=0
14572 while :; do
14573 cat >conftest.$ac_ext <<_ACEOF
14574 #line $LINENO "configure"
14575 /* confdefs.h. */
14576 _ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 $ac_includes_default
14581 int
14582 main ()
14583 {
14584 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14585 test_array [0] = 0
14586
14587 ;
14588 return 0;
14589 }
14590 _ACEOF
14591 rm -f conftest.$ac_objext
14592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14593 (eval $ac_compile) 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } &&
14597 { ac_try='test -s conftest.$ac_objext'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14600 ac_status=$?
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; }; then
14603 ac_hi=$ac_mid; break
14604 else
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.$ac_ext >&5
14607
14608 ac_lo=`expr $ac_mid + 1`
14609 if test $ac_lo -le $ac_mid; then
14610 ac_lo= ac_hi=
14611 break
14612 fi
14613 ac_mid=`expr 2 '*' $ac_mid + 1`
14614 fi
14615 rm -f conftest.$ac_objext conftest.$ac_ext
14616 done
14617 else
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.$ac_ext >&5
14620
14621 cat >conftest.$ac_ext <<_ACEOF
14622 #line $LINENO "configure"
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 $ac_includes_default
14629 int
14630 main ()
14631 {
14632 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14633 test_array [0] = 0
14634
14635 ;
14636 return 0;
14637 }
14638 _ACEOF
14639 rm -f conftest.$ac_objext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14641 (eval $ac_compile) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } &&
14645 { ac_try='test -s conftest.$ac_objext'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; }; then
14651 ac_hi=-1 ac_mid=-1
14652 while :; do
14653 cat >conftest.$ac_ext <<_ACEOF
14654 #line $LINENO "configure"
14655 /* confdefs.h. */
14656 _ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14660 $ac_includes_default
14661 int
14662 main ()
14663 {
14664 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14665 test_array [0] = 0
14666
14667 ;
14668 return 0;
14669 }
14670 _ACEOF
14671 rm -f conftest.$ac_objext
14672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14673 (eval $ac_compile) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); } &&
14677 { ac_try='test -s conftest.$ac_objext'
14678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14679 (eval $ac_try) 2>&5
14680 ac_status=$?
14681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14682 (exit $ac_status); }; }; then
14683 ac_lo=$ac_mid; break
14684 else
14685 echo "$as_me: failed program was:" >&5
14686 sed 's/^/| /' conftest.$ac_ext >&5
14687
14688 ac_hi=`expr '(' $ac_mid ')' - 1`
14689 if test $ac_mid -le $ac_hi; then
14690 ac_lo= ac_hi=
14691 break
14692 fi
14693 ac_mid=`expr 2 '*' $ac_mid`
14694 fi
14695 rm -f conftest.$ac_objext conftest.$ac_ext
14696 done
14697 else
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14700
14701 ac_lo= ac_hi=
14702 fi
14703 rm -f conftest.$ac_objext conftest.$ac_ext
14704 fi
14705 rm -f conftest.$ac_objext conftest.$ac_ext
14706 # Binary search between lo and hi bounds.
14707 while test "x$ac_lo" != "x$ac_hi"; do
14708 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14709 cat >conftest.$ac_ext <<_ACEOF
14710 #line $LINENO "configure"
14711 /* confdefs.h. */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 $ac_includes_default
14717 int
14718 main ()
14719 {
14720 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14721 test_array [0] = 0
14722
14723 ;
14724 return 0;
14725 }
14726 _ACEOF
14727 rm -f conftest.$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>&5
14730 ac_status=$?
14731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); } &&
14733 { ac_try='test -s conftest.$ac_objext'
14734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 (eval $ac_try) 2>&5
14736 ac_status=$?
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); }; }; then
14739 ac_hi=$ac_mid
14740 else
14741 echo "$as_me: failed program was:" >&5
14742 sed 's/^/| /' conftest.$ac_ext >&5
14743
14744 ac_lo=`expr '(' $ac_mid ')' + 1`
14745 fi
14746 rm -f conftest.$ac_objext conftest.$ac_ext
14747 done
14748 case $ac_lo in
14749 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14750 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14751 See \`config.log' for more details." >&5
14752 echo "$as_me: error: cannot compute sizeof (void *), 77
14753 See \`config.log' for more details." >&2;}
14754 { (exit 1); exit 1; }; } ;;
14755 esac
14756 else
14757 if test "$cross_compiling" = yes; then
14758 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14759 See \`config.log' for more details." >&5
14760 echo "$as_me: error: cannot run test program while cross compiling
14761 See \`config.log' for more details." >&2;}
14762 { (exit 1); exit 1; }; }
14763 else
14764 cat >conftest.$ac_ext <<_ACEOF
14765 #line $LINENO "configure"
14766 /* confdefs.h. */
14767 _ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771 $ac_includes_default
14772 long longval () { return (long) (sizeof (void *)); }
14773 unsigned long ulongval () { return (long) (sizeof (void *)); }
14774 #include <stdio.h>
14775 #include <stdlib.h>
14776 int
14777 main ()
14778 {
14779
14780 FILE *f = fopen ("conftest.val", "w");
14781 if (! f)
14782 exit (1);
14783 if (((long) (sizeof (void *))) < 0)
14784 {
14785 long i = longval ();
14786 if (i != ((long) (sizeof (void *))))
14787 exit (1);
14788 fprintf (f, "%ld\n", i);
14789 }
14790 else
14791 {
14792 unsigned long i = ulongval ();
14793 if (i != ((long) (sizeof (void *))))
14794 exit (1);
14795 fprintf (f, "%lu\n", i);
14796 }
14797 exit (ferror (f) || fclose (f) != 0);
14798
14799 ;
14800 return 0;
14801 }
14802 _ACEOF
14803 rm -f conftest$ac_exeext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14805 (eval $ac_link) 2>&5
14806 ac_status=$?
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 ac_cv_sizeof_void_p=`cat conftest.val`
14815 else
14816 echo "$as_me: program exited with status $ac_status" >&5
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14819
14820 ( exit $ac_status )
14821 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14822 See \`config.log' for more details." >&5
14823 echo "$as_me: error: cannot compute sizeof (void *), 77
14824 See \`config.log' for more details." >&2;}
14825 { (exit 1); exit 1; }; }
14826 fi
14827 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14828 fi
14829 fi
14830 rm -f conftest.val
14831 else
14832 ac_cv_sizeof_void_p=0
14833 fi
14834 fi
14835 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14836 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14837 cat >>confdefs.h <<_ACEOF
14838 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14839 _ACEOF
14840
14841
14842 echo "$as_me:$LINENO: checking for int" >&5
14843 echo $ECHO_N "checking for int... $ECHO_C" >&6
14844 if test "${ac_cv_type_int+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 else
14847 cat >conftest.$ac_ext <<_ACEOF
14848 #line $LINENO "configure"
14849 /* confdefs.h. */
14850 _ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 $ac_includes_default
14855 int
14856 main ()
14857 {
14858 if ((int *) 0)
14859 return 0;
14860 if (sizeof (int))
14861 return 0;
14862 ;
14863 return 0;
14864 }
14865 _ACEOF
14866 rm -f conftest.$ac_objext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14868 (eval $ac_compile) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try='test -s conftest.$ac_objext'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14875 ac_status=$?
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; }; then
14878 ac_cv_type_int=yes
14879 else
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14882
14883 ac_cv_type_int=no
14884 fi
14885 rm -f conftest.$ac_objext conftest.$ac_ext
14886 fi
14887 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14888 echo "${ECHO_T}$ac_cv_type_int" >&6
14889
14890 echo "$as_me:$LINENO: checking size of int" >&5
14891 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14892 if test "${ac_cv_sizeof_int+set}" = set; then
14893 echo $ECHO_N "(cached) $ECHO_C" >&6
14894 else
14895 if test "$ac_cv_type_int" = yes; then
14896 # The cast to unsigned long works around a bug in the HP C Compiler
14897 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14898 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14899 # This bug is HP SR number 8606223364.
14900 if test "$cross_compiling" = yes; then
14901 # Depending upon the size, compute the lo and hi bounds.
14902 cat >conftest.$ac_ext <<_ACEOF
14903 #line $LINENO "configure"
14904 /* confdefs.h. */
14905 _ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 $ac_includes_default
14910 int
14911 main ()
14912 {
14913 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14914 test_array [0] = 0
14915
14916 ;
14917 return 0;
14918 }
14919 _ACEOF
14920 rm -f conftest.$ac_objext
14921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14922 (eval $ac_compile) 2>&5
14923 ac_status=$?
14924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14925 (exit $ac_status); } &&
14926 { ac_try='test -s conftest.$ac_objext'
14927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14928 (eval $ac_try) 2>&5
14929 ac_status=$?
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); }; }; then
14932 ac_lo=0 ac_mid=0
14933 while :; do
14934 cat >conftest.$ac_ext <<_ACEOF
14935 #line $LINENO "configure"
14936 /* confdefs.h. */
14937 _ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 $ac_includes_default
14942 int
14943 main ()
14944 {
14945 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14946 test_array [0] = 0
14947
14948 ;
14949 return 0;
14950 }
14951 _ACEOF
14952 rm -f conftest.$ac_objext
14953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14954 (eval $ac_compile) 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -s conftest.$ac_objext'
14959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14960 (eval $ac_try) 2>&5
14961 ac_status=$?
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); }; }; then
14964 ac_hi=$ac_mid; break
14965 else
14966 echo "$as_me: failed program was:" >&5
14967 sed 's/^/| /' conftest.$ac_ext >&5
14968
14969 ac_lo=`expr $ac_mid + 1`
14970 if test $ac_lo -le $ac_mid; then
14971 ac_lo= ac_hi=
14972 break
14973 fi
14974 ac_mid=`expr 2 '*' $ac_mid + 1`
14975 fi
14976 rm -f conftest.$ac_objext conftest.$ac_ext
14977 done
14978 else
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14981
14982 cat >conftest.$ac_ext <<_ACEOF
14983 #line $LINENO "configure"
14984 /* confdefs.h. */
14985 _ACEOF
14986 cat confdefs.h >>conftest.$ac_ext
14987 cat >>conftest.$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14989 $ac_includes_default
14990 int
14991 main ()
14992 {
14993 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14994 test_array [0] = 0
14995
14996 ;
14997 return 0;
14998 }
14999 _ACEOF
15000 rm -f conftest.$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>&5
15003 ac_status=$?
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_hi=-1 ac_mid=-1
15013 while :; do
15014 cat >conftest.$ac_ext <<_ACEOF
15015 #line $LINENO "configure"
15016 /* confdefs.h. */
15017 _ACEOF
15018 cat confdefs.h >>conftest.$ac_ext
15019 cat >>conftest.$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 $ac_includes_default
15022 int
15023 main ()
15024 {
15025 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15026 test_array [0] = 0
15027
15028 ;
15029 return 0;
15030 }
15031 _ACEOF
15032 rm -f conftest.$ac_objext
15033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15034 (eval $ac_compile) 2>&5
15035 ac_status=$?
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -s conftest.$ac_objext'
15039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15040 (eval $ac_try) 2>&5
15041 ac_status=$?
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); }; }; then
15044 ac_lo=$ac_mid; break
15045 else
15046 echo "$as_me: failed program was:" >&5
15047 sed 's/^/| /' conftest.$ac_ext >&5
15048
15049 ac_hi=`expr '(' $ac_mid ')' - 1`
15050 if test $ac_mid -le $ac_hi; then
15051 ac_lo= ac_hi=
15052 break
15053 fi
15054 ac_mid=`expr 2 '*' $ac_mid`
15055 fi
15056 rm -f conftest.$ac_objext conftest.$ac_ext
15057 done
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15061
15062 ac_lo= ac_hi=
15063 fi
15064 rm -f conftest.$ac_objext conftest.$ac_ext
15065 fi
15066 rm -f conftest.$ac_objext conftest.$ac_ext
15067 # Binary search between lo and hi bounds.
15068 while test "x$ac_lo" != "x$ac_hi"; do
15069 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15070 cat >conftest.$ac_ext <<_ACEOF
15071 #line $LINENO "configure"
15072 /* confdefs.h. */
15073 _ACEOF
15074 cat confdefs.h >>conftest.$ac_ext
15075 cat >>conftest.$ac_ext <<_ACEOF
15076 /* end confdefs.h. */
15077 $ac_includes_default
15078 int
15079 main ()
15080 {
15081 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15082 test_array [0] = 0
15083
15084 ;
15085 return 0;
15086 }
15087 _ACEOF
15088 rm -f conftest.$ac_objext
15089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15090 (eval $ac_compile) 2>&5
15091 ac_status=$?
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try='test -s conftest.$ac_objext'
15095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15096 (eval $ac_try) 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); }; }; then
15100 ac_hi=$ac_mid
15101 else
15102 echo "$as_me: failed program was:" >&5
15103 sed 's/^/| /' conftest.$ac_ext >&5
15104
15105 ac_lo=`expr '(' $ac_mid ')' + 1`
15106 fi
15107 rm -f conftest.$ac_objext conftest.$ac_ext
15108 done
15109 case $ac_lo in
15110 ?*) ac_cv_sizeof_int=$ac_lo;;
15111 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15112 See \`config.log' for more details." >&5
15113 echo "$as_me: error: cannot compute sizeof (int), 77
15114 See \`config.log' for more details." >&2;}
15115 { (exit 1); exit 1; }; } ;;
15116 esac
15117 else
15118 if test "$cross_compiling" = yes; then
15119 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15120 See \`config.log' for more details." >&5
15121 echo "$as_me: error: cannot run test program while cross compiling
15122 See \`config.log' for more details." >&2;}
15123 { (exit 1); exit 1; }; }
15124 else
15125 cat >conftest.$ac_ext <<_ACEOF
15126 #line $LINENO "configure"
15127 /* confdefs.h. */
15128 _ACEOF
15129 cat confdefs.h >>conftest.$ac_ext
15130 cat >>conftest.$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132 $ac_includes_default
15133 long longval () { return (long) (sizeof (int)); }
15134 unsigned long ulongval () { return (long) (sizeof (int)); }
15135 #include <stdio.h>
15136 #include <stdlib.h>
15137 int
15138 main ()
15139 {
15140
15141 FILE *f = fopen ("conftest.val", "w");
15142 if (! f)
15143 exit (1);
15144 if (((long) (sizeof (int))) < 0)
15145 {
15146 long i = longval ();
15147 if (i != ((long) (sizeof (int))))
15148 exit (1);
15149 fprintf (f, "%ld\n", i);
15150 }
15151 else
15152 {
15153 unsigned long i = ulongval ();
15154 if (i != ((long) (sizeof (int))))
15155 exit (1);
15156 fprintf (f, "%lu\n", i);
15157 }
15158 exit (ferror (f) || fclose (f) != 0);
15159
15160 ;
15161 return 0;
15162 }
15163 _ACEOF
15164 rm -f conftest$ac_exeext
15165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15166 (eval $ac_link) 2>&5
15167 ac_status=$?
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15172 ac_status=$?
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; }; then
15175 ac_cv_sizeof_int=`cat conftest.val`
15176 else
15177 echo "$as_me: program exited with status $ac_status" >&5
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.$ac_ext >&5
15180
15181 ( exit $ac_status )
15182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15183 See \`config.log' for more details." >&5
15184 echo "$as_me: error: cannot compute sizeof (int), 77
15185 See \`config.log' for more details." >&2;}
15186 { (exit 1); exit 1; }; }
15187 fi
15188 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15189 fi
15190 fi
15191 rm -f conftest.val
15192 else
15193 ac_cv_sizeof_int=0
15194 fi
15195 fi
15196 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15197 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15198 cat >>confdefs.h <<_ACEOF
15199 #define SIZEOF_INT $ac_cv_sizeof_int
15200 _ACEOF
15201
15202
15203 echo "$as_me:$LINENO: checking for long" >&5
15204 echo $ECHO_N "checking for long... $ECHO_C" >&6
15205 if test "${ac_cv_type_long+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 else
15208 cat >conftest.$ac_ext <<_ACEOF
15209 #line $LINENO "configure"
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 $ac_includes_default
15216 int
15217 main ()
15218 {
15219 if ((long *) 0)
15220 return 0;
15221 if (sizeof (long))
15222 return 0;
15223 ;
15224 return 0;
15225 }
15226 _ACEOF
15227 rm -f conftest.$ac_objext
15228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15229 (eval $ac_compile) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); } &&
15233 { ac_try='test -s conftest.$ac_objext'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15236 ac_status=$?
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; }; then
15239 ac_cv_type_long=yes
15240 else
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15243
15244 ac_cv_type_long=no
15245 fi
15246 rm -f conftest.$ac_objext conftest.$ac_ext
15247 fi
15248 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15249 echo "${ECHO_T}$ac_cv_type_long" >&6
15250
15251 echo "$as_me:$LINENO: checking size of long" >&5
15252 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15253 if test "${ac_cv_sizeof_long+set}" = set; then
15254 echo $ECHO_N "(cached) $ECHO_C" >&6
15255 else
15256 if test "$ac_cv_type_long" = yes; then
15257 # The cast to unsigned long works around a bug in the HP C Compiler
15258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15260 # This bug is HP SR number 8606223364.
15261 if test "$cross_compiling" = yes; then
15262 # Depending upon the size, compute the lo and hi bounds.
15263 cat >conftest.$ac_ext <<_ACEOF
15264 #line $LINENO "configure"
15265 /* confdefs.h. */
15266 _ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 $ac_includes_default
15271 int
15272 main ()
15273 {
15274 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15275 test_array [0] = 0
15276
15277 ;
15278 return 0;
15279 }
15280 _ACEOF
15281 rm -f conftest.$ac_objext
15282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15283 (eval $ac_compile) 2>&5
15284 ac_status=$?
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try='test -s conftest.$ac_objext'
15288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15289 (eval $ac_try) 2>&5
15290 ac_status=$?
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); }; }; then
15293 ac_lo=0 ac_mid=0
15294 while :; do
15295 cat >conftest.$ac_ext <<_ACEOF
15296 #line $LINENO "configure"
15297 /* confdefs.h. */
15298 _ACEOF
15299 cat confdefs.h >>conftest.$ac_ext
15300 cat >>conftest.$ac_ext <<_ACEOF
15301 /* end confdefs.h. */
15302 $ac_includes_default
15303 int
15304 main ()
15305 {
15306 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15307 test_array [0] = 0
15308
15309 ;
15310 return 0;
15311 }
15312 _ACEOF
15313 rm -f conftest.$ac_objext
15314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15315 (eval $ac_compile) 2>&5
15316 ac_status=$?
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } &&
15319 { ac_try='test -s conftest.$ac_objext'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15322 ac_status=$?
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; }; then
15325 ac_hi=$ac_mid; break
15326 else
15327 echo "$as_me: failed program was:" >&5
15328 sed 's/^/| /' conftest.$ac_ext >&5
15329
15330 ac_lo=`expr $ac_mid + 1`
15331 if test $ac_lo -le $ac_mid; then
15332 ac_lo= ac_hi=
15333 break
15334 fi
15335 ac_mid=`expr 2 '*' $ac_mid + 1`
15336 fi
15337 rm -f conftest.$ac_objext conftest.$ac_ext
15338 done
15339 else
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15342
15343 cat >conftest.$ac_ext <<_ACEOF
15344 #line $LINENO "configure"
15345 /* confdefs.h. */
15346 _ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15350 $ac_includes_default
15351 int
15352 main ()
15353 {
15354 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15355 test_array [0] = 0
15356
15357 ;
15358 return 0;
15359 }
15360 _ACEOF
15361 rm -f conftest.$ac_objext
15362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15363 (eval $ac_compile) 2>&5
15364 ac_status=$?
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try='test -s conftest.$ac_objext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15370 ac_status=$?
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 ac_hi=-1 ac_mid=-1
15374 while :; do
15375 cat >conftest.$ac_ext <<_ACEOF
15376 #line $LINENO "configure"
15377 /* confdefs.h. */
15378 _ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 $ac_includes_default
15383 int
15384 main ()
15385 {
15386 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15387 test_array [0] = 0
15388
15389 ;
15390 return 0;
15391 }
15392 _ACEOF
15393 rm -f conftest.$ac_objext
15394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15395 (eval $ac_compile) 2>&5
15396 ac_status=$?
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15398 (exit $ac_status); } &&
15399 { ac_try='test -s conftest.$ac_objext'
15400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15401 (eval $ac_try) 2>&5
15402 ac_status=$?
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }; }; then
15405 ac_lo=$ac_mid; break
15406 else
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15409
15410 ac_hi=`expr '(' $ac_mid ')' - 1`
15411 if test $ac_mid -le $ac_hi; then
15412 ac_lo= ac_hi=
15413 break
15414 fi
15415 ac_mid=`expr 2 '*' $ac_mid`
15416 fi
15417 rm -f conftest.$ac_objext conftest.$ac_ext
15418 done
15419 else
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.$ac_ext >&5
15422
15423 ac_lo= ac_hi=
15424 fi
15425 rm -f conftest.$ac_objext conftest.$ac_ext
15426 fi
15427 rm -f conftest.$ac_objext conftest.$ac_ext
15428 # Binary search between lo and hi bounds.
15429 while test "x$ac_lo" != "x$ac_hi"; do
15430 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15431 cat >conftest.$ac_ext <<_ACEOF
15432 #line $LINENO "configure"
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438 $ac_includes_default
15439 int
15440 main ()
15441 {
15442 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15443 test_array [0] = 0
15444
15445 ;
15446 return 0;
15447 }
15448 _ACEOF
15449 rm -f conftest.$ac_objext
15450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15451 (eval $ac_compile) 2>&5
15452 ac_status=$?
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); } &&
15455 { ac_try='test -s conftest.$ac_objext'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15461 ac_hi=$ac_mid
15462 else
15463 echo "$as_me: failed program was:" >&5
15464 sed 's/^/| /' conftest.$ac_ext >&5
15465
15466 ac_lo=`expr '(' $ac_mid ')' + 1`
15467 fi
15468 rm -f conftest.$ac_objext conftest.$ac_ext
15469 done
15470 case $ac_lo in
15471 ?*) ac_cv_sizeof_long=$ac_lo;;
15472 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15473 See \`config.log' for more details." >&5
15474 echo "$as_me: error: cannot compute sizeof (long), 77
15475 See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; } ;;
15477 esac
15478 else
15479 if test "$cross_compiling" = yes; then
15480 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15481 See \`config.log' for more details." >&5
15482 echo "$as_me: error: cannot run test program while cross compiling
15483 See \`config.log' for more details." >&2;}
15484 { (exit 1); exit 1; }; }
15485 else
15486 cat >conftest.$ac_ext <<_ACEOF
15487 #line $LINENO "configure"
15488 /* confdefs.h. */
15489 _ACEOF
15490 cat confdefs.h >>conftest.$ac_ext
15491 cat >>conftest.$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 $ac_includes_default
15494 long longval () { return (long) (sizeof (long)); }
15495 unsigned long ulongval () { return (long) (sizeof (long)); }
15496 #include <stdio.h>
15497 #include <stdlib.h>
15498 int
15499 main ()
15500 {
15501
15502 FILE *f = fopen ("conftest.val", "w");
15503 if (! f)
15504 exit (1);
15505 if (((long) (sizeof (long))) < 0)
15506 {
15507 long i = longval ();
15508 if (i != ((long) (sizeof (long))))
15509 exit (1);
15510 fprintf (f, "%ld\n", i);
15511 }
15512 else
15513 {
15514 unsigned long i = ulongval ();
15515 if (i != ((long) (sizeof (long))))
15516 exit (1);
15517 fprintf (f, "%lu\n", i);
15518 }
15519 exit (ferror (f) || fclose (f) != 0);
15520
15521 ;
15522 return 0;
15523 }
15524 _ACEOF
15525 rm -f conftest$ac_exeext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15527 (eval $ac_link) 2>&5
15528 ac_status=$?
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15533 ac_status=$?
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_sizeof_long=`cat conftest.val`
15537 else
15538 echo "$as_me: program exited with status $ac_status" >&5
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15541
15542 ( exit $ac_status )
15543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15544 See \`config.log' for more details." >&5
15545 echo "$as_me: error: cannot compute sizeof (long), 77
15546 See \`config.log' for more details." >&2;}
15547 { (exit 1); exit 1; }; }
15548 fi
15549 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15550 fi
15551 fi
15552 rm -f conftest.val
15553 else
15554 ac_cv_sizeof_long=0
15555 fi
15556 fi
15557 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15558 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15559 cat >>confdefs.h <<_ACEOF
15560 #define SIZEOF_LONG $ac_cv_sizeof_long
15561 _ACEOF
15562
15563
15564
15565 case "${host}" in
15566 arm-*-linux* )
15567 echo "$as_me:$LINENO: checking for long long" >&5
15568 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15569 if test "${ac_cv_type_long_long+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 else
15572 cat >conftest.$ac_ext <<_ACEOF
15573 #line $LINENO "configure"
15574 /* confdefs.h. */
15575 _ACEOF
15576 cat confdefs.h >>conftest.$ac_ext
15577 cat >>conftest.$ac_ext <<_ACEOF
15578 /* end confdefs.h. */
15579 $ac_includes_default
15580 int
15581 main ()
15582 {
15583 if ((long long *) 0)
15584 return 0;
15585 if (sizeof (long long))
15586 return 0;
15587 ;
15588 return 0;
15589 }
15590 _ACEOF
15591 rm -f conftest.$ac_objext
15592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15593 (eval $ac_compile) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } &&
15597 { ac_try='test -s conftest.$ac_objext'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15600 ac_status=$?
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; }; then
15603 ac_cv_type_long_long=yes
15604 else
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.$ac_ext >&5
15607
15608 ac_cv_type_long_long=no
15609 fi
15610 rm -f conftest.$ac_objext conftest.$ac_ext
15611 fi
15612 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15613 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15614
15615 echo "$as_me:$LINENO: checking size of long long" >&5
15616 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15617 if test "${ac_cv_sizeof_long_long+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15619 else
15620 if test "$ac_cv_type_long_long" = yes; then
15621 # The cast to unsigned long works around a bug in the HP C Compiler
15622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15624 # This bug is HP SR number 8606223364.
15625 if test "$cross_compiling" = yes; then
15626 # Depending upon the size, compute the lo and hi bounds.
15627 cat >conftest.$ac_ext <<_ACEOF
15628 #line $LINENO "configure"
15629 /* confdefs.h. */
15630 _ACEOF
15631 cat confdefs.h >>conftest.$ac_ext
15632 cat >>conftest.$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15634 $ac_includes_default
15635 int
15636 main ()
15637 {
15638 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15639 test_array [0] = 0
15640
15641 ;
15642 return 0;
15643 }
15644 _ACEOF
15645 rm -f conftest.$ac_objext
15646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15647 (eval $ac_compile) 2>&5
15648 ac_status=$?
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } &&
15651 { ac_try='test -s conftest.$ac_objext'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15654 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; }; then
15657 ac_lo=0 ac_mid=0
15658 while :; do
15659 cat >conftest.$ac_ext <<_ACEOF
15660 #line $LINENO "configure"
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 $ac_includes_default
15667 int
15668 main ()
15669 {
15670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15671 test_array [0] = 0
15672
15673 ;
15674 return 0;
15675 }
15676 _ACEOF
15677 rm -f conftest.$ac_objext
15678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15679 (eval $ac_compile) 2>&5
15680 ac_status=$?
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); } &&
15683 { ac_try='test -s conftest.$ac_objext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15686 ac_status=$?
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_hi=$ac_mid; break
15690 else
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.$ac_ext >&5
15693
15694 ac_lo=`expr $ac_mid + 1`
15695 if test $ac_lo -le $ac_mid; then
15696 ac_lo= ac_hi=
15697 break
15698 fi
15699 ac_mid=`expr 2 '*' $ac_mid + 1`
15700 fi
15701 rm -f conftest.$ac_objext conftest.$ac_ext
15702 done
15703 else
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.$ac_ext >&5
15706
15707 cat >conftest.$ac_ext <<_ACEOF
15708 #line $LINENO "configure"
15709 /* confdefs.h. */
15710 _ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15714 $ac_includes_default
15715 int
15716 main ()
15717 {
15718 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15719 test_array [0] = 0
15720
15721 ;
15722 return 0;
15723 }
15724 _ACEOF
15725 rm -f conftest.$ac_objext
15726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727 (eval $ac_compile) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } &&
15731 { ac_try='test -s conftest.$ac_objext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15734 ac_status=$?
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 ac_hi=-1 ac_mid=-1
15738 while :; do
15739 cat >conftest.$ac_ext <<_ACEOF
15740 #line $LINENO "configure"
15741 /* confdefs.h. */
15742 _ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 $ac_includes_default
15747 int
15748 main ()
15749 {
15750 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15751 test_array [0] = 0
15752
15753 ;
15754 return 0;
15755 }
15756 _ACEOF
15757 rm -f conftest.$ac_objext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759 (eval $ac_compile) 2>&5
15760 ac_status=$?
15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15762 (exit $ac_status); } &&
15763 { ac_try='test -s conftest.$ac_objext'
15764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15765 (eval $ac_try) 2>&5
15766 ac_status=$?
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); }; }; then
15769 ac_lo=$ac_mid; break
15770 else
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15773
15774 ac_hi=`expr '(' $ac_mid ')' - 1`
15775 if test $ac_mid -le $ac_hi; then
15776 ac_lo= ac_hi=
15777 break
15778 fi
15779 ac_mid=`expr 2 '*' $ac_mid`
15780 fi
15781 rm -f conftest.$ac_objext conftest.$ac_ext
15782 done
15783 else
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15786
15787 ac_lo= ac_hi=
15788 fi
15789 rm -f conftest.$ac_objext conftest.$ac_ext
15790 fi
15791 rm -f conftest.$ac_objext conftest.$ac_ext
15792 # Binary search between lo and hi bounds.
15793 while test "x$ac_lo" != "x$ac_hi"; do
15794 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15795 cat >conftest.$ac_ext <<_ACEOF
15796 #line $LINENO "configure"
15797 /* confdefs.h. */
15798 _ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 $ac_includes_default
15803 int
15804 main ()
15805 {
15806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15807 test_array [0] = 0
15808
15809 ;
15810 return 0;
15811 }
15812 _ACEOF
15813 rm -f conftest.$ac_objext
15814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15815 (eval $ac_compile) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } &&
15819 { ac_try='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_hi=$ac_mid
15826 else
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.$ac_ext >&5
15829
15830 ac_lo=`expr '(' $ac_mid ')' + 1`
15831 fi
15832 rm -f conftest.$ac_objext conftest.$ac_ext
15833 done
15834 case $ac_lo in
15835 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15836 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15837 See \`config.log' for more details." >&5
15838 echo "$as_me: error: cannot compute sizeof (long long), 77
15839 See \`config.log' for more details." >&2;}
15840 { (exit 1); exit 1; }; } ;;
15841 esac
15842 else
15843 if test "$cross_compiling" = yes; then
15844 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15845 See \`config.log' for more details." >&5
15846 echo "$as_me: error: cannot run test program while cross compiling
15847 See \`config.log' for more details." >&2;}
15848 { (exit 1); exit 1; }; }
15849 else
15850 cat >conftest.$ac_ext <<_ACEOF
15851 #line $LINENO "configure"
15852 /* confdefs.h. */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15858 long longval () { return (long) (sizeof (long long)); }
15859 unsigned long ulongval () { return (long) (sizeof (long long)); }
15860 #include <stdio.h>
15861 #include <stdlib.h>
15862 int
15863 main ()
15864 {
15865
15866 FILE *f = fopen ("conftest.val", "w");
15867 if (! f)
15868 exit (1);
15869 if (((long) (sizeof (long long))) < 0)
15870 {
15871 long i = longval ();
15872 if (i != ((long) (sizeof (long long))))
15873 exit (1);
15874 fprintf (f, "%ld\n", i);
15875 }
15876 else
15877 {
15878 unsigned long i = ulongval ();
15879 if (i != ((long) (sizeof (long long))))
15880 exit (1);
15881 fprintf (f, "%lu\n", i);
15882 }
15883 exit (ferror (f) || fclose (f) != 0);
15884
15885 ;
15886 return 0;
15887 }
15888 _ACEOF
15889 rm -f conftest$ac_exeext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896 (eval $ac_try) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); }; }; then
15900 ac_cv_sizeof_long_long=`cat conftest.val`
15901 else
15902 echo "$as_me: program exited with status $ac_status" >&5
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 ( exit $ac_status )
15907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15908 See \`config.log' for more details." >&5
15909 echo "$as_me: error: cannot compute sizeof (long long), 77
15910 See \`config.log' for more details." >&2;}
15911 { (exit 1); exit 1; }; }
15912 fi
15913 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15914 fi
15915 fi
15916 rm -f conftest.val
15917 else
15918 ac_cv_sizeof_long_long=0
15919 fi
15920 fi
15921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15922 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15923 cat >>confdefs.h <<_ACEOF
15924 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15925 _ACEOF
15926
15927
15928 ;;
15929 *-hp-hpux* )
15930 echo "$as_me:$LINENO: checking for long long" >&5
15931 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15932 if test "${ac_cv_type_long_long+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 cat >conftest.$ac_ext <<_ACEOF
15936 #line $LINENO "configure"
15937 /* confdefs.h. */
15938 _ACEOF
15939 cat confdefs.h >>conftest.$ac_ext
15940 cat >>conftest.$ac_ext <<_ACEOF
15941 /* end confdefs.h. */
15942 $ac_includes_default
15943 int
15944 main ()
15945 {
15946 if ((long long *) 0)
15947 return 0;
15948 if (sizeof (long long))
15949 return 0;
15950 ;
15951 return 0;
15952 }
15953 _ACEOF
15954 rm -f conftest.$ac_objext
15955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15956 (eval $ac_compile) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } &&
15960 { ac_try='test -s conftest.$ac_objext'
15961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15962 (eval $ac_try) 2>&5
15963 ac_status=$?
15964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15965 (exit $ac_status); }; }; then
15966 ac_cv_type_long_long=yes
15967 else
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15970
15971 ac_cv_type_long_long=no
15972 fi
15973 rm -f conftest.$ac_objext conftest.$ac_ext
15974 fi
15975 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15976 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15977
15978 echo "$as_me:$LINENO: checking size of long long" >&5
15979 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15980 if test "${ac_cv_sizeof_long_long+set}" = set; then
15981 echo $ECHO_N "(cached) $ECHO_C" >&6
15982 else
15983 if test "$ac_cv_type_long_long" = yes; then
15984 # The cast to unsigned long works around a bug in the HP C Compiler
15985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15987 # This bug is HP SR number 8606223364.
15988 if test "$cross_compiling" = yes; then
15989 # Depending upon the size, compute the lo and hi bounds.
15990 cat >conftest.$ac_ext <<_ACEOF
15991 #line $LINENO "configure"
15992 /* confdefs.h. */
15993 _ACEOF
15994 cat confdefs.h >>conftest.$ac_ext
15995 cat >>conftest.$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997 $ac_includes_default
15998 int
15999 main ()
16000 {
16001 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16002 test_array [0] = 0
16003
16004 ;
16005 return 0;
16006 }
16007 _ACEOF
16008 rm -f conftest.$ac_objext
16009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16010 (eval $ac_compile) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 ac_lo=0 ac_mid=0
16021 while :; do
16022 cat >conftest.$ac_ext <<_ACEOF
16023 #line $LINENO "configure"
16024 /* confdefs.h. */
16025 _ACEOF
16026 cat confdefs.h >>conftest.$ac_ext
16027 cat >>conftest.$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 $ac_includes_default
16030 int
16031 main ()
16032 {
16033 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16034 test_array [0] = 0
16035
16036 ;
16037 return 0;
16038 }
16039 _ACEOF
16040 rm -f conftest.$ac_objext
16041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16042 (eval $ac_compile) 2>&5
16043 ac_status=$?
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); } &&
16046 { ac_try='test -s conftest.$ac_objext'
16047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048 (eval $ac_try) 2>&5
16049 ac_status=$?
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); }; }; then
16052 ac_hi=$ac_mid; break
16053 else
16054 echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16056
16057 ac_lo=`expr $ac_mid + 1`
16058 if test $ac_lo -le $ac_mid; then
16059 ac_lo= ac_hi=
16060 break
16061 fi
16062 ac_mid=`expr 2 '*' $ac_mid + 1`
16063 fi
16064 rm -f conftest.$ac_objext conftest.$ac_ext
16065 done
16066 else
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16069
16070 cat >conftest.$ac_ext <<_ACEOF
16071 #line $LINENO "configure"
16072 /* confdefs.h. */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16077 $ac_includes_default
16078 int
16079 main ()
16080 {
16081 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16082 test_array [0] = 0
16083
16084 ;
16085 return 0;
16086 }
16087 _ACEOF
16088 rm -f conftest.$ac_objext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090 (eval $ac_compile) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -s conftest.$ac_objext'
16095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096 (eval $ac_try) 2>&5
16097 ac_status=$?
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; }; then
16100 ac_hi=-1 ac_mid=-1
16101 while :; do
16102 cat >conftest.$ac_ext <<_ACEOF
16103 #line $LINENO "configure"
16104 /* confdefs.h. */
16105 _ACEOF
16106 cat confdefs.h >>conftest.$ac_ext
16107 cat >>conftest.$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 $ac_includes_default
16110 int
16111 main ()
16112 {
16113 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16114 test_array [0] = 0
16115
16116 ;
16117 return 0;
16118 }
16119 _ACEOF
16120 rm -f conftest.$ac_objext
16121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16122 (eval $ac_compile) 2>&5
16123 ac_status=$?
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } &&
16126 { ac_try='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16129 ac_status=$?
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 ac_lo=$ac_mid; break
16133 else
16134 echo "$as_me: failed program was:" >&5
16135 sed 's/^/| /' conftest.$ac_ext >&5
16136
16137 ac_hi=`expr '(' $ac_mid ')' - 1`
16138 if test $ac_mid -le $ac_hi; then
16139 ac_lo= ac_hi=
16140 break
16141 fi
16142 ac_mid=`expr 2 '*' $ac_mid`
16143 fi
16144 rm -f conftest.$ac_objext conftest.$ac_ext
16145 done
16146 else
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.$ac_ext >&5
16149
16150 ac_lo= ac_hi=
16151 fi
16152 rm -f conftest.$ac_objext conftest.$ac_ext
16153 fi
16154 rm -f conftest.$ac_objext conftest.$ac_ext
16155 # Binary search between lo and hi bounds.
16156 while test "x$ac_lo" != "x$ac_hi"; do
16157 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16158 cat >conftest.$ac_ext <<_ACEOF
16159 #line $LINENO "configure"
16160 /* confdefs.h. */
16161 _ACEOF
16162 cat confdefs.h >>conftest.$ac_ext
16163 cat >>conftest.$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 $ac_includes_default
16166 int
16167 main ()
16168 {
16169 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16170 test_array [0] = 0
16171
16172 ;
16173 return 0;
16174 }
16175 _ACEOF
16176 rm -f conftest.$ac_objext
16177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16178 (eval $ac_compile) 2>&5
16179 ac_status=$?
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 ac_hi=$ac_mid
16189 else
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16192
16193 ac_lo=`expr '(' $ac_mid ')' + 1`
16194 fi
16195 rm -f conftest.$ac_objext conftest.$ac_ext
16196 done
16197 case $ac_lo in
16198 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16199 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16200 See \`config.log' for more details." >&5
16201 echo "$as_me: error: cannot compute sizeof (long long), 77
16202 See \`config.log' for more details." >&2;}
16203 { (exit 1); exit 1; }; } ;;
16204 esac
16205 else
16206 if test "$cross_compiling" = yes; then
16207 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16208 See \`config.log' for more details." >&5
16209 echo "$as_me: error: cannot run test program while cross compiling
16210 See \`config.log' for more details." >&2;}
16211 { (exit 1); exit 1; }; }
16212 else
16213 cat >conftest.$ac_ext <<_ACEOF
16214 #line $LINENO "configure"
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 $ac_includes_default
16221 long longval () { return (long) (sizeof (long long)); }
16222 unsigned long ulongval () { return (long) (sizeof (long long)); }
16223 #include <stdio.h>
16224 #include <stdlib.h>
16225 int
16226 main ()
16227 {
16228
16229 FILE *f = fopen ("conftest.val", "w");
16230 if (! f)
16231 exit (1);
16232 if (((long) (sizeof (long long))) < 0)
16233 {
16234 long i = longval ();
16235 if (i != ((long) (sizeof (long long))))
16236 exit (1);
16237 fprintf (f, "%ld\n", i);
16238 }
16239 else
16240 {
16241 unsigned long i = ulongval ();
16242 if (i != ((long) (sizeof (long long))))
16243 exit (1);
16244 fprintf (f, "%lu\n", i);
16245 }
16246 exit (ferror (f) || fclose (f) != 0);
16247
16248 ;
16249 return 0;
16250 }
16251 _ACEOF
16252 rm -f conftest$ac_exeext
16253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16254 (eval $ac_link) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16260 ac_status=$?
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; }; then
16263 ac_cv_sizeof_long_long=`cat conftest.val`
16264 else
16265 echo "$as_me: program exited with status $ac_status" >&5
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16268
16269 ( exit $ac_status )
16270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16271 See \`config.log' for more details." >&5
16272 echo "$as_me: error: cannot compute sizeof (long long), 77
16273 See \`config.log' for more details." >&2;}
16274 { (exit 1); exit 1; }; }
16275 fi
16276 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16277 fi
16278 fi
16279 rm -f conftest.val
16280 else
16281 ac_cv_sizeof_long_long=0
16282 fi
16283 fi
16284 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16285 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16286 cat >>confdefs.h <<_ACEOF
16287 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16288 _ACEOF
16289
16290
16291 if test "$ac_cv_sizeof_long_long" != "0"; then
16292 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16293 fi
16294 ;;
16295 * )
16296 echo "$as_me:$LINENO: checking for long long" >&5
16297 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16298 if test "${ac_cv_type_long_long+set}" = set; then
16299 echo $ECHO_N "(cached) $ECHO_C" >&6
16300 else
16301 cat >conftest.$ac_ext <<_ACEOF
16302 #line $LINENO "configure"
16303 /* confdefs.h. */
16304 _ACEOF
16305 cat confdefs.h >>conftest.$ac_ext
16306 cat >>conftest.$ac_ext <<_ACEOF
16307 /* end confdefs.h. */
16308 $ac_includes_default
16309 int
16310 main ()
16311 {
16312 if ((long long *) 0)
16313 return 0;
16314 if (sizeof (long long))
16315 return 0;
16316 ;
16317 return 0;
16318 }
16319 _ACEOF
16320 rm -f conftest.$ac_objext
16321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16322 (eval $ac_compile) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } &&
16326 { ac_try='test -s conftest.$ac_objext'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16329 ac_status=$?
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; }; then
16332 ac_cv_type_long_long=yes
16333 else
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.$ac_ext >&5
16336
16337 ac_cv_type_long_long=no
16338 fi
16339 rm -f conftest.$ac_objext conftest.$ac_ext
16340 fi
16341 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16342 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16343
16344 echo "$as_me:$LINENO: checking size of long long" >&5
16345 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16346 if test "${ac_cv_sizeof_long_long+set}" = set; then
16347 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 else
16349 if test "$ac_cv_type_long_long" = yes; then
16350 # The cast to unsigned long works around a bug in the HP C Compiler
16351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16353 # This bug is HP SR number 8606223364.
16354 if test "$cross_compiling" = yes; then
16355 # Depending upon the size, compute the lo and hi bounds.
16356 cat >conftest.$ac_ext <<_ACEOF
16357 #line $LINENO "configure"
16358 /* confdefs.h. */
16359 _ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363 $ac_includes_default
16364 int
16365 main ()
16366 {
16367 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16368 test_array [0] = 0
16369
16370 ;
16371 return 0;
16372 }
16373 _ACEOF
16374 rm -f conftest.$ac_objext
16375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16376 (eval $ac_compile) 2>&5
16377 ac_status=$?
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16383 ac_status=$?
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 ac_lo=0 ac_mid=0
16387 while :; do
16388 cat >conftest.$ac_ext <<_ACEOF
16389 #line $LINENO "configure"
16390 /* confdefs.h. */
16391 _ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16395 $ac_includes_default
16396 int
16397 main ()
16398 {
16399 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16400 test_array [0] = 0
16401
16402 ;
16403 return 0;
16404 }
16405 _ACEOF
16406 rm -f conftest.$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16415 ac_status=$?
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 ac_hi=$ac_mid; break
16419 else
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 ac_lo=`expr $ac_mid + 1`
16424 if test $ac_lo -le $ac_mid; then
16425 ac_lo= ac_hi=
16426 break
16427 fi
16428 ac_mid=`expr 2 '*' $ac_mid + 1`
16429 fi
16430 rm -f conftest.$ac_objext conftest.$ac_ext
16431 done
16432 else
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16435
16436 cat >conftest.$ac_ext <<_ACEOF
16437 #line $LINENO "configure"
16438 /* confdefs.h. */
16439 _ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443 $ac_includes_default
16444 int
16445 main ()
16446 {
16447 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16448 test_array [0] = 0
16449
16450 ;
16451 return 0;
16452 }
16453 _ACEOF
16454 rm -f conftest.$ac_objext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16456 (eval $ac_compile) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } &&
16460 { ac_try='test -s conftest.$ac_objext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16463 ac_status=$?
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_hi=-1 ac_mid=-1
16467 while :; do
16468 cat >conftest.$ac_ext <<_ACEOF
16469 #line $LINENO "configure"
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 $ac_includes_default
16476 int
16477 main ()
16478 {
16479 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16480 test_array [0] = 0
16481
16482 ;
16483 return 0;
16484 }
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>&5
16489 ac_status=$?
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } &&
16492 { ac_try='test -s conftest.$ac_objext'
16493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16494 (eval $ac_try) 2>&5
16495 ac_status=$?
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16498 ac_lo=$ac_mid; break
16499 else
16500 echo "$as_me: failed program was:" >&5
16501 sed 's/^/| /' conftest.$ac_ext >&5
16502
16503 ac_hi=`expr '(' $ac_mid ')' - 1`
16504 if test $ac_mid -le $ac_hi; then
16505 ac_lo= ac_hi=
16506 break
16507 fi
16508 ac_mid=`expr 2 '*' $ac_mid`
16509 fi
16510 rm -f conftest.$ac_objext conftest.$ac_ext
16511 done
16512 else
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16515
16516 ac_lo= ac_hi=
16517 fi
16518 rm -f conftest.$ac_objext conftest.$ac_ext
16519 fi
16520 rm -f conftest.$ac_objext conftest.$ac_ext
16521 # Binary search between lo and hi bounds.
16522 while test "x$ac_lo" != "x$ac_hi"; do
16523 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16524 cat >conftest.$ac_ext <<_ACEOF
16525 #line $LINENO "configure"
16526 /* confdefs.h. */
16527 _ACEOF
16528 cat confdefs.h >>conftest.$ac_ext
16529 cat >>conftest.$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 $ac_includes_default
16532 int
16533 main ()
16534 {
16535 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16536 test_array [0] = 0
16537
16538 ;
16539 return 0;
16540 }
16541 _ACEOF
16542 rm -f conftest.$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try='test -s conftest.$ac_objext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 ac_hi=$ac_mid
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16558
16559 ac_lo=`expr '(' $ac_mid ')' + 1`
16560 fi
16561 rm -f conftest.$ac_objext conftest.$ac_ext
16562 done
16563 case $ac_lo in
16564 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16565 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16566 See \`config.log' for more details." >&5
16567 echo "$as_me: error: cannot compute sizeof (long long), 77
16568 See \`config.log' for more details." >&2;}
16569 { (exit 1); exit 1; }; } ;;
16570 esac
16571 else
16572 if test "$cross_compiling" = yes; then
16573 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16574 See \`config.log' for more details." >&5
16575 echo "$as_me: error: cannot run test program while cross compiling
16576 See \`config.log' for more details." >&2;}
16577 { (exit 1); exit 1; }; }
16578 else
16579 cat >conftest.$ac_ext <<_ACEOF
16580 #line $LINENO "configure"
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 $ac_includes_default
16587 long longval () { return (long) (sizeof (long long)); }
16588 unsigned long ulongval () { return (long) (sizeof (long long)); }
16589 #include <stdio.h>
16590 #include <stdlib.h>
16591 int
16592 main ()
16593 {
16594
16595 FILE *f = fopen ("conftest.val", "w");
16596 if (! f)
16597 exit (1);
16598 if (((long) (sizeof (long long))) < 0)
16599 {
16600 long i = longval ();
16601 if (i != ((long) (sizeof (long long))))
16602 exit (1);
16603 fprintf (f, "%ld\n", i);
16604 }
16605 else
16606 {
16607 unsigned long i = ulongval ();
16608 if (i != ((long) (sizeof (long long))))
16609 exit (1);
16610 fprintf (f, "%lu\n", i);
16611 }
16612 exit (ferror (f) || fclose (f) != 0);
16613
16614 ;
16615 return 0;
16616 }
16617 _ACEOF
16618 rm -f conftest$ac_exeext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16620 (eval $ac_link) 2>&5
16621 ac_status=$?
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 ac_cv_sizeof_long_long=`cat conftest.val`
16630 else
16631 echo "$as_me: program exited with status $ac_status" >&5
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16634
16635 ( exit $ac_status )
16636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16637 See \`config.log' for more details." >&5
16638 echo "$as_me: error: cannot compute sizeof (long long), 77
16639 See \`config.log' for more details." >&2;}
16640 { (exit 1); exit 1; }; }
16641 fi
16642 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16643 fi
16644 fi
16645 rm -f conftest.val
16646 else
16647 ac_cv_sizeof_long_long=0
16648 fi
16649 fi
16650 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16651 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16652 cat >>confdefs.h <<_ACEOF
16653 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16654 _ACEOF
16655
16656
16657 esac
16658
16659 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16660 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16661 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 else
16664
16665 if test "$cross_compiling" = yes; then
16666
16667 case "${host}" in
16668 *-pc-msdosdjgpp )
16669 wx_cv_sizeof_wchar_t=0
16670 ;;
16671 * )
16672 wx_cv_sizeof_wchar_t=4
16673 ;;
16674 esac
16675
16676
16677 else
16678 cat >conftest.$ac_ext <<_ACEOF
16679 #line $LINENO "configure"
16680 /* confdefs.h. */
16681 _ACEOF
16682 cat confdefs.h >>conftest.$ac_ext
16683 cat >>conftest.$ac_ext <<_ACEOF
16684 /* end confdefs.h. */
16685
16686 /* DJGPP only has fake wchar_t: */
16687 #ifdef __DJGPP__
16688 # error "fake wchar_t"
16689 #endif
16690 #ifdef HAVE_WCHAR_H
16691 # ifdef __CYGWIN__
16692 # include <stddef.h>
16693 # endif
16694 # include <wchar.h>
16695 #endif
16696 #ifdef HAVE_STDLIB_H
16697 # include <stdlib.h>
16698 #endif
16699 #include <stdio.h>
16700 int main()
16701 {
16702 FILE *f=fopen("conftestval", "w");
16703 if (!f) exit(1);
16704 fprintf(f, "%i", sizeof(wchar_t));
16705 exit(0);
16706 }
16707
16708 _ACEOF
16709 rm -f conftest$ac_exeext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16711 (eval $ac_link) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16717 ac_status=$?
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 wx_cv_sizeof_wchar_t=`cat conftestval`
16721 else
16722 echo "$as_me: program exited with status $ac_status" >&5
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 ( exit $ac_status )
16727 wx_cv_sizeof_wchar_t=0
16728 fi
16729 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16730 fi
16731
16732 fi
16733 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16734 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16735
16736 cat >>confdefs.h <<_ACEOF
16737 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16738 _ACEOF
16739
16740
16741 # Check whether --enable-largefile or --disable-largefile was given.
16742 if test "${enable_largefile+set}" = set; then
16743 enableval="$enable_largefile"
16744
16745 fi;
16746 if test "$enable_largefile" != no; then
16747 wx_largefile=no
16748
16749 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16750 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16751 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16752 echo $ECHO_N "(cached) $ECHO_C" >&6
16753 else
16754
16755 cat >conftest.$ac_ext <<_ACEOF
16756 #line $LINENO "configure"
16757 /* confdefs.h. */
16758 _ACEOF
16759 cat confdefs.h >>conftest.$ac_ext
16760 cat >>conftest.$ac_ext <<_ACEOF
16761 /* end confdefs.h. */
16762 #define _FILE_OFFSET_BITS 64
16763 #include <sys/types.h>
16764 int
16765 main ()
16766 {
16767 typedef struct {
16768 unsigned int field: sizeof(off_t) == 8;
16769 } wxlf;
16770
16771 ;
16772 return 0;
16773 }
16774 _ACEOF
16775 rm -f conftest.$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>&5
16778 ac_status=$?
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } &&
16781 { ac_try='test -s conftest.$ac_objext'
16782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16783 (eval $ac_try) 2>&5
16784 ac_status=$?
16785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786 (exit $ac_status); }; }; then
16787 ac_cv_sys_file_offset_bits=64
16788 else
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16791
16792 ac_cv_sys_file_offset_bits=no
16793 fi
16794 rm -f conftest.$ac_objext conftest.$ac_ext
16795
16796
16797 fi
16798 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16799 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16800
16801 if test "$ac_cv_sys_file_offset_bits" != no; then
16802 wx_largefile=yes
16803 cat >>confdefs.h <<_ACEOF
16804 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16805 _ACEOF
16806
16807 fi
16808
16809 if test "x$wx_largefile" != "xyes"; then
16810
16811 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16812 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16813 if test "${ac_cv_sys_large_files+set}" = set; then
16814 echo $ECHO_N "(cached) $ECHO_C" >&6
16815 else
16816
16817 cat >conftest.$ac_ext <<_ACEOF
16818 #line $LINENO "configure"
16819 /* confdefs.h. */
16820 _ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824 #define _LARGE_FILES 1
16825 #include <sys/types.h>
16826 int
16827 main ()
16828 {
16829 typedef struct {
16830 unsigned int field: sizeof(off_t) == 8;
16831 } wxlf;
16832
16833 ;
16834 return 0;
16835 }
16836 _ACEOF
16837 rm -f conftest.$ac_objext
16838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16839 (eval $ac_compile) 2>&5
16840 ac_status=$?
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } &&
16843 { ac_try='test -s conftest.$ac_objext'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16846 ac_status=$?
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; }; then
16849 ac_cv_sys_large_files=1
16850 else
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.$ac_ext >&5
16853
16854 ac_cv_sys_large_files=no
16855 fi
16856 rm -f conftest.$ac_objext conftest.$ac_ext
16857
16858
16859 fi
16860 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16861 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16862
16863 if test "$ac_cv_sys_large_files" != no; then
16864 wx_largefile=yes
16865 cat >>confdefs.h <<_ACEOF
16866 #define _LARGE_FILES $ac_cv_sys_large_files
16867 _ACEOF
16868
16869 fi
16870
16871 fi
16872
16873 echo "$as_me:$LINENO: checking if large file support is available" >&5
16874 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16875 if test "x$wx_largefile" = "xyes"; then
16876 cat >>confdefs.h <<\_ACEOF
16877 #define HAVE_LARGEFILE_SUPPORT 1
16878 _ACEOF
16879
16880 fi
16881 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16882 echo "${ECHO_T}$wx_largefile" >&6
16883 fi
16884
16885
16886 if test "x$wx_largefile" = "xyes"; then
16887 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16888 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16889 else
16890 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16891 fi
16892 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16893 fi
16894
16895 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16896 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16897 if test "${ac_cv_c_bigendian+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16899 else
16900 ac_cv_c_bigendian=unknown
16901 # See if sys/param.h defines the BYTE_ORDER macro.
16902 cat >conftest.$ac_ext <<_ACEOF
16903 #line $LINENO "configure"
16904 /* confdefs.h. */
16905 _ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 #include <sys/types.h>
16910 #include <sys/param.h>
16911 int
16912 main ()
16913 {
16914
16915 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16916 bogus endian macros
16917 #endif
16918 ;
16919 return 0;
16920 }
16921 _ACEOF
16922 rm -f conftest.$ac_objext
16923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16924 (eval $ac_compile) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } &&
16928 { ac_try='test -s conftest.$ac_objext'
16929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930 (eval $ac_try) 2>&5
16931 ac_status=$?
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); }; }; then
16934 # It does; now see whether it defined to BIG_ENDIAN or not.
16935 cat >conftest.$ac_ext <<_ACEOF
16936 #line $LINENO "configure"
16937 /* confdefs.h. */
16938 _ACEOF
16939 cat confdefs.h >>conftest.$ac_ext
16940 cat >>conftest.$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 #include <sys/types.h>
16943 #include <sys/param.h>
16944 int
16945 main ()
16946 {
16947
16948 #if BYTE_ORDER != BIG_ENDIAN
16949 not big endian
16950 #endif
16951 ;
16952 return 0;
16953 }
16954 _ACEOF
16955 rm -f conftest.$ac_objext
16956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16957 (eval $ac_compile) 2>&5
16958 ac_status=$?
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); } &&
16961 { ac_try='test -s conftest.$ac_objext'
16962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16963 (eval $ac_try) 2>&5
16964 ac_status=$?
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); }; }; then
16967 ac_cv_c_bigendian=yes
16968 else
16969 echo "$as_me: failed program was:" >&5
16970 sed 's/^/| /' conftest.$ac_ext >&5
16971
16972 ac_cv_c_bigendian=no
16973 fi
16974 rm -f conftest.$ac_objext conftest.$ac_ext
16975 else
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16978
16979 fi
16980 rm -f conftest.$ac_objext conftest.$ac_ext
16981 if test $ac_cv_c_bigendian = unknown; then
16982 if test "$cross_compiling" = yes; then
16983 ac_cv_c_bigendian=unknown
16984 else
16985 cat >conftest.$ac_ext <<_ACEOF
16986 #line $LINENO "configure"
16987 /* confdefs.h. */
16988 _ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 main () {
16993 /* Are we little or big endian? From Harbison&Steele. */
16994 union
16995 {
16996 long l;
16997 char c[sizeof (long)];
16998 } u;
16999 u.l = 1;
17000 exit (u.c[sizeof (long) - 1] == 1);
17001 }
17002 _ACEOF
17003 rm -f conftest$ac_exeext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17005 (eval $ac_link) 2>&5
17006 ac_status=$?
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 ac_cv_c_bigendian=no
17015 else
17016 echo "$as_me: program exited with status $ac_status" >&5
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17019
17020 ( exit $ac_status )
17021 ac_cv_c_bigendian=yes
17022 fi
17023 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17024 fi
17025 fi
17026 fi
17027 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17028 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17029 if test $ac_cv_c_bigendian = unknown; then
17030 { 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
17031 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;}
17032 fi
17033 if test $ac_cv_c_bigendian = yes; then
17034 cat >>confdefs.h <<\_ACEOF
17035 #define WORDS_BIGENDIAN 1
17036 _ACEOF
17037
17038 fi
17039
17040
17041
17042 ac_ext=cc
17043 ac_cpp='$CXXCPP $CPPFLAGS'
17044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17047 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17048 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17049 if test -z "$CXXCPP"; then
17050 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 else
17053 # Double quotes because CXXCPP needs to be expanded
17054 for CXXCPP in "$CXX -E" "/lib/cpp"
17055 do
17056 ac_preproc_ok=false
17057 for ac_cxx_preproc_warn_flag in '' yes
17058 do
17059 # Use a header file that comes with gcc, so configuring glibc
17060 # with a fresh cross-compiler works.
17061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17062 # <limits.h> exists even on freestanding compilers.
17063 # On the NeXT, cc -E runs the code through the compiler's parser,
17064 # not just through cpp. "Syntax error" is here to catch this case.
17065 cat >conftest.$ac_ext <<_ACEOF
17066 #line $LINENO "configure"
17067 /* confdefs.h. */
17068 _ACEOF
17069 cat confdefs.h >>conftest.$ac_ext
17070 cat >>conftest.$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17072 #ifdef __STDC__
17073 # include <limits.h>
17074 #else
17075 # include <assert.h>
17076 #endif
17077 Syntax error
17078 _ACEOF
17079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } >/dev/null; then
17087 if test -s conftest.err; then
17088 ac_cpp_err=$ac_cxx_preproc_warn_flag
17089 else
17090 ac_cpp_err=
17091 fi
17092 else
17093 ac_cpp_err=yes
17094 fi
17095 if test -z "$ac_cpp_err"; then
17096 :
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17100
17101 # Broken: fails on valid input.
17102 continue
17103 fi
17104 rm -f conftest.err conftest.$ac_ext
17105
17106 # OK, works on sane cases. Now check whether non-existent headers
17107 # can be detected and how.
17108 cat >conftest.$ac_ext <<_ACEOF
17109 #line $LINENO "configure"
17110 /* confdefs.h. */
17111 _ACEOF
17112 cat confdefs.h >>conftest.$ac_ext
17113 cat >>conftest.$ac_ext <<_ACEOF
17114 /* end confdefs.h. */
17115 #include <ac_nonexistent.h>
17116 _ACEOF
17117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17119 ac_status=$?
17120 grep -v '^ *+' conftest.er1 >conftest.err
17121 rm -f conftest.er1
17122 cat conftest.err >&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } >/dev/null; then
17125 if test -s conftest.err; then
17126 ac_cpp_err=$ac_cxx_preproc_warn_flag
17127 else
17128 ac_cpp_err=
17129 fi
17130 else
17131 ac_cpp_err=yes
17132 fi
17133 if test -z "$ac_cpp_err"; then
17134 # Broken: success on invalid input.
17135 continue
17136 else
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.$ac_ext >&5
17139
17140 # Passes both tests.
17141 ac_preproc_ok=:
17142 break
17143 fi
17144 rm -f conftest.err conftest.$ac_ext
17145
17146 done
17147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17148 rm -f conftest.err conftest.$ac_ext
17149 if $ac_preproc_ok; then
17150 break
17151 fi
17152
17153 done
17154 ac_cv_prog_CXXCPP=$CXXCPP
17155
17156 fi
17157 CXXCPP=$ac_cv_prog_CXXCPP
17158 else
17159 ac_cv_prog_CXXCPP=$CXXCPP
17160 fi
17161 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17162 echo "${ECHO_T}$CXXCPP" >&6
17163 ac_preproc_ok=false
17164 for ac_cxx_preproc_warn_flag in '' yes
17165 do
17166 # Use a header file that comes with gcc, so configuring glibc
17167 # with a fresh cross-compiler works.
17168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17169 # <limits.h> exists even on freestanding compilers.
17170 # On the NeXT, cc -E runs the code through the compiler's parser,
17171 # not just through cpp. "Syntax error" is here to catch this case.
17172 cat >conftest.$ac_ext <<_ACEOF
17173 #line $LINENO "configure"
17174 /* confdefs.h. */
17175 _ACEOF
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179 #ifdef __STDC__
17180 # include <limits.h>
17181 #else
17182 # include <assert.h>
17183 #endif
17184 Syntax error
17185 _ACEOF
17186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17188 ac_status=$?
17189 grep -v '^ *+' conftest.er1 >conftest.err
17190 rm -f conftest.er1
17191 cat conftest.err >&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } >/dev/null; then
17194 if test -s conftest.err; then
17195 ac_cpp_err=$ac_cxx_preproc_warn_flag
17196 else
17197 ac_cpp_err=
17198 fi
17199 else
17200 ac_cpp_err=yes
17201 fi
17202 if test -z "$ac_cpp_err"; then
17203 :
17204 else
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.$ac_ext >&5
17207
17208 # Broken: fails on valid input.
17209 continue
17210 fi
17211 rm -f conftest.err conftest.$ac_ext
17212
17213 # OK, works on sane cases. Now check whether non-existent headers
17214 # can be detected and how.
17215 cat >conftest.$ac_ext <<_ACEOF
17216 #line $LINENO "configure"
17217 /* confdefs.h. */
17218 _ACEOF
17219 cat confdefs.h >>conftest.$ac_ext
17220 cat >>conftest.$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 #include <ac_nonexistent.h>
17223 _ACEOF
17224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } >/dev/null; then
17232 if test -s conftest.err; then
17233 ac_cpp_err=$ac_cxx_preproc_warn_flag
17234 else
17235 ac_cpp_err=
17236 fi
17237 else
17238 ac_cpp_err=yes
17239 fi
17240 if test -z "$ac_cpp_err"; then
17241 # Broken: success on invalid input.
17242 continue
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 # Passes both tests.
17248 ac_preproc_ok=:
17249 break
17250 fi
17251 rm -f conftest.err conftest.$ac_ext
17252
17253 done
17254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17255 rm -f conftest.err conftest.$ac_ext
17256 if $ac_preproc_ok; then
17257 :
17258 else
17259 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17260 See \`config.log' for more details." >&5
17261 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17262 See \`config.log' for more details." >&2;}
17263 { (exit 1); exit 1; }; }
17264 fi
17265
17266 ac_ext=cc
17267 ac_cpp='$CXXCPP $CPPFLAGS'
17268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17271
17272
17273
17274 if test "$cross_compiling" = "yes"; then
17275 cat >>confdefs.h <<\_ACEOF
17276 #define wxUSE_IOSTREAMH 1
17277 _ACEOF
17278
17279 else
17280
17281
17282 ac_ext=cc
17283 ac_cpp='$CXXCPP $CPPFLAGS'
17284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17287
17288
17289
17290 for ac_header in iostream
17291 do
17292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17294 echo "$as_me:$LINENO: checking for $ac_header" >&5
17295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 fi
17299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17301 else
17302 # Is the header compilable?
17303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17305 cat >conftest.$ac_ext <<_ACEOF
17306 #line $LINENO "configure"
17307 /* confdefs.h. */
17308 _ACEOF
17309 cat confdefs.h >>conftest.$ac_ext
17310 cat >>conftest.$ac_ext <<_ACEOF
17311 /* end confdefs.h. */
17312 $ac_includes_default
17313 #include <$ac_header>
17314 _ACEOF
17315 rm -f conftest.$ac_objext
17316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17317 (eval $ac_compile) 2>&5
17318 ac_status=$?
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -s conftest.$ac_objext'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; }; then
17327 ac_header_compiler=yes
17328 else
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17331
17332 ac_header_compiler=no
17333 fi
17334 rm -f conftest.$ac_objext conftest.$ac_ext
17335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17336 echo "${ECHO_T}$ac_header_compiler" >&6
17337
17338 # Is the header present?
17339 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17341 cat >conftest.$ac_ext <<_ACEOF
17342 #line $LINENO "configure"
17343 /* confdefs.h. */
17344 _ACEOF
17345 cat confdefs.h >>conftest.$ac_ext
17346 cat >>conftest.$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17348 #include <$ac_header>
17349 _ACEOF
17350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17352 ac_status=$?
17353 grep -v '^ *+' conftest.er1 >conftest.err
17354 rm -f conftest.er1
17355 cat conftest.err >&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } >/dev/null; then
17358 if test -s conftest.err; then
17359 ac_cpp_err=$ac_cxx_preproc_warn_flag
17360 else
17361 ac_cpp_err=
17362 fi
17363 else
17364 ac_cpp_err=yes
17365 fi
17366 if test -z "$ac_cpp_err"; then
17367 ac_header_preproc=yes
17368 else
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.$ac_ext >&5
17371
17372 ac_header_preproc=no
17373 fi
17374 rm -f conftest.err conftest.$ac_ext
17375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17376 echo "${ECHO_T}$ac_header_preproc" >&6
17377
17378 # So? What about this header?
17379 case $ac_header_compiler:$ac_header_preproc in
17380 yes:no )
17381 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17382 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17385 (
17386 cat <<\_ASBOX
17387 ## ------------------------------------ ##
17388 ## Report this to bug-autoconf@gnu.org. ##
17389 ## ------------------------------------ ##
17390 _ASBOX
17391 ) |
17392 sed "s/^/$as_me: WARNING: /" >&2
17393 ;;
17394 no:yes )
17395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17401 (
17402 cat <<\_ASBOX
17403 ## ------------------------------------ ##
17404 ## Report this to bug-autoconf@gnu.org. ##
17405 ## ------------------------------------ ##
17406 _ASBOX
17407 ) |
17408 sed "s/^/$as_me: WARNING: /" >&2
17409 ;;
17410 esac
17411 echo "$as_me:$LINENO: checking for $ac_header" >&5
17412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17414 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 else
17416 eval "$as_ac_Header=$ac_header_preproc"
17417 fi
17418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17420
17421 fi
17422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17423 cat >>confdefs.h <<_ACEOF
17424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17425 _ACEOF
17426
17427 fi
17428
17429 done
17430
17431
17432 if test "$ac_cv_header_iostream" = "yes" ; then
17433 :
17434 else
17435 cat >>confdefs.h <<\_ACEOF
17436 #define wxUSE_IOSTREAMH 1
17437 _ACEOF
17438
17439 fi
17440
17441 ac_ext=c
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446
17447 fi
17448
17449
17450
17451 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17452 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17453 if test "${wx_cv_cpp_bool+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 else
17456
17457
17458
17459 ac_ext=cc
17460 ac_cpp='$CXXCPP $CPPFLAGS'
17461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17464
17465
17466 cat >conftest.$ac_ext <<_ACEOF
17467 #line $LINENO "configure"
17468 /* confdefs.h. */
17469 _ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17473
17474
17475 int
17476 main ()
17477 {
17478
17479 bool b = true;
17480
17481 return 0;
17482
17483 ;
17484 return 0;
17485 }
17486 _ACEOF
17487 rm -f conftest.$ac_objext
17488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489 (eval $ac_compile) 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } &&
17493 { ac_try='test -s conftest.$ac_objext'
17494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495 (eval $ac_try) 2>&5
17496 ac_status=$?
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); }; }; then
17499
17500 wx_cv_cpp_bool=yes
17501
17502 else
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.$ac_ext >&5
17505
17506
17507 wx_cv_cpp_bool=no
17508
17509
17510 fi
17511 rm -f conftest.$ac_objext conftest.$ac_ext
17512
17513 ac_ext=c
17514 ac_cpp='$CPP $CPPFLAGS'
17515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518
17519
17520 fi
17521 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17522 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17523
17524 if test "$wx_cv_cpp_bool" = "yes"; then
17525 cat >>confdefs.h <<\_ACEOF
17526 #define HAVE_BOOL 1
17527 _ACEOF
17528
17529 fi
17530
17531
17532
17533 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17534 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17535 if test "${wx_cv_explicit+set}" = set; then
17536 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 else
17538
17539
17540
17541 ac_ext=cc
17542 ac_cpp='$CXXCPP $CPPFLAGS'
17543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17546
17547
17548 cat >conftest.$ac_ext <<_ACEOF
17549 #line $LINENO "configure"
17550 /* confdefs.h. */
17551 _ACEOF
17552 cat confdefs.h >>conftest.$ac_ext
17553 cat >>conftest.$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17555
17556 class Foo { public: explicit Foo(int) {} };
17557
17558 int
17559 main ()
17560 {
17561
17562 return 0;
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>&5
17571 ac_status=$?
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } &&
17574 { ac_try='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17580
17581 cat >conftest.$ac_ext <<_ACEOF
17582 #line $LINENO "configure"
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588
17589 class Foo { public: explicit Foo(int) {} };
17590 static void TakeFoo(const Foo& foo) { }
17591
17592 int
17593 main ()
17594 {
17595
17596 TakeFoo(17);
17597 return 0;
17598
17599 ;
17600 return 0;
17601 }
17602 _ACEOF
17603 rm -f conftest.$ac_objext
17604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17605 (eval $ac_compile) 2>&5
17606 ac_status=$?
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } &&
17609 { ac_try='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17612 ac_status=$?
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17615 wx_cv_explicit=no
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620 wx_cv_explicit=yes
17621
17622 fi
17623 rm -f conftest.$ac_objext conftest.$ac_ext
17624
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17628
17629 wx_cv_explicit=no
17630
17631 fi
17632 rm -f conftest.$ac_objext conftest.$ac_ext
17633
17634 ac_ext=c
17635 ac_cpp='$CPP $CPPFLAGS'
17636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639
17640
17641 fi
17642 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17643 echo "${ECHO_T}$wx_cv_explicit" >&6
17644
17645 if test "$wx_cv_explicit" = "yes"; then
17646 cat >>confdefs.h <<\_ACEOF
17647 #define HAVE_EXPLICIT 1
17648 _ACEOF
17649
17650 fi
17651
17652
17653 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17654 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17655 if test "${ac_cv_cxx_const_cast+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 else
17658
17659
17660 ac_ext=cc
17661 ac_cpp='$CXXCPP $CPPFLAGS'
17662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17665
17666 cat >conftest.$ac_ext <<_ACEOF
17667 #line $LINENO "configure"
17668 /* confdefs.h. */
17669 _ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17673
17674 int
17675 main ()
17676 {
17677 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17678 ;
17679 return 0;
17680 }
17681 _ACEOF
17682 rm -f conftest.$ac_objext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684 (eval $ac_compile) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } &&
17688 { ac_try='test -s conftest.$ac_objext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_cxx_const_cast=yes
17695 else
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 ac_cv_cxx_const_cast=no
17700 fi
17701 rm -f conftest.$ac_objext conftest.$ac_ext
17702 ac_ext=c
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17707
17708
17709 fi
17710 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17711 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17712 if test "$ac_cv_cxx_const_cast" = yes; then
17713
17714 cat >>confdefs.h <<\_ACEOF
17715 #define HAVE_CONST_CAST
17716 _ACEOF
17717
17718 fi
17719
17720
17721 if test "$wxUSE_STL" = "yes"; then
17722 ac_ext=cc
17723 ac_cpp='$CXXCPP $CPPFLAGS'
17724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17727
17728
17729 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17730 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17731 cat >conftest.$ac_ext <<_ACEOF
17732 #line $LINENO "configure"
17733 /* confdefs.h. */
17734 _ACEOF
17735 cat confdefs.h >>conftest.$ac_ext
17736 cat >>conftest.$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17738 #include <string>
17739 #include <functional>
17740 #include <algorithm>
17741 #include <vector>
17742 #include <list>
17743 int
17744 main ()
17745 {
17746 std::vector<int> moo;
17747 std::list<int> foo;
17748 std::vector<int>::iterator it =
17749 std::find_if(moo.begin(), moo.end(),
17750 std::bind2nd(std::less<int>(), 3));
17751 ;
17752 return 0;
17753 }
17754 _ACEOF
17755 rm -f conftest.$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try='test -s conftest.$ac_objext'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17767 echo "$as_me:$LINENO: result: yes" >&5
17768 echo "${ECHO_T}yes" >&6
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17772
17773 echo "$as_me:$LINENO: result: no" >&5
17774 echo "${ECHO_T}no" >&6
17775 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17776 echo "$as_me: error: Basic STL functionality missing" >&2;}
17777 { (exit 1); exit 1; }; }
17778 fi
17779 rm -f conftest.$ac_objext conftest.$ac_ext
17780
17781 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17782 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17783 cat >conftest.$ac_ext <<_ACEOF
17784 #line $LINENO "configure"
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 #include <string>
17791 int
17792 main ()
17793 {
17794 std::wstring foo;
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 rm -f conftest.$ac_objext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17801 (eval $ac_compile) 2>&5
17802 ac_status=$?
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } &&
17805 { ac_try='test -s conftest.$ac_objext'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; }; then
17811 echo "$as_me:$LINENO: result: yes" >&5
17812 echo "${ECHO_T}yes" >&6
17813 cat >>confdefs.h <<\_ACEOF
17814 #define HAVE_STD_WSTRING 1
17815 _ACEOF
17816
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17820
17821 echo "$as_me:$LINENO: result: no" >&5
17822 echo "${ECHO_T}no" >&6
17823 fi
17824 rm -f conftest.$ac_objext conftest.$ac_ext
17825
17826 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17827 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17828 cat >conftest.$ac_ext <<_ACEOF
17829 #line $LINENO "configure"
17830 /* confdefs.h. */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 #include <string>
17836 int
17837 main ()
17838 {
17839 std::string foo, bar;
17840 foo.compare(bar);
17841 foo.compare(1, 1, bar);
17842 foo.compare(1, 1, bar, 1, 1);
17843 foo.compare("");
17844 foo.compare(1, 1, "");
17845 foo.compare(1, 1, "", 2);
17846 ;
17847 return 0;
17848 }
17849 _ACEOF
17850 rm -f conftest.$ac_objext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 (eval $ac_compile) 2>&5
17853 ac_status=$?
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } &&
17856 { ac_try='test -s conftest.$ac_objext'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; }; then
17862 echo "$as_me:$LINENO: result: yes" >&5
17863 echo "${ECHO_T}yes" >&6
17864 cat >>confdefs.h <<\_ACEOF
17865 #define HAVE_STD_STRING_COMPARE 1
17866 _ACEOF
17867
17868 else
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.$ac_ext >&5
17871
17872 echo "$as_me:$LINENO: result: no" >&5
17873 echo "${ECHO_T}no" >&6
17874 fi
17875 rm -f conftest.$ac_objext conftest.$ac_ext
17876
17877 ac_ext=c
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882
17883 fi
17884
17885
17886 SEARCH_INCLUDE="\
17887 /usr/local/include \
17888 \
17889 /usr/Motif-1.2/include \
17890 /usr/Motif-2.1/include \
17891 \
17892 /usr/include/Motif1.2 \
17893 /opt/xpm/include/X11 \
17894 /opt/GBxpm/include/ \
17895 /opt/GBxpm/X11/include/ \
17896 \
17897 /usr/Motif1.2/include \
17898 /usr/dt/include \
17899 /usr/openwin/include \
17900 \
17901 /usr/include/Xm \
17902 \
17903 /usr/X11R6/include \
17904 /usr/X11R6.4/include \
17905 /usr/X11R5/include \
17906 /usr/X11R4/include \
17907 \
17908 /usr/include/X11R6 \
17909 /usr/include/X11R5 \
17910 /usr/include/X11R4 \
17911 \
17912 /usr/local/X11R6/include \
17913 /usr/local/X11R5/include \
17914 /usr/local/X11R4/include \
17915 \
17916 /usr/local/include/X11R6 \
17917 /usr/local/include/X11R5 \
17918 /usr/local/include/X11R4 \
17919 \
17920 /usr/X11/include \
17921 /usr/include/X11 \
17922 /usr/local/X11/include \
17923 /usr/local/include/X11 \
17924 \
17925 /usr/X386/include \
17926 /usr/x386/include \
17927 /usr/XFree86/include/X11 \
17928 \
17929 X:/XFree86/include \
17930 X:/XFree86/include/X11 \
17931 \
17932 /usr/include/gtk \
17933 /usr/local/include/gtk \
17934 /usr/include/glib \
17935 /usr/local/include/glib \
17936 \
17937 /usr/include/qt \
17938 /usr/local/include/qt \
17939 \
17940 /usr/include/windows \
17941 /usr/include/wine \
17942 /usr/local/include/wine \
17943 \
17944 /usr/unsupported/include \
17945 /usr/athena/include \
17946 /usr/local/x11r5/include \
17947 /usr/lpp/Xamples/include \
17948 \
17949 /usr/openwin/share/include"
17950
17951 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17952
17953
17954 cat >confcache <<\_ACEOF
17955 # This file is a shell script that caches the results of configure
17956 # tests run on this system so they can be shared between configure
17957 # scripts and configure runs, see configure's option --config-cache.
17958 # It is not useful on other systems. If it contains results you don't
17959 # want to keep, you may remove or edit it.
17960 #
17961 # config.status only pays attention to the cache file if you give it
17962 # the --recheck option to rerun configure.
17963 #
17964 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17965 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17966 # following values.
17967
17968 _ACEOF
17969
17970 # The following way of writing the cache mishandles newlines in values,
17971 # but we know of no workaround that is simple, portable, and efficient.
17972 # So, don't put newlines in cache variables' values.
17973 # Ultrix sh set writes to stderr and can't be redirected directly,
17974 # and sets the high bit in the cache file unless we assign to the vars.
17975 {
17976 (set) 2>&1 |
17977 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17978 *ac_space=\ *)
17979 # `set' does not quote correctly, so add quotes (double-quote
17980 # substitution turns \\\\ into \\, and sed turns \\ into \).
17981 sed -n \
17982 "s/'/'\\\\''/g;
17983 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17984 ;;
17985 *)
17986 # `set' quotes correctly as required by POSIX, so do not add quotes.
17987 sed -n \
17988 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17989 ;;
17990 esac;
17991 } |
17992 sed '
17993 t clear
17994 : clear
17995 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17996 t end
17997 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17998 : end' >>confcache
17999 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18000 if test -w $cache_file; then
18001 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18002 cat confcache >$cache_file
18003 else
18004 echo "not updating unwritable cache $cache_file"
18005 fi
18006 fi
18007 rm -f confcache
18008
18009 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18010 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18011 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18012 if test "${wx_cv_lib_glibc21+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 else
18015
18016 cat >conftest.$ac_ext <<_ACEOF
18017 #line $LINENO "configure"
18018 /* confdefs.h. */
18019 _ACEOF
18020 cat confdefs.h >>conftest.$ac_ext
18021 cat >>conftest.$ac_ext <<_ACEOF
18022 /* end confdefs.h. */
18023 #include <features.h>
18024 int
18025 main ()
18026 {
18027
18028 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18029 #error not glibc2.1
18030 #endif
18031
18032 ;
18033 return 0;
18034 }
18035 _ACEOF
18036 rm -f conftest.$ac_objext
18037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18038 (eval $ac_compile) 2>&5
18039 ac_status=$?
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -s conftest.$ac_objext'
18043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044 (eval $ac_try) 2>&5
18045 ac_status=$?
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); }; }; then
18048
18049 wx_cv_lib_glibc21=yes
18050
18051 else
18052 echo "$as_me: failed program was:" >&5
18053 sed 's/^/| /' conftest.$ac_ext >&5
18054
18055
18056 wx_cv_lib_glibc21=no
18057
18058
18059 fi
18060 rm -f conftest.$ac_objext conftest.$ac_ext
18061
18062 fi
18063 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18064 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18065 if test "$wx_cv_lib_glibc21" = "yes"; then
18066 cat >>confdefs.h <<\_ACEOF
18067 #define wxHAVE_GLIBC2 1
18068 _ACEOF
18069
18070 fi
18071 fi
18072
18073 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18074 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18075 cat >>confdefs.h <<\_ACEOF
18076 #define _GNU_SOURCE 1
18077 _ACEOF
18078
18079 fi
18080 fi
18081
18082
18083
18084 REGEX_INCLUDE=
18085 if test "$wxUSE_REGEX" != "no"; then
18086 cat >>confdefs.h <<\_ACEOF
18087 #define wxUSE_REGEX 1
18088 _ACEOF
18089
18090
18091 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18092 if test "${ac_cv_header_regex_h+set}" = set; then
18093 echo "$as_me:$LINENO: checking for regex.h" >&5
18094 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18095 if test "${ac_cv_header_regex_h+set}" = set; then
18096 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 fi
18098 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18099 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18100 else
18101 # Is the header compilable?
18102 echo "$as_me:$LINENO: checking regex.h usability" >&5
18103 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18104 cat >conftest.$ac_ext <<_ACEOF
18105 #line $LINENO "configure"
18106 /* confdefs.h. */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 $ac_includes_default
18112 #include <regex.h>
18113 _ACEOF
18114 rm -f conftest.$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } &&
18120 { ac_try='test -s conftest.$ac_objext'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18123 ac_status=$?
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; }; then
18126 ac_header_compiler=yes
18127 else
18128 echo "$as_me: failed program was:" >&5
18129 sed 's/^/| /' conftest.$ac_ext >&5
18130
18131 ac_header_compiler=no
18132 fi
18133 rm -f conftest.$ac_objext conftest.$ac_ext
18134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18135 echo "${ECHO_T}$ac_header_compiler" >&6
18136
18137 # Is the header present?
18138 echo "$as_me:$LINENO: checking regex.h presence" >&5
18139 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18140 cat >conftest.$ac_ext <<_ACEOF
18141 #line $LINENO "configure"
18142 /* confdefs.h. */
18143 _ACEOF
18144 cat confdefs.h >>conftest.$ac_ext
18145 cat >>conftest.$ac_ext <<_ACEOF
18146 /* end confdefs.h. */
18147 #include <regex.h>
18148 _ACEOF
18149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18151 ac_status=$?
18152 grep -v '^ *+' conftest.er1 >conftest.err
18153 rm -f conftest.er1
18154 cat conftest.err >&5
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); } >/dev/null; then
18157 if test -s conftest.err; then
18158 ac_cpp_err=$ac_c_preproc_warn_flag
18159 else
18160 ac_cpp_err=
18161 fi
18162 else
18163 ac_cpp_err=yes
18164 fi
18165 if test -z "$ac_cpp_err"; then
18166 ac_header_preproc=yes
18167 else
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18170
18171 ac_header_preproc=no
18172 fi
18173 rm -f conftest.err conftest.$ac_ext
18174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18175 echo "${ECHO_T}$ac_header_preproc" >&6
18176
18177 # So? What about this header?
18178 case $ac_header_compiler:$ac_header_preproc in
18179 yes:no )
18180 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18181 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18182 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18183 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18184 (
18185 cat <<\_ASBOX
18186 ## ------------------------------------ ##
18187 ## Report this to bug-autoconf@gnu.org. ##
18188 ## ------------------------------------ ##
18189 _ASBOX
18190 ) |
18191 sed "s/^/$as_me: WARNING: /" >&2
18192 ;;
18193 no:yes )
18194 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18195 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18196 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18197 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18198 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18199 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18200 (
18201 cat <<\_ASBOX
18202 ## ------------------------------------ ##
18203 ## Report this to bug-autoconf@gnu.org. ##
18204 ## ------------------------------------ ##
18205 _ASBOX
18206 ) |
18207 sed "s/^/$as_me: WARNING: /" >&2
18208 ;;
18209 esac
18210 echo "$as_me:$LINENO: checking for regex.h" >&5
18211 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18212 if test "${ac_cv_header_regex_h+set}" = set; then
18213 echo $ECHO_N "(cached) $ECHO_C" >&6
18214 else
18215 ac_cv_header_regex_h=$ac_header_preproc
18216 fi
18217 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18218 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18219
18220 fi
18221 if test $ac_cv_header_regex_h = yes; then
18222
18223 for ac_func in regcomp
18224 do
18225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18226 echo "$as_me:$LINENO: checking for $ac_func" >&5
18227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18228 if eval "test \"\${$as_ac_var+set}\" = set"; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 else
18231 cat >conftest.$ac_ext <<_ACEOF
18232 #line $LINENO "configure"
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 /* System header to define __stub macros and hopefully few prototypes,
18239 which can conflict with char $ac_func (); below.
18240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18241 <limits.h> exists even on freestanding compilers. */
18242 #ifdef __STDC__
18243 # include <limits.h>
18244 #else
18245 # include <assert.h>
18246 #endif
18247 /* Override any gcc2 internal prototype to avoid an error. */
18248 #ifdef __cplusplus
18249 extern "C"
18250 {
18251 #endif
18252 /* We use char because int might match the return type of a gcc2
18253 builtin and then its argument prototype would still apply. */
18254 char $ac_func ();
18255 /* The GNU C library defines this for functions which it implements
18256 to always fail with ENOSYS. Some functions are actually named
18257 something starting with __ and the normal name is an alias. */
18258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18259 choke me
18260 #else
18261 char (*f) () = $ac_func;
18262 #endif
18263 #ifdef __cplusplus
18264 }
18265 #endif
18266
18267 int
18268 main ()
18269 {
18270 return f != $ac_func;
18271 ;
18272 return 0;
18273 }
18274 _ACEOF
18275 rm -f conftest.$ac_objext conftest$ac_exeext
18276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18277 (eval $ac_link) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -s conftest$ac_exeext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 eval "$as_ac_var=yes"
18288 else
18289 echo "$as_me: failed program was:" >&5
18290 sed 's/^/| /' conftest.$ac_ext >&5
18291
18292 eval "$as_ac_var=no"
18293 fi
18294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18295 fi
18296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18298 if test `eval echo '${'$as_ac_var'}'` = yes; then
18299 cat >>confdefs.h <<_ACEOF
18300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18301 _ACEOF
18302
18303 fi
18304 done
18305
18306 fi
18307
18308
18309
18310 if test "x$ac_cv_func_regcomp" != "xyes"; then
18311 if test "$wxUSE_REGEX" = "sys" ; then
18312 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18313 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18314 { (exit 1); exit 1; }; }
18315 else
18316 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18317 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18318 wxUSE_REGEX=builtin
18319 fi
18320 else
18321 wxUSE_REGEX=sys
18322 fi
18323 fi
18324
18325 if test "$wxUSE_REGEX" = "builtin" ; then
18326 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18327 fi
18328 fi
18329
18330
18331 ZLIB_INCLUDE=
18332 ZLIB_LINK=
18333 if test "$wxUSE_ZLIB" != "no" ; then
18334 cat >>confdefs.h <<\_ACEOF
18335 #define wxUSE_ZLIB 1
18336 _ACEOF
18337
18338
18339 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18340 if test "$USE_DARWIN" = 1; then
18341 system_zlib_h_ok="yes"
18342 else
18343 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18344 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18345 if test "${ac_cv_header_zlib_h+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 else
18348 if test "$cross_compiling" = yes; then
18349 unset ac_cv_header_zlib_h
18350
18351 else
18352 cat >conftest.$ac_ext <<_ACEOF
18353 #line $LINENO "configure"
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359
18360 #include <zlib.h>
18361 #include <stdio.h>
18362
18363 int main()
18364 {
18365 FILE *f=fopen("conftestval", "w");
18366 if (!f) exit(1);
18367 fprintf(f, "%s",
18368 ZLIB_VERSION[0] == '1' &&
18369 (ZLIB_VERSION[2] > '1' ||
18370 (ZLIB_VERSION[2] == '1' &&
18371 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18372 exit(0);
18373 }
18374
18375 _ACEOF
18376 rm -f conftest$ac_exeext
18377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378 (eval $ac_link) 2>&5
18379 ac_status=$?
18380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18383 (eval $ac_try) 2>&5
18384 ac_status=$?
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); }; }; then
18387 ac_cv_header_zlib_h=`cat conftestval`
18388 else
18389 echo "$as_me: program exited with status $ac_status" >&5
18390 echo "$as_me: failed program was:" >&5
18391 sed 's/^/| /' conftest.$ac_ext >&5
18392
18393 ( exit $ac_status )
18394 ac_cv_header_zlib_h=no
18395 fi
18396 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18397 fi
18398
18399 fi
18400 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18401 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18402 if test "${ac_cv_header_zlib_h+set}" = set; then
18403 echo "$as_me:$LINENO: checking for zlib.h" >&5
18404 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18405 if test "${ac_cv_header_zlib_h+set}" = set; then
18406 echo $ECHO_N "(cached) $ECHO_C" >&6
18407 fi
18408 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18409 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18410 else
18411 # Is the header compilable?
18412 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18413 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18414 cat >conftest.$ac_ext <<_ACEOF
18415 #line $LINENO "configure"
18416 /* confdefs.h. */
18417 _ACEOF
18418 cat confdefs.h >>conftest.$ac_ext
18419 cat >>conftest.$ac_ext <<_ACEOF
18420 /* end confdefs.h. */
18421 $ac_includes_default
18422 #include <zlib.h>
18423 _ACEOF
18424 rm -f conftest.$ac_objext
18425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18426 (eval $ac_compile) 2>&5
18427 ac_status=$?
18428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18429 (exit $ac_status); } &&
18430 { ac_try='test -s conftest.$ac_objext'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; }; then
18436 ac_header_compiler=yes
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18440
18441 ac_header_compiler=no
18442 fi
18443 rm -f conftest.$ac_objext conftest.$ac_ext
18444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18445 echo "${ECHO_T}$ac_header_compiler" >&6
18446
18447 # Is the header present?
18448 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18449 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18450 cat >conftest.$ac_ext <<_ACEOF
18451 #line $LINENO "configure"
18452 /* confdefs.h. */
18453 _ACEOF
18454 cat confdefs.h >>conftest.$ac_ext
18455 cat >>conftest.$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18457 #include <zlib.h>
18458 _ACEOF
18459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } >/dev/null; then
18467 if test -s conftest.err; then
18468 ac_cpp_err=$ac_c_preproc_warn_flag
18469 else
18470 ac_cpp_err=
18471 fi
18472 else
18473 ac_cpp_err=yes
18474 fi
18475 if test -z "$ac_cpp_err"; then
18476 ac_header_preproc=yes
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 ac_header_preproc=no
18482 fi
18483 rm -f conftest.err conftest.$ac_ext
18484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18485 echo "${ECHO_T}$ac_header_preproc" >&6
18486
18487 # So? What about this header?
18488 case $ac_header_compiler:$ac_header_preproc in
18489 yes:no )
18490 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18491 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18492 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18493 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18494 (
18495 cat <<\_ASBOX
18496 ## ------------------------------------ ##
18497 ## Report this to bug-autoconf@gnu.org. ##
18498 ## ------------------------------------ ##
18499 _ASBOX
18500 ) |
18501 sed "s/^/$as_me: WARNING: /" >&2
18502 ;;
18503 no:yes )
18504 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18505 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18506 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18507 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18508 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18509 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18510 (
18511 cat <<\_ASBOX
18512 ## ------------------------------------ ##
18513 ## Report this to bug-autoconf@gnu.org. ##
18514 ## ------------------------------------ ##
18515 _ASBOX
18516 ) |
18517 sed "s/^/$as_me: WARNING: /" >&2
18518 ;;
18519 esac
18520 echo "$as_me:$LINENO: checking for zlib.h" >&5
18521 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18522 if test "${ac_cv_header_zlib_h+set}" = set; then
18523 echo $ECHO_N "(cached) $ECHO_C" >&6
18524 else
18525 ac_cv_header_zlib_h=$ac_header_preproc
18526 fi
18527 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18528 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18529
18530 fi
18531
18532
18533
18534 system_zlib_h_ok=$ac_cv_header_zlib_h
18535 fi
18536
18537 if test "$system_zlib_h_ok" = "yes"; then
18538 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18539 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18540 if test "${ac_cv_lib_z_deflate+set}" = set; then
18541 echo $ECHO_N "(cached) $ECHO_C" >&6
18542 else
18543 ac_check_lib_save_LIBS=$LIBS
18544 LIBS="-lz $LIBS"
18545 cat >conftest.$ac_ext <<_ACEOF
18546 #line $LINENO "configure"
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552
18553 /* Override any gcc2 internal prototype to avoid an error. */
18554 #ifdef __cplusplus
18555 extern "C"
18556 #endif
18557 /* We use char because int might match the return type of a gcc2
18558 builtin and then its argument prototype would still apply. */
18559 char deflate ();
18560 int
18561 main ()
18562 {
18563 deflate ();
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest.$ac_objext conftest$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } &&
18574 { ac_try='test -s conftest$ac_exeext'
18575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18576 (eval $ac_try) 2>&5
18577 ac_status=$?
18578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18579 (exit $ac_status); }; }; then
18580 ac_cv_lib_z_deflate=yes
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 ac_cv_lib_z_deflate=no
18586 fi
18587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18588 LIBS=$ac_check_lib_save_LIBS
18589 fi
18590 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18591 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18592 if test $ac_cv_lib_z_deflate = yes; then
18593 ZLIB_LINK=" -lz"
18594 fi
18595
18596 fi
18597
18598 if test "x$ZLIB_LINK" = "x" ; then
18599 if test "$wxUSE_ZLIB" = "sys" ; then
18600 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18601 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18602 { (exit 1); exit 1; }; }
18603 else
18604 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18605 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18606 wxUSE_ZLIB=builtin
18607 fi
18608 else
18609 wxUSE_ZLIB=sys
18610 fi
18611 fi
18612
18613 if test "$wxUSE_ZLIB" = "builtin" ; then
18614 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18615 fi
18616 fi
18617
18618
18619 PNG_INCLUDE=
18620 PNG_LINK=
18621 if test "$wxUSE_LIBPNG" != "no" ; then
18622 cat >>confdefs.h <<\_ACEOF
18623 #define wxUSE_LIBPNG 1
18624 _ACEOF
18625
18626
18627 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18628 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18629 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18630 wxUSE_LIBPNG=sys
18631 fi
18632
18633 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18634 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18635 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18636 wxUSE_LIBPNG=builtin
18637 fi
18638
18639 if test "$wxUSE_MGL" != 1 ; then
18640 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18641 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18642 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18643 if test "${ac_cv_header_png_h+set}" = set; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 else
18646 if test "$cross_compiling" = yes; then
18647 unset ac_cv_header_png_h
18648
18649 else
18650 cat >conftest.$ac_ext <<_ACEOF
18651 #line $LINENO "configure"
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657
18658 #include <png.h>
18659 #include <stdio.h>
18660
18661 int main()
18662 {
18663 FILE *f=fopen("conftestval", "w");
18664 if (!f) exit(1);
18665 fprintf(f, "%s",
18666 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18667 exit(0);
18668 }
18669
18670 _ACEOF
18671 rm -f conftest$ac_exeext
18672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18673 (eval $ac_link) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 ac_cv_header_png_h=`cat conftestval`
18683 else
18684 echo "$as_me: program exited with status $ac_status" >&5
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.$ac_ext >&5
18687
18688 ( exit $ac_status )
18689 ac_cv_header_png_h=no
18690 fi
18691 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18692 fi
18693
18694 fi
18695 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18696 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18697 if test "${ac_cv_header_png_h+set}" = set; then
18698 echo "$as_me:$LINENO: checking for png.h" >&5
18699 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18700 if test "${ac_cv_header_png_h+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 fi
18703 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18704 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18705 else
18706 # Is the header compilable?
18707 echo "$as_me:$LINENO: checking png.h usability" >&5
18708 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18709 cat >conftest.$ac_ext <<_ACEOF
18710 #line $LINENO "configure"
18711 /* confdefs.h. */
18712 _ACEOF
18713 cat confdefs.h >>conftest.$ac_ext
18714 cat >>conftest.$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 $ac_includes_default
18717 #include <png.h>
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>&5
18722 ac_status=$?
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_header_compiler=yes
18732 else
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18735
18736 ac_header_compiler=no
18737 fi
18738 rm -f conftest.$ac_objext conftest.$ac_ext
18739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18740 echo "${ECHO_T}$ac_header_compiler" >&6
18741
18742 # Is the header present?
18743 echo "$as_me:$LINENO: checking png.h presence" >&5
18744 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18745 cat >conftest.$ac_ext <<_ACEOF
18746 #line $LINENO "configure"
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <png.h>
18753 _ACEOF
18754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18756 ac_status=$?
18757 grep -v '^ *+' conftest.er1 >conftest.err
18758 rm -f conftest.er1
18759 cat conftest.err >&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } >/dev/null; then
18762 if test -s conftest.err; then
18763 ac_cpp_err=$ac_c_preproc_warn_flag
18764 else
18765 ac_cpp_err=
18766 fi
18767 else
18768 ac_cpp_err=yes
18769 fi
18770 if test -z "$ac_cpp_err"; then
18771 ac_header_preproc=yes
18772 else
18773 echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.$ac_ext >&5
18775
18776 ac_header_preproc=no
18777 fi
18778 rm -f conftest.err conftest.$ac_ext
18779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18780 echo "${ECHO_T}$ac_header_preproc" >&6
18781
18782 # So? What about this header?
18783 case $ac_header_compiler:$ac_header_preproc in
18784 yes:no )
18785 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18786 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18787 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18788 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18789 (
18790 cat <<\_ASBOX
18791 ## ------------------------------------ ##
18792 ## Report this to bug-autoconf@gnu.org. ##
18793 ## ------------------------------------ ##
18794 _ASBOX
18795 ) |
18796 sed "s/^/$as_me: WARNING: /" >&2
18797 ;;
18798 no:yes )
18799 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18800 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18801 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18802 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18804 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18805 (
18806 cat <<\_ASBOX
18807 ## ------------------------------------ ##
18808 ## Report this to bug-autoconf@gnu.org. ##
18809 ## ------------------------------------ ##
18810 _ASBOX
18811 ) |
18812 sed "s/^/$as_me: WARNING: /" >&2
18813 ;;
18814 esac
18815 echo "$as_me:$LINENO: checking for png.h" >&5
18816 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18817 if test "${ac_cv_header_png_h+set}" = set; then
18818 echo $ECHO_N "(cached) $ECHO_C" >&6
18819 else
18820 ac_cv_header_png_h=$ac_header_preproc
18821 fi
18822 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18823 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18824
18825 fi
18826
18827
18828
18829 if test "$ac_cv_header_png_h" = "yes"; then
18830 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18831 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18832 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18835 ac_check_lib_save_LIBS=$LIBS
18836 LIBS="-lpng -lz -lm $LIBS"
18837 cat >conftest.$ac_ext <<_ACEOF
18838 #line $LINENO "configure"
18839 /* confdefs.h. */
18840 _ACEOF
18841 cat confdefs.h >>conftest.$ac_ext
18842 cat >>conftest.$ac_ext <<_ACEOF
18843 /* end confdefs.h. */
18844
18845 /* Override any gcc2 internal prototype to avoid an error. */
18846 #ifdef __cplusplus
18847 extern "C"
18848 #endif
18849 /* We use char because int might match the return type of a gcc2
18850 builtin and then its argument prototype would still apply. */
18851 char png_check_sig ();
18852 int
18853 main ()
18854 {
18855 png_check_sig ();
18856 ;
18857 return 0;
18858 }
18859 _ACEOF
18860 rm -f conftest.$ac_objext conftest$ac_exeext
18861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18862 (eval $ac_link) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); } &&
18866 { ac_try='test -s conftest$ac_exeext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_cv_lib_png_png_check_sig=yes
18873 else
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18876
18877 ac_cv_lib_png_png_check_sig=no
18878 fi
18879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18880 LIBS=$ac_check_lib_save_LIBS
18881 fi
18882 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18883 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18884 if test $ac_cv_lib_png_png_check_sig = yes; then
18885 PNG_LINK=" -lpng"
18886 fi
18887
18888 fi
18889
18890 if test "x$PNG_LINK" = "x" ; then
18891 if test "$wxUSE_LIBPNG" = "sys" ; then
18892 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18893 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18894 { (exit 1); exit 1; }; }
18895 else
18896 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18897 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18898 wxUSE_LIBPNG=builtin
18899 fi
18900 else
18901 wxUSE_LIBPNG=sys
18902 fi
18903 fi
18904 fi
18905
18906 if test "$wxUSE_LIBPNG" = "builtin" ; then
18907 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18908 fi
18909
18910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18911 fi
18912
18913
18914 JPEG_INCLUDE=
18915 JPEG_LINK=
18916 if test "$wxUSE_LIBJPEG" != "no" ; then
18917 cat >>confdefs.h <<\_ACEOF
18918 #define wxUSE_LIBJPEG 1
18919 _ACEOF
18920
18921
18922 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18923 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18924 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18925 wxUSE_LIBJPEG=sys
18926 fi
18927
18928 if test "$wxUSE_MGL" != 1 ; then
18929 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18930 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18931 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18932 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18934 else
18935 cat >conftest.$ac_ext <<_ACEOF
18936 #line $LINENO "configure"
18937 /* confdefs.h. */
18938 _ACEOF
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18942
18943 #undef HAVE_STDLIB_H
18944 #include <stdio.h>
18945 #include <jpeglib.h>
18946
18947 int
18948 main ()
18949 {
18950
18951
18952 ;
18953 return 0;
18954 }
18955 _ACEOF
18956 rm -f conftest.$ac_objext
18957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18958 (eval $ac_compile) 2>&5
18959 ac_status=$?
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); } &&
18962 { ac_try='test -s conftest.$ac_objext'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18965 ac_status=$?
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; }; then
18968 ac_cv_header_jpeglib_h=yes
18969 else
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.$ac_ext >&5
18972
18973 ac_cv_header_jpeglib_h=no
18974
18975 fi
18976 rm -f conftest.$ac_objext conftest.$ac_ext
18977
18978 fi
18979
18980 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18981 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18982
18983 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18984 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18985 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18986 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18988 else
18989 ac_check_lib_save_LIBS=$LIBS
18990 LIBS="-ljpeg $LIBS"
18991 cat >conftest.$ac_ext <<_ACEOF
18992 #line $LINENO "configure"
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998
18999 /* Override any gcc2 internal prototype to avoid an error. */
19000 #ifdef __cplusplus
19001 extern "C"
19002 #endif
19003 /* We use char because int might match the return type of a gcc2
19004 builtin and then its argument prototype would still apply. */
19005 char jpeg_read_header ();
19006 int
19007 main ()
19008 {
19009 jpeg_read_header ();
19010 ;
19011 return 0;
19012 }
19013 _ACEOF
19014 rm -f conftest.$ac_objext conftest$ac_exeext
19015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19016 (eval $ac_link) 2>&5
19017 ac_status=$?
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19023 ac_status=$?
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 ac_cv_lib_jpeg_jpeg_read_header=yes
19027 else
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19030
19031 ac_cv_lib_jpeg_jpeg_read_header=no
19032 fi
19033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19034 LIBS=$ac_check_lib_save_LIBS
19035 fi
19036 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19037 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19038 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19039 JPEG_LINK=" -ljpeg"
19040 fi
19041
19042 fi
19043
19044 if test "x$JPEG_LINK" = "x" ; then
19045 if test "$wxUSE_LIBJPEG" = "sys" ; then
19046 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19047 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19048 { (exit 1); exit 1; }; }
19049 else
19050 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19051 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19052 wxUSE_LIBJPEG=builtin
19053 fi
19054 else
19055 wxUSE_LIBJPEG=sys
19056 fi
19057 fi
19058 fi
19059
19060 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19061 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19062 fi
19063 fi
19064
19065
19066 TIFF_INCLUDE=
19067 TIFF_LINK=
19068 TIFF_PREREQ_LINKS=-lm
19069 if test "$wxUSE_LIBTIFF" != "no" ; then
19070 cat >>confdefs.h <<\_ACEOF
19071 #define wxUSE_LIBTIFF 1
19072 _ACEOF
19073
19074
19075 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19076 if test "$wxUSE_LIBJPEG" = "sys"; then
19077 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19078 fi
19079 if test "$wxUSE_ZLIB" = "sys"; then
19080 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19081 fi
19082 if test "${ac_cv_header_tiffio_h+set}" = set; then
19083 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19084 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19085 if test "${ac_cv_header_tiffio_h+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 fi
19088 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19089 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19090 else
19091 # Is the header compilable?
19092 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19093 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19094 cat >conftest.$ac_ext <<_ACEOF
19095 #line $LINENO "configure"
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 $ac_includes_default
19102 #include <tiffio.h>
19103 _ACEOF
19104 rm -f conftest.$ac_objext
19105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19106 (eval $ac_compile) 2>&5
19107 ac_status=$?
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try='test -s conftest.$ac_objext'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; }; then
19116 ac_header_compiler=yes
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19120
19121 ac_header_compiler=no
19122 fi
19123 rm -f conftest.$ac_objext conftest.$ac_ext
19124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19125 echo "${ECHO_T}$ac_header_compiler" >&6
19126
19127 # Is the header present?
19128 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19129 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19130 cat >conftest.$ac_ext <<_ACEOF
19131 #line $LINENO "configure"
19132 /* confdefs.h. */
19133 _ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 #include <tiffio.h>
19138 _ACEOF
19139 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19140 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } >/dev/null; then
19147 if test -s conftest.err; then
19148 ac_cpp_err=$ac_c_preproc_warn_flag
19149 else
19150 ac_cpp_err=
19151 fi
19152 else
19153 ac_cpp_err=yes
19154 fi
19155 if test -z "$ac_cpp_err"; then
19156 ac_header_preproc=yes
19157 else
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19160
19161 ac_header_preproc=no
19162 fi
19163 rm -f conftest.err conftest.$ac_ext
19164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19165 echo "${ECHO_T}$ac_header_preproc" >&6
19166
19167 # So? What about this header?
19168 case $ac_header_compiler:$ac_header_preproc in
19169 yes:no )
19170 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19171 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19172 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19173 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19174 (
19175 cat <<\_ASBOX
19176 ## ------------------------------------ ##
19177 ## Report this to bug-autoconf@gnu.org. ##
19178 ## ------------------------------------ ##
19179 _ASBOX
19180 ) |
19181 sed "s/^/$as_me: WARNING: /" >&2
19182 ;;
19183 no:yes )
19184 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19185 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19186 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19187 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19188 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19189 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19190 (
19191 cat <<\_ASBOX
19192 ## ------------------------------------ ##
19193 ## Report this to bug-autoconf@gnu.org. ##
19194 ## ------------------------------------ ##
19195 _ASBOX
19196 ) |
19197 sed "s/^/$as_me: WARNING: /" >&2
19198 ;;
19199 esac
19200 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19201 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19202 if test "${ac_cv_header_tiffio_h+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19204 else
19205 ac_cv_header_tiffio_h=$ac_header_preproc
19206 fi
19207 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19208 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19209
19210 fi
19211 if test $ac_cv_header_tiffio_h = yes; then
19212
19213 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19214 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19215 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19216 echo $ECHO_N "(cached) $ECHO_C" >&6
19217 else
19218 ac_check_lib_save_LIBS=$LIBS
19219 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19220 cat >conftest.$ac_ext <<_ACEOF
19221 #line $LINENO "configure"
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227
19228 /* Override any gcc2 internal prototype to avoid an error. */
19229 #ifdef __cplusplus
19230 extern "C"
19231 #endif
19232 /* We use char because int might match the return type of a gcc2
19233 builtin and then its argument prototype would still apply. */
19234 char TIFFError ();
19235 int
19236 main ()
19237 {
19238 TIFFError ();
19239 ;
19240 return 0;
19241 }
19242 _ACEOF
19243 rm -f conftest.$ac_objext conftest$ac_exeext
19244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19245 (eval $ac_link) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } &&
19249 { ac_try='test -s conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_lib_tiff_TIFFError=yes
19256 else
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19259
19260 ac_cv_lib_tiff_TIFFError=no
19261 fi
19262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19263 LIBS=$ac_check_lib_save_LIBS
19264 fi
19265 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19266 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19267 if test $ac_cv_lib_tiff_TIFFError = yes; then
19268 TIFF_LINK=" -ltiff"
19269 fi
19270
19271
19272
19273 fi
19274
19275
19276
19277 if test "x$TIFF_LINK" = "x" ; then
19278 if test "$wxUSE_LIBTIFF" = "sys" ; then
19279 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19280 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19281 { (exit 1); exit 1; }; }
19282 else
19283 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19284 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19285 wxUSE_LIBTIFF=builtin
19286 fi
19287 else
19288 wxUSE_LIBTIFF=sys
19289 fi
19290 fi
19291
19292 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19293 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19294 fi
19295 fi
19296
19297
19298 if test "$wxUSE_EXPAT" != "no"; then
19299 wxUSE_XML=yes
19300 cat >>confdefs.h <<\_ACEOF
19301 #define wxUSE_EXPAT 1
19302 _ACEOF
19303
19304 cat >>confdefs.h <<\_ACEOF
19305 #define wxUSE_XML 1
19306 _ACEOF
19307
19308
19309 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19310 if test "${ac_cv_header_expat_h+set}" = set; then
19311 echo "$as_me:$LINENO: checking for expat.h" >&5
19312 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19313 if test "${ac_cv_header_expat_h+set}" = set; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 fi
19316 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19317 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19318 else
19319 # Is the header compilable?
19320 echo "$as_me:$LINENO: checking expat.h usability" >&5
19321 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19322 cat >conftest.$ac_ext <<_ACEOF
19323 #line $LINENO "configure"
19324 /* confdefs.h. */
19325 _ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329 $ac_includes_default
19330 #include <expat.h>
19331 _ACEOF
19332 rm -f conftest.$ac_objext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19334 (eval $ac_compile) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } &&
19338 { ac_try='test -s conftest.$ac_objext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19341 ac_status=$?
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_header_compiler=yes
19345 else
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19348
19349 ac_header_compiler=no
19350 fi
19351 rm -f conftest.$ac_objext conftest.$ac_ext
19352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19353 echo "${ECHO_T}$ac_header_compiler" >&6
19354
19355 # Is the header present?
19356 echo "$as_me:$LINENO: checking expat.h presence" >&5
19357 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19358 cat >conftest.$ac_ext <<_ACEOF
19359 #line $LINENO "configure"
19360 /* confdefs.h. */
19361 _ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 #include <expat.h>
19366 _ACEOF
19367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19369 ac_status=$?
19370 grep -v '^ *+' conftest.er1 >conftest.err
19371 rm -f conftest.er1
19372 cat conftest.err >&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } >/dev/null; then
19375 if test -s conftest.err; then
19376 ac_cpp_err=$ac_c_preproc_warn_flag
19377 else
19378 ac_cpp_err=
19379 fi
19380 else
19381 ac_cpp_err=yes
19382 fi
19383 if test -z "$ac_cpp_err"; then
19384 ac_header_preproc=yes
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 ac_header_preproc=no
19390 fi
19391 rm -f conftest.err conftest.$ac_ext
19392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19393 echo "${ECHO_T}$ac_header_preproc" >&6
19394
19395 # So? What about this header?
19396 case $ac_header_compiler:$ac_header_preproc in
19397 yes:no )
19398 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19399 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19400 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19401 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19402 (
19403 cat <<\_ASBOX
19404 ## ------------------------------------ ##
19405 ## Report this to bug-autoconf@gnu.org. ##
19406 ## ------------------------------------ ##
19407 _ASBOX
19408 ) |
19409 sed "s/^/$as_me: WARNING: /" >&2
19410 ;;
19411 no:yes )
19412 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19413 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19414 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19415 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19416 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19417 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19418 (
19419 cat <<\_ASBOX
19420 ## ------------------------------------ ##
19421 ## Report this to bug-autoconf@gnu.org. ##
19422 ## ------------------------------------ ##
19423 _ASBOX
19424 ) |
19425 sed "s/^/$as_me: WARNING: /" >&2
19426 ;;
19427 esac
19428 echo "$as_me:$LINENO: checking for expat.h" >&5
19429 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19430 if test "${ac_cv_header_expat_h+set}" = set; then
19431 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 else
19433 ac_cv_header_expat_h=$ac_header_preproc
19434 fi
19435 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19436 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19437
19438 fi
19439 if test $ac_cv_header_expat_h = yes; then
19440 found_expat_h=1
19441 fi
19442
19443
19444 if test "x$found_expat_h" = "x1"; then
19445 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19446 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19447 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450
19451
19452
19453 ac_ext=cc
19454 ac_cpp='$CXXCPP $CPPFLAGS'
19455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19458
19459 cat >conftest.$ac_ext <<_ACEOF
19460 #line $LINENO "configure"
19461 /* confdefs.h. */
19462 _ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 #include <expat.h>
19467 int
19468 main ()
19469 {
19470
19471 ;
19472 return 0;
19473 }
19474 _ACEOF
19475 rm -f conftest.$ac_objext
19476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19477 (eval $ac_compile) 2>&5
19478 ac_status=$?
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } &&
19481 { ac_try='test -s conftest.$ac_objext'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; }; then
19487 wx_cv_expat_is_not_broken=yes
19488 else
19489 echo "$as_me: failed program was:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19491
19492 wx_cv_expat_is_not_broken=no
19493
19494 fi
19495 rm -f conftest.$ac_objext conftest.$ac_ext
19496 ac_ext=c
19497 ac_cpp='$CPP $CPPFLAGS'
19498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19501
19502
19503
19504 fi
19505 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19506 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19507 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19508 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19509 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19510 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 else
19513 ac_check_lib_save_LIBS=$LIBS
19514 LIBS="-lexpat $LIBS"
19515 cat >conftest.$ac_ext <<_ACEOF
19516 #line $LINENO "configure"
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522
19523 /* Override any gcc2 internal prototype to avoid an error. */
19524 #ifdef __cplusplus
19525 extern "C"
19526 #endif
19527 /* We use char because int might match the return type of a gcc2
19528 builtin and then its argument prototype would still apply. */
19529 char XML_ParserCreate ();
19530 int
19531 main ()
19532 {
19533 XML_ParserCreate ();
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 rm -f conftest.$ac_objext conftest$ac_exeext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19540 (eval $ac_link) 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); } &&
19544 { ac_try='test -s conftest$ac_exeext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19547 ac_status=$?
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19550 ac_cv_lib_expat_XML_ParserCreate=yes
19551 else
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19554
19555 ac_cv_lib_expat_XML_ParserCreate=no
19556 fi
19557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19558 LIBS=$ac_check_lib_save_LIBS
19559 fi
19560 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19561 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19562 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19563 EXPAT_LINK=" -lexpat"
19564 fi
19565
19566 fi
19567 fi
19568 if test "x$EXPAT_LINK" = "x" ; then
19569 if test "$wxUSE_EXPAT" = "sys" ; then
19570 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19571 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19572 { (exit 1); exit 1; }; }
19573 else
19574 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19575 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19576 wxUSE_EXPAT=builtin
19577 fi
19578 else
19579 wxUSE_EXPAT=sys
19580 fi
19581 fi
19582 if test "$wxUSE_EXPAT" = "builtin" ; then
19583
19584
19585 subdirs="$subdirs src/expat"
19586
19587 fi
19588 fi
19589
19590
19591
19592 if test "$wxUSE_LIBMSPACK" != "no"; then
19593
19594 if test "${ac_cv_header_mspack_h+set}" = set; then
19595 echo "$as_me:$LINENO: checking for mspack.h" >&5
19596 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19597 if test "${ac_cv_header_mspack_h+set}" = set; then
19598 echo $ECHO_N "(cached) $ECHO_C" >&6
19599 fi
19600 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19601 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19602 else
19603 # Is the header compilable?
19604 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19605 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19606 cat >conftest.$ac_ext <<_ACEOF
19607 #line $LINENO "configure"
19608 /* confdefs.h. */
19609 _ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 $ac_includes_default
19614 #include <mspack.h>
19615 _ACEOF
19616 rm -f conftest.$ac_objext
19617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19618 (eval $ac_compile) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } &&
19622 { ac_try='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19625 ac_status=$?
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_header_compiler=yes
19629 else
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.$ac_ext >&5
19632
19633 ac_header_compiler=no
19634 fi
19635 rm -f conftest.$ac_objext conftest.$ac_ext
19636 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19637 echo "${ECHO_T}$ac_header_compiler" >&6
19638
19639 # Is the header present?
19640 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19641 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19642 cat >conftest.$ac_ext <<_ACEOF
19643 #line $LINENO "configure"
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 #include <mspack.h>
19650 _ACEOF
19651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19653 ac_status=$?
19654 grep -v '^ *+' conftest.er1 >conftest.err
19655 rm -f conftest.er1
19656 cat conftest.err >&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } >/dev/null; then
19659 if test -s conftest.err; then
19660 ac_cpp_err=$ac_c_preproc_warn_flag
19661 else
19662 ac_cpp_err=
19663 fi
19664 else
19665 ac_cpp_err=yes
19666 fi
19667 if test -z "$ac_cpp_err"; then
19668 ac_header_preproc=yes
19669 else
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19672
19673 ac_header_preproc=no
19674 fi
19675 rm -f conftest.err conftest.$ac_ext
19676 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19677 echo "${ECHO_T}$ac_header_preproc" >&6
19678
19679 # So? What about this header?
19680 case $ac_header_compiler:$ac_header_preproc in
19681 yes:no )
19682 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19683 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19684 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19685 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19686 (
19687 cat <<\_ASBOX
19688 ## ------------------------------------ ##
19689 ## Report this to bug-autoconf@gnu.org. ##
19690 ## ------------------------------------ ##
19691 _ASBOX
19692 ) |
19693 sed "s/^/$as_me: WARNING: /" >&2
19694 ;;
19695 no:yes )
19696 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19697 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19698 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19699 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19700 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19701 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19702 (
19703 cat <<\_ASBOX
19704 ## ------------------------------------ ##
19705 ## Report this to bug-autoconf@gnu.org. ##
19706 ## ------------------------------------ ##
19707 _ASBOX
19708 ) |
19709 sed "s/^/$as_me: WARNING: /" >&2
19710 ;;
19711 esac
19712 echo "$as_me:$LINENO: checking for mspack.h" >&5
19713 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19714 if test "${ac_cv_header_mspack_h+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 ac_cv_header_mspack_h=$ac_header_preproc
19718 fi
19719 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19720 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19721
19722 fi
19723 if test $ac_cv_header_mspack_h = yes; then
19724 found_mspack_h=1
19725 fi
19726
19727
19728 if test "x$found_mspack_h" = "x1"; then
19729 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19730 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19731 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19733 else
19734 ac_check_lib_save_LIBS=$LIBS
19735 LIBS="-lmspack $LIBS"
19736 cat >conftest.$ac_ext <<_ACEOF
19737 #line $LINENO "configure"
19738 /* confdefs.h. */
19739 _ACEOF
19740 cat confdefs.h >>conftest.$ac_ext
19741 cat >>conftest.$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743
19744 /* Override any gcc2 internal prototype to avoid an error. */
19745 #ifdef __cplusplus
19746 extern "C"
19747 #endif
19748 /* We use char because int might match the return type of a gcc2
19749 builtin and then its argument prototype would still apply. */
19750 char mspack_create_chm_decompressor ();
19751 int
19752 main ()
19753 {
19754 mspack_create_chm_decompressor ();
19755 ;
19756 return 0;
19757 }
19758 _ACEOF
19759 rm -f conftest.$ac_objext conftest$ac_exeext
19760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19761 (eval $ac_link) 2>&5
19762 ac_status=$?
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try='test -s conftest$ac_exeext'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19768 ac_status=$?
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; }; then
19771 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19772 else
19773 echo "$as_me: failed program was:" >&5
19774 sed 's/^/| /' conftest.$ac_ext >&5
19775
19776 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19777 fi
19778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19779 LIBS=$ac_check_lib_save_LIBS
19780 fi
19781 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19782 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19783 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19784 MSPACK_LINK=" -lmspack"
19785 fi
19786
19787 fi
19788 if test "x$MSPACK_LINK" = "x" ; then
19789 wxUSE_LIBMSPACK=no
19790 else
19791 cat >>confdefs.h <<\_ACEOF
19792 #define wxUSE_LIBMSPACK 1
19793 _ACEOF
19794
19795 fi
19796 fi
19797
19798
19799
19800 AFMINSTALL=
19801 WIN32INSTALL=
19802
19803 TOOLKIT=
19804 TOOLKIT_INCLUDE=
19805 WIDGET_SET=
19806
19807 if test "$USE_WIN32" = 1 ; then
19808
19809 for ac_header in w32api.h
19810 do
19811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19813 echo "$as_me:$LINENO: checking for $ac_header" >&5
19814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 fi
19818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19820 else
19821 # Is the header compilable?
19822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19824 cat >conftest.$ac_ext <<_ACEOF
19825 #line $LINENO "configure"
19826 /* confdefs.h. */
19827 _ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19831 $ac_includes_default
19832 #include <$ac_header>
19833 _ACEOF
19834 rm -f conftest.$ac_objext
19835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19836 (eval $ac_compile) 2>&5
19837 ac_status=$?
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); } &&
19840 { ac_try='test -s conftest.$ac_objext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19843 ac_status=$?
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_header_compiler=yes
19847 else
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.$ac_ext >&5
19850
19851 ac_header_compiler=no
19852 fi
19853 rm -f conftest.$ac_objext conftest.$ac_ext
19854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19855 echo "${ECHO_T}$ac_header_compiler" >&6
19856
19857 # Is the header present?
19858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19860 cat >conftest.$ac_ext <<_ACEOF
19861 #line $LINENO "configure"
19862 /* confdefs.h. */
19863 _ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 #include <$ac_header>
19868 _ACEOF
19869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19871 ac_status=$?
19872 grep -v '^ *+' conftest.er1 >conftest.err
19873 rm -f conftest.er1
19874 cat conftest.err >&5
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); } >/dev/null; then
19877 if test -s conftest.err; then
19878 ac_cpp_err=$ac_c_preproc_warn_flag
19879 else
19880 ac_cpp_err=
19881 fi
19882 else
19883 ac_cpp_err=yes
19884 fi
19885 if test -z "$ac_cpp_err"; then
19886 ac_header_preproc=yes
19887 else
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.$ac_ext >&5
19890
19891 ac_header_preproc=no
19892 fi
19893 rm -f conftest.err conftest.$ac_ext
19894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19895 echo "${ECHO_T}$ac_header_preproc" >&6
19896
19897 # So? What about this header?
19898 case $ac_header_compiler:$ac_header_preproc in
19899 yes:no )
19900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19904 (
19905 cat <<\_ASBOX
19906 ## ------------------------------------ ##
19907 ## Report this to bug-autoconf@gnu.org. ##
19908 ## ------------------------------------ ##
19909 _ASBOX
19910 ) |
19911 sed "s/^/$as_me: WARNING: /" >&2
19912 ;;
19913 no:yes )
19914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19920 (
19921 cat <<\_ASBOX
19922 ## ------------------------------------ ##
19923 ## Report this to bug-autoconf@gnu.org. ##
19924 ## ------------------------------------ ##
19925 _ASBOX
19926 ) |
19927 sed "s/^/$as_me: WARNING: /" >&2
19928 ;;
19929 esac
19930 echo "$as_me:$LINENO: checking for $ac_header" >&5
19931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19934 else
19935 eval "$as_ac_Header=$ac_header_preproc"
19936 fi
19937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19939
19940 fi
19941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19942 cat >>confdefs.h <<_ACEOF
19943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19944 _ACEOF
19945
19946 fi
19947
19948 done
19949
19950 if test "${ac_cv_header_windows_h+set}" = set; then
19951 echo "$as_me:$LINENO: checking for windows.h" >&5
19952 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19953 if test "${ac_cv_header_windows_h+set}" = set; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 fi
19956 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19957 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19958 else
19959 # Is the header compilable?
19960 echo "$as_me:$LINENO: checking windows.h usability" >&5
19961 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19962 cat >conftest.$ac_ext <<_ACEOF
19963 #line $LINENO "configure"
19964 /* confdefs.h. */
19965 _ACEOF
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 $ac_includes_default
19970 #include <windows.h>
19971 _ACEOF
19972 rm -f conftest.$ac_objext
19973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19974 (eval $ac_compile) 2>&5
19975 ac_status=$?
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } &&
19978 { ac_try='test -s conftest.$ac_objext'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19981 ac_status=$?
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19984 ac_header_compiler=yes
19985 else
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19988
19989 ac_header_compiler=no
19990 fi
19991 rm -f conftest.$ac_objext conftest.$ac_ext
19992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19993 echo "${ECHO_T}$ac_header_compiler" >&6
19994
19995 # Is the header present?
19996 echo "$as_me:$LINENO: checking windows.h presence" >&5
19997 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19998 cat >conftest.$ac_ext <<_ACEOF
19999 #line $LINENO "configure"
20000 /* confdefs.h. */
20001 _ACEOF
20002 cat confdefs.h >>conftest.$ac_ext
20003 cat >>conftest.$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 #include <windows.h>
20006 _ACEOF
20007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } >/dev/null; then
20015 if test -s conftest.err; then
20016 ac_cpp_err=$ac_c_preproc_warn_flag
20017 else
20018 ac_cpp_err=
20019 fi
20020 else
20021 ac_cpp_err=yes
20022 fi
20023 if test -z "$ac_cpp_err"; then
20024 ac_header_preproc=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20028
20029 ac_header_preproc=no
20030 fi
20031 rm -f conftest.err conftest.$ac_ext
20032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20033 echo "${ECHO_T}$ac_header_preproc" >&6
20034
20035 # So? What about this header?
20036 case $ac_header_compiler:$ac_header_preproc in
20037 yes:no )
20038 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20039 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20040 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20041 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20042 (
20043 cat <<\_ASBOX
20044 ## ------------------------------------ ##
20045 ## Report this to bug-autoconf@gnu.org. ##
20046 ## ------------------------------------ ##
20047 _ASBOX
20048 ) |
20049 sed "s/^/$as_me: WARNING: /" >&2
20050 ;;
20051 no:yes )
20052 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20053 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20054 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20055 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20056 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20057 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20058 (
20059 cat <<\_ASBOX
20060 ## ------------------------------------ ##
20061 ## Report this to bug-autoconf@gnu.org. ##
20062 ## ------------------------------------ ##
20063 _ASBOX
20064 ) |
20065 sed "s/^/$as_me: WARNING: /" >&2
20066 ;;
20067 esac
20068 echo "$as_me:$LINENO: checking for windows.h" >&5
20069 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20070 if test "${ac_cv_header_windows_h+set}" = set; then
20071 echo $ECHO_N "(cached) $ECHO_C" >&6
20072 else
20073 ac_cv_header_windows_h=$ac_header_preproc
20074 fi
20075 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20076 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20077
20078 fi
20079 if test $ac_cv_header_windows_h = yes; then
20080 :
20081 else
20082
20083 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20084 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20085 { (exit 1); exit 1; }; }
20086
20087 fi
20088
20089
20090
20091 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20092
20093 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20094 LIBS="$LIBS -loleacc"
20095 fi
20096
20097 case "${host}" in
20098 *-*-cygwin* )
20099 LIBS="$LIBS -lkernel32 -luser32"
20100 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20101 esac
20102
20103 if test "$wxUSE_ODBC" = "sys" ; then
20104 wxUSE_ODBC = "yes"
20105 fi
20106 if test "$wxUSE_ODBC" = "yes" ; then
20107 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20108 cat >>confdefs.h <<\_ACEOF
20109 #define wxUSE_ODBC 1
20110 _ACEOF
20111
20112 fi
20113
20114 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20115 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20116
20117 WIN32INSTALL=win32install
20118 fi
20119
20120 if test "$wxUSE_GUI" = "yes"; then
20121 USE_GUI=1
20122
20123 GUI_TK_LIBRARY=
20124
20125 WXGTK12=
20126 WXGTK127=
20127 WXGTK20=
20128
20129 if test "$wxUSE_MSW" = 1 ; then
20130 TOOLKIT=MSW
20131 GUIDIST=MSW_DIST
20132
20133 case "${host}" in
20134 *-*-mingw32* )
20135 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20136 esac
20137 fi
20138
20139 if test "$wxUSE_GTK" = 1; then
20140 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20141 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20142
20143 gtk_version_cached=1
20144 if test "${wx_cv_lib_gtk+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 else
20147
20148 gtk_version_cached=0
20149 echo "$as_me:$LINENO: result: " >&5
20150 echo "${ECHO_T}" >&6
20151
20152 GTK_MODULES=
20153 if test "$wxUSE_THREADS" = "yes"; then
20154 GTK_MODULES=gthread
20155 fi
20156
20157 wx_cv_lib_gtk=
20158 if test "x$wxUSE_GTK2" = "xyes"; then
20159 # Check whether --enable-gtktest or --disable-gtktest was given.
20160 if test "${enable_gtktest+set}" = set; then
20161 enableval="$enable_gtktest"
20162
20163 else
20164 enable_gtktest=yes
20165 fi;
20166
20167 pkg_config_args=gtk+-2.0
20168 for module in . $GTK_MODULES
20169 do
20170 case "$module" in
20171 gthread)
20172 pkg_config_args="$pkg_config_args gthread-2.0"
20173 ;;
20174 esac
20175 done
20176
20177 no_gtk=""
20178
20179 # Extract the first word of "pkg-config", so it can be a program name with args.
20180 set dummy pkg-config; ac_word=$2
20181 echo "$as_me:$LINENO: checking for $ac_word" >&5
20182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20183 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20184 echo $ECHO_N "(cached) $ECHO_C" >&6
20185 else
20186 case $PKG_CONFIG in
20187 [\\/]* | ?:[\\/]*)
20188 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20189 ;;
20190 *)
20191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20192 for as_dir in $PATH
20193 do
20194 IFS=$as_save_IFS
20195 test -z "$as_dir" && as_dir=.
20196 for ac_exec_ext in '' $ac_executable_extensions; do
20197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20198 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20200 break 2
20201 fi
20202 done
20203 done
20204
20205 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20206 ;;
20207 esac
20208 fi
20209 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20210
20211 if test -n "$PKG_CONFIG"; then
20212 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20213 echo "${ECHO_T}$PKG_CONFIG" >&6
20214 else
20215 echo "$as_me:$LINENO: result: no" >&5
20216 echo "${ECHO_T}no" >&6
20217 fi
20218
20219
20220 if test x$PKG_CONFIG != xno ; then
20221 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20222 :
20223 else
20224 echo *** pkg-config too old; version 0.7 or better required.
20225 no_gtk=yes
20226 PKG_CONFIG=no
20227 fi
20228 else
20229 no_gtk=yes
20230 fi
20231
20232 min_gtk_version=2.0.0
20233 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20234 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20235
20236 if test x$PKG_CONFIG != xno ; then
20237 ## don't try to run the test against uninstalled libtool libs
20238 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20239 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20240 enable_gtktest=no
20241 fi
20242
20243 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20244 :
20245 else
20246 no_gtk=yes
20247 fi
20248 fi
20249
20250 if test x"$no_gtk" = x ; then
20251 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20252 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20253 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20254 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20255 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20256 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20257 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20259 if test "x$enable_gtktest" = "xyes" ; then
20260 ac_save_CFLAGS="$CFLAGS"
20261 ac_save_LIBS="$LIBS"
20262 CFLAGS="$CFLAGS $GTK_CFLAGS"
20263 LIBS="$GTK_LIBS $LIBS"
20264 rm -f conf.gtktest
20265 if test "$cross_compiling" = yes; then
20266 echo $ac_n "cross compiling; assumed OK... $ac_c"
20267 else
20268 cat >conftest.$ac_ext <<_ACEOF
20269 #line $LINENO "configure"
20270 /* confdefs.h. */
20271 _ACEOF
20272 cat confdefs.h >>conftest.$ac_ext
20273 cat >>conftest.$ac_ext <<_ACEOF
20274 /* end confdefs.h. */
20275
20276 #include <gtk/gtk.h>
20277 #include <stdio.h>
20278 #include <stdlib.h>
20279
20280 int
20281 main ()
20282 {
20283 int major, minor, micro;
20284 char *tmp_version;
20285
20286 system ("touch conf.gtktest");
20287
20288 /* HP/UX 9 (%@#!) writes to sscanf strings */
20289 tmp_version = g_strdup("$min_gtk_version");
20290 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20291 printf("%s, bad version string\n", "$min_gtk_version");
20292 exit(1);
20293 }
20294
20295 if ((gtk_major_version != $gtk_config_major_version) ||
20296 (gtk_minor_version != $gtk_config_minor_version) ||
20297 (gtk_micro_version != $gtk_config_micro_version))
20298 {
20299 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20300 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20301 gtk_major_version, gtk_minor_version, gtk_micro_version);
20302 printf ("*** was found! If pkg-config was correct, then it is best\n");
20303 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20304 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20305 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20306 printf("*** required on your system.\n");
20307 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20308 printf("*** to point to the correct configuration files\n");
20309 }
20310 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20311 (gtk_minor_version != GTK_MINOR_VERSION) ||
20312 (gtk_micro_version != GTK_MICRO_VERSION))
20313 {
20314 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20315 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20316 printf("*** library (version %d.%d.%d)\n",
20317 gtk_major_version, gtk_minor_version, gtk_micro_version);
20318 }
20319 else
20320 {
20321 if ((gtk_major_version > major) ||
20322 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20323 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20324 {
20325 return 0;
20326 }
20327 else
20328 {
20329 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20330 gtk_major_version, gtk_minor_version, gtk_micro_version);
20331 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20332 major, minor, micro);
20333 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20334 printf("***\n");
20335 printf("*** If you have already installed a sufficiently new version, this error\n");
20336 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20337 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20338 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20339 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20340 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20341 printf("*** so that the correct libraries are found at run-time))\n");
20342 }
20343 }
20344 return 1;
20345 }
20346
20347 _ACEOF
20348 rm -f conftest$ac_exeext
20349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20350 (eval $ac_link) 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20355 (eval $ac_try) 2>&5
20356 ac_status=$?
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 :
20360 else
20361 echo "$as_me: program exited with status $ac_status" >&5
20362 echo "$as_me: failed program was:" >&5
20363 sed 's/^/| /' conftest.$ac_ext >&5
20364
20365 ( exit $ac_status )
20366 no_gtk=yes
20367 fi
20368 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20369 fi
20370 CFLAGS="$ac_save_CFLAGS"
20371 LIBS="$ac_save_LIBS"
20372 fi
20373 fi
20374 if test "x$no_gtk" = x ; then
20375 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20376 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20377 wx_cv_lib_gtk=2.0
20378 else
20379 echo "$as_me:$LINENO: result: no" >&5
20380 echo "${ECHO_T}no" >&6
20381 if test "$PKG_CONFIG" = "no" ; then
20382 echo "*** A new enough version of pkg-config was not found."
20383 echo "*** See http://pkgconfig.sourceforge.net"
20384 else
20385 if test -f conf.gtktest ; then
20386 :
20387 else
20388 echo "*** Could not run GTK+ test program, checking why..."
20389 ac_save_CFLAGS="$CFLAGS"
20390 ac_save_LIBS="$LIBS"
20391 CFLAGS="$CFLAGS $GTK_CFLAGS"
20392 LIBS="$LIBS $GTK_LIBS"
20393 cat >conftest.$ac_ext <<_ACEOF
20394 #line $LINENO "configure"
20395 /* confdefs.h. */
20396 _ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400
20401 #include <gtk/gtk.h>
20402 #include <stdio.h>
20403
20404 int
20405 main ()
20406 {
20407 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20408 ;
20409 return 0;
20410 }
20411 _ACEOF
20412 rm -f conftest.$ac_objext conftest$ac_exeext
20413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20414 (eval $ac_link) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } &&
20418 { ac_try='test -s conftest$ac_exeext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 echo "*** The test program compiled, but did not run. This usually means"
20425 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20426 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20427 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20428 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20429 echo "*** is required on your system"
20430 echo "***"
20431 echo "*** If you have an old version installed, it is best to remove it, although"
20432 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20433 else
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 echo "*** The test program failed to compile or link. See the file config.log for the"
20438 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20439 fi
20440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20441 CFLAGS="$ac_save_CFLAGS"
20442 LIBS="$ac_save_LIBS"
20443 fi
20444 fi
20445 GTK_CFLAGS=""
20446 GTK_LIBS=""
20447 :
20448 fi
20449
20450
20451 rm -f conf.gtktest
20452
20453 else
20454
20455 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20456 if test "${with_gtk_prefix+set}" = set; then
20457 withval="$with_gtk_prefix"
20458 gtk_config_prefix="$withval"
20459 else
20460 gtk_config_prefix=""
20461 fi;
20462
20463 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20464 if test "${with_gtk_exec_prefix+set}" = set; then
20465 withval="$with_gtk_exec_prefix"
20466 gtk_config_exec_prefix="$withval"
20467 else
20468 gtk_config_exec_prefix=""
20469 fi;
20470 # Check whether --enable-gtktest or --disable-gtktest was given.
20471 if test "${enable_gtktest+set}" = set; then
20472 enableval="$enable_gtktest"
20473
20474 else
20475 enable_gtktest=yes
20476 fi;
20477
20478 for module in . $GTK_MODULES
20479 do
20480 case "$module" in
20481 gthread)
20482 gtk_config_args="$gtk_config_args gthread"
20483 ;;
20484 esac
20485 done
20486
20487 if test x$gtk_config_exec_prefix != x ; then
20488 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20489 if test x${GTK_CONFIG+set} != xset ; then
20490 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20491 fi
20492 fi
20493 if test x$gtk_config_prefix != x ; then
20494 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20495 if test x${GTK_CONFIG+set} != xset ; then
20496 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20497 fi
20498 fi
20499
20500 # Extract the first word of "gtk-config", so it can be a program name with args.
20501 set dummy gtk-config; ac_word=$2
20502 echo "$as_me:$LINENO: checking for $ac_word" >&5
20503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20504 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20505 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 else
20507 case $GTK_CONFIG in
20508 [\\/]* | ?:[\\/]*)
20509 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20510 ;;
20511 *)
20512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20513 for as_dir in $PATH
20514 do
20515 IFS=$as_save_IFS
20516 test -z "$as_dir" && as_dir=.
20517 for ac_exec_ext in '' $ac_executable_extensions; do
20518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20519 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20521 break 2
20522 fi
20523 done
20524 done
20525
20526 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20527 ;;
20528 esac
20529 fi
20530 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20531
20532 if test -n "$GTK_CONFIG"; then
20533 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20534 echo "${ECHO_T}$GTK_CONFIG" >&6
20535 else
20536 echo "$as_me:$LINENO: result: no" >&5
20537 echo "${ECHO_T}no" >&6
20538 fi
20539
20540 min_gtk_version=1.2.7
20541 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20542 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20543 no_gtk=""
20544 if test "$GTK_CONFIG" = "no" ; then
20545 no_gtk=yes
20546 else
20547 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20548 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20549 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20551 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20553 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20555 if test "x$enable_gtktest" = "xyes" ; then
20556 ac_save_CFLAGS="$CFLAGS"
20557 ac_save_LIBS="$LIBS"
20558 CFLAGS="$CFLAGS $GTK_CFLAGS"
20559 LIBS="$GTK_LIBS $LIBS"
20560 rm -f conf.gtktest
20561 if test "$cross_compiling" = yes; then
20562 echo $ac_n "cross compiling; assumed OK... $ac_c"
20563 else
20564 cat >conftest.$ac_ext <<_ACEOF
20565 #line $LINENO "configure"
20566 /* confdefs.h. */
20567 _ACEOF
20568 cat confdefs.h >>conftest.$ac_ext
20569 cat >>conftest.$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571
20572 #include <gtk/gtk.h>
20573 #include <stdio.h>
20574 #include <stdlib.h>
20575
20576 int
20577 main ()
20578 {
20579 int major, minor, micro;
20580 char *tmp_version;
20581
20582 system ("touch conf.gtktest");
20583
20584 /* HP/UX 9 (%@#!) writes to sscanf strings */
20585 tmp_version = g_strdup("$min_gtk_version");
20586 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20587 printf("%s, bad version string\n", "$min_gtk_version");
20588 exit(1);
20589 }
20590
20591 if ((gtk_major_version != $gtk_config_major_version) ||
20592 (gtk_minor_version != $gtk_config_minor_version) ||
20593 (gtk_micro_version != $gtk_config_micro_version))
20594 {
20595 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20596 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20597 gtk_major_version, gtk_minor_version, gtk_micro_version);
20598 printf ("*** was found! If gtk-config was correct, then it is best\n");
20599 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20600 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20601 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20602 printf("*** required on your system.\n");
20603 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20604 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20605 printf("*** before re-running configure\n");
20606 }
20607 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20608 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20609 (gtk_minor_version != GTK_MINOR_VERSION) ||
20610 (gtk_micro_version != GTK_MICRO_VERSION))
20611 {
20612 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20613 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20614 printf("*** library (version %d.%d.%d)\n",
20615 gtk_major_version, gtk_minor_version, gtk_micro_version);
20616 }
20617 #endif /* defined (GTK_MAJOR_VERSION) ... */
20618 else
20619 {
20620 if ((gtk_major_version > major) ||
20621 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20622 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20623 {
20624 return 0;
20625 }
20626 else
20627 {
20628 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20629 gtk_major_version, gtk_minor_version, gtk_micro_version);
20630 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20631 major, minor, micro);
20632 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20633 printf("***\n");
20634 printf("*** If you have already installed a sufficiently new version, this error\n");
20635 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20636 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20637 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20638 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20639 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20640 printf("*** so that the correct libraries are found at run-time))\n");
20641 }
20642 }
20643 return 1;
20644 }
20645
20646 _ACEOF
20647 rm -f conftest$ac_exeext
20648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20649 (eval $ac_link) 2>&5
20650 ac_status=$?
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 :
20659 else
20660 echo "$as_me: program exited with status $ac_status" >&5
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.$ac_ext >&5
20663
20664 ( exit $ac_status )
20665 no_gtk=yes
20666 fi
20667 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20668 fi
20669 CFLAGS="$ac_save_CFLAGS"
20670 LIBS="$ac_save_LIBS"
20671 fi
20672 fi
20673 if test "x$no_gtk" = x ; then
20674 echo "$as_me:$LINENO: result: yes" >&5
20675 echo "${ECHO_T}yes" >&6
20676 wx_cv_lib_gtk=1.2.7
20677 else
20678 echo "$as_me:$LINENO: result: no" >&5
20679 echo "${ECHO_T}no" >&6
20680 if test "$GTK_CONFIG" = "no" ; then
20681 echo "*** The gtk-config script installed by GTK could not be found"
20682 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20683 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20684 echo "*** full path to gtk-config."
20685 else
20686 if test -f conf.gtktest ; then
20687 :
20688 else
20689 echo "*** Could not run GTK test program, checking why..."
20690 CFLAGS="$CFLAGS $GTK_CFLAGS"
20691 LIBS="$LIBS $GTK_LIBS"
20692 cat >conftest.$ac_ext <<_ACEOF
20693 #line $LINENO "configure"
20694 /* confdefs.h. */
20695 _ACEOF
20696 cat confdefs.h >>conftest.$ac_ext
20697 cat >>conftest.$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20699
20700 #include <gtk/gtk.h>
20701 #include <stdio.h>
20702
20703 int
20704 main ()
20705 {
20706 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20707 ;
20708 return 0;
20709 }
20710 _ACEOF
20711 rm -f conftest.$ac_objext conftest$ac_exeext
20712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20713 (eval $ac_link) 2>&5
20714 ac_status=$?
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } &&
20717 { ac_try='test -s conftest$ac_exeext'
20718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20719 (eval $ac_try) 2>&5
20720 ac_status=$?
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); }; }; then
20723 echo "*** The test program compiled, but did not run. This usually means"
20724 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20725 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20726 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20727 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20728 echo "*** is required on your system"
20729 echo "***"
20730 echo "*** If you have an old version installed, it is best to remove it, although"
20731 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20732 echo "***"
20733 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20734 echo "*** came with the system with the command"
20735 echo "***"
20736 echo "*** rpm --erase --nodeps gtk gtk-devel"
20737 else
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.$ac_ext >&5
20740
20741 echo "*** The test program failed to compile or link. See the file config.log for the"
20742 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20743 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20744 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20745 fi
20746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20747 CFLAGS="$ac_save_CFLAGS"
20748 LIBS="$ac_save_LIBS"
20749 fi
20750 fi
20751 GTK_CFLAGS=""
20752 GTK_LIBS=""
20753 :
20754 fi
20755
20756
20757 rm -f conf.gtktest
20758
20759
20760 if test -z "$wx_cv_lib_gtk"; then
20761
20762 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20763 if test "${with_gtk_prefix+set}" = set; then
20764 withval="$with_gtk_prefix"
20765 gtk_config_prefix="$withval"
20766 else
20767 gtk_config_prefix=""
20768 fi;
20769
20770 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20771 if test "${with_gtk_exec_prefix+set}" = set; then
20772 withval="$with_gtk_exec_prefix"
20773 gtk_config_exec_prefix="$withval"
20774 else
20775 gtk_config_exec_prefix=""
20776 fi;
20777 # Check whether --enable-gtktest or --disable-gtktest was given.
20778 if test "${enable_gtktest+set}" = set; then
20779 enableval="$enable_gtktest"
20780
20781 else
20782 enable_gtktest=yes
20783 fi;
20784
20785 for module in . $GTK_MODULES
20786 do
20787 case "$module" in
20788 gthread)
20789 gtk_config_args="$gtk_config_args gthread"
20790 ;;
20791 esac
20792 done
20793
20794 if test x$gtk_config_exec_prefix != x ; then
20795 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20796 if test x${GTK_CONFIG+set} != xset ; then
20797 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20798 fi
20799 fi
20800 if test x$gtk_config_prefix != x ; then
20801 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20802 if test x${GTK_CONFIG+set} != xset ; then
20803 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20804 fi
20805 fi
20806
20807 # Extract the first word of "gtk-config", so it can be a program name with args.
20808 set dummy gtk-config; ac_word=$2
20809 echo "$as_me:$LINENO: checking for $ac_word" >&5
20810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20811 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20813 else
20814 case $GTK_CONFIG in
20815 [\\/]* | ?:[\\/]*)
20816 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20817 ;;
20818 *)
20819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20820 for as_dir in $PATH
20821 do
20822 IFS=$as_save_IFS
20823 test -z "$as_dir" && as_dir=.
20824 for ac_exec_ext in '' $ac_executable_extensions; do
20825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20826 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20828 break 2
20829 fi
20830 done
20831 done
20832
20833 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20834 ;;
20835 esac
20836 fi
20837 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20838
20839 if test -n "$GTK_CONFIG"; then
20840 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20841 echo "${ECHO_T}$GTK_CONFIG" >&6
20842 else
20843 echo "$as_me:$LINENO: result: no" >&5
20844 echo "${ECHO_T}no" >&6
20845 fi
20846
20847 min_gtk_version=1.2.3
20848 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20849 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20850 no_gtk=""
20851 if test "$GTK_CONFIG" = "no" ; then
20852 no_gtk=yes
20853 else
20854 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20855 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20856 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20858 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20860 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20862 if test "x$enable_gtktest" = "xyes" ; then
20863 ac_save_CFLAGS="$CFLAGS"
20864 ac_save_LIBS="$LIBS"
20865 CFLAGS="$CFLAGS $GTK_CFLAGS"
20866 LIBS="$GTK_LIBS $LIBS"
20867 rm -f conf.gtktest
20868 if test "$cross_compiling" = yes; then
20869 echo $ac_n "cross compiling; assumed OK... $ac_c"
20870 else
20871 cat >conftest.$ac_ext <<_ACEOF
20872 #line $LINENO "configure"
20873 /* confdefs.h. */
20874 _ACEOF
20875 cat confdefs.h >>conftest.$ac_ext
20876 cat >>conftest.$ac_ext <<_ACEOF
20877 /* end confdefs.h. */
20878
20879 #include <gtk/gtk.h>
20880 #include <stdio.h>
20881 #include <stdlib.h>
20882
20883 int
20884 main ()
20885 {
20886 int major, minor, micro;
20887 char *tmp_version;
20888
20889 system ("touch conf.gtktest");
20890
20891 /* HP/UX 9 (%@#!) writes to sscanf strings */
20892 tmp_version = g_strdup("$min_gtk_version");
20893 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20894 printf("%s, bad version string\n", "$min_gtk_version");
20895 exit(1);
20896 }
20897
20898 if ((gtk_major_version != $gtk_config_major_version) ||
20899 (gtk_minor_version != $gtk_config_minor_version) ||
20900 (gtk_micro_version != $gtk_config_micro_version))
20901 {
20902 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20903 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20904 gtk_major_version, gtk_minor_version, gtk_micro_version);
20905 printf ("*** was found! If gtk-config was correct, then it is best\n");
20906 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20907 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20908 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20909 printf("*** required on your system.\n");
20910 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20911 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20912 printf("*** before re-running configure\n");
20913 }
20914 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20915 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20916 (gtk_minor_version != GTK_MINOR_VERSION) ||
20917 (gtk_micro_version != GTK_MICRO_VERSION))
20918 {
20919 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20920 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20921 printf("*** library (version %d.%d.%d)\n",
20922 gtk_major_version, gtk_minor_version, gtk_micro_version);
20923 }
20924 #endif /* defined (GTK_MAJOR_VERSION) ... */
20925 else
20926 {
20927 if ((gtk_major_version > major) ||
20928 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20929 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20930 {
20931 return 0;
20932 }
20933 else
20934 {
20935 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20936 gtk_major_version, gtk_minor_version, gtk_micro_version);
20937 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20938 major, minor, micro);
20939 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20940 printf("***\n");
20941 printf("*** If you have already installed a sufficiently new version, this error\n");
20942 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20943 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20944 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20945 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20946 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20947 printf("*** so that the correct libraries are found at run-time))\n");
20948 }
20949 }
20950 return 1;
20951 }
20952
20953 _ACEOF
20954 rm -f conftest$ac_exeext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20956 (eval $ac_link) 2>&5
20957 ac_status=$?
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20961 (eval $ac_try) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); }; }; then
20965 :
20966 else
20967 echo "$as_me: program exited with status $ac_status" >&5
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20970
20971 ( exit $ac_status )
20972 no_gtk=yes
20973 fi
20974 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20975 fi
20976 CFLAGS="$ac_save_CFLAGS"
20977 LIBS="$ac_save_LIBS"
20978 fi
20979 fi
20980 if test "x$no_gtk" = x ; then
20981 echo "$as_me:$LINENO: result: yes" >&5
20982 echo "${ECHO_T}yes" >&6
20983 wx_cv_lib_gtk=1.2.3
20984 else
20985 echo "$as_me:$LINENO: result: no" >&5
20986 echo "${ECHO_T}no" >&6
20987 if test "$GTK_CONFIG" = "no" ; then
20988 echo "*** The gtk-config script installed by GTK could not be found"
20989 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20990 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20991 echo "*** full path to gtk-config."
20992 else
20993 if test -f conf.gtktest ; then
20994 :
20995 else
20996 echo "*** Could not run GTK test program, checking why..."
20997 CFLAGS="$CFLAGS $GTK_CFLAGS"
20998 LIBS="$LIBS $GTK_LIBS"
20999 cat >conftest.$ac_ext <<_ACEOF
21000 #line $LINENO "configure"
21001 /* confdefs.h. */
21002 _ACEOF
21003 cat confdefs.h >>conftest.$ac_ext
21004 cat >>conftest.$ac_ext <<_ACEOF
21005 /* end confdefs.h. */
21006
21007 #include <gtk/gtk.h>
21008 #include <stdio.h>
21009
21010 int
21011 main ()
21012 {
21013 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21014 ;
21015 return 0;
21016 }
21017 _ACEOF
21018 rm -f conftest.$ac_objext conftest$ac_exeext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21020 (eval $ac_link) 2>&5
21021 ac_status=$?
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } &&
21024 { ac_try='test -s conftest$ac_exeext'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; }; then
21030 echo "*** The test program compiled, but did not run. This usually means"
21031 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21032 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21033 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21034 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21035 echo "*** is required on your system"
21036 echo "***"
21037 echo "*** If you have an old version installed, it is best to remove it, although"
21038 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21039 echo "***"
21040 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21041 echo "*** came with the system with the command"
21042 echo "***"
21043 echo "*** rpm --erase --nodeps gtk gtk-devel"
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 echo "*** The test program failed to compile or link. See the file config.log for the"
21049 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21050 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21051 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21052 fi
21053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21054 CFLAGS="$ac_save_CFLAGS"
21055 LIBS="$ac_save_LIBS"
21056 fi
21057 fi
21058 GTK_CFLAGS=""
21059 GTK_LIBS=""
21060 :
21061 fi
21062
21063
21064 rm -f conf.gtktest
21065
21066 fi
21067 fi
21068
21069 if test -z "$wx_cv_lib_gtk"; then
21070 wx_cv_lib_gtk=none
21071 else
21072 wx_cv_cflags_gtk=$GTK_CFLAGS
21073 wx_cv_libs_gtk=$GTK_LIBS
21074 fi
21075
21076
21077 fi
21078
21079
21080 if test "$gtk_version_cached" = 1; then
21081 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21082 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21083 fi
21084
21085 case "$wx_cv_lib_gtk" in
21086 2.0) WXGTK20=1
21087 TOOLKIT_VERSION=2
21088 ;;
21089 1.2.7) WXGTK127=1
21090 WXGTK12=1
21091 ;;
21092 1.2.3) WXGTK12=1
21093 ;;
21094 *) { { echo "$as_me:$LINENO: error:
21095 Please check that gtk-config is in path, the directory
21096 where GTK+ libraries are installed (returned by
21097 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21098 equivalent variable and GTK+ is version 1.2.3 or above.
21099 " >&5
21100 echo "$as_me: error:
21101 Please check that gtk-config is in path, the directory
21102 where GTK+ libraries are installed (returned by
21103 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21104 equivalent variable and GTK+ is version 1.2.3 or above.
21105 " >&2;}
21106 { (exit 1); exit 1; }; }
21107 ;;
21108 esac
21109
21110 if test "$WXGTK20" = 1; then
21111 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21112
21113 succeeded=no
21114
21115 if test -z "$PKG_CONFIG"; then
21116 # Extract the first word of "pkg-config", so it can be a program name with args.
21117 set dummy pkg-config; ac_word=$2
21118 echo "$as_me:$LINENO: checking for $ac_word" >&5
21119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21120 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21122 else
21123 case $PKG_CONFIG in
21124 [\\/]* | ?:[\\/]*)
21125 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21126 ;;
21127 *)
21128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21129 for as_dir in $PATH
21130 do
21131 IFS=$as_save_IFS
21132 test -z "$as_dir" && as_dir=.
21133 for ac_exec_ext in '' $ac_executable_extensions; do
21134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21135 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21137 break 2
21138 fi
21139 done
21140 done
21141
21142 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21143 ;;
21144 esac
21145 fi
21146 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21147
21148 if test -n "$PKG_CONFIG"; then
21149 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21150 echo "${ECHO_T}$PKG_CONFIG" >&6
21151 else
21152 echo "$as_me:$LINENO: result: no" >&5
21153 echo "${ECHO_T}no" >&6
21154 fi
21155
21156 fi
21157
21158 if test "$PKG_CONFIG" = "no" ; then
21159 echo "*** The pkg-config script could not be found. Make sure it is"
21160 echo "*** in your path, or set the PKG_CONFIG environment variable"
21161 echo "*** to the full path to pkg-config."
21162 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21163 else
21164 PKG_CONFIG_MIN_VERSION=0.9.0
21165 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21166 echo "$as_me:$LINENO: checking for pangoft2" >&5
21167 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21168
21169 if $PKG_CONFIG --exists "pangoft2" ; then
21170 echo "$as_me:$LINENO: result: yes" >&5
21171 echo "${ECHO_T}yes" >&6
21172 succeeded=yes
21173
21174 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21175 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21176 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21177 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21178 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21179
21180 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21181 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21182 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21183 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21184 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21185 else
21186 PANGOFT2_CFLAGS=""
21187 PANGOFT2_LIBS=""
21188 ## If we have a custom action on failure, don't print errors, but
21189 ## do set a variable so people can do so.
21190 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21191
21192 fi
21193
21194
21195
21196 else
21197 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21198 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21199 fi
21200 fi
21201
21202 if test $succeeded = yes; then
21203
21204 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21205 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21206
21207 else
21208
21209 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21210 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21211 wxUSE_PRINTING_ARCHITECTURE="no"
21212
21213
21214 fi
21215
21216 fi
21217 else
21218 if test "$wxUSE_UNICODE" = "yes"; then
21219 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21220 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21221 wxUSE_UNICODE=no
21222 fi
21223 fi
21224
21225 if test "$USE_DARWIN" != 1; then
21226
21227 for ac_func in poll
21228 do
21229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230 echo "$as_me:$LINENO: checking for $ac_func" >&5
21231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232 if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 else
21235 cat >conftest.$ac_ext <<_ACEOF
21236 #line $LINENO "configure"
21237 /* confdefs.h. */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 /* System header to define __stub macros and hopefully few prototypes,
21243 which can conflict with char $ac_func (); below.
21244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21245 <limits.h> exists even on freestanding compilers. */
21246 #ifdef __STDC__
21247 # include <limits.h>
21248 #else
21249 # include <assert.h>
21250 #endif
21251 /* Override any gcc2 internal prototype to avoid an error. */
21252 #ifdef __cplusplus
21253 extern "C"
21254 {
21255 #endif
21256 /* We use char because int might match the return type of a gcc2
21257 builtin and then its argument prototype would still apply. */
21258 char $ac_func ();
21259 /* The GNU C library defines this for functions which it implements
21260 to always fail with ENOSYS. Some functions are actually named
21261 something starting with __ and the normal name is an alias. */
21262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21263 choke me
21264 #else
21265 char (*f) () = $ac_func;
21266 #endif
21267 #ifdef __cplusplus
21268 }
21269 #endif
21270
21271 int
21272 main ()
21273 {
21274 return f != $ac_func;
21275 ;
21276 return 0;
21277 }
21278 _ACEOF
21279 rm -f conftest.$ac_objext conftest$ac_exeext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21281 (eval $ac_link) 2>&5
21282 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try='test -s conftest$ac_exeext'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; }; then
21291 eval "$as_ac_var=yes"
21292 else
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21295
21296 eval "$as_ac_var=no"
21297 fi
21298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21299 fi
21300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21302 if test `eval echo '${'$as_ac_var'}'` = yes; then
21303 cat >>confdefs.h <<_ACEOF
21304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21305 _ACEOF
21306
21307 fi
21308 done
21309
21310 fi
21311
21312 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21313 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21314
21315 AFMINSTALL=afminstall
21316 TOOLKIT=GTK
21317 GUIDIST=GTK_DIST
21318
21319 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21320 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21321 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21323 else
21324 ac_check_lib_save_LIBS=$LIBS
21325 LIBS="-lgdk $LIBS"
21326 cat >conftest.$ac_ext <<_ACEOF
21327 #line $LINENO "configure"
21328 /* confdefs.h. */
21329 _ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333
21334 /* Override any gcc2 internal prototype to avoid an error. */
21335 #ifdef __cplusplus
21336 extern "C"
21337 #endif
21338 /* We use char because int might match the return type of a gcc2
21339 builtin and then its argument prototype would still apply. */
21340 char gdk_im_open ();
21341 int
21342 main ()
21343 {
21344 gdk_im_open ();
21345 ;
21346 return 0;
21347 }
21348 _ACEOF
21349 rm -f conftest.$ac_objext conftest$ac_exeext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21351 (eval $ac_link) 2>&5
21352 ac_status=$?
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -s conftest$ac_exeext'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; }; then
21361 ac_cv_lib_gdk_gdk_im_open=yes
21362 else
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.$ac_ext >&5
21365
21366 ac_cv_lib_gdk_gdk_im_open=no
21367 fi
21368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21369 LIBS=$ac_check_lib_save_LIBS
21370 fi
21371 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21372 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21373 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21374 cat >>confdefs.h <<\_ACEOF
21375 #define HAVE_XIM 1
21376 _ACEOF
21377
21378 fi
21379
21380 fi
21381
21382 if test "$wxUSE_MGL" = 1; then
21383 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21384 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21385 if test "x$MGL_ROOT" = x ; then
21386 echo "$as_me:$LINENO: result: not found" >&5
21387 echo "${ECHO_T}not found" >&6
21388 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21389 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21390 { (exit 1); exit 1; }; }
21391 else
21392 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21393 echo "${ECHO_T}$MGL_ROOT" >&6
21394 fi
21395
21396 echo "$as_me:$LINENO: checking for libmgl location" >&5
21397 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21398 case "${host}" in
21399 *-*-linux* )
21400 if test "x$wxUSE_SHARED" = xyes ; then
21401 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21402 else
21403 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21404 fi
21405 ;;
21406 *-pc-msdosdjgpp )
21407 mgl_os_candidates="dos32/dj2"
21408 ;;
21409 *)
21410 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21411 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21412 { (exit 1); exit 1; }; }
21413 esac
21414
21415 mgl_lib_type=""
21416 mgl_os=""
21417
21418 for mgl_os_i in $mgl_os_candidates ; do
21419 if test "x$mgl_os" = x ; then
21420 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21421 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21422 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21423 mgl_lib_type=debug
21424 mgl_os=$mgl_os_i
21425 fi
21426 fi
21427 if test "x$mgl_lib_type" = x ; then
21428 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21429 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21430 mgl_lib_type=release
21431 mgl_os=$mgl_os_i
21432 fi
21433 fi
21434 fi
21435 done
21436
21437 if test "x$mgl_os" = x ; then
21438 echo "$as_me:$LINENO: result: not found" >&5
21439 echo "${ECHO_T}not found" >&6
21440 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21441 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21442 { (exit 1); exit 1; }; }
21443 fi
21444 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21445 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21446
21447 wxUSE_UNIVERSAL="yes"
21448
21449 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21450 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21451
21452 AFMINSTALL=afminstall
21453 TOOLKIT=MGL
21454 GUIDIST=MGL_DIST
21455 fi
21456
21457 if test "$wxUSE_MICROWIN" = 1; then
21458 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21459 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21460 if test "x$MICROWINDOWS" = x ; then
21461 echo "$as_me:$LINENO: result: not found" >&5
21462 echo "${ECHO_T}not found" >&6
21463 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21464 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21465 { (exit 1); exit 1; }; }
21466 else
21467 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21468 echo "${ECHO_T}$MICROWINDOWS" >&6
21469 fi
21470
21471 if test -f $MICROWINDOWS/lib/libmwin.a; then
21472 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21473 echo "${ECHO_T}MicroWindows' libraries found." >&6
21474 else
21475 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21476 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21477 { (exit 1); exit 1; }; }
21478 fi
21479
21480 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21481 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21482
21483 wxUSE_UNIVERSAL="yes"
21484
21485 AFMINSTALL=afminstall
21486 TOOLKIT=MICROWIN
21487 GUIDIST=MICROWIN_DIST
21488
21489 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21490 fi
21491
21492 if test "$wxUSE_X11" = 1; then
21493 echo "$as_me:$LINENO: checking for X" >&5
21494 echo $ECHO_N "checking for X... $ECHO_C" >&6
21495
21496
21497 # Check whether --with-x or --without-x was given.
21498 if test "${with_x+set}" = set; then
21499 withval="$with_x"
21500
21501 fi;
21502 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21503 if test "x$with_x" = xno; then
21504 # The user explicitly disabled X.
21505 have_x=disabled
21506 else
21507 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21508 # Both variables are already set.
21509 have_x=yes
21510 else
21511 if test "${ac_cv_have_x+set}" = set; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 else
21514 # One or both of the vars are not set, and there is no cached value.
21515 ac_x_includes=no ac_x_libraries=no
21516 rm -fr conftest.dir
21517 if mkdir conftest.dir; then
21518 cd conftest.dir
21519 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21520 cat >Imakefile <<'_ACEOF'
21521 acfindx:
21522 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21523 _ACEOF
21524 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21525 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21526 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21527 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21528 for ac_extension in a so sl; do
21529 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21530 test -f $ac_im_libdir/libX11.$ac_extension; then
21531 ac_im_usrlibdir=$ac_im_libdir; break
21532 fi
21533 done
21534 # Screen out bogus values from the imake configuration. They are
21535 # bogus both because they are the default anyway, and because
21536 # using them would break gcc on systems where it needs fixed includes.
21537 case $ac_im_incroot in
21538 /usr/include) ;;
21539 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21540 esac
21541 case $ac_im_usrlibdir in
21542 /usr/lib | /lib) ;;
21543 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21544 esac
21545 fi
21546 cd ..
21547 rm -fr conftest.dir
21548 fi
21549
21550 # Standard set of common directories for X headers.
21551 # Check X11 before X11Rn because it is often a symlink to the current release.
21552 ac_x_header_dirs='
21553 /usr/X11/include
21554 /usr/X11R6/include
21555 /usr/X11R5/include
21556 /usr/X11R4/include
21557
21558 /usr/include/X11
21559 /usr/include/X11R6
21560 /usr/include/X11R5
21561 /usr/include/X11R4
21562
21563 /usr/local/X11/include
21564 /usr/local/X11R6/include
21565 /usr/local/X11R5/include
21566 /usr/local/X11R4/include
21567
21568 /usr/local/include/X11
21569 /usr/local/include/X11R6
21570 /usr/local/include/X11R5
21571 /usr/local/include/X11R4
21572
21573 /usr/X386/include
21574 /usr/x386/include
21575 /usr/XFree86/include/X11
21576
21577 /usr/include
21578 /usr/local/include
21579 /usr/unsupported/include
21580 /usr/athena/include
21581 /usr/local/x11r5/include
21582 /usr/lpp/Xamples/include
21583
21584 /usr/openwin/include
21585 /usr/openwin/share/include'
21586
21587 if test "$ac_x_includes" = no; then
21588 # Guess where to find include files, by looking for Intrinsic.h.
21589 # First, try using that file with no special directory specified.
21590 cat >conftest.$ac_ext <<_ACEOF
21591 #line $LINENO "configure"
21592 /* confdefs.h. */
21593 _ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 #include <X11/Intrinsic.h>
21598 _ACEOF
21599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21601 ac_status=$?
21602 grep -v '^ *+' conftest.er1 >conftest.err
21603 rm -f conftest.er1
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } >/dev/null; then
21607 if test -s conftest.err; then
21608 ac_cpp_err=$ac_c_preproc_warn_flag
21609 else
21610 ac_cpp_err=
21611 fi
21612 else
21613 ac_cpp_err=yes
21614 fi
21615 if test -z "$ac_cpp_err"; then
21616 # We can compile using X headers with no special include directory.
21617 ac_x_includes=
21618 else
21619 echo "$as_me: failed program was:" >&5
21620 sed 's/^/| /' conftest.$ac_ext >&5
21621
21622 for ac_dir in $ac_x_header_dirs; do
21623 if test -r "$ac_dir/X11/Intrinsic.h"; then
21624 ac_x_includes=$ac_dir
21625 break
21626 fi
21627 done
21628 fi
21629 rm -f conftest.err conftest.$ac_ext
21630 fi # $ac_x_includes = no
21631
21632 if test "$ac_x_libraries" = no; then
21633 # Check for the libraries.
21634 # See if we find them without any special options.
21635 # Don't add to $LIBS permanently.
21636 ac_save_LIBS=$LIBS
21637 LIBS="-lXt $LIBS"
21638 cat >conftest.$ac_ext <<_ACEOF
21639 #line $LINENO "configure"
21640 /* confdefs.h. */
21641 _ACEOF
21642 cat confdefs.h >>conftest.$ac_ext
21643 cat >>conftest.$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21645 #include <X11/Intrinsic.h>
21646 int
21647 main ()
21648 {
21649 XtMalloc (0)
21650 ;
21651 return 0;
21652 }
21653 _ACEOF
21654 rm -f conftest.$ac_objext conftest$ac_exeext
21655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656 (eval $ac_link) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try='test -s conftest$ac_exeext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21666 LIBS=$ac_save_LIBS
21667 # We can link X programs with no special library path.
21668 ac_x_libraries=
21669 else
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21672
21673 LIBS=$ac_save_LIBS
21674 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21675 do
21676 # Don't even attempt the hair of trying to link an X program!
21677 for ac_extension in a so sl; do
21678 if test -r $ac_dir/libXt.$ac_extension; then
21679 ac_x_libraries=$ac_dir
21680 break 2
21681 fi
21682 done
21683 done
21684 fi
21685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21686 fi # $ac_x_libraries = no
21687
21688 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21689 # Didn't find X anywhere. Cache the known absence of X.
21690 ac_cv_have_x="have_x=no"
21691 else
21692 # Record where we found X for the cache.
21693 ac_cv_have_x="have_x=yes \
21694 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21695 fi
21696 fi
21697
21698 fi
21699 eval "$ac_cv_have_x"
21700 fi # $with_x != no
21701
21702 if test "$have_x" != yes; then
21703 echo "$as_me:$LINENO: result: $have_x" >&5
21704 echo "${ECHO_T}$have_x" >&6
21705 no_x=yes
21706 else
21707 # If each of the values was on the command line, it overrides each guess.
21708 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21709 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21710 # Update the cache value to reflect the command line values.
21711 ac_cv_have_x="have_x=yes \
21712 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21713 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21714 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21715 fi
21716
21717 if test "$no_x" = yes; then
21718 # Not all programs may use this symbol, but it does not hurt to define it.
21719
21720 cat >>confdefs.h <<\_ACEOF
21721 #define X_DISPLAY_MISSING 1
21722 _ACEOF
21723
21724 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21725 else
21726 if test -n "$x_includes"; then
21727 X_CFLAGS="$X_CFLAGS -I$x_includes"
21728 fi
21729
21730 # It would also be nice to do this for all -L options, not just this one.
21731 if test -n "$x_libraries"; then
21732 X_LIBS="$X_LIBS -L$x_libraries"
21733 # For Solaris; some versions of Sun CC require a space after -R and
21734 # others require no space. Words are not sufficient . . . .
21735 case `(uname -sr) 2>/dev/null` in
21736 "SunOS 5"*)
21737 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21738 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21739 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21740 cat >conftest.$ac_ext <<_ACEOF
21741 #line $LINENO "configure"
21742 /* confdefs.h. */
21743 _ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747
21748 int
21749 main ()
21750 {
21751
21752 ;
21753 return 0;
21754 }
21755 _ACEOF
21756 rm -f conftest.$ac_objext conftest$ac_exeext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21758 (eval $ac_link) 2>&5
21759 ac_status=$?
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try='test -s conftest$ac_exeext'
21763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764 (eval $ac_try) 2>&5
21765 ac_status=$?
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; }; then
21768 ac_R_nospace=yes
21769 else
21770 echo "$as_me: failed program was:" >&5
21771 sed 's/^/| /' conftest.$ac_ext >&5
21772
21773 ac_R_nospace=no
21774 fi
21775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21776 if test $ac_R_nospace = yes; then
21777 echo "$as_me:$LINENO: result: no" >&5
21778 echo "${ECHO_T}no" >&6
21779 X_LIBS="$X_LIBS -R$x_libraries"
21780 else
21781 LIBS="$ac_xsave_LIBS -R $x_libraries"
21782 cat >conftest.$ac_ext <<_ACEOF
21783 #line $LINENO "configure"
21784 /* confdefs.h. */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789
21790 int
21791 main ()
21792 {
21793
21794 ;
21795 return 0;
21796 }
21797 _ACEOF
21798 rm -f conftest.$ac_objext conftest$ac_exeext
21799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21800 (eval $ac_link) 2>&5
21801 ac_status=$?
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } &&
21804 { ac_try='test -s conftest$ac_exeext'
21805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21806 (eval $ac_try) 2>&5
21807 ac_status=$?
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); }; }; then
21810 ac_R_space=yes
21811 else
21812 echo "$as_me: failed program was:" >&5
21813 sed 's/^/| /' conftest.$ac_ext >&5
21814
21815 ac_R_space=no
21816 fi
21817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21818 if test $ac_R_space = yes; then
21819 echo "$as_me:$LINENO: result: yes" >&5
21820 echo "${ECHO_T}yes" >&6
21821 X_LIBS="$X_LIBS -R $x_libraries"
21822 else
21823 echo "$as_me:$LINENO: result: neither works" >&5
21824 echo "${ECHO_T}neither works" >&6
21825 fi
21826 fi
21827 LIBS=$ac_xsave_LIBS
21828 esac
21829 fi
21830
21831 # Check for system-dependent libraries X programs must link with.
21832 # Do this before checking for the system-independent R6 libraries
21833 # (-lICE), since we may need -lsocket or whatever for X linking.
21834
21835 if test "$ISC" = yes; then
21836 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21837 else
21838 # Martyn Johnson says this is needed for Ultrix, if the X
21839 # libraries were built with DECnet support. And Karl Berry says
21840 # the Alpha needs dnet_stub (dnet does not exist).
21841 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21842 cat >conftest.$ac_ext <<_ACEOF
21843 #line $LINENO "configure"
21844 /* confdefs.h. */
21845 _ACEOF
21846 cat confdefs.h >>conftest.$ac_ext
21847 cat >>conftest.$ac_ext <<_ACEOF
21848 /* end confdefs.h. */
21849
21850 /* Override any gcc2 internal prototype to avoid an error. */
21851 #ifdef __cplusplus
21852 extern "C"
21853 #endif
21854 /* We use char because int might match the return type of a gcc2
21855 builtin and then its argument prototype would still apply. */
21856 char XOpenDisplay ();
21857 int
21858 main ()
21859 {
21860 XOpenDisplay ();
21861 ;
21862 return 0;
21863 }
21864 _ACEOF
21865 rm -f conftest.$ac_objext conftest$ac_exeext
21866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21867 (eval $ac_link) 2>&5
21868 ac_status=$?
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); } &&
21871 { ac_try='test -s conftest$ac_exeext'
21872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873 (eval $ac_try) 2>&5
21874 ac_status=$?
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); }; }; then
21877 :
21878 else
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21883 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21884 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6
21886 else
21887 ac_check_lib_save_LIBS=$LIBS
21888 LIBS="-ldnet $LIBS"
21889 cat >conftest.$ac_ext <<_ACEOF
21890 #line $LINENO "configure"
21891 /* confdefs.h. */
21892 _ACEOF
21893 cat confdefs.h >>conftest.$ac_ext
21894 cat >>conftest.$ac_ext <<_ACEOF
21895 /* end confdefs.h. */
21896
21897 /* Override any gcc2 internal prototype to avoid an error. */
21898 #ifdef __cplusplus
21899 extern "C"
21900 #endif
21901 /* We use char because int might match the return type of a gcc2
21902 builtin and then its argument prototype would still apply. */
21903 char dnet_ntoa ();
21904 int
21905 main ()
21906 {
21907 dnet_ntoa ();
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 rm -f conftest.$ac_objext conftest$ac_exeext
21913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21914 (eval $ac_link) 2>&5
21915 ac_status=$?
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try='test -s conftest$ac_exeext'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21921 ac_status=$?
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 ac_cv_lib_dnet_dnet_ntoa=yes
21925 else
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21928
21929 ac_cv_lib_dnet_dnet_ntoa=no
21930 fi
21931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21932 LIBS=$ac_check_lib_save_LIBS
21933 fi
21934 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21935 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21936 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21937 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21938 fi
21939
21940 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21941 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21942 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21943 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21944 echo $ECHO_N "(cached) $ECHO_C" >&6
21945 else
21946 ac_check_lib_save_LIBS=$LIBS
21947 LIBS="-ldnet_stub $LIBS"
21948 cat >conftest.$ac_ext <<_ACEOF
21949 #line $LINENO "configure"
21950 /* confdefs.h. */
21951 _ACEOF
21952 cat confdefs.h >>conftest.$ac_ext
21953 cat >>conftest.$ac_ext <<_ACEOF
21954 /* end confdefs.h. */
21955
21956 /* Override any gcc2 internal prototype to avoid an error. */
21957 #ifdef __cplusplus
21958 extern "C"
21959 #endif
21960 /* We use char because int might match the return type of a gcc2
21961 builtin and then its argument prototype would still apply. */
21962 char dnet_ntoa ();
21963 int
21964 main ()
21965 {
21966 dnet_ntoa ();
21967 ;
21968 return 0;
21969 }
21970 _ACEOF
21971 rm -f conftest.$ac_objext conftest$ac_exeext
21972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21973 (eval $ac_link) 2>&5
21974 ac_status=$?
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } &&
21977 { ac_try='test -s conftest$ac_exeext'
21978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21979 (eval $ac_try) 2>&5
21980 ac_status=$?
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21984 else
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21987
21988 ac_cv_lib_dnet_stub_dnet_ntoa=no
21989 fi
21990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21991 LIBS=$ac_check_lib_save_LIBS
21992 fi
21993 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21994 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21995 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21996 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21997 fi
21998
21999 fi
22000 fi
22001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22002 LIBS="$ac_xsave_LIBS"
22003
22004 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22005 # to get the SysV transport functions.
22006 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22007 # needs -lnsl.
22008 # The nsl library prevents programs from opening the X display
22009 # on Irix 5.2, according to T.E. Dickey.
22010 # The functions gethostbyname, getservbyname, and inet_addr are
22011 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22012 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22013 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22014 if test "${ac_cv_func_gethostbyname+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22016 else
22017 cat >conftest.$ac_ext <<_ACEOF
22018 #line $LINENO "configure"
22019 /* confdefs.h. */
22020 _ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 /* System header to define __stub macros and hopefully few prototypes,
22025 which can conflict with char gethostbyname (); below.
22026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22027 <limits.h> exists even on freestanding compilers. */
22028 #ifdef __STDC__
22029 # include <limits.h>
22030 #else
22031 # include <assert.h>
22032 #endif
22033 /* Override any gcc2 internal prototype to avoid an error. */
22034 #ifdef __cplusplus
22035 extern "C"
22036 {
22037 #endif
22038 /* We use char because int might match the return type of a gcc2
22039 builtin and then its argument prototype would still apply. */
22040 char gethostbyname ();
22041 /* The GNU C library defines this for functions which it implements
22042 to always fail with ENOSYS. Some functions are actually named
22043 something starting with __ and the normal name is an alias. */
22044 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22045 choke me
22046 #else
22047 char (*f) () = gethostbyname;
22048 #endif
22049 #ifdef __cplusplus
22050 }
22051 #endif
22052
22053 int
22054 main ()
22055 {
22056 return f != gethostbyname;
22057 ;
22058 return 0;
22059 }
22060 _ACEOF
22061 rm -f conftest.$ac_objext conftest$ac_exeext
22062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22063 (eval $ac_link) 2>&5
22064 ac_status=$?
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } &&
22067 { ac_try='test -s conftest$ac_exeext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22070 ac_status=$?
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_cv_func_gethostbyname=yes
22074 else
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.$ac_ext >&5
22077
22078 ac_cv_func_gethostbyname=no
22079 fi
22080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22081 fi
22082 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22083 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22084
22085 if test $ac_cv_func_gethostbyname = no; then
22086 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22087 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22088 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22089 echo $ECHO_N "(cached) $ECHO_C" >&6
22090 else
22091 ac_check_lib_save_LIBS=$LIBS
22092 LIBS="-lnsl $LIBS"
22093 cat >conftest.$ac_ext <<_ACEOF
22094 #line $LINENO "configure"
22095 /* confdefs.h. */
22096 _ACEOF
22097 cat confdefs.h >>conftest.$ac_ext
22098 cat >>conftest.$ac_ext <<_ACEOF
22099 /* end confdefs.h. */
22100
22101 /* Override any gcc2 internal prototype to avoid an error. */
22102 #ifdef __cplusplus
22103 extern "C"
22104 #endif
22105 /* We use char because int might match the return type of a gcc2
22106 builtin and then its argument prototype would still apply. */
22107 char gethostbyname ();
22108 int
22109 main ()
22110 {
22111 gethostbyname ();
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest.$ac_objext conftest$ac_exeext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22118 (eval $ac_link) 2>&5
22119 ac_status=$?
22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22121 (exit $ac_status); } &&
22122 { ac_try='test -s conftest$ac_exeext'
22123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22124 (eval $ac_try) 2>&5
22125 ac_status=$?
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); }; }; then
22128 ac_cv_lib_nsl_gethostbyname=yes
22129 else
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.$ac_ext >&5
22132
22133 ac_cv_lib_nsl_gethostbyname=no
22134 fi
22135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22136 LIBS=$ac_check_lib_save_LIBS
22137 fi
22138 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22139 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22140 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22142 fi
22143
22144 if test $ac_cv_lib_nsl_gethostbyname = no; then
22145 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22146 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22147 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 else
22150 ac_check_lib_save_LIBS=$LIBS
22151 LIBS="-lbsd $LIBS"
22152 cat >conftest.$ac_ext <<_ACEOF
22153 #line $LINENO "configure"
22154 /* confdefs.h. */
22155 _ACEOF
22156 cat confdefs.h >>conftest.$ac_ext
22157 cat >>conftest.$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159
22160 /* Override any gcc2 internal prototype to avoid an error. */
22161 #ifdef __cplusplus
22162 extern "C"
22163 #endif
22164 /* We use char because int might match the return type of a gcc2
22165 builtin and then its argument prototype would still apply. */
22166 char gethostbyname ();
22167 int
22168 main ()
22169 {
22170 gethostbyname ();
22171 ;
22172 return 0;
22173 }
22174 _ACEOF
22175 rm -f conftest.$ac_objext conftest$ac_exeext
22176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22177 (eval $ac_link) 2>&5
22178 ac_status=$?
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try='test -s conftest$ac_exeext'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; }; then
22187 ac_cv_lib_bsd_gethostbyname=yes
22188 else
22189 echo "$as_me: failed program was:" >&5
22190 sed 's/^/| /' conftest.$ac_ext >&5
22191
22192 ac_cv_lib_bsd_gethostbyname=no
22193 fi
22194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22195 LIBS=$ac_check_lib_save_LIBS
22196 fi
22197 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22198 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22199 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22201 fi
22202
22203 fi
22204 fi
22205
22206 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22207 # socket/setsockopt and other routines are undefined under SCO ODT
22208 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22209 # on later versions), says Simon Leinen: it contains gethostby*
22210 # variants that don't use the name server (or something). -lsocket
22211 # must be given before -lnsl if both are needed. We assume that
22212 # if connect needs -lnsl, so does gethostbyname.
22213 echo "$as_me:$LINENO: checking for connect" >&5
22214 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22215 if test "${ac_cv_func_connect+set}" = set; then
22216 echo $ECHO_N "(cached) $ECHO_C" >&6
22217 else
22218 cat >conftest.$ac_ext <<_ACEOF
22219 #line $LINENO "configure"
22220 /* confdefs.h. */
22221 _ACEOF
22222 cat confdefs.h >>conftest.$ac_ext
22223 cat >>conftest.$ac_ext <<_ACEOF
22224 /* end confdefs.h. */
22225 /* System header to define __stub macros and hopefully few prototypes,
22226 which can conflict with char connect (); below.
22227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22228 <limits.h> exists even on freestanding compilers. */
22229 #ifdef __STDC__
22230 # include <limits.h>
22231 #else
22232 # include <assert.h>
22233 #endif
22234 /* Override any gcc2 internal prototype to avoid an error. */
22235 #ifdef __cplusplus
22236 extern "C"
22237 {
22238 #endif
22239 /* We use char because int might match the return type of a gcc2
22240 builtin and then its argument prototype would still apply. */
22241 char connect ();
22242 /* The GNU C library defines this for functions which it implements
22243 to always fail with ENOSYS. Some functions are actually named
22244 something starting with __ and the normal name is an alias. */
22245 #if defined (__stub_connect) || defined (__stub___connect)
22246 choke me
22247 #else
22248 char (*f) () = connect;
22249 #endif
22250 #ifdef __cplusplus
22251 }
22252 #endif
22253
22254 int
22255 main ()
22256 {
22257 return f != connect;
22258 ;
22259 return 0;
22260 }
22261 _ACEOF
22262 rm -f conftest.$ac_objext conftest$ac_exeext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22264 (eval $ac_link) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -s conftest$ac_exeext'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; }; then
22274 ac_cv_func_connect=yes
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_cv_func_connect=no
22280 fi
22281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22282 fi
22283 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22284 echo "${ECHO_T}$ac_cv_func_connect" >&6
22285
22286 if test $ac_cv_func_connect = no; then
22287 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22288 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22289 if test "${ac_cv_lib_socket_connect+set}" = set; then
22290 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 else
22292 ac_check_lib_save_LIBS=$LIBS
22293 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22294 cat >conftest.$ac_ext <<_ACEOF
22295 #line $LINENO "configure"
22296 /* confdefs.h. */
22297 _ACEOF
22298 cat confdefs.h >>conftest.$ac_ext
22299 cat >>conftest.$ac_ext <<_ACEOF
22300 /* end confdefs.h. */
22301
22302 /* Override any gcc2 internal prototype to avoid an error. */
22303 #ifdef __cplusplus
22304 extern "C"
22305 #endif
22306 /* We use char because int might match the return type of a gcc2
22307 builtin and then its argument prototype would still apply. */
22308 char connect ();
22309 int
22310 main ()
22311 {
22312 connect ();
22313 ;
22314 return 0;
22315 }
22316 _ACEOF
22317 rm -f conftest.$ac_objext conftest$ac_exeext
22318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22319 (eval $ac_link) 2>&5
22320 ac_status=$?
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -s conftest$ac_exeext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22326 ac_status=$?
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22329 ac_cv_lib_socket_connect=yes
22330 else
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22333
22334 ac_cv_lib_socket_connect=no
22335 fi
22336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22337 LIBS=$ac_check_lib_save_LIBS
22338 fi
22339 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22340 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22341 if test $ac_cv_lib_socket_connect = yes; then
22342 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22343 fi
22344
22345 fi
22346
22347 # Guillermo Gomez says -lposix is necessary on A/UX.
22348 echo "$as_me:$LINENO: checking for remove" >&5
22349 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22350 if test "${ac_cv_func_remove+set}" = set; then
22351 echo $ECHO_N "(cached) $ECHO_C" >&6
22352 else
22353 cat >conftest.$ac_ext <<_ACEOF
22354 #line $LINENO "configure"
22355 /* confdefs.h. */
22356 _ACEOF
22357 cat confdefs.h >>conftest.$ac_ext
22358 cat >>conftest.$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 /* System header to define __stub macros and hopefully few prototypes,
22361 which can conflict with char remove (); below.
22362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22363 <limits.h> exists even on freestanding compilers. */
22364 #ifdef __STDC__
22365 # include <limits.h>
22366 #else
22367 # include <assert.h>
22368 #endif
22369 /* Override any gcc2 internal prototype to avoid an error. */
22370 #ifdef __cplusplus
22371 extern "C"
22372 {
22373 #endif
22374 /* We use char because int might match the return type of a gcc2
22375 builtin and then its argument prototype would still apply. */
22376 char remove ();
22377 /* The GNU C library defines this for functions which it implements
22378 to always fail with ENOSYS. Some functions are actually named
22379 something starting with __ and the normal name is an alias. */
22380 #if defined (__stub_remove) || defined (__stub___remove)
22381 choke me
22382 #else
22383 char (*f) () = remove;
22384 #endif
22385 #ifdef __cplusplus
22386 }
22387 #endif
22388
22389 int
22390 main ()
22391 {
22392 return f != remove;
22393 ;
22394 return 0;
22395 }
22396 _ACEOF
22397 rm -f conftest.$ac_objext conftest$ac_exeext
22398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22399 (eval $ac_link) 2>&5
22400 ac_status=$?
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); } &&
22403 { ac_try='test -s conftest$ac_exeext'
22404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22405 (eval $ac_try) 2>&5
22406 ac_status=$?
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); }; }; then
22409 ac_cv_func_remove=yes
22410 else
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22413
22414 ac_cv_func_remove=no
22415 fi
22416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22417 fi
22418 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22419 echo "${ECHO_T}$ac_cv_func_remove" >&6
22420
22421 if test $ac_cv_func_remove = no; then
22422 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22423 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22424 if test "${ac_cv_lib_posix_remove+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22426 else
22427 ac_check_lib_save_LIBS=$LIBS
22428 LIBS="-lposix $LIBS"
22429 cat >conftest.$ac_ext <<_ACEOF
22430 #line $LINENO "configure"
22431 /* confdefs.h. */
22432 _ACEOF
22433 cat confdefs.h >>conftest.$ac_ext
22434 cat >>conftest.$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22436
22437 /* Override any gcc2 internal prototype to avoid an error. */
22438 #ifdef __cplusplus
22439 extern "C"
22440 #endif
22441 /* We use char because int might match the return type of a gcc2
22442 builtin and then its argument prototype would still apply. */
22443 char remove ();
22444 int
22445 main ()
22446 {
22447 remove ();
22448 ;
22449 return 0;
22450 }
22451 _ACEOF
22452 rm -f conftest.$ac_objext conftest$ac_exeext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22454 (eval $ac_link) 2>&5
22455 ac_status=$?
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); } &&
22458 { ac_try='test -s conftest$ac_exeext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22461 ac_status=$?
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 ac_cv_lib_posix_remove=yes
22465 else
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.$ac_ext >&5
22468
22469 ac_cv_lib_posix_remove=no
22470 fi
22471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22472 LIBS=$ac_check_lib_save_LIBS
22473 fi
22474 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22475 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22476 if test $ac_cv_lib_posix_remove = yes; then
22477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22478 fi
22479
22480 fi
22481
22482 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22483 echo "$as_me:$LINENO: checking for shmat" >&5
22484 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22485 if test "${ac_cv_func_shmat+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 else
22488 cat >conftest.$ac_ext <<_ACEOF
22489 #line $LINENO "configure"
22490 /* confdefs.h. */
22491 _ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495 /* System header to define __stub macros and hopefully few prototypes,
22496 which can conflict with char shmat (); below.
22497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22498 <limits.h> exists even on freestanding compilers. */
22499 #ifdef __STDC__
22500 # include <limits.h>
22501 #else
22502 # include <assert.h>
22503 #endif
22504 /* Override any gcc2 internal prototype to avoid an error. */
22505 #ifdef __cplusplus
22506 extern "C"
22507 {
22508 #endif
22509 /* We use char because int might match the return type of a gcc2
22510 builtin and then its argument prototype would still apply. */
22511 char shmat ();
22512 /* The GNU C library defines this for functions which it implements
22513 to always fail with ENOSYS. Some functions are actually named
22514 something starting with __ and the normal name is an alias. */
22515 #if defined (__stub_shmat) || defined (__stub___shmat)
22516 choke me
22517 #else
22518 char (*f) () = shmat;
22519 #endif
22520 #ifdef __cplusplus
22521 }
22522 #endif
22523
22524 int
22525 main ()
22526 {
22527 return f != shmat;
22528 ;
22529 return 0;
22530 }
22531 _ACEOF
22532 rm -f conftest.$ac_objext conftest$ac_exeext
22533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22534 (eval $ac_link) 2>&5
22535 ac_status=$?
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } &&
22538 { ac_try='test -s conftest$ac_exeext'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22541 ac_status=$?
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; }; then
22544 ac_cv_func_shmat=yes
22545 else
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5
22548
22549 ac_cv_func_shmat=no
22550 fi
22551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22552 fi
22553 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22554 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22555
22556 if test $ac_cv_func_shmat = no; then
22557 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22558 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22559 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22560 echo $ECHO_N "(cached) $ECHO_C" >&6
22561 else
22562 ac_check_lib_save_LIBS=$LIBS
22563 LIBS="-lipc $LIBS"
22564 cat >conftest.$ac_ext <<_ACEOF
22565 #line $LINENO "configure"
22566 /* confdefs.h. */
22567 _ACEOF
22568 cat confdefs.h >>conftest.$ac_ext
22569 cat >>conftest.$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22571
22572 /* Override any gcc2 internal prototype to avoid an error. */
22573 #ifdef __cplusplus
22574 extern "C"
22575 #endif
22576 /* We use char because int might match the return type of a gcc2
22577 builtin and then its argument prototype would still apply. */
22578 char shmat ();
22579 int
22580 main ()
22581 {
22582 shmat ();
22583 ;
22584 return 0;
22585 }
22586 _ACEOF
22587 rm -f conftest.$ac_objext conftest$ac_exeext
22588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22589 (eval $ac_link) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try='test -s conftest$ac_exeext'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_cv_lib_ipc_shmat=yes
22600 else
22601 echo "$as_me: failed program was:" >&5
22602 sed 's/^/| /' conftest.$ac_ext >&5
22603
22604 ac_cv_lib_ipc_shmat=no
22605 fi
22606 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22607 LIBS=$ac_check_lib_save_LIBS
22608 fi
22609 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22610 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22611 if test $ac_cv_lib_ipc_shmat = yes; then
22612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22613 fi
22614
22615 fi
22616 fi
22617
22618 # Check for libraries that X11R6 Xt/Xaw programs need.
22619 ac_save_LDFLAGS=$LDFLAGS
22620 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22621 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22622 # check for ICE first), but we must link in the order -lSM -lICE or
22623 # we get undefined symbols. So assume we have SM if we have ICE.
22624 # These have to be linked with before -lX11, unlike the other
22625 # libraries we check for below, so use a different variable.
22626 # John Interrante, Karl Berry
22627 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22628 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22629 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22630 echo $ECHO_N "(cached) $ECHO_C" >&6
22631 else
22632 ac_check_lib_save_LIBS=$LIBS
22633 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22634 cat >conftest.$ac_ext <<_ACEOF
22635 #line $LINENO "configure"
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641
22642 /* Override any gcc2 internal prototype to avoid an error. */
22643 #ifdef __cplusplus
22644 extern "C"
22645 #endif
22646 /* We use char because int might match the return type of a gcc2
22647 builtin and then its argument prototype would still apply. */
22648 char IceConnectionNumber ();
22649 int
22650 main ()
22651 {
22652 IceConnectionNumber ();
22653 ;
22654 return 0;
22655 }
22656 _ACEOF
22657 rm -f conftest.$ac_objext conftest$ac_exeext
22658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22659 (eval $ac_link) 2>&5
22660 ac_status=$?
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -s conftest$ac_exeext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_lib_ICE_IceConnectionNumber=yes
22670 else
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.$ac_ext >&5
22673
22674 ac_cv_lib_ICE_IceConnectionNumber=no
22675 fi
22676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22677 LIBS=$ac_check_lib_save_LIBS
22678 fi
22679 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22680 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22681 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22682 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22683 fi
22684
22685 LDFLAGS=$ac_save_LDFLAGS
22686
22687 fi
22688
22689
22690 if test "$no_x" = "yes"; then
22691 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22692 echo "$as_me: error: X11 not found" >&2;}
22693 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22694 fi
22695
22696 GUI_TK_LIBRARY="$X_LIBS"
22697 TOOLKIT_INCLUDE="$X_CFLAGS"
22698 AFMINSTALL=afminstall
22699 COMPILED_X_PROGRAM=0
22700
22701 if test "$wxUSE_NANOX" = "yes"; then
22702 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22703 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22704 if test "x$MICROWIN" = x ; then
22705 echo "$as_me:$LINENO: result: not found" >&5
22706 echo "${ECHO_T}not found" >&6
22707 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22708 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22709 { (exit 1); exit 1; }; }
22710 else
22711 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22712 echo "${ECHO_T}$MICROWIN" >&6
22713 cat >>confdefs.h <<\_ACEOF
22714 #define wxUSE_NANOX 1
22715 _ACEOF
22716
22717 fi
22718 fi
22719
22720 if test "$wxUSE_UNICODE" = "yes"; then
22721
22722 succeeded=no
22723
22724 if test -z "$PKG_CONFIG"; then
22725 # Extract the first word of "pkg-config", so it can be a program name with args.
22726 set dummy pkg-config; ac_word=$2
22727 echo "$as_me:$LINENO: checking for $ac_word" >&5
22728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22729 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22732 case $PKG_CONFIG in
22733 [\\/]* | ?:[\\/]*)
22734 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22735 ;;
22736 *)
22737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22738 for as_dir in $PATH
22739 do
22740 IFS=$as_save_IFS
22741 test -z "$as_dir" && as_dir=.
22742 for ac_exec_ext in '' $ac_executable_extensions; do
22743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22744 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22746 break 2
22747 fi
22748 done
22749 done
22750
22751 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22752 ;;
22753 esac
22754 fi
22755 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22756
22757 if test -n "$PKG_CONFIG"; then
22758 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22759 echo "${ECHO_T}$PKG_CONFIG" >&6
22760 else
22761 echo "$as_me:$LINENO: result: no" >&5
22762 echo "${ECHO_T}no" >&6
22763 fi
22764
22765 fi
22766
22767 if test "$PKG_CONFIG" = "no" ; then
22768 echo "*** The pkg-config script could not be found. Make sure it is"
22769 echo "*** in your path, or set the PKG_CONFIG environment variable"
22770 echo "*** to the full path to pkg-config."
22771 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22772 else
22773 PKG_CONFIG_MIN_VERSION=0.9.0
22774 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22775 echo "$as_me:$LINENO: checking for pangox" >&5
22776 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22777
22778 if $PKG_CONFIG --exists "pangox" ; then
22779 echo "$as_me:$LINENO: result: yes" >&5
22780 echo "${ECHO_T}yes" >&6
22781 succeeded=yes
22782
22783 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22784 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22785 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22786 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22787 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22788
22789 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22790 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22791 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22792 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22793 echo "${ECHO_T}$PANGOX_LIBS" >&6
22794 else
22795 PANGOX_CFLAGS=""
22796 PANGOX_LIBS=""
22797 ## If we have a custom action on failure, don't print errors, but
22798 ## do set a variable so people can do so.
22799 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22800
22801 fi
22802
22803
22804
22805 else
22806 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22807 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22808 fi
22809 fi
22810
22811 if test $succeeded = yes; then
22812
22813 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22815
22816 else
22817
22818 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22819 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22820 { (exit 1); exit 1; }; }
22821
22822
22823 fi
22824
22825
22826 succeeded=no
22827
22828 if test -z "$PKG_CONFIG"; then
22829 # Extract the first word of "pkg-config", so it can be a program name with args.
22830 set dummy pkg-config; ac_word=$2
22831 echo "$as_me:$LINENO: checking for $ac_word" >&5
22832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22833 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22836 case $PKG_CONFIG in
22837 [\\/]* | ?:[\\/]*)
22838 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22839 ;;
22840 *)
22841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22842 for as_dir in $PATH
22843 do
22844 IFS=$as_save_IFS
22845 test -z "$as_dir" && as_dir=.
22846 for ac_exec_ext in '' $ac_executable_extensions; do
22847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22848 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22850 break 2
22851 fi
22852 done
22853 done
22854
22855 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22856 ;;
22857 esac
22858 fi
22859 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22860
22861 if test -n "$PKG_CONFIG"; then
22862 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22863 echo "${ECHO_T}$PKG_CONFIG" >&6
22864 else
22865 echo "$as_me:$LINENO: result: no" >&5
22866 echo "${ECHO_T}no" >&6
22867 fi
22868
22869 fi
22870
22871 if test "$PKG_CONFIG" = "no" ; then
22872 echo "*** The pkg-config script could not be found. Make sure it is"
22873 echo "*** in your path, or set the PKG_CONFIG environment variable"
22874 echo "*** to the full path to pkg-config."
22875 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22876 else
22877 PKG_CONFIG_MIN_VERSION=0.9.0
22878 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22879 echo "$as_me:$LINENO: checking for pangoft2" >&5
22880 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22881
22882 if $PKG_CONFIG --exists "pangoft2" ; then
22883 echo "$as_me:$LINENO: result: yes" >&5
22884 echo "${ECHO_T}yes" >&6
22885 succeeded=yes
22886
22887 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22888 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22889 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22890 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22891 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22892
22893 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22894 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22895 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22896 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22897 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22898 else
22899 PANGOFT2_CFLAGS=""
22900 PANGOFT2_LIBS=""
22901 ## If we have a custom action on failure, don't print errors, but
22902 ## do set a variable so people can do so.
22903 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22904
22905 fi
22906
22907
22908
22909 else
22910 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22911 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22912 fi
22913 fi
22914
22915 if test $succeeded = yes; then
22916
22917 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22918 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22919
22920 else
22921
22922 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22923 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22924 wxUSE_PRINTING_ARCHITECTURE="no"
22925
22926
22927 fi
22928
22929
22930 succeeded=no
22931
22932 if test -z "$PKG_CONFIG"; then
22933 # Extract the first word of "pkg-config", so it can be a program name with args.
22934 set dummy pkg-config; ac_word=$2
22935 echo "$as_me:$LINENO: checking for $ac_word" >&5
22936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22937 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22938 echo $ECHO_N "(cached) $ECHO_C" >&6
22939 else
22940 case $PKG_CONFIG in
22941 [\\/]* | ?:[\\/]*)
22942 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22943 ;;
22944 *)
22945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22946 for as_dir in $PATH
22947 do
22948 IFS=$as_save_IFS
22949 test -z "$as_dir" && as_dir=.
22950 for ac_exec_ext in '' $ac_executable_extensions; do
22951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22952 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22954 break 2
22955 fi
22956 done
22957 done
22958
22959 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22960 ;;
22961 esac
22962 fi
22963 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22964
22965 if test -n "$PKG_CONFIG"; then
22966 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22967 echo "${ECHO_T}$PKG_CONFIG" >&6
22968 else
22969 echo "$as_me:$LINENO: result: no" >&5
22970 echo "${ECHO_T}no" >&6
22971 fi
22972
22973 fi
22974
22975 if test "$PKG_CONFIG" = "no" ; then
22976 echo "*** The pkg-config script could not be found. Make sure it is"
22977 echo "*** in your path, or set the PKG_CONFIG environment variable"
22978 echo "*** to the full path to pkg-config."
22979 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22980 else
22981 PKG_CONFIG_MIN_VERSION=0.9.0
22982 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22983 echo "$as_me:$LINENO: checking for pangoxft" >&5
22984 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22985
22986 if $PKG_CONFIG --exists "pangoxft" ; then
22987 echo "$as_me:$LINENO: result: yes" >&5
22988 echo "${ECHO_T}yes" >&6
22989 succeeded=yes
22990
22991 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22992 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22993 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22994 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22995 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22996
22997 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22998 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22999 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23000 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23001 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23002 else
23003 PANGOXFT_CFLAGS=""
23004 PANGOXFT_LIBS=""
23005 ## If we have a custom action on failure, don't print errors, but
23006 ## do set a variable so people can do so.
23007 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23008
23009 fi
23010
23011
23012
23013 else
23014 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23015 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23016 fi
23017 fi
23018
23019 if test $succeeded = yes; then
23020
23021 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23022 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23023
23024 else
23025
23026 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23027 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23028
23029
23030 fi
23031
23032 fi
23033
23034 wxUSE_UNIVERSAL="yes"
23035
23036 if test "$wxUSE_NANOX" = "yes"; then
23037 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23038 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"
23039 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23040 else
23041 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
23042 fi
23043
23044 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23045 TOOLKIT=X11
23046 GUIDIST=X11_DIST
23047 fi
23048
23049 if test "$wxUSE_MOTIF" = 1; then
23050 if test "$no_x" = yes; then
23051 # Not all programs may use this symbol, but it does not hurt to define it.
23052
23053 cat >>confdefs.h <<\_ACEOF
23054 #define X_DISPLAY_MISSING 1
23055 _ACEOF
23056
23057 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23058 else
23059 if test -n "$x_includes"; then
23060 X_CFLAGS="$X_CFLAGS -I$x_includes"
23061 fi
23062
23063 # It would also be nice to do this for all -L options, not just this one.
23064 if test -n "$x_libraries"; then
23065 X_LIBS="$X_LIBS -L$x_libraries"
23066 # For Solaris; some versions of Sun CC require a space after -R and
23067 # others require no space. Words are not sufficient . . . .
23068 case `(uname -sr) 2>/dev/null` in
23069 "SunOS 5"*)
23070 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23071 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23072 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23073 cat >conftest.$ac_ext <<_ACEOF
23074 #line $LINENO "configure"
23075 /* confdefs.h. */
23076 _ACEOF
23077 cat confdefs.h >>conftest.$ac_ext
23078 cat >>conftest.$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23080
23081 int
23082 main ()
23083 {
23084
23085 ;
23086 return 0;
23087 }
23088 _ACEOF
23089 rm -f conftest.$ac_objext conftest$ac_exeext
23090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23091 (eval $ac_link) 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try='test -s conftest$ac_exeext'
23096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23097 (eval $ac_try) 2>&5
23098 ac_status=$?
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); }; }; then
23101 ac_R_nospace=yes
23102 else
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23105
23106 ac_R_nospace=no
23107 fi
23108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23109 if test $ac_R_nospace = yes; then
23110 echo "$as_me:$LINENO: result: no" >&5
23111 echo "${ECHO_T}no" >&6
23112 X_LIBS="$X_LIBS -R$x_libraries"
23113 else
23114 LIBS="$ac_xsave_LIBS -R $x_libraries"
23115 cat >conftest.$ac_ext <<_ACEOF
23116 #line $LINENO "configure"
23117 /* confdefs.h. */
23118 _ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122
23123 int
23124 main ()
23125 {
23126
23127 ;
23128 return 0;
23129 }
23130 _ACEOF
23131 rm -f conftest.$ac_objext conftest$ac_exeext
23132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23133 (eval $ac_link) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } &&
23137 { ac_try='test -s conftest$ac_exeext'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; }; then
23143 ac_R_space=yes
23144 else
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23147
23148 ac_R_space=no
23149 fi
23150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23151 if test $ac_R_space = yes; then
23152 echo "$as_me:$LINENO: result: yes" >&5
23153 echo "${ECHO_T}yes" >&6
23154 X_LIBS="$X_LIBS -R $x_libraries"
23155 else
23156 echo "$as_me:$LINENO: result: neither works" >&5
23157 echo "${ECHO_T}neither works" >&6
23158 fi
23159 fi
23160 LIBS=$ac_xsave_LIBS
23161 esac
23162 fi
23163
23164 # Check for system-dependent libraries X programs must link with.
23165 # Do this before checking for the system-independent R6 libraries
23166 # (-lICE), since we may need -lsocket or whatever for X linking.
23167
23168 if test "$ISC" = yes; then
23169 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23170 else
23171 # Martyn Johnson says this is needed for Ultrix, if the X
23172 # libraries were built with DECnet support. And Karl Berry says
23173 # the Alpha needs dnet_stub (dnet does not exist).
23174 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23175 cat >conftest.$ac_ext <<_ACEOF
23176 #line $LINENO "configure"
23177 /* confdefs.h. */
23178 _ACEOF
23179 cat confdefs.h >>conftest.$ac_ext
23180 cat >>conftest.$ac_ext <<_ACEOF
23181 /* end confdefs.h. */
23182
23183 /* Override any gcc2 internal prototype to avoid an error. */
23184 #ifdef __cplusplus
23185 extern "C"
23186 #endif
23187 /* We use char because int might match the return type of a gcc2
23188 builtin and then its argument prototype would still apply. */
23189 char XOpenDisplay ();
23190 int
23191 main ()
23192 {
23193 XOpenDisplay ();
23194 ;
23195 return 0;
23196 }
23197 _ACEOF
23198 rm -f conftest.$ac_objext conftest$ac_exeext
23199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23200 (eval $ac_link) 2>&5
23201 ac_status=$?
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try='test -s conftest$ac_exeext'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; }; then
23210 :
23211 else
23212 echo "$as_me: failed program was:" >&5
23213 sed 's/^/| /' conftest.$ac_ext >&5
23214
23215 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23216 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23217 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23218 echo $ECHO_N "(cached) $ECHO_C" >&6
23219 else
23220 ac_check_lib_save_LIBS=$LIBS
23221 LIBS="-ldnet $LIBS"
23222 cat >conftest.$ac_ext <<_ACEOF
23223 #line $LINENO "configure"
23224 /* confdefs.h. */
23225 _ACEOF
23226 cat confdefs.h >>conftest.$ac_ext
23227 cat >>conftest.$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23229
23230 /* Override any gcc2 internal prototype to avoid an error. */
23231 #ifdef __cplusplus
23232 extern "C"
23233 #endif
23234 /* We use char because int might match the return type of a gcc2
23235 builtin and then its argument prototype would still apply. */
23236 char dnet_ntoa ();
23237 int
23238 main ()
23239 {
23240 dnet_ntoa ();
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext conftest$ac_exeext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23247 (eval $ac_link) 2>&5
23248 ac_status=$?
23249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250 (exit $ac_status); } &&
23251 { ac_try='test -s conftest$ac_exeext'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23254 ac_status=$?
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; }; then
23257 ac_cv_lib_dnet_dnet_ntoa=yes
23258 else
23259 echo "$as_me: failed program was:" >&5
23260 sed 's/^/| /' conftest.$ac_ext >&5
23261
23262 ac_cv_lib_dnet_dnet_ntoa=no
23263 fi
23264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23265 LIBS=$ac_check_lib_save_LIBS
23266 fi
23267 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23268 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23269 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23270 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23271 fi
23272
23273 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23274 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23275 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23276 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 else
23279 ac_check_lib_save_LIBS=$LIBS
23280 LIBS="-ldnet_stub $LIBS"
23281 cat >conftest.$ac_ext <<_ACEOF
23282 #line $LINENO "configure"
23283 /* confdefs.h. */
23284 _ACEOF
23285 cat confdefs.h >>conftest.$ac_ext
23286 cat >>conftest.$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23288
23289 /* Override any gcc2 internal prototype to avoid an error. */
23290 #ifdef __cplusplus
23291 extern "C"
23292 #endif
23293 /* We use char because int might match the return type of a gcc2
23294 builtin and then its argument prototype would still apply. */
23295 char dnet_ntoa ();
23296 int
23297 main ()
23298 {
23299 dnet_ntoa ();
23300 ;
23301 return 0;
23302 }
23303 _ACEOF
23304 rm -f conftest.$ac_objext conftest$ac_exeext
23305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23306 (eval $ac_link) 2>&5
23307 ac_status=$?
23308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23309 (exit $ac_status); } &&
23310 { ac_try='test -s conftest$ac_exeext'
23311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23312 (eval $ac_try) 2>&5
23313 ac_status=$?
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); }; }; then
23316 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23317 else
23318 echo "$as_me: failed program was:" >&5
23319 sed 's/^/| /' conftest.$ac_ext >&5
23320
23321 ac_cv_lib_dnet_stub_dnet_ntoa=no
23322 fi
23323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23324 LIBS=$ac_check_lib_save_LIBS
23325 fi
23326 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23327 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23328 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23329 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23330 fi
23331
23332 fi
23333 fi
23334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23335 LIBS="$ac_xsave_LIBS"
23336
23337 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23338 # to get the SysV transport functions.
23339 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23340 # needs -lnsl.
23341 # The nsl library prevents programs from opening the X display
23342 # on Irix 5.2, according to T.E. Dickey.
23343 # The functions gethostbyname, getservbyname, and inet_addr are
23344 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23345 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23346 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23347 if test "${ac_cv_func_gethostbyname+set}" = set; then
23348 echo $ECHO_N "(cached) $ECHO_C" >&6
23349 else
23350 cat >conftest.$ac_ext <<_ACEOF
23351 #line $LINENO "configure"
23352 /* confdefs.h. */
23353 _ACEOF
23354 cat confdefs.h >>conftest.$ac_ext
23355 cat >>conftest.$ac_ext <<_ACEOF
23356 /* end confdefs.h. */
23357 /* System header to define __stub macros and hopefully few prototypes,
23358 which can conflict with char gethostbyname (); below.
23359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23360 <limits.h> exists even on freestanding compilers. */
23361 #ifdef __STDC__
23362 # include <limits.h>
23363 #else
23364 # include <assert.h>
23365 #endif
23366 /* Override any gcc2 internal prototype to avoid an error. */
23367 #ifdef __cplusplus
23368 extern "C"
23369 {
23370 #endif
23371 /* We use char because int might match the return type of a gcc2
23372 builtin and then its argument prototype would still apply. */
23373 char gethostbyname ();
23374 /* The GNU C library defines this for functions which it implements
23375 to always fail with ENOSYS. Some functions are actually named
23376 something starting with __ and the normal name is an alias. */
23377 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23378 choke me
23379 #else
23380 char (*f) () = gethostbyname;
23381 #endif
23382 #ifdef __cplusplus
23383 }
23384 #endif
23385
23386 int
23387 main ()
23388 {
23389 return f != gethostbyname;
23390 ;
23391 return 0;
23392 }
23393 _ACEOF
23394 rm -f conftest.$ac_objext conftest$ac_exeext
23395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23396 (eval $ac_link) 2>&5
23397 ac_status=$?
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } &&
23400 { ac_try='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23403 ac_status=$?
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 ac_cv_func_gethostbyname=yes
23407 else
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23410
23411 ac_cv_func_gethostbyname=no
23412 fi
23413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23414 fi
23415 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23416 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23417
23418 if test $ac_cv_func_gethostbyname = no; then
23419 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23420 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23421 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23423 else
23424 ac_check_lib_save_LIBS=$LIBS
23425 LIBS="-lnsl $LIBS"
23426 cat >conftest.$ac_ext <<_ACEOF
23427 #line $LINENO "configure"
23428 /* confdefs.h. */
23429 _ACEOF
23430 cat confdefs.h >>conftest.$ac_ext
23431 cat >>conftest.$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23433
23434 /* Override any gcc2 internal prototype to avoid an error. */
23435 #ifdef __cplusplus
23436 extern "C"
23437 #endif
23438 /* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23440 char gethostbyname ();
23441 int
23442 main ()
23443 {
23444 gethostbyname ();
23445 ;
23446 return 0;
23447 }
23448 _ACEOF
23449 rm -f conftest.$ac_objext conftest$ac_exeext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451 (eval $ac_link) 2>&5
23452 ac_status=$?
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try='test -s conftest$ac_exeext'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23458 ac_status=$?
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; }; then
23461 ac_cv_lib_nsl_gethostbyname=yes
23462 else
23463 echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.$ac_ext >&5
23465
23466 ac_cv_lib_nsl_gethostbyname=no
23467 fi
23468 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23469 LIBS=$ac_check_lib_save_LIBS
23470 fi
23471 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23472 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23473 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23474 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23475 fi
23476
23477 if test $ac_cv_lib_nsl_gethostbyname = no; then
23478 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23479 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23480 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482 else
23483 ac_check_lib_save_LIBS=$LIBS
23484 LIBS="-lbsd $LIBS"
23485 cat >conftest.$ac_ext <<_ACEOF
23486 #line $LINENO "configure"
23487 /* confdefs.h. */
23488 _ACEOF
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23492
23493 /* Override any gcc2 internal prototype to avoid an error. */
23494 #ifdef __cplusplus
23495 extern "C"
23496 #endif
23497 /* We use char because int might match the return type of a gcc2
23498 builtin and then its argument prototype would still apply. */
23499 char gethostbyname ();
23500 int
23501 main ()
23502 {
23503 gethostbyname ();
23504 ;
23505 return 0;
23506 }
23507 _ACEOF
23508 rm -f conftest.$ac_objext conftest$ac_exeext
23509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23510 (eval $ac_link) 2>&5
23511 ac_status=$?
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); } &&
23514 { ac_try='test -s conftest$ac_exeext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23520 ac_cv_lib_bsd_gethostbyname=yes
23521 else
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.$ac_ext >&5
23524
23525 ac_cv_lib_bsd_gethostbyname=no
23526 fi
23527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23528 LIBS=$ac_check_lib_save_LIBS
23529 fi
23530 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23531 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23532 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23533 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23534 fi
23535
23536 fi
23537 fi
23538
23539 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23540 # socket/setsockopt and other routines are undefined under SCO ODT
23541 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23542 # on later versions), says Simon Leinen: it contains gethostby*
23543 # variants that don't use the name server (or something). -lsocket
23544 # must be given before -lnsl if both are needed. We assume that
23545 # if connect needs -lnsl, so does gethostbyname.
23546 echo "$as_me:$LINENO: checking for connect" >&5
23547 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23548 if test "${ac_cv_func_connect+set}" = set; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23550 else
23551 cat >conftest.$ac_ext <<_ACEOF
23552 #line $LINENO "configure"
23553 /* confdefs.h. */
23554 _ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 /* System header to define __stub macros and hopefully few prototypes,
23559 which can conflict with char connect (); below.
23560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23561 <limits.h> exists even on freestanding compilers. */
23562 #ifdef __STDC__
23563 # include <limits.h>
23564 #else
23565 # include <assert.h>
23566 #endif
23567 /* Override any gcc2 internal prototype to avoid an error. */
23568 #ifdef __cplusplus
23569 extern "C"
23570 {
23571 #endif
23572 /* We use char because int might match the return type of a gcc2
23573 builtin and then its argument prototype would still apply. */
23574 char connect ();
23575 /* The GNU C library defines this for functions which it implements
23576 to always fail with ENOSYS. Some functions are actually named
23577 something starting with __ and the normal name is an alias. */
23578 #if defined (__stub_connect) || defined (__stub___connect)
23579 choke me
23580 #else
23581 char (*f) () = connect;
23582 #endif
23583 #ifdef __cplusplus
23584 }
23585 #endif
23586
23587 int
23588 main ()
23589 {
23590 return f != connect;
23591 ;
23592 return 0;
23593 }
23594 _ACEOF
23595 rm -f conftest.$ac_objext conftest$ac_exeext
23596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23597 (eval $ac_link) 2>&5
23598 ac_status=$?
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); } &&
23601 { ac_try='test -s conftest$ac_exeext'
23602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23603 (eval $ac_try) 2>&5
23604 ac_status=$?
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_func_connect=yes
23608 else
23609 echo "$as_me: failed program was:" >&5
23610 sed 's/^/| /' conftest.$ac_ext >&5
23611
23612 ac_cv_func_connect=no
23613 fi
23614 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23615 fi
23616 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23617 echo "${ECHO_T}$ac_cv_func_connect" >&6
23618
23619 if test $ac_cv_func_connect = no; then
23620 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23621 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23622 if test "${ac_cv_lib_socket_connect+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23624 else
23625 ac_check_lib_save_LIBS=$LIBS
23626 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23627 cat >conftest.$ac_ext <<_ACEOF
23628 #line $LINENO "configure"
23629 /* confdefs.h. */
23630 _ACEOF
23631 cat confdefs.h >>conftest.$ac_ext
23632 cat >>conftest.$ac_ext <<_ACEOF
23633 /* end confdefs.h. */
23634
23635 /* Override any gcc2 internal prototype to avoid an error. */
23636 #ifdef __cplusplus
23637 extern "C"
23638 #endif
23639 /* We use char because int might match the return type of a gcc2
23640 builtin and then its argument prototype would still apply. */
23641 char connect ();
23642 int
23643 main ()
23644 {
23645 connect ();
23646 ;
23647 return 0;
23648 }
23649 _ACEOF
23650 rm -f conftest.$ac_objext conftest$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>&5
23653 ac_status=$?
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try='test -s conftest$ac_exeext'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23659 ac_status=$?
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; }; then
23662 ac_cv_lib_socket_connect=yes
23663 else
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.$ac_ext >&5
23666
23667 ac_cv_lib_socket_connect=no
23668 fi
23669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23670 LIBS=$ac_check_lib_save_LIBS
23671 fi
23672 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23673 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23674 if test $ac_cv_lib_socket_connect = yes; then
23675 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23676 fi
23677
23678 fi
23679
23680 # Guillermo Gomez says -lposix is necessary on A/UX.
23681 echo "$as_me:$LINENO: checking for remove" >&5
23682 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23683 if test "${ac_cv_func_remove+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686 cat >conftest.$ac_ext <<_ACEOF
23687 #line $LINENO "configure"
23688 /* confdefs.h. */
23689 _ACEOF
23690 cat confdefs.h >>conftest.$ac_ext
23691 cat >>conftest.$ac_ext <<_ACEOF
23692 /* end confdefs.h. */
23693 /* System header to define __stub macros and hopefully few prototypes,
23694 which can conflict with char remove (); below.
23695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23696 <limits.h> exists even on freestanding compilers. */
23697 #ifdef __STDC__
23698 # include <limits.h>
23699 #else
23700 # include <assert.h>
23701 #endif
23702 /* Override any gcc2 internal prototype to avoid an error. */
23703 #ifdef __cplusplus
23704 extern "C"
23705 {
23706 #endif
23707 /* We use char because int might match the return type of a gcc2
23708 builtin and then its argument prototype would still apply. */
23709 char remove ();
23710 /* The GNU C library defines this for functions which it implements
23711 to always fail with ENOSYS. Some functions are actually named
23712 something starting with __ and the normal name is an alias. */
23713 #if defined (__stub_remove) || defined (__stub___remove)
23714 choke me
23715 #else
23716 char (*f) () = remove;
23717 #endif
23718 #ifdef __cplusplus
23719 }
23720 #endif
23721
23722 int
23723 main ()
23724 {
23725 return f != remove;
23726 ;
23727 return 0;
23728 }
23729 _ACEOF
23730 rm -f conftest.$ac_objext conftest$ac_exeext
23731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23732 (eval $ac_link) 2>&5
23733 ac_status=$?
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } &&
23736 { ac_try='test -s conftest$ac_exeext'
23737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23738 (eval $ac_try) 2>&5
23739 ac_status=$?
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; }; then
23742 ac_cv_func_remove=yes
23743 else
23744 echo "$as_me: failed program was:" >&5
23745 sed 's/^/| /' conftest.$ac_ext >&5
23746
23747 ac_cv_func_remove=no
23748 fi
23749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23750 fi
23751 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23752 echo "${ECHO_T}$ac_cv_func_remove" >&6
23753
23754 if test $ac_cv_func_remove = no; then
23755 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23756 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23757 if test "${ac_cv_lib_posix_remove+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23759 else
23760 ac_check_lib_save_LIBS=$LIBS
23761 LIBS="-lposix $LIBS"
23762 cat >conftest.$ac_ext <<_ACEOF
23763 #line $LINENO "configure"
23764 /* confdefs.h. */
23765 _ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23769
23770 /* Override any gcc2 internal prototype to avoid an error. */
23771 #ifdef __cplusplus
23772 extern "C"
23773 #endif
23774 /* We use char because int might match the return type of a gcc2
23775 builtin and then its argument prototype would still apply. */
23776 char remove ();
23777 int
23778 main ()
23779 {
23780 remove ();
23781 ;
23782 return 0;
23783 }
23784 _ACEOF
23785 rm -f conftest.$ac_objext conftest$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 ac_cv_lib_posix_remove=yes
23798 else
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.$ac_ext >&5
23801
23802 ac_cv_lib_posix_remove=no
23803 fi
23804 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23805 LIBS=$ac_check_lib_save_LIBS
23806 fi
23807 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23808 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23809 if test $ac_cv_lib_posix_remove = yes; then
23810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23811 fi
23812
23813 fi
23814
23815 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23816 echo "$as_me:$LINENO: checking for shmat" >&5
23817 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23818 if test "${ac_cv_func_shmat+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23820 else
23821 cat >conftest.$ac_ext <<_ACEOF
23822 #line $LINENO "configure"
23823 /* confdefs.h. */
23824 _ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 /* System header to define __stub macros and hopefully few prototypes,
23829 which can conflict with char shmat (); below.
23830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23831 <limits.h> exists even on freestanding compilers. */
23832 #ifdef __STDC__
23833 # include <limits.h>
23834 #else
23835 # include <assert.h>
23836 #endif
23837 /* Override any gcc2 internal prototype to avoid an error. */
23838 #ifdef __cplusplus
23839 extern "C"
23840 {
23841 #endif
23842 /* We use char because int might match the return type of a gcc2
23843 builtin and then its argument prototype would still apply. */
23844 char shmat ();
23845 /* The GNU C library defines this for functions which it implements
23846 to always fail with ENOSYS. Some functions are actually named
23847 something starting with __ and the normal name is an alias. */
23848 #if defined (__stub_shmat) || defined (__stub___shmat)
23849 choke me
23850 #else
23851 char (*f) () = shmat;
23852 #endif
23853 #ifdef __cplusplus
23854 }
23855 #endif
23856
23857 int
23858 main ()
23859 {
23860 return f != shmat;
23861 ;
23862 return 0;
23863 }
23864 _ACEOF
23865 rm -f conftest.$ac_objext conftest$ac_exeext
23866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23867 (eval $ac_link) 2>&5
23868 ac_status=$?
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); } &&
23871 { ac_try='test -s conftest$ac_exeext'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23874 ac_status=$?
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_func_shmat=yes
23878 else
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23881
23882 ac_cv_func_shmat=no
23883 fi
23884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23885 fi
23886 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23887 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23888
23889 if test $ac_cv_func_shmat = no; then
23890 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23891 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23892 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 else
23895 ac_check_lib_save_LIBS=$LIBS
23896 LIBS="-lipc $LIBS"
23897 cat >conftest.$ac_ext <<_ACEOF
23898 #line $LINENO "configure"
23899 /* confdefs.h. */
23900 _ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904
23905 /* Override any gcc2 internal prototype to avoid an error. */
23906 #ifdef __cplusplus
23907 extern "C"
23908 #endif
23909 /* We use char because int might match the return type of a gcc2
23910 builtin and then its argument prototype would still apply. */
23911 char shmat ();
23912 int
23913 main ()
23914 {
23915 shmat ();
23916 ;
23917 return 0;
23918 }
23919 _ACEOF
23920 rm -f conftest.$ac_objext conftest$ac_exeext
23921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23922 (eval $ac_link) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); } &&
23926 { ac_try='test -s conftest$ac_exeext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 ac_cv_lib_ipc_shmat=yes
23933 else
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.$ac_ext >&5
23936
23937 ac_cv_lib_ipc_shmat=no
23938 fi
23939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23940 LIBS=$ac_check_lib_save_LIBS
23941 fi
23942 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23943 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23944 if test $ac_cv_lib_ipc_shmat = yes; then
23945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23946 fi
23947
23948 fi
23949 fi
23950
23951 # Check for libraries that X11R6 Xt/Xaw programs need.
23952 ac_save_LDFLAGS=$LDFLAGS
23953 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23954 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23955 # check for ICE first), but we must link in the order -lSM -lICE or
23956 # we get undefined symbols. So assume we have SM if we have ICE.
23957 # These have to be linked with before -lX11, unlike the other
23958 # libraries we check for below, so use a different variable.
23959 # John Interrante, Karl Berry
23960 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23961 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23962 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23963 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 else
23965 ac_check_lib_save_LIBS=$LIBS
23966 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23967 cat >conftest.$ac_ext <<_ACEOF
23968 #line $LINENO "configure"
23969 /* confdefs.h. */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23974
23975 /* Override any gcc2 internal prototype to avoid an error. */
23976 #ifdef __cplusplus
23977 extern "C"
23978 #endif
23979 /* We use char because int might match the return type of a gcc2
23980 builtin and then its argument prototype would still apply. */
23981 char IceConnectionNumber ();
23982 int
23983 main ()
23984 {
23985 IceConnectionNumber ();
23986 ;
23987 return 0;
23988 }
23989 _ACEOF
23990 rm -f conftest.$ac_objext conftest$ac_exeext
23991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23992 (eval $ac_link) 2>&5
23993 ac_status=$?
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } &&
23996 { ac_try='test -s conftest$ac_exeext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
23999 ac_status=$?
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 ac_cv_lib_ICE_IceConnectionNumber=yes
24003 else
24004 echo "$as_me: failed program was:" >&5
24005 sed 's/^/| /' conftest.$ac_ext >&5
24006
24007 ac_cv_lib_ICE_IceConnectionNumber=no
24008 fi
24009 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24010 LIBS=$ac_check_lib_save_LIBS
24011 fi
24012 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24013 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24014 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24015 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24016 fi
24017
24018 LDFLAGS=$ac_save_LDFLAGS
24019
24020 fi
24021
24022
24023 if test "$no_x" = "yes"; then
24024 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24025 echo "$as_me: error: X11 not found" >&2;}
24026 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24027 fi
24028
24029 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24030 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24031 AFMINSTALL=afminstall
24032 COMPILED_X_PROGRAM=0
24033
24034 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24035 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24036
24037 ac_find_includes=
24038 for ac_dir in $SEARCH_INCLUDE /usr/include;
24039 do
24040 if test -f "$ac_dir/Xm/Xm.h"; then
24041 ac_find_includes=$ac_dir
24042 break
24043 fi
24044 done
24045
24046 if test "$ac_find_includes" != "" ; then
24047 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24048 echo "${ECHO_T}found in $ac_find_includes" >&6
24049
24050 if test "x$ac_find_includes" = "x/usr/include"; then
24051 ac_path_to_include=""
24052 else
24053 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24054 result=$?
24055 if test $result = 0; then
24056 ac_path_to_include=""
24057 else
24058 ac_path_to_include=" -I$ac_find_includes"
24059 fi
24060 fi
24061
24062 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24063 else
24064 cat >conftest.$ac_ext <<_ACEOF
24065 #line $LINENO "configure"
24066 /* confdefs.h. */
24067 _ACEOF
24068 cat confdefs.h >>conftest.$ac_ext
24069 cat >>conftest.$ac_ext <<_ACEOF
24070 /* end confdefs.h. */
24071
24072 #include <Xm/Xm.h>
24073
24074 int
24075 main ()
24076 {
24077
24078 int version;
24079 version = xmUseVersion;
24080
24081 ;
24082 return 0;
24083 }
24084 _ACEOF
24085 rm -f conftest.$ac_objext
24086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24087 (eval $ac_compile) 2>&5
24088 ac_status=$?
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try='test -s conftest.$ac_objext'
24092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24093 (eval $ac_try) 2>&5
24094 ac_status=$?
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); }; }; then
24097
24098 echo "$as_me:$LINENO: result: found in default search path" >&5
24099 echo "${ECHO_T}found in default search path" >&6
24100 COMPILED_X_PROGRAM=1
24101
24102 else
24103 echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24105
24106
24107 echo "$as_me:$LINENO: result: no" >&5
24108 echo "${ECHO_T}no" >&6
24109 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24110 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24111 { (exit 1); exit 1; }; }
24112
24113
24114 fi
24115 rm -f conftest.$ac_objext conftest.$ac_ext
24116 fi
24117
24118 if test "$COMPILED_X_PROGRAM" = 0; then
24119 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24120 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24121
24122 ac_find_libraries=
24123 for ac_dir in $SEARCH_LIB /usr/lib;
24124 do
24125 for ac_extension in a so sl dylib; do
24126 if test -f "$ac_dir/libXm.$ac_extension"; then
24127 ac_find_libraries=$ac_dir
24128 break 2
24129 fi
24130 done
24131 done
24132
24133 if test "$ac_find_libraries" != "" ; then
24134 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24135 echo "${ECHO_T}found at $ac_find_libraries" >&6
24136
24137
24138 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24139 result=$?
24140 if test $result = 0; then
24141 ac_path_to_link=""
24142 else
24143 ac_path_to_link=" -L$ac_find_libraries"
24144 fi
24145
24146 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24147 else
24148 save_CFLAGS=$CFLAGS
24149 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24150
24151 cat >conftest.$ac_ext <<_ACEOF
24152 #line $LINENO "configure"
24153 /* confdefs.h. */
24154 _ACEOF
24155 cat confdefs.h >>conftest.$ac_ext
24156 cat >>conftest.$ac_ext <<_ACEOF
24157 /* end confdefs.h. */
24158
24159 #include <Xm/Xm.h>
24160
24161 int
24162 main ()
24163 {
24164
24165 int version;
24166 version = xmUseVersion;
24167
24168 ;
24169 return 0;
24170 }
24171 _ACEOF
24172 rm -f conftest.$ac_objext
24173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24174 (eval $ac_compile) 2>&5
24175 ac_status=$?
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } &&
24178 { ac_try='test -s conftest.$ac_objext'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24181 ac_status=$?
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24184
24185 echo "$as_me:$LINENO: result: found in default search path" >&5
24186 echo "${ECHO_T}found in default search path" >&6
24187 COMPILED_X_PROGRAM=1
24188
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24192
24193
24194 echo "$as_me:$LINENO: result: no" >&5
24195 echo "${ECHO_T}no" >&6
24196 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24197 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24198 { (exit 1); exit 1; }; }
24199
24200
24201 fi
24202 rm -f conftest.$ac_objext conftest.$ac_ext
24203
24204 CFLAGS=$save_CFLAGS
24205 fi
24206 fi
24207
24208 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24209 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24210 libp_link=""
24211 libsm_ice_link=""
24212 libs_found=0
24213 for libp in "" " -lXp"; do
24214 if test "$libs_found" = "0"; then
24215 for libsm_ice in "" " -lSM -lICE"; do
24216 if test "$libs_found" = "0"; then
24217 save_LIBS="$LIBS"
24218 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24219 save_CFLAGS=$CFLAGS
24220 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24221
24222 cat >conftest.$ac_ext <<_ACEOF
24223 #line $LINENO "configure"
24224 /* confdefs.h. */
24225 _ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229
24230 #include <Xm/Xm.h>
24231 #include <Xm/List.h>
24232
24233 int
24234 main ()
24235 {
24236
24237 XmString string = NULL;
24238 Widget w = NULL;
24239 int position = 0;
24240 XmListAddItem(w, string, position);
24241
24242 ;
24243 return 0;
24244 }
24245 _ACEOF
24246 rm -f conftest.$ac_objext conftest$ac_exeext
24247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24248 (eval $ac_link) 2>&5
24249 ac_status=$?
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); } &&
24252 { ac_try='test -s conftest$ac_exeext'
24253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24254 (eval $ac_try) 2>&5
24255 ac_status=$?
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); }; }; then
24258
24259 libp_link="$libp"
24260 libsm_ice_link="$libsm_ice"
24261 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24262 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24263 libs_found=1
24264
24265 else
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.$ac_ext >&5
24268
24269
24270
24271 fi
24272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24273
24274 LIBS="$save_LIBS"
24275 CFLAGS=$save_CFLAGS
24276 fi
24277 done
24278 fi
24279 done
24280
24281 if test "$libs_found" = "0"; then
24282 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24283 echo "${ECHO_T}can't find the right libraries" >&6
24284 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24285 echo "$as_me: error: can't link a simple motif program" >&2;}
24286 { (exit 1); exit 1; }; }
24287 fi
24288
24289 save_CFLAGS=$CFLAGS
24290 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24291 echo "$as_me:$LINENO: checking for Motif 2" >&5
24292 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24293 cat >conftest.$ac_ext <<_ACEOF
24294 #line $LINENO "configure"
24295 /* confdefs.h. */
24296 _ACEOF
24297 cat confdefs.h >>conftest.$ac_ext
24298 cat >>conftest.$ac_ext <<_ACEOF
24299 /* end confdefs.h. */
24300
24301 #include <Xm/Xm.h>
24302
24303 int
24304 main ()
24305 {
24306
24307 #if XmVersion < 2000
24308 #error "Not Motif 2"
24309 #endif
24310
24311 ;
24312 return 0;
24313 }
24314 _ACEOF
24315 rm -f conftest.$ac_objext
24316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24317 (eval $ac_compile) 2>&5
24318 ac_status=$?
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } &&
24321 { ac_try='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327
24328 cat >>confdefs.h <<\_ACEOF
24329 #define __WXMOTIF20__ 1
24330 _ACEOF
24331
24332 echo "$as_me:$LINENO: result: found" >&5
24333 echo "${ECHO_T}found" >&6
24334
24335 else
24336 echo "$as_me: failed program was:" >&5
24337 sed 's/^/| /' conftest.$ac_ext >&5
24338
24339
24340 cat >>confdefs.h <<\_ACEOF
24341 #define __WXMOTIF20__ 0
24342 _ACEOF
24343
24344 echo "$as_me:$LINENO: result: not found" >&5
24345 echo "${ECHO_T}not found" >&6
24346
24347 fi
24348 rm -f conftest.$ac_objext conftest.$ac_ext
24349 CFLAGS=$save_CFLAGS
24350
24351 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24352 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24353 TOOLKIT=MOTIF
24354 GUIDIST=MOTIF_DIST
24355 fi
24356
24357 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24358 if test "$wxUSE_LIBXPM" = "sys"; then
24359 echo "$as_me:$LINENO: checking for Xpm library" >&5
24360 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24361
24362 ac_find_libraries=
24363 for ac_dir in $SEARCH_LIB /usr/lib;
24364 do
24365 for ac_extension in a so sl dylib; do
24366 if test -f "$ac_dir/libXpm.$ac_extension"; then
24367 ac_find_libraries=$ac_dir
24368 break 2
24369 fi
24370 done
24371 done
24372
24373 if test "$ac_find_libraries" != "" ; then
24374
24375 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24376 result=$?
24377 if test $result = 0; then
24378 ac_path_to_link=""
24379 else
24380 ac_path_to_link=" -L$ac_find_libraries"
24381 fi
24382
24383 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24384 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24385 echo "${ECHO_T}found at $ac_find_libraries" >&6
24386
24387 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24388 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24389 if test "${wx_cv_x11_xpm_h+set}" = set; then
24390 echo $ECHO_N "(cached) $ECHO_C" >&6
24391 else
24392
24393 save_CFLAGS=$CFLAGS
24394 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24395
24396 cat >conftest.$ac_ext <<_ACEOF
24397 #line $LINENO "configure"
24398 /* confdefs.h. */
24399 _ACEOF
24400 cat confdefs.h >>conftest.$ac_ext
24401 cat >>conftest.$ac_ext <<_ACEOF
24402 /* end confdefs.h. */
24403
24404 #include <X11/xpm.h>
24405
24406 int
24407 main ()
24408 {
24409
24410 int version;
24411 version = XpmLibraryVersion();
24412
24413 ;
24414 return 0;
24415 }
24416 _ACEOF
24417 rm -f conftest.$ac_objext
24418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24419 (eval $ac_compile) 2>&5
24420 ac_status=$?
24421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24422 (exit $ac_status); } &&
24423 { ac_try='test -s conftest.$ac_objext'
24424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24425 (eval $ac_try) 2>&5
24426 ac_status=$?
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); }; }; then
24429 wx_cv_x11_xpm_h=yes
24430 else
24431 echo "$as_me: failed program was:" >&5
24432 sed 's/^/| /' conftest.$ac_ext >&5
24433
24434 wx_cv_x11_xpm_h=no
24435
24436 fi
24437 rm -f conftest.$ac_objext conftest.$ac_ext
24438
24439 CFLAGS=$save_CFLAGS
24440
24441
24442 fi
24443 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24444 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24445
24446 if test $wx_cv_x11_xpm_h = "yes"; then
24447 xpm_link=" -lXpm"
24448 cat >>confdefs.h <<\_ACEOF
24449 #define wxHAVE_LIB_XPM 1
24450 _ACEOF
24451
24452 else
24453 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24454 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24455 fi
24456 fi
24457
24458 fi
24459
24460 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24461 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24462 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24463 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 else
24465 ac_check_lib_save_LIBS=$LIBS
24466 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24467 cat >conftest.$ac_ext <<_ACEOF
24468 #line $LINENO "configure"
24469 /* confdefs.h. */
24470 _ACEOF
24471 cat confdefs.h >>conftest.$ac_ext
24472 cat >>conftest.$ac_ext <<_ACEOF
24473 /* end confdefs.h. */
24474
24475 /* Override any gcc2 internal prototype to avoid an error. */
24476 #ifdef __cplusplus
24477 extern "C"
24478 #endif
24479 /* We use char because int might match the return type of a gcc2
24480 builtin and then its argument prototype would still apply. */
24481 char XShapeQueryExtension ();
24482 int
24483 main ()
24484 {
24485 XShapeQueryExtension ();
24486 ;
24487 return 0;
24488 }
24489 _ACEOF
24490 rm -f conftest.$ac_objext conftest$ac_exeext
24491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24492 (eval $ac_link) 2>&5
24493 ac_status=$?
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } &&
24496 { ac_try='test -s conftest$ac_exeext'
24497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24498 (eval $ac_try) 2>&5
24499 ac_status=$?
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); }; }; then
24502 ac_cv_lib_Xext_XShapeQueryExtension=yes
24503 else
24504 echo "$as_me: failed program was:" >&5
24505 sed 's/^/| /' conftest.$ac_ext >&5
24506
24507 ac_cv_lib_Xext_XShapeQueryExtension=no
24508 fi
24509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24510 LIBS=$ac_check_lib_save_LIBS
24511 fi
24512 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24513 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24514 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24515
24516 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
24517 wxHAVE_XEXT_LIB=1
24518
24519 fi
24520
24521
24522 if test "$wxHAVE_XEXT_LIB" = 1; then
24523 save_CFLAGS="$CFLAGS"
24524 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24525
24526 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24527 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24528 cat >conftest.$ac_ext <<_ACEOF
24529 #line $LINENO "configure"
24530 /* confdefs.h. */
24531 _ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535
24536 #include <X11/Xlib.h>
24537 #include <X11/extensions/shape.h>
24538
24539 int
24540 main ()
24541 {
24542
24543 int dummy1, dummy2;
24544 XShapeQueryExtension((Display*)NULL,
24545 (int*)NULL, (int*)NULL);
24546
24547 ;
24548 return 0;
24549 }
24550 _ACEOF
24551 rm -f conftest.$ac_objext
24552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24553 (eval $ac_compile) 2>&5
24554 ac_status=$?
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try='test -s conftest.$ac_objext'
24558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24559 (eval $ac_try) 2>&5
24560 ac_status=$?
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); }; }; then
24563
24564 cat >>confdefs.h <<\_ACEOF
24565 #define HAVE_XSHAPE 1
24566 _ACEOF
24567
24568 echo "$as_me:$LINENO: result: found" >&5
24569 echo "${ECHO_T}found" >&6
24570
24571 else
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.$ac_ext >&5
24574
24575
24576 echo "$as_me:$LINENO: result: not found" >&5
24577 echo "${ECHO_T}not found" >&6
24578
24579 fi
24580 rm -f conftest.$ac_objext conftest.$ac_ext
24581 CFLAGS="$save_CFLAGS"
24582
24583 fi
24584 fi
24585
24586 if test "$wxUSE_MAC" = 1; then
24587 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24588 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24589 if test "$GCC" = yes; then
24590 echo "$as_me:$LINENO: result: gcc" >&5
24591 echo "${ECHO_T}gcc" >&6
24592 CPPFLAGS_PASCAL="-fpascal-strings"
24593 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24594 echo "$as_me:$LINENO: result: xlc" >&5
24595 echo "${ECHO_T}xlc" >&6
24596 CPPFLAGS_PASCAL="-qmacpstr"
24597 else
24598 echo "$as_me:$LINENO: result: none" >&5
24599 echo "${ECHO_T}none" >&6
24600 fi
24601
24602 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24603
24604 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24605 TOOLKIT=MAC
24606 GUIDIST=MACX_DIST
24607 WXBASEPORT="_carbon"
24608 fi
24609
24610 if test "$wxUSE_COCOA" = 1; then
24611 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24612 TOOLKIT=COCOA
24613 GUIDIST=COCOA_DIST
24614 fi
24615
24616 if test "$wxUSE_PM" = 1; then
24617 TOOLKIT=PM
24618 GUIDIST=GTK_DIST
24619 fi
24620
24621 if test "$TOOLKIT" = "PM" ; then
24622 TOOLKIT_DIR="os2"
24623 else
24624 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24625 fi
24626
24627 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24628
24629 if test "$wxUSE_UNIVERSAL" = "yes"; then
24630 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24631
24632 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24633 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24634
24635 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24636 if test "$wxUSE_X11" = 1; then
24637 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24638 else
24639 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24640 fi
24641 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24642 WIDGET_SET=univ
24643 else
24644 ALL_OBJECTS="\$(GUIOBJS)"
24645 ALL_SOURCES="\$(ALL_SOURCES)"
24646 ALL_HEADERS="\$(ALL_HEADERS)"
24647 fi
24648
24649 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24650
24651 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24652 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24653 fi
24654
24655 if test "$wxUSE_HTML" = "yes"; then
24656 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24657 fi
24658
24659 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24660 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24661 fi
24662 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24663 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24664 fi
24665 if test "$wxUSE_LIBPNG" = "builtin" ; then
24666 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24667 fi
24668
24669 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24670 DISTDIR="wx\$(TOOLKIT)"
24671 else
24672 USE_GUI=0
24673
24674 TOOLKIT_DIR="base"
24675
24676 if test "$USE_WIN32" = 1 ; then
24677 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24678 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24679
24680 TOOLKIT="MSW"
24681 else
24682 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24683 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24684 fi
24685
24686 ALL_SOURCES="\$(ALL_SOURCES)"
24687 ALL_HEADERS="\$(ALL_HEADERS)"
24688
24689 PORT_FILES="\${top_srcdir}/src/files.lst"
24690
24691 GUIDIST="BASE_DIST"
24692 DISTDIR="wxBase"
24693 fi
24694
24695
24696
24697
24698 IODBC_C_SRC=""
24699
24700
24701 if test "$TOOLKIT" != "MSW" ; then
24702
24703 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24704
24705 if test "${ac_cv_header_sql_h+set}" = set; then
24706 echo "$as_me:$LINENO: checking for sql.h" >&5
24707 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24708 if test "${ac_cv_header_sql_h+set}" = set; then
24709 echo $ECHO_N "(cached) $ECHO_C" >&6
24710 fi
24711 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24712 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24713 else
24714 # Is the header compilable?
24715 echo "$as_me:$LINENO: checking sql.h usability" >&5
24716 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24717 cat >conftest.$ac_ext <<_ACEOF
24718 #line $LINENO "configure"
24719 /* confdefs.h. */
24720 _ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724 $ac_includes_default
24725 #include <sql.h>
24726 _ACEOF
24727 rm -f conftest.$ac_objext
24728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24729 (eval $ac_compile) 2>&5
24730 ac_status=$?
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try='test -s conftest.$ac_objext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 ac_header_compiler=yes
24740 else
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24743
24744 ac_header_compiler=no
24745 fi
24746 rm -f conftest.$ac_objext conftest.$ac_ext
24747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24748 echo "${ECHO_T}$ac_header_compiler" >&6
24749
24750 # Is the header present?
24751 echo "$as_me:$LINENO: checking sql.h presence" >&5
24752 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24753 cat >conftest.$ac_ext <<_ACEOF
24754 #line $LINENO "configure"
24755 /* confdefs.h. */
24756 _ACEOF
24757 cat confdefs.h >>conftest.$ac_ext
24758 cat >>conftest.$ac_ext <<_ACEOF
24759 /* end confdefs.h. */
24760 #include <sql.h>
24761 _ACEOF
24762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24764 ac_status=$?
24765 grep -v '^ *+' conftest.er1 >conftest.err
24766 rm -f conftest.er1
24767 cat conftest.err >&5
24768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769 (exit $ac_status); } >/dev/null; then
24770 if test -s conftest.err; then
24771 ac_cpp_err=$ac_c_preproc_warn_flag
24772 else
24773 ac_cpp_err=
24774 fi
24775 else
24776 ac_cpp_err=yes
24777 fi
24778 if test -z "$ac_cpp_err"; then
24779 ac_header_preproc=yes
24780 else
24781 echo "$as_me: failed program was:" >&5
24782 sed 's/^/| /' conftest.$ac_ext >&5
24783
24784 ac_header_preproc=no
24785 fi
24786 rm -f conftest.err conftest.$ac_ext
24787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24788 echo "${ECHO_T}$ac_header_preproc" >&6
24789
24790 # So? What about this header?
24791 case $ac_header_compiler:$ac_header_preproc in
24792 yes:no )
24793 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24794 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24795 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24796 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24797 (
24798 cat <<\_ASBOX
24799 ## ------------------------------------ ##
24800 ## Report this to bug-autoconf@gnu.org. ##
24801 ## ------------------------------------ ##
24802 _ASBOX
24803 ) |
24804 sed "s/^/$as_me: WARNING: /" >&2
24805 ;;
24806 no:yes )
24807 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24808 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24809 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24810 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24811 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24812 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24813 (
24814 cat <<\_ASBOX
24815 ## ------------------------------------ ##
24816 ## Report this to bug-autoconf@gnu.org. ##
24817 ## ------------------------------------ ##
24818 _ASBOX
24819 ) |
24820 sed "s/^/$as_me: WARNING: /" >&2
24821 ;;
24822 esac
24823 echo "$as_me:$LINENO: checking for sql.h" >&5
24824 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24825 if test "${ac_cv_header_sql_h+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24827 else
24828 ac_cv_header_sql_h=$ac_header_preproc
24829 fi
24830 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24831 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24832
24833 fi
24834 if test $ac_cv_header_sql_h = yes; then
24835 found_sql_h=1
24836 fi
24837
24838
24839 if test "x$found_sql_h" = "x1" ; then
24840 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24841 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24842 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24844 else
24845 ac_check_lib_save_LIBS=$LIBS
24846 LIBS="-liodbc $LIBS"
24847 cat >conftest.$ac_ext <<_ACEOF
24848 #line $LINENO "configure"
24849 /* confdefs.h. */
24850 _ACEOF
24851 cat confdefs.h >>conftest.$ac_ext
24852 cat >>conftest.$ac_ext <<_ACEOF
24853 /* end confdefs.h. */
24854
24855 /* Override any gcc2 internal prototype to avoid an error. */
24856 #ifdef __cplusplus
24857 extern "C"
24858 #endif
24859 /* We use char because int might match the return type of a gcc2
24860 builtin and then its argument prototype would still apply. */
24861 char SQLAllocEnv ();
24862 int
24863 main ()
24864 {
24865 SQLAllocEnv ();
24866 ;
24867 return 0;
24868 }
24869 _ACEOF
24870 rm -f conftest.$ac_objext conftest$ac_exeext
24871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24872 (eval $ac_link) 2>&5
24873 ac_status=$?
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } &&
24876 { ac_try='test -s conftest$ac_exeext'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24879 ac_status=$?
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; }; then
24882 ac_cv_lib_iodbc_SQLAllocEnv=yes
24883 else
24884 echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.$ac_ext >&5
24886
24887 ac_cv_lib_iodbc_SQLAllocEnv=no
24888 fi
24889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24890 LIBS=$ac_check_lib_save_LIBS
24891 fi
24892 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24893 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24894 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24895 ODBC_LINK=" -liodbc"
24896 else
24897
24898 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24899 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24900 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24901 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 else
24903 ac_check_lib_save_LIBS=$LIBS
24904 LIBS="-lunixodbc $LIBS"
24905 cat >conftest.$ac_ext <<_ACEOF
24906 #line $LINENO "configure"
24907 /* confdefs.h. */
24908 _ACEOF
24909 cat confdefs.h >>conftest.$ac_ext
24910 cat >>conftest.$ac_ext <<_ACEOF
24911 /* end confdefs.h. */
24912
24913 /* Override any gcc2 internal prototype to avoid an error. */
24914 #ifdef __cplusplus
24915 extern "C"
24916 #endif
24917 /* We use char because int might match the return type of a gcc2
24918 builtin and then its argument prototype would still apply. */
24919 char SQLAllocEnv ();
24920 int
24921 main ()
24922 {
24923 SQLAllocEnv ();
24924 ;
24925 return 0;
24926 }
24927 _ACEOF
24928 rm -f conftest.$ac_objext conftest$ac_exeext
24929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24930 (eval $ac_link) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } &&
24934 { ac_try='test -s conftest$ac_exeext'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24937 ac_status=$?
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; }; then
24940 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24941 else
24942 echo "$as_me: failed program was:" >&5
24943 sed 's/^/| /' conftest.$ac_ext >&5
24944
24945 ac_cv_lib_unixodbc_SQLAllocEnv=no
24946 fi
24947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24948 LIBS=$ac_check_lib_save_LIBS
24949 fi
24950 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24951 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24952 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24953 ODBC_LINK=" -lunixodbc"
24954 else
24955
24956 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24957 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24958 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24959 echo $ECHO_N "(cached) $ECHO_C" >&6
24960 else
24961 ac_check_lib_save_LIBS=$LIBS
24962 LIBS="-lodbc $LIBS"
24963 cat >conftest.$ac_ext <<_ACEOF
24964 #line $LINENO "configure"
24965 /* confdefs.h. */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970
24971 /* Override any gcc2 internal prototype to avoid an error. */
24972 #ifdef __cplusplus
24973 extern "C"
24974 #endif
24975 /* We use char because int might match the return type of a gcc2
24976 builtin and then its argument prototype would still apply. */
24977 char SQLAllocEnv ();
24978 int
24979 main ()
24980 {
24981 SQLAllocEnv ();
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext conftest$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>&5
24989 ac_status=$?
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try='test -s conftest$ac_exeext'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24995 ac_status=$?
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; }; then
24998 ac_cv_lib_odbc_SQLAllocEnv=yes
24999 else
25000 echo "$as_me: failed program was:" >&5
25001 sed 's/^/| /' conftest.$ac_ext >&5
25002
25003 ac_cv_lib_odbc_SQLAllocEnv=no
25004 fi
25005 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25006 LIBS=$ac_check_lib_save_LIBS
25007 fi
25008 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25009 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25010 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25011 ODBC_LINK=" -lodbc"
25012 fi
25013
25014
25015 fi
25016
25017
25018 fi
25019
25020 fi
25021 if test "x$ODBC_LINK" = "x" ; then
25022 if test "$wxUSE_ODBC" = "sys" ; then
25023 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25024 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25025 { (exit 1); exit 1; }; }
25026 else
25027 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25028 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25029 wxUSE_ODBC=builtin
25030 fi
25031 else
25032 wxUSE_ODBC=sys
25033 fi
25034 fi
25035 if test "$wxUSE_ODBC" != "no" ; then
25036 cat >>confdefs.h <<\_ACEOF
25037 #define wxUSE_ODBC 1
25038 _ACEOF
25039
25040 if test "$wxUSE_ODBC" = "builtin" ; then
25041 cat >>confdefs.h <<\_ACEOF
25042 #define wxUSE_BUILTIN_IODBC 1
25043 _ACEOF
25044
25045 fi
25046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25047
25048 WXODBCFLAG="-D_IODBC_"
25049 fi
25050 fi
25051
25052 if test "$wxUSE_REGEX" = "builtin" ; then
25053 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25054 fi
25055 if test "$wxUSE_ZLIB" = "builtin" ; then
25056 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25057 fi
25058
25059
25060 USE_OPENGL=0
25061 if test "$wxUSE_OPENGL" = "yes"; then
25062 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25063 OPENGL_LIBS="-framework OpenGL -framework AGL"
25064 elif test "$wxUSE_MSW" = 1; then
25065 OPENGL_LIBS="-lopengl32 -lglu32"
25066 else
25067
25068
25069 ac_find_includes=
25070 for ac_dir in $SEARCH_INCLUDE /usr/include;
25071 do
25072 if test -f "$ac_dir/GL/gl.h"; then
25073 ac_find_includes=$ac_dir
25074 break
25075 fi
25076 done
25077
25078 if test "$ac_find_includes" != "" ; then
25079 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25080 echo "${ECHO_T}found in $ac_find_includes" >&6
25081
25082 if test "x$ac_find_includes" = "x/usr/include"; then
25083 ac_path_to_include=""
25084 else
25085 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25086 result=$?
25087 if test $result = 0; then
25088 ac_path_to_include=""
25089 else
25090 ac_path_to_include=" -I$ac_find_includes"
25091 fi
25092 fi
25093
25094 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25095 fi
25096
25097 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25098 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25099 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25100 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 fi
25103 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25104 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25105 else
25106 # Is the header compilable?
25107 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25108 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25109 cat >conftest.$ac_ext <<_ACEOF
25110 #line $LINENO "configure"
25111 /* confdefs.h. */
25112 _ACEOF
25113 cat confdefs.h >>conftest.$ac_ext
25114 cat >>conftest.$ac_ext <<_ACEOF
25115 /* end confdefs.h. */
25116 $ac_includes_default
25117 #include <GL/gl.h>
25118 _ACEOF
25119 rm -f conftest.$ac_objext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25121 (eval $ac_compile) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } &&
25125 { ac_try='test -s conftest.$ac_objext'
25126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25127 (eval $ac_try) 2>&5
25128 ac_status=$?
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); }; }; then
25131 ac_header_compiler=yes
25132 else
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.$ac_ext >&5
25135
25136 ac_header_compiler=no
25137 fi
25138 rm -f conftest.$ac_objext conftest.$ac_ext
25139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25140 echo "${ECHO_T}$ac_header_compiler" >&6
25141
25142 # Is the header present?
25143 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25144 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25145 cat >conftest.$ac_ext <<_ACEOF
25146 #line $LINENO "configure"
25147 /* confdefs.h. */
25148 _ACEOF
25149 cat confdefs.h >>conftest.$ac_ext
25150 cat >>conftest.$ac_ext <<_ACEOF
25151 /* end confdefs.h. */
25152 #include <GL/gl.h>
25153 _ACEOF
25154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25156 ac_status=$?
25157 grep -v '^ *+' conftest.er1 >conftest.err
25158 rm -f conftest.er1
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } >/dev/null; then
25162 if test -s conftest.err; then
25163 ac_cpp_err=$ac_c_preproc_warn_flag
25164 else
25165 ac_cpp_err=
25166 fi
25167 else
25168 ac_cpp_err=yes
25169 fi
25170 if test -z "$ac_cpp_err"; then
25171 ac_header_preproc=yes
25172 else
25173 echo "$as_me: failed program was:" >&5
25174 sed 's/^/| /' conftest.$ac_ext >&5
25175
25176 ac_header_preproc=no
25177 fi
25178 rm -f conftest.err conftest.$ac_ext
25179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25180 echo "${ECHO_T}$ac_header_preproc" >&6
25181
25182 # So? What about this header?
25183 case $ac_header_compiler:$ac_header_preproc in
25184 yes:no )
25185 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25186 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25187 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25188 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25189 (
25190 cat <<\_ASBOX
25191 ## ------------------------------------ ##
25192 ## Report this to bug-autoconf@gnu.org. ##
25193 ## ------------------------------------ ##
25194 _ASBOX
25195 ) |
25196 sed "s/^/$as_me: WARNING: /" >&2
25197 ;;
25198 no:yes )
25199 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25200 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25201 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25202 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25204 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25205 (
25206 cat <<\_ASBOX
25207 ## ------------------------------------ ##
25208 ## Report this to bug-autoconf@gnu.org. ##
25209 ## ------------------------------------ ##
25210 _ASBOX
25211 ) |
25212 sed "s/^/$as_me: WARNING: /" >&2
25213 ;;
25214 esac
25215 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25216 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25217 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 else
25220 ac_cv_header_GL_gl_h=$ac_header_preproc
25221 fi
25222 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25223 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25224
25225 fi
25226 if test $ac_cv_header_GL_gl_h = yes; then
25227
25228 found_gl=0
25229
25230 echo "$as_me:$LINENO: checking for -lGL" >&5
25231 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25232
25233 ac_find_libraries=
25234 for ac_dir in $SEARCH_LIB /usr/lib;
25235 do
25236 for ac_extension in a so sl dylib; do
25237 if test -f "$ac_dir/libGL.$ac_extension"; then
25238 ac_find_libraries=$ac_dir
25239 break 2
25240 fi
25241 done
25242 done
25243
25244 if test "$ac_find_libraries" != "" ; then
25245
25246 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25247 result=$?
25248 if test $result = 0; then
25249 ac_path_to_link=""
25250 else
25251 ac_path_to_link=" -L$ac_find_libraries"
25252 fi
25253
25254 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25255 LDFLAGS_GL="$ac_path_to_link"
25256 fi
25257
25258
25259 ac_find_libraries=
25260 for ac_dir in $SEARCH_LIB /usr/lib;
25261 do
25262 for ac_extension in a so sl dylib; do
25263 if test -f "$ac_dir/libGLU.$ac_extension"; then
25264 ac_find_libraries=$ac_dir
25265 break 2
25266 fi
25267 done
25268 done
25269
25270 if test "$ac_find_libraries" != "" ; then
25271
25272 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25273 result=$?
25274 if test $result = 0; then
25275 ac_path_to_link=""
25276 else
25277 ac_path_to_link=" -L$ac_find_libraries"
25278 fi
25279
25280 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25281 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25282 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25283 fi
25284
25285 found_gl=1
25286 OPENGL_LIBS="-lGL -lGLU"
25287 echo "$as_me:$LINENO: result: yes" >&5
25288 echo "${ECHO_T}yes" >&6
25289 fi
25290 fi
25291
25292 if test "$found_gl" != 1; then
25293 echo "$as_me:$LINENO: result: no" >&5
25294 echo "${ECHO_T}no" >&6
25295 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25296 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25297
25298 ac_find_libraries=
25299 for ac_dir in $SEARCH_LIB /usr/lib;
25300 do
25301 for ac_extension in a so sl dylib; do
25302 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25303 ac_find_libraries=$ac_dir
25304 break 2
25305 fi
25306 done
25307 done
25308
25309 if test "$ac_find_libraries" != "" ; then
25310
25311 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25312 result=$?
25313 if test $result = 0; then
25314 ac_path_to_link=""
25315 else
25316 ac_path_to_link=" -L$ac_find_libraries"
25317 fi
25318
25319 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25320 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25321 echo "$as_me:$LINENO: result: yes" >&5
25322 echo "${ECHO_T}yes" >&6
25323 else
25324 echo "$as_me:$LINENO: result: no" >&5
25325 echo "${ECHO_T}no" >&6
25326 fi
25327 fi
25328
25329 fi
25330
25331
25332
25333 if test "x$OPENGL_LIBS" = "x"; then
25334 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25335 echo "$as_me: error: OpenGL libraries not available" >&2;}
25336 { (exit 1); exit 1; }; }
25337 fi
25338 fi
25339
25340 if test "$wxUSE_OPENGL" = "yes"; then
25341 USE_OPENGL=1
25342 cat >>confdefs.h <<\_ACEOF
25343 #define wxUSE_OPENGL 1
25344 _ACEOF
25345
25346 cat >>confdefs.h <<\_ACEOF
25347 #define wxUSE_GLCANVAS 1
25348 _ACEOF
25349
25350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25351 fi
25352 fi
25353
25354 if test -z "$TOOLKIT_VPATH" ; then
25355 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25356 fi
25357
25358 if test -n "$TOOLKIT" ; then
25359 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25360 fi
25361
25362 UNICODE=0
25363 lib_unicode_suffix=
25364 if test "$wxUSE_UNICODE" = "yes"; then
25365 lib_unicode_suffix=u
25366 UNICODE=1
25367 fi
25368
25369 lib_debug_suffix=
25370 DEBUG_FLAG=0
25371 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25372 lib_debug_suffix=d
25373 DEBUG_FLAG=1
25374 fi
25375
25376 DEBUG_INFO=0
25377 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25378 DEBUG_INFO=1
25379 fi
25380
25381 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25382
25383 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25384 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25385
25386 if test "$cross_compiling" = "yes"; then
25387 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25388 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25389 HOST_SUFFIX="-${host_alias}"
25390 fi
25391
25392 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25393 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25394 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25395 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25396
25397 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25398 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25399
25400 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25401 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25402 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25403 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25404
25405 case "${host}" in
25406 *-*-cygwin* | *-*-mingw32* )
25407 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25408 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25409 ;;
25410
25411 *-*-darwin* )
25412
25413 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25414 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25415
25416 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25417 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25418 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25419 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25420
25421 if test "$wxUSE_MAC" = 1; then
25422 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25423 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25424 fi
25425 ;;
25426 esac
25427
25428 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25429 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25430
25431 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25432 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25433
25434 if test "$wxUSE_OPENGL" = "yes"; then
25435 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25436 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25437 fi
25438
25439
25440
25441 if test "$wxUSE_SHARED" = "yes"; then
25442 case "${host}" in
25443 *-pc-os2_emx | *-pc-os2-emx | \
25444 *-pc-msdosdjgpp )
25445 wxUSE_SHARED=no
25446 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25447 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25448 ;;
25449 esac
25450 fi
25451
25452 SHARED=0
25453 if test "$wxUSE_SHARED" = "yes"; then
25454 SHARED=1
25455
25456
25457 found_versioning=no
25458
25459
25460 if test $found_versioning = no ; then
25461 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25462 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25463 if test "${wx_cv_version_script+set}" = set; then
25464 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 else
25466
25467 echo "VER_1 { *; };" >conftest.sym
25468 echo "int main() { return 0; }" >conftest.cpp
25469
25470 if { ac_try='
25471 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25472 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25475 ac_status=$?
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; } ; then
25478 if test -s conftest.stderr ; then
25479 wx_cv_version_script=no
25480 else
25481 wx_cv_version_script=yes
25482 fi
25483 else
25484 wx_cv_version_script=no
25485 fi
25486 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25487
25488 fi
25489 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25490 echo "${ECHO_T}$wx_cv_version_script" >&6
25491 if test $wx_cv_version_script = yes ; then
25492 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25493 fi
25494 fi
25495
25496
25497 case "${host}" in
25498 *-*-linux* | *-*-gnu* )
25499 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25500 ;;
25501
25502 *-*-solaris2* )
25503 if test "$GCC" = yes ; then
25504 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25505
25506 saveLdflags="$LDFLAGS"
25507 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25508 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25509 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25510 cat >conftest.$ac_ext <<_ACEOF
25511 #line $LINENO "configure"
25512 /* confdefs.h. */
25513 _ACEOF
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25517
25518 int
25519 main ()
25520 {
25521
25522 ;
25523 return 0;
25524 }
25525 _ACEOF
25526 rm -f conftest.$ac_objext conftest$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>&5
25529 ac_status=$?
25530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25531 (exit $ac_status); } &&
25532 { ac_try='test -s conftest$ac_exeext'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25535 ac_status=$?
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; }; then
25538
25539 echo "$as_me:$LINENO: result: yes" >&5
25540 echo "${ECHO_T}yes" >&6
25541 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25542
25543 else
25544 echo "$as_me: failed program was:" >&5
25545 sed 's/^/| /' conftest.$ac_ext >&5
25546
25547
25548 echo "$as_me:$LINENO: result: no" >&5
25549 echo "${ECHO_T}no" >&6
25550 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25551 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25552 LDFLAGS="$saveLdflags -Wl,-R,/"
25553 cat >conftest.$ac_ext <<_ACEOF
25554 #line $LINENO "configure"
25555 /* confdefs.h. */
25556 _ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25560
25561 int
25562 main ()
25563 {
25564
25565 ;
25566 return 0;
25567 }
25568 _ACEOF
25569 rm -f conftest.$ac_objext conftest$ac_exeext
25570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25571 (eval $ac_link) 2>&5
25572 ac_status=$?
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); } &&
25575 { ac_try='test -s conftest$ac_exeext'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25578 ac_status=$?
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; }; then
25581
25582 echo "$as_me:$LINENO: result: yes" >&5
25583 echo "${ECHO_T}yes" >&6
25584 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25585 else
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25588
25589
25590 echo "$as_me:$LINENO: result: no" >&5
25591 echo "${ECHO_T}no" >&6
25592
25593 fi
25594 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25595
25596 fi
25597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25598 LDFLAGS="$saveLdflags"
25599 else
25600 SHARED_LD="${CXX} -G -o"
25601 PIC_FLAG="-KPIC"
25602 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25603 fi
25604 ;;
25605
25606 powerpc-*-darwin* )
25607 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25608 cat <<EOF >change-install-names
25609 #!/bin/sh
25610 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25611 inst_cmd="install_name_tool "
25612 for i in \${libnames} ; do
25613 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25614 done
25615 \${inst_cmd} \${3}
25616 EOF
25617 chmod +x change-install-names
25618 ;;
25619
25620 esac
25621
25622 if test "x$WX_TARGET_LIBRARY" = "x"; then
25623 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25624 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25625 fi
25626
25627 WX_TARGET_LIBRARY_TYPE="so"
25628 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25629 fi
25630
25631 if test "$wxUSE_SHARED" = "no"; then
25632
25633 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25634 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25635 fi
25636
25637 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25638 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25639 fi
25640
25641 if test "$wxUSE_OPENGL" = "yes"; then
25642 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25643 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25644 else
25645 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25646 fi
25647
25648 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25649 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25650
25651 WX_TARGET_LIBRARY_TYPE="a"
25652 INSTALL_LIBRARY='$(INSTALL_DATA)'
25653
25654 STATIC_FLAG="yes"
25655 else
25656 STATIC_FLAG="no"
25657 fi
25658
25659 MACRESCOMP="@#"
25660 MACSETFILE="@#"
25661 MACRESWXCONFIG="#"
25662 if test "$wxUSE_MAC" = 1; then
25663 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25664 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25665 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25666 # Extract the first word of "Rez", so it can be a program name with args.
25667 set dummy Rez; ac_word=$2
25668 echo "$as_me:$LINENO: checking for $ac_word" >&5
25669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25670 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673 if test -n "$RESCOMP"; then
25674 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25675 else
25676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25677 for as_dir in $PATH
25678 do
25679 IFS=$as_save_IFS
25680 test -z "$as_dir" && as_dir=.
25681 for ac_exec_ext in '' $ac_executable_extensions; do
25682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25683 ac_cv_prog_RESCOMP="Rez"
25684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25685 break 2
25686 fi
25687 done
25688 done
25689
25690 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25691 fi
25692 fi
25693 RESCOMP=$ac_cv_prog_RESCOMP
25694 if test -n "$RESCOMP"; then
25695 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25696 echo "${ECHO_T}$RESCOMP" >&6
25697 else
25698 echo "$as_me:$LINENO: result: no" >&5
25699 echo "${ECHO_T}no" >&6
25700 fi
25701
25702 # Extract the first word of "DeRez", so it can be a program name with args.
25703 set dummy DeRez; ac_word=$2
25704 echo "$as_me:$LINENO: checking for $ac_word" >&5
25705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25706 if test "${ac_cv_prog_DEREZ+set}" = set; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 else
25709 if test -n "$DEREZ"; then
25710 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25711 else
25712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25713 for as_dir in $PATH
25714 do
25715 IFS=$as_save_IFS
25716 test -z "$as_dir" && as_dir=.
25717 for ac_exec_ext in '' $ac_executable_extensions; do
25718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25719 ac_cv_prog_DEREZ="DeRez"
25720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25721 break 2
25722 fi
25723 done
25724 done
25725
25726 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25727 fi
25728 fi
25729 DEREZ=$ac_cv_prog_DEREZ
25730 if test -n "$DEREZ"; then
25731 echo "$as_me:$LINENO: result: $DEREZ" >&5
25732 echo "${ECHO_T}$DEREZ" >&6
25733 else
25734 echo "$as_me:$LINENO: result: no" >&5
25735 echo "${ECHO_T}no" >&6
25736 fi
25737
25738 # Extract the first word of "SetFile", so it can be a program name with args.
25739 set dummy SetFile; ac_word=$2
25740 echo "$as_me:$LINENO: checking for $ac_word" >&5
25741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25742 if test "${ac_cv_prog_SETFILE+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25744 else
25745 if test -n "$SETFILE"; then
25746 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25747 else
25748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25749 for as_dir in $PATH
25750 do
25751 IFS=$as_save_IFS
25752 test -z "$as_dir" && as_dir=.
25753 for ac_exec_ext in '' $ac_executable_extensions; do
25754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25755 ac_cv_prog_SETFILE="SetFile"
25756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25757 break 2
25758 fi
25759 done
25760 done
25761
25762 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25763 fi
25764 fi
25765 SETFILE=$ac_cv_prog_SETFILE
25766 if test -n "$SETFILE"; then
25767 echo "$as_me:$LINENO: result: $SETFILE" >&5
25768 echo "${ECHO_T}$SETFILE" >&6
25769 else
25770 echo "$as_me:$LINENO: result: no" >&5
25771 echo "${ECHO_T}no" >&6
25772 fi
25773
25774 MACOSX_BUNDLE="bundle"
25775 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25776 MACSETFILE="\$(SETFILE)"
25777 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25778 elif test "$wxUSE_COCOA" = 1; then
25779 # Extract the first word of "Rez", so it can be a program name with args.
25780 set dummy Rez; ac_word=$2
25781 echo "$as_me:$LINENO: checking for $ac_word" >&5
25782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25783 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786 if test -n "$RESCOMP"; then
25787 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25788 else
25789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25790 for as_dir in $PATH
25791 do
25792 IFS=$as_save_IFS
25793 test -z "$as_dir" && as_dir=.
25794 for ac_exec_ext in '' $ac_executable_extensions; do
25795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25796 ac_cv_prog_RESCOMP="Rez"
25797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25798 break 2
25799 fi
25800 done
25801 done
25802
25803 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25804 fi
25805 fi
25806 RESCOMP=$ac_cv_prog_RESCOMP
25807 if test -n "$RESCOMP"; then
25808 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25809 echo "${ECHO_T}$RESCOMP" >&6
25810 else
25811 echo "$as_me:$LINENO: result: no" >&5
25812 echo "${ECHO_T}no" >&6
25813 fi
25814
25815 # Extract the first word of "DeRez", so it can be a program name with args.
25816 set dummy DeRez; ac_word=$2
25817 echo "$as_me:$LINENO: checking for $ac_word" >&5
25818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25819 if test "${ac_cv_prog_DEREZ+set}" = set; then
25820 echo $ECHO_N "(cached) $ECHO_C" >&6
25821 else
25822 if test -n "$DEREZ"; then
25823 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25824 else
25825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25826 for as_dir in $PATH
25827 do
25828 IFS=$as_save_IFS
25829 test -z "$as_dir" && as_dir=.
25830 for ac_exec_ext in '' $ac_executable_extensions; do
25831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25832 ac_cv_prog_DEREZ="DeRez"
25833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25834 break 2
25835 fi
25836 done
25837 done
25838
25839 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25840 fi
25841 fi
25842 DEREZ=$ac_cv_prog_DEREZ
25843 if test -n "$DEREZ"; then
25844 echo "$as_me:$LINENO: result: $DEREZ" >&5
25845 echo "${ECHO_T}$DEREZ" >&6
25846 else
25847 echo "$as_me:$LINENO: result: no" >&5
25848 echo "${ECHO_T}no" >&6
25849 fi
25850
25851 # Extract the first word of "SetFile", so it can be a program name with args.
25852 set dummy SetFile; ac_word=$2
25853 echo "$as_me:$LINENO: checking for $ac_word" >&5
25854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25855 if test "${ac_cv_prog_SETFILE+set}" = set; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25857 else
25858 if test -n "$SETFILE"; then
25859 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25860 else
25861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25862 for as_dir in $PATH
25863 do
25864 IFS=$as_save_IFS
25865 test -z "$as_dir" && as_dir=.
25866 for ac_exec_ext in '' $ac_executable_extensions; do
25867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25868 ac_cv_prog_SETFILE="SetFile"
25869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25870 break 2
25871 fi
25872 done
25873 done
25874
25875 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25876 fi
25877 fi
25878 SETFILE=$ac_cv_prog_SETFILE
25879 if test -n "$SETFILE"; then
25880 echo "$as_me:$LINENO: result: $SETFILE" >&5
25881 echo "${ECHO_T}$SETFILE" >&6
25882 else
25883 echo "$as_me:$LINENO: result: no" >&5
25884 echo "${ECHO_T}no" >&6
25885 fi
25886
25887 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25888 MACSETFILE="\$(SETFILE)"
25889 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25890 else
25891 if test "$wxUSE_PM" = 1; then
25892 MACRESCOMP="emxbind -ep"
25893 fi
25894 fi
25895
25896
25897 echo "$as_me:$LINENO: checking for mode_t" >&5
25898 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25899 if test "${ac_cv_type_mode_t+set}" = set; then
25900 echo $ECHO_N "(cached) $ECHO_C" >&6
25901 else
25902 cat >conftest.$ac_ext <<_ACEOF
25903 #line $LINENO "configure"
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 $ac_includes_default
25910 int
25911 main ()
25912 {
25913 if ((mode_t *) 0)
25914 return 0;
25915 if (sizeof (mode_t))
25916 return 0;
25917 ;
25918 return 0;
25919 }
25920 _ACEOF
25921 rm -f conftest.$ac_objext
25922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25923 (eval $ac_compile) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); } &&
25927 { ac_try='test -s conftest.$ac_objext'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25930 ac_status=$?
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; }; then
25933 ac_cv_type_mode_t=yes
25934 else
25935 echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.$ac_ext >&5
25937
25938 ac_cv_type_mode_t=no
25939 fi
25940 rm -f conftest.$ac_objext conftest.$ac_ext
25941 fi
25942 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25943 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25944 if test $ac_cv_type_mode_t = yes; then
25945 :
25946 else
25947
25948 cat >>confdefs.h <<_ACEOF
25949 #define mode_t int
25950 _ACEOF
25951
25952 fi
25953
25954 echo "$as_me:$LINENO: checking for off_t" >&5
25955 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25956 if test "${ac_cv_type_off_t+set}" = set; then
25957 echo $ECHO_N "(cached) $ECHO_C" >&6
25958 else
25959 cat >conftest.$ac_ext <<_ACEOF
25960 #line $LINENO "configure"
25961 /* confdefs.h. */
25962 _ACEOF
25963 cat confdefs.h >>conftest.$ac_ext
25964 cat >>conftest.$ac_ext <<_ACEOF
25965 /* end confdefs.h. */
25966 $ac_includes_default
25967 int
25968 main ()
25969 {
25970 if ((off_t *) 0)
25971 return 0;
25972 if (sizeof (off_t))
25973 return 0;
25974 ;
25975 return 0;
25976 }
25977 _ACEOF
25978 rm -f conftest.$ac_objext
25979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25980 (eval $ac_compile) 2>&5
25981 ac_status=$?
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); } &&
25984 { ac_try='test -s conftest.$ac_objext'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25987 ac_status=$?
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; }; then
25990 ac_cv_type_off_t=yes
25991 else
25992 echo "$as_me: failed program was:" >&5
25993 sed 's/^/| /' conftest.$ac_ext >&5
25994
25995 ac_cv_type_off_t=no
25996 fi
25997 rm -f conftest.$ac_objext conftest.$ac_ext
25998 fi
25999 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26000 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26001 if test $ac_cv_type_off_t = yes; then
26002 :
26003 else
26004
26005 cat >>confdefs.h <<_ACEOF
26006 #define off_t long
26007 _ACEOF
26008
26009 fi
26010
26011 echo "$as_me:$LINENO: checking for pid_t" >&5
26012 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26013 if test "${ac_cv_type_pid_t+set}" = set; then
26014 echo $ECHO_N "(cached) $ECHO_C" >&6
26015 else
26016 cat >conftest.$ac_ext <<_ACEOF
26017 #line $LINENO "configure"
26018 /* confdefs.h. */
26019 _ACEOF
26020 cat confdefs.h >>conftest.$ac_ext
26021 cat >>conftest.$ac_ext <<_ACEOF
26022 /* end confdefs.h. */
26023 $ac_includes_default
26024 int
26025 main ()
26026 {
26027 if ((pid_t *) 0)
26028 return 0;
26029 if (sizeof (pid_t))
26030 return 0;
26031 ;
26032 return 0;
26033 }
26034 _ACEOF
26035 rm -f conftest.$ac_objext
26036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26037 (eval $ac_compile) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -s conftest.$ac_objext'
26042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26043 (eval $ac_try) 2>&5
26044 ac_status=$?
26045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26046 (exit $ac_status); }; }; then
26047 ac_cv_type_pid_t=yes
26048 else
26049 echo "$as_me: failed program was:" >&5
26050 sed 's/^/| /' conftest.$ac_ext >&5
26051
26052 ac_cv_type_pid_t=no
26053 fi
26054 rm -f conftest.$ac_objext conftest.$ac_ext
26055 fi
26056 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26057 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26058 if test $ac_cv_type_pid_t = yes; then
26059 :
26060 else
26061
26062 cat >>confdefs.h <<_ACEOF
26063 #define pid_t int
26064 _ACEOF
26065
26066 fi
26067
26068 echo "$as_me:$LINENO: checking for size_t" >&5
26069 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26070 if test "${ac_cv_type_size_t+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 else
26073 cat >conftest.$ac_ext <<_ACEOF
26074 #line $LINENO "configure"
26075 /* confdefs.h. */
26076 _ACEOF
26077 cat confdefs.h >>conftest.$ac_ext
26078 cat >>conftest.$ac_ext <<_ACEOF
26079 /* end confdefs.h. */
26080 $ac_includes_default
26081 int
26082 main ()
26083 {
26084 if ((size_t *) 0)
26085 return 0;
26086 if (sizeof (size_t))
26087 return 0;
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 rm -f conftest.$ac_objext
26093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26094 (eval $ac_compile) 2>&5
26095 ac_status=$?
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try='test -s conftest.$ac_objext'
26099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26100 (eval $ac_try) 2>&5
26101 ac_status=$?
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); }; }; then
26104 ac_cv_type_size_t=yes
26105 else
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.$ac_ext >&5
26108
26109 ac_cv_type_size_t=no
26110 fi
26111 rm -f conftest.$ac_objext conftest.$ac_ext
26112 fi
26113 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26114 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26115 if test $ac_cv_type_size_t = yes; then
26116 :
26117 else
26118
26119 cat >>confdefs.h <<_ACEOF
26120 #define size_t unsigned
26121 _ACEOF
26122
26123 fi
26124
26125 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26126 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26127 if test "${ac_cv_type_uid_t+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26130 cat >conftest.$ac_ext <<_ACEOF
26131 #line $LINENO "configure"
26132 /* confdefs.h. */
26133 _ACEOF
26134 cat confdefs.h >>conftest.$ac_ext
26135 cat >>conftest.$ac_ext <<_ACEOF
26136 /* end confdefs.h. */
26137 #include <sys/types.h>
26138
26139 _ACEOF
26140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26141 $EGREP "uid_t" >/dev/null 2>&1; then
26142 ac_cv_type_uid_t=yes
26143 else
26144 ac_cv_type_uid_t=no
26145 fi
26146 rm -f conftest*
26147
26148 fi
26149 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26150 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26151 if test $ac_cv_type_uid_t = no; then
26152
26153 cat >>confdefs.h <<\_ACEOF
26154 #define uid_t int
26155 _ACEOF
26156
26157
26158 cat >>confdefs.h <<\_ACEOF
26159 #define gid_t int
26160 _ACEOF
26161
26162 fi
26163
26164
26165
26166
26167 ac_ext=cc
26168 ac_cpp='$CXXCPP $CPPFLAGS'
26169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26172
26173 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26174 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26175 if test "${wx_cv_size_t_is_uint+set}" = set; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 else
26178
26179 cat >conftest.$ac_ext <<_ACEOF
26180 #line $LINENO "configure"
26181 /* confdefs.h. */
26182 _ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 #include <stddef.h>
26187 int
26188 main ()
26189 {
26190
26191 return 0; }
26192
26193 struct Foo { void foo(size_t); void foo(unsigned int); };
26194
26195 int bar() {
26196
26197 ;
26198 return 0;
26199 }
26200 _ACEOF
26201 rm -f conftest.$ac_objext
26202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26203 (eval $ac_compile) 2>&5
26204 ac_status=$?
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } &&
26207 { ac_try='test -s conftest.$ac_objext'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26210 ac_status=$?
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; }; then
26213 wx_cv_size_t_is_uint=no
26214 else
26215 echo "$as_me: failed program was:" >&5
26216 sed 's/^/| /' conftest.$ac_ext >&5
26217
26218 wx_cv_size_t_is_uint=yes
26219
26220 fi
26221 rm -f conftest.$ac_objext conftest.$ac_ext
26222
26223
26224 fi
26225 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26226 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26227
26228 if test "$wx_cv_size_t_is_uint" = "yes"; then
26229 cat >>confdefs.h <<\_ACEOF
26230 #define wxSIZE_T_IS_UINT 1
26231 _ACEOF
26232
26233 else
26234 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26235 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26236 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26237 echo $ECHO_N "(cached) $ECHO_C" >&6
26238 else
26239 cat >conftest.$ac_ext <<_ACEOF
26240 #line $LINENO "configure"
26241 /* confdefs.h. */
26242 _ACEOF
26243 cat confdefs.h >>conftest.$ac_ext
26244 cat >>conftest.$ac_ext <<_ACEOF
26245 /* end confdefs.h. */
26246 #include <stddef.h>
26247 int
26248 main ()
26249 {
26250
26251 return 0; }
26252
26253 struct Foo { void foo(size_t); void foo(unsigned long); };
26254
26255 int bar() {
26256
26257 ;
26258 return 0;
26259 }
26260 _ACEOF
26261 rm -f conftest.$ac_objext
26262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26263 (eval $ac_compile) 2>&5
26264 ac_status=$?
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); } &&
26267 { ac_try='test -s conftest.$ac_objext'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 wx_cv_size_t_is_ulong=no
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26277
26278 wx_cv_size_t_is_ulong=yes
26279
26280 fi
26281 rm -f conftest.$ac_objext conftest.$ac_ext
26282
26283 fi
26284 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26285 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26286
26287 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26288 cat >>confdefs.h <<\_ACEOF
26289 #define wxSIZE_T_IS_ULONG 1
26290 _ACEOF
26291
26292 fi
26293 fi
26294
26295 ac_ext=c
26296 ac_cpp='$CPP $CPPFLAGS'
26297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26300
26301
26302
26303 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26304 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26305 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26307 else
26308
26309 cat >conftest.$ac_ext <<_ACEOF
26310 #line $LINENO "configure"
26311 /* confdefs.h. */
26312 _ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26316 #include <pwd.h>
26317 int
26318 main ()
26319 {
26320
26321 char *p;
26322 struct passwd *pw;
26323 p = pw->pw_gecos;
26324
26325 ;
26326 return 0;
26327 }
26328 _ACEOF
26329 rm -f conftest.$ac_objext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26331 (eval $ac_compile) 2>&5
26332 ac_status=$?
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try='test -s conftest.$ac_objext'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26338 ac_status=$?
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; }; then
26341
26342 wx_cv_struct_pw_gecos=yes
26343
26344 else
26345 echo "$as_me: failed program was:" >&5
26346 sed 's/^/| /' conftest.$ac_ext >&5
26347
26348
26349 wx_cv_struct_pw_gecos=no
26350
26351
26352 fi
26353 rm -f conftest.$ac_objext conftest.$ac_ext
26354
26355
26356 fi
26357 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26358 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26359
26360 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26361 cat >>confdefs.h <<\_ACEOF
26362 #define HAVE_PW_GECOS 1
26363 _ACEOF
26364
26365 fi
26366
26367
26368 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26369 cat >>confdefs.h <<\_ACEOF
26370 #define wxUSE_WCHAR_T 1
26371 _ACEOF
26372
26373
26374 WCSLEN_FOUND=0
26375 WCHAR_LINK=
26376
26377 for ac_func in wcslen
26378 do
26379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26380 echo "$as_me:$LINENO: checking for $ac_func" >&5
26381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26382 if eval "test \"\${$as_ac_var+set}\" = set"; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26384 else
26385 cat >conftest.$ac_ext <<_ACEOF
26386 #line $LINENO "configure"
26387 /* confdefs.h. */
26388 _ACEOF
26389 cat confdefs.h >>conftest.$ac_ext
26390 cat >>conftest.$ac_ext <<_ACEOF
26391 /* end confdefs.h. */
26392 /* System header to define __stub macros and hopefully few prototypes,
26393 which can conflict with char $ac_func (); below.
26394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26395 <limits.h> exists even on freestanding compilers. */
26396 #ifdef __STDC__
26397 # include <limits.h>
26398 #else
26399 # include <assert.h>
26400 #endif
26401 /* Override any gcc2 internal prototype to avoid an error. */
26402 #ifdef __cplusplus
26403 extern "C"
26404 {
26405 #endif
26406 /* We use char because int might match the return type of a gcc2
26407 builtin and then its argument prototype would still apply. */
26408 char $ac_func ();
26409 /* The GNU C library defines this for functions which it implements
26410 to always fail with ENOSYS. Some functions are actually named
26411 something starting with __ and the normal name is an alias. */
26412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26413 choke me
26414 #else
26415 char (*f) () = $ac_func;
26416 #endif
26417 #ifdef __cplusplus
26418 }
26419 #endif
26420
26421 int
26422 main ()
26423 {
26424 return f != $ac_func;
26425 ;
26426 return 0;
26427 }
26428 _ACEOF
26429 rm -f conftest.$ac_objext conftest$ac_exeext
26430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26431 (eval $ac_link) 2>&5
26432 ac_status=$?
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } &&
26435 { ac_try='test -s conftest$ac_exeext'
26436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26437 (eval $ac_try) 2>&5
26438 ac_status=$?
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); }; }; then
26441 eval "$as_ac_var=yes"
26442 else
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26445
26446 eval "$as_ac_var=no"
26447 fi
26448 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26449 fi
26450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26452 if test `eval echo '${'$as_ac_var'}'` = yes; then
26453 cat >>confdefs.h <<_ACEOF
26454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26455 _ACEOF
26456 WCSLEN_FOUND=1
26457 fi
26458 done
26459
26460
26461 if test "$WCSLEN_FOUND" = 0; then
26462 if test "$TOOLKIT" = "MSW"; then
26463 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26464 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26465 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26466 echo $ECHO_N "(cached) $ECHO_C" >&6
26467 else
26468 ac_check_lib_save_LIBS=$LIBS
26469 LIBS="-lmsvcrt $LIBS"
26470 cat >conftest.$ac_ext <<_ACEOF
26471 #line $LINENO "configure"
26472 /* confdefs.h. */
26473 _ACEOF
26474 cat confdefs.h >>conftest.$ac_ext
26475 cat >>conftest.$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26477
26478 /* Override any gcc2 internal prototype to avoid an error. */
26479 #ifdef __cplusplus
26480 extern "C"
26481 #endif
26482 /* We use char because int might match the return type of a gcc2
26483 builtin and then its argument prototype would still apply. */
26484 char wcslen ();
26485 int
26486 main ()
26487 {
26488 wcslen ();
26489 ;
26490 return 0;
26491 }
26492 _ACEOF
26493 rm -f conftest.$ac_objext conftest$ac_exeext
26494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26495 (eval $ac_link) 2>&5
26496 ac_status=$?
26497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26498 (exit $ac_status); } &&
26499 { ac_try='test -s conftest$ac_exeext'
26500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26501 (eval $ac_try) 2>&5
26502 ac_status=$?
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); }; }; then
26505 ac_cv_lib_msvcrt_wcslen=yes
26506 else
26507 echo "$as_me: failed program was:" >&5
26508 sed 's/^/| /' conftest.$ac_ext >&5
26509
26510 ac_cv_lib_msvcrt_wcslen=no
26511 fi
26512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26513 LIBS=$ac_check_lib_save_LIBS
26514 fi
26515 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26516 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26517 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26518 WCHAR_OK=1
26519 fi
26520
26521 else
26522 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26523 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26524 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26525 echo $ECHO_N "(cached) $ECHO_C" >&6
26526 else
26527 ac_check_lib_save_LIBS=$LIBS
26528 LIBS="-lw $LIBS"
26529 cat >conftest.$ac_ext <<_ACEOF
26530 #line $LINENO "configure"
26531 /* confdefs.h. */
26532 _ACEOF
26533 cat confdefs.h >>conftest.$ac_ext
26534 cat >>conftest.$ac_ext <<_ACEOF
26535 /* end confdefs.h. */
26536
26537 /* Override any gcc2 internal prototype to avoid an error. */
26538 #ifdef __cplusplus
26539 extern "C"
26540 #endif
26541 /* We use char because int might match the return type of a gcc2
26542 builtin and then its argument prototype would still apply. */
26543 char wcslen ();
26544 int
26545 main ()
26546 {
26547 wcslen ();
26548 ;
26549 return 0;
26550 }
26551 _ACEOF
26552 rm -f conftest.$ac_objext conftest$ac_exeext
26553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26554 (eval $ac_link) 2>&5
26555 ac_status=$?
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); } &&
26558 { ac_try='test -s conftest$ac_exeext'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26561 ac_status=$?
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 ac_cv_lib_w_wcslen=yes
26565 else
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.$ac_ext >&5
26568
26569 ac_cv_lib_w_wcslen=no
26570 fi
26571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26572 LIBS=$ac_check_lib_save_LIBS
26573 fi
26574 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26575 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26576 if test $ac_cv_lib_w_wcslen = yes; then
26577
26578 WCHAR_LINK=" -lw"
26579 WCSLEN_FOUND=1
26580
26581 fi
26582
26583 fi
26584 fi
26585
26586 if test "$WCSLEN_FOUND" = 1; then
26587 cat >>confdefs.h <<\_ACEOF
26588 #define HAVE_WCSLEN 1
26589 _ACEOF
26590
26591 fi
26592
26593
26594 for ac_func in wcsrtombs
26595 do
26596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26597 echo "$as_me:$LINENO: checking for $ac_func" >&5
26598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26599 if eval "test \"\${$as_ac_var+set}\" = set"; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 else
26602 cat >conftest.$ac_ext <<_ACEOF
26603 #line $LINENO "configure"
26604 /* confdefs.h. */
26605 _ACEOF
26606 cat confdefs.h >>conftest.$ac_ext
26607 cat >>conftest.$ac_ext <<_ACEOF
26608 /* end confdefs.h. */
26609 /* System header to define __stub macros and hopefully few prototypes,
26610 which can conflict with char $ac_func (); below.
26611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26612 <limits.h> exists even on freestanding compilers. */
26613 #ifdef __STDC__
26614 # include <limits.h>
26615 #else
26616 # include <assert.h>
26617 #endif
26618 /* Override any gcc2 internal prototype to avoid an error. */
26619 #ifdef __cplusplus
26620 extern "C"
26621 {
26622 #endif
26623 /* We use char because int might match the return type of a gcc2
26624 builtin and then its argument prototype would still apply. */
26625 char $ac_func ();
26626 /* The GNU C library defines this for functions which it implements
26627 to always fail with ENOSYS. Some functions are actually named
26628 something starting with __ and the normal name is an alias. */
26629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26630 choke me
26631 #else
26632 char (*f) () = $ac_func;
26633 #endif
26634 #ifdef __cplusplus
26635 }
26636 #endif
26637
26638 int
26639 main ()
26640 {
26641 return f != $ac_func;
26642 ;
26643 return 0;
26644 }
26645 _ACEOF
26646 rm -f conftest.$ac_objext conftest$ac_exeext
26647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26648 (eval $ac_link) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); } &&
26652 { ac_try='test -s conftest$ac_exeext'
26653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26654 (eval $ac_try) 2>&5
26655 ac_status=$?
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); }; }; then
26658 eval "$as_ac_var=yes"
26659 else
26660 echo "$as_me: failed program was:" >&5
26661 sed 's/^/| /' conftest.$ac_ext >&5
26662
26663 eval "$as_ac_var=no"
26664 fi
26665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26666 fi
26667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26669 if test `eval echo '${'$as_ac_var'}'` = yes; then
26670 cat >>confdefs.h <<_ACEOF
26671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26672 _ACEOF
26673
26674 fi
26675 done
26676
26677 else
26678 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26679 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26680 fi
26681
26682
26683
26684 ac_ext=cc
26685 ac_cpp='$CXXCPP $CPPFLAGS'
26686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689
26690
26691
26692 for ac_func in vsnprintf
26693 do
26694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26695 echo "$as_me:$LINENO: checking for $ac_func" >&5
26696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26697 if eval "test \"\${$as_ac_var+set}\" = set"; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700 cat >conftest.$ac_ext <<_ACEOF
26701 #line $LINENO "configure"
26702 /* confdefs.h. */
26703 _ACEOF
26704 cat confdefs.h >>conftest.$ac_ext
26705 cat >>conftest.$ac_ext <<_ACEOF
26706 /* end confdefs.h. */
26707 /* System header to define __stub macros and hopefully few prototypes,
26708 which can conflict with char $ac_func (); below.
26709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26710 <limits.h> exists even on freestanding compilers. */
26711 #ifdef __STDC__
26712 # include <limits.h>
26713 #else
26714 # include <assert.h>
26715 #endif
26716 /* Override any gcc2 internal prototype to avoid an error. */
26717 #ifdef __cplusplus
26718 extern "C"
26719 {
26720 #endif
26721 /* We use char because int might match the return type of a gcc2
26722 builtin and then its argument prototype would still apply. */
26723 char $ac_func ();
26724 /* The GNU C library defines this for functions which it implements
26725 to always fail with ENOSYS. Some functions are actually named
26726 something starting with __ and the normal name is an alias. */
26727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26728 choke me
26729 #else
26730 char (*f) () = $ac_func;
26731 #endif
26732 #ifdef __cplusplus
26733 }
26734 #endif
26735
26736 int
26737 main ()
26738 {
26739 return f != $ac_func;
26740 ;
26741 return 0;
26742 }
26743 _ACEOF
26744 rm -f conftest.$ac_objext conftest$ac_exeext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26746 (eval $ac_link) 2>&5
26747 ac_status=$?
26748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26749 (exit $ac_status); } &&
26750 { ac_try='test -s conftest$ac_exeext'
26751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26752 (eval $ac_try) 2>&5
26753 ac_status=$?
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); }; }; then
26756 eval "$as_ac_var=yes"
26757 else
26758 echo "$as_me: failed program was:" >&5
26759 sed 's/^/| /' conftest.$ac_ext >&5
26760
26761 eval "$as_ac_var=no"
26762 fi
26763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26764 fi
26765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26767 if test `eval echo '${'$as_ac_var'}'` = yes; then
26768 cat >>confdefs.h <<_ACEOF
26769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26770 _ACEOF
26771
26772 fi
26773 done
26774
26775
26776 if test "$ac_cv_func_vsnprintf" = "yes"; then
26777 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26778 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26779 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26780 echo $ECHO_N "(cached) $ECHO_C" >&6
26781 else
26782
26783 cat >conftest.$ac_ext <<_ACEOF
26784 #line $LINENO "configure"
26785 /* confdefs.h. */
26786 _ACEOF
26787 cat confdefs.h >>conftest.$ac_ext
26788 cat >>conftest.$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26790
26791 #include <stdio.h>
26792 #include <stdarg.h>
26793
26794 int
26795 main ()
26796 {
26797
26798 char *buf;
26799 va_list ap;
26800 vsnprintf(buf, 10u, "%s", ap);
26801
26802 ;
26803 return 0;
26804 }
26805 _ACEOF
26806 rm -f conftest.$ac_objext
26807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26808 (eval $ac_compile) 2>&5
26809 ac_status=$?
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); } &&
26812 { ac_try='test -s conftest.$ac_objext'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; }; then
26818 wx_cv_func_vsnprintf_decl=yes
26819 else
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.$ac_ext >&5
26822
26823 wx_cv_func_vsnprintf_decl=no
26824
26825 fi
26826 rm -f conftest.$ac_objext conftest.$ac_ext
26827
26828
26829 fi
26830 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26831 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26832
26833 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26834 cat >>confdefs.h <<\_ACEOF
26835 #define HAVE_VSNPRINTF_DECL 1
26836 _ACEOF
26837
26838 fi
26839 fi
26840
26841 if test "$wxUSE_UNICODE" = yes; then
26842
26843
26844
26845 for ac_func in fputwc wprintf vswprintf
26846 do
26847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26848 echo "$as_me:$LINENO: checking for $ac_func" >&5
26849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26850 if eval "test \"\${$as_ac_var+set}\" = set"; then
26851 echo $ECHO_N "(cached) $ECHO_C" >&6
26852 else
26853 cat >conftest.$ac_ext <<_ACEOF
26854 #line $LINENO "configure"
26855 /* confdefs.h. */
26856 _ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860 /* System header to define __stub macros and hopefully few prototypes,
26861 which can conflict with char $ac_func (); below.
26862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26863 <limits.h> exists even on freestanding compilers. */
26864 #ifdef __STDC__
26865 # include <limits.h>
26866 #else
26867 # include <assert.h>
26868 #endif
26869 /* Override any gcc2 internal prototype to avoid an error. */
26870 #ifdef __cplusplus
26871 extern "C"
26872 {
26873 #endif
26874 /* We use char because int might match the return type of a gcc2
26875 builtin and then its argument prototype would still apply. */
26876 char $ac_func ();
26877 /* The GNU C library defines this for functions which it implements
26878 to always fail with ENOSYS. Some functions are actually named
26879 something starting with __ and the normal name is an alias. */
26880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26881 choke me
26882 #else
26883 char (*f) () = $ac_func;
26884 #endif
26885 #ifdef __cplusplus
26886 }
26887 #endif
26888
26889 int
26890 main ()
26891 {
26892 return f != $ac_func;
26893 ;
26894 return 0;
26895 }
26896 _ACEOF
26897 rm -f conftest.$ac_objext conftest$ac_exeext
26898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26899 (eval $ac_link) 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try='test -s conftest$ac_exeext'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; }; then
26909 eval "$as_ac_var=yes"
26910 else
26911 echo "$as_me: failed program was:" >&5
26912 sed 's/^/| /' conftest.$ac_ext >&5
26913
26914 eval "$as_ac_var=no"
26915 fi
26916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26917 fi
26918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26920 if test `eval echo '${'$as_ac_var'}'` = yes; then
26921 cat >>confdefs.h <<_ACEOF
26922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26923 _ACEOF
26924
26925 fi
26926 done
26927
26928
26929 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26930 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26931 cat >conftest.$ac_ext <<_ACEOF
26932 #line $LINENO "configure"
26933 /* confdefs.h. */
26934 _ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26938 #include <wchar.h>
26939 int
26940 main ()
26941 {
26942 &_vsnwprintf;
26943 ;
26944 return 0;
26945 }
26946 _ACEOF
26947 rm -f conftest.$ac_objext
26948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26949 (eval $ac_compile) 2>&5
26950 ac_status=$?
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); } &&
26953 { ac_try='test -s conftest.$ac_objext'
26954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955 (eval $ac_try) 2>&5
26956 ac_status=$?
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); }; }; then
26959 echo "$as_me:$LINENO: result: yes" >&5
26960 echo "${ECHO_T}yes" >&6
26961 cat >>confdefs.h <<\_ACEOF
26962 #define HAVE__VSNWPRINTF 1
26963 _ACEOF
26964
26965 else
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.$ac_ext >&5
26968
26969 echo "$as_me:$LINENO: result: no" >&5
26970 echo "${ECHO_T}no" >&6
26971 fi
26972 rm -f conftest.$ac_objext conftest.$ac_ext;
26973 fi
26974
26975 ac_ext=c
26976 ac_cpp='$CPP $CPPFLAGS'
26977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26980
26981
26982
26983
26984 if test "$TOOLKIT" != "MSW"; then
26985
26986
26987
26988
26989 ac_ext=cc
26990 ac_cpp='$CXXCPP $CPPFLAGS'
26991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26994
26995
26996
26997
26998 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26999 if test "${with_libiconv_prefix+set}" = set; then
27000 withval="$with_libiconv_prefix"
27001
27002 for dir in `echo "$withval" | tr : ' '`; do
27003 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27004 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27005 done
27006
27007 fi;
27008
27009 echo "$as_me:$LINENO: checking for iconv" >&5
27010 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27011 if test "${am_cv_func_iconv+set}" = set; then
27012 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 else
27014
27015 am_cv_func_iconv="no, consider installing GNU libiconv"
27016 am_cv_lib_iconv=no
27017 cat >conftest.$ac_ext <<_ACEOF
27018 #line $LINENO "configure"
27019 /* confdefs.h. */
27020 _ACEOF
27021 cat confdefs.h >>conftest.$ac_ext
27022 cat >>conftest.$ac_ext <<_ACEOF
27023 /* end confdefs.h. */
27024 #include <stdlib.h>
27025 #include <iconv.h>
27026 int
27027 main ()
27028 {
27029 iconv_t cd = iconv_open("","");
27030 iconv(cd,NULL,NULL,NULL,NULL);
27031 iconv_close(cd);
27032 ;
27033 return 0;
27034 }
27035 _ACEOF
27036 rm -f conftest.$ac_objext conftest$ac_exeext
27037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27038 (eval $ac_link) 2>&5
27039 ac_status=$?
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); } &&
27042 { ac_try='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 am_cv_func_iconv=yes
27049 else
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.$ac_ext >&5
27052
27053 fi
27054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27055 if test "$am_cv_func_iconv" != yes; then
27056 am_save_LIBS="$LIBS"
27057 LIBS="$LIBS -liconv"
27058 cat >conftest.$ac_ext <<_ACEOF
27059 #line $LINENO "configure"
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 #include <stdlib.h>
27066 #include <iconv.h>
27067 int
27068 main ()
27069 {
27070 iconv_t cd = iconv_open("","");
27071 iconv(cd,NULL,NULL,NULL,NULL);
27072 iconv_close(cd);
27073 ;
27074 return 0;
27075 }
27076 _ACEOF
27077 rm -f conftest.$ac_objext conftest$ac_exeext
27078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27079 (eval $ac_link) 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try='test -s conftest$ac_exeext'
27084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 (eval $ac_try) 2>&5
27086 ac_status=$?
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); }; }; then
27089 am_cv_lib_iconv=yes
27090 am_cv_func_iconv=yes
27091 else
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.$ac_ext >&5
27094
27095 fi
27096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27097 LIBS="$am_save_LIBS"
27098 fi
27099
27100 fi
27101 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27102 echo "${ECHO_T}$am_cv_func_iconv" >&6
27103 if test "$am_cv_func_iconv" = yes; then
27104
27105 cat >>confdefs.h <<\_ACEOF
27106 #define HAVE_ICONV 1
27107 _ACEOF
27108
27109 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27110 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27111 if test "${wx_cv_func_iconv_const+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114 cat >conftest.$ac_ext <<_ACEOF
27115 #line $LINENO "configure"
27116 /* confdefs.h. */
27117 _ACEOF
27118 cat confdefs.h >>conftest.$ac_ext
27119 cat >>conftest.$ac_ext <<_ACEOF
27120 /* end confdefs.h. */
27121
27122 #include <stdlib.h>
27123 #include <iconv.h>
27124 extern
27125 #ifdef __cplusplus
27126 "C"
27127 #endif
27128 #if defined(__STDC__) || defined(__cplusplus)
27129 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27130 #else
27131 size_t iconv();
27132 #endif
27133
27134 int
27135 main ()
27136 {
27137
27138 ;
27139 return 0;
27140 }
27141 _ACEOF
27142 rm -f conftest.$ac_objext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27144 (eval $ac_compile) 2>&5
27145 ac_status=$?
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try='test -s conftest.$ac_objext'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27151 ac_status=$?
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; }; then
27154 wx_cv_func_iconv_const="no"
27155 else
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27158
27159 wx_cv_func_iconv_const="yes"
27160
27161 fi
27162 rm -f conftest.$ac_objext conftest.$ac_ext
27163
27164 fi
27165 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27166 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27167
27168 iconv_const=
27169 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27170 iconv_const="const"
27171 fi
27172
27173
27174 cat >>confdefs.h <<_ACEOF
27175 #define ICONV_CONST $iconv_const
27176 _ACEOF
27177
27178 fi
27179 LIBICONV=
27180 if test "$am_cv_lib_iconv" = yes; then
27181 LIBICONV="-liconv"
27182 fi
27183
27184
27185 LIBS="$LIBICONV $LIBS"
27186 ac_ext=c
27187 ac_cpp='$CPP $CPPFLAGS'
27188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27191
27192
27193 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27194
27195 for ac_func in sigaction
27196 do
27197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27198 echo "$as_me:$LINENO: checking for $ac_func" >&5
27199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27200 if eval "test \"\${$as_ac_var+set}\" = set"; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27202 else
27203 cat >conftest.$ac_ext <<_ACEOF
27204 #line $LINENO "configure"
27205 /* confdefs.h. */
27206 _ACEOF
27207 cat confdefs.h >>conftest.$ac_ext
27208 cat >>conftest.$ac_ext <<_ACEOF
27209 /* end confdefs.h. */
27210 /* System header to define __stub macros and hopefully few prototypes,
27211 which can conflict with char $ac_func (); below.
27212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27213 <limits.h> exists even on freestanding compilers. */
27214 #ifdef __STDC__
27215 # include <limits.h>
27216 #else
27217 # include <assert.h>
27218 #endif
27219 /* Override any gcc2 internal prototype to avoid an error. */
27220 #ifdef __cplusplus
27221 extern "C"
27222 {
27223 #endif
27224 /* We use char because int might match the return type of a gcc2
27225 builtin and then its argument prototype would still apply. */
27226 char $ac_func ();
27227 /* The GNU C library defines this for functions which it implements
27228 to always fail with ENOSYS. Some functions are actually named
27229 something starting with __ and the normal name is an alias. */
27230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27231 choke me
27232 #else
27233 char (*f) () = $ac_func;
27234 #endif
27235 #ifdef __cplusplus
27236 }
27237 #endif
27238
27239 int
27240 main ()
27241 {
27242 return f != $ac_func;
27243 ;
27244 return 0;
27245 }
27246 _ACEOF
27247 rm -f conftest.$ac_objext conftest$ac_exeext
27248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27249 (eval $ac_link) 2>&5
27250 ac_status=$?
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try='test -s conftest$ac_exeext'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27256 ac_status=$?
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; }; then
27259 eval "$as_ac_var=yes"
27260 else
27261 echo "$as_me: failed program was:" >&5
27262 sed 's/^/| /' conftest.$ac_ext >&5
27263
27264 eval "$as_ac_var=no"
27265 fi
27266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27267 fi
27268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27270 if test `eval echo '${'$as_ac_var'}'` = yes; then
27271 cat >>confdefs.h <<_ACEOF
27272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27273 _ACEOF
27274
27275 fi
27276 done
27277
27278
27279 if test "$ac_cv_func_sigaction" = "no"; then
27280 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27281 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27282 wxUSE_ON_FATAL_EXCEPTION=no
27283 fi
27284
27285 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27286
27287
27288 ac_ext=cc
27289 ac_cpp='$CXXCPP $CPPFLAGS'
27290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27293
27294
27295 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27296 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27297 if test "${wx_cv_type_sa_handler+set}" = set; then
27298 echo $ECHO_N "(cached) $ECHO_C" >&6
27299 else
27300
27301 cat >conftest.$ac_ext <<_ACEOF
27302 #line $LINENO "configure"
27303 /* confdefs.h. */
27304 _ACEOF
27305 cat confdefs.h >>conftest.$ac_ext
27306 cat >>conftest.$ac_ext <<_ACEOF
27307 /* end confdefs.h. */
27308 #include <signal.h>
27309 int
27310 main ()
27311 {
27312
27313 extern void testSigHandler(int);
27314
27315 struct sigaction sa;
27316 sa.sa_handler = testSigHandler;
27317
27318 ;
27319 return 0;
27320 }
27321 _ACEOF
27322 rm -f conftest.$ac_objext
27323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27324 (eval $ac_compile) 2>&5
27325 ac_status=$?
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); } &&
27328 { ac_try='test -s conftest.$ac_objext'
27329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27330 (eval $ac_try) 2>&5
27331 ac_status=$?
27332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27333 (exit $ac_status); }; }; then
27334
27335 wx_cv_type_sa_handler=int
27336
27337 else
27338 echo "$as_me: failed program was:" >&5
27339 sed 's/^/| /' conftest.$ac_ext >&5
27340
27341
27342 wx_cv_type_sa_handler=void
27343
27344 fi
27345 rm -f conftest.$ac_objext conftest.$ac_ext
27346
27347 fi
27348 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27349 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27350
27351 ac_ext=c
27352 ac_cpp='$CPP $CPPFLAGS'
27353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27356
27357
27358 cat >>confdefs.h <<_ACEOF
27359 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27360 _ACEOF
27361
27362 fi
27363 fi
27364
27365
27366
27367 for ac_func in mkstemp mktemp
27368 do
27369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27370 echo "$as_me:$LINENO: checking for $ac_func" >&5
27371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27372 if eval "test \"\${$as_ac_var+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27374 else
27375 cat >conftest.$ac_ext <<_ACEOF
27376 #line $LINENO "configure"
27377 /* confdefs.h. */
27378 _ACEOF
27379 cat confdefs.h >>conftest.$ac_ext
27380 cat >>conftest.$ac_ext <<_ACEOF
27381 /* end confdefs.h. */
27382 /* System header to define __stub macros and hopefully few prototypes,
27383 which can conflict with char $ac_func (); below.
27384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27385 <limits.h> exists even on freestanding compilers. */
27386 #ifdef __STDC__
27387 # include <limits.h>
27388 #else
27389 # include <assert.h>
27390 #endif
27391 /* Override any gcc2 internal prototype to avoid an error. */
27392 #ifdef __cplusplus
27393 extern "C"
27394 {
27395 #endif
27396 /* We use char because int might match the return type of a gcc2
27397 builtin and then its argument prototype would still apply. */
27398 char $ac_func ();
27399 /* The GNU C library defines this for functions which it implements
27400 to always fail with ENOSYS. Some functions are actually named
27401 something starting with __ and the normal name is an alias. */
27402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27403 choke me
27404 #else
27405 char (*f) () = $ac_func;
27406 #endif
27407 #ifdef __cplusplus
27408 }
27409 #endif
27410
27411 int
27412 main ()
27413 {
27414 return f != $ac_func;
27415 ;
27416 return 0;
27417 }
27418 _ACEOF
27419 rm -f conftest.$ac_objext conftest$ac_exeext
27420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27421 (eval $ac_link) 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } &&
27425 { ac_try='test -s conftest$ac_exeext'
27426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27427 (eval $ac_try) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); }; }; then
27431 eval "$as_ac_var=yes"
27432 else
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.$ac_ext >&5
27435
27436 eval "$as_ac_var=no"
27437 fi
27438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27439 fi
27440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27442 if test `eval echo '${'$as_ac_var'}'` = yes; then
27443 cat >>confdefs.h <<_ACEOF
27444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27445 _ACEOF
27446 break
27447 fi
27448 done
27449
27450
27451 echo "$as_me:$LINENO: checking for statfs" >&5
27452 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27453 if test "${wx_cv_func_statfs+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27455 else
27456 cat >conftest.$ac_ext <<_ACEOF
27457 #line $LINENO "configure"
27458 /* confdefs.h. */
27459 _ACEOF
27460 cat confdefs.h >>conftest.$ac_ext
27461 cat >>conftest.$ac_ext <<_ACEOF
27462 /* end confdefs.h. */
27463
27464 #if defined(__BSD__)
27465 #include <sys/param.h>
27466 #include <sys/mount.h>
27467 #else
27468 #include <sys/vfs.h>
27469 #endif
27470
27471 int
27472 main ()
27473 {
27474
27475 long l;
27476 struct statfs fs;
27477 statfs("/", &fs);
27478 l = fs.f_bsize;
27479 l += fs.f_blocks;
27480 l += fs.f_bavail;
27481
27482 ;
27483 return 0;
27484 }
27485 _ACEOF
27486 rm -f conftest.$ac_objext
27487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27488 (eval $ac_compile) 2>&5
27489 ac_status=$?
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); } &&
27492 { ac_try='test -s conftest.$ac_objext'
27493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494 (eval $ac_try) 2>&5
27495 ac_status=$?
27496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497 (exit $ac_status); }; }; then
27498
27499 wx_cv_func_statfs=yes
27500
27501 else
27502 echo "$as_me: failed program was:" >&5
27503 sed 's/^/| /' conftest.$ac_ext >&5
27504
27505
27506 wx_cv_func_statfs=no
27507
27508
27509 fi
27510 rm -f conftest.$ac_objext conftest.$ac_ext
27511
27512 fi
27513 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27514 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27515
27516 if test "$wx_cv_func_statfs" = "yes"; then
27517 wx_cv_type_statvfs_t="struct statfs"
27518 cat >>confdefs.h <<\_ACEOF
27519 #define HAVE_STATFS 1
27520 _ACEOF
27521
27522 else
27523 echo "$as_me:$LINENO: checking for statvfs" >&5
27524 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27525 if test "${wx_cv_func_statvfs+set}" = set; then
27526 echo $ECHO_N "(cached) $ECHO_C" >&6
27527 else
27528 cat >conftest.$ac_ext <<_ACEOF
27529 #line $LINENO "configure"
27530 /* confdefs.h. */
27531 _ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27535
27536 #include <stddef.h>
27537 #include <sys/statvfs.h>
27538
27539 int
27540 main ()
27541 {
27542
27543 statvfs("/", NULL);
27544
27545 ;
27546 return 0;
27547 }
27548 _ACEOF
27549 rm -f conftest.$ac_objext
27550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27551 (eval $ac_compile) 2>&5
27552 ac_status=$?
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); } &&
27555 { ac_try='test -s conftest.$ac_objext'
27556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557 (eval $ac_try) 2>&5
27558 ac_status=$?
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27561 wx_cv_func_statvfs=yes
27562 else
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27565
27566 wx_cv_func_statvfs=no
27567
27568 fi
27569 rm -f conftest.$ac_objext conftest.$ac_ext
27570
27571 fi
27572 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27573 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27574
27575 if test "$wx_cv_func_statvfs" = "yes"; then
27576
27577
27578 ac_ext=cc
27579 ac_cpp='$CXXCPP $CPPFLAGS'
27580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27583
27584
27585 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27586 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27587 if test "${wx_cv_type_statvfs_t+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27590 cat >conftest.$ac_ext <<_ACEOF
27591 #line $LINENO "configure"
27592 /* confdefs.h. */
27593 _ACEOF
27594 cat confdefs.h >>conftest.$ac_ext
27595 cat >>conftest.$ac_ext <<_ACEOF
27596 /* end confdefs.h. */
27597
27598 #include <sys/statvfs.h>
27599
27600 int
27601 main ()
27602 {
27603
27604 long l;
27605 statvfs_t fs;
27606 statvfs("/", &fs);
27607 l = fs.f_bsize;
27608 l += fs.f_blocks;
27609 l += fs.f_bavail;
27610
27611 ;
27612 return 0;
27613 }
27614 _ACEOF
27615 rm -f conftest.$ac_objext
27616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27617 (eval $ac_compile) 2>&5
27618 ac_status=$?
27619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27620 (exit $ac_status); } &&
27621 { ac_try='test -s conftest.$ac_objext'
27622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27623 (eval $ac_try) 2>&5
27624 ac_status=$?
27625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27626 (exit $ac_status); }; }; then
27627 wx_cv_type_statvfs_t=statvfs_t
27628 else
27629 echo "$as_me: failed program was:" >&5
27630 sed 's/^/| /' conftest.$ac_ext >&5
27631
27632
27633 cat >conftest.$ac_ext <<_ACEOF
27634 #line $LINENO "configure"
27635 /* confdefs.h. */
27636 _ACEOF
27637 cat confdefs.h >>conftest.$ac_ext
27638 cat >>conftest.$ac_ext <<_ACEOF
27639 /* end confdefs.h. */
27640
27641 #include <sys/statvfs.h>
27642
27643 int
27644 main ()
27645 {
27646
27647 long l;
27648 struct statvfs fs;
27649 statvfs("/", &fs);
27650 l = fs.f_bsize;
27651 l += fs.f_blocks;
27652 l += fs.f_bavail;
27653
27654 ;
27655 return 0;
27656 }
27657 _ACEOF
27658 rm -f conftest.$ac_objext
27659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27660 (eval $ac_compile) 2>&5
27661 ac_status=$?
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } &&
27664 { ac_try='test -s conftest.$ac_objext'
27665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666 (eval $ac_try) 2>&5
27667 ac_status=$?
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); }; }; then
27670 wx_cv_type_statvfs_t="struct statvfs"
27671 else
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.$ac_ext >&5
27674
27675 wx_cv_type_statvfs_t="unknown"
27676
27677 fi
27678 rm -f conftest.$ac_objext conftest.$ac_ext
27679
27680
27681 fi
27682 rm -f conftest.$ac_objext conftest.$ac_ext
27683
27684 fi
27685 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27686 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27687
27688 ac_ext=c
27689 ac_cpp='$CPP $CPPFLAGS'
27690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27693
27694
27695 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27696 cat >>confdefs.h <<\_ACEOF
27697 #define HAVE_STATVFS 1
27698 _ACEOF
27699
27700 fi
27701 else
27702 wx_cv_type_statvfs_t="unknown"
27703 fi
27704 fi
27705
27706 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27707 cat >>confdefs.h <<_ACEOF
27708 #define WX_STATFS_T $wx_cv_type_statvfs_t
27709 _ACEOF
27710
27711 else
27712 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27713 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27714 fi
27715
27716 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27717
27718
27719 for ac_func in fcntl flock
27720 do
27721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27722 echo "$as_me:$LINENO: checking for $ac_func" >&5
27723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27724 if eval "test \"\${$as_ac_var+set}\" = set"; then
27725 echo $ECHO_N "(cached) $ECHO_C" >&6
27726 else
27727 cat >conftest.$ac_ext <<_ACEOF
27728 #line $LINENO "configure"
27729 /* confdefs.h. */
27730 _ACEOF
27731 cat confdefs.h >>conftest.$ac_ext
27732 cat >>conftest.$ac_ext <<_ACEOF
27733 /* end confdefs.h. */
27734 /* System header to define __stub macros and hopefully few prototypes,
27735 which can conflict with char $ac_func (); below.
27736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27737 <limits.h> exists even on freestanding compilers. */
27738 #ifdef __STDC__
27739 # include <limits.h>
27740 #else
27741 # include <assert.h>
27742 #endif
27743 /* Override any gcc2 internal prototype to avoid an error. */
27744 #ifdef __cplusplus
27745 extern "C"
27746 {
27747 #endif
27748 /* We use char because int might match the return type of a gcc2
27749 builtin and then its argument prototype would still apply. */
27750 char $ac_func ();
27751 /* The GNU C library defines this for functions which it implements
27752 to always fail with ENOSYS. Some functions are actually named
27753 something starting with __ and the normal name is an alias. */
27754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27755 choke me
27756 #else
27757 char (*f) () = $ac_func;
27758 #endif
27759 #ifdef __cplusplus
27760 }
27761 #endif
27762
27763 int
27764 main ()
27765 {
27766 return f != $ac_func;
27767 ;
27768 return 0;
27769 }
27770 _ACEOF
27771 rm -f conftest.$ac_objext conftest$ac_exeext
27772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27773 (eval $ac_link) 2>&5
27774 ac_status=$?
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); } &&
27777 { ac_try='test -s conftest$ac_exeext'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27780 ac_status=$?
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; }; then
27783 eval "$as_ac_var=yes"
27784 else
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.$ac_ext >&5
27787
27788 eval "$as_ac_var=no"
27789 fi
27790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27791 fi
27792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27794 if test `eval echo '${'$as_ac_var'}'` = yes; then
27795 cat >>confdefs.h <<_ACEOF
27796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27797 _ACEOF
27798 break
27799 fi
27800 done
27801
27802
27803 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27804 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27805 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27806 wxUSE_SNGLINST_CHECKER=no
27807 fi
27808 fi
27809
27810
27811 for ac_func in timegm
27812 do
27813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27814 echo "$as_me:$LINENO: checking for $ac_func" >&5
27815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27816 if eval "test \"\${$as_ac_var+set}\" = set"; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 else
27819 cat >conftest.$ac_ext <<_ACEOF
27820 #line $LINENO "configure"
27821 /* confdefs.h. */
27822 _ACEOF
27823 cat confdefs.h >>conftest.$ac_ext
27824 cat >>conftest.$ac_ext <<_ACEOF
27825 /* end confdefs.h. */
27826 /* System header to define __stub macros and hopefully few prototypes,
27827 which can conflict with char $ac_func (); below.
27828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27829 <limits.h> exists even on freestanding compilers. */
27830 #ifdef __STDC__
27831 # include <limits.h>
27832 #else
27833 # include <assert.h>
27834 #endif
27835 /* Override any gcc2 internal prototype to avoid an error. */
27836 #ifdef __cplusplus
27837 extern "C"
27838 {
27839 #endif
27840 /* We use char because int might match the return type of a gcc2
27841 builtin and then its argument prototype would still apply. */
27842 char $ac_func ();
27843 /* The GNU C library defines this for functions which it implements
27844 to always fail with ENOSYS. Some functions are actually named
27845 something starting with __ and the normal name is an alias. */
27846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27847 choke me
27848 #else
27849 char (*f) () = $ac_func;
27850 #endif
27851 #ifdef __cplusplus
27852 }
27853 #endif
27854
27855 int
27856 main ()
27857 {
27858 return f != $ac_func;
27859 ;
27860 return 0;
27861 }
27862 _ACEOF
27863 rm -f conftest.$ac_objext conftest$ac_exeext
27864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27865 (eval $ac_link) 2>&5
27866 ac_status=$?
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); } &&
27869 { ac_try='test -s conftest$ac_exeext'
27870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27871 (eval $ac_try) 2>&5
27872 ac_status=$?
27873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27874 (exit $ac_status); }; }; then
27875 eval "$as_ac_var=yes"
27876 else
27877 echo "$as_me: failed program was:" >&5
27878 sed 's/^/| /' conftest.$ac_ext >&5
27879
27880 eval "$as_ac_var=no"
27881 fi
27882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27883 fi
27884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27886 if test `eval echo '${'$as_ac_var'}'` = yes; then
27887 cat >>confdefs.h <<_ACEOF
27888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27889 _ACEOF
27890
27891 fi
27892 done
27893
27894
27895
27896
27897 for ac_func in putenv setenv
27898 do
27899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27900 echo "$as_me:$LINENO: checking for $ac_func" >&5
27901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27902 if eval "test \"\${$as_ac_var+set}\" = set"; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 else
27905 cat >conftest.$ac_ext <<_ACEOF
27906 #line $LINENO "configure"
27907 /* confdefs.h. */
27908 _ACEOF
27909 cat confdefs.h >>conftest.$ac_ext
27910 cat >>conftest.$ac_ext <<_ACEOF
27911 /* end confdefs.h. */
27912 /* System header to define __stub macros and hopefully few prototypes,
27913 which can conflict with char $ac_func (); below.
27914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27915 <limits.h> exists even on freestanding compilers. */
27916 #ifdef __STDC__
27917 # include <limits.h>
27918 #else
27919 # include <assert.h>
27920 #endif
27921 /* Override any gcc2 internal prototype to avoid an error. */
27922 #ifdef __cplusplus
27923 extern "C"
27924 {
27925 #endif
27926 /* We use char because int might match the return type of a gcc2
27927 builtin and then its argument prototype would still apply. */
27928 char $ac_func ();
27929 /* The GNU C library defines this for functions which it implements
27930 to always fail with ENOSYS. Some functions are actually named
27931 something starting with __ and the normal name is an alias. */
27932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27933 choke me
27934 #else
27935 char (*f) () = $ac_func;
27936 #endif
27937 #ifdef __cplusplus
27938 }
27939 #endif
27940
27941 int
27942 main ()
27943 {
27944 return f != $ac_func;
27945 ;
27946 return 0;
27947 }
27948 _ACEOF
27949 rm -f conftest.$ac_objext conftest$ac_exeext
27950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27951 (eval $ac_link) 2>&5
27952 ac_status=$?
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); } &&
27955 { ac_try='test -s conftest$ac_exeext'
27956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27957 (eval $ac_try) 2>&5
27958 ac_status=$?
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); }; }; then
27961 eval "$as_ac_var=yes"
27962 else
27963 echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.$ac_ext >&5
27965
27966 eval "$as_ac_var=no"
27967 fi
27968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27969 fi
27970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27972 if test `eval echo '${'$as_ac_var'}'` = yes; then
27973 cat >>confdefs.h <<_ACEOF
27974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27975 _ACEOF
27976 break
27977 fi
27978 done
27979
27980
27981 HAVE_SOME_SLEEP_FUNC=0
27982 if test "$USE_BEOS" = 1; then
27983 cat >>confdefs.h <<\_ACEOF
27984 #define HAVE_SLEEP 1
27985 _ACEOF
27986
27987 HAVE_SOME_SLEEP_FUNC=1
27988 fi
27989
27990 if test "$USE_DARWIN" = 1; then
27991 cat >>confdefs.h <<\_ACEOF
27992 #define HAVE_USLEEP 1
27993 _ACEOF
27994
27995 HAVE_SOME_SLEEP_FUNC=1
27996 fi
27997
27998 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27999 POSIX4_LINK=
28000
28001 for ac_func in nanosleep
28002 do
28003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28004 echo "$as_me:$LINENO: checking for $ac_func" >&5
28005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28006 if eval "test \"\${$as_ac_var+set}\" = set"; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 else
28009 cat >conftest.$ac_ext <<_ACEOF
28010 #line $LINENO "configure"
28011 /* confdefs.h. */
28012 _ACEOF
28013 cat confdefs.h >>conftest.$ac_ext
28014 cat >>conftest.$ac_ext <<_ACEOF
28015 /* end confdefs.h. */
28016 /* System header to define __stub macros and hopefully few prototypes,
28017 which can conflict with char $ac_func (); below.
28018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28019 <limits.h> exists even on freestanding compilers. */
28020 #ifdef __STDC__
28021 # include <limits.h>
28022 #else
28023 # include <assert.h>
28024 #endif
28025 /* Override any gcc2 internal prototype to avoid an error. */
28026 #ifdef __cplusplus
28027 extern "C"
28028 {
28029 #endif
28030 /* We use char because int might match the return type of a gcc2
28031 builtin and then its argument prototype would still apply. */
28032 char $ac_func ();
28033 /* The GNU C library defines this for functions which it implements
28034 to always fail with ENOSYS. Some functions are actually named
28035 something starting with __ and the normal name is an alias. */
28036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28037 choke me
28038 #else
28039 char (*f) () = $ac_func;
28040 #endif
28041 #ifdef __cplusplus
28042 }
28043 #endif
28044
28045 int
28046 main ()
28047 {
28048 return f != $ac_func;
28049 ;
28050 return 0;
28051 }
28052 _ACEOF
28053 rm -f conftest.$ac_objext conftest$ac_exeext
28054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28055 (eval $ac_link) 2>&5
28056 ac_status=$?
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); } &&
28059 { ac_try='test -s conftest$ac_exeext'
28060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28061 (eval $ac_try) 2>&5
28062 ac_status=$?
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); }; }; then
28065 eval "$as_ac_var=yes"
28066 else
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.$ac_ext >&5
28069
28070 eval "$as_ac_var=no"
28071 fi
28072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28073 fi
28074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28076 if test `eval echo '${'$as_ac_var'}'` = yes; then
28077 cat >>confdefs.h <<_ACEOF
28078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28079 _ACEOF
28080 cat >>confdefs.h <<\_ACEOF
28081 #define HAVE_NANOSLEEP 1
28082 _ACEOF
28083
28084 else
28085
28086 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28087 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28088 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28089 echo $ECHO_N "(cached) $ECHO_C" >&6
28090 else
28091 ac_check_lib_save_LIBS=$LIBS
28092 LIBS="-lposix4 $LIBS"
28093 cat >conftest.$ac_ext <<_ACEOF
28094 #line $LINENO "configure"
28095 /* confdefs.h. */
28096 _ACEOF
28097 cat confdefs.h >>conftest.$ac_ext
28098 cat >>conftest.$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28100
28101 /* Override any gcc2 internal prototype to avoid an error. */
28102 #ifdef __cplusplus
28103 extern "C"
28104 #endif
28105 /* We use char because int might match the return type of a gcc2
28106 builtin and then its argument prototype would still apply. */
28107 char nanosleep ();
28108 int
28109 main ()
28110 {
28111 nanosleep ();
28112 ;
28113 return 0;
28114 }
28115 _ACEOF
28116 rm -f conftest.$ac_objext conftest$ac_exeext
28117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28118 (eval $ac_link) 2>&5
28119 ac_status=$?
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } &&
28122 { ac_try='test -s conftest$ac_exeext'
28123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28124 (eval $ac_try) 2>&5
28125 ac_status=$?
28126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28127 (exit $ac_status); }; }; then
28128 ac_cv_lib_posix4_nanosleep=yes
28129 else
28130 echo "$as_me: failed program was:" >&5
28131 sed 's/^/| /' conftest.$ac_ext >&5
28132
28133 ac_cv_lib_posix4_nanosleep=no
28134 fi
28135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28136 LIBS=$ac_check_lib_save_LIBS
28137 fi
28138 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28139 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28140 if test $ac_cv_lib_posix4_nanosleep = yes; then
28141
28142 cat >>confdefs.h <<\_ACEOF
28143 #define HAVE_NANOSLEEP 1
28144 _ACEOF
28145
28146 POSIX4_LINK=" -lposix4"
28147
28148 else
28149
28150
28151 for ac_func in usleep
28152 do
28153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28154 echo "$as_me:$LINENO: checking for $ac_func" >&5
28155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28156 if eval "test \"\${$as_ac_var+set}\" = set"; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 else
28159 cat >conftest.$ac_ext <<_ACEOF
28160 #line $LINENO "configure"
28161 /* confdefs.h. */
28162 _ACEOF
28163 cat confdefs.h >>conftest.$ac_ext
28164 cat >>conftest.$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28166 /* System header to define __stub macros and hopefully few prototypes,
28167 which can conflict with char $ac_func (); below.
28168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169 <limits.h> exists even on freestanding compilers. */
28170 #ifdef __STDC__
28171 # include <limits.h>
28172 #else
28173 # include <assert.h>
28174 #endif
28175 /* Override any gcc2 internal prototype to avoid an error. */
28176 #ifdef __cplusplus
28177 extern "C"
28178 {
28179 #endif
28180 /* We use char because int might match the return type of a gcc2
28181 builtin and then its argument prototype would still apply. */
28182 char $ac_func ();
28183 /* The GNU C library defines this for functions which it implements
28184 to always fail with ENOSYS. Some functions are actually named
28185 something starting with __ and the normal name is an alias. */
28186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28187 choke me
28188 #else
28189 char (*f) () = $ac_func;
28190 #endif
28191 #ifdef __cplusplus
28192 }
28193 #endif
28194
28195 int
28196 main ()
28197 {
28198 return f != $ac_func;
28199 ;
28200 return 0;
28201 }
28202 _ACEOF
28203 rm -f conftest.$ac_objext conftest$ac_exeext
28204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28205 (eval $ac_link) 2>&5
28206 ac_status=$?
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } &&
28209 { ac_try='test -s conftest$ac_exeext'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; }; then
28215 eval "$as_ac_var=yes"
28216 else
28217 echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.$ac_ext >&5
28219
28220 eval "$as_ac_var=no"
28221 fi
28222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28223 fi
28224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28226 if test `eval echo '${'$as_ac_var'}'` = yes; then
28227 cat >>confdefs.h <<_ACEOF
28228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28229 _ACEOF
28230 cat >>confdefs.h <<\_ACEOF
28231 #define HAVE_USLEEP 1
28232 _ACEOF
28233
28234 else
28235 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28236 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28237
28238 fi
28239 done
28240
28241
28242
28243 fi
28244
28245
28246
28247 fi
28248 done
28249
28250 fi
28251
28252
28253
28254 for ac_func in uname gethostname
28255 do
28256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28257 echo "$as_me:$LINENO: checking for $ac_func" >&5
28258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28259 if eval "test \"\${$as_ac_var+set}\" = set"; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 else
28262 cat >conftest.$ac_ext <<_ACEOF
28263 #line $LINENO "configure"
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269 /* System header to define __stub macros and hopefully few prototypes,
28270 which can conflict with char $ac_func (); below.
28271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28272 <limits.h> exists even on freestanding compilers. */
28273 #ifdef __STDC__
28274 # include <limits.h>
28275 #else
28276 # include <assert.h>
28277 #endif
28278 /* Override any gcc2 internal prototype to avoid an error. */
28279 #ifdef __cplusplus
28280 extern "C"
28281 {
28282 #endif
28283 /* We use char because int might match the return type of a gcc2
28284 builtin and then its argument prototype would still apply. */
28285 char $ac_func ();
28286 /* The GNU C library defines this for functions which it implements
28287 to always fail with ENOSYS. Some functions are actually named
28288 something starting with __ and the normal name is an alias. */
28289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28290 choke me
28291 #else
28292 char (*f) () = $ac_func;
28293 #endif
28294 #ifdef __cplusplus
28295 }
28296 #endif
28297
28298 int
28299 main ()
28300 {
28301 return f != $ac_func;
28302 ;
28303 return 0;
28304 }
28305 _ACEOF
28306 rm -f conftest.$ac_objext conftest$ac_exeext
28307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28308 (eval $ac_link) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } &&
28312 { ac_try='test -s conftest$ac_exeext'
28313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28314 (eval $ac_try) 2>&5
28315 ac_status=$?
28316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28317 (exit $ac_status); }; }; then
28318 eval "$as_ac_var=yes"
28319 else
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28322
28323 eval "$as_ac_var=no"
28324 fi
28325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28326 fi
28327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28329 if test `eval echo '${'$as_ac_var'}'` = yes; then
28330 cat >>confdefs.h <<_ACEOF
28331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28332 _ACEOF
28333 break
28334 fi
28335 done
28336
28337
28338
28339
28340 ac_ext=cc
28341 ac_cpp='$CXXCPP $CPPFLAGS'
28342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28345
28346
28347
28348 for ac_func in strtok_r
28349 do
28350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28351 echo "$as_me:$LINENO: checking for $ac_func" >&5
28352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28353 if eval "test \"\${$as_ac_var+set}\" = set"; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 else
28356 cat >conftest.$ac_ext <<_ACEOF
28357 #line $LINENO "configure"
28358 /* confdefs.h. */
28359 _ACEOF
28360 cat confdefs.h >>conftest.$ac_ext
28361 cat >>conftest.$ac_ext <<_ACEOF
28362 /* end confdefs.h. */
28363 /* System header to define __stub macros and hopefully few prototypes,
28364 which can conflict with char $ac_func (); below.
28365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28366 <limits.h> exists even on freestanding compilers. */
28367 #ifdef __STDC__
28368 # include <limits.h>
28369 #else
28370 # include <assert.h>
28371 #endif
28372 /* Override any gcc2 internal prototype to avoid an error. */
28373 #ifdef __cplusplus
28374 extern "C"
28375 {
28376 #endif
28377 /* We use char because int might match the return type of a gcc2
28378 builtin and then its argument prototype would still apply. */
28379 char $ac_func ();
28380 /* The GNU C library defines this for functions which it implements
28381 to always fail with ENOSYS. Some functions are actually named
28382 something starting with __ and the normal name is an alias. */
28383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28384 choke me
28385 #else
28386 char (*f) () = $ac_func;
28387 #endif
28388 #ifdef __cplusplus
28389 }
28390 #endif
28391
28392 int
28393 main ()
28394 {
28395 return f != $ac_func;
28396 ;
28397 return 0;
28398 }
28399 _ACEOF
28400 rm -f conftest.$ac_objext conftest$ac_exeext
28401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28402 (eval $ac_link) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); } &&
28406 { ac_try='test -s conftest$ac_exeext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 eval "$as_ac_var=yes"
28413 else
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.$ac_ext >&5
28416
28417 eval "$as_ac_var=no"
28418 fi
28419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28420 fi
28421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28423 if test `eval echo '${'$as_ac_var'}'` = yes; then
28424 cat >>confdefs.h <<_ACEOF
28425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28426 _ACEOF
28427
28428 fi
28429 done
28430
28431
28432 ac_ext=c
28433 ac_cpp='$CPP $CPPFLAGS'
28434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28437
28438
28439 INET_LINK=
28440
28441 for ac_func in inet_addr
28442 do
28443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28444 echo "$as_me:$LINENO: checking for $ac_func" >&5
28445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28446 if eval "test \"\${$as_ac_var+set}\" = set"; then
28447 echo $ECHO_N "(cached) $ECHO_C" >&6
28448 else
28449 cat >conftest.$ac_ext <<_ACEOF
28450 #line $LINENO "configure"
28451 /* confdefs.h. */
28452 _ACEOF
28453 cat confdefs.h >>conftest.$ac_ext
28454 cat >>conftest.$ac_ext <<_ACEOF
28455 /* end confdefs.h. */
28456 /* System header to define __stub macros and hopefully few prototypes,
28457 which can conflict with char $ac_func (); below.
28458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28459 <limits.h> exists even on freestanding compilers. */
28460 #ifdef __STDC__
28461 # include <limits.h>
28462 #else
28463 # include <assert.h>
28464 #endif
28465 /* Override any gcc2 internal prototype to avoid an error. */
28466 #ifdef __cplusplus
28467 extern "C"
28468 {
28469 #endif
28470 /* We use char because int might match the return type of a gcc2
28471 builtin and then its argument prototype would still apply. */
28472 char $ac_func ();
28473 /* The GNU C library defines this for functions which it implements
28474 to always fail with ENOSYS. Some functions are actually named
28475 something starting with __ and the normal name is an alias. */
28476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28477 choke me
28478 #else
28479 char (*f) () = $ac_func;
28480 #endif
28481 #ifdef __cplusplus
28482 }
28483 #endif
28484
28485 int
28486 main ()
28487 {
28488 return f != $ac_func;
28489 ;
28490 return 0;
28491 }
28492 _ACEOF
28493 rm -f conftest.$ac_objext conftest$ac_exeext
28494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28495 (eval $ac_link) 2>&5
28496 ac_status=$?
28497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28498 (exit $ac_status); } &&
28499 { ac_try='test -s conftest$ac_exeext'
28500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28501 (eval $ac_try) 2>&5
28502 ac_status=$?
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 eval "$as_ac_var=yes"
28506 else
28507 echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.$ac_ext >&5
28509
28510 eval "$as_ac_var=no"
28511 fi
28512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28513 fi
28514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28516 if test `eval echo '${'$as_ac_var'}'` = yes; then
28517 cat >>confdefs.h <<_ACEOF
28518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28519 _ACEOF
28520 cat >>confdefs.h <<\_ACEOF
28521 #define HAVE_INET_ADDR 1
28522 _ACEOF
28523
28524 else
28525
28526 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28527 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28528 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28529 echo $ECHO_N "(cached) $ECHO_C" >&6
28530 else
28531 ac_check_lib_save_LIBS=$LIBS
28532 LIBS="-lnsl $LIBS"
28533 cat >conftest.$ac_ext <<_ACEOF
28534 #line $LINENO "configure"
28535 /* confdefs.h. */
28536 _ACEOF
28537 cat confdefs.h >>conftest.$ac_ext
28538 cat >>conftest.$ac_ext <<_ACEOF
28539 /* end confdefs.h. */
28540
28541 /* Override any gcc2 internal prototype to avoid an error. */
28542 #ifdef __cplusplus
28543 extern "C"
28544 #endif
28545 /* We use char because int might match the return type of a gcc2
28546 builtin and then its argument prototype would still apply. */
28547 char inet_addr ();
28548 int
28549 main ()
28550 {
28551 inet_addr ();
28552 ;
28553 return 0;
28554 }
28555 _ACEOF
28556 rm -f conftest.$ac_objext conftest$ac_exeext
28557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28558 (eval $ac_link) 2>&5
28559 ac_status=$?
28560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28561 (exit $ac_status); } &&
28562 { ac_try='test -s conftest$ac_exeext'
28563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28564 (eval $ac_try) 2>&5
28565 ac_status=$?
28566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28567 (exit $ac_status); }; }; then
28568 ac_cv_lib_nsl_inet_addr=yes
28569 else
28570 echo "$as_me: failed program was:" >&5
28571 sed 's/^/| /' conftest.$ac_ext >&5
28572
28573 ac_cv_lib_nsl_inet_addr=no
28574 fi
28575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28576 LIBS=$ac_check_lib_save_LIBS
28577 fi
28578 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28579 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28580 if test $ac_cv_lib_nsl_inet_addr = yes; then
28581 INET_LINK="nsl"
28582 else
28583
28584 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28585 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28586 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 else
28589 ac_check_lib_save_LIBS=$LIBS
28590 LIBS="-lresolv $LIBS"
28591 cat >conftest.$ac_ext <<_ACEOF
28592 #line $LINENO "configure"
28593 /* confdefs.h. */
28594 _ACEOF
28595 cat confdefs.h >>conftest.$ac_ext
28596 cat >>conftest.$ac_ext <<_ACEOF
28597 /* end confdefs.h. */
28598
28599 /* Override any gcc2 internal prototype to avoid an error. */
28600 #ifdef __cplusplus
28601 extern "C"
28602 #endif
28603 /* We use char because int might match the return type of a gcc2
28604 builtin and then its argument prototype would still apply. */
28605 char inet_addr ();
28606 int
28607 main ()
28608 {
28609 inet_addr ();
28610 ;
28611 return 0;
28612 }
28613 _ACEOF
28614 rm -f conftest.$ac_objext conftest$ac_exeext
28615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28616 (eval $ac_link) 2>&5
28617 ac_status=$?
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try='test -s conftest$ac_exeext'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28623 ac_status=$?
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; }; then
28626 ac_cv_lib_resolv_inet_addr=yes
28627 else
28628 echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.$ac_ext >&5
28630
28631 ac_cv_lib_resolv_inet_addr=no
28632 fi
28633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28634 LIBS=$ac_check_lib_save_LIBS
28635 fi
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28637 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28638 if test $ac_cv_lib_resolv_inet_addr = yes; then
28639 INET_LINK="resolv"
28640 else
28641
28642 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28643 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28644 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28645 echo $ECHO_N "(cached) $ECHO_C" >&6
28646 else
28647 ac_check_lib_save_LIBS=$LIBS
28648 LIBS="-lsocket $LIBS"
28649 cat >conftest.$ac_ext <<_ACEOF
28650 #line $LINENO "configure"
28651 /* confdefs.h. */
28652 _ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28656
28657 /* Override any gcc2 internal prototype to avoid an error. */
28658 #ifdef __cplusplus
28659 extern "C"
28660 #endif
28661 /* We use char because int might match the return type of a gcc2
28662 builtin and then its argument prototype would still apply. */
28663 char inet_addr ();
28664 int
28665 main ()
28666 {
28667 inet_addr ();
28668 ;
28669 return 0;
28670 }
28671 _ACEOF
28672 rm -f conftest.$ac_objext conftest$ac_exeext
28673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28674 (eval $ac_link) 2>&5
28675 ac_status=$?
28676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28677 (exit $ac_status); } &&
28678 { ac_try='test -s conftest$ac_exeext'
28679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28680 (eval $ac_try) 2>&5
28681 ac_status=$?
28682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28683 (exit $ac_status); }; }; then
28684 ac_cv_lib_socket_inet_addr=yes
28685 else
28686 echo "$as_me: failed program was:" >&5
28687 sed 's/^/| /' conftest.$ac_ext >&5
28688
28689 ac_cv_lib_socket_inet_addr=no
28690 fi
28691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28692 LIBS=$ac_check_lib_save_LIBS
28693 fi
28694 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28695 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28696 if test $ac_cv_lib_socket_inet_addr = yes; then
28697 INET_LINK="socket"
28698
28699 fi
28700
28701
28702
28703 fi
28704
28705
28706
28707 fi
28708
28709
28710
28711 fi
28712 done
28713
28714
28715
28716 for ac_func in inet_aton
28717 do
28718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28719 echo "$as_me:$LINENO: checking for $ac_func" >&5
28720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28721 if eval "test \"\${$as_ac_var+set}\" = set"; then
28722 echo $ECHO_N "(cached) $ECHO_C" >&6
28723 else
28724 cat >conftest.$ac_ext <<_ACEOF
28725 #line $LINENO "configure"
28726 /* confdefs.h. */
28727 _ACEOF
28728 cat confdefs.h >>conftest.$ac_ext
28729 cat >>conftest.$ac_ext <<_ACEOF
28730 /* end confdefs.h. */
28731 /* System header to define __stub macros and hopefully few prototypes,
28732 which can conflict with char $ac_func (); below.
28733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28734 <limits.h> exists even on freestanding compilers. */
28735 #ifdef __STDC__
28736 # include <limits.h>
28737 #else
28738 # include <assert.h>
28739 #endif
28740 /* Override any gcc2 internal prototype to avoid an error. */
28741 #ifdef __cplusplus
28742 extern "C"
28743 {
28744 #endif
28745 /* We use char because int might match the return type of a gcc2
28746 builtin and then its argument prototype would still apply. */
28747 char $ac_func ();
28748 /* The GNU C library defines this for functions which it implements
28749 to always fail with ENOSYS. Some functions are actually named
28750 something starting with __ and the normal name is an alias. */
28751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28752 choke me
28753 #else
28754 char (*f) () = $ac_func;
28755 #endif
28756 #ifdef __cplusplus
28757 }
28758 #endif
28759
28760 int
28761 main ()
28762 {
28763 return f != $ac_func;
28764 ;
28765 return 0;
28766 }
28767 _ACEOF
28768 rm -f conftest.$ac_objext conftest$ac_exeext
28769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28770 (eval $ac_link) 2>&5
28771 ac_status=$?
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -s conftest$ac_exeext'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; }; then
28780 eval "$as_ac_var=yes"
28781 else
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.$ac_ext >&5
28784
28785 eval "$as_ac_var=no"
28786 fi
28787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28788 fi
28789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28791 if test `eval echo '${'$as_ac_var'}'` = yes; then
28792 cat >>confdefs.h <<_ACEOF
28793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28794 _ACEOF
28795 cat >>confdefs.h <<\_ACEOF
28796 #define HAVE_INET_ATON 1
28797 _ACEOF
28798
28799 else
28800
28801 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28802 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28803 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28804 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28806 else
28807 ac_check_lib_save_LIBS=$LIBS
28808 LIBS="-l$INET_LINK $LIBS"
28809 cat >conftest.$ac_ext <<_ACEOF
28810 #line $LINENO "configure"
28811 /* confdefs.h. */
28812 _ACEOF
28813 cat confdefs.h >>conftest.$ac_ext
28814 cat >>conftest.$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28816
28817 /* Override any gcc2 internal prototype to avoid an error. */
28818 #ifdef __cplusplus
28819 extern "C"
28820 #endif
28821 /* We use char because int might match the return type of a gcc2
28822 builtin and then its argument prototype would still apply. */
28823 char inet_aton ();
28824 int
28825 main ()
28826 {
28827 inet_aton ();
28828 ;
28829 return 0;
28830 }
28831 _ACEOF
28832 rm -f conftest.$ac_objext conftest$ac_exeext
28833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28834 (eval $ac_link) 2>&5
28835 ac_status=$?
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -s conftest$ac_exeext'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28841 ac_status=$?
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; }; then
28844 eval "$as_ac_Lib=yes"
28845 else
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.$ac_ext >&5
28848
28849 eval "$as_ac_Lib=no"
28850 fi
28851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28852 LIBS=$ac_check_lib_save_LIBS
28853 fi
28854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28855 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28856 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28857 cat >>confdefs.h <<\_ACEOF
28858 #define HAVE_INET_ATON 1
28859 _ACEOF
28860
28861 fi
28862
28863
28864 fi
28865 done
28866
28867
28868 if test "x$INET_LINK" != "x"; then
28869 cat >>confdefs.h <<\_ACEOF
28870 #define HAVE_INET_ADDR 1
28871 _ACEOF
28872
28873 INET_LINK=" -l$INET_LINK"
28874 fi
28875
28876 fi
28877
28878
28879
28880 EXTRALIBS_ESD=
28881 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28882 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28883 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28885 else
28886 ac_check_lib_save_LIBS=$LIBS
28887 LIBS="-lesd $LIBS"
28888 cat >conftest.$ac_ext <<_ACEOF
28889 #line $LINENO "configure"
28890 /* confdefs.h. */
28891 _ACEOF
28892 cat confdefs.h >>conftest.$ac_ext
28893 cat >>conftest.$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28895
28896 /* Override any gcc2 internal prototype to avoid an error. */
28897 #ifdef __cplusplus
28898 extern "C"
28899 #endif
28900 /* We use char because int might match the return type of a gcc2
28901 builtin and then its argument prototype would still apply. */
28902 char esd_close ();
28903 int
28904 main ()
28905 {
28906 esd_close ();
28907 ;
28908 return 0;
28909 }
28910 _ACEOF
28911 rm -f conftest.$ac_objext conftest$ac_exeext
28912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28913 (eval $ac_link) 2>&5
28914 ac_status=$?
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); } &&
28917 { ac_try='test -s conftest$ac_exeext'
28918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28919 (eval $ac_try) 2>&5
28920 ac_status=$?
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); }; }; then
28923 ac_cv_lib_esd_esd_close=yes
28924 else
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.$ac_ext >&5
28927
28928 ac_cv_lib_esd_esd_close=no
28929 fi
28930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28931 LIBS=$ac_check_lib_save_LIBS
28932 fi
28933 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28934 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28935 if test $ac_cv_lib_esd_esd_close = yes; then
28936
28937
28938 for ac_header in esd.h
28939 do
28940 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28942 echo "$as_me:$LINENO: checking for $ac_header" >&5
28943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28946 fi
28947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28949 else
28950 # Is the header compilable?
28951 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28952 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28953 cat >conftest.$ac_ext <<_ACEOF
28954 #line $LINENO "configure"
28955 /* confdefs.h. */
28956 _ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960 $ac_includes_default
28961 #include <$ac_header>
28962 _ACEOF
28963 rm -f conftest.$ac_objext
28964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28965 (eval $ac_compile) 2>&5
28966 ac_status=$?
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } &&
28969 { ac_try='test -s conftest.$ac_objext'
28970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28971 (eval $ac_try) 2>&5
28972 ac_status=$?
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); }; }; then
28975 ac_header_compiler=yes
28976 else
28977 echo "$as_me: failed program was:" >&5
28978 sed 's/^/| /' conftest.$ac_ext >&5
28979
28980 ac_header_compiler=no
28981 fi
28982 rm -f conftest.$ac_objext conftest.$ac_ext
28983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28984 echo "${ECHO_T}$ac_header_compiler" >&6
28985
28986 # Is the header present?
28987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28989 cat >conftest.$ac_ext <<_ACEOF
28990 #line $LINENO "configure"
28991 /* confdefs.h. */
28992 _ACEOF
28993 cat confdefs.h >>conftest.$ac_ext
28994 cat >>conftest.$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28996 #include <$ac_header>
28997 _ACEOF
28998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29000 ac_status=$?
29001 grep -v '^ *+' conftest.er1 >conftest.err
29002 rm -f conftest.er1
29003 cat conftest.err >&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); } >/dev/null; then
29006 if test -s conftest.err; then
29007 ac_cpp_err=$ac_c_preproc_warn_flag
29008 else
29009 ac_cpp_err=
29010 fi
29011 else
29012 ac_cpp_err=yes
29013 fi
29014 if test -z "$ac_cpp_err"; then
29015 ac_header_preproc=yes
29016 else
29017 echo "$as_me: failed program was:" >&5
29018 sed 's/^/| /' conftest.$ac_ext >&5
29019
29020 ac_header_preproc=no
29021 fi
29022 rm -f conftest.err conftest.$ac_ext
29023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29024 echo "${ECHO_T}$ac_header_preproc" >&6
29025
29026 # So? What about this header?
29027 case $ac_header_compiler:$ac_header_preproc in
29028 yes:no )
29029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29033 (
29034 cat <<\_ASBOX
29035 ## ------------------------------------ ##
29036 ## Report this to bug-autoconf@gnu.org. ##
29037 ## ------------------------------------ ##
29038 _ASBOX
29039 ) |
29040 sed "s/^/$as_me: WARNING: /" >&2
29041 ;;
29042 no:yes )
29043 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29045 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29046 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29049 (
29050 cat <<\_ASBOX
29051 ## ------------------------------------ ##
29052 ## Report this to bug-autoconf@gnu.org. ##
29053 ## ------------------------------------ ##
29054 _ASBOX
29055 ) |
29056 sed "s/^/$as_me: WARNING: /" >&2
29057 ;;
29058 esac
29059 echo "$as_me:$LINENO: checking for $ac_header" >&5
29060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29062 echo $ECHO_N "(cached) $ECHO_C" >&6
29063 else
29064 eval "$as_ac_Header=$ac_header_preproc"
29065 fi
29066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29068
29069 fi
29070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29071 cat >>confdefs.h <<_ACEOF
29072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29073 _ACEOF
29074
29075 EXTRALIBS_ESD="-lesd"
29076
29077 fi
29078
29079 done
29080
29081
29082 fi
29083
29084
29085
29086 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29087 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29088 cat >conftest.$ac_ext <<_ACEOF
29089 #line $LINENO "configure"
29090 /* confdefs.h. */
29091 _ACEOF
29092 cat confdefs.h >>conftest.$ac_ext
29093 cat >>conftest.$ac_ext <<_ACEOF
29094 /* end confdefs.h. */
29095 #ifdef __linux__
29096 #include <linux/cdrom.h>
29097 #else
29098 /* For Solaris */
29099 #include <sys/cdio.h>
29100 #endif
29101
29102 int
29103 main ()
29104 {
29105 struct cdrom_tocentry entry, old_entry;
29106 ;
29107 return 0;
29108 }
29109 _ACEOF
29110 rm -f conftest.$ac_objext
29111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29112 (eval $ac_compile) 2>&5
29113 ac_status=$?
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } &&
29116 { ac_try='test -s conftest.$ac_objext'
29117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29118 (eval $ac_try) 2>&5
29119 ac_status=$?
29120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29121 (exit $ac_status); }; }; then
29122 echo "$as_me:$LINENO: result: yes" >&5
29123 echo "${ECHO_T}yes" >&6
29124 cat >>confdefs.h <<\_ACEOF
29125 #define HAVE_KNOWN_CDROM_INTERFACE 1
29126 _ACEOF
29127
29128 else
29129 echo "$as_me: failed program was:" >&5
29130 sed 's/^/| /' conftest.$ac_ext >&5
29131
29132 echo "$as_me:$LINENO: result: no" >&5
29133 echo "${ECHO_T}no" >&6
29134 fi
29135 rm -f conftest.$ac_objext conftest.$ac_ext
29136
29137
29138 cat >confcache <<\_ACEOF
29139 # This file is a shell script that caches the results of configure
29140 # tests run on this system so they can be shared between configure
29141 # scripts and configure runs, see configure's option --config-cache.
29142 # It is not useful on other systems. If it contains results you don't
29143 # want to keep, you may remove or edit it.
29144 #
29145 # config.status only pays attention to the cache file if you give it
29146 # the --recheck option to rerun configure.
29147 #
29148 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29149 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29150 # following values.
29151
29152 _ACEOF
29153
29154 # The following way of writing the cache mishandles newlines in values,
29155 # but we know of no workaround that is simple, portable, and efficient.
29156 # So, don't put newlines in cache variables' values.
29157 # Ultrix sh set writes to stderr and can't be redirected directly,
29158 # and sets the high bit in the cache file unless we assign to the vars.
29159 {
29160 (set) 2>&1 |
29161 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29162 *ac_space=\ *)
29163 # `set' does not quote correctly, so add quotes (double-quote
29164 # substitution turns \\\\ into \\, and sed turns \\ into \).
29165 sed -n \
29166 "s/'/'\\\\''/g;
29167 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29168 ;;
29169 *)
29170 # `set' quotes correctly as required by POSIX, so do not add quotes.
29171 sed -n \
29172 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29173 ;;
29174 esac;
29175 } |
29176 sed '
29177 t clear
29178 : clear
29179 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29180 t end
29181 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29182 : end' >>confcache
29183 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29184 if test -w $cache_file; then
29185 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29186 cat confcache >$cache_file
29187 else
29188 echo "not updating unwritable cache $cache_file"
29189 fi
29190 fi
29191 rm -f confcache
29192
29193
29194 CPP_MT_FLAG=
29195 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29196
29197
29198 THREADS_LINK=
29199 THREADS_CFLAGS=
29200
29201 if test "$wxUSE_THREADS" = "yes" ; then
29202 if test "$USE_BEOS" = 1; then
29203 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29204 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29205 wxUSE_THREADS="no"
29206 fi
29207 fi
29208
29209 if test "$wxUSE_THREADS" = "yes" ; then
29210
29211
29212 THREAD_OPTS="-pthread"
29213 case "${host}" in
29214 *-*-solaris2* | *-*-sunos4* )
29215 if test "x$GCC" = "xyes"; then
29216 THREAD_OPTS="-pthreads $THREAD_OPTS"
29217 else
29218 THREAD_OPTS="-mt $THREAD_OPTS"
29219 fi
29220 ;;
29221 *-*-freebsd*)
29222 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29223 ;;
29224 *-*-darwin* | *-*-cygwin* )
29225 THREAD_OPTS=""
29226 ;;
29227 *-*-aix*)
29228 THREAD_OPTS="pthreads"
29229 ;;
29230 *-hp-hpux* )
29231 if test "x$GCC" != "xyes"; then
29232 THREAD_OPTS=""
29233 fi
29234 ;;
29235
29236 *-*-irix* )
29237 if test "x$GCC" = "xyes"; then
29238 THREAD_OPTS=""
29239 fi
29240 ;;
29241
29242 *-*-*UnixWare*)
29243 if test "x$GCC" != "xyes"; then
29244 THREAD_OPTS="-Ethread"
29245 fi
29246 ;;
29247 esac
29248
29249 THREAD_OPTS="$THREAD_OPTS pthread none"
29250
29251 THREADS_OK=no
29252 for flag in $THREAD_OPTS; do
29253 case $flag in
29254 none)
29255 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29256 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29257 ;;
29258
29259 -*)
29260 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29261 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29262 THREADS_CFLAGS="$flag"
29263 ;;
29264
29265 *)
29266 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29267 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29268 THREADS_LINK="-l$flag"
29269 ;;
29270 esac
29271
29272 save_LIBS="$LIBS"
29273 save_CFLAGS="$CFLAGS"
29274 LIBS="$THREADS_LINK $LIBS"
29275 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29276
29277 cat >conftest.$ac_ext <<_ACEOF
29278 #line $LINENO "configure"
29279 /* confdefs.h. */
29280 _ACEOF
29281 cat confdefs.h >>conftest.$ac_ext
29282 cat >>conftest.$ac_ext <<_ACEOF
29283 /* end confdefs.h. */
29284 #include <pthread.h>
29285 int
29286 main ()
29287 {
29288 pthread_create(0,0,0,0);
29289 ;
29290 return 0;
29291 }
29292 _ACEOF
29293 rm -f conftest.$ac_objext conftest$ac_exeext
29294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29295 (eval $ac_link) 2>&5
29296 ac_status=$?
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } &&
29299 { ac_try='test -s conftest$ac_exeext'
29300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29301 (eval $ac_try) 2>&5
29302 ac_status=$?
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29305 THREADS_OK=yes
29306 else
29307 echo "$as_me: failed program was:" >&5
29308 sed 's/^/| /' conftest.$ac_ext >&5
29309
29310 fi
29311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29312
29313 LIBS="$save_LIBS"
29314 CFLAGS="$save_CFLAGS"
29315
29316 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29317 echo "${ECHO_T}$THREADS_OK" >&6
29318 if test "x$THREADS_OK" = "xyes"; then
29319 break;
29320 fi
29321
29322 THREADS_LINK=""
29323 THREADS_CFLAGS=""
29324 done
29325
29326 if test "x$THREADS_OK" != "xyes"; then
29327 wxUSE_THREADS=no
29328 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29329 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29330 else
29331 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29332 LIBS="$THREADS_LINK $LIBS"
29333
29334 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29335 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29336 flag=no
29337 case "${host}" in
29338 *-aix*)
29339 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29340 flag="-D_THREAD_SAFE"
29341 ;;
29342 *-freebsd*)
29343 flag="-D_THREAD_SAFE"
29344 ;;
29345 *-hp-hpux* )
29346 flag="-D_REENTRANT"
29347 if test "x$GCC" != "xyes"; then
29348 flag="$flag -D_RWSTD_MULTI_THREAD"
29349 fi
29350 ;;
29351 *solaris* | alpha*-osf*)
29352 flag="-D_REENTRANT"
29353 ;;
29354 esac
29355 echo "$as_me:$LINENO: result: ${flag}" >&5
29356 echo "${ECHO_T}${flag}" >&6
29357 if test "x$flag" != xno; then
29358 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29359 fi
29360
29361 if test "x$THREADS_CFLAGS" != "x"; then
29362 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29363 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29364 fi
29365 fi
29366 fi
29367
29368 if test "$wxUSE_THREADS" = "yes" ; then
29369
29370 for ac_func in thr_setconcurrency
29371 do
29372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29373 echo "$as_me:$LINENO: checking for $ac_func" >&5
29374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29375 if eval "test \"\${$as_ac_var+set}\" = set"; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29378 cat >conftest.$ac_ext <<_ACEOF
29379 #line $LINENO "configure"
29380 /* confdefs.h. */
29381 _ACEOF
29382 cat confdefs.h >>conftest.$ac_ext
29383 cat >>conftest.$ac_ext <<_ACEOF
29384 /* end confdefs.h. */
29385 /* System header to define __stub macros and hopefully few prototypes,
29386 which can conflict with char $ac_func (); below.
29387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29388 <limits.h> exists even on freestanding compilers. */
29389 #ifdef __STDC__
29390 # include <limits.h>
29391 #else
29392 # include <assert.h>
29393 #endif
29394 /* Override any gcc2 internal prototype to avoid an error. */
29395 #ifdef __cplusplus
29396 extern "C"
29397 {
29398 #endif
29399 /* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29401 char $ac_func ();
29402 /* The GNU C library defines this for functions which it implements
29403 to always fail with ENOSYS. Some functions are actually named
29404 something starting with __ and the normal name is an alias. */
29405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29406 choke me
29407 #else
29408 char (*f) () = $ac_func;
29409 #endif
29410 #ifdef __cplusplus
29411 }
29412 #endif
29413
29414 int
29415 main ()
29416 {
29417 return f != $ac_func;
29418 ;
29419 return 0;
29420 }
29421 _ACEOF
29422 rm -f conftest.$ac_objext conftest$ac_exeext
29423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29424 (eval $ac_link) 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try='test -s conftest$ac_exeext'
29429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29430 (eval $ac_try) 2>&5
29431 ac_status=$?
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); }; }; then
29434 eval "$as_ac_var=yes"
29435 else
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.$ac_ext >&5
29438
29439 eval "$as_ac_var=no"
29440 fi
29441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29442 fi
29443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29445 if test `eval echo '${'$as_ac_var'}'` = yes; then
29446 cat >>confdefs.h <<_ACEOF
29447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29448 _ACEOF
29449
29450 fi
29451 done
29452
29453
29454
29455 for ac_header in sched.h
29456 do
29457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29459 echo "$as_me:$LINENO: checking for $ac_header" >&5
29460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29462 echo $ECHO_N "(cached) $ECHO_C" >&6
29463 fi
29464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29466 else
29467 # Is the header compilable?
29468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29470 cat >conftest.$ac_ext <<_ACEOF
29471 #line $LINENO "configure"
29472 /* confdefs.h. */
29473 _ACEOF
29474 cat confdefs.h >>conftest.$ac_ext
29475 cat >>conftest.$ac_ext <<_ACEOF
29476 /* end confdefs.h. */
29477 $ac_includes_default
29478 #include <$ac_header>
29479 _ACEOF
29480 rm -f conftest.$ac_objext
29481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29482 (eval $ac_compile) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); } &&
29486 { ac_try='test -s conftest.$ac_objext'
29487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29488 (eval $ac_try) 2>&5
29489 ac_status=$?
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); }; }; then
29492 ac_header_compiler=yes
29493 else
29494 echo "$as_me: failed program was:" >&5
29495 sed 's/^/| /' conftest.$ac_ext >&5
29496
29497 ac_header_compiler=no
29498 fi
29499 rm -f conftest.$ac_objext conftest.$ac_ext
29500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29501 echo "${ECHO_T}$ac_header_compiler" >&6
29502
29503 # Is the header present?
29504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29506 cat >conftest.$ac_ext <<_ACEOF
29507 #line $LINENO "configure"
29508 /* confdefs.h. */
29509 _ACEOF
29510 cat confdefs.h >>conftest.$ac_ext
29511 cat >>conftest.$ac_ext <<_ACEOF
29512 /* end confdefs.h. */
29513 #include <$ac_header>
29514 _ACEOF
29515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29517 ac_status=$?
29518 grep -v '^ *+' conftest.er1 >conftest.err
29519 rm -f conftest.er1
29520 cat conftest.err >&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } >/dev/null; then
29523 if test -s conftest.err; then
29524 ac_cpp_err=$ac_c_preproc_warn_flag
29525 else
29526 ac_cpp_err=
29527 fi
29528 else
29529 ac_cpp_err=yes
29530 fi
29531 if test -z "$ac_cpp_err"; then
29532 ac_header_preproc=yes
29533 else
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 ac_header_preproc=no
29538 fi
29539 rm -f conftest.err conftest.$ac_ext
29540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29541 echo "${ECHO_T}$ac_header_preproc" >&6
29542
29543 # So? What about this header?
29544 case $ac_header_compiler:$ac_header_preproc in
29545 yes:no )
29546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29550 (
29551 cat <<\_ASBOX
29552 ## ------------------------------------ ##
29553 ## Report this to bug-autoconf@gnu.org. ##
29554 ## ------------------------------------ ##
29555 _ASBOX
29556 ) |
29557 sed "s/^/$as_me: WARNING: /" >&2
29558 ;;
29559 no:yes )
29560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29566 (
29567 cat <<\_ASBOX
29568 ## ------------------------------------ ##
29569 ## Report this to bug-autoconf@gnu.org. ##
29570 ## ------------------------------------ ##
29571 _ASBOX
29572 ) |
29573 sed "s/^/$as_me: WARNING: /" >&2
29574 ;;
29575 esac
29576 echo "$as_me:$LINENO: checking for $ac_header" >&5
29577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29580 else
29581 eval "$as_ac_Header=$ac_header_preproc"
29582 fi
29583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29585
29586 fi
29587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29588 cat >>confdefs.h <<_ACEOF
29589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29590 _ACEOF
29591
29592 fi
29593
29594 done
29595
29596 if test "$ac_cv_header_sched_h" = "yes"; then
29597 echo "$as_me:$LINENO: checking for sched_yield" >&5
29598 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29599 if test "${ac_cv_func_sched_yield+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 else
29602 cat >conftest.$ac_ext <<_ACEOF
29603 #line $LINENO "configure"
29604 /* confdefs.h. */
29605 _ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 cat >>conftest.$ac_ext <<_ACEOF
29608 /* end confdefs.h. */
29609 /* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char sched_yield (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29613 #ifdef __STDC__
29614 # include <limits.h>
29615 #else
29616 # include <assert.h>
29617 #endif
29618 /* Override any gcc2 internal prototype to avoid an error. */
29619 #ifdef __cplusplus
29620 extern "C"
29621 {
29622 #endif
29623 /* We use char because int might match the return type of a gcc2
29624 builtin and then its argument prototype would still apply. */
29625 char sched_yield ();
29626 /* The GNU C library defines this for functions which it implements
29627 to always fail with ENOSYS. Some functions are actually named
29628 something starting with __ and the normal name is an alias. */
29629 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29630 choke me
29631 #else
29632 char (*f) () = sched_yield;
29633 #endif
29634 #ifdef __cplusplus
29635 }
29636 #endif
29637
29638 int
29639 main ()
29640 {
29641 return f != sched_yield;
29642 ;
29643 return 0;
29644 }
29645 _ACEOF
29646 rm -f conftest.$ac_objext conftest$ac_exeext
29647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29648 (eval $ac_link) 2>&5
29649 ac_status=$?
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try='test -s conftest$ac_exeext'
29653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29654 (eval $ac_try) 2>&5
29655 ac_status=$?
29656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29657 (exit $ac_status); }; }; then
29658 ac_cv_func_sched_yield=yes
29659 else
29660 echo "$as_me: failed program was:" >&5
29661 sed 's/^/| /' conftest.$ac_ext >&5
29662
29663 ac_cv_func_sched_yield=no
29664 fi
29665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29666 fi
29667 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29668 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29669 if test $ac_cv_func_sched_yield = yes; then
29670 cat >>confdefs.h <<\_ACEOF
29671 #define HAVE_SCHED_YIELD 1
29672 _ACEOF
29673
29674 else
29675
29676 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29677 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29678 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29679 echo $ECHO_N "(cached) $ECHO_C" >&6
29680 else
29681 ac_check_lib_save_LIBS=$LIBS
29682 LIBS="-lposix4 $LIBS"
29683 cat >conftest.$ac_ext <<_ACEOF
29684 #line $LINENO "configure"
29685 /* confdefs.h. */
29686 _ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29690
29691 /* Override any gcc2 internal prototype to avoid an error. */
29692 #ifdef __cplusplus
29693 extern "C"
29694 #endif
29695 /* We use char because int might match the return type of a gcc2
29696 builtin and then its argument prototype would still apply. */
29697 char sched_yield ();
29698 int
29699 main ()
29700 {
29701 sched_yield ();
29702 ;
29703 return 0;
29704 }
29705 _ACEOF
29706 rm -f conftest.$ac_objext conftest$ac_exeext
29707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29708 (eval $ac_link) 2>&5
29709 ac_status=$?
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } &&
29712 { ac_try='test -s conftest$ac_exeext'
29713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29714 (eval $ac_try) 2>&5
29715 ac_status=$?
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); }; }; then
29718 ac_cv_lib_posix4_sched_yield=yes
29719 else
29720 echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.$ac_ext >&5
29722
29723 ac_cv_lib_posix4_sched_yield=no
29724 fi
29725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29726 LIBS=$ac_check_lib_save_LIBS
29727 fi
29728 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29729 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29730 if test $ac_cv_lib_posix4_sched_yield = yes; then
29731 cat >>confdefs.h <<\_ACEOF
29732 #define HAVE_SCHED_YIELD 1
29733 _ACEOF
29734 POSIX4_LINK=" -lposix4"
29735 else
29736 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29737 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29738
29739 fi
29740
29741
29742
29743 fi
29744
29745 fi
29746
29747 HAVE_PRIOR_FUNCS=0
29748 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29749 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29750 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29752 else
29753 cat >conftest.$ac_ext <<_ACEOF
29754 #line $LINENO "configure"
29755 /* confdefs.h. */
29756 _ACEOF
29757 cat confdefs.h >>conftest.$ac_ext
29758 cat >>conftest.$ac_ext <<_ACEOF
29759 /* end confdefs.h. */
29760 /* System header to define __stub macros and hopefully few prototypes,
29761 which can conflict with char pthread_attr_getschedpolicy (); below.
29762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29763 <limits.h> exists even on freestanding compilers. */
29764 #ifdef __STDC__
29765 # include <limits.h>
29766 #else
29767 # include <assert.h>
29768 #endif
29769 /* Override any gcc2 internal prototype to avoid an error. */
29770 #ifdef __cplusplus
29771 extern "C"
29772 {
29773 #endif
29774 /* We use char because int might match the return type of a gcc2
29775 builtin and then its argument prototype would still apply. */
29776 char pthread_attr_getschedpolicy ();
29777 /* The GNU C library defines this for functions which it implements
29778 to always fail with ENOSYS. Some functions are actually named
29779 something starting with __ and the normal name is an alias. */
29780 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29781 choke me
29782 #else
29783 char (*f) () = pthread_attr_getschedpolicy;
29784 #endif
29785 #ifdef __cplusplus
29786 }
29787 #endif
29788
29789 int
29790 main ()
29791 {
29792 return f != pthread_attr_getschedpolicy;
29793 ;
29794 return 0;
29795 }
29796 _ACEOF
29797 rm -f conftest.$ac_objext conftest$ac_exeext
29798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29799 (eval $ac_link) 2>&5
29800 ac_status=$?
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try='test -s conftest$ac_exeext'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29806 ac_status=$?
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; }; then
29809 ac_cv_func_pthread_attr_getschedpolicy=yes
29810 else
29811 echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.$ac_ext >&5
29813
29814 ac_cv_func_pthread_attr_getschedpolicy=no
29815 fi
29816 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29817 fi
29818 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29819 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29820 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29821 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29822 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29823 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29824 echo $ECHO_N "(cached) $ECHO_C" >&6
29825 else
29826 cat >conftest.$ac_ext <<_ACEOF
29827 #line $LINENO "configure"
29828 /* confdefs.h. */
29829 _ACEOF
29830 cat confdefs.h >>conftest.$ac_ext
29831 cat >>conftest.$ac_ext <<_ACEOF
29832 /* end confdefs.h. */
29833 /* System header to define __stub macros and hopefully few prototypes,
29834 which can conflict with char pthread_attr_setschedparam (); below.
29835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29836 <limits.h> exists even on freestanding compilers. */
29837 #ifdef __STDC__
29838 # include <limits.h>
29839 #else
29840 # include <assert.h>
29841 #endif
29842 /* Override any gcc2 internal prototype to avoid an error. */
29843 #ifdef __cplusplus
29844 extern "C"
29845 {
29846 #endif
29847 /* We use char because int might match the return type of a gcc2
29848 builtin and then its argument prototype would still apply. */
29849 char pthread_attr_setschedparam ();
29850 /* The GNU C library defines this for functions which it implements
29851 to always fail with ENOSYS. Some functions are actually named
29852 something starting with __ and the normal name is an alias. */
29853 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29854 choke me
29855 #else
29856 char (*f) () = pthread_attr_setschedparam;
29857 #endif
29858 #ifdef __cplusplus
29859 }
29860 #endif
29861
29862 int
29863 main ()
29864 {
29865 return f != pthread_attr_setschedparam;
29866 ;
29867 return 0;
29868 }
29869 _ACEOF
29870 rm -f conftest.$ac_objext conftest$ac_exeext
29871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>&5
29873 ac_status=$?
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } &&
29876 { ac_try='test -s conftest$ac_exeext'
29877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29878 (eval $ac_try) 2>&5
29879 ac_status=$?
29880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29881 (exit $ac_status); }; }; then
29882 ac_cv_func_pthread_attr_setschedparam=yes
29883 else
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.$ac_ext >&5
29886
29887 ac_cv_func_pthread_attr_setschedparam=no
29888 fi
29889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29890 fi
29891 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29892 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29893 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29894 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29895 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29896 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29897 echo $ECHO_N "(cached) $ECHO_C" >&6
29898 else
29899 cat >conftest.$ac_ext <<_ACEOF
29900 #line $LINENO "configure"
29901 /* confdefs.h. */
29902 _ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906 /* System header to define __stub macros and hopefully few prototypes,
29907 which can conflict with char sched_get_priority_max (); below.
29908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29909 <limits.h> exists even on freestanding compilers. */
29910 #ifdef __STDC__
29911 # include <limits.h>
29912 #else
29913 # include <assert.h>
29914 #endif
29915 /* Override any gcc2 internal prototype to avoid an error. */
29916 #ifdef __cplusplus
29917 extern "C"
29918 {
29919 #endif
29920 /* We use char because int might match the return type of a gcc2
29921 builtin and then its argument prototype would still apply. */
29922 char sched_get_priority_max ();
29923 /* The GNU C library defines this for functions which it implements
29924 to always fail with ENOSYS. Some functions are actually named
29925 something starting with __ and the normal name is an alias. */
29926 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29927 choke me
29928 #else
29929 char (*f) () = sched_get_priority_max;
29930 #endif
29931 #ifdef __cplusplus
29932 }
29933 #endif
29934
29935 int
29936 main ()
29937 {
29938 return f != sched_get_priority_max;
29939 ;
29940 return 0;
29941 }
29942 _ACEOF
29943 rm -f conftest.$ac_objext conftest$ac_exeext
29944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29945 (eval $ac_link) 2>&5
29946 ac_status=$?
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); } &&
29949 { ac_try='test -s conftest$ac_exeext'
29950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29951 (eval $ac_try) 2>&5
29952 ac_status=$?
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; }; then
29955 ac_cv_func_sched_get_priority_max=yes
29956 else
29957 echo "$as_me: failed program was:" >&5
29958 sed 's/^/| /' conftest.$ac_ext >&5
29959
29960 ac_cv_func_sched_get_priority_max=no
29961 fi
29962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29963 fi
29964 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29965 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29966 if test $ac_cv_func_sched_get_priority_max = yes; then
29967 HAVE_PRIOR_FUNCS=1
29968 else
29969 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29970 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29971 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29972 echo $ECHO_N "(cached) $ECHO_C" >&6
29973 else
29974 ac_check_lib_save_LIBS=$LIBS
29975 LIBS="-lposix4 $LIBS"
29976 cat >conftest.$ac_ext <<_ACEOF
29977 #line $LINENO "configure"
29978 /* confdefs.h. */
29979 _ACEOF
29980 cat confdefs.h >>conftest.$ac_ext
29981 cat >>conftest.$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29983
29984 /* Override any gcc2 internal prototype to avoid an error. */
29985 #ifdef __cplusplus
29986 extern "C"
29987 #endif
29988 /* We use char because int might match the return type of a gcc2
29989 builtin and then its argument prototype would still apply. */
29990 char sched_get_priority_max ();
29991 int
29992 main ()
29993 {
29994 sched_get_priority_max ();
29995 ;
29996 return 0;
29997 }
29998 _ACEOF
29999 rm -f conftest.$ac_objext conftest$ac_exeext
30000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30001 (eval $ac_link) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try='test -s conftest$ac_exeext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30011 ac_cv_lib_posix4_sched_get_priority_max=yes
30012 else
30013 echo "$as_me: failed program was:" >&5
30014 sed 's/^/| /' conftest.$ac_ext >&5
30015
30016 ac_cv_lib_posix4_sched_get_priority_max=no
30017 fi
30018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30019 LIBS=$ac_check_lib_save_LIBS
30020 fi
30021 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30022 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30023 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30024
30025 HAVE_PRIOR_FUNCS=1
30026 POSIX4_LINK=" -lposix4"
30027
30028 fi
30029
30030
30031 fi
30032
30033
30034 fi
30035
30036
30037 fi
30038
30039
30040 if test "$HAVE_PRIOR_FUNCS" = 1; then
30041 cat >>confdefs.h <<\_ACEOF
30042 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30043 _ACEOF
30044
30045 else
30046 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30047 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30048 fi
30049
30050 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30051 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30052 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30053 echo $ECHO_N "(cached) $ECHO_C" >&6
30054 else
30055 cat >conftest.$ac_ext <<_ACEOF
30056 #line $LINENO "configure"
30057 /* confdefs.h. */
30058 _ACEOF
30059 cat confdefs.h >>conftest.$ac_ext
30060 cat >>conftest.$ac_ext <<_ACEOF
30061 /* end confdefs.h. */
30062 /* System header to define __stub macros and hopefully few prototypes,
30063 which can conflict with char pthread_cancel (); below.
30064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30065 <limits.h> exists even on freestanding compilers. */
30066 #ifdef __STDC__
30067 # include <limits.h>
30068 #else
30069 # include <assert.h>
30070 #endif
30071 /* Override any gcc2 internal prototype to avoid an error. */
30072 #ifdef __cplusplus
30073 extern "C"
30074 {
30075 #endif
30076 /* We use char because int might match the return type of a gcc2
30077 builtin and then its argument prototype would still apply. */
30078 char pthread_cancel ();
30079 /* The GNU C library defines this for functions which it implements
30080 to always fail with ENOSYS. Some functions are actually named
30081 something starting with __ and the normal name is an alias. */
30082 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30083 choke me
30084 #else
30085 char (*f) () = pthread_cancel;
30086 #endif
30087 #ifdef __cplusplus
30088 }
30089 #endif
30090
30091 int
30092 main ()
30093 {
30094 return f != pthread_cancel;
30095 ;
30096 return 0;
30097 }
30098 _ACEOF
30099 rm -f conftest.$ac_objext conftest$ac_exeext
30100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30101 (eval $ac_link) 2>&5
30102 ac_status=$?
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } &&
30105 { ac_try='test -s conftest$ac_exeext'
30106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30107 (eval $ac_try) 2>&5
30108 ac_status=$?
30109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30110 (exit $ac_status); }; }; then
30111 ac_cv_func_pthread_cancel=yes
30112 else
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.$ac_ext >&5
30115
30116 ac_cv_func_pthread_cancel=no
30117 fi
30118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30119 fi
30120 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30121 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30122 if test $ac_cv_func_pthread_cancel = yes; then
30123 cat >>confdefs.h <<\_ACEOF
30124 #define HAVE_PTHREAD_CANCEL 1
30125 _ACEOF
30126
30127 else
30128 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30129 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30130 fi
30131
30132
30133
30134
30135 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30136 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30137 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30139 else
30140
30141 cat >conftest.$ac_ext <<_ACEOF
30142 #line $LINENO "configure"
30143 /* confdefs.h. */
30144 _ACEOF
30145 cat confdefs.h >>conftest.$ac_ext
30146 cat >>conftest.$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148 #include <pthread.h>
30149 int
30150 main ()
30151 {
30152
30153 pthread_mutexattr_t attr;
30154 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30155
30156 ;
30157 return 0;
30158 }
30159 _ACEOF
30160 rm -f conftest.$ac_objext
30161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30162 (eval $ac_compile) 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } &&
30166 { ac_try='test -s conftest.$ac_objext'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; }; then
30172
30173 wx_cv_type_pthread_mutexattr_t=yes
30174
30175 else
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.$ac_ext >&5
30178
30179
30180 wx_cv_type_pthread_mutexattr_t=no
30181
30182
30183 fi
30184 rm -f conftest.$ac_objext conftest.$ac_ext
30185
30186 fi
30187 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30188 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30189
30190 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30191 cat >>confdefs.h <<\_ACEOF
30192 #define HAVE_PTHREAD_MUTEXATTR_T 1
30193 _ACEOF
30194
30195 else
30196 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30197 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30198 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30199 echo $ECHO_N "(cached) $ECHO_C" >&6
30200 else
30201
30202 cat >conftest.$ac_ext <<_ACEOF
30203 #line $LINENO "configure"
30204 /* confdefs.h. */
30205 _ACEOF
30206 cat confdefs.h >>conftest.$ac_ext
30207 cat >>conftest.$ac_ext <<_ACEOF
30208 /* end confdefs.h. */
30209 #include <pthread.h>
30210 int
30211 main ()
30212 {
30213
30214 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30215
30216 ;
30217 return 0;
30218 }
30219 _ACEOF
30220 rm -f conftest.$ac_objext
30221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30222 (eval $ac_compile) 2>&5
30223 ac_status=$?
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); } &&
30226 { ac_try='test -s conftest.$ac_objext'
30227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30228 (eval $ac_try) 2>&5
30229 ac_status=$?
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); }; }; then
30232
30233 wx_cv_type_pthread_rec_mutex_init=yes
30234
30235 else
30236 echo "$as_me: failed program was:" >&5
30237 sed 's/^/| /' conftest.$ac_ext >&5
30238
30239
30240 wx_cv_type_pthread_rec_mutex_init=no
30241
30242
30243 fi
30244 rm -f conftest.$ac_objext conftest.$ac_ext
30245
30246 fi
30247 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30248 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30249 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30250 cat >>confdefs.h <<\_ACEOF
30251 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30252 _ACEOF
30253
30254 else
30255 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30256 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30257 fi
30258 fi
30259 fi
30260
30261 else
30262 if test "$wxUSE_THREADS" = "yes" ; then
30263 case "${host}" in
30264 *-*-mingw32* )
30265 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30266 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30267 if test "${wx_cv_cflags_mthread+set}" = set; then
30268 echo $ECHO_N "(cached) $ECHO_C" >&6
30269 else
30270
30271 CFLAGS_OLD="$CFLAGS"
30272 CFLAGS="$CFLAGS -mthreads"
30273 cat >conftest.$ac_ext <<_ACEOF
30274 #line $LINENO "configure"
30275 /* confdefs.h. */
30276 _ACEOF
30277 cat confdefs.h >>conftest.$ac_ext
30278 cat >>conftest.$ac_ext <<_ACEOF
30279 /* end confdefs.h. */
30280
30281 int
30282 main ()
30283 {
30284
30285 ;
30286 return 0;
30287 }
30288 _ACEOF
30289 rm -f conftest.$ac_objext
30290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30291 (eval $ac_compile) 2>&5
30292 ac_status=$?
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); } &&
30295 { ac_try='test -s conftest.$ac_objext'
30296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30297 (eval $ac_try) 2>&5
30298 ac_status=$?
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); }; }; then
30301 wx_cv_cflags_mthread=yes
30302 else
30303 echo "$as_me: failed program was:" >&5
30304 sed 's/^/| /' conftest.$ac_ext >&5
30305
30306 wx_cv_cflags_mthread=no
30307
30308 fi
30309 rm -f conftest.$ac_objext conftest.$ac_ext
30310
30311
30312 fi
30313 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30314 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30315
30316 if test "$wx_cv_cflags_mthread" = "yes"; then
30317 CXXFLAGS="$CXXFLAGS -mthreads"
30318 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30319 LDFLAGS="$LDFLAGS -mthreads"
30320 else
30321 CFLAGS="$CFLAGS_OLD"
30322 fi
30323 ;;
30324 *-pc-os2*emx )
30325 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30326 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30327 LDFLAGS="$LDFLAGS -Zmt"
30328 ;;
30329 esac
30330 fi
30331 fi
30332
30333 if test "$wxUSE_THREADS" = "yes"; then
30334 cat >>confdefs.h <<\_ACEOF
30335 #define wxUSE_THREADS 1
30336 _ACEOF
30337
30338
30339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30340 else
30341 if test "$ac_cv_func_strtok_r" = "yes"; then
30342 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30343 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30344 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30345 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30346 echo "$as_me:$LINENO: result: yes" >&5
30347 echo "${ECHO_T}yes" >&6
30348 else
30349 echo "$as_me:$LINENO: result: no" >&5
30350 echo "${ECHO_T}no" >&6
30351 fi
30352 fi
30353 fi
30354
30355 if test "$WXGTK20" = 1 ; then
30356 cat >>confdefs.h <<_ACEOF
30357 #define __WXGTK20__ $WXGTK20
30358 _ACEOF
30359
30360 WXGTK12=1
30361 fi
30362
30363 if test "$WXGTK12" = 1 ; then
30364 cat >>confdefs.h <<_ACEOF
30365 #define __WXGTK12__ $WXGTK12
30366 _ACEOF
30367
30368 fi
30369
30370 if test "$WXGTK127" = 1 ; then
30371 cat >>confdefs.h <<_ACEOF
30372 #define __WXGTK127__ $WXGTK127
30373 _ACEOF
30374
30375 fi
30376
30377 WXDEBUG=
30378
30379 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30380 WXDEBUG="-g"
30381 wxUSE_OPTIMISE=no
30382 fi
30383
30384 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30385 wxUSE_DEBUG_INFO=yes
30386 WXDEBUG="-ggdb"
30387 fi
30388
30389 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30390 cat >>confdefs.h <<\_ACEOF
30391 #define WXDEBUG 1
30392 _ACEOF
30393
30394 WXDEBUG_DEFINE="-D__WXDEBUG__"
30395 else
30396 if test "$wxUSE_GTK" = 1 ; then
30397 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30398 fi
30399 fi
30400
30401 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30402 cat >>confdefs.h <<\_ACEOF
30403 #define wxUSE_MEMORY_TRACING 1
30404 _ACEOF
30405
30406 cat >>confdefs.h <<\_ACEOF
30407 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30408 _ACEOF
30409
30410 cat >>confdefs.h <<\_ACEOF
30411 #define wxUSE_DEBUG_NEW_ALWAYS 1
30412 _ACEOF
30413
30414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30415 fi
30416
30417 if test "$wxUSE_DMALLOC" = "yes" ; then
30418 DMALLOC_LIBS="-ldmalloc"
30419 fi
30420
30421 PROFILE=
30422 if test "$wxUSE_PROFILE" = "yes" ; then
30423 PROFILE=" -pg"
30424 fi
30425
30426 CODE_GEN_FLAGS=
30427 CODE_GEN_FLAGS_CXX=
30428 if test "$GCC" = "yes" ; then
30429 if test "$wxUSE_NO_RTTI" = "yes" ; then
30430 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30431 fi
30432 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30433 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30434 fi
30435 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30436 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30437 fi
30438
30439 case "${host}" in
30440 powerpc*-*-aix* )
30441 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30442 ;;
30443 *-hppa* )
30444 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30445 ;;
30446 esac
30447 fi
30448
30449 OPTIMISE=
30450 if test "$wxUSE_OPTIMISE" = "no" ; then
30451 if test "$GCC" = yes ; then
30452 OPTIMISE="-O0"
30453 fi
30454 else
30455 if test "$GCC" = yes ; then
30456 OPTIMISE="-O2"
30457
30458 case "${host}" in
30459 i586-*-*|i686-*-* )
30460 OPTIMISE="${OPTIMISE} "
30461 ;;
30462 esac
30463 else
30464 OPTIMISE="-O"
30465 fi
30466 fi
30467
30468
30469 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30470 cat >>confdefs.h <<\_ACEOF
30471 #define WXWIN_COMPATIBILITY_2_2 1
30472 _ACEOF
30473
30474
30475 WXWIN_COMPATIBILITY_2_4="yes"
30476 fi
30477
30478 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30479 cat >>confdefs.h <<\_ACEOF
30480 #define WXWIN_COMPATIBILITY_2_4 1
30481 _ACEOF
30482
30483 fi
30484
30485
30486 if test "$wxUSE_GUI" = "yes"; then
30487 cat >>confdefs.h <<\_ACEOF
30488 #define wxUSE_GUI 1
30489 _ACEOF
30490
30491
30492 else
30493 cat >>confdefs.h <<\_ACEOF
30494 #define wxUSE_NOGUI 1
30495 _ACEOF
30496
30497 fi
30498
30499
30500 if test "$wxUSE_UNIX" = "yes"; then
30501 cat >>confdefs.h <<\_ACEOF
30502 #define wxUSE_UNIX 1
30503 _ACEOF
30504
30505 fi
30506
30507
30508 if test "$wxUSE_STL" = "yes"; then
30509 cat >>confdefs.h <<\_ACEOF
30510 #define wxUSE_STL 1
30511 _ACEOF
30512
30513 fi
30514
30515 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30516 cat >>confdefs.h <<\_ACEOF
30517 #define wxUSE_APPLE_IEEE 1
30518 _ACEOF
30519
30520 fi
30521
30522 if test "$wxUSE_TIMER" = "yes"; then
30523 cat >>confdefs.h <<\_ACEOF
30524 #define wxUSE_TIMER 1
30525 _ACEOF
30526
30527 fi
30528
30529 if test "$wxUSE_WAVE" = "yes"; then
30530 cat >>confdefs.h <<\_ACEOF
30531 #define wxUSE_WAVE 1
30532 _ACEOF
30533
30534 fi
30535
30536 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30537 cat >>confdefs.h <<\_ACEOF
30538 #define wxUSE_CMDLINE_PARSER 1
30539 _ACEOF
30540
30541 fi
30542
30543 if test "$wxUSE_STOPWATCH" = "yes"; then
30544 cat >>confdefs.h <<\_ACEOF
30545 #define wxUSE_STOPWATCH 1
30546 _ACEOF
30547
30548 fi
30549
30550 if test "$wxUSE_DATETIME" = "yes"; then
30551 cat >>confdefs.h <<\_ACEOF
30552 #define wxUSE_DATETIME 1
30553 _ACEOF
30554
30555 fi
30556
30557 if test "$wxUSE_FILE" = "yes"; then
30558 cat >>confdefs.h <<\_ACEOF
30559 #define wxUSE_FILE 1
30560 _ACEOF
30561
30562 fi
30563
30564 if test "$wxUSE_FFILE" = "yes"; then
30565 cat >>confdefs.h <<\_ACEOF
30566 #define wxUSE_FFILE 1
30567 _ACEOF
30568
30569 fi
30570
30571 if test "$wxUSE_FILESYSTEM" = "yes"; then
30572 cat >>confdefs.h <<\_ACEOF
30573 #define wxUSE_FILESYSTEM 1
30574 _ACEOF
30575
30576 fi
30577
30578 if test "$wxUSE_FS_ZIP" = "yes"; then
30579 cat >>confdefs.h <<\_ACEOF
30580 #define wxUSE_FS_ZIP 1
30581 _ACEOF
30582
30583 fi
30584
30585 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30586 cat >>confdefs.h <<\_ACEOF
30587 #define wxUSE_ZIPSTREAM 1
30588 _ACEOF
30589
30590 fi
30591
30592 if test "$wxUSE_GZSTREAM" = "yes"; then
30593 cat >>confdefs.h <<\_ACEOF
30594 #define wxUSE_GZSTREAM 1
30595 _ACEOF
30596
30597 fi
30598
30599 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30600 cat >>confdefs.h <<\_ACEOF
30601 #define wxUSE_ON_FATAL_EXCEPTION 1
30602 _ACEOF
30603
30604 fi
30605
30606 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30607 cat >>confdefs.h <<\_ACEOF
30608 #define wxUSE_SNGLINST_CHECKER 1
30609 _ACEOF
30610
30611 fi
30612
30613 if test "$wxUSE_BUSYINFO" = "yes"; then
30614 cat >>confdefs.h <<\_ACEOF
30615 #define wxUSE_BUSYINFO 1
30616 _ACEOF
30617
30618 fi
30619
30620 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30621 cat >>confdefs.h <<\_ACEOF
30622 #define wxUSE_STD_IOSTREAM 1
30623 _ACEOF
30624
30625 fi
30626
30627 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30628 cat >>confdefs.h <<\_ACEOF
30629 #define wxUSE_TEXTBUFFER 1
30630 _ACEOF
30631
30632 fi
30633
30634 if test "$wxUSE_TEXTFILE" = "yes"; then
30635 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30636 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30637 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30638 else
30639 cat >>confdefs.h <<\_ACEOF
30640 #define wxUSE_TEXTFILE 1
30641 _ACEOF
30642
30643 fi
30644 fi
30645
30646 if test "$wxUSE_CONFIG" = "yes" ; then
30647 if test "$wxUSE_TEXTFILE" != "yes"; then
30648 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30649 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30650 else
30651 cat >>confdefs.h <<\_ACEOF
30652 #define wxUSE_CONFIG 1
30653 _ACEOF
30654
30655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30656 fi
30657 fi
30658
30659 if test "$wxUSE_INTL" = "yes" ; then
30660 if test "$wxUSE_FILE" != "yes"; then
30661 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30662 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30663 else
30664 cat >>confdefs.h <<\_ACEOF
30665 #define wxUSE_INTL 1
30666 _ACEOF
30667
30668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30669 GUIDIST="$GUIDIST INTL_DIST"
30670 fi
30671 fi
30672
30673 if test "$wxUSE_LOG" = "yes"; then
30674 cat >>confdefs.h <<\_ACEOF
30675 #define wxUSE_LOG 1
30676 _ACEOF
30677
30678
30679 if test "$wxUSE_LOGGUI" = "yes"; then
30680 cat >>confdefs.h <<\_ACEOF
30681 #define wxUSE_LOGGUI 1
30682 _ACEOF
30683
30684 fi
30685
30686 if test "$wxUSE_LOGWINDOW" = "yes"; then
30687 cat >>confdefs.h <<\_ACEOF
30688 #define wxUSE_LOGWINDOW 1
30689 _ACEOF
30690
30691 fi
30692
30693 if test "$wxUSE_LOGDIALOG" = "yes"; then
30694 cat >>confdefs.h <<\_ACEOF
30695 #define wxUSE_LOG_DIALOG 1
30696 _ACEOF
30697
30698 fi
30699 fi
30700
30701 if test "$wxUSE_LONGLONG" = "yes"; then
30702 cat >>confdefs.h <<\_ACEOF
30703 #define wxUSE_LONGLONG 1
30704 _ACEOF
30705
30706 fi
30707
30708 if test "$wxUSE_GEOMETRY" = "yes"; then
30709 cat >>confdefs.h <<\_ACEOF
30710 #define wxUSE_GEOMETRY 1
30711 _ACEOF
30712
30713 fi
30714
30715 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30716 cat >>confdefs.h <<\_ACEOF
30717 #define wxUSE_DIALUP_MANAGER 1
30718 _ACEOF
30719
30720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30721 fi
30722
30723 if test "$wxUSE_STREAMS" = "yes" ; then
30724 cat >>confdefs.h <<\_ACEOF
30725 #define wxUSE_STREAMS 1
30726 _ACEOF
30727
30728 fi
30729
30730
30731 if test "$wxUSE_DATETIME" = "yes"; then
30732
30733 for ac_func in strptime
30734 do
30735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30736 echo "$as_me:$LINENO: checking for $ac_func" >&5
30737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30738 if eval "test \"\${$as_ac_var+set}\" = set"; then
30739 echo $ECHO_N "(cached) $ECHO_C" >&6
30740 else
30741 cat >conftest.$ac_ext <<_ACEOF
30742 #line $LINENO "configure"
30743 /* confdefs.h. */
30744 _ACEOF
30745 cat confdefs.h >>conftest.$ac_ext
30746 cat >>conftest.$ac_ext <<_ACEOF
30747 /* end confdefs.h. */
30748 /* System header to define __stub macros and hopefully few prototypes,
30749 which can conflict with char $ac_func (); below.
30750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30751 <limits.h> exists even on freestanding compilers. */
30752 #ifdef __STDC__
30753 # include <limits.h>
30754 #else
30755 # include <assert.h>
30756 #endif
30757 /* Override any gcc2 internal prototype to avoid an error. */
30758 #ifdef __cplusplus
30759 extern "C"
30760 {
30761 #endif
30762 /* We use char because int might match the return type of a gcc2
30763 builtin and then its argument prototype would still apply. */
30764 char $ac_func ();
30765 /* The GNU C library defines this for functions which it implements
30766 to always fail with ENOSYS. Some functions are actually named
30767 something starting with __ and the normal name is an alias. */
30768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30769 choke me
30770 #else
30771 char (*f) () = $ac_func;
30772 #endif
30773 #ifdef __cplusplus
30774 }
30775 #endif
30776
30777 int
30778 main ()
30779 {
30780 return f != $ac_func;
30781 ;
30782 return 0;
30783 }
30784 _ACEOF
30785 rm -f conftest.$ac_objext conftest$ac_exeext
30786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30787 (eval $ac_link) 2>&5
30788 ac_status=$?
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try='test -s conftest$ac_exeext'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30797 eval "$as_ac_var=yes"
30798 else
30799 echo "$as_me: failed program was:" >&5
30800 sed 's/^/| /' conftest.$ac_ext >&5
30801
30802 eval "$as_ac_var=no"
30803 fi
30804 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30805 fi
30806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30808 if test `eval echo '${'$as_ac_var'}'` = yes; then
30809 cat >>confdefs.h <<_ACEOF
30810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30811 _ACEOF
30812
30813 fi
30814 done
30815
30816
30817 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30818 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30819 if test "${wx_cv_var_timezone+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 else
30822
30823 cat >conftest.$ac_ext <<_ACEOF
30824 #line $LINENO "configure"
30825 /* confdefs.h. */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30830
30831 #include <time.h>
30832
30833 int
30834 main ()
30835 {
30836
30837 int tz;
30838 tz = timezone;
30839
30840 ;
30841 return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>&5
30847 ac_status=$?
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try='test -s conftest.$ac_objext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30856
30857 wx_cv_var_timezone=timezone
30858
30859 else
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.$ac_ext >&5
30862
30863
30864 cat >conftest.$ac_ext <<_ACEOF
30865 #line $LINENO "configure"
30866 /* confdefs.h. */
30867 _ACEOF
30868 cat confdefs.h >>conftest.$ac_ext
30869 cat >>conftest.$ac_ext <<_ACEOF
30870 /* end confdefs.h. */
30871
30872 #include <time.h>
30873
30874 int
30875 main ()
30876 {
30877
30878 int tz;
30879 tz = _timezone;
30880
30881 ;
30882 return 0;
30883 }
30884 _ACEOF
30885 rm -f conftest.$ac_objext
30886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30887 (eval $ac_compile) 2>&5
30888 ac_status=$?
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } &&
30891 { ac_try='test -s conftest.$ac_objext'
30892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30893 (eval $ac_try) 2>&5
30894 ac_status=$?
30895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30896 (exit $ac_status); }; }; then
30897
30898 wx_cv_var_timezone=_timezone
30899
30900 else
30901 echo "$as_me: failed program was:" >&5
30902 sed 's/^/| /' conftest.$ac_ext >&5
30903
30904
30905 cat >conftest.$ac_ext <<_ACEOF
30906 #line $LINENO "configure"
30907 /* confdefs.h. */
30908 _ACEOF
30909 cat confdefs.h >>conftest.$ac_ext
30910 cat >>conftest.$ac_ext <<_ACEOF
30911 /* end confdefs.h. */
30912
30913 #include <time.h>
30914
30915 int
30916 main ()
30917 {
30918
30919 int tz;
30920 tz = __timezone;
30921
30922 ;
30923 return 0;
30924 }
30925 _ACEOF
30926 rm -f conftest.$ac_objext
30927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30928 (eval $ac_compile) 2>&5
30929 ac_status=$?
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try='test -s conftest.$ac_objext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30935 ac_status=$?
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938
30939 wx_cv_var_timezone=__timezone
30940
30941 else
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.$ac_ext >&5
30944
30945
30946 if test "$USE_DOS" = 0 ; then
30947 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30948 echo "$as_me: WARNING: no timezone variable" >&2;}
30949 fi
30950
30951
30952 fi
30953 rm -f conftest.$ac_objext conftest.$ac_ext
30954
30955
30956 fi
30957 rm -f conftest.$ac_objext conftest.$ac_ext
30958
30959
30960 fi
30961 rm -f conftest.$ac_objext conftest.$ac_ext
30962
30963
30964 fi
30965 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30966 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30967
30968 if test "x$wx_cv_var_timezone" != x ; then
30969 cat >>confdefs.h <<_ACEOF
30970 #define WX_TIMEZONE $wx_cv_var_timezone
30971 _ACEOF
30972
30973 fi
30974
30975
30976 for ac_func in localtime
30977 do
30978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30979 echo "$as_me:$LINENO: checking for $ac_func" >&5
30980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30981 if eval "test \"\${$as_ac_var+set}\" = set"; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 else
30984 cat >conftest.$ac_ext <<_ACEOF
30985 #line $LINENO "configure"
30986 /* confdefs.h. */
30987 _ACEOF
30988 cat confdefs.h >>conftest.$ac_ext
30989 cat >>conftest.$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30991 /* System header to define __stub macros and hopefully few prototypes,
30992 which can conflict with char $ac_func (); below.
30993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30994 <limits.h> exists even on freestanding compilers. */
30995 #ifdef __STDC__
30996 # include <limits.h>
30997 #else
30998 # include <assert.h>
30999 #endif
31000 /* Override any gcc2 internal prototype to avoid an error. */
31001 #ifdef __cplusplus
31002 extern "C"
31003 {
31004 #endif
31005 /* We use char because int might match the return type of a gcc2
31006 builtin and then its argument prototype would still apply. */
31007 char $ac_func ();
31008 /* The GNU C library defines this for functions which it implements
31009 to always fail with ENOSYS. Some functions are actually named
31010 something starting with __ and the normal name is an alias. */
31011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31012 choke me
31013 #else
31014 char (*f) () = $ac_func;
31015 #endif
31016 #ifdef __cplusplus
31017 }
31018 #endif
31019
31020 int
31021 main ()
31022 {
31023 return f != $ac_func;
31024 ;
31025 return 0;
31026 }
31027 _ACEOF
31028 rm -f conftest.$ac_objext conftest$ac_exeext
31029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31030 (eval $ac_link) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); } &&
31034 { ac_try='test -s conftest$ac_exeext'
31035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036 (eval $ac_try) 2>&5
31037 ac_status=$?
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); }; }; then
31040 eval "$as_ac_var=yes"
31041 else
31042 echo "$as_me: failed program was:" >&5
31043 sed 's/^/| /' conftest.$ac_ext >&5
31044
31045 eval "$as_ac_var=no"
31046 fi
31047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31048 fi
31049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31051 if test `eval echo '${'$as_ac_var'}'` = yes; then
31052 cat >>confdefs.h <<_ACEOF
31053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31054 _ACEOF
31055
31056 fi
31057 done
31058
31059
31060 if test "$ac_cv_func_localtime" = "yes"; then
31061 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31062 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31063 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31065 else
31066
31067 cat >conftest.$ac_ext <<_ACEOF
31068 #line $LINENO "configure"
31069 /* confdefs.h. */
31070 _ACEOF
31071 cat confdefs.h >>conftest.$ac_ext
31072 cat >>conftest.$ac_ext <<_ACEOF
31073 /* end confdefs.h. */
31074
31075 #include <time.h>
31076
31077 int
31078 main ()
31079 {
31080
31081 struct tm tm;
31082 tm.tm_gmtoff++;
31083
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext
31089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31090 (eval $ac_compile) 2>&5
31091 ac_status=$?
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); } &&
31094 { ac_try='test -s conftest.$ac_objext'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31097 ac_status=$?
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; }; then
31100
31101 wx_cv_struct_tm_has_gmtoff=yes
31102
31103 else
31104 echo "$as_me: failed program was:" >&5
31105 sed 's/^/| /' conftest.$ac_ext >&5
31106
31107 wx_cv_struct_tm_has_gmtoff=no
31108
31109 fi
31110 rm -f conftest.$ac_objext conftest.$ac_ext
31111
31112 fi
31113 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31114 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31115 fi
31116
31117 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31118 cat >>confdefs.h <<\_ACEOF
31119 #define WX_GMTOFF_IN_TM 1
31120 _ACEOF
31121
31122 fi
31123
31124
31125
31126 for ac_func in gettimeofday ftime
31127 do
31128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31129 echo "$as_me:$LINENO: checking for $ac_func" >&5
31130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31131 if eval "test \"\${$as_ac_var+set}\" = set"; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 else
31134 cat >conftest.$ac_ext <<_ACEOF
31135 #line $LINENO "configure"
31136 /* confdefs.h. */
31137 _ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* System header to define __stub macros and hopefully few prototypes,
31142 which can conflict with char $ac_func (); below.
31143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31144 <limits.h> exists even on freestanding compilers. */
31145 #ifdef __STDC__
31146 # include <limits.h>
31147 #else
31148 # include <assert.h>
31149 #endif
31150 /* Override any gcc2 internal prototype to avoid an error. */
31151 #ifdef __cplusplus
31152 extern "C"
31153 {
31154 #endif
31155 /* We use char because int might match the return type of a gcc2
31156 builtin and then its argument prototype would still apply. */
31157 char $ac_func ();
31158 /* The GNU C library defines this for functions which it implements
31159 to always fail with ENOSYS. Some functions are actually named
31160 something starting with __ and the normal name is an alias. */
31161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31162 choke me
31163 #else
31164 char (*f) () = $ac_func;
31165 #endif
31166 #ifdef __cplusplus
31167 }
31168 #endif
31169
31170 int
31171 main ()
31172 {
31173 return f != $ac_func;
31174 ;
31175 return 0;
31176 }
31177 _ACEOF
31178 rm -f conftest.$ac_objext conftest$ac_exeext
31179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31180 (eval $ac_link) 2>&5
31181 ac_status=$?
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try='test -s conftest$ac_exeext'
31185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31186 (eval $ac_try) 2>&5
31187 ac_status=$?
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); }; }; then
31190 eval "$as_ac_var=yes"
31191 else
31192 echo "$as_me: failed program was:" >&5
31193 sed 's/^/| /' conftest.$ac_ext >&5
31194
31195 eval "$as_ac_var=no"
31196 fi
31197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31198 fi
31199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31201 if test `eval echo '${'$as_ac_var'}'` = yes; then
31202 cat >>confdefs.h <<_ACEOF
31203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31204 _ACEOF
31205 break
31206 fi
31207 done
31208
31209
31210 if test "$ac_cv_func_gettimeofday" = "yes"; then
31211 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31212 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31213 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31215 else
31216
31217
31218
31219 ac_ext=cc
31220 ac_cpp='$CXXCPP $CPPFLAGS'
31221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31224
31225
31226 cat >conftest.$ac_ext <<_ACEOF
31227 #line $LINENO "configure"
31228 /* confdefs.h. */
31229 _ACEOF
31230 cat confdefs.h >>conftest.$ac_ext
31231 cat >>conftest.$ac_ext <<_ACEOF
31232 /* end confdefs.h. */
31233
31234 #include <sys/time.h>
31235 #include <unistd.h>
31236
31237 int
31238 main ()
31239 {
31240
31241 struct timeval tv;
31242 gettimeofday(&tv, NULL);
31243
31244 ;
31245 return 0;
31246 }
31247 _ACEOF
31248 rm -f conftest.$ac_objext
31249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31250 (eval $ac_compile) 2>&5
31251 ac_status=$?
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); } &&
31254 { ac_try='test -s conftest.$ac_objext'
31255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256 (eval $ac_try) 2>&5
31257 ac_status=$?
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); }; }; then
31260 wx_cv_func_gettimeofday_has_2_args=yes
31261 else
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31264
31265 cat >conftest.$ac_ext <<_ACEOF
31266 #line $LINENO "configure"
31267 /* confdefs.h. */
31268 _ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31272
31273 #include <sys/time.h>
31274 #include <unistd.h>
31275
31276 int
31277 main ()
31278 {
31279
31280 struct timeval tv;
31281 gettimeofday(&tv);
31282
31283 ;
31284 return 0;
31285 }
31286 _ACEOF
31287 rm -f conftest.$ac_objext
31288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31289 (eval $ac_compile) 2>&5
31290 ac_status=$?
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); } &&
31293 { ac_try='test -s conftest.$ac_objext'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31296 ac_status=$?
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; }; then
31299 wx_cv_func_gettimeofday_has_2_args=no
31300 else
31301 echo "$as_me: failed program was:" >&5
31302 sed 's/^/| /' conftest.$ac_ext >&5
31303
31304
31305 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31306 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31307 wx_cv_func_gettimeofday_has_2_args=unknown
31308
31309
31310 fi
31311 rm -f conftest.$ac_objext conftest.$ac_ext
31312
31313 fi
31314 rm -f conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31320
31321
31322 fi
31323 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31324 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31325
31326 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31327 cat >>confdefs.h <<\_ACEOF
31328 #define WX_GETTIMEOFDAY_NO_TZ 1
31329 _ACEOF
31330
31331 fi
31332 fi
31333
31334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31335 fi
31336
31337
31338 if test "$wxUSE_SOCKETS" = "yes"; then
31339 if test "$wxUSE_MGL" = "1"; then
31340 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31341 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31342 wxUSE_SOCKETS="no"
31343 fi
31344 if test "$wxUSE_COCOA" = "1"; then
31345 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31346 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31347 wxUSE_SOCKETS="no"
31348 fi
31349 fi
31350
31351 if test "$wxUSE_SOCKETS" = "yes"; then
31352 if test "$TOOLKIT" != "MSW"; then
31353 echo "$as_me:$LINENO: checking for socket" >&5
31354 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31355 if test "${ac_cv_func_socket+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 else
31358 cat >conftest.$ac_ext <<_ACEOF
31359 #line $LINENO "configure"
31360 /* confdefs.h. */
31361 _ACEOF
31362 cat confdefs.h >>conftest.$ac_ext
31363 cat >>conftest.$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365 /* System header to define __stub macros and hopefully few prototypes,
31366 which can conflict with char socket (); below.
31367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31368 <limits.h> exists even on freestanding compilers. */
31369 #ifdef __STDC__
31370 # include <limits.h>
31371 #else
31372 # include <assert.h>
31373 #endif
31374 /* Override any gcc2 internal prototype to avoid an error. */
31375 #ifdef __cplusplus
31376 extern "C"
31377 {
31378 #endif
31379 /* We use char because int might match the return type of a gcc2
31380 builtin and then its argument prototype would still apply. */
31381 char socket ();
31382 /* The GNU C library defines this for functions which it implements
31383 to always fail with ENOSYS. Some functions are actually named
31384 something starting with __ and the normal name is an alias. */
31385 #if defined (__stub_socket) || defined (__stub___socket)
31386 choke me
31387 #else
31388 char (*f) () = socket;
31389 #endif
31390 #ifdef __cplusplus
31391 }
31392 #endif
31393
31394 int
31395 main ()
31396 {
31397 return f != socket;
31398 ;
31399 return 0;
31400 }
31401 _ACEOF
31402 rm -f conftest.$ac_objext conftest$ac_exeext
31403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31404 (eval $ac_link) 2>&5
31405 ac_status=$?
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); } &&
31408 { ac_try='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31411 ac_status=$?
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_cv_func_socket=yes
31415 else
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.$ac_ext >&5
31418
31419 ac_cv_func_socket=no
31420 fi
31421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31422 fi
31423 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31424 echo "${ECHO_T}$ac_cv_func_socket" >&6
31425 if test $ac_cv_func_socket = yes; then
31426 :
31427 else
31428
31429 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31430 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31431 if test "${ac_cv_lib_socket_socket+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31433 else
31434 ac_check_lib_save_LIBS=$LIBS
31435 LIBS="-lsocket $LIBS"
31436 cat >conftest.$ac_ext <<_ACEOF
31437 #line $LINENO "configure"
31438 /* confdefs.h. */
31439 _ACEOF
31440 cat confdefs.h >>conftest.$ac_ext
31441 cat >>conftest.$ac_ext <<_ACEOF
31442 /* end confdefs.h. */
31443
31444 /* Override any gcc2 internal prototype to avoid an error. */
31445 #ifdef __cplusplus
31446 extern "C"
31447 #endif
31448 /* We use char because int might match the return type of a gcc2
31449 builtin and then its argument prototype would still apply. */
31450 char socket ();
31451 int
31452 main ()
31453 {
31454 socket ();
31455 ;
31456 return 0;
31457 }
31458 _ACEOF
31459 rm -f conftest.$ac_objext conftest$ac_exeext
31460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31461 (eval $ac_link) 2>&5
31462 ac_status=$?
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); } &&
31465 { ac_try='test -s conftest$ac_exeext'
31466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31467 (eval $ac_try) 2>&5
31468 ac_status=$?
31469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31470 (exit $ac_status); }; }; then
31471 ac_cv_lib_socket_socket=yes
31472 else
31473 echo "$as_me: failed program was:" >&5
31474 sed 's/^/| /' conftest.$ac_ext >&5
31475
31476 ac_cv_lib_socket_socket=no
31477 fi
31478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31479 LIBS=$ac_check_lib_save_LIBS
31480 fi
31481 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31482 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31483 if test $ac_cv_lib_socket_socket = yes; then
31484 if test "$INET_LINK" != " -lsocket"; then
31485 INET_LINK="$INET_LINK -lsocket"
31486 fi
31487 else
31488
31489 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31490 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31491 wxUSE_SOCKETS=no
31492
31493
31494 fi
31495
31496
31497
31498 fi
31499
31500 fi
31501 fi
31502
31503 if test "$wxUSE_SOCKETS" = "yes" ; then
31504 if test "$TOOLKIT" != "MSW"; then
31505 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31506 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31507 if test "${wx_cv_type_getsockname3+set}" = set; then
31508 echo $ECHO_N "(cached) $ECHO_C" >&6
31509 else
31510
31511 cat >conftest.$ac_ext <<_ACEOF
31512 #line $LINENO "configure"
31513 /* confdefs.h. */
31514 _ACEOF
31515 cat confdefs.h >>conftest.$ac_ext
31516 cat >>conftest.$ac_ext <<_ACEOF
31517 /* end confdefs.h. */
31518
31519 #include <sys/types.h>
31520 #include <sys/socket.h>
31521
31522 int
31523 main ()
31524 {
31525
31526 socklen_t len;
31527 getsockname(0, 0, &len);
31528
31529 ;
31530 return 0;
31531 }
31532 _ACEOF
31533 rm -f conftest.$ac_objext
31534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31535 (eval $ac_compile) 2>&5
31536 ac_status=$?
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } &&
31539 { ac_try='test -s conftest.$ac_objext'
31540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31541 (eval $ac_try) 2>&5
31542 ac_status=$?
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); }; }; then
31545 wx_cv_type_getsockname3=socklen_t
31546 else
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.$ac_ext >&5
31549
31550
31551 CFLAGS_OLD="$CFLAGS"
31552 if test "$GCC" = yes ; then
31553 CFLAGS="$CFLAGS -Werror"
31554 fi
31555
31556 cat >conftest.$ac_ext <<_ACEOF
31557 #line $LINENO "configure"
31558 /* confdefs.h. */
31559 _ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31563
31564 #include <sys/types.h>
31565 #include <sys/socket.h>
31566
31567 int
31568 main ()
31569 {
31570
31571 size_t len;
31572 getsockname(0, 0, &len);
31573
31574 ;
31575 return 0;
31576 }
31577 _ACEOF
31578 rm -f conftest.$ac_objext
31579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31580 (eval $ac_compile) 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); } &&
31584 { ac_try='test -s conftest.$ac_objext'
31585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31586 (eval $ac_try) 2>&5
31587 ac_status=$?
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); }; }; then
31590 wx_cv_type_getsockname3=size_t
31591 else
31592 echo "$as_me: failed program was:" >&5
31593 sed 's/^/| /' conftest.$ac_ext >&5
31594
31595 cat >conftest.$ac_ext <<_ACEOF
31596 #line $LINENO "configure"
31597 /* confdefs.h. */
31598 _ACEOF
31599 cat confdefs.h >>conftest.$ac_ext
31600 cat >>conftest.$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31602
31603 #include <sys/types.h>
31604 #include <sys/socket.h>
31605
31606 int
31607 main ()
31608 {
31609
31610 int len;
31611 getsockname(0, 0, &len);
31612
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 rm -f conftest.$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); } &&
31623 { ac_try='test -s conftest.$ac_objext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31626 ac_status=$?
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629 wx_cv_type_getsockname3=int
31630 else
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.$ac_ext >&5
31633
31634 wx_cv_type_getsockname3=unknown
31635
31636 fi
31637 rm -f conftest.$ac_objext conftest.$ac_ext
31638
31639 fi
31640 rm -f conftest.$ac_objext conftest.$ac_ext
31641
31642 CFLAGS="$CFLAGS_OLD"
31643
31644
31645 fi
31646 rm -f conftest.$ac_objext conftest.$ac_ext
31647
31648 fi
31649 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31650 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31651
31652 if test "$wx_cv_type_getsockname3" = "unknown"; then
31653 wxUSE_SOCKETS=no
31654 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31655 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31656 else
31657 cat >>confdefs.h <<_ACEOF
31658 #define SOCKLEN_T $wx_cv_type_getsockname3
31659 _ACEOF
31660
31661 fi
31662 fi
31663 fi
31664
31665 if test "$wxUSE_SOCKETS" = "yes" ; then
31666 cat >>confdefs.h <<\_ACEOF
31667 #define wxUSE_SOCKETS 1
31668 _ACEOF
31669
31670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31671 fi
31672
31673 if test "$wxUSE_PROTOCOL" = "yes"; then
31674 if test "$wxUSE_SOCKETS" != "yes"; then
31675 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31676 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31677 wxUSE_PROTOCOL=no
31678 fi
31679 fi
31680
31681 if test "$wxUSE_PROTOCOL" = "yes"; then
31682 cat >>confdefs.h <<\_ACEOF
31683 #define wxUSE_PROTOCOL 1
31684 _ACEOF
31685
31686
31687 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31688 cat >>confdefs.h <<\_ACEOF
31689 #define wxUSE_PROTOCOL_HTTP 1
31690 _ACEOF
31691
31692 fi
31693 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31694 cat >>confdefs.h <<\_ACEOF
31695 #define wxUSE_PROTOCOL_FTP 1
31696 _ACEOF
31697
31698 fi
31699 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31700 cat >>confdefs.h <<\_ACEOF
31701 #define wxUSE_PROTOCOL_FILE 1
31702 _ACEOF
31703
31704 fi
31705 else
31706 if test "$wxUSE_FS_INET" = "yes"; then
31707 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31708 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31709 wxUSE_FS_INET="no"
31710 fi
31711 fi
31712
31713 if test "$wxUSE_URL" = "yes"; then
31714 if test "$wxUSE_PROTOCOL" != "yes"; then
31715 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31716 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31717 wxUSE_URL=no
31718 fi
31719 if test "$wxUSE_URL" = "yes"; then
31720 cat >>confdefs.h <<\_ACEOF
31721 #define wxUSE_URL 1
31722 _ACEOF
31723
31724 fi
31725 fi
31726
31727 if test "$wxUSE_FS_INET" = "yes"; then
31728 cat >>confdefs.h <<\_ACEOF
31729 #define wxUSE_FS_INET 1
31730 _ACEOF
31731
31732 fi
31733
31734
31735 if test "$wxUSE_GUI" = "yes"; then
31736
31737 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31738 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31739 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31740 wxUSE_JOYSTICK=no
31741 fi
31742
31743 if test "$TOOLKIT" != "MSW"; then
31744 if test "$wxUSE_JOYSTICK" = "yes"; then
31745
31746 for ac_header in linux/joystick.h
31747 do
31748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31750 echo "$as_me:$LINENO: checking for $ac_header" >&5
31751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31753 echo $ECHO_N "(cached) $ECHO_C" >&6
31754 fi
31755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31757 else
31758 # Is the header compilable?
31759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31761 cat >conftest.$ac_ext <<_ACEOF
31762 #line $LINENO "configure"
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 $ac_includes_default
31769 #include <$ac_header>
31770 _ACEOF
31771 rm -f conftest.$ac_objext
31772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31773 (eval $ac_compile) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try='test -s conftest.$ac_objext'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; }; then
31783 ac_header_compiler=yes
31784 else
31785 echo "$as_me: failed program was:" >&5
31786 sed 's/^/| /' conftest.$ac_ext >&5
31787
31788 ac_header_compiler=no
31789 fi
31790 rm -f conftest.$ac_objext conftest.$ac_ext
31791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31792 echo "${ECHO_T}$ac_header_compiler" >&6
31793
31794 # Is the header present?
31795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31797 cat >conftest.$ac_ext <<_ACEOF
31798 #line $LINENO "configure"
31799 /* confdefs.h. */
31800 _ACEOF
31801 cat confdefs.h >>conftest.$ac_ext
31802 cat >>conftest.$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31804 #include <$ac_header>
31805 _ACEOF
31806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31808 ac_status=$?
31809 grep -v '^ *+' conftest.er1 >conftest.err
31810 rm -f conftest.er1
31811 cat conftest.err >&5
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } >/dev/null; then
31814 if test -s conftest.err; then
31815 ac_cpp_err=$ac_c_preproc_warn_flag
31816 else
31817 ac_cpp_err=
31818 fi
31819 else
31820 ac_cpp_err=yes
31821 fi
31822 if test -z "$ac_cpp_err"; then
31823 ac_header_preproc=yes
31824 else
31825 echo "$as_me: failed program was:" >&5
31826 sed 's/^/| /' conftest.$ac_ext >&5
31827
31828 ac_header_preproc=no
31829 fi
31830 rm -f conftest.err conftest.$ac_ext
31831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31832 echo "${ECHO_T}$ac_header_preproc" >&6
31833
31834 # So? What about this header?
31835 case $ac_header_compiler:$ac_header_preproc in
31836 yes:no )
31837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31841 (
31842 cat <<\_ASBOX
31843 ## ------------------------------------ ##
31844 ## Report this to bug-autoconf@gnu.org. ##
31845 ## ------------------------------------ ##
31846 _ASBOX
31847 ) |
31848 sed "s/^/$as_me: WARNING: /" >&2
31849 ;;
31850 no:yes )
31851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31857 (
31858 cat <<\_ASBOX
31859 ## ------------------------------------ ##
31860 ## Report this to bug-autoconf@gnu.org. ##
31861 ## ------------------------------------ ##
31862 _ASBOX
31863 ) |
31864 sed "s/^/$as_me: WARNING: /" >&2
31865 ;;
31866 esac
31867 echo "$as_me:$LINENO: checking for $ac_header" >&5
31868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31870 echo $ECHO_N "(cached) $ECHO_C" >&6
31871 else
31872 eval "$as_ac_Header=$ac_header_preproc"
31873 fi
31874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31876
31877 fi
31878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31879 cat >>confdefs.h <<_ACEOF
31880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31881 _ACEOF
31882
31883 fi
31884
31885 done
31886
31887 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31888 wxUSE_JOYSTICK=no
31889 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31890 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31891 fi
31892 fi
31893 fi
31894
31895 if test "$wxUSE_JOYSTICK" = "yes"; then
31896 cat >>confdefs.h <<\_ACEOF
31897 #define wxUSE_JOYSTICK 1
31898 _ACEOF
31899
31900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31901 fi
31902 fi
31903
31904
31905 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31906
31907 HAVE_DL_FUNCS=0
31908 HAVE_SHL_FUNCS=0
31909 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31910 if test "$USE_DARWIN" = 1; then
31911 HAVE_DL_FUNCS=1
31912 else
31913
31914 for ac_func in dlopen
31915 do
31916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31917 echo "$as_me:$LINENO: checking for $ac_func" >&5
31918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31919 if eval "test \"\${$as_ac_var+set}\" = set"; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31921 else
31922 cat >conftest.$ac_ext <<_ACEOF
31923 #line $LINENO "configure"
31924 /* confdefs.h. */
31925 _ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929 /* System header to define __stub macros and hopefully few prototypes,
31930 which can conflict with char $ac_func (); below.
31931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31932 <limits.h> exists even on freestanding compilers. */
31933 #ifdef __STDC__
31934 # include <limits.h>
31935 #else
31936 # include <assert.h>
31937 #endif
31938 /* Override any gcc2 internal prototype to avoid an error. */
31939 #ifdef __cplusplus
31940 extern "C"
31941 {
31942 #endif
31943 /* We use char because int might match the return type of a gcc2
31944 builtin and then its argument prototype would still apply. */
31945 char $ac_func ();
31946 /* The GNU C library defines this for functions which it implements
31947 to always fail with ENOSYS. Some functions are actually named
31948 something starting with __ and the normal name is an alias. */
31949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31950 choke me
31951 #else
31952 char (*f) () = $ac_func;
31953 #endif
31954 #ifdef __cplusplus
31955 }
31956 #endif
31957
31958 int
31959 main ()
31960 {
31961 return f != $ac_func;
31962 ;
31963 return 0;
31964 }
31965 _ACEOF
31966 rm -f conftest.$ac_objext conftest$ac_exeext
31967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31968 (eval $ac_link) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } &&
31972 { ac_try='test -s conftest$ac_exeext'
31973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974 (eval $ac_try) 2>&5
31975 ac_status=$?
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); }; }; then
31978 eval "$as_ac_var=yes"
31979 else
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.$ac_ext >&5
31982
31983 eval "$as_ac_var=no"
31984 fi
31985 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31986 fi
31987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31989 if test `eval echo '${'$as_ac_var'}'` = yes; then
31990 cat >>confdefs.h <<_ACEOF
31991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31992 _ACEOF
31993
31994 cat >>confdefs.h <<\_ACEOF
31995 #define HAVE_DLOPEN 1
31996 _ACEOF
31997
31998 HAVE_DL_FUNCS=1
31999
32000 else
32001
32002 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32003 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32004 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32005 echo $ECHO_N "(cached) $ECHO_C" >&6
32006 else
32007 ac_check_lib_save_LIBS=$LIBS
32008 LIBS="-ldl $LIBS"
32009 cat >conftest.$ac_ext <<_ACEOF
32010 #line $LINENO "configure"
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016
32017 /* Override any gcc2 internal prototype to avoid an error. */
32018 #ifdef __cplusplus
32019 extern "C"
32020 #endif
32021 /* We use char because int might match the return type of a gcc2
32022 builtin and then its argument prototype would still apply. */
32023 char dlopen ();
32024 int
32025 main ()
32026 {
32027 dlopen ();
32028 ;
32029 return 0;
32030 }
32031 _ACEOF
32032 rm -f conftest.$ac_objext conftest$ac_exeext
32033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32034 (eval $ac_link) 2>&5
32035 ac_status=$?
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -s conftest$ac_exeext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 ac_cv_lib_dl_dlopen=yes
32045 else
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32048
32049 ac_cv_lib_dl_dlopen=no
32050 fi
32051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32052 LIBS=$ac_check_lib_save_LIBS
32053 fi
32054 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32055 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32056 if test $ac_cv_lib_dl_dlopen = yes; then
32057
32058 cat >>confdefs.h <<\_ACEOF
32059 #define HAVE_DLOPEN 1
32060 _ACEOF
32061
32062 HAVE_DL_FUNCS=1
32063 DL_LINK=" -ldl$DL_LINK"
32064
32065 else
32066
32067
32068 for ac_func in shl_load
32069 do
32070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32071 echo "$as_me:$LINENO: checking for $ac_func" >&5
32072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32073 if eval "test \"\${$as_ac_var+set}\" = set"; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32075 else
32076 cat >conftest.$ac_ext <<_ACEOF
32077 #line $LINENO "configure"
32078 /* confdefs.h. */
32079 _ACEOF
32080 cat confdefs.h >>conftest.$ac_ext
32081 cat >>conftest.$ac_ext <<_ACEOF
32082 /* end confdefs.h. */
32083 /* System header to define __stub macros and hopefully few prototypes,
32084 which can conflict with char $ac_func (); below.
32085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32086 <limits.h> exists even on freestanding compilers. */
32087 #ifdef __STDC__
32088 # include <limits.h>
32089 #else
32090 # include <assert.h>
32091 #endif
32092 /* Override any gcc2 internal prototype to avoid an error. */
32093 #ifdef __cplusplus
32094 extern "C"
32095 {
32096 #endif
32097 /* We use char because int might match the return type of a gcc2
32098 builtin and then its argument prototype would still apply. */
32099 char $ac_func ();
32100 /* The GNU C library defines this for functions which it implements
32101 to always fail with ENOSYS. Some functions are actually named
32102 something starting with __ and the normal name is an alias. */
32103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32104 choke me
32105 #else
32106 char (*f) () = $ac_func;
32107 #endif
32108 #ifdef __cplusplus
32109 }
32110 #endif
32111
32112 int
32113 main ()
32114 {
32115 return f != $ac_func;
32116 ;
32117 return 0;
32118 }
32119 _ACEOF
32120 rm -f conftest.$ac_objext conftest$ac_exeext
32121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32122 (eval $ac_link) 2>&5
32123 ac_status=$?
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try='test -s conftest$ac_exeext'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32129 ac_status=$?
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; }; then
32132 eval "$as_ac_var=yes"
32133 else
32134 echo "$as_me: failed program was:" >&5
32135 sed 's/^/| /' conftest.$ac_ext >&5
32136
32137 eval "$as_ac_var=no"
32138 fi
32139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32140 fi
32141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32143 if test `eval echo '${'$as_ac_var'}'` = yes; then
32144 cat >>confdefs.h <<_ACEOF
32145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32146 _ACEOF
32147
32148 cat >>confdefs.h <<\_ACEOF
32149 #define HAVE_SHL_LOAD 1
32150 _ACEOF
32151
32152 HAVE_SHL_FUNCS=1
32153
32154 else
32155
32156 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32157 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32158 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32160 else
32161 ac_check_lib_save_LIBS=$LIBS
32162 LIBS="-lshl_load $LIBS"
32163 cat >conftest.$ac_ext <<_ACEOF
32164 #line $LINENO "configure"
32165 /* confdefs.h. */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32170
32171 /* Override any gcc2 internal prototype to avoid an error. */
32172 #ifdef __cplusplus
32173 extern "C"
32174 #endif
32175 /* We use char because int might match the return type of a gcc2
32176 builtin and then its argument prototype would still apply. */
32177 char dld ();
32178 int
32179 main ()
32180 {
32181 dld ();
32182 ;
32183 return 0;
32184 }
32185 _ACEOF
32186 rm -f conftest.$ac_objext conftest$ac_exeext
32187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32188 (eval $ac_link) 2>&5
32189 ac_status=$?
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } &&
32192 { ac_try='test -s conftest$ac_exeext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32195 ac_status=$?
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198 ac_cv_lib_shl_load_dld=yes
32199 else
32200 echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.$ac_ext >&5
32202
32203 ac_cv_lib_shl_load_dld=no
32204 fi
32205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32206 LIBS=$ac_check_lib_save_LIBS
32207 fi
32208 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32209 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32210 if test $ac_cv_lib_shl_load_dld = yes; then
32211
32212 HAVE_SHL_FUNCS=1
32213 DL_LINK=" -ldld$DL_LINK"
32214
32215 fi
32216
32217
32218 fi
32219 done
32220
32221
32222 fi
32223
32224
32225 fi
32226 done
32227
32228
32229 if test "$HAVE_DL_FUNCS" = 1; then
32230
32231 for ac_func in dlerror
32232 do
32233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32234 echo "$as_me:$LINENO: checking for $ac_func" >&5
32235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32236 if eval "test \"\${$as_ac_var+set}\" = set"; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 else
32239 cat >conftest.$ac_ext <<_ACEOF
32240 #line $LINENO "configure"
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 /* System header to define __stub macros and hopefully few prototypes,
32247 which can conflict with char $ac_func (); below.
32248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32249 <limits.h> exists even on freestanding compilers. */
32250 #ifdef __STDC__
32251 # include <limits.h>
32252 #else
32253 # include <assert.h>
32254 #endif
32255 /* Override any gcc2 internal prototype to avoid an error. */
32256 #ifdef __cplusplus
32257 extern "C"
32258 {
32259 #endif
32260 /* We use char because int might match the return type of a gcc2
32261 builtin and then its argument prototype would still apply. */
32262 char $ac_func ();
32263 /* The GNU C library defines this for functions which it implements
32264 to always fail with ENOSYS. Some functions are actually named
32265 something starting with __ and the normal name is an alias. */
32266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32267 choke me
32268 #else
32269 char (*f) () = $ac_func;
32270 #endif
32271 #ifdef __cplusplus
32272 }
32273 #endif
32274
32275 int
32276 main ()
32277 {
32278 return f != $ac_func;
32279 ;
32280 return 0;
32281 }
32282 _ACEOF
32283 rm -f conftest.$ac_objext conftest$ac_exeext
32284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32285 (eval $ac_link) 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); } &&
32289 { ac_try='test -s conftest$ac_exeext'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32292 ac_status=$?
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; }; then
32295 eval "$as_ac_var=yes"
32296 else
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.$ac_ext >&5
32299
32300 eval "$as_ac_var=no"
32301 fi
32302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32303 fi
32304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32306 if test `eval echo '${'$as_ac_var'}'` = yes; then
32307 cat >>confdefs.h <<_ACEOF
32308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32309 _ACEOF
32310 cat >>confdefs.h <<\_ACEOF
32311 #define HAVE_DLERROR 1
32312 _ACEOF
32313
32314 else
32315
32316 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32317 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32318 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32320 else
32321 ac_check_lib_save_LIBS=$LIBS
32322 LIBS="-ldl $LIBS"
32323 cat >conftest.$ac_ext <<_ACEOF
32324 #line $LINENO "configure"
32325 /* confdefs.h. */
32326 _ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32330
32331 /* Override any gcc2 internal prototype to avoid an error. */
32332 #ifdef __cplusplus
32333 extern "C"
32334 #endif
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32337 char dlerror ();
32338 int
32339 main ()
32340 {
32341 dlerror ();
32342 ;
32343 return 0;
32344 }
32345 _ACEOF
32346 rm -f conftest.$ac_objext conftest$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>&5
32349 ac_status=$?
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try='test -s conftest$ac_exeext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_lib_dl_dlerror=yes
32359 else
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.$ac_ext >&5
32362
32363 ac_cv_lib_dl_dlerror=no
32364 fi
32365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32366 LIBS=$ac_check_lib_save_LIBS
32367 fi
32368 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32369 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32370 if test $ac_cv_lib_dl_dlerror = yes; then
32371 cat >>confdefs.h <<\_ACEOF
32372 #define HAVE_DLERROR 1
32373 _ACEOF
32374
32375 fi
32376
32377
32378
32379 fi
32380 done
32381
32382 fi
32383 fi
32384
32385 if test "$HAVE_DL_FUNCS" = 0; then
32386 if test "$HAVE_SHL_FUNCS" = 0; then
32387 if test "$USE_UNIX" = 1; then
32388 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32389 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32390 wxUSE_DYNAMIC_LOADER=no
32391 wxUSE_DYNLIB_CLASS=no
32392 else
32393 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32394 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32395 fi
32396 fi
32397 fi
32398 fi
32399 fi
32400
32401 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32402 cat >>confdefs.h <<\_ACEOF
32403 #define wxUSE_DYNAMIC_LOADER 1
32404 _ACEOF
32405
32406 fi
32407 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32408 cat >>confdefs.h <<\_ACEOF
32409 #define wxUSE_DYNLIB_CLASS 1
32410 _ACEOF
32411
32412 fi
32413
32414
32415 if test "$wxUSE_FONTMAP" = "yes" ; then
32416 cat >>confdefs.h <<\_ACEOF
32417 #define wxUSE_FONTMAP 1
32418 _ACEOF
32419
32420 fi
32421
32422 if test "$wxUSE_UNICODE" = "yes" ; then
32423 cat >>confdefs.h <<\_ACEOF
32424 #define wxUSE_UNICODE 1
32425 _ACEOF
32426
32427
32428 if test "$USE_WIN32" != 1; then
32429 wxUSE_UNICODE_MSLU=no
32430 fi
32431
32432 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32433 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32434 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32435 if test "${ac_cv_lib_unicows_main+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438 ac_check_lib_save_LIBS=$LIBS
32439 LIBS="-lunicows $LIBS"
32440 cat >conftest.$ac_ext <<_ACEOF
32441 #line $LINENO "configure"
32442 /* confdefs.h. */
32443 _ACEOF
32444 cat confdefs.h >>conftest.$ac_ext
32445 cat >>conftest.$ac_ext <<_ACEOF
32446 /* end confdefs.h. */
32447
32448
32449 int
32450 main ()
32451 {
32452 main ();
32453 ;
32454 return 0;
32455 }
32456 _ACEOF
32457 rm -f conftest.$ac_objext conftest$ac_exeext
32458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32459 (eval $ac_link) 2>&5
32460 ac_status=$?
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try='test -s conftest$ac_exeext'
32464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32465 (eval $ac_try) 2>&5
32466 ac_status=$?
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); }; }; then
32469 ac_cv_lib_unicows_main=yes
32470 else
32471 echo "$as_me: failed program was:" >&5
32472 sed 's/^/| /' conftest.$ac_ext >&5
32473
32474 ac_cv_lib_unicows_main=no
32475 fi
32476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32477 LIBS=$ac_check_lib_save_LIBS
32478 fi
32479 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32480 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32481 if test $ac_cv_lib_unicows_main = yes; then
32482
32483 cat >>confdefs.h <<\_ACEOF
32484 #define wxUSE_UNICODE_MSLU 1
32485 _ACEOF
32486
32487
32488 else
32489
32490 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32491 Applications will only run on Windows NT/2000/XP!" >&5
32492 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32493 Applications will only run on Windows NT/2000/XP!" >&2;}
32494 wxUSE_UNICODE_MSLU=no
32495
32496 fi
32497
32498 fi
32499 fi
32500
32501 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32502 cat >>confdefs.h <<\_ACEOF
32503 #define wxUSE_EXPERIMENTAL_PRINTF 1
32504 _ACEOF
32505
32506 fi
32507
32508
32509 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32510 cat >>confdefs.h <<\_ACEOF
32511 #define wxUSE_POSTSCRIPT 1
32512 _ACEOF
32513
32514 fi
32515
32516 cat >>confdefs.h <<\_ACEOF
32517 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32518 _ACEOF
32519
32520
32521 cat >>confdefs.h <<\_ACEOF
32522 #define wxUSE_NORMALIZED_PS_FONTS 1
32523 _ACEOF
32524
32525
32526
32527 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32528 cat >>confdefs.h <<\_ACEOF
32529 #define wxUSE_CONSTRAINTS 1
32530 _ACEOF
32531
32532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32533 fi
32534
32535 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32536 cat >>confdefs.h <<\_ACEOF
32537 #define wxUSE_MDI_ARCHITECTURE 1
32538 _ACEOF
32539
32540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32541 fi
32542
32543 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32544 cat >>confdefs.h <<\_ACEOF
32545 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32546 _ACEOF
32547
32548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32549 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32551 fi
32552 fi
32553
32554 if test "$wxUSE_HELP" = "yes"; then
32555 cat >>confdefs.h <<\_ACEOF
32556 #define wxUSE_HELP 1
32557 _ACEOF
32558
32559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32560
32561 if test "$wxUSE_MSW" = 1; then
32562 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32563 cat >>confdefs.h <<\_ACEOF
32564 #define wxUSE_MS_HTML_HELP 1
32565 _ACEOF
32566
32567 fi
32568 fi
32569
32570 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32571 if test "$wxUSE_HTML" = "yes"; then
32572 cat >>confdefs.h <<\_ACEOF
32573 #define wxUSE_WXHTML_HELP 1
32574 _ACEOF
32575
32576 else
32577 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32578 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32579 wxUSE_WXHTML_HELP=no
32580 fi
32581 fi
32582 fi
32583
32584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32585 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32586 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32587 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32588 else
32589 cat >>confdefs.h <<\_ACEOF
32590 #define wxUSE_PRINTING_ARCHITECTURE 1
32591 _ACEOF
32592
32593 fi
32594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32595 fi
32596
32597 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32598 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32599 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32600 { (exit 1); exit 1; }; }
32601 fi
32602
32603
32604 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32605 -o "$wxUSE_CLIPBOARD" = "yes" \
32606 -o "$wxUSE_OLE" = "yes" \
32607 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32608
32609 for ac_header in ole2.h
32610 do
32611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32613 echo "$as_me:$LINENO: checking for $ac_header" >&5
32614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32616 echo $ECHO_N "(cached) $ECHO_C" >&6
32617 fi
32618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32620 else
32621 # Is the header compilable?
32622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32624 cat >conftest.$ac_ext <<_ACEOF
32625 #line $LINENO "configure"
32626 /* confdefs.h. */
32627 _ACEOF
32628 cat confdefs.h >>conftest.$ac_ext
32629 cat >>conftest.$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32631 $ac_includes_default
32632 #include <$ac_header>
32633 _ACEOF
32634 rm -f conftest.$ac_objext
32635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32636 (eval $ac_compile) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try='test -s conftest.$ac_objext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 ac_header_compiler=yes
32647 else
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.$ac_ext >&5
32650
32651 ac_header_compiler=no
32652 fi
32653 rm -f conftest.$ac_objext conftest.$ac_ext
32654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32655 echo "${ECHO_T}$ac_header_compiler" >&6
32656
32657 # Is the header present?
32658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32660 cat >conftest.$ac_ext <<_ACEOF
32661 #line $LINENO "configure"
32662 /* confdefs.h. */
32663 _ACEOF
32664 cat confdefs.h >>conftest.$ac_ext
32665 cat >>conftest.$ac_ext <<_ACEOF
32666 /* end confdefs.h. */
32667 #include <$ac_header>
32668 _ACEOF
32669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32671 ac_status=$?
32672 grep -v '^ *+' conftest.er1 >conftest.err
32673 rm -f conftest.er1
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } >/dev/null; then
32677 if test -s conftest.err; then
32678 ac_cpp_err=$ac_c_preproc_warn_flag
32679 else
32680 ac_cpp_err=
32681 fi
32682 else
32683 ac_cpp_err=yes
32684 fi
32685 if test -z "$ac_cpp_err"; then
32686 ac_header_preproc=yes
32687 else
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 ac_header_preproc=no
32692 fi
32693 rm -f conftest.err conftest.$ac_ext
32694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32695 echo "${ECHO_T}$ac_header_preproc" >&6
32696
32697 # So? What about this header?
32698 case $ac_header_compiler:$ac_header_preproc in
32699 yes:no )
32700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32704 (
32705 cat <<\_ASBOX
32706 ## ------------------------------------ ##
32707 ## Report this to bug-autoconf@gnu.org. ##
32708 ## ------------------------------------ ##
32709 _ASBOX
32710 ) |
32711 sed "s/^/$as_me: WARNING: /" >&2
32712 ;;
32713 no:yes )
32714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32720 (
32721 cat <<\_ASBOX
32722 ## ------------------------------------ ##
32723 ## Report this to bug-autoconf@gnu.org. ##
32724 ## ------------------------------------ ##
32725 _ASBOX
32726 ) |
32727 sed "s/^/$as_me: WARNING: /" >&2
32728 ;;
32729 esac
32730 echo "$as_me:$LINENO: checking for $ac_header" >&5
32731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32733 echo $ECHO_N "(cached) $ECHO_C" >&6
32734 else
32735 eval "$as_ac_Header=$ac_header_preproc"
32736 fi
32737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32739
32740 fi
32741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32742 cat >>confdefs.h <<_ACEOF
32743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32744 _ACEOF
32745
32746 fi
32747
32748 done
32749
32750
32751 if test "$ac_cv_header_ole2_h" = "yes" ; then
32752 if test "$GCC" = yes ; then
32753
32754
32755 ac_ext=cc
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32760
32761
32762 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32763 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32764 cat >conftest.$ac_ext <<_ACEOF
32765 #line $LINENO "configure"
32766 /* confdefs.h. */
32767 _ACEOF
32768 cat confdefs.h >>conftest.$ac_ext
32769 cat >>conftest.$ac_ext <<_ACEOF
32770 /* end confdefs.h. */
32771 #include <windows.h>
32772 #include <ole2.h>
32773 int
32774 main ()
32775 {
32776
32777 ;
32778 return 0;
32779 }
32780 _ACEOF
32781 rm -f conftest.$ac_objext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>&5
32784 ac_status=$?
32785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32786 (exit $ac_status); } &&
32787 { ac_try='test -s conftest.$ac_objext'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32790 ac_status=$?
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; }; then
32793 echo "$as_me:$LINENO: result: no" >&5
32794 echo "${ECHO_T}no" >&6
32795 else
32796 echo "$as_me: failed program was:" >&5
32797 sed 's/^/| /' conftest.$ac_ext >&5
32798
32799 echo "$as_me:$LINENO: result: yes" >&5
32800 echo "${ECHO_T}yes" >&6
32801 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32802 fi
32803 rm -f conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805 ac_cpp='$CPP $CPPFLAGS'
32806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32809
32810 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32811 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32812 cat >>confdefs.h <<\_ACEOF
32813 #define wxUSE_OLE 1
32814 _ACEOF
32815
32816
32817 fi
32818
32819 cat >>confdefs.h <<\_ACEOF
32820 #define wxUSE_DATAOBJ 1
32821 _ACEOF
32822
32823 else
32824 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32825 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32826
32827 wxUSE_CLIPBOARD=no
32828 wxUSE_DRAG_AND_DROP=no
32829 wxUSE_DATAOBJ=no
32830 wxUSE_OLE=no
32831 fi
32832
32833 if test "$wxUSE_METAFILE" = "yes"; then
32834 cat >>confdefs.h <<\_ACEOF
32835 #define wxUSE_METAFILE 1
32836 _ACEOF
32837
32838
32839 cat >>confdefs.h <<\_ACEOF
32840 #define wxUSE_ENH_METAFILE 1
32841 _ACEOF
32842
32843 fi
32844 fi
32845
32846 if test "$wxUSE_IPC" = "yes"; then
32847 if test "$wxUSE_SOCKETS" != "yes"; then
32848 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32849 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32850 fi
32851
32852 cat >>confdefs.h <<\_ACEOF
32853 #define wxUSE_IPC 1
32854 _ACEOF
32855
32856 fi
32857
32858 if test "$wxUSE_CLIPBOARD" = "yes"; then
32859 if test "$wxUSE_MGL" = 1; then
32860 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32861 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32862 wxUSE_CLIPBOARD=no
32863 fi
32864
32865 if test "$wxUSE_CLIPBOARD" = "yes"; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define wxUSE_CLIPBOARD 1
32868 _ACEOF
32869
32870
32871 cat >>confdefs.h <<\_ACEOF
32872 #define wxUSE_DATAOBJ 1
32873 _ACEOF
32874
32875 fi
32876 fi
32877
32878 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32879 if test "$wxUSE_GTK" = 1; then
32880 if test "$WXGTK12" != 1; then
32881 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32882 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32883 wxUSE_DRAG_AND_DROP=no
32884 fi
32885 fi
32886
32887 if test "$wxUSE_MOTIF" = 1; then
32888 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32889 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32890 wxUSE_DRAG_AND_DROP=no
32891 fi
32892
32893 if test "$wxUSE_X11" = 1; then
32894 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32895 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32896 wxUSE_DRAG_AND_DROP=no
32897 fi
32898
32899 if test "$wxUSE_MGL" = 1; then
32900 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32901 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32902 wxUSE_DRAG_AND_DROP=no
32903 fi
32904
32905 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32906 cat >>confdefs.h <<\_ACEOF
32907 #define wxUSE_DRAG_AND_DROP 1
32908 _ACEOF
32909
32910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32911 fi
32912
32913 fi
32914
32915 if test "$wxUSE_SPLINES" = "yes" ; then
32916 cat >>confdefs.h <<\_ACEOF
32917 #define wxUSE_SPLINES 1
32918 _ACEOF
32919
32920 fi
32921
32922
32923 USES_CONTROLS=0
32924 if test "$wxUSE_CONTROLS" = "yes"; then
32925 USES_CONTROLS=1
32926 fi
32927
32928 if test "$wxUSE_ACCEL" = "yes"; then
32929 cat >>confdefs.h <<\_ACEOF
32930 #define wxUSE_ACCEL 1
32931 _ACEOF
32932
32933 USES_CONTROLS=1
32934 fi
32935
32936 if test "$wxUSE_BUTTON" = "yes"; then
32937 cat >>confdefs.h <<\_ACEOF
32938 #define wxUSE_BUTTON 1
32939 _ACEOF
32940
32941 USES_CONTROLS=1
32942 fi
32943
32944 if test "$wxUSE_BMPBUTTON" = "yes"; then
32945 cat >>confdefs.h <<\_ACEOF
32946 #define wxUSE_BMPBUTTON 1
32947 _ACEOF
32948
32949 USES_CONTROLS=1
32950 fi
32951
32952 if test "$wxUSE_CALCTRL" = "yes"; then
32953 cat >>confdefs.h <<\_ACEOF
32954 #define wxUSE_CALENDARCTRL 1
32955 _ACEOF
32956
32957 USES_CONTROLS=1
32958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32959 fi
32960
32961 if test "$wxUSE_CARET" = "yes"; then
32962 cat >>confdefs.h <<\_ACEOF
32963 #define wxUSE_CARET 1
32964 _ACEOF
32965
32966 USES_CONTROLS=1
32967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32968 fi
32969
32970 if test "$wxUSE_COMBOBOX" = "yes"; then
32971 cat >>confdefs.h <<\_ACEOF
32972 #define wxUSE_COMBOBOX 1
32973 _ACEOF
32974
32975 USES_CONTROLS=1
32976 fi
32977
32978 if test "$wxUSE_CHOICE" = "yes"; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxUSE_CHOICE 1
32981 _ACEOF
32982
32983 USES_CONTROLS=1
32984 fi
32985
32986 if test "$wxUSE_CHECKBOX" = "yes"; then
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_CHECKBOX 1
32989 _ACEOF
32990
32991 USES_CONTROLS=1
32992 fi
32993
32994 if test "$wxUSE_CHECKLST" = "yes"; then
32995 cat >>confdefs.h <<\_ACEOF
32996 #define wxUSE_CHECKLISTBOX 1
32997 _ACEOF
32998
32999 USES_CONTROLS=1
33000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33001 fi
33002
33003 if test "$wxUSE_DISPLAY" = "yes"; then
33004 cat >>confdefs.h <<\_ACEOF
33005 #define wxUSE_DISPLAY 1
33006 _ACEOF
33007
33008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33009 fi
33010
33011 if test "$wxUSE_GAUGE" = "yes"; then
33012 cat >>confdefs.h <<\_ACEOF
33013 #define wxUSE_GAUGE 1
33014 _ACEOF
33015
33016 USES_CONTROLS=1
33017 fi
33018
33019 if test "$wxUSE_GRID" = "yes"; then
33020 cat >>confdefs.h <<\_ACEOF
33021 #define wxUSE_GRID 1
33022 _ACEOF
33023
33024 USES_CONTROLS=1
33025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33026 fi
33027
33028 if test "$wxUSE_IMAGLIST" = "yes"; then
33029 cat >>confdefs.h <<\_ACEOF
33030 #define wxUSE_IMAGLIST 1
33031 _ACEOF
33032
33033 fi
33034
33035 if test "$wxUSE_LISTBOOK" = "yes"; then
33036 cat >>confdefs.h <<\_ACEOF
33037 #define wxUSE_LISTBOOK 1
33038 _ACEOF
33039
33040 USES_CONTROLS=1
33041 fi
33042
33043 if test "$wxUSE_LISTBOX" = "yes"; then
33044 cat >>confdefs.h <<\_ACEOF
33045 #define wxUSE_LISTBOX 1
33046 _ACEOF
33047
33048 USES_CONTROLS=1
33049 fi
33050
33051 if test "$wxUSE_LISTCTRL" = "yes"; then
33052 if test "$wxUSE_IMAGLIST" = "yes"; then
33053 cat >>confdefs.h <<\_ACEOF
33054 #define wxUSE_LISTCTRL 1
33055 _ACEOF
33056
33057 USES_CONTROLS=1
33058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33059 else
33060 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33061 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33062 fi
33063 fi
33064
33065 if test "$wxUSE_NOTEBOOK" = "yes"; then
33066 cat >>confdefs.h <<\_ACEOF
33067 #define wxUSE_NOTEBOOK 1
33068 _ACEOF
33069
33070 USES_CONTROLS=1
33071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33072 fi
33073
33074
33075 if test "$wxUSE_RADIOBOX" = "yes"; then
33076 cat >>confdefs.h <<\_ACEOF
33077 #define wxUSE_RADIOBOX 1
33078 _ACEOF
33079
33080 USES_CONTROLS=1
33081 fi
33082
33083 if test "$wxUSE_RADIOBTN" = "yes"; then
33084 cat >>confdefs.h <<\_ACEOF
33085 #define wxUSE_RADIOBTN 1
33086 _ACEOF
33087
33088 USES_CONTROLS=1
33089 fi
33090
33091 if test "$wxUSE_SASH" = "yes"; then
33092 cat >>confdefs.h <<\_ACEOF
33093 #define wxUSE_SASH 1
33094 _ACEOF
33095
33096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33097 fi
33098
33099 if test "$wxUSE_SCROLLBAR" = "yes"; then
33100 cat >>confdefs.h <<\_ACEOF
33101 #define wxUSE_SCROLLBAR 1
33102 _ACEOF
33103
33104 USES_CONTROLS=1
33105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33106 fi
33107
33108 if test "$wxUSE_SLIDER" = "yes"; then
33109 cat >>confdefs.h <<\_ACEOF
33110 #define wxUSE_SLIDER 1
33111 _ACEOF
33112
33113 USES_CONTROLS=1
33114 fi
33115
33116 if test "$wxUSE_SPINBTN" = "yes"; then
33117 cat >>confdefs.h <<\_ACEOF
33118 #define wxUSE_SPINBTN 1
33119 _ACEOF
33120
33121 USES_CONTROLS=1
33122 fi
33123
33124 if test "$wxUSE_SPINCTRL" = "yes"; then
33125 cat >>confdefs.h <<\_ACEOF
33126 #define wxUSE_SPINCTRL 1
33127 _ACEOF
33128
33129 USES_CONTROLS=1
33130 fi
33131
33132 if test "$wxUSE_SPLITTER" = "yes"; then
33133 cat >>confdefs.h <<\_ACEOF
33134 #define wxUSE_SPLITTER 1
33135 _ACEOF
33136
33137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33138 fi
33139
33140 if test "$wxUSE_STATBMP" = "yes"; then
33141 cat >>confdefs.h <<\_ACEOF
33142 #define wxUSE_STATBMP 1
33143 _ACEOF
33144
33145 USES_CONTROLS=1
33146 fi
33147
33148 if test "$wxUSE_STATBOX" = "yes"; then
33149 cat >>confdefs.h <<\_ACEOF
33150 #define wxUSE_STATBOX 1
33151 _ACEOF
33152
33153 USES_CONTROLS=1
33154 fi
33155
33156 if test "$wxUSE_STATTEXT" = "yes"; then
33157 cat >>confdefs.h <<\_ACEOF
33158 #define wxUSE_STATTEXT 1
33159 _ACEOF
33160
33161 USES_CONTROLS=1
33162 fi
33163
33164 if test "$wxUSE_STATLINE" = "yes"; then
33165 cat >>confdefs.h <<\_ACEOF
33166 #define wxUSE_STATLINE 1
33167 _ACEOF
33168
33169 USES_CONTROLS=1
33170 fi
33171
33172 if test "$wxUSE_STATUSBAR" = "yes"; then
33173 cat >>confdefs.h <<\_ACEOF
33174 #define wxUSE_STATUSBAR 1
33175 _ACEOF
33176
33177 USES_CONTROLS=1
33178
33179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33180 fi
33181
33182 if test "$wxUSE_TABDIALOG" = "yes"; then
33183 cat >>confdefs.h <<\_ACEOF
33184 #define wxUSE_TAB_DIALOG 1
33185 _ACEOF
33186
33187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33188 fi
33189
33190 if test "$wxUSE_TEXTCTRL" = "yes"; then
33191 cat >>confdefs.h <<\_ACEOF
33192 #define wxUSE_TEXTCTRL 1
33193 _ACEOF
33194
33195 USES_CONTROLS=1
33196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33197 fi
33198
33199 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33200 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33201 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33202 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33203 wxUSE_TOGGLEBTN=no
33204 fi
33205 if test "$wxUSE_UNIVERSAL" = "yes"; then
33206 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33207 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33208 wxUSE_TOGGLEBTN=no
33209 fi
33210
33211 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33212 cat >>confdefs.h <<\_ACEOF
33213 #define wxUSE_TOGGLEBTN 1
33214 _ACEOF
33215
33216 USES_CONTROLS=1
33217 fi
33218 fi
33219
33220 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33221 cat >>confdefs.h <<\_ACEOF
33222 #define wxUSE_TOOLBAR_SIMPLE 1
33223 _ACEOF
33224
33225 wxUSE_TOOLBAR="yes"
33226 USES_CONTROLS=1
33227 fi
33228
33229 if test "$wxUSE_TOOLBAR" = "yes"; then
33230 cat >>confdefs.h <<\_ACEOF
33231 #define wxUSE_TOOLBAR 1
33232 _ACEOF
33233
33234 USES_CONTROLS=1
33235
33236 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33237 wxUSE_TOOLBAR_NATIVE="yes"
33238 fi
33239
33240 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33241 cat >>confdefs.h <<\_ACEOF
33242 #define wxUSE_TOOLBAR_NATIVE 1
33243 _ACEOF
33244
33245 USES_CONTROLS=1
33246 fi
33247
33248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33249 fi
33250
33251 if test "$wxUSE_TOOLTIPS" = "yes"; then
33252 if test "$wxUSE_MOTIF" = 1; then
33253 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33254 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33255 else
33256 if test "$wxUSE_UNIVERSAL" = "yes"; then
33257 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33258 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33259 else
33260 cat >>confdefs.h <<\_ACEOF
33261 #define wxUSE_TOOLTIPS 1
33262 _ACEOF
33263
33264 fi
33265 fi
33266 fi
33267
33268 if test "$wxUSE_TREECTRL" = "yes"; then
33269 if test "$wxUSE_IMAGLIST" = "yes"; then
33270 cat >>confdefs.h <<\_ACEOF
33271 #define wxUSE_TREECTRL 1
33272 _ACEOF
33273
33274 USES_CONTROLS=1
33275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33276 else
33277 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33278 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33279 fi
33280 fi
33281
33282 if test "$wxUSE_POPUPWIN" = "yes"; then
33283 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33284 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33285 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33286 else
33287 if test "$wxUSE_PM" = 1; then
33288 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33289 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33290 else
33291 cat >>confdefs.h <<\_ACEOF
33292 #define wxUSE_POPUPWIN 1
33293 _ACEOF
33294
33295
33296 USES_CONTROLS=1
33297 fi
33298 fi
33299 fi
33300
33301 if test "$wxUSE_TIPWINDOW" = "yes"; then
33302 if test "$wxUSE_PM" = 1; then
33303 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33304 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33305 else
33306 cat >>confdefs.h <<\_ACEOF
33307 #define wxUSE_TIPWINDOW 1
33308 _ACEOF
33309
33310 fi
33311 fi
33312
33313 if test "$USES_CONTROLS" = 1; then
33314 cat >>confdefs.h <<\_ACEOF
33315 #define wxUSE_CONTROLS 1
33316 _ACEOF
33317
33318 fi
33319
33320
33321 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33322 cat >>confdefs.h <<\_ACEOF
33323 #define wxUSE_ACCESSIBILITY 1
33324 _ACEOF
33325
33326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33327 fi
33328
33329 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33330 cat >>confdefs.h <<\_ACEOF
33331 #define wxUSE_DRAGIMAGE 1
33332 _ACEOF
33333
33334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33335 fi
33336
33337 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33338 cat >>confdefs.h <<\_ACEOF
33339 #define wxUSE_EXCEPTIONS 1
33340 _ACEOF
33341
33342 fi
33343
33344 USE_HTML=0
33345 if test "$wxUSE_HTML" = "yes"; then
33346 cat >>confdefs.h <<\_ACEOF
33347 #define wxUSE_HTML 1
33348 _ACEOF
33349
33350 USE_HTML=1
33351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33352 fi
33353
33354 if test "$wxUSE_MENUS" = "yes"; then
33355 cat >>confdefs.h <<\_ACEOF
33356 #define wxUSE_MENUS 1
33357 _ACEOF
33358
33359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33360 fi
33361
33362 if test "$wxUSE_METAFILE" = "yes"; then
33363 cat >>confdefs.h <<\_ACEOF
33364 #define wxUSE_METAFILE 1
33365 _ACEOF
33366
33367 fi
33368
33369 if test "$wxUSE_MIMETYPE" = "yes"; then
33370 cat >>confdefs.h <<\_ACEOF
33371 #define wxUSE_MIMETYPE 1
33372 _ACEOF
33373
33374 fi
33375
33376 if test "$wxUSE_MINIFRAME" = "yes"; then
33377 cat >>confdefs.h <<\_ACEOF
33378 #define wxUSE_MINIFRAME 1
33379 _ACEOF
33380
33381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33382 fi
33383
33384 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33385 cat >>confdefs.h <<\_ACEOF
33386 #define wxUSE_SYSTEM_OPTIONS 1
33387 _ACEOF
33388
33389 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33390 "$TOOLKIT" = "MOTIF"; then
33391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33392 fi
33393 fi
33394
33395
33396 if test "$wxUSE_VALIDATORS" = "yes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398 #define wxUSE_VALIDATORS 1
33399 _ACEOF
33400
33401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33402 fi
33403
33404 if test "$wxUSE_PALETTE" = "yes" ; then
33405 cat >>confdefs.h <<\_ACEOF
33406 #define wxUSE_PALETTE 1
33407 _ACEOF
33408
33409 fi
33410
33411 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33412 LIBS=" -lunicows $LIBS"
33413 fi
33414
33415
33416 if test "$wxUSE_IMAGE" = "yes" ; then
33417 cat >>confdefs.h <<\_ACEOF
33418 #define wxUSE_IMAGE 1
33419 _ACEOF
33420
33421
33422 if test "$wxUSE_GIF" = "yes" ; then
33423 cat >>confdefs.h <<\_ACEOF
33424 #define wxUSE_GIF 1
33425 _ACEOF
33426
33427 fi
33428
33429 if test "$wxUSE_PCX" = "yes" ; then
33430 cat >>confdefs.h <<\_ACEOF
33431 #define wxUSE_PCX 1
33432 _ACEOF
33433
33434 fi
33435
33436 if test "$wxUSE_IFF" = "yes" ; then
33437 cat >>confdefs.h <<\_ACEOF
33438 #define wxUSE_IFF 1
33439 _ACEOF
33440
33441 fi
33442
33443 if test "$wxUSE_PNM" = "yes" ; then
33444 cat >>confdefs.h <<\_ACEOF
33445 #define wxUSE_PNM 1
33446 _ACEOF
33447
33448 fi
33449
33450 if test "$wxUSE_XPM" = "yes" ; then
33451 cat >>confdefs.h <<\_ACEOF
33452 #define wxUSE_XPM 1
33453 _ACEOF
33454
33455 fi
33456
33457 if test "$wxUSE_ICO_CUR" = "yes" ; then
33458 cat >>confdefs.h <<\_ACEOF
33459 #define wxUSE_ICO_CUR 1
33460 _ACEOF
33461
33462 fi
33463 fi
33464
33465
33466 if test "$wxUSE_CHOICEDLG" = "yes"; then
33467 cat >>confdefs.h <<\_ACEOF
33468 #define wxUSE_CHOICEDLG 1
33469 _ACEOF
33470
33471 fi
33472
33473 if test "$wxUSE_COLOURDLG" = "yes"; then
33474 cat >>confdefs.h <<\_ACEOF
33475 #define wxUSE_COLOURDLG 1
33476 _ACEOF
33477
33478 fi
33479
33480 if test "$wxUSE_FILEDLG" = "yes"; then
33481 cat >>confdefs.h <<\_ACEOF
33482 #define wxUSE_FILEDLG 1
33483 _ACEOF
33484
33485 fi
33486
33487 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33488 cat >>confdefs.h <<\_ACEOF
33489 #define wxUSE_FINDREPLDLG 1
33490 _ACEOF
33491
33492 fi
33493
33494 if test "$wxUSE_FONTDLG" = "yes"; then
33495 cat >>confdefs.h <<\_ACEOF
33496 #define wxUSE_FONTDLG 1
33497 _ACEOF
33498
33499 fi
33500
33501 if test "$wxUSE_DIRDLG" = "yes"; then
33502 if test "$wxUSE_TREECTRL" != "yes"; then
33503 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33504 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33505 else
33506 cat >>confdefs.h <<\_ACEOF
33507 #define wxUSE_DIRDLG 1
33508 _ACEOF
33509
33510 fi
33511 fi
33512
33513 if test "$wxUSE_MSGDLG" = "yes"; then
33514 cat >>confdefs.h <<\_ACEOF
33515 #define wxUSE_MSGDLG 1
33516 _ACEOF
33517
33518 fi
33519
33520 if test "$wxUSE_NUMBERDLG" = "yes"; then
33521 cat >>confdefs.h <<\_ACEOF
33522 #define wxUSE_NUMBERDLG 1
33523 _ACEOF
33524
33525 fi
33526
33527 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33528 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33529 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33530 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33531 else
33532 cat >>confdefs.h <<\_ACEOF
33533 #define wxUSE_PROGRESSDLG 1
33534 _ACEOF
33535
33536 fi
33537 fi
33538
33539 if test "$wxUSE_SPLASH" = "yes"; then
33540 cat >>confdefs.h <<\_ACEOF
33541 #define wxUSE_SPLASH 1
33542 _ACEOF
33543
33544 fi
33545
33546 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33547 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33548 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33549 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33550 else
33551 cat >>confdefs.h <<\_ACEOF
33552 #define wxUSE_STARTUP_TIPS 1
33553 _ACEOF
33554
33555 fi
33556 fi
33557
33558 if test "$wxUSE_TEXTDLG" = "yes"; then
33559 cat >>confdefs.h <<\_ACEOF
33560 #define wxUSE_TEXTDLG 1
33561 _ACEOF
33562
33563 fi
33564
33565 if test "$wxUSE_WIZARDDLG" = "yes"; then
33566 cat >>confdefs.h <<\_ACEOF
33567 #define wxUSE_WIZARDDLG 1
33568 _ACEOF
33569
33570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33571 fi
33572
33573
33574 if test "$cross_compiling" = "yes"; then
33575 OSINFO="\"$host\""
33576 else
33577 OSINFO=`uname -s -r -m`
33578 OSINFO="\"$OSINFO\""
33579 fi
33580
33581 cat >>confdefs.h <<_ACEOF
33582 #define WXWIN_OS_DESCRIPTION $OSINFO
33583 _ACEOF
33584
33585
33586
33587 if test "x$prefix" != "xNONE"; then
33588 wxPREFIX=$prefix
33589 else
33590 wxPREFIX=$ac_default_prefix
33591 fi
33592
33593 cat >>confdefs.h <<_ACEOF
33594 #define wxINSTALL_PREFIX "$wxPREFIX"
33595 _ACEOF
33596
33597
33598 top_builddir_wxconfig=`pwd`
33599
33600
33601
33602 CORE_BASE_LIBS="net base"
33603 CORE_GUI_LIBS="adv core"
33604
33605 if test "$wxUSE_XML" = "yes" ; then
33606 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33607 fi
33608 if test "$wxUSE_ODBC" != "no" ; then
33609 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33610 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33611 fi
33612 if test "$wxUSE_HTML" = "yes" ; then
33613 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33614 fi
33615
33616 if test "$wxUSE_GUI" != "yes"; then
33617 CORE_GUI_LIBS=""
33618 fi
33619
33620
33621
33622
33623
33624
33625
33626
33627 if test "$wxUSE_MAC" = 1 ; then
33628 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33629 fi
33630 if test "$wxUSE_COCOA" = 1 ; then
33631 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33632 fi
33633
33634
33635 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33636
33637 have_cos=0
33638 have_floor=0
33639
33640 for ac_func in cos
33641 do
33642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33643 echo "$as_me:$LINENO: checking for $ac_func" >&5
33644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33645 if eval "test \"\${$as_ac_var+set}\" = set"; then
33646 echo $ECHO_N "(cached) $ECHO_C" >&6
33647 else
33648 cat >conftest.$ac_ext <<_ACEOF
33649 #line $LINENO "configure"
33650 /* confdefs.h. */
33651 _ACEOF
33652 cat confdefs.h >>conftest.$ac_ext
33653 cat >>conftest.$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33655 /* System header to define __stub macros and hopefully few prototypes,
33656 which can conflict with char $ac_func (); below.
33657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33658 <limits.h> exists even on freestanding compilers. */
33659 #ifdef __STDC__
33660 # include <limits.h>
33661 #else
33662 # include <assert.h>
33663 #endif
33664 /* Override any gcc2 internal prototype to avoid an error. */
33665 #ifdef __cplusplus
33666 extern "C"
33667 {
33668 #endif
33669 /* We use char because int might match the return type of a gcc2
33670 builtin and then its argument prototype would still apply. */
33671 char $ac_func ();
33672 /* The GNU C library defines this for functions which it implements
33673 to always fail with ENOSYS. Some functions are actually named
33674 something starting with __ and the normal name is an alias. */
33675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33676 choke me
33677 #else
33678 char (*f) () = $ac_func;
33679 #endif
33680 #ifdef __cplusplus
33681 }
33682 #endif
33683
33684 int
33685 main ()
33686 {
33687 return f != $ac_func;
33688 ;
33689 return 0;
33690 }
33691 _ACEOF
33692 rm -f conftest.$ac_objext conftest$ac_exeext
33693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33694 (eval $ac_link) 2>&5
33695 ac_status=$?
33696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697 (exit $ac_status); } &&
33698 { ac_try='test -s conftest$ac_exeext'
33699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700 (eval $ac_try) 2>&5
33701 ac_status=$?
33702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703 (exit $ac_status); }; }; then
33704 eval "$as_ac_var=yes"
33705 else
33706 echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.$ac_ext >&5
33708
33709 eval "$as_ac_var=no"
33710 fi
33711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33712 fi
33713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715 if test `eval echo '${'$as_ac_var'}'` = yes; then
33716 cat >>confdefs.h <<_ACEOF
33717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33718 _ACEOF
33719 have_cos=1
33720 fi
33721 done
33722
33723
33724 for ac_func in floor
33725 do
33726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33727 echo "$as_me:$LINENO: checking for $ac_func" >&5
33728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33729 if eval "test \"\${$as_ac_var+set}\" = set"; then
33730 echo $ECHO_N "(cached) $ECHO_C" >&6
33731 else
33732 cat >conftest.$ac_ext <<_ACEOF
33733 #line $LINENO "configure"
33734 /* confdefs.h. */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 /* System header to define __stub macros and hopefully few prototypes,
33740 which can conflict with char $ac_func (); below.
33741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33742 <limits.h> exists even on freestanding compilers. */
33743 #ifdef __STDC__
33744 # include <limits.h>
33745 #else
33746 # include <assert.h>
33747 #endif
33748 /* Override any gcc2 internal prototype to avoid an error. */
33749 #ifdef __cplusplus
33750 extern "C"
33751 {
33752 #endif
33753 /* We use char because int might match the return type of a gcc2
33754 builtin and then its argument prototype would still apply. */
33755 char $ac_func ();
33756 /* The GNU C library defines this for functions which it implements
33757 to always fail with ENOSYS. Some functions are actually named
33758 something starting with __ and the normal name is an alias. */
33759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33760 choke me
33761 #else
33762 char (*f) () = $ac_func;
33763 #endif
33764 #ifdef __cplusplus
33765 }
33766 #endif
33767
33768 int
33769 main ()
33770 {
33771 return f != $ac_func;
33772 ;
33773 return 0;
33774 }
33775 _ACEOF
33776 rm -f conftest.$ac_objext conftest$ac_exeext
33777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33778 (eval $ac_link) 2>&5
33779 ac_status=$?
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); } &&
33782 { ac_try='test -s conftest$ac_exeext'
33783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784 (eval $ac_try) 2>&5
33785 ac_status=$?
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); }; }; then
33788 eval "$as_ac_var=yes"
33789 else
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33792
33793 eval "$as_ac_var=no"
33794 fi
33795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33796 fi
33797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33799 if test `eval echo '${'$as_ac_var'}'` = yes; then
33800 cat >>confdefs.h <<_ACEOF
33801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33802 _ACEOF
33803 have_floor=1
33804 fi
33805 done
33806
33807 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33808 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33809 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33810 echo "$as_me:$LINENO: result: yes" >&5
33811 echo "${ECHO_T}yes" >&6
33812 else
33813 echo "$as_me:$LINENO: result: no" >&5
33814 echo "${ECHO_T}no" >&6
33815 LIBS="$LIBS -lm"
33816 # use different functions to avoid configure caching
33817 have_sin=0
33818 have_ceil=0
33819
33820 for ac_func in sin
33821 do
33822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33823 echo "$as_me:$LINENO: checking for $ac_func" >&5
33824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33825 if eval "test \"\${$as_ac_var+set}\" = set"; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 else
33828 cat >conftest.$ac_ext <<_ACEOF
33829 #line $LINENO "configure"
33830 /* confdefs.h. */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 /* System header to define __stub macros and hopefully few prototypes,
33836 which can conflict with char $ac_func (); below.
33837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33838 <limits.h> exists even on freestanding compilers. */
33839 #ifdef __STDC__
33840 # include <limits.h>
33841 #else
33842 # include <assert.h>
33843 #endif
33844 /* Override any gcc2 internal prototype to avoid an error. */
33845 #ifdef __cplusplus
33846 extern "C"
33847 {
33848 #endif
33849 /* We use char because int might match the return type of a gcc2
33850 builtin and then its argument prototype would still apply. */
33851 char $ac_func ();
33852 /* The GNU C library defines this for functions which it implements
33853 to always fail with ENOSYS. Some functions are actually named
33854 something starting with __ and the normal name is an alias. */
33855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33856 choke me
33857 #else
33858 char (*f) () = $ac_func;
33859 #endif
33860 #ifdef __cplusplus
33861 }
33862 #endif
33863
33864 int
33865 main ()
33866 {
33867 return f != $ac_func;
33868 ;
33869 return 0;
33870 }
33871 _ACEOF
33872 rm -f conftest.$ac_objext conftest$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874 (eval $ac_link) 2>&5
33875 ac_status=$?
33876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33877 (exit $ac_status); } &&
33878 { ac_try='test -s conftest$ac_exeext'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; }; then
33884 eval "$as_ac_var=yes"
33885 else
33886 echo "$as_me: failed program was:" >&5
33887 sed 's/^/| /' conftest.$ac_ext >&5
33888
33889 eval "$as_ac_var=no"
33890 fi
33891 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33892 fi
33893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33895 if test `eval echo '${'$as_ac_var'}'` = yes; then
33896 cat >>confdefs.h <<_ACEOF
33897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33898 _ACEOF
33899 have_sin=1
33900 fi
33901 done
33902
33903
33904 for ac_func in ceil
33905 do
33906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33907 echo "$as_me:$LINENO: checking for $ac_func" >&5
33908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33909 if eval "test \"\${$as_ac_var+set}\" = set"; then
33910 echo $ECHO_N "(cached) $ECHO_C" >&6
33911 else
33912 cat >conftest.$ac_ext <<_ACEOF
33913 #line $LINENO "configure"
33914 /* confdefs.h. */
33915 _ACEOF
33916 cat confdefs.h >>conftest.$ac_ext
33917 cat >>conftest.$ac_ext <<_ACEOF
33918 /* end confdefs.h. */
33919 /* System header to define __stub macros and hopefully few prototypes,
33920 which can conflict with char $ac_func (); below.
33921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33922 <limits.h> exists even on freestanding compilers. */
33923 #ifdef __STDC__
33924 # include <limits.h>
33925 #else
33926 # include <assert.h>
33927 #endif
33928 /* Override any gcc2 internal prototype to avoid an error. */
33929 #ifdef __cplusplus
33930 extern "C"
33931 {
33932 #endif
33933 /* We use char because int might match the return type of a gcc2
33934 builtin and then its argument prototype would still apply. */
33935 char $ac_func ();
33936 /* The GNU C library defines this for functions which it implements
33937 to always fail with ENOSYS. Some functions are actually named
33938 something starting with __ and the normal name is an alias. */
33939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33940 choke me
33941 #else
33942 char (*f) () = $ac_func;
33943 #endif
33944 #ifdef __cplusplus
33945 }
33946 #endif
33947
33948 int
33949 main ()
33950 {
33951 return f != $ac_func;
33952 ;
33953 return 0;
33954 }
33955 _ACEOF
33956 rm -f conftest.$ac_objext conftest$ac_exeext
33957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33958 (eval $ac_link) 2>&5
33959 ac_status=$?
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try='test -s conftest$ac_exeext'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; }; then
33968 eval "$as_ac_var=yes"
33969 else
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.$ac_ext >&5
33972
33973 eval "$as_ac_var=no"
33974 fi
33975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33976 fi
33977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33979 if test `eval echo '${'$as_ac_var'}'` = yes; then
33980 cat >>confdefs.h <<_ACEOF
33981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33982 _ACEOF
33983 have_ceil=1
33984 fi
33985 done
33986
33987 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33988 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33989 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33990 echo "$as_me:$LINENO: result: yes" >&5
33991 echo "${ECHO_T}yes" >&6
33992 else
33993 echo "$as_me:$LINENO: result: no" >&5
33994 echo "${ECHO_T}no" >&6
33995 # not sure we should warn the user, crash, etc.
33996 fi
33997 fi
33998
33999 if test "$wxUSE_GUI" = "yes"; then
34000
34001
34002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34003 drawing dynamic erase event exec font image \
34004 minimal propsize rotate shaped widgets render"
34005
34006 if test "$wxUSE_MONOLITHIC" != "yes"; then
34007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34008 fi
34009 else
34010 SAMPLES_SUBDIRS="console"
34011 fi
34012
34013
34014 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34015 -I\${top_srcdir}/include \
34016 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34017 $TOOLKIT_INCLUDE"
34018
34019 if test "$GXX" = yes ; then
34020 CXXWARNINGS="-Wall"
34021 fi
34022
34023 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34024
34025 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34026 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34027 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34028
34029
34030 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34031 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34032 EXTRALIBS_XML="$EXPAT_LINK"
34033 EXTRALIBS_HTML="$MSPACK_LINK"
34034 EXTRALIBS_ODBC="$ODBC_LINK"
34035 if test "$wxUSE_GUI" = "yes"; then
34036 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34037 fi
34038 if test "$wxUSE_OPENGL" = "yes"; then
34039 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34040 fi
34041
34042 LDFLAGS="$LDFLAGS $PROFILE"
34043
34044 if test "$wxUSE_GTK" = 1; then
34045 WXCONFIG_INCLUDE=
34046 else
34047 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34048 fi
34049
34050 WXCONFIG_EXTRALIBS="$LIBS"
34051
34052 if test "$wxUSE_REGEX" = "builtin" ; then
34053 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34054 fi
34055 if test "$wxUSE_EXPAT" = "builtin" ; then
34056 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34057 fi
34058 if test "$wxUSE_ODBC" = "builtin" ; then
34059 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34060 fi
34061 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34062 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34063 fi
34064 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34065 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34066 fi
34067 if test "$wxUSE_LIBPNG" = "builtin" ; then
34068 wxconfig_3rdparty="$wxconfig_3rdparty png"
34069 fi
34070 if test "$wxUSE_ZLIB" = "builtin" ; then
34071 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34072 fi
34073 if test "$wxUSE_ODBC" = "builtin" ; then
34074 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34075 fi
34076
34077 for i in $wxconfig_3rdparty ; do
34078 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34079 done
34080
34081
34082 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34083 WXUNIV=1
34084 else
34085 WXUNIV=0
34086 fi
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096 if test $wxUSE_MONOLITHIC = "yes" ; then
34097 MONOLITHIC=1
34098 else
34099 MONOLITHIC=0
34100 fi
34101
34102 if test $wxUSE_ODBC != "no" ; then
34103 USE_ODBC=1
34104 else
34105 USE_ODBC=0
34106 fi
34107
34108 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34109 OFFICIAL_BUILD=1
34110 else
34111 OFFICIAL_BUILD=0
34112 fi
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34132
34133
34134
34135
34136
34137
34138
34139 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34140
34141 if test -n "$ac_tool_prefix"; then
34142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34144 echo "$as_me:$LINENO: checking for $ac_word" >&5
34145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34146 if test "${ac_cv_prog_RANLIB+set}" = set; then
34147 echo $ECHO_N "(cached) $ECHO_C" >&6
34148 else
34149 if test -n "$RANLIB"; then
34150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34151 else
34152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34153 for as_dir in $PATH
34154 do
34155 IFS=$as_save_IFS
34156 test -z "$as_dir" && as_dir=.
34157 for ac_exec_ext in '' $ac_executable_extensions; do
34158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34161 break 2
34162 fi
34163 done
34164 done
34165
34166 fi
34167 fi
34168 RANLIB=$ac_cv_prog_RANLIB
34169 if test -n "$RANLIB"; then
34170 echo "$as_me:$LINENO: result: $RANLIB" >&5
34171 echo "${ECHO_T}$RANLIB" >&6
34172 else
34173 echo "$as_me:$LINENO: result: no" >&5
34174 echo "${ECHO_T}no" >&6
34175 fi
34176
34177 fi
34178 if test -z "$ac_cv_prog_RANLIB"; then
34179 ac_ct_RANLIB=$RANLIB
34180 # Extract the first word of "ranlib", so it can be a program name with args.
34181 set dummy ranlib; ac_word=$2
34182 echo "$as_me:$LINENO: checking for $ac_word" >&5
34183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34186 else
34187 if test -n "$ac_ct_RANLIB"; then
34188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34189 else
34190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34191 for as_dir in $PATH
34192 do
34193 IFS=$as_save_IFS
34194 test -z "$as_dir" && as_dir=.
34195 for ac_exec_ext in '' $ac_executable_extensions; do
34196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34197 ac_cv_prog_ac_ct_RANLIB="ranlib"
34198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34199 break 2
34200 fi
34201 done
34202 done
34203
34204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34205 fi
34206 fi
34207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34208 if test -n "$ac_ct_RANLIB"; then
34209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34211 else
34212 echo "$as_me:$LINENO: result: no" >&5
34213 echo "${ECHO_T}no" >&6
34214 fi
34215
34216 RANLIB=$ac_ct_RANLIB
34217 else
34218 RANLIB="$ac_cv_prog_RANLIB"
34219 fi
34220
34221 # Find a good install program. We prefer a C program (faster),
34222 # so one script is as good as another. But avoid the broken or
34223 # incompatible versions:
34224 # SysV /etc/install, /usr/sbin/install
34225 # SunOS /usr/etc/install
34226 # IRIX /sbin/install
34227 # AIX /bin/install
34228 # AmigaOS /C/install, which installs bootblocks on floppy discs
34229 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34230 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34231 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34232 # ./install, which can be erroneously created by make from ./install.sh.
34233 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34234 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34235 if test -z "$INSTALL"; then
34236 if test "${ac_cv_path_install+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34238 else
34239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34240 for as_dir in $PATH
34241 do
34242 IFS=$as_save_IFS
34243 test -z "$as_dir" && as_dir=.
34244 # Account for people who put trailing slashes in PATH elements.
34245 case $as_dir/ in
34246 ./ | .// | /cC/* | \
34247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34248 /usr/ucb/* ) ;;
34249 *)
34250 # OSF1 and SCO ODT 3.0 have their own names for install.
34251 # Don't use installbsd from OSF since it installs stuff as root
34252 # by default.
34253 for ac_prog in ginstall scoinst install; do
34254 for ac_exec_ext in '' $ac_executable_extensions; do
34255 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34256 if test $ac_prog = install &&
34257 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34258 # AIX install. It has an incompatible calling convention.
34259 :
34260 elif test $ac_prog = install &&
34261 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34262 # program-specific install script used by HP pwplus--don't use.
34263 :
34264 else
34265 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34266 break 3
34267 fi
34268 fi
34269 done
34270 done
34271 ;;
34272 esac
34273 done
34274
34275
34276 fi
34277 if test "${ac_cv_path_install+set}" = set; then
34278 INSTALL=$ac_cv_path_install
34279 else
34280 # As a last resort, use the slow shell script. We don't cache a
34281 # path for INSTALL within a source directory, because that will
34282 # break other packages using the cache if that directory is
34283 # removed, or if the path is relative.
34284 INSTALL=$ac_install_sh
34285 fi
34286 fi
34287 echo "$as_me:$LINENO: result: $INSTALL" >&5
34288 echo "${ECHO_T}$INSTALL" >&6
34289
34290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34291 # It thinks the first close brace ends the variable substitution.
34292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34293
34294 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34295
34296 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34297
34298 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34299 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34300 LN_S=$as_ln_s
34301 if test "$LN_S" = "ln -s"; then
34302 echo "$as_me:$LINENO: result: yes" >&5
34303 echo "${ECHO_T}yes" >&6
34304 else
34305 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34306 echo "${ECHO_T}no, using $LN_S" >&6
34307 fi
34308
34309
34310 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34311 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34312 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34313 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34314 echo $ECHO_N "(cached) $ECHO_C" >&6
34315 else
34316 cat >conftest.make <<\_ACEOF
34317 all:
34318 @echo 'ac_maketemp="$(MAKE)"'
34319 _ACEOF
34320 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34321 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34322 if test -n "$ac_maketemp"; then
34323 eval ac_cv_prog_make_${ac_make}_set=yes
34324 else
34325 eval ac_cv_prog_make_${ac_make}_set=no
34326 fi
34327 rm -f conftest.make
34328 fi
34329 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34330 echo "$as_me:$LINENO: result: yes" >&5
34331 echo "${ECHO_T}yes" >&6
34332 SET_MAKE=
34333 else
34334 echo "$as_me:$LINENO: result: no" >&5
34335 echo "${ECHO_T}no" >&6
34336 SET_MAKE="MAKE=${MAKE-make}"
34337 fi
34338
34339
34340
34341 if test -n "$ac_tool_prefix"; then
34342 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34343 set dummy ${ac_tool_prefix}ar; ac_word=$2
34344 echo "$as_me:$LINENO: checking for $ac_word" >&5
34345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34346 if test "${ac_cv_prog_AR+set}" = set; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 else
34349 if test -n "$AR"; then
34350 ac_cv_prog_AR="$AR" # Let the user override the test.
34351 else
34352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34353 for as_dir in $PATH
34354 do
34355 IFS=$as_save_IFS
34356 test -z "$as_dir" && as_dir=.
34357 for ac_exec_ext in '' $ac_executable_extensions; do
34358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34359 ac_cv_prog_AR="${ac_tool_prefix}ar"
34360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34361 break 2
34362 fi
34363 done
34364 done
34365
34366 fi
34367 fi
34368 AR=$ac_cv_prog_AR
34369 if test -n "$AR"; then
34370 echo "$as_me:$LINENO: result: $AR" >&5
34371 echo "${ECHO_T}$AR" >&6
34372 else
34373 echo "$as_me:$LINENO: result: no" >&5
34374 echo "${ECHO_T}no" >&6
34375 fi
34376
34377 fi
34378 if test -z "$ac_cv_prog_AR"; then
34379 ac_ct_AR=$AR
34380 # Extract the first word of "ar", so it can be a program name with args.
34381 set dummy ar; ac_word=$2
34382 echo "$as_me:$LINENO: checking for $ac_word" >&5
34383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34384 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34386 else
34387 if test -n "$ac_ct_AR"; then
34388 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34389 else
34390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34391 for as_dir in $PATH
34392 do
34393 IFS=$as_save_IFS
34394 test -z "$as_dir" && as_dir=.
34395 for ac_exec_ext in '' $ac_executable_extensions; do
34396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34397 ac_cv_prog_ac_ct_AR="ar"
34398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34399 break 2
34400 fi
34401 done
34402 done
34403
34404 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34405 fi
34406 fi
34407 ac_ct_AR=$ac_cv_prog_ac_ct_AR
34408 if test -n "$ac_ct_AR"; then
34409 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34410 echo "${ECHO_T}$ac_ct_AR" >&6
34411 else
34412 echo "$as_me:$LINENO: result: no" >&5
34413 echo "${ECHO_T}no" >&6
34414 fi
34415
34416 AR=$ac_ct_AR
34417 else
34418 AR="$ac_cv_prog_AR"
34419 fi
34420
34421 if test -n "$ac_tool_prefix"; then
34422 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34423 set dummy ${ac_tool_prefix}strip; ac_word=$2
34424 echo "$as_me:$LINENO: checking for $ac_word" >&5
34425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34426 if test "${ac_cv_prog_STRIP+set}" = set; then
34427 echo $ECHO_N "(cached) $ECHO_C" >&6
34428 else
34429 if test -n "$STRIP"; then
34430 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34431 else
34432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34433 for as_dir in $PATH
34434 do
34435 IFS=$as_save_IFS
34436 test -z "$as_dir" && as_dir=.
34437 for ac_exec_ext in '' $ac_executable_extensions; do
34438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34439 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34441 break 2
34442 fi
34443 done
34444 done
34445
34446 fi
34447 fi
34448 STRIP=$ac_cv_prog_STRIP
34449 if test -n "$STRIP"; then
34450 echo "$as_me:$LINENO: result: $STRIP" >&5
34451 echo "${ECHO_T}$STRIP" >&6
34452 else
34453 echo "$as_me:$LINENO: result: no" >&5
34454 echo "${ECHO_T}no" >&6
34455 fi
34456
34457 fi
34458 if test -z "$ac_cv_prog_STRIP"; then
34459 ac_ct_STRIP=$STRIP
34460 # Extract the first word of "strip", so it can be a program name with args.
34461 set dummy strip; ac_word=$2
34462 echo "$as_me:$LINENO: checking for $ac_word" >&5
34463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34464 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34466 else
34467 if test -n "$ac_ct_STRIP"; then
34468 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34469 else
34470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34471 for as_dir in $PATH
34472 do
34473 IFS=$as_save_IFS
34474 test -z "$as_dir" && as_dir=.
34475 for ac_exec_ext in '' $ac_executable_extensions; do
34476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34477 ac_cv_prog_ac_ct_STRIP="strip"
34478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34479 break 2
34480 fi
34481 done
34482 done
34483
34484 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34485 fi
34486 fi
34487 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34488 if test -n "$ac_ct_STRIP"; then
34489 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34490 echo "${ECHO_T}$ac_ct_STRIP" >&6
34491 else
34492 echo "$as_me:$LINENO: result: no" >&5
34493 echo "${ECHO_T}no" >&6
34494 fi
34495
34496 STRIP=$ac_ct_STRIP
34497 else
34498 STRIP="$ac_cv_prog_STRIP"
34499 fi
34500
34501 if test -n "$ac_tool_prefix"; then
34502 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34503 set dummy ${ac_tool_prefix}nm; ac_word=$2
34504 echo "$as_me:$LINENO: checking for $ac_word" >&5
34505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34506 if test "${ac_cv_prog_NM+set}" = set; then
34507 echo $ECHO_N "(cached) $ECHO_C" >&6
34508 else
34509 if test -n "$NM"; then
34510 ac_cv_prog_NM="$NM" # Let the user override the test.
34511 else
34512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34513 for as_dir in $PATH
34514 do
34515 IFS=$as_save_IFS
34516 test -z "$as_dir" && as_dir=.
34517 for ac_exec_ext in '' $ac_executable_extensions; do
34518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34519 ac_cv_prog_NM="${ac_tool_prefix}nm"
34520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34521 break 2
34522 fi
34523 done
34524 done
34525
34526 fi
34527 fi
34528 NM=$ac_cv_prog_NM
34529 if test -n "$NM"; then
34530 echo "$as_me:$LINENO: result: $NM" >&5
34531 echo "${ECHO_T}$NM" >&6
34532 else
34533 echo "$as_me:$LINENO: result: no" >&5
34534 echo "${ECHO_T}no" >&6
34535 fi
34536
34537 fi
34538 if test -z "$ac_cv_prog_NM"; then
34539 ac_ct_NM=$NM
34540 # Extract the first word of "nm", so it can be a program name with args.
34541 set dummy nm; ac_word=$2
34542 echo "$as_me:$LINENO: checking for $ac_word" >&5
34543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34544 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 else
34547 if test -n "$ac_ct_NM"; then
34548 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34549 else
34550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34551 for as_dir in $PATH
34552 do
34553 IFS=$as_save_IFS
34554 test -z "$as_dir" && as_dir=.
34555 for ac_exec_ext in '' $ac_executable_extensions; do
34556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34557 ac_cv_prog_ac_ct_NM="nm"
34558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34559 break 2
34560 fi
34561 done
34562 done
34563
34564 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34565 fi
34566 fi
34567 ac_ct_NM=$ac_cv_prog_ac_ct_NM
34568 if test -n "$ac_ct_NM"; then
34569 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34570 echo "${ECHO_T}$ac_ct_NM" >&6
34571 else
34572 echo "$as_me:$LINENO: result: no" >&5
34573 echo "${ECHO_T}no" >&6
34574 fi
34575
34576 NM=$ac_ct_NM
34577 else
34578 NM="$ac_cv_prog_NM"
34579 fi
34580
34581
34582 case ${host} in
34583 *-hp-hpux* )
34584 INSTALL_DIR="mkdir"
34585 ;;
34586 *) INSTALL_DIR="$INSTALL -d"
34587 ;;
34588 esac
34589
34590
34591 LDFLAGS_GUI=
34592 case ${host} in
34593 *-*-cygwin* | *-*-mingw32* )
34594 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34595 esac
34596
34597
34598 fi
34599
34600 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34601 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34602 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34603 echo $ECHO_N "(cached) $ECHO_C" >&6
34604 else
34605
34606 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34607 egrep -s GNU > /dev/null); then
34608 bakefile_cv_prog_makeisgnu="yes"
34609 else
34610 bakefile_cv_prog_makeisgnu="no"
34611 fi
34612
34613 fi
34614 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34615 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34616
34617 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34618 IF_GNU_MAKE=""
34619 else
34620 IF_GNU_MAKE="#"
34621 fi
34622
34623
34624
34625 PLATFORM_UNIX=0
34626 PLATFORM_WIN32=0
34627 PLATFORM_MSDOS=0
34628 PLATFORM_MAC=0
34629 PLATFORM_MACOSX=0
34630 PLATFORM_OS2=0
34631
34632 case "${host}" in
34633 *-*-cygwin* | *-*-mingw32* )
34634 PLATFORM_WIN32=1
34635 ;;
34636 *-pc-msdosdjgpp )
34637 PLATFORM_MSDOS=1
34638 ;;
34639 *-pc-os2_emx | *-pc-os2-emx )
34640 PLATFORM_OS2=1
34641 ;;
34642 powerpc-*-darwin* )
34643 PLATFORM_MAC=1
34644 PLATFORM_MACOSX=1
34645 ;;
34646 * )
34647 PLATFORM_UNIX=1
34648 ;;
34649 esac
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659 SO_SUFFIX="so"
34660 SO_SUFFIX_MODULE="so"
34661 EXEEXT=""
34662 LIBPREFIX=lib
34663 DLLPREFIX=lib
34664 DLLPREFIX_MODULE=
34665
34666 case "${host}" in
34667 *-hp-hpux* )
34668 SO_SUFFIX="sl"
34669 SO_SUFFIX_MODULE="sl"
34670 ;;
34671 *-*-aix* )
34672 SO_SUFFIX="a"
34673 SO_SUFFIX_MODULE="a"
34674 ;;
34675 *-*-cygwin* | *-*-mingw32* )
34676 SO_SUFFIX="dll"
34677 SO_SUFFIX_MODULE="dll"
34678 EXEEXT=".exe"
34679 DLLPREFIX=""
34680 ;;
34681 *-pc-msdosdjgpp )
34682 EXEEXT=".exe"
34683 DLLPREFIX=""
34684 ;;
34685 *-pc-os2_emx | *-pc-os2-emx )
34686 EXEEXT=".exe"
34687 DLLPREFIX=""
34688 LIBPREFIX=""
34689 ;;
34690 powerpc-*-darwin* )
34691 SO_SUFFIX="dylib"
34692 SO_SUFFIX_MODULE="bundle"
34693 ;;
34694 esac
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704 SHARED_LD_CC="\$(CC) -shared -o"
34705 SHARED_LD_CXX="\$(CXX) -shared -o"
34706
34707 if test "x$GCC" = "xyes"; then
34708 PIC_FLAG="-fPIC"
34709 fi
34710
34711 case "${host}" in
34712 *-hp-hpux* )
34713 if test "x$GCC" = "xyes"; then
34714 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34715 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34716 else
34717 LDFLAGS="$LDFLAGS -L/usr/lib"
34718
34719 SHARED_LD_CC="${CC} -b -o"
34720 SHARED_LD_CXX="${CXX} -b -o"
34721 PIC_FLAG="+Z"
34722 fi
34723 ;;
34724
34725 *-*-linux* )
34726 if test "x$GCC" != "xyes"; then
34727 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34728 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34729 if test "${bakefile_cv_prog_icc+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 else
34732
34733 cat >conftest.$ac_ext <<_ACEOF
34734 #line $LINENO "configure"
34735 /* confdefs.h. */
34736 _ACEOF
34737 cat confdefs.h >>conftest.$ac_ext
34738 cat >>conftest.$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34740
34741 int
34742 main ()
34743 {
34744
34745 #ifndef __INTEL_COMPILER
34746 #error Not icc
34747 #endif
34748
34749 ;
34750 return 0;
34751 }
34752 _ACEOF
34753 rm -f conftest.$ac_objext
34754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34755 (eval $ac_compile) 2>&5
34756 ac_status=$?
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } &&
34759 { ac_try='test -s conftest.$ac_objext'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34762 ac_status=$?
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; }; then
34765 bakefile_cv_prog_icc=yes
34766 else
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.$ac_ext >&5
34769
34770 bakefile_cv_prog_icc=no
34771
34772 fi
34773 rm -f conftest.$ac_objext conftest.$ac_ext
34774
34775 fi
34776 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34777 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34778 if test "$bakefile_cv_prog_icc" = "yes"; then
34779 PIC_FLAG="-KPIC"
34780 fi
34781 fi
34782 ;;
34783
34784 *-*-solaris2* )
34785 if test "x$GCC" != xyes ; then
34786 SHARED_LD_CC="${CC} -G -o"
34787 SHARED_LD_CXX="${CXX} -G -o"
34788 PIC_FLAG="-KPIC"
34789 fi
34790 ;;
34791
34792 *-*-darwin* )
34793 CFLAGS="$CFLAGS -fno-common"
34794 CXXFLAGS="$CXXFLAGS -fno-common"
34795
34796
34797 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34798 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34799 if test "${wx_cv_gcc31+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34801 else
34802
34803 cat >conftest.$ac_ext <<_ACEOF
34804 #line $LINENO "configure"
34805 /* confdefs.h. */
34806 _ACEOF
34807 cat confdefs.h >>conftest.$ac_ext
34808 cat >>conftest.$ac_ext <<_ACEOF
34809 /* end confdefs.h. */
34810
34811 int
34812 main ()
34813 {
34814
34815 #if (__GNUC__ < 3) || \
34816 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34817 #error old gcc
34818 #endif
34819
34820 ;
34821 return 0;
34822 }
34823 _ACEOF
34824 rm -f conftest.$ac_objext
34825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34826 (eval $ac_compile) 2>&5
34827 ac_status=$?
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); } &&
34830 { ac_try='test -s conftest.$ac_objext'
34831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34832 (eval $ac_try) 2>&5
34833 ac_status=$?
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); }; }; then
34836
34837 wx_cv_gcc31=yes
34838
34839 else
34840 echo "$as_me: failed program was:" >&5
34841 sed 's/^/| /' conftest.$ac_ext >&5
34842
34843
34844 wx_cv_gcc31=no
34845
34846
34847 fi
34848 rm -f conftest.$ac_objext conftest.$ac_ext
34849
34850 fi
34851 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34852 echo "${ECHO_T}$wx_cv_gcc31" >&6
34853 if test "$wx_cv_gcc31" = "no"; then
34854 cat <<EOF >shared-ld-sh
34855 #!/bin/sh
34856 #-----------------------------------------------------------------------------
34857 #-- Name: distrib/mac/shared-ld-sh
34858 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34859 #-- Author: Gilles Depeyrot
34860 #-- Copyright: (c) 2002 Gilles Depeyrot
34861 #-- Licence: any use permitted
34862 #-----------------------------------------------------------------------------
34863
34864 verbose=0
34865 args=""
34866 objects=""
34867 linking_flag="-dynamiclib"
34868
34869 while test \${#} -gt 0; do
34870 case \${1} in
34871
34872 -v)
34873 verbose=1
34874 ;;
34875
34876 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34877 # collect these options and values
34878 args="\${args} \${1} \${2}"
34879 shift
34880 ;;
34881
34882 -l*|-L*|-flat_namespace)
34883 # collect these options
34884 args="\${args} \${1}"
34885 ;;
34886
34887 -dynamiclib|-bundle)
34888 linking_flag="\${1}"
34889 ;;
34890
34891 -*)
34892 echo "shared-ld: unhandled option '\${1}'"
34893 exit 1
34894 ;;
34895
34896 *.o | *.a | *.dylib)
34897 # collect object files
34898 objects="\${objects} \${1}"
34899 ;;
34900
34901 *)
34902 echo "shared-ld: unhandled argument '\${1}'"
34903 exit 1
34904 ;;
34905
34906 esac
34907 shift
34908 done
34909
34910 #
34911 # Link one module containing all the others
34912 #
34913 if test \${verbose} = 1; then
34914 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34915 fi
34916 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34917 status=\$?
34918 if test \${status} != 0; then
34919 exit \${status}
34920 fi
34921
34922 #
34923 # Link the shared library from the single module created
34924 #
34925 if test \${verbose} = 1; then
34926 echo "cc \${linking_flag} master.\$\$.o \${args}"
34927 fi
34928 c++ \${linking_flag} master.\$\$.o \${args}
34929 status=\$?
34930 if test \${status} != 0; then
34931 exit \${status}
34932 fi
34933
34934 #
34935 # Remove intermediate module
34936 #
34937 rm -f master.\$\$.o
34938
34939 exit 0
34940 EOF
34941 chmod +x shared-ld-sh
34942
34943 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
34944 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
34945 SHARED_LD_CXX="$SHARED_LD_CC"
34946 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34947 else
34948 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
34949 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
34950 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
34951 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
34952 fi
34953
34954 PIC_FLAG="-dynamic -fPIC"
34955 ;;
34956
34957 *-*-aix* )
34958 if test "x$GCC" != "xyes"; then
34959 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34960 set dummy makeC++SharedLib; ac_word=$2
34961 echo "$as_me:$LINENO: checking for $ac_word" >&5
34962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34963 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34965 else
34966 if test -n "$AIX_CXX_LD"; then
34967 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34968 else
34969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34970 for as_dir in $PATH
34971 do
34972 IFS=$as_save_IFS
34973 test -z "$as_dir" && as_dir=.
34974 for ac_exec_ext in '' $ac_executable_extensions; do
34975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34976 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34978 break 2
34979 fi
34980 done
34981 done
34982
34983 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34984 fi
34985 fi
34986 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34987 if test -n "$AIX_CXX_LD"; then
34988 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34989 echo "${ECHO_T}$AIX_CXX_LD" >&6
34990 else
34991 echo "$as_me:$LINENO: result: no" >&5
34992 echo "${ECHO_T}no" >&6
34993 fi
34994
34995 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34996 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34997 fi
34998 ;;
34999
35000 *-*-beos* )
35001 SHARED_LD_CC="${LD} -shared -o"
35002 SHARED_LD_CXX="${LD} -shared -o"
35003 ;;
35004
35005 *-*-irix* )
35006 if test "x$GCC" != "xyes"; then
35007 PIC_FLAG="-KPIC"
35008 fi
35009 ;;
35010
35011 *-*-cygwin* | *-*-mingw32* )
35012 PIC_FLAG=""
35013 ;;
35014
35015 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35016 *-*-sunos4* | \
35017 *-*-osf* | \
35018 *-*-dgux5* | \
35019 *-pc-os2_emx | *-pc-os2-emx | \
35020 *-*-sysv5* )
35021 ;;
35022
35023 *)
35024 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35025 echo "$as_me: error: unknown system type $host." >&2;}
35026 { (exit 1); exit 1; }; }
35027 esac
35028
35029 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35030 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35031 fi
35032 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35033 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35034 fi
35035
35036
35037
35038
35039
35040
35041
35042
35043 USE_SOVERSION=0
35044 USE_SOVERLINUX=0
35045 USE_SOVERSOLARIS=0
35046 USE_SOSYMLINKS=0
35047 USE_MACVERSION=0
35048 SONAME_FLAG=
35049
35050 case "${host}" in
35051 *-*-linux* )
35052 SONAME_FLAG="-Wl,-soname,"
35053 USE_SOVERSION=1
35054 USE_SOVERLINUX=1
35055 USE_SOSYMLINKS=1
35056 ;;
35057
35058 *-*-solaris2* )
35059 SONAME_FLAG="-h "
35060 USE_SOVERSION=1
35061 USE_SOVERSOLARIS=1
35062 USE_SOSYMLINKS=1
35063 ;;
35064
35065 *-*-darwin* )
35066 USE_MACVERSION=1
35067 USE_SOVERSION=1
35068 USE_SOSYMLINKS=1
35069 ;;
35070 esac
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35081 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35082 DEPS_TRACKING=0
35083
35084 if test "x$GCC" = "xyes"; then
35085 DEPSMODE=gcc
35086 DEPS_TRACKING=1
35087 case "${host}" in
35088 powerpc-*-darwin* )
35089 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35090 ;;
35091 * )
35092 DEPSFLAG_GCC="-MMD"
35093 ;;
35094 esac
35095 echo "$as_me:$LINENO: result: gcc" >&5
35096 echo "${ECHO_T}gcc" >&6
35097 else
35098 echo "$as_me:$LINENO: result: none" >&5
35099 echo "${ECHO_T}none" >&6
35100 fi
35101
35102 if test $DEPS_TRACKING = 1 ; then
35103 cat <<EOF >bk-deps
35104 #!/bin/sh
35105
35106 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35107 # script. It is used to track C/C++ files dependencies in portable way.
35108 #
35109 # Permission is given to use this file in any way.
35110
35111 DEPSMODE=$DEPSMODE
35112 DEPSDIR=.deps
35113 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35114
35115 mkdir -p \$DEPSDIR
35116
35117 if test \$DEPSMODE = gcc ; then
35118 \${*} \${DEPSFLAG_GCC}
35119 status=\${?}
35120 if test \${status} != 0 ; then
35121 exit \${status}
35122 fi
35123 # move created file to the location we want it in:
35124 while test \${#} -gt 0; do
35125 case "\${1}" in
35126 -o )
35127 shift
35128 objfile=\${1}
35129 ;;
35130 -* )
35131 ;;
35132 * )
35133 srcfile=\${1}
35134 ;;
35135 esac
35136 shift
35137 done
35138 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35139 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35140 if test -f \$depfile ; then
35141 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35142 rm -f \$depfile
35143 else
35144 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35145 if test -f \$depfile ; then
35146 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35147 rm -f \$depfile
35148 fi
35149 fi
35150 exit 0
35151 else
35152 \${*}
35153 exit \${?}
35154 fi
35155 EOF
35156 chmod +x bk-deps
35157 fi
35158
35159
35160
35161
35162 RESCOMP=
35163 SETFILE=
35164
35165 case ${host} in
35166 *-*-cygwin* | *-*-mingw32* )
35167 if test "$build" != "$host" ; then
35168 RESCOMP=$host_alias-windres
35169 else
35170 # Extract the first word of "windres", so it can be a program name with args.
35171 set dummy windres; ac_word=$2
35172 echo "$as_me:$LINENO: checking for $ac_word" >&5
35173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35174 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 else
35177 if test -n "$RESCOMP"; then
35178 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35179 else
35180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35181 for as_dir in $PATH
35182 do
35183 IFS=$as_save_IFS
35184 test -z "$as_dir" && as_dir=.
35185 for ac_exec_ext in '' $ac_executable_extensions; do
35186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35187 ac_cv_prog_RESCOMP="windres"
35188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35189 break 2
35190 fi
35191 done
35192 done
35193
35194 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35195 fi
35196 fi
35197 RESCOMP=$ac_cv_prog_RESCOMP
35198 if test -n "$RESCOMP"; then
35199 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35200 echo "${ECHO_T}$RESCOMP" >&6
35201 else
35202 echo "$as_me:$LINENO: result: no" >&5
35203 echo "${ECHO_T}no" >&6
35204 fi
35205
35206 fi
35207 ;;
35208
35209 *-*-darwin* )
35210 # Extract the first word of "Rez", so it can be a program name with args.
35211 set dummy Rez; ac_word=$2
35212 echo "$as_me:$LINENO: checking for $ac_word" >&5
35213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35214 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35216 else
35217 if test -n "$RESCOMP"; then
35218 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35219 else
35220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35221 for as_dir in $PATH
35222 do
35223 IFS=$as_save_IFS
35224 test -z "$as_dir" && as_dir=.
35225 for ac_exec_ext in '' $ac_executable_extensions; do
35226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35227 ac_cv_prog_RESCOMP="Rez"
35228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35229 break 2
35230 fi
35231 done
35232 done
35233
35234 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35235 fi
35236 fi
35237 RESCOMP=$ac_cv_prog_RESCOMP
35238 if test -n "$RESCOMP"; then
35239 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35240 echo "${ECHO_T}$RESCOMP" >&6
35241 else
35242 echo "$as_me:$LINENO: result: no" >&5
35243 echo "${ECHO_T}no" >&6
35244 fi
35245
35246 # Extract the first word of "SetFile", so it can be a program name with args.
35247 set dummy SetFile; ac_word=$2
35248 echo "$as_me:$LINENO: checking for $ac_word" >&5
35249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35250 if test "${ac_cv_prog_SETFILE+set}" = set; then
35251 echo $ECHO_N "(cached) $ECHO_C" >&6
35252 else
35253 if test -n "$SETFILE"; then
35254 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35255 else
35256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35257 for as_dir in $PATH
35258 do
35259 IFS=$as_save_IFS
35260 test -z "$as_dir" && as_dir=.
35261 for ac_exec_ext in '' $ac_executable_extensions; do
35262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35263 ac_cv_prog_SETFILE="SetFile"
35264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35265 break 2
35266 fi
35267 done
35268 done
35269
35270 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35271 fi
35272 fi
35273 SETFILE=$ac_cv_prog_SETFILE
35274 if test -n "$SETFILE"; then
35275 echo "$as_me:$LINENO: result: $SETFILE" >&5
35276 echo "${ECHO_T}$SETFILE" >&6
35277 else
35278 echo "$as_me:$LINENO: result: no" >&5
35279 echo "${ECHO_T}no" >&6
35280 fi
35281
35282 ;;
35283 esac
35284
35285
35286
35287
35288
35289
35290
35291
35292 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35293 if test "${enable_precomp_headers+set}" = set; then
35294 enableval="$enable_precomp_headers"
35295 bk_use_pch="$enableval"
35296 fi;
35297
35298 GCC_PCH=0
35299
35300 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35301 if test "x$GCC" = "xyes"; then
35302 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35303 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35304 cat >conftest.$ac_ext <<_ACEOF
35305 #line $LINENO "configure"
35306 /* confdefs.h. */
35307 _ACEOF
35308 cat confdefs.h >>conftest.$ac_ext
35309 cat >>conftest.$ac_ext <<_ACEOF
35310 /* end confdefs.h. */
35311
35312 int
35313 main ()
35314 {
35315
35316 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35317 #error "no pch support"
35318 #endif
35319 #if (__GNUC__ < 3)
35320 #error "no pch support"
35321 #endif
35322 #if (__GNUC__ == 3) && \
35323 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35324 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35325 #error "no pch support"
35326 #endif
35327
35328 ;
35329 return 0;
35330 }
35331 _ACEOF
35332 rm -f conftest.$ac_objext
35333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35334 (eval $ac_compile) 2>&5
35335 ac_status=$?
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); } &&
35338 { ac_try='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35341 ac_status=$?
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35344
35345 echo "$as_me:$LINENO: result: yes" >&5
35346 echo "${ECHO_T}yes" >&6
35347 CPPFLAGS="-fpch-deps $CPPFLAGS"
35348 GCC_PCH=1
35349
35350 else
35351 echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.$ac_ext >&5
35353
35354
35355 echo "$as_me:$LINENO: result: no" >&5
35356 echo "${ECHO_T}no" >&6
35357
35358 fi
35359 rm -f conftest.$ac_objext conftest.$ac_ext
35360 if test $GCC_PCH = 1 ; then
35361 cat <<EOF >bk-make-pch
35362 #!/bin/sh
35363
35364 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35365 # script. It is used to generated precompiled headers.
35366 #
35367 # Permission is given to use this file in any way.
35368
35369 outfile="\${1}"
35370 header="\${2}"
35371 shift
35372 shift
35373
35374 compiler=
35375 headerfile=
35376 while test \${#} -gt 0; do
35377 case "\${1}" in
35378 -I* )
35379 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35380 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35381 headerfile="\${incdir}/\${header}"
35382 fi
35383 ;;
35384 esac
35385 compiler="\${compiler} \${1}"
35386 shift
35387 done
35388
35389 if test "x\${headerfile}" = "x" ; then
35390 echo "error: can't find header \${header} in include paths" >2
35391 else
35392 if test -f \${outfile} ; then
35393 rm -f \${outfile}
35394 else
35395 mkdir -p \`dirname \${outfile}\`
35396 fi
35397 depsfile=".deps/\`basename \${outfile}\`.d"
35398 mkdir -p .deps
35399 # can do this because gcc is >= 3.4:
35400 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35401 exit \${?}
35402 fi
35403 EOF
35404 chmod +x bk-make-pch
35405 fi
35406 fi
35407 fi
35408
35409
35410
35411
35412
35413 COND_BUILD_DEBUG="#"
35414 if test "x$BUILD" = "xdebug" ; then
35415 COND_BUILD_DEBUG=""
35416 fi
35417
35418 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35419 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35420 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35421 fi
35422
35423 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35424 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35425 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35426 fi
35427
35428 COND_BUILD_RELEASE="#"
35429 if test "x$BUILD" = "xrelease" ; then
35430 COND_BUILD_RELEASE=""
35431 fi
35432
35433 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35434 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35435 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35436 fi
35437
35438 COND_DEBUG_FLAG_1="#"
35439 if test "x$DEBUG_FLAG" = "x1" ; then
35440 COND_DEBUG_FLAG_1=""
35441 fi
35442
35443 COND_DEBUG_INFO_0="#"
35444 if test "x$DEBUG_INFO" = "x0" ; then
35445 COND_DEBUG_INFO_0=""
35446 fi
35447
35448 COND_DEBUG_INFO_1="#"
35449 if test "x$DEBUG_INFO" = "x1" ; then
35450 COND_DEBUG_INFO_1=""
35451 fi
35452
35453 COND_DEPS_TRACKING_0="#"
35454 if test "x$DEPS_TRACKING" = "x0" ; then
35455 COND_DEPS_TRACKING_0=""
35456 fi
35457
35458 COND_DEPS_TRACKING_1="#"
35459 if test "x$DEPS_TRACKING" = "x1" ; then
35460 COND_DEPS_TRACKING_1=""
35461 fi
35462
35463 COND_GCC_PCH_1="#"
35464 if test "x$GCC_PCH" = "x1" ; then
35465 COND_GCC_PCH_1=""
35466 fi
35467
35468 COND_MONOLITHIC_0="#"
35469 if test "x$MONOLITHIC" = "x0" ; then
35470 COND_MONOLITHIC_0=""
35471 fi
35472
35473 COND_MONOLITHIC_0_SHARED_0="#"
35474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35475 COND_MONOLITHIC_0_SHARED_0=""
35476 fi
35477
35478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35481 fi
35482
35483 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35486 fi
35487
35488 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35490 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35491 fi
35492
35493 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35495 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35496 fi
35497
35498 COND_MONOLITHIC_0_SHARED_1="#"
35499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35500 COND_MONOLITHIC_0_SHARED_1=""
35501 fi
35502
35503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35506 fi
35507
35508 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35510 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35511 fi
35512
35513 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35515 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35516 fi
35517
35518 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35519 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35520 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35521 fi
35522
35523 COND_MONOLITHIC_1="#"
35524 if test "x$MONOLITHIC" = "x1" ; then
35525 COND_MONOLITHIC_1=""
35526 fi
35527
35528 COND_MONOLITHIC_1_SHARED_0="#"
35529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35530 COND_MONOLITHIC_1_SHARED_0=""
35531 fi
35532
35533 COND_MONOLITHIC_1_SHARED_1="#"
35534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35535 COND_MONOLITHIC_1_SHARED_1=""
35536 fi
35537
35538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35541 fi
35542
35543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35546 fi
35547
35548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35551 fi
35552
35553 COND_PLATFORM_MACOSX_1="#"
35554 if test "x$PLATFORM_MACOSX" = "x1" ; then
35555 COND_PLATFORM_MACOSX_1=""
35556 fi
35557
35558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35561 fi
35562
35563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35566 fi
35567
35568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35571 fi
35572
35573 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
35574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35575 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
35576 fi
35577
35578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35581 fi
35582
35583 COND_PLATFORM_MAC_1="#"
35584 if test "x$PLATFORM_MAC" = "x1" ; then
35585 COND_PLATFORM_MAC_1=""
35586 fi
35587
35588 COND_PLATFORM_OS2_1="#"
35589 if test "x$PLATFORM_OS2" = "x1" ; then
35590 COND_PLATFORM_OS2_1=""
35591 fi
35592
35593 COND_PLATFORM_UNIX_0="#"
35594 if test "x$PLATFORM_UNIX" = "x0" ; then
35595 COND_PLATFORM_UNIX_0=""
35596 fi
35597
35598 COND_PLATFORM_UNIX_1="#"
35599 if test "x$PLATFORM_UNIX" = "x1" ; then
35600 COND_PLATFORM_UNIX_1=""
35601 fi
35602
35603 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
35604 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35605 COND_PLATFORM_UNIX_1_USE_GUI_1=""
35606 fi
35607
35608 COND_PLATFORM_WIN32_0="#"
35609 if test "x$PLATFORM_WIN32" = "x0" ; then
35610 COND_PLATFORM_WIN32_0=""
35611 fi
35612
35613 COND_PLATFORM_WIN32_1="#"
35614 if test "x$PLATFORM_WIN32" = "x1" ; then
35615 COND_PLATFORM_WIN32_1=""
35616 fi
35617
35618 COND_SHARED_0="#"
35619 if test "x$SHARED" = "x0" ; then
35620 COND_SHARED_0=""
35621 fi
35622
35623 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35624 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35625 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35626 fi
35627
35628 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35629 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35630 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35631 fi
35632
35633 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35636 fi
35637
35638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35641 fi
35642
35643 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35644 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35645 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35646 fi
35647
35648 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35649 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35650 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35651 fi
35652
35653 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35654 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35655 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35656 fi
35657
35658 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35659 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35660 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35661 fi
35662
35663 COND_SHARED_1="#"
35664 if test "x$SHARED" = "x1" ; then
35665 COND_SHARED_1=""
35666 fi
35667
35668 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35669 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35670 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35671 fi
35672
35673 COND_TOOLKIT_COCOA="#"
35674 if test "x$TOOLKIT" = "xCOCOA" ; then
35675 COND_TOOLKIT_COCOA=""
35676 fi
35677
35678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35679 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35681 fi
35682
35683 COND_TOOLKIT_GTK="#"
35684 if test "x$TOOLKIT" = "xGTK" ; then
35685 COND_TOOLKIT_GTK=""
35686 fi
35687
35688 COND_TOOLKIT_GTK_USE_GUI_1="#"
35689 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35690 COND_TOOLKIT_GTK_USE_GUI_1=""
35691 fi
35692
35693 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35694 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35695 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35696 fi
35697
35698 COND_TOOLKIT_MAC="#"
35699 if test "x$TOOLKIT" = "xMAC" ; then
35700 COND_TOOLKIT_MAC=""
35701 fi
35702
35703 COND_TOOLKIT_MAC_USE_GUI_1="#"
35704 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35705 COND_TOOLKIT_MAC_USE_GUI_1=""
35706 fi
35707
35708 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35709 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35710 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35711 fi
35712
35713 COND_TOOLKIT_MGL="#"
35714 if test "x$TOOLKIT" = "xMGL" ; then
35715 COND_TOOLKIT_MGL=""
35716 fi
35717
35718 COND_TOOLKIT_MGL_USE_GUI_1="#"
35719 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35720 COND_TOOLKIT_MGL_USE_GUI_1=""
35721 fi
35722
35723 COND_TOOLKIT_MOTIF="#"
35724 if test "x$TOOLKIT" = "xMOTIF" ; then
35725 COND_TOOLKIT_MOTIF=""
35726 fi
35727
35728 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35729 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35730 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35731 fi
35732
35733 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35734 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35735 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35736 fi
35737
35738 COND_TOOLKIT_MSW="#"
35739 if test "x$TOOLKIT" = "xMSW" ; then
35740 COND_TOOLKIT_MSW=""
35741 fi
35742
35743 COND_TOOLKIT_MSW_USE_GUI_1="#"
35744 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35745 COND_TOOLKIT_MSW_USE_GUI_1=""
35746 fi
35747
35748 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35749 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35750 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35751 fi
35752
35753 COND_TOOLKIT_PM="#"
35754 if test "x$TOOLKIT" = "xPM" ; then
35755 COND_TOOLKIT_PM=""
35756 fi
35757
35758 COND_TOOLKIT_PM_USE_GUI_1="#"
35759 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35760 COND_TOOLKIT_PM_USE_GUI_1=""
35761 fi
35762
35763 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35764 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35765 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35766 fi
35767
35768 COND_TOOLKIT_X11="#"
35769 if test "x$TOOLKIT" = "xX11" ; then
35770 COND_TOOLKIT_X11=""
35771 fi
35772
35773 COND_TOOLKIT_X11_USE_GUI_1="#"
35774 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35775 COND_TOOLKIT_X11_USE_GUI_1=""
35776 fi
35777
35778 COND_UNICODE_1="#"
35779 if test "x$UNICODE" = "x1" ; then
35780 COND_UNICODE_1=""
35781 fi
35782
35783 COND_USE_EXCEPTIONS_0="#"
35784 if test "x$USE_EXCEPTIONS" = "x0" ; then
35785 COND_USE_EXCEPTIONS_0=""
35786 fi
35787
35788 COND_USE_EXCEPTIONS_1="#"
35789 if test "x$USE_EXCEPTIONS" = "x1" ; then
35790 COND_USE_EXCEPTIONS_1=""
35791 fi
35792
35793 COND_USE_GUI_0="#"
35794 if test "x$USE_GUI" = "x0" ; then
35795 COND_USE_GUI_0=""
35796 fi
35797
35798 COND_USE_GUI_1="#"
35799 if test "x$USE_GUI" = "x1" ; then
35800 COND_USE_GUI_1=""
35801 fi
35802
35803 COND_USE_GUI_1_WXUNIV_0="#"
35804 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35805 COND_USE_GUI_1_WXUNIV_0=""
35806 fi
35807
35808 COND_USE_GUI_1_WXUNIV_1="#"
35809 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35810 COND_USE_GUI_1_WXUNIV_1=""
35811 fi
35812
35813 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35814 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35815 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35816 fi
35817
35818 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35819 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35820 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35821 fi
35822
35823 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35824 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35825 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35826 fi
35827
35828 COND_USE_ODBC_1="#"
35829 if test "x$USE_ODBC" = "x1" ; then
35830 COND_USE_ODBC_1=""
35831 fi
35832
35833 COND_USE_SOSYMLINKS_1="#"
35834 if test "x$USE_SOSYMLINKS" = "x1" ; then
35835 COND_USE_SOSYMLINKS_1=""
35836 fi
35837
35838 COND_USE_SOVERLINUX_1="#"
35839 if test "x$USE_SOVERLINUX" = "x1" ; then
35840 COND_USE_SOVERLINUX_1=""
35841 fi
35842
35843 COND_USE_SOVERSION_0="#"
35844 if test "x$USE_SOVERSION" = "x0" ; then
35845 COND_USE_SOVERSION_0=""
35846 fi
35847
35848 COND_USE_SOVERSOLARIS_1="#"
35849 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35850 COND_USE_SOVERSOLARIS_1=""
35851 fi
35852
35853 COND_WXUNIV_1="#"
35854 if test "x$WXUNIV" = "x1" ; then
35855 COND_WXUNIV_1=""
35856 fi
35857
35858 COND_WXUSE_EXPAT_BUILTIN="#"
35859 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35860 COND_WXUSE_EXPAT_BUILTIN=""
35861 fi
35862
35863 COND_WXUSE_LIBJPEG_BUILTIN="#"
35864 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35865 COND_WXUSE_LIBJPEG_BUILTIN=""
35866 fi
35867
35868 COND_WXUSE_LIBPNG_BUILTIN="#"
35869 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35870 COND_WXUSE_LIBPNG_BUILTIN=""
35871 fi
35872
35873 COND_WXUSE_LIBTIFF_BUILTIN="#"
35874 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35875 COND_WXUSE_LIBTIFF_BUILTIN=""
35876 fi
35877
35878 COND_WXUSE_ODBC_BUILTIN="#"
35879 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35880 COND_WXUSE_ODBC_BUILTIN=""
35881 fi
35882
35883 COND_WXUSE_REGEX_BUILTIN="#"
35884 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35885 COND_WXUSE_REGEX_BUILTIN=""
35886 fi
35887
35888 COND_WXUSE_ZLIB_BUILTIN="#"
35889 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35890 COND_WXUSE_ZLIB_BUILTIN=""
35891 fi
35892
35893
35894
35895
35896
35897 if test $GCC_PCH = 1 ; then
35898 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35899 else
35900 case "${host}" in
35901 powerpc-*-darwin* )
35902 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35903 ;;
35904 esac
35905 fi
35906 case "${host}" in
35907 powerpc-*-darwin* )
35908 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35909 ;;
35910 esac
35911
35912
35913 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
36014 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36015 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36016 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36017 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36018 echo $ECHO_N "(cached) $ECHO_C" >&6
36019 else
36020 cat >conftest.make <<\_ACEOF
36021 all:
36022 @echo 'ac_maketemp="$(MAKE)"'
36023 _ACEOF
36024 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36025 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36026 if test -n "$ac_maketemp"; then
36027 eval ac_cv_prog_make_${ac_make}_set=yes
36028 else
36029 eval ac_cv_prog_make_${ac_make}_set=no
36030 fi
36031 rm -f conftest.make
36032 fi
36033 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36034 echo "$as_me:$LINENO: result: yes" >&5
36035 echo "${ECHO_T}yes" >&6
36036 SET_MAKE=
36037 else
36038 echo "$as_me:$LINENO: result: no" >&5
36039 echo "${ECHO_T}no" >&6
36040 SET_MAKE="MAKE=${MAKE-make}"
36041 fi
36042
36043
36044 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36045 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36046 fi
36047
36048 ac_config_headers="$ac_config_headers setup.h"
36049
36050
36051 ac_config_files="$ac_config_files wx-config version-script Makefile"
36052
36053
36054 ac_config_commands="$ac_config_commands default"
36055
36056
36057
36058 if test "$wxUSE_GUI" = "yes"; then
36059 SUBDIRS="samples demos utils contrib"
36060 else SUBDIRS="samples utils"
36061 fi
36062
36063 for subdir in `echo $SUBDIRS`; do
36064 if test -d ${srcdir}/${subdir} ; then
36065 if test "$wxUSE_GUI" = "yes"; then
36066 if test ${subdir} = "samples"; then
36067 makefiles="samples/Makefile.in $makefiles"
36068 for sample in `echo $SAMPLES_SUBDIRS`; do
36069 if test -d $srcdir/samples/$sample; then
36070 makefiles="samples/$sample/Makefile.in $makefiles"
36071 fi
36072 done
36073 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36074 fi
36075 else if test ${subdir} = "samples"; then
36076 makefiles="samples/Makefile.in samples/console/Makefile.in"
36077 else makefiles="utils/HelpGen/Makefile.in \
36078 utils/HelpGen/src/Makefile.in \
36079 utils/tex2rtf/Makefile.in \
36080 utils/tex2rtf/src/Makefile.in"
36081 fi
36082 fi
36083
36084 for mkin in $makefiles ; do
36085 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36086 ac_config_files="$ac_config_files $mk"
36087
36088 done
36089 fi
36090 done
36091
36092
36093 cat >confcache <<\_ACEOF
36094 # This file is a shell script that caches the results of configure
36095 # tests run on this system so they can be shared between configure
36096 # scripts and configure runs, see configure's option --config-cache.
36097 # It is not useful on other systems. If it contains results you don't
36098 # want to keep, you may remove or edit it.
36099 #
36100 # config.status only pays attention to the cache file if you give it
36101 # the --recheck option to rerun configure.
36102 #
36103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36105 # following values.
36106
36107 _ACEOF
36108
36109 # The following way of writing the cache mishandles newlines in values,
36110 # but we know of no workaround that is simple, portable, and efficient.
36111 # So, don't put newlines in cache variables' values.
36112 # Ultrix sh set writes to stderr and can't be redirected directly,
36113 # and sets the high bit in the cache file unless we assign to the vars.
36114 {
36115 (set) 2>&1 |
36116 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36117 *ac_space=\ *)
36118 # `set' does not quote correctly, so add quotes (double-quote
36119 # substitution turns \\\\ into \\, and sed turns \\ into \).
36120 sed -n \
36121 "s/'/'\\\\''/g;
36122 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36123 ;;
36124 *)
36125 # `set' quotes correctly as required by POSIX, so do not add quotes.
36126 sed -n \
36127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36128 ;;
36129 esac;
36130 } |
36131 sed '
36132 t clear
36133 : clear
36134 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36135 t end
36136 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36137 : end' >>confcache
36138 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36139 if test -w $cache_file; then
36140 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36141 cat confcache >$cache_file
36142 else
36143 echo "not updating unwritable cache $cache_file"
36144 fi
36145 fi
36146 rm -f confcache
36147
36148 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36149 # Let make expand exec_prefix.
36150 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36151
36152 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36153 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36154 # trailing colons and then remove the whole line if VPATH becomes empty
36155 # (actually we leave an empty line to preserve line numbers).
36156 if test "x$srcdir" = x.; then
36157 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36158 s/:*\$(srcdir):*/:/;
36159 s/:*\${srcdir}:*/:/;
36160 s/:*@srcdir@:*/:/;
36161 s/^\([^=]*=[ ]*\):*/\1/;
36162 s/:*$//;
36163 s/^[^=]*=[ ]*$//;
36164 }'
36165 fi
36166
36167 DEFS=-DHAVE_CONFIG_H
36168
36169 ac_libobjs=
36170 ac_ltlibobjs=
36171 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36172 # 1. Remove the extension, and $U if already installed.
36173 ac_i=`echo "$ac_i" |
36174 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36175 # 2. Add them.
36176 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36177 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36178 done
36179 LIBOBJS=$ac_libobjs
36180
36181 LTLIBOBJS=$ac_ltlibobjs
36182
36183
36184
36185 : ${CONFIG_STATUS=./config.status}
36186 ac_clean_files_save=$ac_clean_files
36187 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36188 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36189 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36190 cat >$CONFIG_STATUS <<_ACEOF
36191 #! $SHELL
36192 # Generated by $as_me.
36193 # Run this file to recreate the current configuration.
36194 # Compiler output produced by configure, useful for debugging
36195 # configure, is in config.log if it exists.
36196
36197 debug=false
36198 ac_cs_recheck=false
36199 ac_cs_silent=false
36200 SHELL=\${CONFIG_SHELL-$SHELL}
36201 _ACEOF
36202
36203 cat >>$CONFIG_STATUS <<\_ACEOF
36204 ## --------------------- ##
36205 ## M4sh Initialization. ##
36206 ## --------------------- ##
36207
36208 # Be Bourne compatible
36209 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36210 emulate sh
36211 NULLCMD=:
36212 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36213 # is contrary to our usage. Disable this feature.
36214 alias -g '${1+"$@"}'='"$@"'
36215 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36216 set -o posix
36217 fi
36218
36219 # Support unset when possible.
36220 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36221 as_unset=unset
36222 else
36223 as_unset=false
36224 fi
36225
36226
36227 # Work around bugs in pre-3.0 UWIN ksh.
36228 $as_unset ENV MAIL MAILPATH
36229 PS1='$ '
36230 PS2='> '
36231 PS4='+ '
36232
36233 # NLS nuisances.
36234 for as_var in \
36235 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36236 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36237 LC_TELEPHONE LC_TIME
36238 do
36239 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36240 eval $as_var=C; export $as_var
36241 else
36242 $as_unset $as_var
36243 fi
36244 done
36245
36246 # Required to use basename.
36247 if expr a : '\(a\)' >/dev/null 2>&1; then
36248 as_expr=expr
36249 else
36250 as_expr=false
36251 fi
36252
36253 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36254 as_basename=basename
36255 else
36256 as_basename=false
36257 fi
36258
36259
36260 # Name of the executable.
36261 as_me=`$as_basename "$0" ||
36262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36263 X"$0" : 'X\(//\)$' \| \
36264 X"$0" : 'X\(/\)$' \| \
36265 . : '\(.\)' 2>/dev/null ||
36266 echo X/"$0" |
36267 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36268 /^X\/\(\/\/\)$/{ s//\1/; q; }
36269 /^X\/\(\/\).*/{ s//\1/; q; }
36270 s/.*/./; q'`
36271
36272
36273 # PATH needs CR, and LINENO needs CR and PATH.
36274 # Avoid depending upon Character Ranges.
36275 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36276 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36277 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36278 as_cr_digits='0123456789'
36279 as_cr_alnum=$as_cr_Letters$as_cr_digits
36280
36281 # The user is always right.
36282 if test "${PATH_SEPARATOR+set}" != set; then
36283 echo "#! /bin/sh" >conf$$.sh
36284 echo "exit 0" >>conf$$.sh
36285 chmod +x conf$$.sh
36286 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36287 PATH_SEPARATOR=';'
36288 else
36289 PATH_SEPARATOR=:
36290 fi
36291 rm -f conf$$.sh
36292 fi
36293
36294
36295 as_lineno_1=$LINENO
36296 as_lineno_2=$LINENO
36297 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36298 test "x$as_lineno_1" != "x$as_lineno_2" &&
36299 test "x$as_lineno_3" = "x$as_lineno_2" || {
36300 # Find who we are. Look in the path if we contain no path at all
36301 # relative or not.
36302 case $0 in
36303 *[\\/]* ) as_myself=$0 ;;
36304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36305 for as_dir in $PATH
36306 do
36307 IFS=$as_save_IFS
36308 test -z "$as_dir" && as_dir=.
36309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36310 done
36311
36312 ;;
36313 esac
36314 # We did not find ourselves, most probably we were run as `sh COMMAND'
36315 # in which case we are not to be found in the path.
36316 if test "x$as_myself" = x; then
36317 as_myself=$0
36318 fi
36319 if test ! -f "$as_myself"; then
36320 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36321 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36322 { (exit 1); exit 1; }; }
36323 fi
36324 case $CONFIG_SHELL in
36325 '')
36326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36327 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36328 do
36329 IFS=$as_save_IFS
36330 test -z "$as_dir" && as_dir=.
36331 for as_base in sh bash ksh sh5; do
36332 case $as_dir in
36333 /*)
36334 if ("$as_dir/$as_base" -c '
36335 as_lineno_1=$LINENO
36336 as_lineno_2=$LINENO
36337 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36338 test "x$as_lineno_1" != "x$as_lineno_2" &&
36339 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36340 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36341 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36342 CONFIG_SHELL=$as_dir/$as_base
36343 export CONFIG_SHELL
36344 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36345 fi;;
36346 esac
36347 done
36348 done
36349 ;;
36350 esac
36351
36352 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36353 # uniformly replaced by the line number. The first 'sed' inserts a
36354 # line-number line before each line; the second 'sed' does the real
36355 # work. The second script uses 'N' to pair each line-number line
36356 # with the numbered line, and appends trailing '-' during
36357 # substitution so that $LINENO is not a special case at line end.
36358 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36359 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36360 sed '=' <$as_myself |
36361 sed '
36362 N
36363 s,$,-,
36364 : loop
36365 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36366 t loop
36367 s,-$,,
36368 s,^['$as_cr_digits']*\n,,
36369 ' >$as_me.lineno &&
36370 chmod +x $as_me.lineno ||
36371 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36372 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36373 { (exit 1); exit 1; }; }
36374
36375 # Don't try to exec as it changes $[0], causing all sort of problems
36376 # (the dirname of $[0] is not the place where we might find the
36377 # original and so on. Autoconf is especially sensible to this).
36378 . ./$as_me.lineno
36379 # Exit status is that of the last command.
36380 exit
36381 }
36382
36383
36384 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36385 *c*,-n*) ECHO_N= ECHO_C='
36386 ' ECHO_T=' ' ;;
36387 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36388 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36389 esac
36390
36391 if expr a : '\(a\)' >/dev/null 2>&1; then
36392 as_expr=expr
36393 else
36394 as_expr=false
36395 fi
36396
36397 rm -f conf$$ conf$$.exe conf$$.file
36398 echo >conf$$.file
36399 if ln -s conf$$.file conf$$ 2>/dev/null; then
36400 # We could just check for DJGPP; but this test a) works b) is more generic
36401 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36402 if test -f conf$$.exe; then
36403 # Don't use ln at all; we don't have any links
36404 as_ln_s='cp -p'
36405 else
36406 as_ln_s='ln -s'
36407 fi
36408 elif ln conf$$.file conf$$ 2>/dev/null; then
36409 as_ln_s=ln
36410 else
36411 as_ln_s='cp -p'
36412 fi
36413 rm -f conf$$ conf$$.exe conf$$.file
36414
36415 if mkdir -p . 2>/dev/null; then
36416 as_mkdir_p=:
36417 else
36418 as_mkdir_p=false
36419 fi
36420
36421 as_executable_p="test -f"
36422
36423 # Sed expression to map a string onto a valid CPP name.
36424 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36425
36426 # Sed expression to map a string onto a valid variable name.
36427 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36428
36429
36430 # IFS
36431 # We need space, tab and new line, in precisely that order.
36432 as_nl='
36433 '
36434 IFS=" $as_nl"
36435
36436 # CDPATH.
36437 $as_unset CDPATH
36438
36439 exec 6>&1
36440
36441 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36442 # report actual input values of CONFIG_FILES etc. instead of their
36443 # values after options handling. Logging --version etc. is OK.
36444 exec 5>>config.log
36445 {
36446 echo
36447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36448 ## Running $as_me. ##
36449 _ASBOX
36450 } >&5
36451 cat >&5 <<_CSEOF
36452
36453 This file was extended by wxWindows $as_me 2.5.1, which was
36454 generated by GNU Autoconf 2.57. Invocation command line was
36455
36456 CONFIG_FILES = $CONFIG_FILES
36457 CONFIG_HEADERS = $CONFIG_HEADERS
36458 CONFIG_LINKS = $CONFIG_LINKS
36459 CONFIG_COMMANDS = $CONFIG_COMMANDS
36460 $ $0 $@
36461
36462 _CSEOF
36463 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36464 echo >&5
36465 _ACEOF
36466
36467 # Files that config.status was made for.
36468 if test -n "$ac_config_files"; then
36469 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36470 fi
36471
36472 if test -n "$ac_config_headers"; then
36473 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36474 fi
36475
36476 if test -n "$ac_config_links"; then
36477 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36478 fi
36479
36480 if test -n "$ac_config_commands"; then
36481 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36482 fi
36483
36484 cat >>$CONFIG_STATUS <<\_ACEOF
36485
36486 ac_cs_usage="\
36487 \`$as_me' instantiates files from templates according to the
36488 current configuration.
36489
36490 Usage: $0 [OPTIONS] [FILE]...
36491
36492 -h, --help print this help, then exit
36493 -V, --version print version number, then exit
36494 -q, --quiet do not print progress messages
36495 -d, --debug don't remove temporary files
36496 --recheck update $as_me by reconfiguring in the same conditions
36497 --file=FILE[:TEMPLATE]
36498 instantiate the configuration file FILE
36499 --header=FILE[:TEMPLATE]
36500 instantiate the configuration header FILE
36501
36502 Configuration files:
36503 $config_files
36504
36505 Configuration headers:
36506 $config_headers
36507
36508 Configuration commands:
36509 $config_commands
36510
36511 Report bugs to <bug-autoconf@gnu.org>."
36512 _ACEOF
36513
36514 cat >>$CONFIG_STATUS <<_ACEOF
36515 ac_cs_version="\\
36516 wxWindows config.status 2.5.1
36517 configured by $0, generated by GNU Autoconf 2.57,
36518 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36519
36520 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36521 Free Software Foundation, Inc.
36522 This config.status script is free software; the Free Software Foundation
36523 gives unlimited permission to copy, distribute and modify it."
36524 srcdir=$srcdir
36525 INSTALL="$INSTALL"
36526 _ACEOF
36527
36528 cat >>$CONFIG_STATUS <<\_ACEOF
36529 # If no file are specified by the user, then we need to provide default
36530 # value. By we need to know if files were specified by the user.
36531 ac_need_defaults=:
36532 while test $# != 0
36533 do
36534 case $1 in
36535 --*=*)
36536 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36537 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36538 ac_shift=:
36539 ;;
36540 -*)
36541 ac_option=$1
36542 ac_optarg=$2
36543 ac_shift=shift
36544 ;;
36545 *) # This is not an option, so the user has probably given explicit
36546 # arguments.
36547 ac_option=$1
36548 ac_need_defaults=false;;
36549 esac
36550
36551 case $ac_option in
36552 # Handling of the options.
36553 _ACEOF
36554 cat >>$CONFIG_STATUS <<\_ACEOF
36555 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36556 ac_cs_recheck=: ;;
36557 --version | --vers* | -V )
36558 echo "$ac_cs_version"; exit 0 ;;
36559 --he | --h)
36560 # Conflict between --help and --header
36561 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36562 Try \`$0 --help' for more information." >&5
36563 echo "$as_me: error: ambiguous option: $1
36564 Try \`$0 --help' for more information." >&2;}
36565 { (exit 1); exit 1; }; };;
36566 --help | --hel | -h )
36567 echo "$ac_cs_usage"; exit 0 ;;
36568 --debug | --d* | -d )
36569 debug=: ;;
36570 --file | --fil | --fi | --f )
36571 $ac_shift
36572 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36573 ac_need_defaults=false;;
36574 --header | --heade | --head | --hea )
36575 $ac_shift
36576 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36577 ac_need_defaults=false;;
36578 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36579 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36580 ac_cs_silent=: ;;
36581
36582 # This is an error.
36583 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36584 Try \`$0 --help' for more information." >&5
36585 echo "$as_me: error: unrecognized option: $1
36586 Try \`$0 --help' for more information." >&2;}
36587 { (exit 1); exit 1; }; } ;;
36588
36589 *) ac_config_targets="$ac_config_targets $1" ;;
36590
36591 esac
36592 shift
36593 done
36594
36595 ac_configure_extra_args=
36596
36597 if $ac_cs_silent; then
36598 exec 6>/dev/null
36599 ac_configure_extra_args="$ac_configure_extra_args --silent"
36600 fi
36601
36602 _ACEOF
36603 cat >>$CONFIG_STATUS <<_ACEOF
36604 if \$ac_cs_recheck; then
36605 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36606 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36607 fi
36608
36609 _ACEOF
36610
36611 cat >>$CONFIG_STATUS <<_ACEOF
36612 #
36613 # INIT-COMMANDS section.
36614 #
36615
36616
36617 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36618 LN_S="${LN_S}"
36619
36620
36621
36622 _ACEOF
36623
36624
36625
36626 cat >>$CONFIG_STATUS <<\_ACEOF
36627 for ac_config_target in $ac_config_targets
36628 do
36629 case "$ac_config_target" in
36630 # Handling of arguments.
36631 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36632 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36633 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36634 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36635 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36636 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36637 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36638 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36639 { (exit 1); exit 1; }; };;
36640 esac
36641 done
36642
36643 # If the user did not use the arguments to specify the items to instantiate,
36644 # then the envvar interface is used. Set only those that are not.
36645 # We use the long form for the default assignment because of an extremely
36646 # bizarre bug on SunOS 4.1.3.
36647 if $ac_need_defaults; then
36648 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36649 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36650 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36651 fi
36652
36653 # Have a temporary directory for convenience. Make it in the build tree
36654 # simply because there is no reason to put it here, and in addition,
36655 # creating and moving files from /tmp can sometimes cause problems.
36656 # Create a temporary directory, and hook for its removal unless debugging.
36657 $debug ||
36658 {
36659 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36660 trap '{ (exit 1); exit 1; }' 1 2 13 15
36661 }
36662
36663 # Create a (secure) tmp directory for tmp files.
36664
36665 {
36666 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36667 test -n "$tmp" && test -d "$tmp"
36668 } ||
36669 {
36670 tmp=./confstat$$-$RANDOM
36671 (umask 077 && mkdir $tmp)
36672 } ||
36673 {
36674 echo "$me: cannot create a temporary directory in ." >&2
36675 { (exit 1); exit 1; }
36676 }
36677
36678 _ACEOF
36679
36680 cat >>$CONFIG_STATUS <<_ACEOF
36681
36682 #
36683 # CONFIG_FILES section.
36684 #
36685
36686 # No need to generate the scripts if there are no CONFIG_FILES.
36687 # This happens for instance when ./config.status config.h
36688 if test -n "\$CONFIG_FILES"; then
36689 # Protect against being on the right side of a sed subst in config.status.
36690 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36691 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36692 s,@SHELL@,$SHELL,;t t
36693 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36694 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36695 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36696 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36697 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36698 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36699 s,@exec_prefix@,$exec_prefix,;t t
36700 s,@prefix@,$prefix,;t t
36701 s,@program_transform_name@,$program_transform_name,;t t
36702 s,@bindir@,$bindir,;t t
36703 s,@sbindir@,$sbindir,;t t
36704 s,@libexecdir@,$libexecdir,;t t
36705 s,@datadir@,$datadir,;t t
36706 s,@sysconfdir@,$sysconfdir,;t t
36707 s,@sharedstatedir@,$sharedstatedir,;t t
36708 s,@localstatedir@,$localstatedir,;t t
36709 s,@libdir@,$libdir,;t t
36710 s,@includedir@,$includedir,;t t
36711 s,@oldincludedir@,$oldincludedir,;t t
36712 s,@infodir@,$infodir,;t t
36713 s,@mandir@,$mandir,;t t
36714 s,@build_alias@,$build_alias,;t t
36715 s,@host_alias@,$host_alias,;t t
36716 s,@target_alias@,$target_alias,;t t
36717 s,@DEFS@,$DEFS,;t t
36718 s,@ECHO_C@,$ECHO_C,;t t
36719 s,@ECHO_N@,$ECHO_N,;t t
36720 s,@ECHO_T@,$ECHO_T,;t t
36721 s,@LIBS@,$LIBS,;t t
36722 s,@build@,$build,;t t
36723 s,@build_cpu@,$build_cpu,;t t
36724 s,@build_vendor@,$build_vendor,;t t
36725 s,@build_os@,$build_os,;t t
36726 s,@host@,$host,;t t
36727 s,@host_cpu@,$host_cpu,;t t
36728 s,@host_vendor@,$host_vendor,;t t
36729 s,@host_os@,$host_os,;t t
36730 s,@target@,$target,;t t
36731 s,@target_cpu@,$target_cpu,;t t
36732 s,@target_vendor@,$target_vendor,;t t
36733 s,@target_os@,$target_os,;t t
36734 s,@CC@,$CC,;t t
36735 s,@CFLAGS@,$CFLAGS,;t t
36736 s,@LDFLAGS@,$LDFLAGS,;t t
36737 s,@CPPFLAGS@,$CPPFLAGS,;t t
36738 s,@ac_ct_CC@,$ac_ct_CC,;t t
36739 s,@EXEEXT@,$EXEEXT,;t t
36740 s,@OBJEXT@,$OBJEXT,;t t
36741 s,@CPP@,$CPP,;t t
36742 s,@EGREP@,$EGREP,;t t
36743 s,@CXX@,$CXX,;t t
36744 s,@CXXFLAGS@,$CXXFLAGS,;t t
36745 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36746 s,@RANLIB@,$RANLIB,;t t
36747 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36748 s,@AR@,$AR,;t t
36749 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36750 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36751 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36752 s,@STRIP@,$STRIP,;t t
36753 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36754 s,@LN_S@,$LN_S,;t t
36755 s,@CXXCPP@,$CXXCPP,;t t
36756 s,@subdirs@,$subdirs,;t t
36757 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36758 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36759 s,@GTK_LIBS@,$GTK_LIBS,;t t
36760 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36761 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36762 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36763 s,@X_CFLAGS@,$X_CFLAGS,;t t
36764 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36765 s,@X_LIBS@,$X_LIBS,;t t
36766 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36767 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36768 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36769 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36770 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36771 s,@RESCOMP@,$RESCOMP,;t t
36772 s,@DEREZ@,$DEREZ,;t t
36773 s,@SETFILE@,$SETFILE,;t t
36774 s,@LIBICONV@,$LIBICONV,;t t
36775 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36776 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36777 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36778 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36779 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36780 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36781 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36782 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36783 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36784 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36785 s,@VENDOR@,$VENDOR,;t t
36786 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36787 s,@WXUNIV@,$WXUNIV,;t t
36788 s,@MONOLITHIC@,$MONOLITHIC,;t t
36789 s,@EXTRALIBS@,$EXTRALIBS,;t t
36790 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36791 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36792 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36793 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36794 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36795 s,@UNICODE@,$UNICODE,;t t
36796 s,@BUILD@,$BUILD,;t t
36797 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36798 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36799 s,@SHARED@,$SHARED,;t t
36800 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36801 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36802 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36803 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36804 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36805 s,@SET_MAKE@,$SET_MAKE,;t t
36806 s,@MAKE_SET@,$MAKE_SET,;t t
36807 s,@ac_ct_AR@,$ac_ct_AR,;t t
36808 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36809 s,@NM@,$NM,;t t
36810 s,@ac_ct_NM@,$ac_ct_NM,;t t
36811 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36812 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36813 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36814 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36815 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36816 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36817 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36818 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36819 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36820 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36821 s,@LIBPREFIX@,$LIBPREFIX,;t t
36822 s,@DLLPREFIX@,$DLLPREFIX,;t t
36823 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36824 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36825 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36826 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36827 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36828 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36829 s,@PIC_FLAG@,$PIC_FLAG,;t t
36830 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36831 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36832 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36833 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36834 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36835 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36836 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36837 s,@GCC_PCH@,$GCC_PCH,;t t
36838 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36839 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36840 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36841 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36842 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36843 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36844 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36845 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36846 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36847 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36848 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36849 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36850 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36851 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36852 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
36853 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36854 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36855 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36856 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36857 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
36858 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36859 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36860 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36861 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36862 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36863 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36864 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36865 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36866 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36867 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36868 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36869 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36870 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36871 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36872 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36873 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36874 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36875 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36876 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36877 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36878 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36879 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36880 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36881 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36882 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36883 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36884 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36885 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36886 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36887 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36888 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36889 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36890 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36891 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36892 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36893 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36894 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36895 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36896 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36897 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36898 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36899 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36900 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36901 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36902 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36903 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36904 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36905 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36906 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36907 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36908 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36909 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36910 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36911 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36912 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36913 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36914 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36915 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36916 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36917 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36918 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36919 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36920 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36921 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36922 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36923 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36924 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36925 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36926 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36927 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36928 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36929 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36930 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36931 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36932 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36933 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36934 s,@PATH_IFS@,$PATH_IFS,;t t
36935 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36936 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36937 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36938 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36939 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36940 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36941 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36942 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36943 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36944 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36945 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36946 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36947 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36948 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36949 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36950 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36951 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36952 s,@WX_ALL@,$WX_ALL,;t t
36953 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36954 s,@SHARED_LD@,$SHARED_LD,;t t
36955 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36956 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36957 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36958 s,@USE_GUI@,$USE_GUI,;t t
36959 s,@AFMINSTALL@,$AFMINSTALL,;t t
36960 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36961 s,@TOOLKIT@,$TOOLKIT,;t t
36962 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36963 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36964 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36965 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36966 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36967 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36968 s,@cross_compiling@,$cross_compiling,;t t
36969 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36970 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36971 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36972 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36973 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36974 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36975 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36976 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36977 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36978 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36979 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36980 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36981 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36982 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36983 s,@GUIDIST@,$GUIDIST,;t t
36984 s,@PORT_FILES@,$PORT_FILES,;t t
36985 s,@DISTDIR@,$DISTDIR,;t t
36986 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36987 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36988 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36989 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36990 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36991 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36992 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36993 s,@RESFLAGS@,$RESFLAGS,;t t
36994 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36995 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36996 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36997 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36998 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36999 s,@MACRESCOMP@,$MACRESCOMP,;t t
37000 s,@MACSETFILE@,$MACSETFILE,;t t
37001 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37002 s,@GCC@,$GCC,;t t
37003 s,@DLLTOOL@,$DLLTOOL,;t t
37004 s,@AS@,$AS,;t t
37005 s,@LD@,$LD,;t t
37006 s,@MAKEINFO@,$MAKEINFO,;t t
37007 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37008 s,@LIBOBJS@,$LIBOBJS,;t t
37009 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37010 CEOF
37011
37012 _ACEOF
37013
37014 cat >>$CONFIG_STATUS <<\_ACEOF
37015 # Split the substitutions into bite-sized pieces for seds with
37016 # small command number limits, like on Digital OSF/1 and HP-UX.
37017 ac_max_sed_lines=48
37018 ac_sed_frag=1 # Number of current file.
37019 ac_beg=1 # First line for current file.
37020 ac_end=$ac_max_sed_lines # Line after last line for current file.
37021 ac_more_lines=:
37022 ac_sed_cmds=
37023 while $ac_more_lines; do
37024 if test $ac_beg -gt 1; then
37025 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37026 else
37027 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37028 fi
37029 if test ! -s $tmp/subs.frag; then
37030 ac_more_lines=false
37031 else
37032 # The purpose of the label and of the branching condition is to
37033 # speed up the sed processing (if there are no `@' at all, there
37034 # is no need to browse any of the substitutions).
37035 # These are the two extra sed commands mentioned above.
37036 (echo ':t
37037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37038 if test -z "$ac_sed_cmds"; then
37039 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37040 else
37041 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37042 fi
37043 ac_sed_frag=`expr $ac_sed_frag + 1`
37044 ac_beg=$ac_end
37045 ac_end=`expr $ac_end + $ac_max_sed_lines`
37046 fi
37047 done
37048 if test -z "$ac_sed_cmds"; then
37049 ac_sed_cmds=cat
37050 fi
37051 fi # test -n "$CONFIG_FILES"
37052
37053 _ACEOF
37054 cat >>$CONFIG_STATUS <<\_ACEOF
37055 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37056 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37057 case $ac_file in
37058 - | *:- | *:-:* ) # input from stdin
37059 cat >$tmp/stdin
37060 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37061 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37062 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37063 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37064 * ) ac_file_in=$ac_file.in ;;
37065 esac
37066
37067 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37068 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37069 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37070 X"$ac_file" : 'X\(//\)[^/]' \| \
37071 X"$ac_file" : 'X\(//\)$' \| \
37072 X"$ac_file" : 'X\(/\)' \| \
37073 . : '\(.\)' 2>/dev/null ||
37074 echo X"$ac_file" |
37075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37076 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37077 /^X\(\/\/\)$/{ s//\1/; q; }
37078 /^X\(\/\).*/{ s//\1/; q; }
37079 s/.*/./; q'`
37080 { if $as_mkdir_p; then
37081 mkdir -p "$ac_dir"
37082 else
37083 as_dir="$ac_dir"
37084 as_dirs=
37085 while test ! -d "$as_dir"; do
37086 as_dirs="$as_dir $as_dirs"
37087 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37089 X"$as_dir" : 'X\(//\)[^/]' \| \
37090 X"$as_dir" : 'X\(//\)$' \| \
37091 X"$as_dir" : 'X\(/\)' \| \
37092 . : '\(.\)' 2>/dev/null ||
37093 echo X"$as_dir" |
37094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37096 /^X\(\/\/\)$/{ s//\1/; q; }
37097 /^X\(\/\).*/{ s//\1/; q; }
37098 s/.*/./; q'`
37099 done
37100 test ! -n "$as_dirs" || mkdir $as_dirs
37101 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37102 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37103 { (exit 1); exit 1; }; }; }
37104
37105 ac_builddir=.
37106
37107 if test "$ac_dir" != .; then
37108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37109 # A "../" for each directory in $ac_dir_suffix.
37110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37111 else
37112 ac_dir_suffix= ac_top_builddir=
37113 fi
37114
37115 case $srcdir in
37116 .) # No --srcdir option. We are building in place.
37117 ac_srcdir=.
37118 if test -z "$ac_top_builddir"; then
37119 ac_top_srcdir=.
37120 else
37121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37122 fi ;;
37123 [\\/]* | ?:[\\/]* ) # Absolute path.
37124 ac_srcdir=$srcdir$ac_dir_suffix;
37125 ac_top_srcdir=$srcdir ;;
37126 *) # Relative path.
37127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37129 esac
37130 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37131 # absolute.
37132 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37133 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37134 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37135 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37136
37137
37138 case $INSTALL in
37139 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37140 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37141 esac
37142
37143 if test x"$ac_file" != x-; then
37144 { echo "$as_me:$LINENO: creating $ac_file" >&5
37145 echo "$as_me: creating $ac_file" >&6;}
37146 rm -f "$ac_file"
37147 fi
37148 # Let's still pretend it is `configure' which instantiates (i.e., don't
37149 # use $as_me), people would be surprised to read:
37150 # /* config.h. Generated by config.status. */
37151 if test x"$ac_file" = x-; then
37152 configure_input=
37153 else
37154 configure_input="$ac_file. "
37155 fi
37156 configure_input=$configure_input"Generated from `echo $ac_file_in |
37157 sed 's,.*/,,'` by configure."
37158
37159 # First look for the input files in the build tree, otherwise in the
37160 # src tree.
37161 ac_file_inputs=`IFS=:
37162 for f in $ac_file_in; do
37163 case $f in
37164 -) echo $tmp/stdin ;;
37165 [\\/$]*)
37166 # Absolute (can't be DOS-style, as IFS=:)
37167 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37168 echo "$as_me: error: cannot find input file: $f" >&2;}
37169 { (exit 1); exit 1; }; }
37170 echo $f;;
37171 *) # Relative
37172 if test -f "$f"; then
37173 # Build tree
37174 echo $f
37175 elif test -f "$srcdir/$f"; then
37176 # Source tree
37177 echo $srcdir/$f
37178 else
37179 # /dev/null tree
37180 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37181 echo "$as_me: error: cannot find input file: $f" >&2;}
37182 { (exit 1); exit 1; }; }
37183 fi;;
37184 esac
37185 done` || { (exit 1); exit 1; }
37186 _ACEOF
37187 cat >>$CONFIG_STATUS <<_ACEOF
37188 sed "$ac_vpsub
37189 $extrasub
37190 _ACEOF
37191 cat >>$CONFIG_STATUS <<\_ACEOF
37192 :t
37193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37194 s,@configure_input@,$configure_input,;t t
37195 s,@srcdir@,$ac_srcdir,;t t
37196 s,@abs_srcdir@,$ac_abs_srcdir,;t t
37197 s,@top_srcdir@,$ac_top_srcdir,;t t
37198 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37199 s,@builddir@,$ac_builddir,;t t
37200 s,@abs_builddir@,$ac_abs_builddir,;t t
37201 s,@top_builddir@,$ac_top_builddir,;t t
37202 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37203 s,@INSTALL@,$ac_INSTALL,;t t
37204 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37205 rm -f $tmp/stdin
37206 if test x"$ac_file" != x-; then
37207 mv $tmp/out $ac_file
37208 else
37209 cat $tmp/out
37210 rm -f $tmp/out
37211 fi
37212
37213 done
37214 _ACEOF
37215 cat >>$CONFIG_STATUS <<\_ACEOF
37216
37217 #
37218 # CONFIG_HEADER section.
37219 #
37220
37221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37223 #
37224 # ac_d sets the value in "#define NAME VALUE" lines.
37225 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37226 ac_dB='[ ].*$,\1#\2'
37227 ac_dC=' '
37228 ac_dD=',;t'
37229 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37230 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37231 ac_uB='$,\1#\2define\3'
37232 ac_uC=' '
37233 ac_uD=',;t'
37234
37235 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37236 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37237 case $ac_file in
37238 - | *:- | *:-:* ) # input from stdin
37239 cat >$tmp/stdin
37240 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37242 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37243 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37244 * ) ac_file_in=$ac_file.in ;;
37245 esac
37246
37247 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37248 echo "$as_me: creating $ac_file" >&6;}
37249
37250 # First look for the input files in the build tree, otherwise in the
37251 # src tree.
37252 ac_file_inputs=`IFS=:
37253 for f in $ac_file_in; do
37254 case $f in
37255 -) echo $tmp/stdin ;;
37256 [\\/$]*)
37257 # Absolute (can't be DOS-style, as IFS=:)
37258 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37259 echo "$as_me: error: cannot find input file: $f" >&2;}
37260 { (exit 1); exit 1; }; }
37261 echo $f;;
37262 *) # Relative
37263 if test -f "$f"; then
37264 # Build tree
37265 echo $f
37266 elif test -f "$srcdir/$f"; then
37267 # Source tree
37268 echo $srcdir/$f
37269 else
37270 # /dev/null tree
37271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37272 echo "$as_me: error: cannot find input file: $f" >&2;}
37273 { (exit 1); exit 1; }; }
37274 fi;;
37275 esac
37276 done` || { (exit 1); exit 1; }
37277 # Remove the trailing spaces.
37278 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37279
37280 _ACEOF
37281
37282 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37283 # `conftest.undefs', that substitutes the proper values into
37284 # config.h.in to produce config.h. The first handles `#define'
37285 # templates, and the second `#undef' templates.
37286 # And first: Protect against being on the right side of a sed subst in
37287 # config.status. Protect against being in an unquoted here document
37288 # in config.status.
37289 rm -f conftest.defines conftest.undefs
37290 # Using a here document instead of a string reduces the quoting nightmare.
37291 # Putting comments in sed scripts is not portable.
37292 #
37293 # `end' is used to avoid that the second main sed command (meant for
37294 # 0-ary CPP macros) applies to n-ary macro definitions.
37295 # See the Autoconf documentation for `clear'.
37296 cat >confdef2sed.sed <<\_ACEOF
37297 s/[\\&,]/\\&/g
37298 s,[\\$`],\\&,g
37299 t clear
37300 : clear
37301 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37302 t end
37303 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37304 : end
37305 _ACEOF
37306 # If some macros were called several times there might be several times
37307 # the same #defines, which is useless. Nevertheless, we may not want to
37308 # sort them, since we want the *last* AC-DEFINE to be honored.
37309 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37310 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37311 rm -f confdef2sed.sed
37312
37313 # This sed command replaces #undef with comments. This is necessary, for
37314 # example, in the case of _POSIX_SOURCE, which is predefined and required
37315 # on some systems where configure will not decide to define it.
37316 cat >>conftest.undefs <<\_ACEOF
37317 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37318 _ACEOF
37319
37320 # Break up conftest.defines because some shells have a limit on the size
37321 # of here documents, and old seds have small limits too (100 cmds).
37322 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37323 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37324 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37325 echo ' :' >>$CONFIG_STATUS
37326 rm -f conftest.tail
37327 while grep . conftest.defines >/dev/null
37328 do
37329 # Write a limited-size here document to $tmp/defines.sed.
37330 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37331 # Speed up: don't consider the non `#define' lines.
37332 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37333 # Work around the forget-to-reset-the-flag bug.
37334 echo 't clr' >>$CONFIG_STATUS
37335 echo ': clr' >>$CONFIG_STATUS
37336 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37337 echo 'CEOF
37338 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37339 rm -f $tmp/in
37340 mv $tmp/out $tmp/in
37341 ' >>$CONFIG_STATUS
37342 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37343 rm -f conftest.defines
37344 mv conftest.tail conftest.defines
37345 done
37346 rm -f conftest.defines
37347 echo ' fi # grep' >>$CONFIG_STATUS
37348 echo >>$CONFIG_STATUS
37349
37350 # Break up conftest.undefs because some shells have a limit on the size
37351 # of here documents, and old seds have small limits too (100 cmds).
37352 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37353 rm -f conftest.tail
37354 while grep . conftest.undefs >/dev/null
37355 do
37356 # Write a limited-size here document to $tmp/undefs.sed.
37357 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37358 # Speed up: don't consider the non `#undef'
37359 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37360 # Work around the forget-to-reset-the-flag bug.
37361 echo 't clr' >>$CONFIG_STATUS
37362 echo ': clr' >>$CONFIG_STATUS
37363 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37364 echo 'CEOF
37365 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37366 rm -f $tmp/in
37367 mv $tmp/out $tmp/in
37368 ' >>$CONFIG_STATUS
37369 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37370 rm -f conftest.undefs
37371 mv conftest.tail conftest.undefs
37372 done
37373 rm -f conftest.undefs
37374
37375 cat >>$CONFIG_STATUS <<\_ACEOF
37376 # Let's still pretend it is `configure' which instantiates (i.e., don't
37377 # use $as_me), people would be surprised to read:
37378 # /* config.h. Generated by config.status. */
37379 if test x"$ac_file" = x-; then
37380 echo "/* Generated by configure. */" >$tmp/config.h
37381 else
37382 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37383 fi
37384 cat $tmp/in >>$tmp/config.h
37385 rm -f $tmp/in
37386 if test x"$ac_file" != x-; then
37387 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37388 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37389 echo "$as_me: $ac_file is unchanged" >&6;}
37390 else
37391 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37393 X"$ac_file" : 'X\(//\)[^/]' \| \
37394 X"$ac_file" : 'X\(//\)$' \| \
37395 X"$ac_file" : 'X\(/\)' \| \
37396 . : '\(.\)' 2>/dev/null ||
37397 echo X"$ac_file" |
37398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37400 /^X\(\/\/\)$/{ s//\1/; q; }
37401 /^X\(\/\).*/{ s//\1/; q; }
37402 s/.*/./; q'`
37403 { if $as_mkdir_p; then
37404 mkdir -p "$ac_dir"
37405 else
37406 as_dir="$ac_dir"
37407 as_dirs=
37408 while test ! -d "$as_dir"; do
37409 as_dirs="$as_dir $as_dirs"
37410 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37412 X"$as_dir" : 'X\(//\)[^/]' \| \
37413 X"$as_dir" : 'X\(//\)$' \| \
37414 X"$as_dir" : 'X\(/\)' \| \
37415 . : '\(.\)' 2>/dev/null ||
37416 echo X"$as_dir" |
37417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37419 /^X\(\/\/\)$/{ s//\1/; q; }
37420 /^X\(\/\).*/{ s//\1/; q; }
37421 s/.*/./; q'`
37422 done
37423 test ! -n "$as_dirs" || mkdir $as_dirs
37424 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37425 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37426 { (exit 1); exit 1; }; }; }
37427
37428 rm -f $ac_file
37429 mv $tmp/config.h $ac_file
37430 fi
37431 else
37432 cat $tmp/config.h
37433 rm -f $tmp/config.h
37434 fi
37435 done
37436 _ACEOF
37437 cat >>$CONFIG_STATUS <<\_ACEOF
37438
37439 #
37440 # CONFIG_COMMANDS section.
37441 #
37442 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37443 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37444 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37445 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37446 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37447 X"$ac_dest" : 'X\(//\)[^/]' \| \
37448 X"$ac_dest" : 'X\(//\)$' \| \
37449 X"$ac_dest" : 'X\(/\)' \| \
37450 . : '\(.\)' 2>/dev/null ||
37451 echo X"$ac_dest" |
37452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37454 /^X\(\/\/\)$/{ s//\1/; q; }
37455 /^X\(\/\).*/{ s//\1/; q; }
37456 s/.*/./; q'`
37457 ac_builddir=.
37458
37459 if test "$ac_dir" != .; then
37460 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37461 # A "../" for each directory in $ac_dir_suffix.
37462 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37463 else
37464 ac_dir_suffix= ac_top_builddir=
37465 fi
37466
37467 case $srcdir in
37468 .) # No --srcdir option. We are building in place.
37469 ac_srcdir=.
37470 if test -z "$ac_top_builddir"; then
37471 ac_top_srcdir=.
37472 else
37473 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37474 fi ;;
37475 [\\/]* | ?:[\\/]* ) # Absolute path.
37476 ac_srcdir=$srcdir$ac_dir_suffix;
37477 ac_top_srcdir=$srcdir ;;
37478 *) # Relative path.
37479 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37480 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37481 esac
37482 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37483 # absolute.
37484 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37485 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37486 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37487 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37488
37489
37490 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37491 echo "$as_me: executing $ac_dest commands" >&6;}
37492 case $ac_dest in
37493 default )
37494 if test ! -h wx-config; then
37495 chmod +x wx-config
37496 mv wx-config wx${TOOLCHAIN_NAME}-config
37497 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37498 fi
37499
37500 if test ! -d lib; then
37501 mkdir lib
37502 fi
37503 if test ! -d lib/wx; then
37504 mkdir lib/wx
37505 fi
37506 if test ! -d lib/wx/include; then
37507 mkdir lib/wx/include
37508 fi
37509 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37510 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37511 fi
37512 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37513 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37514 fi
37515 if test -f setup.h; then
37516 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37517 fi
37518 ;;
37519 esac
37520 done
37521 _ACEOF
37522
37523 cat >>$CONFIG_STATUS <<\_ACEOF
37524
37525 { (exit 0); exit 0; }
37526 _ACEOF
37527 chmod +x $CONFIG_STATUS
37528 ac_clean_files=$ac_clean_files_save
37529
37530
37531 # configure is writing to config.log, and then calls config.status.
37532 # config.status does its own redirection, appending to config.log.
37533 # Unfortunately, on DOS this fails, as config.log is still kept open
37534 # by configure, so config.status won't be able to write to it; its
37535 # output is simply discarded. So we exec the FD to /dev/null,
37536 # effectively closing config.log, so it can be properly (re)opened and
37537 # appended to by config.status. When coming back to configure, we
37538 # need to make the FD available again.
37539 if test "$no_create" != yes; then
37540 ac_cs_success=:
37541 ac_config_status_args=
37542 test "$silent" = yes &&
37543 ac_config_status_args="$ac_config_status_args --quiet"
37544 exec 5>/dev/null
37545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37546 exec 5>>config.log
37547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37548 # would make configure fail if this is the last instruction.
37549 $ac_cs_success || { (exit 1); exit 1; }
37550 fi
37551
37552 #
37553 # CONFIG_SUBDIRS section.
37554 #
37555 if test "$no_recursion" != yes; then
37556
37557 # Remove --cache-file and --srcdir arguments so they do not pile up.
37558 ac_sub_configure_args=
37559 ac_prev=
37560 for ac_arg in $ac_configure_args; do
37561 if test -n "$ac_prev"; then
37562 ac_prev=
37563 continue
37564 fi
37565 case $ac_arg in
37566 -cache-file | --cache-file | --cache-fil | --cache-fi \
37567 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37568 ac_prev=cache_file ;;
37569 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37570 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37571 | --c=*)
37572 ;;
37573 --config-cache | -C)
37574 ;;
37575 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37576 ac_prev=srcdir ;;
37577 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37578 ;;
37579 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37580 ac_prev=prefix ;;
37581 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37582 ;;
37583 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37584 esac
37585 done
37586
37587 # Always prepend --prefix to ensure using the same prefix
37588 # in subdir configurations.
37589 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37590
37591 ac_popdir=`pwd`
37592 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37593
37594 # Do not complain, so a configure script can configure whichever
37595 # parts of a large source tree are present.
37596 test -d $srcdir/$ac_dir || continue
37597
37598 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37599 echo "$as_me: configuring in $ac_dir" >&6;}
37600 { if $as_mkdir_p; then
37601 mkdir -p "$ac_dir"
37602 else
37603 as_dir="$ac_dir"
37604 as_dirs=
37605 while test ! -d "$as_dir"; do
37606 as_dirs="$as_dir $as_dirs"
37607 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37608 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37609 X"$as_dir" : 'X\(//\)[^/]' \| \
37610 X"$as_dir" : 'X\(//\)$' \| \
37611 X"$as_dir" : 'X\(/\)' \| \
37612 . : '\(.\)' 2>/dev/null ||
37613 echo X"$as_dir" |
37614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37615 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37616 /^X\(\/\/\)$/{ s//\1/; q; }
37617 /^X\(\/\).*/{ s//\1/; q; }
37618 s/.*/./; q'`
37619 done
37620 test ! -n "$as_dirs" || mkdir $as_dirs
37621 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37622 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37623 { (exit 1); exit 1; }; }; }
37624
37625 ac_builddir=.
37626
37627 if test "$ac_dir" != .; then
37628 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37629 # A "../" for each directory in $ac_dir_suffix.
37630 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37631 else
37632 ac_dir_suffix= ac_top_builddir=
37633 fi
37634
37635 case $srcdir in
37636 .) # No --srcdir option. We are building in place.
37637 ac_srcdir=.
37638 if test -z "$ac_top_builddir"; then
37639 ac_top_srcdir=.
37640 else
37641 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37642 fi ;;
37643 [\\/]* | ?:[\\/]* ) # Absolute path.
37644 ac_srcdir=$srcdir$ac_dir_suffix;
37645 ac_top_srcdir=$srcdir ;;
37646 *) # Relative path.
37647 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37648 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37649 esac
37650 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37651 # absolute.
37652 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37653 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37654 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37655 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37656
37657
37658 cd $ac_dir
37659
37660 # Check for guested configure; otherwise get Cygnus style configure.
37661 if test -f $ac_srcdir/configure.gnu; then
37662 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37663 elif test -f $ac_srcdir/configure; then
37664 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37665 elif test -f $ac_srcdir/configure.in; then
37666 ac_sub_configure=$ac_configure
37667 else
37668 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37669 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37670 ac_sub_configure=
37671 fi
37672
37673 # The recursion is here.
37674 if test -n "$ac_sub_configure"; then
37675 # Make the cache file name correct relative to the subdirectory.
37676 case $cache_file in
37677 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37678 *) # Relative path.
37679 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37680 esac
37681
37682 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37683 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37684 # The eval makes quoting arguments work.
37685 eval $ac_sub_configure $ac_sub_configure_args \
37686 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37687 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37688 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37689 { (exit 1); exit 1; }; }
37690 fi
37691
37692 cd $ac_popdir
37693 done
37694 fi
37695
37696
37697 echo
37698 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37699 echo ""
37700 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
37701 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37702
37703 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37704 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37705 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37706
37707 echo " What level of wxWindows compatibility should be enabled?"
37708 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37709 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37710
37711 echo " Which libraries should wxWindows use?"
37712 echo " jpeg ${wxUSE_LIBJPEG-none}"
37713 echo " png ${wxUSE_LIBPNG-none}"
37714 echo " regex ${wxUSE_REGEX}"
37715 echo " tiff ${wxUSE_LIBTIFF-none}"
37716 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
37717 echo " xpm ${wxUSE_LIBXPM-none}"
37718 fi
37719 echo " zlib ${wxUSE_ZLIB}"
37720 echo " odbc ${wxUSE_ODBC}"
37721 echo " expat ${wxUSE_EXPAT}"
37722 echo " libmspack ${wxUSE_LIBMSPACK}"
37723
37724 echo ""
37725