]> git.saurik.com Git - wxWidgets.git/blob - configure
look for Motif 2.1 headers before Motif 1.2 ones
[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 SDL_CONFIG SDL_CFLAGS SDL_LIBS 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 USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL 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_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 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_0_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_UNIX_1_USE_PLUGINS_0 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_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653 done
654
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
802
803 Defaults for the options are specified in brackets.
804
805 Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816 _ACEOF
817
818 cat <<_ACEOF
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
829
830 For better control, use the options below.
831
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845 _ACEOF
846
847 cat <<\_ACEOF
848
849 X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853 System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857 _ACEOF
858 fi
859
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --enable-monolithic build wxWindows as single library
871 --enable-plugins build parts of wxWindows as loadable components
872 --enable-universal use wxWindows GUI controls instead of native ones
873 --enable-nanox use NanoX
874 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
875 --enable-shared create shared library code
876 --enable-optimise create optimised code
877 --enable-debug same as debug_flag and debug_info
878 --enable-stl use STL for containers
879 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
880 --enable-debug_info create code with debugging information
881 --enable-debug_gdb create code with extra GDB debugging information
882 --enable-debug_cntxt use wxDebugContext
883 --enable-mem_tracing create code with memory tracing
884 --enable-profile create code with profiling information
885 --enable-no_rtti create code without RTTI information
886 --enable-no_exceptions create code without C++ exceptions handling
887 --enable-permissive compile code disregarding strict ANSI
888 --enable-no_deps create code without dependency information
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes (Win32 only)
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-apple_ieee use the Apple IEEE codec
903 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
904 --enable-cmdline use wxCmdLineParser class
905 --enable-datetime use wxDateTime class
906 --enable-dialupman use dialup network classes
907 --enable-dynlib use wxLibrary class for DLL loading
908 --enable-dynamicloader use (new) wxDynamicLibrary class
909 --enable-exceptions build exception-safe library
910 --enable-ffile use wxFFile class
911 --enable-file use wxFile class
912 --enable-filesystem use virtual file systems classes
913 --enable-fontmap use font encodings conversion classes
914 --enable-fs_inet use virtual HTTP/FTP filesystems
915 --enable-fs_zip use virtual ZIP filesystems
916 --enable-geometry use geometry class
917 --enable-log use logging system
918 --enable-longlong use wxLongLong class
919 --enable-mimetype use wxMimeTypesManager
920 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
921 --enable-snglinst use wxSingleInstanceChecker class
922 --enable-streams use wxStream etc classes
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-stopwatch use wxStopWatch class
925 --enable-sysoptions use wxSystemOptions
926 --enable-textbuf use wxTextBuffer class
927 --enable-textfile use wxTextFile class
928 --enable-timer use wxTimer class
929 --enable-unicode compile wxString with Unicode support
930 --enable-sound use wxSound class
931 --enable-wxprintfv use wxWindows implementation of vprintf()
932 --enable-zipstream use wxZipInputStream
933 --enable-gzstream use wxGzipInputStream
934 --enable-url use wxURL class
935 --enable-protocol use wxProtocol class
936 --enable-protocol-http HTTP support in wxProtocol
937 --enable-protocol-ftp FTP support in wxProtocol
938 --enable-protocol-file FILE support in wxProtocol
939 --enable-threads use threads
940 --enable-docview use document view architecture
941 --enable-help use help subsystem
942 --enable-mshtmlhelp use MS HTML Help (win32)
943 --enable-html use wxHTML sub-library
944 --enable-htmlhelp use wxHTML-based help
945 --enable-constraints use layout-constraints system
946 --enable-printarch use printing architecture
947 --enable-mdi use multiple document interface architecture
948 --enable-loggui use standard GUI logger
949 --enable-logwin use wxLogWindow
950 --enable-logdialog use wxLogDialog
951 --enable-postscript use wxPostscriptDC device context (default for gtk+)
952 --enable-prologio not available; see contrib
953 --enable-resources not available; see contrib
954 --enable-clipboard use wxClipboard class
955 --enable-dnd use Drag'n'Drop classes
956 --enable-metafile use win32 metafiles
957 --enable-controls use all usual controls
958 --enable-accel use accelerators
959 --enable-button use wxButton class
960 --enable-bmpbutton use wxBitmapButton class
961 --enable-calendar use wxCalendarCtrl class
962 --enable-caret use wxCaret class
963 --enable-checkbox use wxCheckBox class
964 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
965 --enable-choice use wxChoice class
966 --enable-combobox use wxComboBox class
967 --enable-display use wxDisplay class
968 --enable-gauge use wxGauge class
969 --enable-grid use wxGrid class
970 --enable-imaglist use wxImageList class
971 --enable-listbook use wxListbook class
972 --enable-listbox use wxListBox class
973 --enable-listctrl use wxListCtrl class
974 --enable-notebook use wxNotebook class
975 --enable-radiobox use wxRadioBox class
976 --enable-radiobtn use wxRadioButton class
977 --enable-sash use wxSashWindow class
978 --enable-scrollbar use wxScrollBar class and scrollable windows
979 --enable-slider use wxSlider class
980 --enable-spinbtn use wxSpinButton class
981 --enable-spinctrl use wxSpinCtrl class
982 --enable-splitter use wxSplitterWindow class
983 --enable-statbmp use wxStaticBitmap class
984 --enable-statbox use wxStaticBox class
985 --enable-statline use wxStaticLine class
986 --enable-stattext use wxStaticText class
987 --enable-statusbar use wxStatusBar class
988 --enable-tabdialog use wxTabControl class
989 --enable-textctrl use wxTextCtrl class
990 --enable-togglebtn use wxToggleButton class
991 --enable-toolbar use wxToolBar class
992 --enable-tbarnative use native wxToolBar class
993 --enable-tbarsmpl use wxToolBarSimple class
994 --enable-treectrl use wxTreeCtrl class
995 --enable-tipwindow use wxTipWindow class
996 --enable-popupwin use wxPopUpWindow class
997 --enable-commondlg use all common dialogs
998 --enable-choicedlg use wxChoiceDialog
999 --enable-coldlg use wxColourDialog
1000 --enable-filedlg use wxFileDialog
1001 --enable-finddlg use wxFindReplaceDialog
1002 --enable-fontdlg use wxFontDialog
1003 --enable-dirdlg use wxDirDialog
1004 --enable-msgdlg use wxMessageDialog
1005 --enable-numberdlg use wxNumberEntryDialog
1006 --enable-splash use wxSplashScreen
1007 --enable-textdlg use wxTextDialog
1008 --enable-tipdlg use startup tips
1009 --enable-progressdlg use wxProgressDialog
1010 --enable-wizarddlg use wxWizard
1011 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1012 --enable-miniframe use wxMiniFrame class
1013 --enable-tooltips use wxToolTip class
1014 --enable-splines use spline drawing code
1015 --enable-validators use wxValidator and derived classes
1016 --enable-busyinfo use wxBusyInfo
1017 --enable-joystick use wxJoystick (Linux only)
1018 --enable-metafiles use wxMetaFile (Windows only)
1019 --enable-dragimage use wxDragImage
1020 --enable-accessibility enable accessibility support
1021 --enable-palette use wxPalette class
1022 --enable-image use wxImage class
1023 --enable-gif use gif images (GIF file format)
1024 --enable-pcx use pcx images (PCX file format)
1025 --enable-iff use iff images (IFF file format)
1026 --enable-pnm use pnm images (PNM file format)
1027 --enable-xpm use xpm images (XPM file format)
1028 --enable-icocur use Windows ICO and CUR formats
1029 --enable-official_build official build of wxWindows (win32 DLL only)
1030 --enable-vendor=VENDOR vendor name (win32 DLL only)
1031 --disable-largefile omit support for large files
1032 --disable-gtktest do not try to compile and run a test GTK+ program
1033 --disable-gtktest Do not try to compile and run a test GTK program
1034 --disable-sdltest Do not try to compile and run a test SDL program
1035 --disable-precomp-headers don't use precompiled headers even if compiler can
1036
1037 Optional Packages:
1038 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1039 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1040 --with-gtk use GTK+
1041 --with-motif use Motif/Lesstif
1042 --with-mac use Mac OS X
1043 --with-cocoa use Cocoa
1044 --with-wine use Wine
1045 --with-msw use MS-Windows
1046 --with-pm use OS/2 Presentation Manager
1047 --with-mgl use SciTech MGL
1048 --with-microwin use MicroWindows
1049 --with-x11 use X11
1050 --with-libpng use libpng (PNG image format)
1051 --with-libjpeg use libjpeg (JPEG file format)
1052 --with-libtiff use libtiff (TIFF file format)
1053 --with-libxpm use libxpm (XPM file format)
1054 --with-libmspack use libmspack (CHM help files loading)
1055 --with-sdl use SDL for audio on Unix
1056 --with-opengl use OpenGL (or Mesa)
1057 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1058 --with-regex enable support for wxRegEx class
1059 --with-zlib use zlib for LZW compression
1060 --with-odbc use the IODBC and wxODBC classes
1061 --with-expat enable XML support using expat parser
1062 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1063 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1064 --with-x use the X Window System
1065 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1066 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1067 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1068
1069 Some influential environment variables:
1070 CC C compiler command
1071 CFLAGS C compiler flags
1072 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1073 nonstandard directory <lib dir>
1074 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1075 headers in a nonstandard directory <include dir>
1076 CPP C preprocessor
1077 CXX C++ compiler command
1078 CXXFLAGS C++ compiler flags
1079 CXXCPP C++ preprocessor
1080
1081 Use these variables to override the choices made by `configure' or to help
1082 it to find libraries and programs with nonstandard names/locations.
1083
1084 Report bugs to <wx-dev@lists.wxwindows.org>.
1085 _ACEOF
1086 fi
1087
1088 if test "$ac_init_help" = "recursive"; then
1089 # If there are subdirs, report their specific --help.
1090 ac_popdir=`pwd`
1091 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1092 test -d $ac_dir || continue
1093 ac_builddir=.
1094
1095 if test "$ac_dir" != .; then
1096 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1097 # A "../" for each directory in $ac_dir_suffix.
1098 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1099 else
1100 ac_dir_suffix= ac_top_builddir=
1101 fi
1102
1103 case $srcdir in
1104 .) # No --srcdir option. We are building in place.
1105 ac_srcdir=.
1106 if test -z "$ac_top_builddir"; then
1107 ac_top_srcdir=.
1108 else
1109 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1110 fi ;;
1111 [\\/]* | ?:[\\/]* ) # Absolute path.
1112 ac_srcdir=$srcdir$ac_dir_suffix;
1113 ac_top_srcdir=$srcdir ;;
1114 *) # Relative path.
1115 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1116 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1117 esac
1118 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1119 # absolute.
1120 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1121 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1122 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1123 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1124
1125 cd $ac_dir
1126 # Check for guested configure; otherwise get Cygnus style configure.
1127 if test -f $ac_srcdir/configure.gnu; then
1128 echo
1129 $SHELL $ac_srcdir/configure.gnu --help=recursive
1130 elif test -f $ac_srcdir/configure; then
1131 echo
1132 $SHELL $ac_srcdir/configure --help=recursive
1133 elif test -f $ac_srcdir/configure.ac ||
1134 test -f $ac_srcdir/configure.in; then
1135 echo
1136 $ac_configure --help
1137 else
1138 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1139 fi
1140 cd $ac_popdir
1141 done
1142 fi
1143
1144 test -n "$ac_init_help" && exit 0
1145 if $ac_init_version; then
1146 cat <<\_ACEOF
1147 wxWindows configure 2.5.1
1148 generated by GNU Autoconf 2.57
1149
1150 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1151 Free Software Foundation, Inc.
1152 This configure script is free software; the Free Software Foundation
1153 gives unlimited permission to copy, distribute and modify it.
1154 _ACEOF
1155 exit 0
1156 fi
1157 exec 5>config.log
1158 cat >&5 <<_ACEOF
1159 This file contains any messages produced by compilers while
1160 running configure, to aid debugging if configure makes a mistake.
1161
1162 It was created by wxWindows $as_me 2.5.1, which was
1163 generated by GNU Autoconf 2.57. Invocation command line was
1164
1165 $ $0 $@
1166
1167 _ACEOF
1168 {
1169 cat <<_ASUNAME
1170 ## --------- ##
1171 ## Platform. ##
1172 ## --------- ##
1173
1174 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1175 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1176 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1177 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1178 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1179
1180 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1181 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1182
1183 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1184 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1185 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1186 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1187 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1188 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1189 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1190
1191 _ASUNAME
1192
1193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1194 for as_dir in $PATH
1195 do
1196 IFS=$as_save_IFS
1197 test -z "$as_dir" && as_dir=.
1198 echo "PATH: $as_dir"
1199 done
1200
1201 } >&5
1202
1203 cat >&5 <<_ACEOF
1204
1205
1206 ## ----------- ##
1207 ## Core tests. ##
1208 ## ----------- ##
1209
1210 _ACEOF
1211
1212
1213 # Keep a trace of the command line.
1214 # Strip out --no-create and --no-recursion so they do not pile up.
1215 # Strip out --silent because we don't want to record it for future runs.
1216 # Also quote any args containing shell meta-characters.
1217 # Make two passes to allow for proper duplicate-argument suppression.
1218 ac_configure_args=
1219 ac_configure_args0=
1220 ac_configure_args1=
1221 ac_sep=
1222 ac_must_keep_next=false
1223 for ac_pass in 1 2
1224 do
1225 for ac_arg
1226 do
1227 case $ac_arg in
1228 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1230 | -silent | --silent | --silen | --sile | --sil)
1231 continue ;;
1232 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1233 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1234 esac
1235 case $ac_pass in
1236 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1237 2)
1238 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1239 if test $ac_must_keep_next = true; then
1240 ac_must_keep_next=false # Got value, back to normal.
1241 else
1242 case $ac_arg in
1243 *=* | --config-cache | -C | -disable-* | --disable-* \
1244 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1245 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1246 | -with-* | --with-* | -without-* | --without-* | --x)
1247 case "$ac_configure_args0 " in
1248 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1249 esac
1250 ;;
1251 -* ) ac_must_keep_next=true ;;
1252 esac
1253 fi
1254 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1255 # Get rid of the leading space.
1256 ac_sep=" "
1257 ;;
1258 esac
1259 done
1260 done
1261 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1262 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1263
1264 # When interrupted or exit'd, cleanup temporary files, and complete
1265 # config.log. We remove comments because anyway the quotes in there
1266 # would cause problems or look ugly.
1267 # WARNING: Be sure not to use single quotes in there, as some shells,
1268 # such as our DU 5.0 friend, will then `close' the trap.
1269 trap 'exit_status=$?
1270 # Save into config.log some information that might help in debugging.
1271 {
1272 echo
1273
1274 cat <<\_ASBOX
1275 ## ---------------- ##
1276 ## Cache variables. ##
1277 ## ---------------- ##
1278 _ASBOX
1279 echo
1280 # The following way of writing the cache mishandles newlines in values,
1281 {
1282 (set) 2>&1 |
1283 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1284 *ac_space=\ *)
1285 sed -n \
1286 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1288 ;;
1289 *)
1290 sed -n \
1291 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1292 ;;
1293 esac;
1294 }
1295 echo
1296
1297 cat <<\_ASBOX
1298 ## ----------------- ##
1299 ## Output variables. ##
1300 ## ----------------- ##
1301 _ASBOX
1302 echo
1303 for ac_var in $ac_subst_vars
1304 do
1305 eval ac_val=$`echo $ac_var`
1306 echo "$ac_var='"'"'$ac_val'"'"'"
1307 done | sort
1308 echo
1309
1310 if test -n "$ac_subst_files"; then
1311 cat <<\_ASBOX
1312 ## ------------- ##
1313 ## Output files. ##
1314 ## ------------- ##
1315 _ASBOX
1316 echo
1317 for ac_var in $ac_subst_files
1318 do
1319 eval ac_val=$`echo $ac_var`
1320 echo "$ac_var='"'"'$ac_val'"'"'"
1321 done | sort
1322 echo
1323 fi
1324
1325 if test -s confdefs.h; then
1326 cat <<\_ASBOX
1327 ## ----------- ##
1328 ## confdefs.h. ##
1329 ## ----------- ##
1330 _ASBOX
1331 echo
1332 sed "/^$/d" confdefs.h | sort
1333 echo
1334 fi
1335 test "$ac_signal" != 0 &&
1336 echo "$as_me: caught signal $ac_signal"
1337 echo "$as_me: exit $exit_status"
1338 } >&5
1339 rm -f core core.* *.core &&
1340 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1341 exit $exit_status
1342 ' 0
1343 for ac_signal in 1 2 13 15; do
1344 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1345 done
1346 ac_signal=0
1347
1348 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1349 rm -rf conftest* confdefs.h
1350 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1351 echo >confdefs.h
1352
1353 # Predefined preprocessor variables.
1354
1355 cat >>confdefs.h <<_ACEOF
1356 #define PACKAGE_NAME "$PACKAGE_NAME"
1357 _ACEOF
1358
1359
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1362 _ACEOF
1363
1364
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1367 _ACEOF
1368
1369
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_STRING "$PACKAGE_STRING"
1372 _ACEOF
1373
1374
1375 cat >>confdefs.h <<_ACEOF
1376 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1377 _ACEOF
1378
1379
1380 # Let the site file select an alternate cache file if it wants to.
1381 # Prefer explicitly selected file to automatically selected ones.
1382 if test -z "$CONFIG_SITE"; then
1383 if test "x$prefix" != xNONE; then
1384 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1385 else
1386 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1387 fi
1388 fi
1389 for ac_site_file in $CONFIG_SITE; do
1390 if test -r "$ac_site_file"; then
1391 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1392 echo "$as_me: loading site script $ac_site_file" >&6;}
1393 sed 's/^/| /' "$ac_site_file" >&5
1394 . "$ac_site_file"
1395 fi
1396 done
1397
1398 if test -r "$cache_file"; then
1399 # Some versions of bash will fail to source /dev/null (special
1400 # files actually), so we avoid doing that.
1401 if test -f "$cache_file"; then
1402 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1403 echo "$as_me: loading cache $cache_file" >&6;}
1404 case $cache_file in
1405 [\\/]* | ?:[\\/]* ) . $cache_file;;
1406 *) . ./$cache_file;;
1407 esac
1408 fi
1409 else
1410 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1411 echo "$as_me: creating cache $cache_file" >&6;}
1412 >$cache_file
1413 fi
1414
1415 # Check that the precious variables saved in the cache have kept the same
1416 # value.
1417 ac_cache_corrupted=false
1418 for ac_var in `(set) 2>&1 |
1419 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1420 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1421 eval ac_new_set=\$ac_env_${ac_var}_set
1422 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1423 eval ac_new_val="\$ac_env_${ac_var}_value"
1424 case $ac_old_set,$ac_new_set in
1425 set,)
1426 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1427 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1428 ac_cache_corrupted=: ;;
1429 ,set)
1430 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1431 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1432 ac_cache_corrupted=: ;;
1433 ,);;
1434 *)
1435 if test "x$ac_old_val" != "x$ac_new_val"; then
1436 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1437 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1438 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1439 echo "$as_me: former value: $ac_old_val" >&2;}
1440 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1441 echo "$as_me: current value: $ac_new_val" >&2;}
1442 ac_cache_corrupted=:
1443 fi;;
1444 esac
1445 # Pass precious variables to config.status.
1446 if test "$ac_new_set" = set; then
1447 case $ac_new_val in
1448 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1449 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1450 *) ac_arg=$ac_var=$ac_new_val ;;
1451 esac
1452 case " $ac_configure_args " in
1453 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1454 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1455 esac
1456 fi
1457 done
1458 if $ac_cache_corrupted; then
1459 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1464 fi
1465
1466 ac_ext=c
1467 ac_cpp='$CPP $CPPFLAGS'
1468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1497
1498
1499
1500
1501 ac_aux_dir=
1502 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1503 if test -f $ac_dir/install-sh; then
1504 ac_aux_dir=$ac_dir
1505 ac_install_sh="$ac_aux_dir/install-sh -c"
1506 break
1507 elif test -f $ac_dir/install.sh; then
1508 ac_aux_dir=$ac_dir
1509 ac_install_sh="$ac_aux_dir/install.sh -c"
1510 break
1511 elif test -f $ac_dir/shtool; then
1512 ac_aux_dir=$ac_dir
1513 ac_install_sh="$ac_aux_dir/shtool install -c"
1514 break
1515 fi
1516 done
1517 if test -z "$ac_aux_dir"; then
1518 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1519 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1520 { (exit 1); exit 1; }; }
1521 fi
1522 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1523 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1524 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1525
1526 # Make sure we can run config.sub.
1527 $ac_config_sub sun4 >/dev/null 2>&1 ||
1528 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1529 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1530 { (exit 1); exit 1; }; }
1531
1532 echo "$as_me:$LINENO: checking build system type" >&5
1533 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1534 if test "${ac_cv_build+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537 ac_cv_build_alias=$build_alias
1538 test -z "$ac_cv_build_alias" &&
1539 ac_cv_build_alias=`$ac_config_guess`
1540 test -z "$ac_cv_build_alias" &&
1541 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1542 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1543 { (exit 1); exit 1; }; }
1544 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1545 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1546 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1547 { (exit 1); exit 1; }; }
1548
1549 fi
1550 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1551 echo "${ECHO_T}$ac_cv_build" >&6
1552 build=$ac_cv_build
1553 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1554 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1555 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1556
1557
1558 echo "$as_me:$LINENO: checking host system type" >&5
1559 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1560 if test "${ac_cv_host+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 else
1563 ac_cv_host_alias=$host_alias
1564 test -z "$ac_cv_host_alias" &&
1565 ac_cv_host_alias=$ac_cv_build_alias
1566 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1567 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1568 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1569 { (exit 1); exit 1; }; }
1570
1571 fi
1572 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1573 echo "${ECHO_T}$ac_cv_host" >&6
1574 host=$ac_cv_host
1575 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1576 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1577 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1578
1579
1580 echo "$as_me:$LINENO: checking target system type" >&5
1581 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1582 if test "${ac_cv_target+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 else
1585 ac_cv_target_alias=$target_alias
1586 test "x$ac_cv_target_alias" = "x" &&
1587 ac_cv_target_alias=$ac_cv_host_alias
1588 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1589 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1590 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1591 { (exit 1); exit 1; }; }
1592
1593 fi
1594 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1595 echo "${ECHO_T}$ac_cv_target" >&6
1596 target=$ac_cv_target
1597 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1598 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1599 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1600
1601
1602 # The aliases save the names the user supplied, while $host etc.
1603 # will get canonicalized.
1604 test -n "$target_alias" &&
1605 test "$program_prefix$program_suffix$program_transform_name" = \
1606 NONENONEs,x,x, &&
1607 program_prefix=${target_alias}-
1608
1609
1610
1611 WX_MAJOR_VERSION_NUMBER=2
1612 WX_MINOR_VERSION_NUMBER=5
1613 WX_RELEASE_NUMBER=1
1614
1615 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1616 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1617
1618 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1619
1620 WX_CURRENT=1
1621 WX_REVISION=0
1622 WX_AGE=0
1623
1624
1625
1626 USE_UNIX=1
1627 USE_OS2=0
1628 USE_WIN32=0
1629 USE_DOS=0
1630 USE_BEOS=0
1631 USE_MAC=0
1632
1633 USE_AIX=
1634 USE_BSD= USE_DARWIN= USE_FREEBSD=
1635 USE_GNU= USE_HPUX=
1636 USE_LINUX=
1637 USE_NETBSD=
1638 USE_OPENBSD=
1639 USE_OSF= USE_SGI=
1640 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1641 USE_ULTRIX=
1642 USE_UNIXWARE=
1643
1644 USE_ALPHA=
1645
1646 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1647
1648 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1649
1650 DEFAULT_wxUSE_COCOA=0
1651 DEFAULT_wxUSE_GTK=0
1652 DEFAULT_wxUSE_MAC=0
1653 DEFAULT_wxUSE_MGL=0
1654 DEFAULT_wxUSE_MICROWIN=0
1655 DEFAULT_wxUSE_MOTIF=0
1656 DEFAULT_wxUSE_MSW=0
1657 DEFAULT_wxUSE_PM=0
1658 DEFAULT_wxUSE_X11=0
1659
1660 DEFAULT_DEFAULT_wxUSE_COCOA=0
1661 DEFAULT_DEFAULT_wxUSE_GTK=0
1662 DEFAULT_DEFAULT_wxUSE_MAC=0
1663 DEFAULT_DEFAULT_wxUSE_MGL=0
1664 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1665 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1666 DEFAULT_DEFAULT_wxUSE_MSW=0
1667 DEFAULT_DEFAULT_wxUSE_PM=0
1668 DEFAULT_DEFAULT_wxUSE_X11=0
1669
1670 PROGRAM_EXT=
1671 SO_SUFFIX=so
1672 SAMPLES_RPATH_FLAG=
1673 SAMPLES_RPATH_POSTLINK=
1674
1675 case "${host}" in
1676 *-hp-hpux* )
1677 USE_HPUX=1
1678 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1679 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1680 SO_SUFFIX=sl
1681 cat >>confdefs.h <<\_ACEOF
1682 #define __HPUX__ 1
1683 _ACEOF
1684
1685 ;;
1686 *-*-linux* )
1687 USE_LINUX=1
1688 cat >>confdefs.h <<\_ACEOF
1689 #define __LINUX__ 1
1690 _ACEOF
1691
1692 TMP=`uname -m`
1693 if test "x$TMP" = "xalpha"; then
1694 USE_ALPHA=1
1695 cat >>confdefs.h <<\_ACEOF
1696 #define __ALPHA__ 1
1697 _ACEOF
1698
1699 fi
1700 DEFAULT_DEFAULT_wxUSE_GTK=1
1701 ;;
1702 *-*-gnu* )
1703 USE_GNU=1
1704 cat >>confdefs.h <<\_ACEOF
1705 #define __GNU__ 1
1706 _ACEOF
1707
1708 TMP=`uname -m`
1709 if test "x$TMP" = "xalpha"; then
1710 USE_ALPHA=1
1711 cat >>confdefs.h <<\_ACEOF
1712 #define __ALPHA__ 1
1713 _ACEOF
1714
1715 fi
1716 DEFAULT_DEFAULT_wxUSE_GTK=1
1717 ;;
1718 *-*-irix5* | *-*-irix6* )
1719 USE_SGI=1
1720 USE_SVR4=1
1721 cat >>confdefs.h <<\_ACEOF
1722 #define __SGI__ 1
1723 _ACEOF
1724
1725 cat >>confdefs.h <<\_ACEOF
1726 #define __SVR4__ 1
1727 _ACEOF
1728
1729 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1730 ;;
1731 *-*-solaris2* )
1732 USE_SUN=1
1733 USE_SOLARIS=1
1734 USE_SVR4=1
1735 cat >>confdefs.h <<\_ACEOF
1736 #define __SUN__ 1
1737 _ACEOF
1738
1739 cat >>confdefs.h <<\_ACEOF
1740 #define __SOLARIS__ 1
1741 _ACEOF
1742
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __SVR4__ 1
1745 _ACEOF
1746
1747 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1748 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1749 ;;
1750 *-*-sunos4* )
1751 USE_SUN=1
1752 USE_SUNOS=1
1753 USE_BSD=1
1754 cat >>confdefs.h <<\_ACEOF
1755 #define __SUN__ 1
1756 _ACEOF
1757
1758 cat >>confdefs.h <<\_ACEOF
1759 #define __SUNOS__ 1
1760 _ACEOF
1761
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __BSD__ 1
1764 _ACEOF
1765
1766 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1767 ;;
1768 *-*-freebsd*)
1769 USE_BSD=1
1770 USE_FREEBSD=1
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __FREEBSD__ 1
1773 _ACEOF
1774
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __BSD__ 1
1777 _ACEOF
1778
1779 DEFAULT_DEFAULT_wxUSE_GTK=1
1780 ;;
1781 *-*-openbsd*)
1782 USE_BSD=1
1783 USE_OPENBSD=1
1784 cat >>confdefs.h <<\_ACEOF
1785 #define __OPENBSD__ 1
1786 _ACEOF
1787
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __BSD__ 1
1790 _ACEOF
1791
1792 DEFAULT_DEFAULT_wxUSE_GTK=1
1793 ;;
1794 *-*-netbsd*)
1795 USE_BSD=1
1796 USE_NETBSD=1
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __NETBSD__ 1
1799 _ACEOF
1800
1801 cat >>confdefs.h <<\_ACEOF
1802 #define __BSD__ 1
1803 _ACEOF
1804
1805 DEFAULT_DEFAULT_wxUSE_GTK=1
1806 ;;
1807 *-*-osf* )
1808 USE_ALPHA=1
1809 USE_OSF=1
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __ALPHA__ 1
1812 _ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __OSF__ 1
1816 _ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1820 ;;
1821 *-*-dgux5* )
1822 USE_ALPHA=1
1823 USE_SVR4=1
1824 cat >>confdefs.h <<\_ACEOF
1825 #define __ALPHA__ 1
1826 _ACEOF
1827
1828 cat >>confdefs.h <<\_ACEOF
1829 #define __SVR4__ 1
1830 _ACEOF
1831
1832 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1833 ;;
1834 *-*-sysv5* )
1835 USE_SYSV=1
1836 USE_SVR4=1
1837 cat >>confdefs.h <<\_ACEOF
1838 #define __SYSV__ 1
1839 _ACEOF
1840
1841 cat >>confdefs.h <<\_ACEOF
1842 #define __SVR4__ 1
1843 _ACEOF
1844
1845 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1846 ;;
1847 *-*-aix* )
1848 USE_AIX=1
1849 USE_SYSV=1
1850 USE_SVR4=1
1851 SO_SUFFIX=a
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __AIX__ 1
1854 _ACEOF
1855
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __SYSV__ 1
1858 _ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __SVR4__ 1
1862 _ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1865 ;;
1866
1867 *-*-*UnixWare*)
1868 USE_SYSV=1
1869 USE_SVR4=1
1870 USE_UNIXWARE=1
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __UNIXWARE__ 1
1873 _ACEOF
1874
1875 ;;
1876
1877 *-*-cygwin* | *-*-mingw32* )
1878 SO_SUFFIX=dll
1879 PROGRAM_EXT=".exe"
1880 RESCOMP=windres
1881 DEFAULT_DEFAULT_wxUSE_MSW=1
1882 ;;
1883
1884 *-pc-msdosdjgpp )
1885 USE_UNIX=0
1886 USE_DOS=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __DOS__ 1
1889 _ACEOF
1890
1891 PROGRAM_EXT=".exe"
1892 DEFAULT_DEFAULT_wxUSE_MGL=1
1893 LIBS="$LIBS -lstdc++"
1894 ;;
1895
1896 *-pc-os2_emx | *-pc-os2-emx )
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __EMX__ 1
1899 _ACEOF
1900
1901 USE_OS2=1
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __OS2__ 1
1904 _ACEOF
1905
1906 PROGRAM_EXT=".exe"
1907 DEFAULT_DEFAULT_wxUSE_PM=1
1908 CXX=gcc
1909 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1910 ac_executable_extensions=".exe"
1911 export ac_executable_extensions
1912 ac_save_IFS="$IFS"
1913 IFS='\\'
1914 ac_TEMP_PATH=
1915 for ac_dir in $PATH; do
1916 IFS=$ac_save_IFS
1917 if test -z "$ac_TEMP_PATH"; then
1918 ac_TEMP_PATH="$ac_dir"
1919 else
1920 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1921 fi
1922 done
1923 export PATH="$ac_TEMP_PATH"
1924 unset ac_TEMP_PATH
1925 ;;
1926
1927 powerpc-*-darwin* )
1928 USE_BSD=1
1929 USE_DARWIN=1
1930 SO_SUFFIX=dylib
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __BSD__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __DARWIN__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __POWERPC__ 1
1941 _ACEOF
1942
1943 cat >>confdefs.h <<\_ACEOF
1944 #define TARGET_CARBON 1
1945 _ACEOF
1946
1947 DEFAULT_DEFAULT_wxUSE_MAC=1
1948 ;;
1949
1950 *-*-beos* )
1951 USE_BEOS=1
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __BEOS__ 1
1954 _ACEOF
1955
1956 ;;
1957
1958 *)
1959 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1960 echo "$as_me: error: unknown system type ${host}." >&2;}
1961 { (exit 1); exit 1; }; }
1962 esac
1963
1964
1965
1966
1967 wx_arg_cache_file="configarg.cache"
1968 echo "loading argument cache $wx_arg_cache_file"
1969 rm -f ${wx_arg_cache_file}.tmp
1970 touch ${wx_arg_cache_file}.tmp
1971 touch ${wx_arg_cache_file}
1972
1973
1974 DEBUG_CONFIGURE=0
1975 if test $DEBUG_CONFIGURE = 1; then
1976 DEFAULT_wxUSE_UNIVERSAL=no
1977 DEFAULT_wxUSE_STL=no
1978
1979 DEFAULT_wxUSE_NANOX=no
1980
1981 DEFAULT_wxUSE_THREADS=yes
1982
1983 DEFAULT_wxUSE_SHARED=yes
1984 DEFAULT_wxUSE_OPTIMISE=no
1985 DEFAULT_wxUSE_PROFILE=no
1986 DEFAULT_wxUSE_NO_DEPS=no
1987 DEFAULT_wxUSE_NO_RTTI=no
1988 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1989 DEFAULT_wxUSE_PERMISSIVE=no
1990 DEFAULT_wxUSE_DEBUG_FLAG=yes
1991 DEFAULT_wxUSE_DEBUG_INFO=yes
1992 DEFAULT_wxUSE_DEBUG_GDB=yes
1993 DEFAULT_wxUSE_MEM_TRACING=no
1994 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1995 DEFAULT_wxUSE_DMALLOC=no
1996 DEFAULT_wxUSE_APPLE_IEEE=no
1997
1998 DEFAULT_wxUSE_EXCEPTIONS=no
1999 DEFAULT_wxUSE_LOG=yes
2000 DEFAULT_wxUSE_LOGWINDOW=no
2001 DEFAULT_wxUSE_LOGGUI=no
2002 DEFAULT_wxUSE_LOGDIALOG=no
2003
2004 DEFAULT_wxUSE_GUI=yes
2005 DEFAULT_wxUSE_CONTROLS=no
2006
2007 DEFAULT_wxUSE_REGEX=no
2008 DEFAULT_wxUSE_XML=no
2009 DEFAULT_wxUSE_EXPAT=no
2010 DEFAULT_wxUSE_ZLIB=no
2011 DEFAULT_wxUSE_LIBPNG=no
2012 DEFAULT_wxUSE_LIBJPEG=no
2013 DEFAULT_wxUSE_LIBTIFF=no
2014 DEFAULT_wxUSE_LIBXPM=no
2015 DEFAULT_wxUSE_LIBMSPACK=no
2016 DEFAULT_wxUSE_LIBSDL=no
2017 DEFAULT_wxUSE_ODBC=no
2018 DEFAULT_wxUSE_OPENGL=no
2019
2020 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2021 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2022 DEFAULT_wxUSE_STD_IOSTREAM=no
2023 DEFAULT_wxUSE_CMDLINE_PARSER=no
2024 DEFAULT_wxUSE_DATETIME=no
2025 DEFAULT_wxUSE_TIMER=no
2026 DEFAULT_wxUSE_STOPWATCH=no
2027 DEFAULT_wxUSE_FILE=no
2028 DEFAULT_wxUSE_FFILE=no
2029 DEFAULT_wxUSE_TEXTBUFFER=no
2030 DEFAULT_wxUSE_TEXTFILE=no
2031 DEFAULT_wxUSE_SOUND=no
2032 DEFAULT_wxUSE_INTL=no
2033 DEFAULT_wxUSE_CONFIG=no
2034 DEFAULT_wxUSE_FONTMAP=no
2035 DEFAULT_wxUSE_STREAMS=no
2036 DEFAULT_wxUSE_SOCKETS=no
2037 DEFAULT_wxUSE_OLE=no
2038 DEFAULT_wxUSE_DATAOBJ=no
2039 DEFAULT_wxUSE_DIALUP_MANAGER=no
2040 DEFAULT_wxUSE_JOYSTICK=no
2041 DEFAULT_wxUSE_DYNLIB_CLASS=no
2042 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2043 DEFAULT_wxUSE_LONGLONG=no
2044 DEFAULT_wxUSE_GEOMETRY=no
2045
2046 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2047 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2048 DEFAULT_wxUSE_POSTSCRIPT=no
2049
2050 DEFAULT_wxUSE_CLIPBOARD=no
2051 DEFAULT_wxUSE_TOOLTIPS=no
2052 DEFAULT_wxUSE_DRAG_AND_DROP=no
2053 DEFAULT_wxUSE_DRAGIMAGE=no
2054 DEFAULT_wxUSE_SPLINES=no
2055
2056 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2057 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2058 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2059
2060 DEFAULT_wxUSE_RESOURCES=no
2061 DEFAULT_wxUSE_CONSTRAINTS=no
2062 DEFAULT_wxUSE_IPC=no
2063 DEFAULT_wxUSE_HELP=no
2064 DEFAULT_wxUSE_MS_HTML_HELP=no
2065 DEFAULT_wxUSE_WXHTML_HELP=no
2066 DEFAULT_wxUSE_TREELAYOUT=no
2067 DEFAULT_wxUSE_METAFILE=no
2068 DEFAULT_wxUSE_MIMETYPE=no
2069 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2070 DEFAULT_wxUSE_PROTOCOL=no
2071 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2072 DEFAULT_wxUSE_PROTOCOL_FTP=no
2073 DEFAULT_wxUSE_PROTOCOL_FILE=no
2074 DEFAULT_wxUSE_URL=no
2075
2076 DEFAULT_wxUSE_COMMONDLGS=no
2077 DEFAULT_wxUSE_CHOICEDLG=no
2078 DEFAULT_wxUSE_COLOURDLG=no
2079 DEFAULT_wxUSE_DIRDLG=no
2080 DEFAULT_wxUSE_FILEDLG=no
2081 DEFAULT_wxUSE_FINDREPLDLG=no
2082 DEFAULT_wxUSE_FONTDLG=no
2083 DEFAULT_wxUSE_MSGDLG=no
2084 DEFAULT_wxUSE_NUMBERDLG=no
2085 DEFAULT_wxUSE_TEXTDLG=no
2086 DEFAULT_wxUSE_SPLASH=no
2087 DEFAULT_wxUSE_STARTUP_TIPS=no
2088 DEFAULT_wxUSE_PROGRESSDLG=no
2089 DEFAULT_wxUSE_WIZARDDLG=no
2090
2091 DEFAULT_wxUSE_MENUS=no
2092 DEFAULT_wxUSE_MINIFRAME=no
2093 DEFAULT_wxUSE_HTML=no
2094 DEFAULT_wxUSE_FILESYSTEM=no
2095 DEFAULT_wxUSE_FS_INET=no
2096 DEFAULT_wxUSE_FS_ZIP=no
2097 DEFAULT_wxUSE_BUSYINFO=no
2098 DEFAULT_wxUSE_ZIPSTREAM=no
2099 DEFAULT_wxUSE_GZSTREAM=no
2100 DEFAULT_wxUSE_VALIDATORS=no
2101
2102 DEFAULT_wxUSE_ACCEL=no
2103 DEFAULT_wxUSE_BUTTON=no
2104 DEFAULT_wxUSE_BMPBUTTON=no
2105 DEFAULT_wxUSE_CALCTRL=no
2106 DEFAULT_wxUSE_CARET=no
2107 DEFAULT_wxUSE_CHECKBOX=no
2108 DEFAULT_wxUSE_CHECKLST=no
2109 DEFAULT_wxUSE_CHOICE=no
2110 DEFAULT_wxUSE_COMBOBOX=no
2111 DEFAULT_wxUSE_DISPLAY=no
2112 DEFAULT_wxUSE_GAUGE=no
2113 DEFAULT_wxUSE_GRID=no
2114 DEFAULT_wxUSE_IMAGLIST=no
2115 DEFAULT_wxUSE_LISTBOOK=no
2116 DEFAULT_wxUSE_LISTBOX=no
2117 DEFAULT_wxUSE_LISTCTRL=no
2118 DEFAULT_wxUSE_NOTEBOOK=no
2119 DEFAULT_wxUSE_RADIOBOX=no
2120 DEFAULT_wxUSE_RADIOBTN=no
2121 DEFAULT_wxUSE_SASH=no
2122 DEFAULT_wxUSE_SCROLLBAR=no
2123 DEFAULT_wxUSE_SLIDER=no
2124 DEFAULT_wxUSE_SPINBTN=no
2125 DEFAULT_wxUSE_SPINCTRL=no
2126 DEFAULT_wxUSE_SPLITTER=no
2127 DEFAULT_wxUSE_STATBMP=no
2128 DEFAULT_wxUSE_STATBOX=no
2129 DEFAULT_wxUSE_STATLINE=no
2130 DEFAULT_wxUSE_STATTEXT=no
2131 DEFAULT_wxUSE_STATUSBAR=yes
2132 DEFAULT_wxUSE_TABDIALOG=no
2133 DEFAULT_wxUSE_TEXTCTRL=no
2134 DEFAULT_wxUSE_TOGGLEBTN=no
2135 DEFAULT_wxUSE_TOOLBAR=no
2136 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2137 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2138 DEFAULT_wxUSE_TREECTRL=no
2139 DEFAULT_wxUSE_POPUPWIN=no
2140 DEFAULT_wxUSE_TIPWINDOW=no
2141
2142 DEFAULT_wxUSE_UNICODE=no
2143 DEFAULT_wxUSE_UNICODE_MSLU=no
2144 DEFAULT_wxUSE_WCSRTOMBS=no
2145
2146 DEFAULT_wxUSE_PALETTE=no
2147 DEFAULT_wxUSE_IMAGE=no
2148 DEFAULT_wxUSE_GIF=no
2149 DEFAULT_wxUSE_PCX=no
2150 DEFAULT_wxUSE_PNM=no
2151 DEFAULT_wxUSE_IFF=no
2152 DEFAULT_wxUSE_XPM=no
2153 DEFAULT_wxUSE_ICO_CUR=no
2154 DEFAULT_wxUSE_ACCESSIBILITY=no
2155
2156 DEFAULT_wxUSE_MONOLITHIC=no
2157 DEFAULT_wxUSE_PLUGINS=no
2158 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2159 else
2160 DEFAULT_wxUSE_UNIVERSAL=no
2161 DEFAULT_wxUSE_STL=no
2162
2163 DEFAULT_wxUSE_NANOX=no
2164
2165 DEFAULT_wxUSE_THREADS=yes
2166
2167 DEFAULT_wxUSE_SHARED=yes
2168 DEFAULT_wxUSE_OPTIMISE=yes
2169 DEFAULT_wxUSE_PROFILE=no
2170 DEFAULT_wxUSE_NO_DEPS=no
2171 DEFAULT_wxUSE_NO_RTTI=no
2172 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2173 DEFAULT_wxUSE_PERMISSIVE=no
2174 DEFAULT_wxUSE_DEBUG_FLAG=no
2175 DEFAULT_wxUSE_DEBUG_INFO=no
2176 DEFAULT_wxUSE_DEBUG_GDB=no
2177 DEFAULT_wxUSE_MEM_TRACING=no
2178 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2179 DEFAULT_wxUSE_DMALLOC=no
2180 DEFAULT_wxUSE_APPLE_IEEE=yes
2181
2182 DEFAULT_wxUSE_EXCEPTIONS=yes
2183 DEFAULT_wxUSE_LOG=yes
2184 DEFAULT_wxUSE_LOGWINDOW=yes
2185 DEFAULT_wxUSE_LOGGUI=yes
2186 DEFAULT_wxUSE_LOGDIALOG=yes
2187
2188 DEFAULT_wxUSE_GUI=yes
2189
2190 DEFAULT_wxUSE_REGEX=yes
2191 DEFAULT_wxUSE_XML=yes
2192 DEFAULT_wxUSE_EXPAT=yes
2193 DEFAULT_wxUSE_ZLIB=yes
2194 DEFAULT_wxUSE_LIBPNG=yes
2195 DEFAULT_wxUSE_LIBJPEG=yes
2196 DEFAULT_wxUSE_LIBTIFF=yes
2197 DEFAULT_wxUSE_LIBXPM=yes
2198 DEFAULT_wxUSE_LIBMSPACK=yes
2199 DEFAULT_wxUSE_LIBSDL=no
2200 DEFAULT_wxUSE_ODBC=no
2201 DEFAULT_wxUSE_OPENGL=no
2202
2203 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2204 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2205 DEFAULT_wxUSE_STD_IOSTREAM=no
2206 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2207 DEFAULT_wxUSE_DATETIME=yes
2208 DEFAULT_wxUSE_TIMER=yes
2209 DEFAULT_wxUSE_STOPWATCH=yes
2210 DEFAULT_wxUSE_FILE=yes
2211 DEFAULT_wxUSE_FFILE=yes
2212 DEFAULT_wxUSE_TEXTBUFFER=yes
2213 DEFAULT_wxUSE_TEXTFILE=yes
2214 DEFAULT_wxUSE_SOUND=yes
2215 DEFAULT_wxUSE_INTL=yes
2216 DEFAULT_wxUSE_CONFIG=yes
2217 DEFAULT_wxUSE_FONTMAP=yes
2218 DEFAULT_wxUSE_STREAMS=yes
2219 DEFAULT_wxUSE_SOCKETS=yes
2220 DEFAULT_wxUSE_OLE=yes
2221 DEFAULT_wxUSE_DATAOBJ=yes
2222 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2223 DEFAULT_wxUSE_JOYSTICK=yes
2224 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2225 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2226 DEFAULT_wxUSE_LONGLONG=yes
2227 DEFAULT_wxUSE_GEOMETRY=yes
2228
2229 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2230 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2231 DEFAULT_wxUSE_POSTSCRIPT=yes
2232
2233 DEFAULT_wxUSE_CLIPBOARD=yes
2234 DEFAULT_wxUSE_TOOLTIPS=yes
2235 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2236 DEFAULT_wxUSE_DRAGIMAGE=yes
2237 DEFAULT_wxUSE_SPLINES=yes
2238
2239 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2240 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2241 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2242
2243 DEFAULT_wxUSE_RESOURCES=no
2244 DEFAULT_wxUSE_CONSTRAINTS=yes
2245 DEFAULT_wxUSE_IPC=yes
2246 DEFAULT_wxUSE_HELP=yes
2247 DEFAULT_wxUSE_MS_HTML_HELP=yes
2248 DEFAULT_wxUSE_WXHTML_HELP=yes
2249 DEFAULT_wxUSE_TREELAYOUT=yes
2250 DEFAULT_wxUSE_METAFILE=yes
2251 DEFAULT_wxUSE_MIMETYPE=yes
2252 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2253 DEFAULT_wxUSE_PROTOCOL=yes
2254 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2255 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2256 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2257 DEFAULT_wxUSE_URL=yes
2258
2259 DEFAULT_wxUSE_COMMONDLGS=yes
2260 DEFAULT_wxUSE_CHOICEDLG=yes
2261 DEFAULT_wxUSE_COLOURDLG=yes
2262 DEFAULT_wxUSE_DIRDLG=yes
2263 DEFAULT_wxUSE_FILEDLG=yes
2264 DEFAULT_wxUSE_FINDREPLDLG=yes
2265 DEFAULT_wxUSE_FONTDLG=yes
2266 DEFAULT_wxUSE_MSGDLG=yes
2267 DEFAULT_wxUSE_NUMBERDLG=yes
2268 DEFAULT_wxUSE_TEXTDLG=yes
2269 DEFAULT_wxUSE_SPLASH=yes
2270 DEFAULT_wxUSE_STARTUP_TIPS=yes
2271 DEFAULT_wxUSE_PROGRESSDLG=yes
2272 DEFAULT_wxUSE_WIZARDDLG=yes
2273
2274 DEFAULT_wxUSE_MENUS=yes
2275 DEFAULT_wxUSE_MINIFRAME=yes
2276 DEFAULT_wxUSE_HTML=yes
2277 DEFAULT_wxUSE_FILESYSTEM=yes
2278 DEFAULT_wxUSE_FS_INET=yes
2279 DEFAULT_wxUSE_FS_ZIP=yes
2280 DEFAULT_wxUSE_BUSYINFO=yes
2281 DEFAULT_wxUSE_ZIPSTREAM=yes
2282 DEFAULT_wxUSE_GZSTREAM=yes
2283 DEFAULT_wxUSE_VALIDATORS=yes
2284
2285 DEFAULT_wxUSE_ACCEL=yes
2286 DEFAULT_wxUSE_BUTTON=yes
2287 DEFAULT_wxUSE_BMPBUTTON=yes
2288 DEFAULT_wxUSE_CALCTRL=yes
2289 DEFAULT_wxUSE_CARET=yes
2290 DEFAULT_wxUSE_CHECKBOX=yes
2291 DEFAULT_wxUSE_CHECKLST=yes
2292 DEFAULT_wxUSE_CHOICE=yes
2293 DEFAULT_wxUSE_COMBOBOX=yes
2294 DEFAULT_wxUSE_DISPLAY=no
2295 DEFAULT_wxUSE_GAUGE=yes
2296 DEFAULT_wxUSE_GRID=yes
2297 DEFAULT_wxUSE_IMAGLIST=yes
2298 DEFAULT_wxUSE_LISTBOOK=yes
2299 DEFAULT_wxUSE_LISTBOX=yes
2300 DEFAULT_wxUSE_LISTCTRL=yes
2301 DEFAULT_wxUSE_NOTEBOOK=yes
2302 DEFAULT_wxUSE_RADIOBOX=yes
2303 DEFAULT_wxUSE_RADIOBTN=yes
2304 DEFAULT_wxUSE_SASH=yes
2305 DEFAULT_wxUSE_SCROLLBAR=yes
2306 DEFAULT_wxUSE_SLIDER=yes
2307 DEFAULT_wxUSE_SPINBTN=yes
2308 DEFAULT_wxUSE_SPINCTRL=yes
2309 DEFAULT_wxUSE_SPLITTER=yes
2310 DEFAULT_wxUSE_STATBMP=yes
2311 DEFAULT_wxUSE_STATBOX=yes
2312 DEFAULT_wxUSE_STATLINE=yes
2313 DEFAULT_wxUSE_STATTEXT=yes
2314 DEFAULT_wxUSE_STATUSBAR=yes
2315 DEFAULT_wxUSE_TABDIALOG=no
2316 DEFAULT_wxUSE_TEXTCTRL=yes
2317 DEFAULT_wxUSE_TOGGLEBTN=yes
2318 DEFAULT_wxUSE_TOOLBAR=yes
2319 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2320 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2321 DEFAULT_wxUSE_TREECTRL=yes
2322 DEFAULT_wxUSE_POPUPWIN=yes
2323 DEFAULT_wxUSE_TIPWINDOW=yes
2324
2325 DEFAULT_wxUSE_UNICODE=no
2326 DEFAULT_wxUSE_UNICODE_MSLU=yes
2327 DEFAULT_wxUSE_WCSRTOMBS=no
2328
2329 DEFAULT_wxUSE_PALETTE=yes
2330 DEFAULT_wxUSE_IMAGE=yes
2331 DEFAULT_wxUSE_GIF=yes
2332 DEFAULT_wxUSE_PCX=yes
2333 DEFAULT_wxUSE_IFF=no
2334 DEFAULT_wxUSE_PNM=yes
2335 DEFAULT_wxUSE_XPM=yes
2336 DEFAULT_wxUSE_ICO_CUR=yes
2337 DEFAULT_wxUSE_ACCESSIBILITY=no
2338
2339 DEFAULT_wxUSE_MONOLITHIC=no
2340 DEFAULT_wxUSE_PLUGINS=no
2341 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2342 fi
2343
2344
2345
2346 for toolkit in `echo $ALL_TOOLKITS`; do
2347 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2348 if test "x$LINE" != "x" ; then
2349 has_toolkit_in_cache=1
2350 eval "DEFAULT_$LINE"
2351 eval "CACHE_$toolkit=1"
2352 fi
2353 done
2354
2355
2356
2357 enablestring=
2358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2359 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2360 no_cache=0
2361 # Check whether --enable-gui or --disable-gui was given.
2362 if test "${enable_gui+set}" = set; then
2363 enableval="$enable_gui"
2364
2365 if test "$enableval" = yes; then
2366 ac_cv_use_gui='wxUSE_GUI=yes'
2367 else
2368 ac_cv_use_gui='wxUSE_GUI=no'
2369 fi
2370
2371 else
2372
2373 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2374 if test "x$LINE" != x ; then
2375 eval "DEFAULT_$LINE"
2376 else
2377 no_cache=1
2378 fi
2379
2380 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2381
2382 fi;
2383
2384 eval "$ac_cv_use_gui"
2385 if test "$no_cache" != 1; then
2386 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2387 fi
2388
2389 if test "$wxUSE_GUI" = yes; then
2390 echo "$as_me:$LINENO: result: yes" >&5
2391 echo "${ECHO_T}yes" >&6
2392 else
2393 echo "$as_me:$LINENO: result: no" >&5
2394 echo "${ECHO_T}no" >&6
2395 fi
2396
2397
2398 enablestring=
2399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2400 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2401 no_cache=0
2402 # Check whether --enable-monolithic or --disable-monolithic was given.
2403 if test "${enable_monolithic+set}" = set; then
2404 enableval="$enable_monolithic"
2405
2406 if test "$enableval" = yes; then
2407 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2408 else
2409 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2410 fi
2411
2412 else
2413
2414 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x ; then
2416 eval "DEFAULT_$LINE"
2417 else
2418 no_cache=1
2419 fi
2420
2421 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2422
2423 fi;
2424
2425 eval "$ac_cv_use_monolithic"
2426 if test "$no_cache" != 1; then
2427 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2428 fi
2429
2430 if test "$wxUSE_MONOLITHIC" = yes; then
2431 echo "$as_me:$LINENO: result: yes" >&5
2432 echo "${ECHO_T}yes" >&6
2433 else
2434 echo "$as_me:$LINENO: result: no" >&5
2435 echo "${ECHO_T}no" >&6
2436 fi
2437
2438
2439 enablestring=
2440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2441 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2442 no_cache=0
2443 # Check whether --enable-plugins or --disable-plugins was given.
2444 if test "${enable_plugins+set}" = set; then
2445 enableval="$enable_plugins"
2446
2447 if test "$enableval" = yes; then
2448 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2449 else
2450 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2451 fi
2452
2453 else
2454
2455 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x ; then
2457 eval "DEFAULT_$LINE"
2458 else
2459 no_cache=1
2460 fi
2461
2462 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2463
2464 fi;
2465
2466 eval "$ac_cv_use_plugins"
2467 if test "$no_cache" != 1; then
2468 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2469 fi
2470
2471 if test "$wxUSE_PLUGINS" = yes; then
2472 echo "$as_me:$LINENO: result: yes" >&5
2473 echo "${ECHO_T}yes" >&6
2474 else
2475 echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6
2477 fi
2478
2479
2480 if test "$wxUSE_GUI" = "yes"; then
2481
2482
2483 enablestring=
2484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2485 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2486 no_cache=0
2487 # Check whether --enable-universal or --disable-universal was given.
2488 if test "${enable_universal+set}" = set; then
2489 enableval="$enable_universal"
2490
2491 if test "$enableval" = yes; then
2492 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2493 else
2494 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2495 fi
2496
2497 else
2498
2499 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x ; then
2501 eval "DEFAULT_$LINE"
2502 else
2503 no_cache=1
2504 fi
2505
2506 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2507
2508 fi;
2509
2510 eval "$ac_cv_use_universal"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2513 fi
2514
2515 if test "$wxUSE_UNIVERSAL" = yes; then
2516 echo "$as_me:$LINENO: result: yes" >&5
2517 echo "${ECHO_T}yes" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2521 fi
2522
2523
2524 # Check whether --with-gtk or --without-gtk was given.
2525 if test "${with_gtk+set}" = set; then
2526 withval="$with_gtk"
2527 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2528 fi;
2529
2530 # Check whether --with-motif or --without-motif was given.
2531 if test "${with_motif+set}" = set; then
2532 withval="$with_motif"
2533 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2534 fi;
2535
2536 # Check whether --with-mac or --without-mac was given.
2537 if test "${with_mac+set}" = set; then
2538 withval="$with_mac"
2539 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2540 fi;
2541
2542 # Check whether --with-cocoa or --without-cocoa was given.
2543 if test "${with_cocoa+set}" = set; then
2544 withval="$with_cocoa"
2545 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2546 fi;
2547
2548 # Check whether --with-wine or --without-wine was given.
2549 if test "${with_wine+set}" = set; then
2550 withval="$with_wine"
2551 wxUSE_WINE="$withval" CACHE_WINE=1
2552 fi;
2553
2554 # Check whether --with-msw or --without-msw was given.
2555 if test "${with_msw+set}" = set; then
2556 withval="$with_msw"
2557 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2558 fi;
2559
2560 # Check whether --with-pm or --without-pm was given.
2561 if test "${with_pm+set}" = set; then
2562 withval="$with_pm"
2563 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2564 fi;
2565
2566 # Check whether --with-mgl or --without-mgl was given.
2567 if test "${with_mgl+set}" = set; then
2568 withval="$with_mgl"
2569 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2570 fi;
2571
2572 # Check whether --with-microwin or --without-microwin was given.
2573 if test "${with_microwin+set}" = set; then
2574 withval="$with_microwin"
2575 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2576 fi;
2577
2578 # Check whether --with-x11 or --without-x11 was given.
2579 if test "${with_x11+set}" = set; then
2580 withval="$with_x11"
2581 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2582 fi;
2583
2584 enablestring=
2585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2586 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2587 no_cache=0
2588 # Check whether --enable-nanox or --disable-nanox was given.
2589 if test "${enable_nanox+set}" = set; then
2590 enableval="$enable_nanox"
2591
2592 if test "$enableval" = yes; then
2593 ac_cv_use_nanox='wxUSE_NANOX=yes'
2594 else
2595 ac_cv_use_nanox='wxUSE_NANOX=no'
2596 fi
2597
2598 else
2599
2600 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x ; then
2602 eval "DEFAULT_$LINE"
2603 else
2604 no_cache=1
2605 fi
2606
2607 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2608
2609 fi;
2610
2611 eval "$ac_cv_use_nanox"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2614 fi
2615
2616 if test "$wxUSE_NANOX" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2619 else
2620 echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6
2622 fi
2623
2624
2625
2626 enablestring=
2627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2628 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2629 no_cache=0
2630 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2631 if test "${enable_gtk2+set}" = set; then
2632 enableval="$enable_gtk2"
2633
2634 if test "$enableval" = yes; then
2635 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2636 else
2637 ac_cv_use_gtk2='wxUSE_GTK2=no'
2638 fi
2639
2640 else
2641
2642 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x ; then
2644 eval "DEFAULT_$LINE"
2645 else
2646 no_cache=1
2647 fi
2648
2649 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2650
2651 fi;
2652
2653 eval "$ac_cv_use_gtk2"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2656 fi
2657
2658 if test "$wxUSE_GTK2" = yes; then
2659 echo "$as_me:$LINENO: result: yes" >&5
2660 echo "${ECHO_T}yes" >&6
2661 else
2662 echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6
2664 fi
2665
2666
2667
2668 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2669 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2670 no_cache=0
2671
2672 # Check whether --with-libpng or --without-libpng was given.
2673 if test "${with_libpng+set}" = set; then
2674 withval="$with_libpng"
2675
2676 if test "$withval" = yes; then
2677 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2678 elif test "$withval" = no; then
2679 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2680 elif test "$withval" = sys; then
2681 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2682 elif test "$withval" = builtin; then
2683 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2684 else
2685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2686 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2687 { (exit 1); exit 1; }; }
2688 fi
2689
2690 else
2691
2692 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2693 if test "x$LINE" != x ; then
2694 eval "DEFAULT_$LINE"
2695 else
2696 no_cache=1
2697 fi
2698
2699 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2700
2701 fi;
2702
2703 eval "$ac_cv_use_libpng"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2706 fi
2707
2708 if test "$wxUSE_LIBPNG" = yes; then
2709 echo "$as_me:$LINENO: result: yes" >&5
2710 echo "${ECHO_T}yes" >&6
2711 elif test "$wxUSE_LIBPNG" = no; then
2712 echo "$as_me:$LINENO: result: no" >&5
2713 echo "${ECHO_T}no" >&6
2714 elif test "$wxUSE_LIBPNG" = sys; then
2715 echo "$as_me:$LINENO: result: system version" >&5
2716 echo "${ECHO_T}system version" >&6
2717 elif test "$wxUSE_LIBPNG" = builtin; then
2718 echo "$as_me:$LINENO: result: builtin version" >&5
2719 echo "${ECHO_T}builtin version" >&6
2720 else
2721 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2722 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2723 { (exit 1); exit 1; }; }
2724 fi
2725
2726
2727 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2728 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2729 no_cache=0
2730
2731 # Check whether --with-libjpeg or --without-libjpeg was given.
2732 if test "${with_libjpeg+set}" = set; then
2733 withval="$with_libjpeg"
2734
2735 if test "$withval" = yes; then
2736 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2737 elif test "$withval" = no; then
2738 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2739 elif test "$withval" = sys; then
2740 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2741 elif test "$withval" = builtin; then
2742 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2743 else
2744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2745 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2746 { (exit 1); exit 1; }; }
2747 fi
2748
2749 else
2750
2751 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2754 else
2755 no_cache=1
2756 fi
2757
2758 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2759
2760 fi;
2761
2762 eval "$ac_cv_use_libjpeg"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2765 fi
2766
2767 if test "$wxUSE_LIBJPEG" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2770 elif test "$wxUSE_LIBJPEG" = no; then
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2773 elif test "$wxUSE_LIBJPEG" = sys; then
2774 echo "$as_me:$LINENO: result: system version" >&5
2775 echo "${ECHO_T}system version" >&6
2776 elif test "$wxUSE_LIBJPEG" = builtin; then
2777 echo "$as_me:$LINENO: result: builtin version" >&5
2778 echo "${ECHO_T}builtin version" >&6
2779 else
2780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2781 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2782 { (exit 1); exit 1; }; }
2783 fi
2784
2785
2786 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2787 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2788 no_cache=0
2789
2790 # Check whether --with-libtiff or --without-libtiff was given.
2791 if test "${with_libtiff+set}" = set; then
2792 withval="$with_libtiff"
2793
2794 if test "$withval" = yes; then
2795 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2796 elif test "$withval" = no; then
2797 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2798 elif test "$withval" = sys; then
2799 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2800 elif test "$withval" = builtin; then
2801 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2802 else
2803 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2804 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2805 { (exit 1); exit 1; }; }
2806 fi
2807
2808 else
2809
2810 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2813 else
2814 no_cache=1
2815 fi
2816
2817 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2818
2819 fi;
2820
2821 eval "$ac_cv_use_libtiff"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2824 fi
2825
2826 if test "$wxUSE_LIBTIFF" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2829 elif test "$wxUSE_LIBTIFF" = no; then
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2832 elif test "$wxUSE_LIBTIFF" = sys; then
2833 echo "$as_me:$LINENO: result: system version" >&5
2834 echo "${ECHO_T}system version" >&6
2835 elif test "$wxUSE_LIBTIFF" = builtin; then
2836 echo "$as_me:$LINENO: result: builtin version" >&5
2837 echo "${ECHO_T}builtin version" >&6
2838 else
2839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2840 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2841 { (exit 1); exit 1; }; }
2842 fi
2843
2844
2845 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2846 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2847 no_cache=0
2848
2849 # Check whether --with-libxpm or --without-libxpm was given.
2850 if test "${with_libxpm+set}" = set; then
2851 withval="$with_libxpm"
2852
2853 if test "$withval" = yes; then
2854 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2855 elif test "$withval" = no; then
2856 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2857 elif test "$withval" = sys; then
2858 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2859 elif test "$withval" = builtin; then
2860 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2861 else
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2865 fi
2866
2867 else
2868
2869 LINE=`grep "wxUSE_LIBXPM" ${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_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2877
2878 fi;
2879
2880 eval "$ac_cv_use_libxpm"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2883 fi
2884
2885 if test "$wxUSE_LIBXPM" = yes; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2888 elif test "$wxUSE_LIBXPM" = no; then
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2891 elif test "$wxUSE_LIBXPM" = sys; then
2892 echo "$as_me:$LINENO: result: system version" >&5
2893 echo "${ECHO_T}system version" >&6
2894 elif test "$wxUSE_LIBXPM" = builtin; then
2895 echo "$as_me:$LINENO: result: builtin version" >&5
2896 echo "${ECHO_T}builtin version" >&6
2897 else
2898 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2899 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2900 { (exit 1); exit 1; }; }
2901 fi
2902
2903
2904 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2905 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2906 no_cache=0
2907
2908 # Check whether --with-libmspack or --without-libmspack was given.
2909 if test "${with_libmspack+set}" = set; then
2910 withval="$with_libmspack"
2911
2912 if test "$withval" = yes; then
2913 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2914 else
2915 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2916 fi
2917
2918 else
2919
2920 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2921 if test "x$LINE" != x ; then
2922 eval "DEFAULT_$LINE"
2923 else
2924 no_cache=1
2925 fi
2926
2927 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2928
2929 fi;
2930
2931 eval "$ac_cv_use_libmspack"
2932 if test "$no_cache" != 1; then
2933 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2934 fi
2935
2936 if test "$wxUSE_LIBMSPACK" = yes; then
2937 echo "$as_me:$LINENO: result: yes" >&5
2938 echo "${ECHO_T}yes" >&6
2939 else
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2942 fi
2943
2944
2945 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2946 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2947 no_cache=0
2948
2949 # Check whether --with-sdl or --without-sdl was given.
2950 if test "${with_sdl+set}" = set; then
2951 withval="$with_sdl"
2952
2953 if test "$withval" = yes; then
2954 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
2955 else
2956 ac_cv_use_sdl='wxUSE_LIBSDL=no'
2957 fi
2958
2959 else
2960
2961 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x ; then
2963 eval "DEFAULT_$LINE"
2964 else
2965 no_cache=1
2966 fi
2967
2968 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
2969
2970 fi;
2971
2972 eval "$ac_cv_use_sdl"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
2975 fi
2976
2977 if test "$wxUSE_LIBSDL" = yes; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6
2980 else
2981 echo "$as_me:$LINENO: result: no" >&5
2982 echo "${ECHO_T}no" >&6
2983 fi
2984
2985
2986 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2987 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2988 no_cache=0
2989
2990 # Check whether --with-opengl or --without-opengl was given.
2991 if test "${with_opengl+set}" = set; then
2992 withval="$with_opengl"
2993
2994 if test "$withval" = yes; then
2995 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2996 else
2997 ac_cv_use_opengl='wxUSE_OPENGL=no'
2998 fi
2999
3000 else
3001
3002 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3005 else
3006 no_cache=1
3007 fi
3008
3009 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3010
3011 fi;
3012
3013 eval "$ac_cv_use_opengl"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3016 fi
3017
3018 if test "$wxUSE_OPENGL" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3021 else
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3024 fi
3025
3026
3027 fi
3028
3029
3030 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3031 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3032 no_cache=0
3033
3034 # Check whether --with-dmalloc or --without-dmalloc was given.
3035 if test "${with_dmalloc+set}" = set; then
3036 withval="$with_dmalloc"
3037
3038 if test "$withval" = yes; then
3039 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3040 else
3041 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3042 fi
3043
3044 else
3045
3046 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3047 if test "x$LINE" != x ; then
3048 eval "DEFAULT_$LINE"
3049 else
3050 no_cache=1
3051 fi
3052
3053 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3054
3055 fi;
3056
3057 eval "$ac_cv_use_dmalloc"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3060 fi
3061
3062 if test "$wxUSE_DMALLOC" = yes; then
3063 echo "$as_me:$LINENO: result: yes" >&5
3064 echo "${ECHO_T}yes" >&6
3065 else
3066 echo "$as_me:$LINENO: result: no" >&5
3067 echo "${ECHO_T}no" >&6
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-regex" >&5
3072 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3073 no_cache=0
3074
3075 # Check whether --with-regex or --without-regex was given.
3076 if test "${with_regex+set}" = set; then
3077 withval="$with_regex"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_regex='wxUSE_REGEX=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_regex='wxUSE_REGEX=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_regex='wxUSE_REGEX=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_regex='wxUSE_REGEX=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3103
3104 fi;
3105
3106 eval "$ac_cv_use_regex"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_REGEX" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_REGEX" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_REGEX" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_REGEX" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3131 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3132 no_cache=0
3133
3134 # Check whether --with-zlib or --without-zlib was given.
3135 if test "${with_zlib+set}" = set; then
3136 withval="$with_zlib"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_zlib='wxUSE_ZLIB=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3162
3163 fi;
3164
3165 eval "$ac_cv_use_zlib"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_ZLIB" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_ZLIB" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_ZLIB" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_ZLIB" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3190 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3191 no_cache=0
3192
3193 # Check whether --with-odbc or --without-odbc was given.
3194 if test "${with_odbc+set}" = set; then
3195 withval="$with_odbc"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_odbc='wxUSE_ODBC=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_odbc='wxUSE_ODBC=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_odbc='wxUSE_ODBC=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211 else
3212
3213 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3221
3222 fi;
3223
3224 eval "$ac_cv_use_odbc"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_ODBC" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_ODBC" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_ODBC" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_ODBC" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 echo "$as_me:$LINENO: checking for --with-expat" >&5
3249 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3250 no_cache=0
3251
3252 # Check whether --with-expat or --without-expat was given.
3253 if test "${with_expat+set}" = set; then
3254 withval="$with_expat"
3255
3256 if test "$withval" = yes; then
3257 ac_cv_use_expat='wxUSE_EXPAT=yes'
3258 elif test "$withval" = no; then
3259 ac_cv_use_expat='wxUSE_EXPAT=no'
3260 elif test "$withval" = sys; then
3261 ac_cv_use_expat='wxUSE_EXPAT=sys'
3262 elif test "$withval" = builtin; then
3263 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3264 else
3265 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3266 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3267 { (exit 1); exit 1; }; }
3268 fi
3269
3270 else
3271
3272 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3273 if test "x$LINE" != x ; then
3274 eval "DEFAULT_$LINE"
3275 else
3276 no_cache=1
3277 fi
3278
3279 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3280
3281 fi;
3282
3283 eval "$ac_cv_use_expat"
3284 if test "$no_cache" != 1; then
3285 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3286 fi
3287
3288 if test "$wxUSE_EXPAT" = yes; then
3289 echo "$as_me:$LINENO: result: yes" >&5
3290 echo "${ECHO_T}yes" >&6
3291 elif test "$wxUSE_EXPAT" = no; then
3292 echo "$as_me:$LINENO: result: no" >&5
3293 echo "${ECHO_T}no" >&6
3294 elif test "$wxUSE_EXPAT" = sys; then
3295 echo "$as_me:$LINENO: result: system version" >&5
3296 echo "${ECHO_T}system version" >&6
3297 elif test "$wxUSE_EXPAT" = builtin; then
3298 echo "$as_me:$LINENO: result: builtin version" >&5
3299 echo "${ECHO_T}builtin version" >&6
3300 else
3301 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3302 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3303 { (exit 1); exit 1; }; }
3304 fi
3305
3306
3307
3308
3309 enablestring=
3310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3312 no_cache=0
3313 # Check whether --enable-shared or --disable-shared was given.
3314 if test "${enable_shared+set}" = set; then
3315 enableval="$enable_shared"
3316
3317 if test "$enableval" = yes; then
3318 ac_cv_use_shared='wxUSE_SHARED=yes'
3319 else
3320 ac_cv_use_shared='wxUSE_SHARED=no'
3321 fi
3322
3323 else
3324
3325 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x ; then
3327 eval "DEFAULT_$LINE"
3328 else
3329 no_cache=1
3330 fi
3331
3332 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3333
3334 fi;
3335
3336 eval "$ac_cv_use_shared"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3339 fi
3340
3341 if test "$wxUSE_SHARED" = yes; then
3342 echo "$as_me:$LINENO: result: yes" >&5
3343 echo "${ECHO_T}yes" >&6
3344 else
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3347 fi
3348
3349
3350 enablestring=
3351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3352 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3353 no_cache=0
3354 # Check whether --enable-optimise or --disable-optimise was given.
3355 if test "${enable_optimise+set}" = set; then
3356 enableval="$enable_optimise"
3357
3358 if test "$enableval" = yes; then
3359 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3360 else
3361 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3362 fi
3363
3364 else
3365
3366 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x ; then
3368 eval "DEFAULT_$LINE"
3369 else
3370 no_cache=1
3371 fi
3372
3373 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3374
3375 fi;
3376
3377 eval "$ac_cv_use_optimise"
3378 if test "$no_cache" != 1; then
3379 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3380 fi
3381
3382 if test "$wxUSE_OPTIMISE" = yes; then
3383 echo "$as_me:$LINENO: result: yes" >&5
3384 echo "${ECHO_T}yes" >&6
3385 else
3386 echo "$as_me:$LINENO: result: no" >&5
3387 echo "${ECHO_T}no" >&6
3388 fi
3389
3390
3391 enablestring=
3392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3393 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3394 no_cache=0
3395 # Check whether --enable-debug or --disable-debug was given.
3396 if test "${enable_debug+set}" = set; then
3397 enableval="$enable_debug"
3398
3399 if test "$enableval" = yes; then
3400 ac_cv_use_debug='wxUSE_DEBUG=yes'
3401 else
3402 ac_cv_use_debug='wxUSE_DEBUG=no'
3403 fi
3404
3405 else
3406
3407 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x ; then
3409 eval "DEFAULT_$LINE"
3410 else
3411 no_cache=1
3412 fi
3413
3414 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3415
3416 fi;
3417
3418 eval "$ac_cv_use_debug"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3421 fi
3422
3423 if test "$wxUSE_DEBUG" = yes; then
3424 echo "$as_me:$LINENO: result: yes" >&5
3425 echo "${ECHO_T}yes" >&6
3426 else
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 fi
3430
3431
3432 enablestring=
3433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3434 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3435 no_cache=0
3436 # Check whether --enable-stl or --disable-stl was given.
3437 if test "${enable_stl+set}" = set; then
3438 enableval="$enable_stl"
3439
3440 if test "$enableval" = yes; then
3441 ac_cv_use_stl='wxUSE_STL=yes'
3442 else
3443 ac_cv_use_stl='wxUSE_STL=no'
3444 fi
3445
3446 else
3447
3448 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x ; then
3450 eval "DEFAULT_$LINE"
3451 else
3452 no_cache=1
3453 fi
3454
3455 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3456
3457 fi;
3458
3459 eval "$ac_cv_use_stl"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3462 fi
3463
3464 if test "$wxUSE_STL" = yes; then
3465 echo "$as_me:$LINENO: result: yes" >&5
3466 echo "${ECHO_T}yes" >&6
3467 else
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3470 fi
3471
3472
3473 if test "$wxUSE_DEBUG" = "yes"; then
3474 DEFAULT_wxUSE_DEBUG_FLAG=yes
3475 DEFAULT_wxUSE_DEBUG_INFO=yes
3476 BUILD=debug
3477 elif test "$wxUSE_DEBUG" = "no"; then
3478 DEFAULT_wxUSE_DEBUG_FLAG=no
3479 DEFAULT_wxUSE_DEBUG_INFO=no
3480 BUILD=release
3481 fi
3482
3483
3484 enablestring=
3485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3486 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3487 no_cache=0
3488 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3489 if test "${enable_debug_flag+set}" = set; then
3490 enableval="$enable_debug_flag"
3491
3492 if test "$enableval" = yes; then
3493 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3494 else
3495 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3496 fi
3497
3498 else
3499
3500 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x ; then
3502 eval "DEFAULT_$LINE"
3503 else
3504 no_cache=1
3505 fi
3506
3507 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3508
3509 fi;
3510
3511 eval "$ac_cv_use_debug_flag"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3514 fi
3515
3516 if test "$wxUSE_DEBUG_FLAG" = yes; then
3517 echo "$as_me:$LINENO: result: yes" >&5
3518 echo "${ECHO_T}yes" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3522 fi
3523
3524
3525 enablestring=
3526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3528 no_cache=0
3529 # Check whether --enable-debug_info or --disable-debug_info was given.
3530 if test "${enable_debug_info+set}" = set; then
3531 enableval="$enable_debug_info"
3532
3533 if test "$enableval" = yes; then
3534 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3535 else
3536 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3537 fi
3538
3539 else
3540
3541 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x ; then
3543 eval "DEFAULT_$LINE"
3544 else
3545 no_cache=1
3546 fi
3547
3548 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3549
3550 fi;
3551
3552 eval "$ac_cv_use_debug_info"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3555 fi
3556
3557 if test "$wxUSE_DEBUG_INFO" = yes; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3563 fi
3564
3565
3566 enablestring=
3567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3568 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3569 no_cache=0
3570 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3571 if test "${enable_debug_gdb+set}" = set; then
3572 enableval="$enable_debug_gdb"
3573
3574 if test "$enableval" = yes; then
3575 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3576 else
3577 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3578 fi
3579
3580 else
3581
3582 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x ; then
3584 eval "DEFAULT_$LINE"
3585 else
3586 no_cache=1
3587 fi
3588
3589 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3590
3591 fi;
3592
3593 eval "$ac_cv_use_debug_gdb"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3596 fi
3597
3598 if test "$wxUSE_DEBUG_GDB" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 else
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3604 fi
3605
3606
3607 enablestring=
3608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3609 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3610 no_cache=0
3611 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3612 if test "${enable_debug_cntxt+set}" = set; then
3613 enableval="$enable_debug_cntxt"
3614
3615 if test "$enableval" = yes; then
3616 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3617 else
3618 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3619 fi
3620
3621 else
3622
3623 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3624 if test "x$LINE" != x ; then
3625 eval "DEFAULT_$LINE"
3626 else
3627 no_cache=1
3628 fi
3629
3630 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3631
3632 fi;
3633
3634 eval "$ac_cv_use_debug_cntxt"
3635 if test "$no_cache" != 1; then
3636 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3637 fi
3638
3639 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3640 echo "$as_me:$LINENO: result: yes" >&5
3641 echo "${ECHO_T}yes" >&6
3642 else
3643 echo "$as_me:$LINENO: result: no" >&5
3644 echo "${ECHO_T}no" >&6
3645 fi
3646
3647
3648 enablestring=
3649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3650 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3651 no_cache=0
3652 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3653 if test "${enable_mem_tracing+set}" = set; then
3654 enableval="$enable_mem_tracing"
3655
3656 if test "$enableval" = yes; then
3657 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3658 else
3659 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3660 fi
3661
3662 else
3663
3664 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x ; then
3666 eval "DEFAULT_$LINE"
3667 else
3668 no_cache=1
3669 fi
3670
3671 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3672
3673 fi;
3674
3675 eval "$ac_cv_use_mem_tracing"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3678 fi
3679
3680 if test "$wxUSE_MEM_TRACING" = yes; then
3681 echo "$as_me:$LINENO: result: yes" >&5
3682 echo "${ECHO_T}yes" >&6
3683 else
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3686 fi
3687
3688
3689 enablestring=
3690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3692 no_cache=0
3693 # Check whether --enable-profile or --disable-profile was given.
3694 if test "${enable_profile+set}" = set; then
3695 enableval="$enable_profile"
3696
3697 if test "$enableval" = yes; then
3698 ac_cv_use_profile='wxUSE_PROFILE=yes'
3699 else
3700 ac_cv_use_profile='wxUSE_PROFILE=no'
3701 fi
3702
3703 else
3704
3705 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3713
3714 fi;
3715
3716 eval "$ac_cv_use_profile"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_PROFILE" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 fi
3728
3729
3730 enablestring=
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3733 no_cache=0
3734 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3735 if test "${enable_no_rtti+set}" = set; then
3736 enableval="$enable_no_rtti"
3737
3738 if test "$enableval" = yes; then
3739 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3740 else
3741 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3742 fi
3743
3744 else
3745
3746 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3754
3755 fi;
3756
3757 eval "$ac_cv_use_no_rtti"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3760 fi
3761
3762 if test "$wxUSE_NO_RTTI" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 fi
3769
3770
3771 enablestring=
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3774 no_cache=0
3775 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3776 if test "${enable_no_exceptions+set}" = set; then
3777 enableval="$enable_no_exceptions"
3778
3779 if test "$enableval" = yes; then
3780 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3781 else
3782 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3783 fi
3784
3785 else
3786
3787 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x ; then
3789 eval "DEFAULT_$LINE"
3790 else
3791 no_cache=1
3792 fi
3793
3794 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3795
3796 fi;
3797
3798 eval "$ac_cv_use_no_exceptions"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3801 fi
3802
3803 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3806 else
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3809 fi
3810
3811
3812 enablestring=
3813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3814 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3815 no_cache=0
3816 # Check whether --enable-permissive or --disable-permissive was given.
3817 if test "${enable_permissive+set}" = set; then
3818 enableval="$enable_permissive"
3819
3820 if test "$enableval" = yes; then
3821 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3822 else
3823 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3824 fi
3825
3826 else
3827
3828 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3829 if test "x$LINE" != x ; then
3830 eval "DEFAULT_$LINE"
3831 else
3832 no_cache=1
3833 fi
3834
3835 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3836
3837 fi;
3838
3839 eval "$ac_cv_use_permissive"
3840 if test "$no_cache" != 1; then
3841 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3842 fi
3843
3844 if test "$wxUSE_PERMISSIVE" = yes; then
3845 echo "$as_me:$LINENO: result: yes" >&5
3846 echo "${ECHO_T}yes" >&6
3847 else
3848 echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6
3850 fi
3851
3852
3853 enablestring=
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3856 no_cache=0
3857 # Check whether --enable-no_deps or --disable-no_deps was given.
3858 if test "${enable_no_deps+set}" = set; then
3859 enableval="$enable_no_deps"
3860
3861 if test "$enableval" = yes; then
3862 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3863 else
3864 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3865 fi
3866
3867 else
3868
3869 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3872 else
3873 no_cache=1
3874 fi
3875
3876 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3877
3878 fi;
3879
3880 eval "$ac_cv_use_no_deps"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3883 fi
3884
3885 if test "$wxUSE_NO_DEPS" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3888 else
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3891 fi
3892
3893
3894
3895 enablestring=
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3898 no_cache=0
3899 # Check whether --enable-compat22 or --disable-compat22 was given.
3900 if test "${enable_compat22+set}" = set; then
3901 enableval="$enable_compat22"
3902
3903 if test "$enableval" = yes; then
3904 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3905 else
3906 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3907 fi
3908
3909 else
3910
3911 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3914 else
3915 no_cache=1
3916 fi
3917
3918 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3919
3920 fi;
3921
3922 eval "$ac_cv_use_compat22"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3925 fi
3926
3927 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3930 else
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3933 fi
3934
3935
3936 enablestring=disable
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3939 no_cache=0
3940 # Check whether --enable-compat24 or --disable-compat24 was given.
3941 if test "${enable_compat24+set}" = set; then
3942 enableval="$enable_compat24"
3943
3944 if test "$enableval" = yes; then
3945 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3946 else
3947 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3948 fi
3949
3950 else
3951
3952 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x ; then
3954 eval "DEFAULT_$LINE"
3955 else
3956 no_cache=1
3957 fi
3958
3959 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3960
3961 fi;
3962
3963 eval "$ac_cv_use_compat24"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3971 else
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3974 fi
3975
3976
3977 # Check whether --enable-rpath or --disable-rpath was given.
3978 if test "${enable_rpath+set}" = set; then
3979 enableval="$enable_rpath"
3980 wxRPATH_DIR="$enableval"
3981 fi;
3982
3983 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3984 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3985 fi
3986
3987
3988
3989
3990 enablestring=
3991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3992 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3993 no_cache=0
3994 # Check whether --enable-intl or --disable-intl was given.
3995 if test "${enable_intl+set}" = set; then
3996 enableval="$enable_intl"
3997
3998 if test "$enableval" = yes; then
3999 ac_cv_use_intl='wxUSE_INTL=yes'
4000 else
4001 ac_cv_use_intl='wxUSE_INTL=no'
4002 fi
4003
4004 else
4005
4006 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x ; then
4008 eval "DEFAULT_$LINE"
4009 else
4010 no_cache=1
4011 fi
4012
4013 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4014
4015 fi;
4016
4017 eval "$ac_cv_use_intl"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4020 fi
4021
4022 if test "$wxUSE_INTL" = yes; then
4023 echo "$as_me:$LINENO: result: yes" >&5
4024 echo "${ECHO_T}yes" >&6
4025 else
4026 echo "$as_me:$LINENO: result: no" >&5
4027 echo "${ECHO_T}no" >&6
4028 fi
4029
4030
4031 enablestring=
4032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4033 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4034 no_cache=0
4035 # Check whether --enable-config or --disable-config was given.
4036 if test "${enable_config+set}" = set; then
4037 enableval="$enable_config"
4038
4039 if test "$enableval" = yes; then
4040 ac_cv_use_config='wxUSE_CONFIG=yes'
4041 else
4042 ac_cv_use_config='wxUSE_CONFIG=no'
4043 fi
4044
4045 else
4046
4047 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x ; then
4049 eval "DEFAULT_$LINE"
4050 else
4051 no_cache=1
4052 fi
4053
4054 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4055
4056 fi;
4057
4058 eval "$ac_cv_use_config"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4061 fi
4062
4063 if test "$wxUSE_CONFIG" = yes; then
4064 echo "$as_me:$LINENO: result: yes" >&5
4065 echo "${ECHO_T}yes" >&6
4066 else
4067 echo "$as_me:$LINENO: result: no" >&5
4068 echo "${ECHO_T}no" >&6
4069 fi
4070
4071
4072
4073 enablestring=
4074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4075 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4076 no_cache=0
4077 # Check whether --enable-protocols or --disable-protocols was given.
4078 if test "${enable_protocols+set}" = set; then
4079 enableval="$enable_protocols"
4080
4081 if test "$enableval" = yes; then
4082 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4083 else
4084 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4085 fi
4086
4087 else
4088
4089 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x ; then
4091 eval "DEFAULT_$LINE"
4092 else
4093 no_cache=1
4094 fi
4095
4096 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4097
4098 fi;
4099
4100 eval "$ac_cv_use_protocols"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4103 fi
4104
4105 if test "$wxUSE_PROTOCOL" = yes; then
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4108 else
4109 echo "$as_me:$LINENO: result: no" >&5
4110 echo "${ECHO_T}no" >&6
4111 fi
4112
4113
4114 enablestring=
4115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4116 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4117 no_cache=0
4118 # Check whether --enable-ftp or --disable-ftp was given.
4119 if test "${enable_ftp+set}" = set; then
4120 enableval="$enable_ftp"
4121
4122 if test "$enableval" = yes; then
4123 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4124 else
4125 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4126 fi
4127
4128 else
4129
4130 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x ; then
4132 eval "DEFAULT_$LINE"
4133 else
4134 no_cache=1
4135 fi
4136
4137 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4138
4139 fi;
4140
4141 eval "$ac_cv_use_ftp"
4142 if test "$no_cache" != 1; then
4143 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4144 fi
4145
4146 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4147 echo "$as_me:$LINENO: result: yes" >&5
4148 echo "${ECHO_T}yes" >&6
4149 else
4150 echo "$as_me:$LINENO: result: no" >&5
4151 echo "${ECHO_T}no" >&6
4152 fi
4153
4154
4155 enablestring=
4156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4157 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4158 no_cache=0
4159 # Check whether --enable-http or --disable-http was given.
4160 if test "${enable_http+set}" = set; then
4161 enableval="$enable_http"
4162
4163 if test "$enableval" = yes; then
4164 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4165 else
4166 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4167 fi
4168
4169 else
4170
4171 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4172 if test "x$LINE" != x ; then
4173 eval "DEFAULT_$LINE"
4174 else
4175 no_cache=1
4176 fi
4177
4178 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4179
4180 fi;
4181
4182 eval "$ac_cv_use_http"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4185 fi
4186
4187 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4188 echo "$as_me:$LINENO: result: yes" >&5
4189 echo "${ECHO_T}yes" >&6
4190 else
4191 echo "$as_me:$LINENO: result: no" >&5
4192 echo "${ECHO_T}no" >&6
4193 fi
4194
4195
4196 enablestring=
4197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4198 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4199 no_cache=0
4200 # Check whether --enable-fileproto or --disable-fileproto was given.
4201 if test "${enable_fileproto+set}" = set; then
4202 enableval="$enable_fileproto"
4203
4204 if test "$enableval" = yes; then
4205 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4206 else
4207 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4208 fi
4209
4210 else
4211
4212 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4213 if test "x$LINE" != x ; then
4214 eval "DEFAULT_$LINE"
4215 else
4216 no_cache=1
4217 fi
4218
4219 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4220
4221 fi;
4222
4223 eval "$ac_cv_use_fileproto"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4226 fi
4227
4228 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4229 echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6
4231 else
4232 echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6
4234 fi
4235
4236
4237 enablestring=
4238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4239 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4240 no_cache=0
4241 # Check whether --enable-sockets or --disable-sockets was given.
4242 if test "${enable_sockets+set}" = set; then
4243 enableval="$enable_sockets"
4244
4245 if test "$enableval" = yes; then
4246 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4247 else
4248 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4249 fi
4250
4251 else
4252
4253 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4254 if test "x$LINE" != x ; then
4255 eval "DEFAULT_$LINE"
4256 else
4257 no_cache=1
4258 fi
4259
4260 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4261
4262 fi;
4263
4264 eval "$ac_cv_use_sockets"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4267 fi
4268
4269 if test "$wxUSE_SOCKETS" = yes; then
4270 echo "$as_me:$LINENO: result: yes" >&5
4271 echo "${ECHO_T}yes" >&6
4272 else
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4275 fi
4276
4277
4278 enablestring=
4279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4280 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4281 no_cache=0
4282 # Check whether --enable-ole or --disable-ole was given.
4283 if test "${enable_ole+set}" = set; then
4284 enableval="$enable_ole"
4285
4286 if test "$enableval" = yes; then
4287 ac_cv_use_ole='wxUSE_OLE=yes'
4288 else
4289 ac_cv_use_ole='wxUSE_OLE=no'
4290 fi
4291
4292 else
4293
4294 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4295 if test "x$LINE" != x ; then
4296 eval "DEFAULT_$LINE"
4297 else
4298 no_cache=1
4299 fi
4300
4301 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4302
4303 fi;
4304
4305 eval "$ac_cv_use_ole"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4308 fi
4309
4310 if test "$wxUSE_OLE" = yes; then
4311 echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6
4313 else
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4316 fi
4317
4318
4319 enablestring=
4320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4322 no_cache=0
4323 # Check whether --enable-dataobj or --disable-dataobj was given.
4324 if test "${enable_dataobj+set}" = set; then
4325 enableval="$enable_dataobj"
4326
4327 if test "$enableval" = yes; then
4328 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4329 else
4330 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4331 fi
4332
4333 else
4334
4335 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x ; then
4337 eval "DEFAULT_$LINE"
4338 else
4339 no_cache=1
4340 fi
4341
4342 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4343
4344 fi;
4345
4346 eval "$ac_cv_use_dataobj"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4349 fi
4350
4351 if test "$wxUSE_DATAOBJ" = yes; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4354 else
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4357 fi
4358
4359
4360
4361 enablestring=
4362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4363 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4364 no_cache=0
4365 # Check whether --enable-ipc or --disable-ipc was given.
4366 if test "${enable_ipc+set}" = set; then
4367 enableval="$enable_ipc"
4368
4369 if test "$enableval" = yes; then
4370 ac_cv_use_ipc='wxUSE_IPC=yes'
4371 else
4372 ac_cv_use_ipc='wxUSE_IPC=no'
4373 fi
4374
4375 else
4376
4377 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x ; then
4379 eval "DEFAULT_$LINE"
4380 else
4381 no_cache=1
4382 fi
4383
4384 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4385
4386 fi;
4387
4388 eval "$ac_cv_use_ipc"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4391 fi
4392
4393 if test "$wxUSE_IPC" = yes; then
4394 echo "$as_me:$LINENO: result: yes" >&5
4395 echo "${ECHO_T}yes" >&6
4396 else
4397 echo "$as_me:$LINENO: result: no" >&5
4398 echo "${ECHO_T}no" >&6
4399 fi
4400
4401
4402
4403 enablestring=
4404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4405 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4406 no_cache=0
4407 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4408 if test "${enable_apple_ieee+set}" = set; then
4409 enableval="$enable_apple_ieee"
4410
4411 if test "$enableval" = yes; then
4412 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4413 else
4414 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4415 fi
4416
4417 else
4418
4419 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x ; then
4421 eval "DEFAULT_$LINE"
4422 else
4423 no_cache=1
4424 fi
4425
4426 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4427
4428 fi;
4429
4430 eval "$ac_cv_use_apple_ieee"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4433 fi
4434
4435 if test "$wxUSE_APPLE_IEEE" = yes; then
4436 echo "$as_me:$LINENO: result: yes" >&5
4437 echo "${ECHO_T}yes" >&6
4438 else
4439 echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6
4441 fi
4442
4443
4444 enablestring=
4445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4446 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4447 no_cache=0
4448 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4449 if test "${enable_catch_segvs+set}" = set; then
4450 enableval="$enable_catch_segvs"
4451
4452 if test "$enableval" = yes; then
4453 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4454 else
4455 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4456 fi
4457
4458 else
4459
4460 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4461 if test "x$LINE" != x ; then
4462 eval "DEFAULT_$LINE"
4463 else
4464 no_cache=1
4465 fi
4466
4467 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4468
4469 fi;
4470
4471 eval "$ac_cv_use_catch_segvs"
4472 if test "$no_cache" != 1; then
4473 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4474 fi
4475
4476 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4477 echo "$as_me:$LINENO: result: yes" >&5
4478 echo "${ECHO_T}yes" >&6
4479 else
4480 echo "$as_me:$LINENO: result: no" >&5
4481 echo "${ECHO_T}no" >&6
4482 fi
4483
4484
4485 enablestring=
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4488 no_cache=0
4489 # Check whether --enable-cmdline or --disable-cmdline was given.
4490 if test "${enable_cmdline+set}" = set; then
4491 enableval="$enable_cmdline"
4492
4493 if test "$enableval" = yes; then
4494 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4495 else
4496 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4497 fi
4498
4499 else
4500
4501 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "DEFAULT_$LINE"
4504 else
4505 no_cache=1
4506 fi
4507
4508 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4509
4510 fi;
4511
4512 eval "$ac_cv_use_cmdline"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4515 fi
4516
4517 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4520 else
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4523 fi
4524
4525
4526 enablestring=
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4529 no_cache=0
4530 # Check whether --enable-datetime or --disable-datetime was given.
4531 if test "${enable_datetime+set}" = set; then
4532 enableval="$enable_datetime"
4533
4534 if test "$enableval" = yes; then
4535 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4536 else
4537 ac_cv_use_datetime='wxUSE_DATETIME=no'
4538 fi
4539
4540 else
4541
4542 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x ; then
4544 eval "DEFAULT_$LINE"
4545 else
4546 no_cache=1
4547 fi
4548
4549 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4550
4551 fi;
4552
4553 eval "$ac_cv_use_datetime"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4556 fi
4557
4558 if test "$wxUSE_DATETIME" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6
4561 else
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4564 fi
4565
4566
4567 enablestring=
4568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4569 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4570 no_cache=0
4571 # Check whether --enable-dialupman or --disable-dialupman was given.
4572 if test "${enable_dialupman+set}" = set; then
4573 enableval="$enable_dialupman"
4574
4575 if test "$enableval" = yes; then
4576 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4577 else
4578 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4579 fi
4580
4581 else
4582
4583 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x ; then
4585 eval "DEFAULT_$LINE"
4586 else
4587 no_cache=1
4588 fi
4589
4590 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4591
4592 fi;
4593
4594 eval "$ac_cv_use_dialupman"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4597 fi
4598
4599 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4600 echo "$as_me:$LINENO: result: yes" >&5
4601 echo "${ECHO_T}yes" >&6
4602 else
4603 echo "$as_me:$LINENO: result: no" >&5
4604 echo "${ECHO_T}no" >&6
4605 fi
4606
4607
4608 enablestring=
4609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4611 no_cache=0
4612 # Check whether --enable-dynlib or --disable-dynlib was given.
4613 if test "${enable_dynlib+set}" = set; then
4614 enableval="$enable_dynlib"
4615
4616 if test "$enableval" = yes; then
4617 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4618 else
4619 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4620 fi
4621
4622 else
4623
4624 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x ; then
4626 eval "DEFAULT_$LINE"
4627 else
4628 no_cache=1
4629 fi
4630
4631 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4632
4633 fi;
4634
4635 eval "$ac_cv_use_dynlib"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4638 fi
4639
4640 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4641 echo "$as_me:$LINENO: result: yes" >&5
4642 echo "${ECHO_T}yes" >&6
4643 else
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4646 fi
4647
4648
4649 enablestring=
4650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4651 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4652 no_cache=0
4653 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4654 if test "${enable_dynamicloader+set}" = set; then
4655 enableval="$enable_dynamicloader"
4656
4657 if test "$enableval" = yes; then
4658 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4659 else
4660 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4661 fi
4662
4663 else
4664
4665 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x ; then
4667 eval "DEFAULT_$LINE"
4668 else
4669 no_cache=1
4670 fi
4671
4672 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4673
4674 fi;
4675
4676 eval "$ac_cv_use_dynamicloader"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4679 fi
4680
4681 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4682 echo "$as_me:$LINENO: result: yes" >&5
4683 echo "${ECHO_T}yes" >&6
4684 else
4685 echo "$as_me:$LINENO: result: no" >&5
4686 echo "${ECHO_T}no" >&6
4687 fi
4688
4689
4690 enablestring=
4691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4692 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4693 no_cache=0
4694 # Check whether --enable-exceptions or --disable-exceptions was given.
4695 if test "${enable_exceptions+set}" = set; then
4696 enableval="$enable_exceptions"
4697
4698 if test "$enableval" = yes; then
4699 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4700 else
4701 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4702 fi
4703
4704 else
4705
4706 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x ; then
4708 eval "DEFAULT_$LINE"
4709 else
4710 no_cache=1
4711 fi
4712
4713 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4714
4715 fi;
4716
4717 eval "$ac_cv_use_exceptions"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4720 fi
4721
4722 if test "$wxUSE_EXCEPTIONS" = yes; then
4723 echo "$as_me:$LINENO: result: yes" >&5
4724 echo "${ECHO_T}yes" >&6
4725 else
4726 echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6
4728 fi
4729
4730
4731 enablestring=
4732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4734 no_cache=0
4735 # Check whether --enable-ffile or --disable-ffile was given.
4736 if test "${enable_ffile+set}" = set; then
4737 enableval="$enable_ffile"
4738
4739 if test "$enableval" = yes; then
4740 ac_cv_use_ffile='wxUSE_FFILE=yes'
4741 else
4742 ac_cv_use_ffile='wxUSE_FFILE=no'
4743 fi
4744
4745 else
4746
4747 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x ; then
4749 eval "DEFAULT_$LINE"
4750 else
4751 no_cache=1
4752 fi
4753
4754 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4755
4756 fi;
4757
4758 eval "$ac_cv_use_ffile"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4761 fi
4762
4763 if test "$wxUSE_FFILE" = yes; then
4764 echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6
4766 else
4767 echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6
4769 fi
4770
4771
4772 enablestring=
4773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4775 no_cache=0
4776 # Check whether --enable-file or --disable-file was given.
4777 if test "${enable_file+set}" = set; then
4778 enableval="$enable_file"
4779
4780 if test "$enableval" = yes; then
4781 ac_cv_use_file='wxUSE_FILE=yes'
4782 else
4783 ac_cv_use_file='wxUSE_FILE=no'
4784 fi
4785
4786 else
4787
4788 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x ; then
4790 eval "DEFAULT_$LINE"
4791 else
4792 no_cache=1
4793 fi
4794
4795 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4796
4797 fi;
4798
4799 eval "$ac_cv_use_file"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4802 fi
4803
4804 if test "$wxUSE_FILE" = yes; then
4805 echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6
4807 else
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4810 fi
4811
4812
4813 enablestring=
4814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4816 no_cache=0
4817 # Check whether --enable-filesystem or --disable-filesystem was given.
4818 if test "${enable_filesystem+set}" = set; then
4819 enableval="$enable_filesystem"
4820
4821 if test "$enableval" = yes; then
4822 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4823 else
4824 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4825 fi
4826
4827 else
4828
4829 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4830 if test "x$LINE" != x ; then
4831 eval "DEFAULT_$LINE"
4832 else
4833 no_cache=1
4834 fi
4835
4836 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4837
4838 fi;
4839
4840 eval "$ac_cv_use_filesystem"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4843 fi
4844
4845 if test "$wxUSE_FILESYSTEM" = yes; then
4846 echo "$as_me:$LINENO: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6
4848 else
4849 echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6
4851 fi
4852
4853
4854 enablestring=
4855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4856 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4857 no_cache=0
4858 # Check whether --enable-fontmap or --disable-fontmap was given.
4859 if test "${enable_fontmap+set}" = set; then
4860 enableval="$enable_fontmap"
4861
4862 if test "$enableval" = yes; then
4863 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4864 else
4865 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4866 fi
4867
4868 else
4869
4870 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4871 if test "x$LINE" != x ; then
4872 eval "DEFAULT_$LINE"
4873 else
4874 no_cache=1
4875 fi
4876
4877 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4878
4879 fi;
4880
4881 eval "$ac_cv_use_fontmap"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4884 fi
4885
4886 if test "$wxUSE_FONTMAP" = yes; then
4887 echo "$as_me:$LINENO: result: yes" >&5
4888 echo "${ECHO_T}yes" >&6
4889 else
4890 echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6
4892 fi
4893
4894
4895 enablestring=
4896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4898 no_cache=0
4899 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4900 if test "${enable_fs_inet+set}" = set; then
4901 enableval="$enable_fs_inet"
4902
4903 if test "$enableval" = yes; then
4904 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4905 else
4906 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4907 fi
4908
4909 else
4910
4911 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4912 if test "x$LINE" != x ; then
4913 eval "DEFAULT_$LINE"
4914 else
4915 no_cache=1
4916 fi
4917
4918 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4919
4920 fi;
4921
4922 eval "$ac_cv_use_fs_inet"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4925 fi
4926
4927 if test "$wxUSE_FS_INET" = yes; then
4928 echo "$as_me:$LINENO: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6
4930 else
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4933 fi
4934
4935
4936 enablestring=
4937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4939 no_cache=0
4940 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4941 if test "${enable_fs_zip+set}" = set; then
4942 enableval="$enable_fs_zip"
4943
4944 if test "$enableval" = yes; then
4945 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4946 else
4947 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4948 fi
4949
4950 else
4951
4952 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x ; then
4954 eval "DEFAULT_$LINE"
4955 else
4956 no_cache=1
4957 fi
4958
4959 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4960
4961 fi;
4962
4963 eval "$ac_cv_use_fs_zip"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4966 fi
4967
4968 if test "$wxUSE_FS_ZIP" = yes; then
4969 echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6
4971 else
4972 echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6
4974 fi
4975
4976
4977 enablestring=
4978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4980 no_cache=0
4981 # Check whether --enable-geometry or --disable-geometry was given.
4982 if test "${enable_geometry+set}" = set; then
4983 enableval="$enable_geometry"
4984
4985 if test "$enableval" = yes; then
4986 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4987 else
4988 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4989 fi
4990
4991 else
4992
4993 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x ; then
4995 eval "DEFAULT_$LINE"
4996 else
4997 no_cache=1
4998 fi
4999
5000 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5001
5002 fi;
5003
5004 eval "$ac_cv_use_geometry"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5007 fi
5008
5009 if test "$wxUSE_GEOMETRY" = yes; then
5010 echo "$as_me:$LINENO: result: yes" >&5
5011 echo "${ECHO_T}yes" >&6
5012 else
5013 echo "$as_me:$LINENO: result: no" >&5
5014 echo "${ECHO_T}no" >&6
5015 fi
5016
5017
5018 enablestring=
5019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5021 no_cache=0
5022 # Check whether --enable-log or --disable-log was given.
5023 if test "${enable_log+set}" = set; then
5024 enableval="$enable_log"
5025
5026 if test "$enableval" = yes; then
5027 ac_cv_use_log='wxUSE_LOG=yes'
5028 else
5029 ac_cv_use_log='wxUSE_LOG=no'
5030 fi
5031
5032 else
5033
5034 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5035 if test "x$LINE" != x ; then
5036 eval "DEFAULT_$LINE"
5037 else
5038 no_cache=1
5039 fi
5040
5041 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5042
5043 fi;
5044
5045 eval "$ac_cv_use_log"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5048 fi
5049
5050 if test "$wxUSE_LOG" = yes; then
5051 echo "$as_me:$LINENO: result: yes" >&5
5052 echo "${ECHO_T}yes" >&6
5053 else
5054 echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6
5056 fi
5057
5058
5059 enablestring=
5060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5062 no_cache=0
5063 # Check whether --enable-longlong or --disable-longlong was given.
5064 if test "${enable_longlong+set}" = set; then
5065 enableval="$enable_longlong"
5066
5067 if test "$enableval" = yes; then
5068 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5069 else
5070 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5071 fi
5072
5073 else
5074
5075 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x ; then
5077 eval "DEFAULT_$LINE"
5078 else
5079 no_cache=1
5080 fi
5081
5082 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5083
5084 fi;
5085
5086 eval "$ac_cv_use_longlong"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5089 fi
5090
5091 if test "$wxUSE_LONGLONG" = yes; then
5092 echo "$as_me:$LINENO: result: yes" >&5
5093 echo "${ECHO_T}yes" >&6
5094 else
5095 echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6
5097 fi
5098
5099
5100 enablestring=
5101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5103 no_cache=0
5104 # Check whether --enable-mimetype or --disable-mimetype was given.
5105 if test "${enable_mimetype+set}" = set; then
5106 enableval="$enable_mimetype"
5107
5108 if test "$enableval" = yes; then
5109 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5110 else
5111 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5112 fi
5113
5114 else
5115
5116 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x ; then
5118 eval "DEFAULT_$LINE"
5119 else
5120 no_cache=1
5121 fi
5122
5123 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5124
5125 fi;
5126
5127 eval "$ac_cv_use_mimetype"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5130 fi
5131
5132 if test "$wxUSE_MIMETYPE" = yes; then
5133 echo "$as_me:$LINENO: result: yes" >&5
5134 echo "${ECHO_T}yes" >&6
5135 else
5136 echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6
5138 fi
5139
5140
5141 enablestring=
5142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5143 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5144 no_cache=0
5145 # Check whether --enable-mslu or --disable-mslu was given.
5146 if test "${enable_mslu+set}" = set; then
5147 enableval="$enable_mslu"
5148
5149 if test "$enableval" = yes; then
5150 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5151 else
5152 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5153 fi
5154
5155 else
5156
5157 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x ; then
5159 eval "DEFAULT_$LINE"
5160 else
5161 no_cache=1
5162 fi
5163
5164 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5165
5166 fi;
5167
5168 eval "$ac_cv_use_mslu"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5171 fi
5172
5173 if test "$wxUSE_UNICODE_MSLU" = yes; then
5174 echo "$as_me:$LINENO: result: yes" >&5
5175 echo "${ECHO_T}yes" >&6
5176 else
5177 echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6
5179 fi
5180
5181
5182 enablestring=
5183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5185 no_cache=0
5186 # Check whether --enable-snglinst or --disable-snglinst was given.
5187 if test "${enable_snglinst+set}" = set; then
5188 enableval="$enable_snglinst"
5189
5190 if test "$enableval" = yes; then
5191 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5192 else
5193 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5194 fi
5195
5196 else
5197
5198 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5199 if test "x$LINE" != x ; then
5200 eval "DEFAULT_$LINE"
5201 else
5202 no_cache=1
5203 fi
5204
5205 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5206
5207 fi;
5208
5209 eval "$ac_cv_use_snglinst"
5210 if test "$no_cache" != 1; then
5211 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5212 fi
5213
5214 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5215 echo "$as_me:$LINENO: result: yes" >&5
5216 echo "${ECHO_T}yes" >&6
5217 else
5218 echo "$as_me:$LINENO: result: no" >&5
5219 echo "${ECHO_T}no" >&6
5220 fi
5221
5222
5223 enablestring=
5224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5225 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5226 no_cache=0
5227 # Check whether --enable-streams or --disable-streams was given.
5228 if test "${enable_streams+set}" = set; then
5229 enableval="$enable_streams"
5230
5231 if test "$enableval" = yes; then
5232 ac_cv_use_streams='wxUSE_STREAMS=yes'
5233 else
5234 ac_cv_use_streams='wxUSE_STREAMS=no'
5235 fi
5236
5237 else
5238
5239 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5240 if test "x$LINE" != x ; then
5241 eval "DEFAULT_$LINE"
5242 else
5243 no_cache=1
5244 fi
5245
5246 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5247
5248 fi;
5249
5250 eval "$ac_cv_use_streams"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5253 fi
5254
5255 if test "$wxUSE_STREAMS" = yes; then
5256 echo "$as_me:$LINENO: result: yes" >&5
5257 echo "${ECHO_T}yes" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5261 fi
5262
5263
5264 enablestring=
5265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5266 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5267 no_cache=0
5268 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5269 if test "${enable_std_iostreams+set}" = set; then
5270 enableval="$enable_std_iostreams"
5271
5272 if test "$enableval" = yes; then
5273 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5274 else
5275 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5276 fi
5277
5278 else
5279
5280 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x ; then
5282 eval "DEFAULT_$LINE"
5283 else
5284 no_cache=1
5285 fi
5286
5287 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5288
5289 fi;
5290
5291 eval "$ac_cv_use_std_iostreams"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5294 fi
5295
5296 if test "$wxUSE_STD_IOSTREAM" = yes; then
5297 echo "$as_me:$LINENO: result: yes" >&5
5298 echo "${ECHO_T}yes" >&6
5299 else
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5302 fi
5303
5304
5305 enablestring=
5306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5307 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5308 no_cache=0
5309 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5310 if test "${enable_stopwatch+set}" = set; then
5311 enableval="$enable_stopwatch"
5312
5313 if test "$enableval" = yes; then
5314 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5315 else
5316 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5317 fi
5318
5319 else
5320
5321 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x ; then
5323 eval "DEFAULT_$LINE"
5324 else
5325 no_cache=1
5326 fi
5327
5328 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5329
5330 fi;
5331
5332 eval "$ac_cv_use_stopwatch"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5335 fi
5336
5337 if test "$wxUSE_STOPWATCH" = yes; then
5338 echo "$as_me:$LINENO: result: yes" >&5
5339 echo "${ECHO_T}yes" >&6
5340 else
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5343 fi
5344
5345
5346 enablestring=
5347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5348 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5349 no_cache=0
5350 # Check whether --enable-system_options or --disable-system_options was given.
5351 if test "${enable_system_options+set}" = set; then
5352 enableval="$enable_system_options"
5353
5354 if test "$enableval" = yes; then
5355 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5356 else
5357 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5358 fi
5359
5360 else
5361
5362 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x ; then
5364 eval "DEFAULT_$LINE"
5365 else
5366 no_cache=1
5367 fi
5368
5369 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5370
5371 fi;
5372
5373 eval "$ac_cv_use_system_options"
5374 if test "$no_cache" != 1; then
5375 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5376 fi
5377
5378 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5379 echo "$as_me:$LINENO: result: yes" >&5
5380 echo "${ECHO_T}yes" >&6
5381 else
5382 echo "$as_me:$LINENO: result: no" >&5
5383 echo "${ECHO_T}no" >&6
5384 fi
5385
5386
5387 enablestring=
5388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5389 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5390 no_cache=0
5391 # Check whether --enable-textbuf or --disable-textbuf was given.
5392 if test "${enable_textbuf+set}" = set; then
5393 enableval="$enable_textbuf"
5394
5395 if test "$enableval" = yes; then
5396 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5397 else
5398 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5399 fi
5400
5401 else
5402
5403 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x ; then
5405 eval "DEFAULT_$LINE"
5406 else
5407 no_cache=1
5408 fi
5409
5410 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5411
5412 fi;
5413
5414 eval "$ac_cv_use_textbuf"
5415 if test "$no_cache" != 1; then
5416 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5417 fi
5418
5419 if test "$wxUSE_TEXTBUFFER" = yes; then
5420 echo "$as_me:$LINENO: result: yes" >&5
5421 echo "${ECHO_T}yes" >&6
5422 else
5423 echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6
5425 fi
5426
5427
5428 enablestring=
5429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5431 no_cache=0
5432 # Check whether --enable-textfile or --disable-textfile was given.
5433 if test "${enable_textfile+set}" = set; then
5434 enableval="$enable_textfile"
5435
5436 if test "$enableval" = yes; then
5437 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5438 else
5439 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5440 fi
5441
5442 else
5443
5444 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5445 if test "x$LINE" != x ; then
5446 eval "DEFAULT_$LINE"
5447 else
5448 no_cache=1
5449 fi
5450
5451 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5452
5453 fi;
5454
5455 eval "$ac_cv_use_textfile"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5458 fi
5459
5460 if test "$wxUSE_TEXTFILE" = yes; then
5461 echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6
5463 else
5464 echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6
5466 fi
5467
5468
5469 enablestring=
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5472 no_cache=0
5473 # Check whether --enable-timer or --disable-timer was given.
5474 if test "${enable_timer+set}" = set; then
5475 enableval="$enable_timer"
5476
5477 if test "$enableval" = yes; then
5478 ac_cv_use_timer='wxUSE_TIMER=yes'
5479 else
5480 ac_cv_use_timer='wxUSE_TIMER=no'
5481 fi
5482
5483 else
5484
5485 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5488 else
5489 no_cache=1
5490 fi
5491
5492 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5493
5494 fi;
5495
5496 eval "$ac_cv_use_timer"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test "$wxUSE_TIMER" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5504 else
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5507 fi
5508
5509
5510 enablestring=
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5513 no_cache=0
5514 # Check whether --enable-unicode or --disable-unicode was given.
5515 if test "${enable_unicode+set}" = set; then
5516 enableval="$enable_unicode"
5517
5518 if test "$enableval" = yes; then
5519 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5520 else
5521 ac_cv_use_unicode='wxUSE_UNICODE=no'
5522 fi
5523
5524 else
5525
5526 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5529 else
5530 no_cache=1
5531 fi
5532
5533 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5534
5535 fi;
5536
5537 eval "$ac_cv_use_unicode"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test "$wxUSE_UNICODE" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5545 else
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5548 fi
5549
5550
5551 enablestring=
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5554 no_cache=0
5555 # Check whether --enable-sound or --disable-sound was given.
5556 if test "${enable_sound+set}" = set; then
5557 enableval="$enable_sound"
5558
5559 if test "$enableval" = yes; then
5560 ac_cv_use_sound='wxUSE_SOUND=yes'
5561 else
5562 ac_cv_use_sound='wxUSE_SOUND=no'
5563 fi
5564
5565 else
5566
5567 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x ; then
5569 eval "DEFAULT_$LINE"
5570 else
5571 no_cache=1
5572 fi
5573
5574 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5575
5576 fi;
5577
5578 eval "$ac_cv_use_sound"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5581 fi
5582
5583 if test "$wxUSE_SOUND" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5586 else
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5589 fi
5590
5591
5592 enablestring=
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5595 no_cache=0
5596 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5597 if test "${enable_wxprintfv+set}" = set; then
5598 enableval="$enable_wxprintfv"
5599
5600 if test "$enableval" = yes; then
5601 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5602 else
5603 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5604 fi
5605
5606 else
5607
5608 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x ; then
5610 eval "DEFAULT_$LINE"
5611 else
5612 no_cache=1
5613 fi
5614
5615 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5616
5617 fi;
5618
5619 eval "$ac_cv_use_wxprintfv"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5627 else
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5630 fi
5631
5632
5633 enablestring=
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5636 no_cache=0
5637 # Check whether --enable-zipstream or --disable-zipstream was given.
5638 if test "${enable_zipstream+set}" = set; then
5639 enableval="$enable_zipstream"
5640
5641 if test "$enableval" = yes; then
5642 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5643 else
5644 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5645 fi
5646
5647 else
5648
5649 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 else
5653 no_cache=1
5654 fi
5655
5656 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5657
5658 fi;
5659
5660 eval "$ac_cv_use_zipstream"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test "$wxUSE_ZIPSTREAM" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5668 else
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5671 fi
5672
5673
5674 enablestring=
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5677 no_cache=0
5678 # Check whether --enable-gzstream or --disable-gzstream was given.
5679 if test "${enable_gzstream+set}" = set; then
5680 enableval="$enable_gzstream"
5681
5682 if test "$enableval" = yes; then
5683 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5684 else
5685 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5686 fi
5687
5688 else
5689
5690 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5693 else
5694 no_cache=1
5695 fi
5696
5697 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5698
5699 fi;
5700
5701 eval "$ac_cv_use_gzstream"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_GZSTREAM" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5709 else
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5712 fi
5713
5714
5715
5716 enablestring=
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5719 no_cache=0
5720 # Check whether --enable-url or --disable-url was given.
5721 if test "${enable_url+set}" = set; then
5722 enableval="$enable_url"
5723
5724 if test "$enableval" = yes; then
5725 ac_cv_use_url='wxUSE_URL=yes'
5726 else
5727 ac_cv_use_url='wxUSE_URL=no'
5728 fi
5729
5730 else
5731
5732 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5735 else
5736 no_cache=1
5737 fi
5738
5739 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5740
5741 fi;
5742
5743 eval "$ac_cv_use_url"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_URL" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5751 else
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5754 fi
5755
5756
5757 enablestring=
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5760 no_cache=0
5761 # Check whether --enable-protocol or --disable-protocol was given.
5762 if test "${enable_protocol+set}" = set; then
5763 enableval="$enable_protocol"
5764
5765 if test "$enableval" = yes; then
5766 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5767 else
5768 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5769 fi
5770
5771 else
5772
5773 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5781
5782 fi;
5783
5784 eval "$ac_cv_use_protocol"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_PROTOCOL" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5792 else
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5795 fi
5796
5797
5798 enablestring=
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5801 no_cache=0
5802 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5803 if test "${enable_protocol_http+set}" = set; then
5804 enableval="$enable_protocol_http"
5805
5806 if test "$enableval" = yes; then
5807 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5808 else
5809 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5810 fi
5811
5812 else
5813
5814 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5822
5823 fi;
5824
5825 eval "$ac_cv_use_protocol_http"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5828 fi
5829
5830 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5833 else
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5836 fi
5837
5838
5839 enablestring=
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5842 no_cache=0
5843 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5844 if test "${enable_protocol_ftp+set}" = set; then
5845 enableval="$enable_protocol_ftp"
5846
5847 if test "$enableval" = yes; then
5848 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5849 else
5850 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5851 fi
5852
5853 else
5854
5855 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5863
5864 fi;
5865
5866 eval "$ac_cv_use_protocol_ftp"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5869 fi
5870
5871 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5874 else
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5877 fi
5878
5879
5880 enablestring=
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5883 no_cache=0
5884 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5885 if test "${enable_protocol_file+set}" = set; then
5886 enableval="$enable_protocol_file"
5887
5888 if test "$enableval" = yes; then
5889 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5890 else
5891 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5892 fi
5893
5894 else
5895
5896 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5904
5905 fi;
5906
5907 eval "$ac_cv_use_protocol_file"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5915 else
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5918 fi
5919
5920
5921
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-threads or --disable-threads was given.
5929 if test "${enable_threads+set}" = set; then
5930 enableval="$enable_threads"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_threads='wxUSE_THREADS=yes'
5934 else
5935 ac_cv_use_threads='wxUSE_THREADS=no'
5936 fi
5937
5938 else
5939
5940 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5948
5949 fi;
5950
5951 eval "$ac_cv_use_threads"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_THREADS" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965 if test "$wxUSE_GUI" = "yes"; then
5966
5967
5968
5969 enablestring=
5970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5971 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5972 no_cache=0
5973 # Check whether --enable-docview or --disable-docview was given.
5974 if test "${enable_docview+set}" = set; then
5975 enableval="$enable_docview"
5976
5977 if test "$enableval" = yes; then
5978 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5979 else
5980 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5981 fi
5982
5983 else
5984
5985 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5993
5994 fi;
5995
5996 eval "$ac_cv_use_docview"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5999 fi
6000
6001 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6002 echo "$as_me:$LINENO: result: yes" >&5
6003 echo "${ECHO_T}yes" >&6
6004 else
6005 echo "$as_me:$LINENO: result: no" >&5
6006 echo "${ECHO_T}no" >&6
6007 fi
6008
6009
6010 enablestring=
6011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6013 no_cache=0
6014 # Check whether --enable-help or --disable-help was given.
6015 if test "${enable_help+set}" = set; then
6016 enableval="$enable_help"
6017
6018 if test "$enableval" = yes; then
6019 ac_cv_use_help='wxUSE_HELP=yes'
6020 else
6021 ac_cv_use_help='wxUSE_HELP=no'
6022 fi
6023
6024 else
6025
6026 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 else
6030 no_cache=1
6031 fi
6032
6033 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6034
6035 fi;
6036
6037 eval "$ac_cv_use_help"
6038 if test "$no_cache" != 1; then
6039 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6040 fi
6041
6042 if test "$wxUSE_HELP" = yes; then
6043 echo "$as_me:$LINENO: result: yes" >&5
6044 echo "${ECHO_T}yes" >&6
6045 else
6046 echo "$as_me:$LINENO: result: no" >&5
6047 echo "${ECHO_T}no" >&6
6048 fi
6049
6050
6051 enablestring=
6052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6053 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6054 no_cache=0
6055 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6056 if test "${enable_mshtmlhelp+set}" = set; then
6057 enableval="$enable_mshtmlhelp"
6058
6059 if test "$enableval" = yes; then
6060 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6061 else
6062 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6063 fi
6064
6065 else
6066
6067 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6075
6076 fi;
6077
6078 eval "$ac_cv_use_mshtmlhelp"
6079 if test "$no_cache" != 1; then
6080 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6081 fi
6082
6083 if test "$wxUSE_MS_HTML_HELP" = yes; then
6084 echo "$as_me:$LINENO: result: yes" >&5
6085 echo "${ECHO_T}yes" >&6
6086 else
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6089 fi
6090
6091
6092 enablestring=
6093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6094 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6095 no_cache=0
6096 # Check whether --enable-html or --disable-html was given.
6097 if test "${enable_html+set}" = set; then
6098 enableval="$enable_html"
6099
6100 if test "$enableval" = yes; then
6101 ac_cv_use_html='wxUSE_HTML=yes'
6102 else
6103 ac_cv_use_html='wxUSE_HTML=no'
6104 fi
6105
6106 else
6107
6108 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6116
6117 fi;
6118
6119 eval "$ac_cv_use_html"
6120 if test "$no_cache" != 1; then
6121 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6122 fi
6123
6124 if test "$wxUSE_HTML" = yes; then
6125 echo "$as_me:$LINENO: result: yes" >&5
6126 echo "${ECHO_T}yes" >&6
6127 else
6128 echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6
6130 fi
6131
6132
6133 enablestring=
6134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6136 no_cache=0
6137 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6138 if test "${enable_htmlhelp+set}" = set; then
6139 enableval="$enable_htmlhelp"
6140
6141 if test "$enableval" = yes; then
6142 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6143 else
6144 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6145 fi
6146
6147 else
6148
6149 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x ; then
6151 eval "DEFAULT_$LINE"
6152 else
6153 no_cache=1
6154 fi
6155
6156 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6157
6158 fi;
6159
6160 eval "$ac_cv_use_htmlhelp"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6163 fi
6164
6165 if test "$wxUSE_WXHTML_HELP" = yes; then
6166 echo "$as_me:$LINENO: result: yes" >&5
6167 echo "${ECHO_T}yes" >&6
6168 else
6169 echo "$as_me:$LINENO: result: no" >&5
6170 echo "${ECHO_T}no" >&6
6171 fi
6172
6173
6174 enablestring=
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6177 no_cache=0
6178 # Check whether --enable-constraints or --disable-constraints was given.
6179 if test "${enable_constraints+set}" = set; then
6180 enableval="$enable_constraints"
6181
6182 if test "$enableval" = yes; then
6183 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6184 else
6185 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6186 fi
6187
6188 else
6189
6190 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6193 else
6194 no_cache=1
6195 fi
6196
6197 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6198
6199 fi;
6200
6201 eval "$ac_cv_use_constraints"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6204 fi
6205
6206 if test "$wxUSE_CONSTRAINTS" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6209 else
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6212 fi
6213
6214
6215 enablestring=
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6218 no_cache=0
6219 # Check whether --enable-printarch or --disable-printarch was given.
6220 if test "${enable_printarch+set}" = set; then
6221 enableval="$enable_printarch"
6222
6223 if test "$enableval" = yes; then
6224 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6225 else
6226 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6227 fi
6228
6229 else
6230
6231 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6234 else
6235 no_cache=1
6236 fi
6237
6238 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6239
6240 fi;
6241
6242 eval "$ac_cv_use_printarch"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6245 fi
6246
6247 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6250 else
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6253 fi
6254
6255
6256 enablestring=
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6259 no_cache=0
6260 # Check whether --enable-mdi or --disable-mdi was given.
6261 if test "${enable_mdi+set}" = set; then
6262 enableval="$enable_mdi"
6263
6264 if test "$enableval" = yes; then
6265 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6266 else
6267 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6268 fi
6269
6270 else
6271
6272 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6275 else
6276 no_cache=1
6277 fi
6278
6279 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6280
6281 fi;
6282
6283 eval "$ac_cv_use_mdi"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6286 fi
6287
6288 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6
6291 else
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6294 fi
6295
6296
6297 enablestring=
6298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6300 no_cache=0
6301 # Check whether --enable-loggui or --disable-loggui was given.
6302 if test "${enable_loggui+set}" = set; then
6303 enableval="$enable_loggui"
6304
6305 if test "$enableval" = yes; then
6306 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6307 else
6308 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6309 fi
6310
6311 else
6312
6313 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6316 else
6317 no_cache=1
6318 fi
6319
6320 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6321
6322 fi;
6323
6324 eval "$ac_cv_use_loggui"
6325 if test "$no_cache" != 1; then
6326 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6327 fi
6328
6329 if test "$wxUSE_LOGGUI" = yes; then
6330 echo "$as_me:$LINENO: result: yes" >&5
6331 echo "${ECHO_T}yes" >&6
6332 else
6333 echo "$as_me:$LINENO: result: no" >&5
6334 echo "${ECHO_T}no" >&6
6335 fi
6336
6337
6338 enablestring=
6339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6341 no_cache=0
6342 # Check whether --enable-logwin or --disable-logwin was given.
6343 if test "${enable_logwin+set}" = set; then
6344 enableval="$enable_logwin"
6345
6346 if test "$enableval" = yes; then
6347 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6348 else
6349 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6350 fi
6351
6352 else
6353
6354 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x ; then
6356 eval "DEFAULT_$LINE"
6357 else
6358 no_cache=1
6359 fi
6360
6361 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6362
6363 fi;
6364
6365 eval "$ac_cv_use_logwin"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6368 fi
6369
6370 if test "$wxUSE_LOGWINDOW" = yes; then
6371 echo "$as_me:$LINENO: result: yes" >&5
6372 echo "${ECHO_T}yes" >&6
6373 else
6374 echo "$as_me:$LINENO: result: no" >&5
6375 echo "${ECHO_T}no" >&6
6376 fi
6377
6378
6379 enablestring=
6380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6381 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6382 no_cache=0
6383 # Check whether --enable-logdialog or --disable-logdialog was given.
6384 if test "${enable_logdialog+set}" = set; then
6385 enableval="$enable_logdialog"
6386
6387 if test "$enableval" = yes; then
6388 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6389 else
6390 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6391 fi
6392
6393 else
6394
6395 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6398 else
6399 no_cache=1
6400 fi
6401
6402 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6403
6404 fi;
6405
6406 eval "$ac_cv_use_logdialog"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6409 fi
6410
6411 if test "$wxUSE_LOGDIALOG" = yes; then
6412 echo "$as_me:$LINENO: result: yes" >&5
6413 echo "${ECHO_T}yes" >&6
6414 else
6415 echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6
6417 fi
6418
6419
6420
6421 enablestring=
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6424 no_cache=0
6425 # Check whether --enable-postscript or --disable-postscript was given.
6426 if test "${enable_postscript+set}" = set; then
6427 enableval="$enable_postscript"
6428
6429 if test "$enableval" = yes; then
6430 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6431 else
6432 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6433 fi
6434
6435 else
6436
6437 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x ; then
6439 eval "DEFAULT_$LINE"
6440 else
6441 no_cache=1
6442 fi
6443
6444 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6445
6446 fi;
6447
6448 eval "$ac_cv_use_postscript"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6451 fi
6452
6453 if test "$wxUSE_POSTSCRIPT" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6456 else
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6459 fi
6460
6461
6462
6463
6464
6465 enablestring=
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6468 no_cache=0
6469 # Check whether --enable-prologio or --disable-prologio was given.
6470 if test "${enable_prologio+set}" = set; then
6471 enableval="$enable_prologio"
6472
6473 if test "$enableval" = yes; then
6474 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6475 else
6476 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6477 fi
6478
6479 else
6480
6481 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6484 else
6485 no_cache=1
6486 fi
6487
6488 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6489
6490 fi;
6491
6492 eval "$ac_cv_use_prologio"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6495 fi
6496
6497 if test "$wxUSE_PROLOGIO" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6500 else
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6503 fi
6504
6505
6506 enablestring=
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6509 no_cache=0
6510 # Check whether --enable-resources or --disable-resources was given.
6511 if test "${enable_resources+set}" = set; then
6512 enableval="$enable_resources"
6513
6514 if test "$enableval" = yes; then
6515 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6516 else
6517 ac_cv_use_resources='wxUSE_RESOURCES=no'
6518 fi
6519
6520 else
6521
6522 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x ; then
6524 eval "DEFAULT_$LINE"
6525 else
6526 no_cache=1
6527 fi
6528
6529 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6530
6531 fi;
6532
6533 eval "$ac_cv_use_resources"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6536 fi
6537
6538 if test "$wxUSE_RESOURCES" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6541 else
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6544 fi
6545
6546
6547
6548
6549 enablestring=
6550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6552 no_cache=0
6553 # Check whether --enable-clipboard or --disable-clipboard was given.
6554 if test "${enable_clipboard+set}" = set; then
6555 enableval="$enable_clipboard"
6556
6557 if test "$enableval" = yes; then
6558 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6559 else
6560 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6573
6574 fi;
6575
6576 eval "$ac_cv_use_clipboard"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6579 fi
6580
6581 if test "$wxUSE_CLIPBOARD" = yes; then
6582 echo "$as_me:$LINENO: result: yes" >&5
6583 echo "${ECHO_T}yes" >&6
6584 else
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6587 fi
6588
6589
6590 enablestring=
6591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6592 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6593 no_cache=0
6594 # Check whether --enable-dnd or --disable-dnd was given.
6595 if test "${enable_dnd+set}" = set; then
6596 enableval="$enable_dnd"
6597
6598 if test "$enableval" = yes; then
6599 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6600 else
6601 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6614
6615 fi;
6616
6617 eval "$ac_cv_use_dnd"
6618 if test "$no_cache" != 1; then
6619 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6620 fi
6621
6622 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6623 echo "$as_me:$LINENO: result: yes" >&5
6624 echo "${ECHO_T}yes" >&6
6625 else
6626 echo "$as_me:$LINENO: result: no" >&5
6627 echo "${ECHO_T}no" >&6
6628 fi
6629
6630
6631 enablestring=
6632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6633 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6634 no_cache=0
6635 # Check whether --enable-metafile or --disable-metafile was given.
6636 if test "${enable_metafile+set}" = set; then
6637 enableval="$enable_metafile"
6638
6639 if test "$enableval" = yes; then
6640 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6641 else
6642 ac_cv_use_metafile='wxUSE_METAFILE=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6655
6656 fi;
6657
6658 eval "$ac_cv_use_metafile"
6659 if test "$no_cache" != 1; then
6660 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6661 fi
6662
6663 if test "$wxUSE_METAFILE" = yes; then
6664 echo "$as_me:$LINENO: result: yes" >&5
6665 echo "${ECHO_T}yes" >&6
6666 else
6667 echo "$as_me:$LINENO: result: no" >&5
6668 echo "${ECHO_T}no" >&6
6669 fi
6670
6671
6672
6673
6674
6675 enablestring=
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6678 no_cache=0
6679 # Check whether --enable-controls or --disable-controls was given.
6680 if test "${enable_controls+set}" = set; then
6681 enableval="$enable_controls"
6682
6683 if test "$enableval" = yes; then
6684 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6685 else
6686 ac_cv_use_controls='wxUSE_CONTROLS=no'
6687 fi
6688
6689 else
6690
6691 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6699
6700 fi;
6701
6702 eval "$ac_cv_use_controls"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6705 fi
6706
6707 if test "$wxUSE_CONTROLS" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6710 else
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6713 fi
6714
6715
6716 if test "$wxUSE_CONTROLS" = "yes"; then
6717 DEFAULT_wxUSE_ACCEL=yes
6718 DEFAULT_wxUSE_BMPBUTTON=yes
6719 DEFAULT_wxUSE_BUTTON=yes
6720 DEFAULT_wxUSE_CALCTRL=no
6721 DEFAULT_wxUSE_CARET=yes
6722 DEFAULT_wxUSE_COMBOBOX=yes
6723 DEFAULT_wxUSE_CHECKBOX=yes
6724 DEFAULT_wxUSE_CHECKLISTBOX=yes
6725 DEFAULT_wxUSE_CHOICE=yes
6726 DEFAULT_wxUSE_GAUGE=yes
6727 DEFAULT_wxUSE_GRID=yes
6728 DEFAULT_wxUSE_IMAGLIST=yes
6729 DEFAULT_wxUSE_LISTBOOK=yes
6730 DEFAULT_wxUSE_LISTBOX=yes
6731 DEFAULT_wxUSE_LISTCTRL=yes
6732 DEFAULT_wxUSE_NOTEBOOK=yes
6733 DEFAULT_wxUSE_RADIOBOX=yes
6734 DEFAULT_wxUSE_RADIOBTN=yes
6735 DEFAULT_wxUSE_SASH=yes
6736 DEFAULT_wxUSE_SCROLLBAR=yes
6737 DEFAULT_wxUSE_SLIDER=yes
6738 DEFAULT_wxUSE_SPINBTN=yes
6739 DEFAULT_wxUSE_SPINCTRL=yes
6740 DEFAULT_wxUSE_SPLITTER=yes
6741 DEFAULT_wxUSE_STATBMP=yes
6742 DEFAULT_wxUSE_STATBOX=yes
6743 DEFAULT_wxUSE_STATLINE=yes
6744 DEFAULT_wxUSE_STATUSBAR=yes
6745 DEFAULT_wxUSE_TAB_DIALOG=yes
6746 DEFAULT_wxUSE_TOGGLEBTN=yes
6747 DEFAULT_wxUSE_TOOLBAR=yes
6748 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6749 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6750 DEFAULT_wxUSE_TOOLTIPS=yes
6751 DEFAULT_wxUSE_TREECTRL=yes
6752 DEFAULT_wxUSE_POPUPWIN=yes
6753 DEFAULT_wxUSE_TIPWINDOW=yes
6754 elif test "$wxUSE_CONTROLS" = "no"; then
6755 DEFAULT_wxUSE_ACCEL=no
6756 DEFAULT_wxUSE_BMPBUTTON=no
6757 DEFAULT_wxUSE_BUTTON=no
6758 DEFAULT_wxUSE_CALCTRL=no
6759 DEFAULT_wxUSE_CARET=no
6760 DEFAULT_wxUSE_COMBOBOX=no
6761 DEFAULT_wxUSE_CHECKBOX=no
6762 DEFAULT_wxUSE_CHECKLISTBOX=no
6763 DEFAULT_wxUSE_CHOICE=no
6764 DEFAULT_wxUSE_GAUGE=no
6765 DEFAULT_wxUSE_GRID=no
6766 DEFAULT_wxUSE_IMAGLIST=no
6767 DEFAULT_wxUSE_LISTBOOK=no
6768 DEFAULT_wxUSE_LISTBOX=no
6769 DEFAULT_wxUSE_LISTCTRL=no
6770 DEFAULT_wxUSE_NOTEBOOK=no
6771 DEFAULT_wxUSE_RADIOBOX=no
6772 DEFAULT_wxUSE_RADIOBTN=no
6773 DEFAULT_wxUSE_SASH=no
6774 DEFAULT_wxUSE_SCROLLBAR=no
6775 DEFAULT_wxUSE_SLIDER=no
6776 DEFAULT_wxUSE_SPINBTN=no
6777 DEFAULT_wxUSE_SPINCTRL=no
6778 DEFAULT_wxUSE_SPLITTER=no
6779 DEFAULT_wxUSE_STATBMP=no
6780 DEFAULT_wxUSE_STATBOX=no
6781 DEFAULT_wxUSE_STATLINE=no
6782 DEFAULT_wxUSE_STATUSBAR=no
6783 DEFAULT_wxUSE_TAB_DIALOG=no
6784 DEFAULT_wxUSE_TOGGLEBTN=no
6785 DEFAULT_wxUSE_TOOLBAR=no
6786 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6787 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6788 DEFAULT_wxUSE_TOOLTIPS=no
6789 DEFAULT_wxUSE_TREECTRL=no
6790 DEFAULT_wxUSE_POPUPWIN=no
6791 DEFAULT_wxUSE_TIPWINDOW=no
6792 fi
6793
6794 ## FIXME: This is a blatant hack
6795 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6796 wxUSE_PRINTING_ARCHITECTURE=no
6797 wxUSE_DRAG_AND_DROP=no
6798 # Generic notebook requires tab dialog
6799 DEFAULT_wxUSE_TABDIALOG=yes
6800 DEFAULT_wxUSE_SCROLLBAR=no
6801 DEFAULT_wxUSE_TOOLTIPS=no
6802 DEFAULT_wxUSE_DRAGIMAGE=no
6803 fi
6804
6805
6806 enablestring=
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6809 no_cache=0
6810 # Check whether --enable-accel or --disable-accel was given.
6811 if test "${enable_accel+set}" = set; then
6812 enableval="$enable_accel"
6813
6814 if test "$enableval" = yes; then
6815 ac_cv_use_accel='wxUSE_ACCEL=yes'
6816 else
6817 ac_cv_use_accel='wxUSE_ACCEL=no'
6818 fi
6819
6820 else
6821
6822 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6825 else
6826 no_cache=1
6827 fi
6828
6829 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6830
6831 fi;
6832
6833 eval "$ac_cv_use_accel"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6836 fi
6837
6838 if test "$wxUSE_ACCEL" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840 echo "${ECHO_T}yes" >&6
6841 else
6842 echo "$as_me:$LINENO: result: no" >&5
6843 echo "${ECHO_T}no" >&6
6844 fi
6845
6846
6847 enablestring=
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6850 no_cache=0
6851 # Check whether --enable-button or --disable-button was given.
6852 if test "${enable_button+set}" = set; then
6853 enableval="$enable_button"
6854
6855 if test "$enableval" = yes; then
6856 ac_cv_use_button='wxUSE_BUTTON=yes'
6857 else
6858 ac_cv_use_button='wxUSE_BUTTON=no'
6859 fi
6860
6861 else
6862
6863 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x ; then
6865 eval "DEFAULT_$LINE"
6866 else
6867 no_cache=1
6868 fi
6869
6870 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6871
6872 fi;
6873
6874 eval "$ac_cv_use_button"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6877 fi
6878
6879 if test "$wxUSE_BUTTON" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881 echo "${ECHO_T}yes" >&6
6882 else
6883 echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6
6885 fi
6886
6887
6888 enablestring=
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6891 no_cache=0
6892 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6893 if test "${enable_bmpbutton+set}" = set; then
6894 enableval="$enable_bmpbutton"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6898 else
6899 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6900 fi
6901
6902 else
6903
6904 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6912
6913 fi;
6914
6915 eval "$ac_cv_use_bmpbutton"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6918 fi
6919
6920 if test "$wxUSE_BMPBUTTON" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6923 else
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6926 fi
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-calendar or --disable-calendar was given.
6934 if test "${enable_calendar+set}" = set; then
6935 enableval="$enable_calendar"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6939 else
6940 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6953
6954 fi;
6955
6956 eval "$ac_cv_use_calendar"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_CALCTRL" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-caret or --disable-caret was given.
6975 if test "${enable_caret+set}" = set; then
6976 enableval="$enable_caret"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_caret='wxUSE_CARET=yes'
6980 else
6981 ac_cv_use_caret='wxUSE_CARET=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6994
6995 fi;
6996
6997 eval "$ac_cv_use_caret"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_CARET" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-checkbox or --disable-checkbox was given.
7016 if test "${enable_checkbox+set}" = set; then
7017 enableval="$enable_checkbox"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7021 else
7022 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7035
7036 fi;
7037
7038 eval "$ac_cv_use_checkbox"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_CHECKBOX" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-checklst or --disable-checklst was given.
7057 if test "${enable_checklst+set}" = set; then
7058 enableval="$enable_checklst"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7062 else
7063 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7076
7077 fi;
7078
7079 eval "$ac_cv_use_checklst"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_CHECKLST" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-choice or --disable-choice was given.
7098 if test "${enable_choice+set}" = set; then
7099 enableval="$enable_choice"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_choice='wxUSE_CHOICE=yes'
7103 else
7104 ac_cv_use_choice='wxUSE_CHOICE=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7117
7118 fi;
7119
7120 eval "$ac_cv_use_choice"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_CHOICE" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-combobox or --disable-combobox was given.
7139 if test "${enable_combobox+set}" = set; then
7140 enableval="$enable_combobox"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7144 else
7145 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7158
7159 fi;
7160
7161 eval "$ac_cv_use_combobox"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_COMBOBOX" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-display or --disable-display was given.
7180 if test "${enable_display+set}" = set; then
7181 enableval="$enable_display"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_display='wxUSE_DISPLAY=yes'
7185 else
7186 ac_cv_use_display='wxUSE_DISPLAY=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7199
7200 fi;
7201
7202 eval "$ac_cv_use_display"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_DISPLAY" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-gauge or --disable-gauge was given.
7221 if test "${enable_gauge+set}" = set; then
7222 enableval="$enable_gauge"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7226 else
7227 ac_cv_use_gauge='wxUSE_GAUGE=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7240
7241 fi;
7242
7243 eval "$ac_cv_use_gauge"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_GAUGE" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-grid or --disable-grid was given.
7262 if test "${enable_grid+set}" = set; then
7263 enableval="$enable_grid"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_grid='wxUSE_GRID=yes'
7267 else
7268 ac_cv_use_grid='wxUSE_GRID=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7281
7282 fi;
7283
7284 eval "$ac_cv_use_grid"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_GRID" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-imaglist or --disable-imaglist was given.
7303 if test "${enable_imaglist+set}" = set; then
7304 enableval="$enable_imaglist"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7308 else
7309 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7322
7323 fi;
7324
7325 eval "$ac_cv_use_imaglist"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_IMAGLIST" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-listbook or --disable-listbook was given.
7344 if test "${enable_listbook+set}" = set; then
7345 enableval="$enable_listbook"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7349 else
7350 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7363
7364 fi;
7365
7366 eval "$ac_cv_use_listbook"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_LISTBOOK" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-listbox or --disable-listbox was given.
7385 if test "${enable_listbox+set}" = set; then
7386 enableval="$enable_listbox"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7390 else
7391 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7404
7405 fi;
7406
7407 eval "$ac_cv_use_listbox"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LISTBOX" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-listctrl or --disable-listctrl was given.
7426 if test "${enable_listctrl+set}" = set; then
7427 enableval="$enable_listctrl"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7431 else
7432 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7445
7446 fi;
7447
7448 eval "$ac_cv_use_listctrl"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LISTCTRL" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-notebook or --disable-notebook was given.
7467 if test "${enable_notebook+set}" = set; then
7468 enableval="$enable_notebook"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7472 else
7473 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7486
7487 fi;
7488
7489 eval "$ac_cv_use_notebook"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_NOTEBOOK" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-radiobox or --disable-radiobox was given.
7508 if test "${enable_radiobox+set}" = set; then
7509 enableval="$enable_radiobox"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7513 else
7514 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7527
7528 fi;
7529
7530 eval "$ac_cv_use_radiobox"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_RADIOBOX" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7549 if test "${enable_radiobtn+set}" = set; then
7550 enableval="$enable_radiobtn"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7554 else
7555 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7568
7569 fi;
7570
7571 eval "$ac_cv_use_radiobtn"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RADIOBTN" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-sash or --disable-sash was given.
7590 if test "${enable_sash+set}" = set; then
7591 enableval="$enable_sash"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_sash='wxUSE_SASH=yes'
7595 else
7596 ac_cv_use_sash='wxUSE_SASH=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7609
7610 fi;
7611
7612 eval "$ac_cv_use_sash"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_SASH" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626 enablestring=
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7629 no_cache=0
7630 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7631 if test "${enable_scrollbar+set}" = set; then
7632 enableval="$enable_scrollbar"
7633
7634 if test "$enableval" = yes; then
7635 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7636 else
7637 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7638 fi
7639
7640 else
7641
7642 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7645 else
7646 no_cache=1
7647 fi
7648
7649 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7650
7651 fi;
7652
7653 eval "$ac_cv_use_scrollbar"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7656 fi
7657
7658 if test "$wxUSE_SCROLLBAR" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660 echo "${ECHO_T}yes" >&6
7661 else
7662 echo "$as_me:$LINENO: result: no" >&5
7663 echo "${ECHO_T}no" >&6
7664 fi
7665
7666
7667 enablestring=
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7670 no_cache=0
7671 # Check whether --enable-slider or --disable-slider was given.
7672 if test "${enable_slider+set}" = set; then
7673 enableval="$enable_slider"
7674
7675 if test "$enableval" = yes; then
7676 ac_cv_use_slider='wxUSE_SLIDER=yes'
7677 else
7678 ac_cv_use_slider='wxUSE_SLIDER=no'
7679 fi
7680
7681 else
7682
7683 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x ; then
7685 eval "DEFAULT_$LINE"
7686 else
7687 no_cache=1
7688 fi
7689
7690 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7691
7692 fi;
7693
7694 eval "$ac_cv_use_slider"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7697 fi
7698
7699 if test "$wxUSE_SLIDER" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6
7702 else
7703 echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6
7705 fi
7706
7707
7708 enablestring=
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7711 no_cache=0
7712 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7713 if test "${enable_spinbtn+set}" = set; then
7714 enableval="$enable_spinbtn"
7715
7716 if test "$enableval" = yes; then
7717 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7718 else
7719 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7720 fi
7721
7722 else
7723
7724 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7727 else
7728 no_cache=1
7729 fi
7730
7731 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7732
7733 fi;
7734
7735 eval "$ac_cv_use_spinbtn"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7738 fi
7739
7740 if test "$wxUSE_SPINBTN" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6
7743 else
7744 echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6
7746 fi
7747
7748
7749 enablestring=
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7752 no_cache=0
7753 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7754 if test "${enable_spinctrl+set}" = set; then
7755 enableval="$enable_spinctrl"
7756
7757 if test "$enableval" = yes; then
7758 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7759 else
7760 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7761 fi
7762
7763 else
7764
7765 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7768 else
7769 no_cache=1
7770 fi
7771
7772 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7773
7774 fi;
7775
7776 eval "$ac_cv_use_spinctrl"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7779 fi
7780
7781 if test "$wxUSE_SPINCTRL" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7784 else
7785 echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7787 fi
7788
7789
7790 enablestring=
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7793 no_cache=0
7794 # Check whether --enable-splitter or --disable-splitter was given.
7795 if test "${enable_splitter+set}" = set; then
7796 enableval="$enable_splitter"
7797
7798 if test "$enableval" = yes; then
7799 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7800 else
7801 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7802 fi
7803
7804 else
7805
7806 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x ; then
7808 eval "DEFAULT_$LINE"
7809 else
7810 no_cache=1
7811 fi
7812
7813 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7814
7815 fi;
7816
7817 eval "$ac_cv_use_splitter"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7820 fi
7821
7822 if test "$wxUSE_SPLITTER" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6
7825 else
7826 echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6
7828 fi
7829
7830
7831 enablestring=
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7834 no_cache=0
7835 # Check whether --enable-statbmp or --disable-statbmp was given.
7836 if test "${enable_statbmp+set}" = set; then
7837 enableval="$enable_statbmp"
7838
7839 if test "$enableval" = yes; then
7840 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7841 else
7842 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7843 fi
7844
7845 else
7846
7847 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x ; then
7849 eval "DEFAULT_$LINE"
7850 else
7851 no_cache=1
7852 fi
7853
7854 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7855
7856 fi;
7857
7858 eval "$ac_cv_use_statbmp"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7861 fi
7862
7863 if test "$wxUSE_STATBMP" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6
7866 else
7867 echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6
7869 fi
7870
7871
7872 enablestring=
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7875 no_cache=0
7876 # Check whether --enable-statbox or --disable-statbox was given.
7877 if test "${enable_statbox+set}" = set; then
7878 enableval="$enable_statbox"
7879
7880 if test "$enableval" = yes; then
7881 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7882 else
7883 ac_cv_use_statbox='wxUSE_STATBOX=no'
7884 fi
7885
7886 else
7887
7888 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x ; then
7890 eval "DEFAULT_$LINE"
7891 else
7892 no_cache=1
7893 fi
7894
7895 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7896
7897 fi;
7898
7899 eval "$ac_cv_use_statbox"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7902 fi
7903
7904 if test "$wxUSE_STATBOX" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6
7907 else
7908 echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6
7910 fi
7911
7912
7913 enablestring=
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7916 no_cache=0
7917 # Check whether --enable-statline or --disable-statline was given.
7918 if test "${enable_statline+set}" = set; then
7919 enableval="$enable_statline"
7920
7921 if test "$enableval" = yes; then
7922 ac_cv_use_statline='wxUSE_STATLINE=yes'
7923 else
7924 ac_cv_use_statline='wxUSE_STATLINE=no'
7925 fi
7926
7927 else
7928
7929 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 else
7933 no_cache=1
7934 fi
7935
7936 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7937
7938 fi;
7939
7940 eval "$ac_cv_use_statline"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7943 fi
7944
7945 if test "$wxUSE_STATLINE" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7948 else
7949 echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7951 fi
7952
7953
7954 enablestring=
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7957 no_cache=0
7958 # Check whether --enable-stattext or --disable-stattext was given.
7959 if test "${enable_stattext+set}" = set; then
7960 enableval="$enable_stattext"
7961
7962 if test "$enableval" = yes; then
7963 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7964 else
7965 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7966 fi
7967
7968 else
7969
7970 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x ; then
7972 eval "DEFAULT_$LINE"
7973 else
7974 no_cache=1
7975 fi
7976
7977 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7978
7979 fi;
7980
7981 eval "$ac_cv_use_stattext"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7984 fi
7985
7986 if test "$wxUSE_STATTEXT" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6
7989 else
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7992 fi
7993
7994
7995 enablestring=
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7998 no_cache=0
7999 # Check whether --enable-statusbar or --disable-statusbar was given.
8000 if test "${enable_statusbar+set}" = set; then
8001 enableval="$enable_statusbar"
8002
8003 if test "$enableval" = yes; then
8004 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8005 else
8006 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8007 fi
8008
8009 else
8010
8011 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8014 else
8015 no_cache=1
8016 fi
8017
8018 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8019
8020 fi;
8021
8022 eval "$ac_cv_use_statusbar"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8025 fi
8026
8027 if test "$wxUSE_STATUSBAR" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6
8030 else
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8033 fi
8034
8035
8036 enablestring=
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8039 no_cache=0
8040 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8041 if test "${enable_tabdialog+set}" = set; then
8042 enableval="$enable_tabdialog"
8043
8044 if test "$enableval" = yes; then
8045 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8046 else
8047 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8048 fi
8049
8050 else
8051
8052 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8055 else
8056 no_cache=1
8057 fi
8058
8059 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8060
8061 fi;
8062
8063 eval "$ac_cv_use_tabdialog"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8066 fi
8067
8068 if test "$wxUSE_TABDIALOG" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6
8071 else
8072 echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6
8074 fi
8075
8076
8077 enablestring=
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8080 no_cache=0
8081 # Check whether --enable-textctrl or --disable-textctrl was given.
8082 if test "${enable_textctrl+set}" = set; then
8083 enableval="$enable_textctrl"
8084
8085 if test "$enableval" = yes; then
8086 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8087 else
8088 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8089 fi
8090
8091 else
8092
8093 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8096 else
8097 no_cache=1
8098 fi
8099
8100 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8101
8102 fi;
8103
8104 eval "$ac_cv_use_textctrl"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8107 fi
8108
8109 if test "$wxUSE_TEXTCTRL" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6
8112 else
8113 echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6
8115 fi
8116
8117
8118 enablestring=
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8121 no_cache=0
8122 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8123 if test "${enable_togglebtn+set}" = set; then
8124 enableval="$enable_togglebtn"
8125
8126 if test "$enableval" = yes; then
8127 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8128 else
8129 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8130 fi
8131
8132 else
8133
8134 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8137 else
8138 no_cache=1
8139 fi
8140
8141 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8142
8143 fi;
8144
8145 eval "$ac_cv_use_togglebtn"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8148 fi
8149
8150 if test "$wxUSE_TOGGLEBTN" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6
8153 else
8154 echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6
8156 fi
8157
8158
8159 enablestring=
8160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8161 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8162 no_cache=0
8163 # Check whether --enable-toolbar or --disable-toolbar was given.
8164 if test "${enable_toolbar+set}" = set; then
8165 enableval="$enable_toolbar"
8166
8167 if test "$enableval" = yes; then
8168 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8169 else
8170 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8171 fi
8172
8173 else
8174
8175 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8176 if test "x$LINE" != x ; then
8177 eval "DEFAULT_$LINE"
8178 else
8179 no_cache=1
8180 fi
8181
8182 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8183
8184 fi;
8185
8186 eval "$ac_cv_use_toolbar"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8189 fi
8190
8191 if test "$wxUSE_TOOLBAR" = yes; then
8192 echo "$as_me:$LINENO: result: yes" >&5
8193 echo "${ECHO_T}yes" >&6
8194 else
8195 echo "$as_me:$LINENO: result: no" >&5
8196 echo "${ECHO_T}no" >&6
8197 fi
8198
8199
8200 enablestring=
8201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8202 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8203 no_cache=0
8204 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8205 if test "${enable_tbarnative+set}" = set; then
8206 enableval="$enable_tbarnative"
8207
8208 if test "$enableval" = yes; then
8209 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8210 else
8211 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8212 fi
8213
8214 else
8215
8216 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8217 if test "x$LINE" != x ; then
8218 eval "DEFAULT_$LINE"
8219 else
8220 no_cache=1
8221 fi
8222
8223 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8224
8225 fi;
8226
8227 eval "$ac_cv_use_tbarnative"
8228 if test "$no_cache" != 1; then
8229 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8230 fi
8231
8232 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8233 echo "$as_me:$LINENO: result: yes" >&5
8234 echo "${ECHO_T}yes" >&6
8235 else
8236 echo "$as_me:$LINENO: result: no" >&5
8237 echo "${ECHO_T}no" >&6
8238 fi
8239
8240
8241 enablestring=
8242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8243 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8244 no_cache=0
8245 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8246 if test "${enable_tbarsmpl+set}" = set; then
8247 enableval="$enable_tbarsmpl"
8248
8249 if test "$enableval" = yes; then
8250 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8251 else
8252 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8253 fi
8254
8255 else
8256
8257 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8258 if test "x$LINE" != x ; then
8259 eval "DEFAULT_$LINE"
8260 else
8261 no_cache=1
8262 fi
8263
8264 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8265
8266 fi;
8267
8268 eval "$ac_cv_use_tbarsmpl"
8269 if test "$no_cache" != 1; then
8270 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8271 fi
8272
8273 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8274 echo "$as_me:$LINENO: result: yes" >&5
8275 echo "${ECHO_T}yes" >&6
8276 else
8277 echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6
8279 fi
8280
8281
8282 enablestring=
8283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8285 no_cache=0
8286 # Check whether --enable-treectrl or --disable-treectrl was given.
8287 if test "${enable_treectrl+set}" = set; then
8288 enableval="$enable_treectrl"
8289
8290 if test "$enableval" = yes; then
8291 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8292 else
8293 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8294 fi
8295
8296 else
8297
8298 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8299 if test "x$LINE" != x ; then
8300 eval "DEFAULT_$LINE"
8301 else
8302 no_cache=1
8303 fi
8304
8305 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8306
8307 fi;
8308
8309 eval "$ac_cv_use_treectrl"
8310 if test "$no_cache" != 1; then
8311 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8312 fi
8313
8314 if test "$wxUSE_TREECTRL" = yes; then
8315 echo "$as_me:$LINENO: result: yes" >&5
8316 echo "${ECHO_T}yes" >&6
8317 else
8318 echo "$as_me:$LINENO: result: no" >&5
8319 echo "${ECHO_T}no" >&6
8320 fi
8321
8322
8323 enablestring=
8324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8326 no_cache=0
8327 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8328 if test "${enable_tipwindow+set}" = set; then
8329 enableval="$enable_tipwindow"
8330
8331 if test "$enableval" = yes; then
8332 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8333 else
8334 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8335 fi
8336
8337 else
8338
8339 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8340 if test "x$LINE" != x ; then
8341 eval "DEFAULT_$LINE"
8342 else
8343 no_cache=1
8344 fi
8345
8346 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8347
8348 fi;
8349
8350 eval "$ac_cv_use_tipwindow"
8351 if test "$no_cache" != 1; then
8352 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8353 fi
8354
8355 if test "$wxUSE_TIPWINDOW" = yes; then
8356 echo "$as_me:$LINENO: result: yes" >&5
8357 echo "${ECHO_T}yes" >&6
8358 else
8359 echo "$as_me:$LINENO: result: no" >&5
8360 echo "${ECHO_T}no" >&6
8361 fi
8362
8363
8364 enablestring=
8365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8366 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8367 no_cache=0
8368 # Check whether --enable-popupwin or --disable-popupwin was given.
8369 if test "${enable_popupwin+set}" = set; then
8370 enableval="$enable_popupwin"
8371
8372 if test "$enableval" = yes; then
8373 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8374 else
8375 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8376 fi
8377
8378 else
8379
8380 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x ; then
8382 eval "DEFAULT_$LINE"
8383 else
8384 no_cache=1
8385 fi
8386
8387 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8388
8389 fi;
8390
8391 eval "$ac_cv_use_popupwin"
8392 if test "$no_cache" != 1; then
8393 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8394 fi
8395
8396 if test "$wxUSE_POPUPWIN" = yes; then
8397 echo "$as_me:$LINENO: result: yes" >&5
8398 echo "${ECHO_T}yes" >&6
8399 else
8400 echo "$as_me:$LINENO: result: no" >&5
8401 echo "${ECHO_T}no" >&6
8402 fi
8403
8404
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-commondlg or --disable-commondlg was given.
8412 if test "${enable_commondlg+set}" = set; then
8413 enableval="$enable_commondlg"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8417 else
8418 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8419 fi
8420
8421 else
8422
8423 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8431
8432 fi;
8433
8434 eval "$ac_cv_use_commondlg"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_COMMONDLGS" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8453 if test "${enable_choicedlg+set}" = set; then
8454 enableval="$enable_choicedlg"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8458 else
8459 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8460 fi
8461
8462 else
8463
8464 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8472
8473 fi;
8474
8475 eval "$ac_cv_use_choicedlg"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_CHOICEDLG" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-coldlg or --disable-coldlg was given.
8494 if test "${enable_coldlg+set}" = set; then
8495 enableval="$enable_coldlg"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8499 else
8500 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8501 fi
8502
8503 else
8504
8505 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8513
8514 fi;
8515
8516 eval "$ac_cv_use_coldlg"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_COLOURDLG" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-filedlg or --disable-filedlg was given.
8535 if test "${enable_filedlg+set}" = set; then
8536 enableval="$enable_filedlg"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8540 else
8541 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8542 fi
8543
8544 else
8545
8546 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8554
8555 fi;
8556
8557 eval "$ac_cv_use_filedlg"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_FILEDLG" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-finddlg or --disable-finddlg was given.
8576 if test "${enable_finddlg+set}" = set; then
8577 enableval="$enable_finddlg"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8581 else
8582 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8583 fi
8584
8585 else
8586
8587 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8595
8596 fi;
8597
8598 eval "$ac_cv_use_finddlg"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_FINDREPLDLG" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8617 if test "${enable_fontdlg+set}" = set; then
8618 enableval="$enable_fontdlg"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8622 else
8623 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8624 fi
8625
8626 else
8627
8628 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8636
8637 fi;
8638
8639 eval "$ac_cv_use_fontdlg"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_FONTDLG" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8658 if test "${enable_dirdlg+set}" = set; then
8659 enableval="$enable_dirdlg"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8663 else
8664 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8665 fi
8666
8667 else
8668
8669 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8677
8678 fi;
8679
8680 eval "$ac_cv_use_dirdlg"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_DIRDLG" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8699 if test "${enable_msgdlg+set}" = set; then
8700 enableval="$enable_msgdlg"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8704 else
8705 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8706 fi
8707
8708 else
8709
8710 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8718
8719 fi;
8720
8721 eval "$ac_cv_use_msgdlg"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_MSGDLG" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735 enablestring=
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8738 no_cache=0
8739 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8740 if test "${enable_numberdlg+set}" = set; then
8741 enableval="$enable_numberdlg"
8742
8743 if test "$enableval" = yes; then
8744 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8745 else
8746 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8747 fi
8748
8749 else
8750
8751 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x ; then
8753 eval "DEFAULT_$LINE"
8754 else
8755 no_cache=1
8756 fi
8757
8758 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8759
8760 fi;
8761
8762 eval "$ac_cv_use_numberdlg"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8765 fi
8766
8767 if test "$wxUSE_NUMBERDLG" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6
8770 else
8771 echo "$as_me:$LINENO: result: no" >&5
8772 echo "${ECHO_T}no" >&6
8773 fi
8774
8775
8776 enablestring=
8777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8778 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8779 no_cache=0
8780 # Check whether --enable-splash or --disable-splash was given.
8781 if test "${enable_splash+set}" = set; then
8782 enableval="$enable_splash"
8783
8784 if test "$enableval" = yes; then
8785 ac_cv_use_splash='wxUSE_SPLASH=yes'
8786 else
8787 ac_cv_use_splash='wxUSE_SPLASH=no'
8788 fi
8789
8790 else
8791
8792 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8793 if test "x$LINE" != x ; then
8794 eval "DEFAULT_$LINE"
8795 else
8796 no_cache=1
8797 fi
8798
8799 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8800
8801 fi;
8802
8803 eval "$ac_cv_use_splash"
8804 if test "$no_cache" != 1; then
8805 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8806 fi
8807
8808 if test "$wxUSE_SPLASH" = yes; then
8809 echo "$as_me:$LINENO: result: yes" >&5
8810 echo "${ECHO_T}yes" >&6
8811 else
8812 echo "$as_me:$LINENO: result: no" >&5
8813 echo "${ECHO_T}no" >&6
8814 fi
8815
8816
8817 enablestring=
8818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8820 no_cache=0
8821 # Check whether --enable-textdlg or --disable-textdlg was given.
8822 if test "${enable_textdlg+set}" = set; then
8823 enableval="$enable_textdlg"
8824
8825 if test "$enableval" = yes; then
8826 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8827 else
8828 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8829 fi
8830
8831 else
8832
8833 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8834 if test "x$LINE" != x ; then
8835 eval "DEFAULT_$LINE"
8836 else
8837 no_cache=1
8838 fi
8839
8840 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8841
8842 fi;
8843
8844 eval "$ac_cv_use_textdlg"
8845 if test "$no_cache" != 1; then
8846 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8847 fi
8848
8849 if test "$wxUSE_TEXTDLG" = yes; then
8850 echo "$as_me:$LINENO: result: yes" >&5
8851 echo "${ECHO_T}yes" >&6
8852 else
8853 echo "$as_me:$LINENO: result: no" >&5
8854 echo "${ECHO_T}no" >&6
8855 fi
8856
8857
8858 enablestring=
8859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8861 no_cache=0
8862 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8863 if test "${enable_tipdlg+set}" = set; then
8864 enableval="$enable_tipdlg"
8865
8866 if test "$enableval" = yes; then
8867 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8868 else
8869 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8870 fi
8871
8872 else
8873
8874 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8875 if test "x$LINE" != x ; then
8876 eval "DEFAULT_$LINE"
8877 else
8878 no_cache=1
8879 fi
8880
8881 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8882
8883 fi;
8884
8885 eval "$ac_cv_use_tipdlg"
8886 if test "$no_cache" != 1; then
8887 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8888 fi
8889
8890 if test "$wxUSE_STARTUP_TIPS" = yes; then
8891 echo "$as_me:$LINENO: result: yes" >&5
8892 echo "${ECHO_T}yes" >&6
8893 else
8894 echo "$as_me:$LINENO: result: no" >&5
8895 echo "${ECHO_T}no" >&6
8896 fi
8897
8898
8899 enablestring=
8900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8901 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8902 no_cache=0
8903 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8904 if test "${enable_progressdlg+set}" = set; then
8905 enableval="$enable_progressdlg"
8906
8907 if test "$enableval" = yes; then
8908 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8909 else
8910 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8911 fi
8912
8913 else
8914
8915 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8916 if test "x$LINE" != x ; then
8917 eval "DEFAULT_$LINE"
8918 else
8919 no_cache=1
8920 fi
8921
8922 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8923
8924 fi;
8925
8926 eval "$ac_cv_use_progressdlg"
8927 if test "$no_cache" != 1; then
8928 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8929 fi
8930
8931 if test "$wxUSE_PROGRESSDLG" = yes; then
8932 echo "$as_me:$LINENO: result: yes" >&5
8933 echo "${ECHO_T}yes" >&6
8934 else
8935 echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6
8937 fi
8938
8939
8940 enablestring=
8941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8943 no_cache=0
8944 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8945 if test "${enable_wizarddlg+set}" = set; then
8946 enableval="$enable_wizarddlg"
8947
8948 if test "$enableval" = yes; then
8949 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8950 else
8951 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8952 fi
8953
8954 else
8955
8956 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8957 if test "x$LINE" != x ; then
8958 eval "DEFAULT_$LINE"
8959 else
8960 no_cache=1
8961 fi
8962
8963 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8964
8965 fi;
8966
8967 eval "$ac_cv_use_wizarddlg"
8968 if test "$no_cache" != 1; then
8969 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8970 fi
8971
8972 if test "$wxUSE_WIZARDDLG" = yes; then
8973 echo "$as_me:$LINENO: result: yes" >&5
8974 echo "${ECHO_T}yes" >&6
8975 else
8976 echo "$as_me:$LINENO: result: no" >&5
8977 echo "${ECHO_T}no" >&6
8978 fi
8979
8980
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-menus or --disable-menus was given.
8988 if test "${enable_menus+set}" = set; then
8989 enableval="$enable_menus"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_menus='wxUSE_MENUS=yes'
8993 else
8994 ac_cv_use_menus='wxUSE_MENUS=no'
8995 fi
8996
8997 else
8998
8999 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9007
9008 fi;
9009
9010 eval "$ac_cv_use_menus"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_MENUS" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-miniframe or --disable-miniframe was given.
9029 if test "${enable_miniframe+set}" = set; then
9030 enableval="$enable_miniframe"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9034 else
9035 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9036 fi
9037
9038 else
9039
9040 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9048
9049 fi;
9050
9051 eval "$ac_cv_use_miniframe"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_MINIFRAME" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-tooltips or --disable-tooltips was given.
9070 if test "${enable_tooltips+set}" = set; then
9071 enableval="$enable_tooltips"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9075 else
9076 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9077 fi
9078
9079 else
9080
9081 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9089
9090 fi;
9091
9092 eval "$ac_cv_use_tooltips"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_TOOLTIPS" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-splines or --disable-splines was given.
9111 if test "${enable_splines+set}" = set; then
9112 enableval="$enable_splines"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_splines='wxUSE_SPLINES=yes'
9116 else
9117 ac_cv_use_splines='wxUSE_SPLINES=no'
9118 fi
9119
9120 else
9121
9122 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9130
9131 fi;
9132
9133 eval "$ac_cv_use_splines"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_SPLINES" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147 enablestring=
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9150 no_cache=0
9151 # Check whether --enable-validators or --disable-validators was given.
9152 if test "${enable_validators+set}" = set; then
9153 enableval="$enable_validators"
9154
9155 if test "$enableval" = yes; then
9156 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9157 else
9158 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9159 fi
9160
9161 else
9162
9163 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9166 else
9167 no_cache=1
9168 fi
9169
9170 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9171
9172 fi;
9173
9174 eval "$ac_cv_use_validators"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test "$wxUSE_VALIDATORS" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9182 else
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9185 fi
9186
9187
9188 enablestring=
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9191 no_cache=0
9192 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9193 if test "${enable_busyinfo+set}" = set; then
9194 enableval="$enable_busyinfo"
9195
9196 if test "$enableval" = yes; then
9197 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9198 else
9199 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9200 fi
9201
9202 else
9203
9204 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9207 else
9208 no_cache=1
9209 fi
9210
9211 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9212
9213 fi;
9214
9215 eval "$ac_cv_use_busyinfo"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9218 fi
9219
9220 if test "$wxUSE_BUSYINFO" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9223 else
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9226 fi
9227
9228
9229 enablestring=
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-joystick or --disable-joystick was given.
9234 if test "${enable_joystick+set}" = set; then
9235 enableval="$enable_joystick"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9239 else
9240 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9241 fi
9242
9243 else
9244
9245 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9253
9254 fi;
9255
9256 eval "$ac_cv_use_joystick"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test "$wxUSE_JOYSTICK" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9264 else
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9267 fi
9268
9269
9270 enablestring=
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9273 no_cache=0
9274 # Check whether --enable-metafile or --disable-metafile was given.
9275 if test "${enable_metafile+set}" = set; then
9276 enableval="$enable_metafile"
9277
9278 if test "$enableval" = yes; then
9279 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9280 else
9281 ac_cv_use_metafile='wxUSE_METAFILE=no'
9282 fi
9283
9284 else
9285
9286 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 else
9290 no_cache=1
9291 fi
9292
9293 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9294
9295 fi;
9296
9297 eval "$ac_cv_use_metafile"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test "$wxUSE_METAFILE" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9305 else
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9308 fi
9309
9310
9311 enablestring=
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9314 no_cache=0
9315 # Check whether --enable-dragimage or --disable-dragimage was given.
9316 if test "${enable_dragimage+set}" = set; then
9317 enableval="$enable_dragimage"
9318
9319 if test "$enableval" = yes; then
9320 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9321 else
9322 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9323 fi
9324
9325 else
9326
9327 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9335
9336 fi;
9337
9338 eval "$ac_cv_use_dragimage"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test "$wxUSE_DRAGIMAGE" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9346 else
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9349 fi
9350
9351
9352 enablestring=
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9355 no_cache=0
9356 # Check whether --enable-accessibility or --disable-accessibility was given.
9357 if test "${enable_accessibility+set}" = set; then
9358 enableval="$enable_accessibility"
9359
9360 if test "$enableval" = yes; then
9361 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9362 else
9363 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9364 fi
9365
9366 else
9367
9368 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x ; then
9370 eval "DEFAULT_$LINE"
9371 else
9372 no_cache=1
9373 fi
9374
9375 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9376
9377 fi;
9378
9379 eval "$ac_cv_use_accessibility"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test "$wxUSE_ACCESSIBILITY" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9387 else
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9390 fi
9391
9392
9393
9394
9395 enablestring=
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9398 no_cache=0
9399 # Check whether --enable-palette or --disable-palette was given.
9400 if test "${enable_palette+set}" = set; then
9401 enableval="$enable_palette"
9402
9403 if test "$enableval" = yes; then
9404 ac_cv_use_palette='wxUSE_PALETTE=yes'
9405 else
9406 ac_cv_use_palette='wxUSE_PALETTE=no'
9407 fi
9408
9409 else
9410
9411 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9414 else
9415 no_cache=1
9416 fi
9417
9418 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9419
9420 fi;
9421
9422 eval "$ac_cv_use_palette"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9425 fi
9426
9427 if test "$wxUSE_PALETTE" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9430 else
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9433 fi
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-image or --disable-image was given.
9441 if test "${enable_image+set}" = set; then
9442 enableval="$enable_image"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_image='wxUSE_IMAGE=yes'
9446 else
9447 ac_cv_use_image='wxUSE_IMAGE=no'
9448 fi
9449
9450 else
9451
9452 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9460
9461 fi;
9462
9463 eval "$ac_cv_use_image"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_IMAGE" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477 enablestring=
9478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9480 no_cache=0
9481 # Check whether --enable-gif or --disable-gif was given.
9482 if test "${enable_gif+set}" = set; then
9483 enableval="$enable_gif"
9484
9485 if test "$enableval" = yes; then
9486 ac_cv_use_gif='wxUSE_GIF=yes'
9487 else
9488 ac_cv_use_gif='wxUSE_GIF=no'
9489 fi
9490
9491 else
9492
9493 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9494 if test "x$LINE" != x ; then
9495 eval "DEFAULT_$LINE"
9496 else
9497 no_cache=1
9498 fi
9499
9500 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9501
9502 fi;
9503
9504 eval "$ac_cv_use_gif"
9505 if test "$no_cache" != 1; then
9506 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test "$wxUSE_GIF" = yes; then
9510 echo "$as_me:$LINENO: result: yes" >&5
9511 echo "${ECHO_T}yes" >&6
9512 else
9513 echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6
9515 fi
9516
9517
9518 enablestring=
9519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9520 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9521 no_cache=0
9522 # Check whether --enable-pcx or --disable-pcx was given.
9523 if test "${enable_pcx+set}" = set; then
9524 enableval="$enable_pcx"
9525
9526 if test "$enableval" = yes; then
9527 ac_cv_use_pcx='wxUSE_PCX=yes'
9528 else
9529 ac_cv_use_pcx='wxUSE_PCX=no'
9530 fi
9531
9532 else
9533
9534 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9535 if test "x$LINE" != x ; then
9536 eval "DEFAULT_$LINE"
9537 else
9538 no_cache=1
9539 fi
9540
9541 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9542
9543 fi;
9544
9545 eval "$ac_cv_use_pcx"
9546 if test "$no_cache" != 1; then
9547 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9548 fi
9549
9550 if test "$wxUSE_PCX" = yes; then
9551 echo "$as_me:$LINENO: result: yes" >&5
9552 echo "${ECHO_T}yes" >&6
9553 else
9554 echo "$as_me:$LINENO: result: no" >&5
9555 echo "${ECHO_T}no" >&6
9556 fi
9557
9558
9559 enablestring=
9560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9561 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9562 no_cache=0
9563 # Check whether --enable-iff or --disable-iff was given.
9564 if test "${enable_iff+set}" = set; then
9565 enableval="$enable_iff"
9566
9567 if test "$enableval" = yes; then
9568 ac_cv_use_iff='wxUSE_IFF=yes'
9569 else
9570 ac_cv_use_iff='wxUSE_IFF=no'
9571 fi
9572
9573 else
9574
9575 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9576 if test "x$LINE" != x ; then
9577 eval "DEFAULT_$LINE"
9578 else
9579 no_cache=1
9580 fi
9581
9582 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9583
9584 fi;
9585
9586 eval "$ac_cv_use_iff"
9587 if test "$no_cache" != 1; then
9588 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test "$wxUSE_IFF" = yes; then
9592 echo "$as_me:$LINENO: result: yes" >&5
9593 echo "${ECHO_T}yes" >&6
9594 else
9595 echo "$as_me:$LINENO: result: no" >&5
9596 echo "${ECHO_T}no" >&6
9597 fi
9598
9599
9600 enablestring=
9601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9602 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9603 no_cache=0
9604 # Check whether --enable-pnm or --disable-pnm was given.
9605 if test "${enable_pnm+set}" = set; then
9606 enableval="$enable_pnm"
9607
9608 if test "$enableval" = yes; then
9609 ac_cv_use_pnm='wxUSE_PNM=yes'
9610 else
9611 ac_cv_use_pnm='wxUSE_PNM=no'
9612 fi
9613
9614 else
9615
9616 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9617 if test "x$LINE" != x ; then
9618 eval "DEFAULT_$LINE"
9619 else
9620 no_cache=1
9621 fi
9622
9623 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9624
9625 fi;
9626
9627 eval "$ac_cv_use_pnm"
9628 if test "$no_cache" != 1; then
9629 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9630 fi
9631
9632 if test "$wxUSE_PNM" = yes; then
9633 echo "$as_me:$LINENO: result: yes" >&5
9634 echo "${ECHO_T}yes" >&6
9635 else
9636 echo "$as_me:$LINENO: result: no" >&5
9637 echo "${ECHO_T}no" >&6
9638 fi
9639
9640
9641 enablestring=
9642 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9643 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9644 no_cache=0
9645 # Check whether --enable-xpm or --disable-xpm was given.
9646 if test "${enable_xpm+set}" = set; then
9647 enableval="$enable_xpm"
9648
9649 if test "$enableval" = yes; then
9650 ac_cv_use_xpm='wxUSE_XPM=yes'
9651 else
9652 ac_cv_use_xpm='wxUSE_XPM=no'
9653 fi
9654
9655 else
9656
9657 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x ; then
9659 eval "DEFAULT_$LINE"
9660 else
9661 no_cache=1
9662 fi
9663
9664 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9665
9666 fi;
9667
9668 eval "$ac_cv_use_xpm"
9669 if test "$no_cache" != 1; then
9670 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9671 fi
9672
9673 if test "$wxUSE_XPM" = yes; then
9674 echo "$as_me:$LINENO: result: yes" >&5
9675 echo "${ECHO_T}yes" >&6
9676 else
9677 echo "$as_me:$LINENO: result: no" >&5
9678 echo "${ECHO_T}no" >&6
9679 fi
9680
9681
9682 enablestring=
9683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9684 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9685 no_cache=0
9686 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9687 if test "${enable_ico_cur+set}" = set; then
9688 enableval="$enable_ico_cur"
9689
9690 if test "$enableval" = yes; then
9691 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9692 else
9693 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9694 fi
9695
9696 else
9697
9698 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9699 if test "x$LINE" != x ; then
9700 eval "DEFAULT_$LINE"
9701 else
9702 no_cache=1
9703 fi
9704
9705 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9706
9707 fi;
9708
9709 eval "$ac_cv_use_ico_cur"
9710 if test "$no_cache" != 1; then
9711 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9712 fi
9713
9714 if test "$wxUSE_ICO_CUR" = yes; then
9715 echo "$as_me:$LINENO: result: yes" >&5
9716 echo "${ECHO_T}yes" >&6
9717 else
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9720 fi
9721
9722
9723 fi
9724
9725
9726
9727 enablestring=
9728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9730 no_cache=0
9731 # Check whether --enable-official_build or --disable-official_build was given.
9732 if test "${enable_official_build+set}" = set; then
9733 enableval="$enable_official_build"
9734
9735 if test "$enableval" = yes; then
9736 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9737 else
9738 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9739 fi
9740
9741 else
9742
9743 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9744 if test "x$LINE" != x ; then
9745 eval "DEFAULT_$LINE"
9746 else
9747 no_cache=1
9748 fi
9749
9750 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9751
9752 fi;
9753
9754 eval "$ac_cv_use_official_build"
9755 if test "$no_cache" != 1; then
9756 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9757 fi
9758
9759 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9760 echo "$as_me:$LINENO: result: yes" >&5
9761 echo "${ECHO_T}yes" >&6
9762 else
9763 echo "$as_me:$LINENO: result: no" >&5
9764 echo "${ECHO_T}no" >&6
9765 fi
9766
9767 # Check whether --enable-vendor or --disable-vendor was given.
9768 if test "${enable_vendor+set}" = set; then
9769 enableval="$enable_vendor"
9770 VENDOR="$enableval"
9771 fi;
9772 if test "x$VENDOR" = "x"; then
9773 VENDOR="custom"
9774 fi
9775
9776 case "${host}" in
9777 *-pc-os2_emx | *-pc-os2-emx )
9778 PATH_IFS=';'
9779 ;;
9780 *)
9781 PATH_IFS=':'
9782 ;;
9783 esac
9784
9785
9786
9787 echo "saving argument cache $wx_arg_cache_file"
9788 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9789
9790
9791
9792 echo "$as_me:$LINENO: checking for toolkit" >&5
9793 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9794
9795 # In Wine, we need to default to MSW, not GTK or MOTIF
9796 if test "$wxUSE_WINE" = "yes"; then
9797 DEFAULT_DEFAULT_wxUSE_GTK=0
9798 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9799 DEFAULT_DEFAULT_wxUSE_MSW=1
9800 wxUSE_SHARED=no
9801 fi
9802
9803 if test "$wxUSE_GUI" = "yes"; then
9804
9805 if test "$USE_BEOS" = 1; then
9806 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9807 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9808 { (exit 1); exit 1; }; }
9809 fi
9810
9811 if test "$TOOLKIT_GIVEN" = 1; then
9812 for toolkit in `echo $ALL_TOOLKITS`; do
9813 var=wxUSE_$toolkit
9814 eval "value=\$${var}"
9815 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9816 done
9817 else
9818 for toolkit in `echo $ALL_TOOLKITS`; do
9819 if test "$has_toolkit_in_cache" != 1; then
9820 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9821 else
9822 var=DEFAULT_wxUSE_$toolkit
9823 fi
9824 eval "wxUSE_$toolkit=\$${var}"
9825 done
9826 fi
9827
9828 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9829 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9830 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9831
9832 case "${host}" in
9833 *-pc-os2_emx | *-pc-os2-emx )
9834 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9835 esac
9836
9837 case "$NUM_TOOLKITS" in
9838 1)
9839 ;;
9840 0)
9841 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9842 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9843 { (exit 1); exit 1; }; }
9844 ;;
9845 *)
9846 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9847 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9848 { (exit 1); exit 1; }; }
9849 esac
9850
9851 for toolkit in `echo $ALL_TOOLKITS`; do
9852 var=wxUSE_$toolkit
9853 eval "value=\$${var}"
9854 if test "x$value" != x; then
9855 cache_var=CACHE_$toolkit
9856 eval "cache=\$${cache_var}"
9857 if test "$cache" = 1; then
9858 echo "$var=$value" >> ${wx_arg_cache_file}
9859 fi
9860 if test "$value" = 1; then
9861 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9862 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9863 echo "${ECHO_T}$toolkit_echo" >&6
9864 fi
9865 fi
9866 done
9867 else
9868 if test "x$host_alias" != "x"; then
9869 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9870 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9871 else
9872 echo "$as_me:$LINENO: result: base only" >&5
9873 echo "${ECHO_T}base only" >&6
9874 fi
9875 fi
9876
9877 wants_win32=0
9878 doesnt_want_win32=0
9879 case "${host}" in
9880 *-*-cygwin*)
9881 if test "$wxUSE_MSW" = 1 ; then
9882 wants_win32=1
9883 else
9884 doesnt_want_win32=1
9885 fi
9886 ;;
9887 *-*-mingw*)
9888 wants_win32=1
9889 ;;
9890 esac
9891
9892 if test "$wxUSE_WINE" = "yes"; then
9893 wants_win32=1
9894 CC=winegcc
9895 CXX=wineg++
9896 RESCOMP=wrc
9897 LDFLAGS_GUI="-mwindows"
9898 fi
9899
9900 if test "$wants_win32" = 1 ; then
9901 USE_UNIX=0
9902 USE_WIN32=1
9903 cat >>confdefs.h <<\_ACEOF
9904 #define __WIN32__ 1
9905 _ACEOF
9906
9907 cat >>confdefs.h <<\_ACEOF
9908 #define __WIN95__ 1
9909 _ACEOF
9910
9911 cat >>confdefs.h <<\_ACEOF
9912 #define __WINDOWS__ 1
9913 _ACEOF
9914
9915 cat >>confdefs.h <<\_ACEOF
9916 #define __GNUWIN32__ 1
9917 _ACEOF
9918
9919 cat >>confdefs.h <<\_ACEOF
9920 #define STRICT 1
9921 _ACEOF
9922
9923 cat >>confdefs.h <<\_ACEOF
9924 #define WINVER 0x0400
9925 _ACEOF
9926
9927 fi
9928 if test "$doesnt_want_win32" = 1 ; then
9929 USE_UNIX=1
9930 USE_WIN32=0
9931 fi
9932
9933 if test "$USE_UNIX" = 1 ; then
9934 wxUSE_UNIX=yes
9935 cat >>confdefs.h <<\_ACEOF
9936 #define __UNIX__ 1
9937 _ACEOF
9938
9939 fi
9940
9941
9942 cat >confcache <<\_ACEOF
9943 # This file is a shell script that caches the results of configure
9944 # tests run on this system so they can be shared between configure
9945 # scripts and configure runs, see configure's option --config-cache.
9946 # It is not useful on other systems. If it contains results you don't
9947 # want to keep, you may remove or edit it.
9948 #
9949 # config.status only pays attention to the cache file if you give it
9950 # the --recheck option to rerun configure.
9951 #
9952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9954 # following values.
9955
9956 _ACEOF
9957
9958 # The following way of writing the cache mishandles newlines in values,
9959 # but we know of no workaround that is simple, portable, and efficient.
9960 # So, don't put newlines in cache variables' values.
9961 # Ultrix sh set writes to stderr and can't be redirected directly,
9962 # and sets the high bit in the cache file unless we assign to the vars.
9963 {
9964 (set) 2>&1 |
9965 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9966 *ac_space=\ *)
9967 # `set' does not quote correctly, so add quotes (double-quote
9968 # substitution turns \\\\ into \\, and sed turns \\ into \).
9969 sed -n \
9970 "s/'/'\\\\''/g;
9971 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9972 ;;
9973 *)
9974 # `set' quotes correctly as required by POSIX, so do not add quotes.
9975 sed -n \
9976 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9977 ;;
9978 esac;
9979 } |
9980 sed '
9981 t clear
9982 : clear
9983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9984 t end
9985 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9986 : end' >>confcache
9987 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9988 if test -w $cache_file; then
9989 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9990 cat confcache >$cache_file
9991 else
9992 echo "not updating unwritable cache $cache_file"
9993 fi
9994 fi
9995 rm -f confcache
9996
9997 if test "$build" != "$host" ; then
9998 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9999 CC=$host_alias-gcc
10000 CXX=$host_alias-c++
10001 AR=$host_alias-ar
10002 RANLIB=$host_alias-ranlib
10003 DLLTOOL=$host_alias-dlltool
10004 RESCOMP=$host_alias-windres
10005 LD=$host_alias-ld
10006 NM=$host_alias-nm
10007 STRIP=$host_alias-strip
10008 else
10009 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10010 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10011 { (exit 1); exit 1; }; }
10012 fi
10013 fi
10014
10015 CFLAGS=${CFLAGS:=}
10016 ac_ext=c
10017 ac_cpp='$CPP $CPPFLAGS'
10018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10021 if test -n "$ac_tool_prefix"; then
10022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10023 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10024 echo "$as_me:$LINENO: checking for $ac_word" >&5
10025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10026 if test "${ac_cv_prog_CC+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10028 else
10029 if test -n "$CC"; then
10030 ac_cv_prog_CC="$CC" # Let the user override the test.
10031 else
10032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10033 for as_dir in $PATH
10034 do
10035 IFS=$as_save_IFS
10036 test -z "$as_dir" && as_dir=.
10037 for ac_exec_ext in '' $ac_executable_extensions; do
10038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10039 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10041 break 2
10042 fi
10043 done
10044 done
10045
10046 fi
10047 fi
10048 CC=$ac_cv_prog_CC
10049 if test -n "$CC"; then
10050 echo "$as_me:$LINENO: result: $CC" >&5
10051 echo "${ECHO_T}$CC" >&6
10052 else
10053 echo "$as_me:$LINENO: result: no" >&5
10054 echo "${ECHO_T}no" >&6
10055 fi
10056
10057 fi
10058 if test -z "$ac_cv_prog_CC"; then
10059 ac_ct_CC=$CC
10060 # Extract the first word of "gcc", so it can be a program name with args.
10061 set dummy gcc; ac_word=$2
10062 echo "$as_me:$LINENO: checking for $ac_word" >&5
10063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 else
10067 if test -n "$ac_ct_CC"; then
10068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10069 else
10070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10071 for as_dir in $PATH
10072 do
10073 IFS=$as_save_IFS
10074 test -z "$as_dir" && as_dir=.
10075 for ac_exec_ext in '' $ac_executable_extensions; do
10076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10077 ac_cv_prog_ac_ct_CC="gcc"
10078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10079 break 2
10080 fi
10081 done
10082 done
10083
10084 fi
10085 fi
10086 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10087 if test -n "$ac_ct_CC"; then
10088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10089 echo "${ECHO_T}$ac_ct_CC" >&6
10090 else
10091 echo "$as_me:$LINENO: result: no" >&5
10092 echo "${ECHO_T}no" >&6
10093 fi
10094
10095 CC=$ac_ct_CC
10096 else
10097 CC="$ac_cv_prog_CC"
10098 fi
10099
10100 if test -z "$CC"; then
10101 if test -n "$ac_tool_prefix"; then
10102 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10103 set dummy ${ac_tool_prefix}cc; ac_word=$2
10104 echo "$as_me:$LINENO: checking for $ac_word" >&5
10105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10106 if test "${ac_cv_prog_CC+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109 if test -n "$CC"; then
10110 ac_cv_prog_CC="$CC" # Let the user override the test.
10111 else
10112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10113 for as_dir in $PATH
10114 do
10115 IFS=$as_save_IFS
10116 test -z "$as_dir" && as_dir=.
10117 for ac_exec_ext in '' $ac_executable_extensions; do
10118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10119 ac_cv_prog_CC="${ac_tool_prefix}cc"
10120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 break 2
10122 fi
10123 done
10124 done
10125
10126 fi
10127 fi
10128 CC=$ac_cv_prog_CC
10129 if test -n "$CC"; then
10130 echo "$as_me:$LINENO: result: $CC" >&5
10131 echo "${ECHO_T}$CC" >&6
10132 else
10133 echo "$as_me:$LINENO: result: no" >&5
10134 echo "${ECHO_T}no" >&6
10135 fi
10136
10137 fi
10138 if test -z "$ac_cv_prog_CC"; then
10139 ac_ct_CC=$CC
10140 # Extract the first word of "cc", so it can be a program name with args.
10141 set dummy cc; ac_word=$2
10142 echo "$as_me:$LINENO: checking for $ac_word" >&5
10143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10144 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 else
10147 if test -n "$ac_ct_CC"; then
10148 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10149 else
10150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10151 for as_dir in $PATH
10152 do
10153 IFS=$as_save_IFS
10154 test -z "$as_dir" && as_dir=.
10155 for ac_exec_ext in '' $ac_executable_extensions; do
10156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10157 ac_cv_prog_ac_ct_CC="cc"
10158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 break 2
10160 fi
10161 done
10162 done
10163
10164 fi
10165 fi
10166 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10167 if test -n "$ac_ct_CC"; then
10168 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10169 echo "${ECHO_T}$ac_ct_CC" >&6
10170 else
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10173 fi
10174
10175 CC=$ac_ct_CC
10176 else
10177 CC="$ac_cv_prog_CC"
10178 fi
10179
10180 fi
10181 if test -z "$CC"; then
10182 # Extract the first word of "cc", so it can be a program name with args.
10183 set dummy cc; ac_word=$2
10184 echo "$as_me:$LINENO: checking for $ac_word" >&5
10185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10186 if test "${ac_cv_prog_CC+set}" = set; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 else
10189 if test -n "$CC"; then
10190 ac_cv_prog_CC="$CC" # Let the user override the test.
10191 else
10192 ac_prog_rejected=no
10193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10194 for as_dir in $PATH
10195 do
10196 IFS=$as_save_IFS
10197 test -z "$as_dir" && as_dir=.
10198 for ac_exec_ext in '' $ac_executable_extensions; do
10199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10201 ac_prog_rejected=yes
10202 continue
10203 fi
10204 ac_cv_prog_CC="cc"
10205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10206 break 2
10207 fi
10208 done
10209 done
10210
10211 if test $ac_prog_rejected = yes; then
10212 # We found a bogon in the path, so make sure we never use it.
10213 set dummy $ac_cv_prog_CC
10214 shift
10215 if test $# != 0; then
10216 # We chose a different compiler from the bogus one.
10217 # However, it has the same basename, so the bogon will be chosen
10218 # first if we set CC to just the basename; use the full file name.
10219 shift
10220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10221 fi
10222 fi
10223 fi
10224 fi
10225 CC=$ac_cv_prog_CC
10226 if test -n "$CC"; then
10227 echo "$as_me:$LINENO: result: $CC" >&5
10228 echo "${ECHO_T}$CC" >&6
10229 else
10230 echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6
10232 fi
10233
10234 fi
10235 if test -z "$CC"; then
10236 if test -n "$ac_tool_prefix"; then
10237 for ac_prog in cl
10238 do
10239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10241 echo "$as_me:$LINENO: checking for $ac_word" >&5
10242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10243 if test "${ac_cv_prog_CC+set}" = set; then
10244 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 else
10246 if test -n "$CC"; then
10247 ac_cv_prog_CC="$CC" # Let the user override the test.
10248 else
10249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10250 for as_dir in $PATH
10251 do
10252 IFS=$as_save_IFS
10253 test -z "$as_dir" && as_dir=.
10254 for ac_exec_ext in '' $ac_executable_extensions; do
10255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10256 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10258 break 2
10259 fi
10260 done
10261 done
10262
10263 fi
10264 fi
10265 CC=$ac_cv_prog_CC
10266 if test -n "$CC"; then
10267 echo "$as_me:$LINENO: result: $CC" >&5
10268 echo "${ECHO_T}$CC" >&6
10269 else
10270 echo "$as_me:$LINENO: result: no" >&5
10271 echo "${ECHO_T}no" >&6
10272 fi
10273
10274 test -n "$CC" && break
10275 done
10276 fi
10277 if test -z "$CC"; then
10278 ac_ct_CC=$CC
10279 for ac_prog in cl
10280 do
10281 # Extract the first word of "$ac_prog", so it can be a program name with args.
10282 set dummy $ac_prog; ac_word=$2
10283 echo "$as_me:$LINENO: checking for $ac_word" >&5
10284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10285 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10287 else
10288 if test -n "$ac_ct_CC"; then
10289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10290 else
10291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10292 for as_dir in $PATH
10293 do
10294 IFS=$as_save_IFS
10295 test -z "$as_dir" && as_dir=.
10296 for ac_exec_ext in '' $ac_executable_extensions; do
10297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10298 ac_cv_prog_ac_ct_CC="$ac_prog"
10299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10300 break 2
10301 fi
10302 done
10303 done
10304
10305 fi
10306 fi
10307 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10308 if test -n "$ac_ct_CC"; then
10309 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10310 echo "${ECHO_T}$ac_ct_CC" >&6
10311 else
10312 echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6
10314 fi
10315
10316 test -n "$ac_ct_CC" && break
10317 done
10318
10319 CC=$ac_ct_CC
10320 fi
10321
10322 fi
10323
10324
10325 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10326 See \`config.log' for more details." >&5
10327 echo "$as_me: error: no acceptable C compiler found in \$PATH
10328 See \`config.log' for more details." >&2;}
10329 { (exit 1); exit 1; }; }
10330
10331 # Provide some information about the compiler.
10332 echo "$as_me:$LINENO:" \
10333 "checking for C compiler version" >&5
10334 ac_compiler=`set X $ac_compile; echo $2`
10335 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10336 (eval $ac_compiler --version </dev/null >&5) 2>&5
10337 ac_status=$?
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }
10340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10341 (eval $ac_compiler -v </dev/null >&5) 2>&5
10342 ac_status=$?
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }
10345 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10346 (eval $ac_compiler -V </dev/null >&5) 2>&5
10347 ac_status=$?
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }
10350
10351 cat >conftest.$ac_ext <<_ACEOF
10352 #line $LINENO "configure"
10353 /* confdefs.h. */
10354 _ACEOF
10355 cat confdefs.h >>conftest.$ac_ext
10356 cat >>conftest.$ac_ext <<_ACEOF
10357 /* end confdefs.h. */
10358
10359 int
10360 main ()
10361 {
10362
10363 ;
10364 return 0;
10365 }
10366 _ACEOF
10367 ac_clean_files_save=$ac_clean_files
10368 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10369 # Try to create an executable without -o first, disregard a.out.
10370 # It will help us diagnose broken compilers, and finding out an intuition
10371 # of exeext.
10372 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10373 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10374 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10375 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10376 (eval $ac_link_default) 2>&5
10377 ac_status=$?
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; then
10380 # Find the output, starting from the most likely. This scheme is
10381 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10382 # resort.
10383
10384 # Be careful to initialize this variable, since it used to be cached.
10385 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10386 ac_cv_exeext=
10387 # b.out is created by i960 compilers.
10388 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10389 do
10390 test -f "$ac_file" || continue
10391 case $ac_file in
10392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10393 ;;
10394 conftest.$ac_ext )
10395 # This is the source file.
10396 ;;
10397 [ab].out )
10398 # We found the default executable, but exeext='' is most
10399 # certainly right.
10400 break;;
10401 *.* )
10402 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10403 # FIXME: I believe we export ac_cv_exeext for Libtool,
10404 # but it would be cool to find out if it's true. Does anybody
10405 # maintain Libtool? --akim.
10406 export ac_cv_exeext
10407 break;;
10408 * )
10409 break;;
10410 esac
10411 done
10412 else
10413 echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10415
10416 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10417 See \`config.log' for more details." >&5
10418 echo "$as_me: error: C compiler cannot create executables
10419 See \`config.log' for more details." >&2;}
10420 { (exit 77); exit 77; }; }
10421 fi
10422
10423 ac_exeext=$ac_cv_exeext
10424 echo "$as_me:$LINENO: result: $ac_file" >&5
10425 echo "${ECHO_T}$ac_file" >&6
10426
10427 # Check the compiler produces executables we can run. If not, either
10428 # the compiler is broken, or we cross compile.
10429 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10430 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10431 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10432 # If not cross compiling, check that we can run a simple program.
10433 if test "$cross_compiling" != yes; then
10434 if { ac_try='./$ac_file'
10435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10436 (eval $ac_try) 2>&5
10437 ac_status=$?
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); }; }; then
10440 cross_compiling=no
10441 else
10442 if test "$cross_compiling" = maybe; then
10443 cross_compiling=yes
10444 else
10445 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10446 If you meant to cross compile, use \`--host'.
10447 See \`config.log' for more details." >&5
10448 echo "$as_me: error: cannot run C compiled programs.
10449 If you meant to cross compile, use \`--host'.
10450 See \`config.log' for more details." >&2;}
10451 { (exit 1); exit 1; }; }
10452 fi
10453 fi
10454 fi
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10457
10458 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10459 ac_clean_files=$ac_clean_files_save
10460 # Check the compiler produces executables we can run. If not, either
10461 # the compiler is broken, or we cross compile.
10462 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10463 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10464 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10465 echo "${ECHO_T}$cross_compiling" >&6
10466
10467 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10468 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10470 (eval $ac_link) 2>&5
10471 ac_status=$?
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; then
10474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10476 # work properly (i.e., refer to `conftest.exe'), while it won't with
10477 # `rm'.
10478 for ac_file in conftest.exe conftest conftest.*; do
10479 test -f "$ac_file" || continue
10480 case $ac_file in
10481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10483 export ac_cv_exeext
10484 break;;
10485 * ) break;;
10486 esac
10487 done
10488 else
10489 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10490 See \`config.log' for more details." >&5
10491 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10492 See \`config.log' for more details." >&2;}
10493 { (exit 1); exit 1; }; }
10494 fi
10495
10496 rm -f conftest$ac_cv_exeext
10497 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10498 echo "${ECHO_T}$ac_cv_exeext" >&6
10499
10500 rm -f conftest.$ac_ext
10501 EXEEXT=$ac_cv_exeext
10502 ac_exeext=$EXEEXT
10503 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10504 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10505 if test "${ac_cv_objext+set}" = set; then
10506 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 else
10508 cat >conftest.$ac_ext <<_ACEOF
10509 #line $LINENO "configure"
10510 /* confdefs.h. */
10511 _ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10515
10516 int
10517 main ()
10518 {
10519
10520 ;
10521 return 0;
10522 }
10523 _ACEOF
10524 rm -f conftest.o conftest.obj
10525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10526 (eval $ac_compile) 2>&5
10527 ac_status=$?
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; then
10530 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10531 case $ac_file in
10532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10533 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10534 break;;
10535 esac
10536 done
10537 else
10538 echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.$ac_ext >&5
10540
10541 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10542 See \`config.log' for more details." >&5
10543 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10544 See \`config.log' for more details." >&2;}
10545 { (exit 1); exit 1; }; }
10546 fi
10547
10548 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10549 fi
10550 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10551 echo "${ECHO_T}$ac_cv_objext" >&6
10552 OBJEXT=$ac_cv_objext
10553 ac_objext=$OBJEXT
10554 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10555 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10556 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10557 echo $ECHO_N "(cached) $ECHO_C" >&6
10558 else
10559 cat >conftest.$ac_ext <<_ACEOF
10560 #line $LINENO "configure"
10561 /* confdefs.h. */
10562 _ACEOF
10563 cat confdefs.h >>conftest.$ac_ext
10564 cat >>conftest.$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566
10567 int
10568 main ()
10569 {
10570 #ifndef __GNUC__
10571 choke me
10572 #endif
10573
10574 ;
10575 return 0;
10576 }
10577 _ACEOF
10578 rm -f conftest.$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580 (eval $ac_compile) 2>&5
10581 ac_status=$?
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } &&
10584 { ac_try='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10587 ac_status=$?
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 ac_compiler_gnu=yes
10591 else
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.$ac_ext >&5
10594
10595 ac_compiler_gnu=no
10596 fi
10597 rm -f conftest.$ac_objext conftest.$ac_ext
10598 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10599
10600 fi
10601 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10602 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10603 GCC=`test $ac_compiler_gnu = yes && echo yes`
10604 ac_test_CFLAGS=${CFLAGS+set}
10605 ac_save_CFLAGS=$CFLAGS
10606 CFLAGS="-g"
10607 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10608 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10609 if test "${ac_cv_prog_cc_g+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 else
10612 cat >conftest.$ac_ext <<_ACEOF
10613 #line $LINENO "configure"
10614 /* confdefs.h. */
10615 _ACEOF
10616 cat confdefs.h >>conftest.$ac_ext
10617 cat >>conftest.$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10619
10620 int
10621 main ()
10622 {
10623
10624 ;
10625 return 0;
10626 }
10627 _ACEOF
10628 rm -f conftest.$ac_objext
10629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10630 (eval $ac_compile) 2>&5
10631 ac_status=$?
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); } &&
10634 { ac_try='test -s conftest.$ac_objext'
10635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10636 (eval $ac_try) 2>&5
10637 ac_status=$?
10638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639 (exit $ac_status); }; }; then
10640 ac_cv_prog_cc_g=yes
10641 else
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.$ac_ext >&5
10644
10645 ac_cv_prog_cc_g=no
10646 fi
10647 rm -f conftest.$ac_objext conftest.$ac_ext
10648 fi
10649 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10650 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10651 if test "$ac_test_CFLAGS" = set; then
10652 CFLAGS=$ac_save_CFLAGS
10653 elif test $ac_cv_prog_cc_g = yes; then
10654 if test "$GCC" = yes; then
10655 CFLAGS="-g -O2"
10656 else
10657 CFLAGS="-g"
10658 fi
10659 else
10660 if test "$GCC" = yes; then
10661 CFLAGS="-O2"
10662 else
10663 CFLAGS=
10664 fi
10665 fi
10666 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10667 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10668 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 else
10671 ac_cv_prog_cc_stdc=no
10672 ac_save_CC=$CC
10673 cat >conftest.$ac_ext <<_ACEOF
10674 #line $LINENO "configure"
10675 /* confdefs.h. */
10676 _ACEOF
10677 cat confdefs.h >>conftest.$ac_ext
10678 cat >>conftest.$ac_ext <<_ACEOF
10679 /* end confdefs.h. */
10680 #include <stdarg.h>
10681 #include <stdio.h>
10682 #include <sys/types.h>
10683 #include <sys/stat.h>
10684 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10685 struct buf { int x; };
10686 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10687 static char *e (p, i)
10688 char **p;
10689 int i;
10690 {
10691 return p[i];
10692 }
10693 static char *f (char * (*g) (char **, int), char **p, ...)
10694 {
10695 char *s;
10696 va_list v;
10697 va_start (v,p);
10698 s = g (p, va_arg (v,int));
10699 va_end (v);
10700 return s;
10701 }
10702 int test (int i, double x);
10703 struct s1 {int (*f) (int a);};
10704 struct s2 {int (*f) (double a);};
10705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10706 int argc;
10707 char **argv;
10708 int
10709 main ()
10710 {
10711 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10712 ;
10713 return 0;
10714 }
10715 _ACEOF
10716 # Don't try gcc -ansi; that turns off useful extensions and
10717 # breaks some systems' header files.
10718 # AIX -qlanglvl=ansi
10719 # Ultrix and OSF/1 -std1
10720 # HP-UX 10.20 and later -Ae
10721 # HP-UX older versions -Aa -D_HPUX_SOURCE
10722 # SVR4 -Xc -D__EXTENSIONS__
10723 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10724 do
10725 CC="$ac_save_CC $ac_arg"
10726 rm -f conftest.$ac_objext
10727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10728 (eval $ac_compile) 2>&5
10729 ac_status=$?
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } &&
10732 { ac_try='test -s conftest.$ac_objext'
10733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10734 (eval $ac_try) 2>&5
10735 ac_status=$?
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10738 ac_cv_prog_cc_stdc=$ac_arg
10739 break
10740 else
10741 echo "$as_me: failed program was:" >&5
10742 sed 's/^/| /' conftest.$ac_ext >&5
10743
10744 fi
10745 rm -f conftest.$ac_objext
10746 done
10747 rm -f conftest.$ac_ext conftest.$ac_objext
10748 CC=$ac_save_CC
10749
10750 fi
10751
10752 case "x$ac_cv_prog_cc_stdc" in
10753 x|xno)
10754 echo "$as_me:$LINENO: result: none needed" >&5
10755 echo "${ECHO_T}none needed" >&6 ;;
10756 *)
10757 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10758 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10759 CC="$CC $ac_cv_prog_cc_stdc" ;;
10760 esac
10761
10762 # Some people use a C++ compiler to compile C. Since we use `exit',
10763 # in C++ we need to declare it. In case someone uses the same compiler
10764 # for both compiling C and C++ we need to have the C++ compiler decide
10765 # the declaration of exit, since it's the most demanding environment.
10766 cat >conftest.$ac_ext <<_ACEOF
10767 #ifndef __cplusplus
10768 choke me
10769 #endif
10770 _ACEOF
10771 rm -f conftest.$ac_objext
10772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10773 (eval $ac_compile) 2>&5
10774 ac_status=$?
10775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10776 (exit $ac_status); } &&
10777 { ac_try='test -s conftest.$ac_objext'
10778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10779 (eval $ac_try) 2>&5
10780 ac_status=$?
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 (exit $ac_status); }; }; then
10783 for ac_declaration in \
10784 '' \
10785 'extern "C" void std::exit (int) throw (); using std::exit;' \
10786 'extern "C" void std::exit (int); using std::exit;' \
10787 'extern "C" void exit (int) throw ();' \
10788 'extern "C" void exit (int);' \
10789 'void exit (int);'
10790 do
10791 cat >conftest.$ac_ext <<_ACEOF
10792 #line $LINENO "configure"
10793 /* confdefs.h. */
10794 _ACEOF
10795 cat confdefs.h >>conftest.$ac_ext
10796 cat >>conftest.$ac_ext <<_ACEOF
10797 /* end confdefs.h. */
10798 $ac_declaration
10799 #include <stdlib.h>
10800 int
10801 main ()
10802 {
10803 exit (42);
10804 ;
10805 return 0;
10806 }
10807 _ACEOF
10808 rm -f conftest.$ac_objext
10809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10810 (eval $ac_compile) 2>&5
10811 ac_status=$?
10812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10813 (exit $ac_status); } &&
10814 { ac_try='test -s conftest.$ac_objext'
10815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10816 (eval $ac_try) 2>&5
10817 ac_status=$?
10818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819 (exit $ac_status); }; }; then
10820 :
10821 else
10822 echo "$as_me: failed program was:" >&5
10823 sed 's/^/| /' conftest.$ac_ext >&5
10824
10825 continue
10826 fi
10827 rm -f conftest.$ac_objext conftest.$ac_ext
10828 cat >conftest.$ac_ext <<_ACEOF
10829 #line $LINENO "configure"
10830 /* confdefs.h. */
10831 _ACEOF
10832 cat confdefs.h >>conftest.$ac_ext
10833 cat >>conftest.$ac_ext <<_ACEOF
10834 /* end confdefs.h. */
10835 $ac_declaration
10836 int
10837 main ()
10838 {
10839 exit (42);
10840 ;
10841 return 0;
10842 }
10843 _ACEOF
10844 rm -f conftest.$ac_objext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10846 (eval $ac_compile) 2>&5
10847 ac_status=$?
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); } &&
10850 { ac_try='test -s conftest.$ac_objext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10853 ac_status=$?
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10856 break
10857 else
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.$ac_ext >&5
10860
10861 fi
10862 rm -f conftest.$ac_objext conftest.$ac_ext
10863 done
10864 rm -f conftest*
10865 if test -n "$ac_declaration"; then
10866 echo '#ifdef __cplusplus' >>confdefs.h
10867 echo $ac_declaration >>confdefs.h
10868 echo '#endif' >>confdefs.h
10869 fi
10870
10871 else
10872 echo "$as_me: failed program was:" >&5
10873 sed 's/^/| /' conftest.$ac_ext >&5
10874
10875 fi
10876 rm -f conftest.$ac_objext conftest.$ac_ext
10877 ac_ext=c
10878 ac_cpp='$CPP $CPPFLAGS'
10879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10882
10883
10884
10885 ac_ext=c
10886 ac_cpp='$CPP $CPPFLAGS'
10887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10890 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10891 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10892 # On Suns, sometimes $CPP names a directory.
10893 if test -n "$CPP" && test -d "$CPP"; then
10894 CPP=
10895 fi
10896 if test -z "$CPP"; then
10897 if test "${ac_cv_prog_CPP+set}" = set; then
10898 echo $ECHO_N "(cached) $ECHO_C" >&6
10899 else
10900 # Double quotes because CPP needs to be expanded
10901 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10902 do
10903 ac_preproc_ok=false
10904 for ac_c_preproc_warn_flag in '' yes
10905 do
10906 # Use a header file that comes with gcc, so configuring glibc
10907 # with a fresh cross-compiler works.
10908 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10909 # <limits.h> exists even on freestanding compilers.
10910 # On the NeXT, cc -E runs the code through the compiler's parser,
10911 # not just through cpp. "Syntax error" is here to catch this case.
10912 cat >conftest.$ac_ext <<_ACEOF
10913 #line $LINENO "configure"
10914 /* confdefs.h. */
10915 _ACEOF
10916 cat confdefs.h >>conftest.$ac_ext
10917 cat >>conftest.$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10919 #ifdef __STDC__
10920 # include <limits.h>
10921 #else
10922 # include <assert.h>
10923 #endif
10924 Syntax error
10925 _ACEOF
10926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10928 ac_status=$?
10929 grep -v '^ *+' conftest.er1 >conftest.err
10930 rm -f conftest.er1
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } >/dev/null; then
10934 if test -s conftest.err; then
10935 ac_cpp_err=$ac_c_preproc_warn_flag
10936 else
10937 ac_cpp_err=
10938 fi
10939 else
10940 ac_cpp_err=yes
10941 fi
10942 if test -z "$ac_cpp_err"; then
10943 :
10944 else
10945 echo "$as_me: failed program was:" >&5
10946 sed 's/^/| /' conftest.$ac_ext >&5
10947
10948 # Broken: fails on valid input.
10949 continue
10950 fi
10951 rm -f conftest.err conftest.$ac_ext
10952
10953 # OK, works on sane cases. Now check whether non-existent headers
10954 # can be detected and how.
10955 cat >conftest.$ac_ext <<_ACEOF
10956 #line $LINENO "configure"
10957 /* confdefs.h. */
10958 _ACEOF
10959 cat confdefs.h >>conftest.$ac_ext
10960 cat >>conftest.$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10962 #include <ac_nonexistent.h>
10963 _ACEOF
10964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10965 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10966 ac_status=$?
10967 grep -v '^ *+' conftest.er1 >conftest.err
10968 rm -f conftest.er1
10969 cat conftest.err >&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } >/dev/null; then
10972 if test -s conftest.err; then
10973 ac_cpp_err=$ac_c_preproc_warn_flag
10974 else
10975 ac_cpp_err=
10976 fi
10977 else
10978 ac_cpp_err=yes
10979 fi
10980 if test -z "$ac_cpp_err"; then
10981 # Broken: success on invalid input.
10982 continue
10983 else
10984 echo "$as_me: failed program was:" >&5
10985 sed 's/^/| /' conftest.$ac_ext >&5
10986
10987 # Passes both tests.
10988 ac_preproc_ok=:
10989 break
10990 fi
10991 rm -f conftest.err conftest.$ac_ext
10992
10993 done
10994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10995 rm -f conftest.err conftest.$ac_ext
10996 if $ac_preproc_ok; then
10997 break
10998 fi
10999
11000 done
11001 ac_cv_prog_CPP=$CPP
11002
11003 fi
11004 CPP=$ac_cv_prog_CPP
11005 else
11006 ac_cv_prog_CPP=$CPP
11007 fi
11008 echo "$as_me:$LINENO: result: $CPP" >&5
11009 echo "${ECHO_T}$CPP" >&6
11010 ac_preproc_ok=false
11011 for ac_c_preproc_warn_flag in '' yes
11012 do
11013 # Use a header file that comes with gcc, so configuring glibc
11014 # with a fresh cross-compiler works.
11015 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11016 # <limits.h> exists even on freestanding compilers.
11017 # On the NeXT, cc -E runs the code through the compiler's parser,
11018 # not just through cpp. "Syntax error" is here to catch this case.
11019 cat >conftest.$ac_ext <<_ACEOF
11020 #line $LINENO "configure"
11021 /* confdefs.h. */
11022 _ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 #ifdef __STDC__
11027 # include <limits.h>
11028 #else
11029 # include <assert.h>
11030 #endif
11031 Syntax error
11032 _ACEOF
11033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11035 ac_status=$?
11036 grep -v '^ *+' conftest.er1 >conftest.err
11037 rm -f conftest.er1
11038 cat conftest.err >&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } >/dev/null; then
11041 if test -s conftest.err; then
11042 ac_cpp_err=$ac_c_preproc_warn_flag
11043 else
11044 ac_cpp_err=
11045 fi
11046 else
11047 ac_cpp_err=yes
11048 fi
11049 if test -z "$ac_cpp_err"; then
11050 :
11051 else
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11054
11055 # Broken: fails on valid input.
11056 continue
11057 fi
11058 rm -f conftest.err conftest.$ac_ext
11059
11060 # OK, works on sane cases. Now check whether non-existent headers
11061 # can be detected and how.
11062 cat >conftest.$ac_ext <<_ACEOF
11063 #line $LINENO "configure"
11064 /* confdefs.h. */
11065 _ACEOF
11066 cat confdefs.h >>conftest.$ac_ext
11067 cat >>conftest.$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 #include <ac_nonexistent.h>
11070 _ACEOF
11071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11073 ac_status=$?
11074 grep -v '^ *+' conftest.er1 >conftest.err
11075 rm -f conftest.er1
11076 cat conftest.err >&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } >/dev/null; then
11079 if test -s conftest.err; then
11080 ac_cpp_err=$ac_c_preproc_warn_flag
11081 else
11082 ac_cpp_err=
11083 fi
11084 else
11085 ac_cpp_err=yes
11086 fi
11087 if test -z "$ac_cpp_err"; then
11088 # Broken: success on invalid input.
11089 continue
11090 else
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11093
11094 # Passes both tests.
11095 ac_preproc_ok=:
11096 break
11097 fi
11098 rm -f conftest.err conftest.$ac_ext
11099
11100 done
11101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11102 rm -f conftest.err conftest.$ac_ext
11103 if $ac_preproc_ok; then
11104 :
11105 else
11106 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11107 See \`config.log' for more details." >&5
11108 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11109 See \`config.log' for more details." >&2;}
11110 { (exit 1); exit 1; }; }
11111 fi
11112
11113 ac_ext=c
11114 ac_cpp='$CPP $CPPFLAGS'
11115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11118
11119
11120 echo "$as_me:$LINENO: checking for egrep" >&5
11121 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11122 if test "${ac_cv_prog_egrep+set}" = set; then
11123 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 else
11125 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11126 then ac_cv_prog_egrep='grep -E'
11127 else ac_cv_prog_egrep='egrep'
11128 fi
11129 fi
11130 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11131 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11132 EGREP=$ac_cv_prog_egrep
11133
11134
11135 if test $ac_cv_c_compiler_gnu = yes; then
11136 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11137 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11138 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 else
11141 ac_pattern="Autoconf.*'x'"
11142 cat >conftest.$ac_ext <<_ACEOF
11143 #line $LINENO "configure"
11144 /* confdefs.h. */
11145 _ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11149 #include <sgtty.h>
11150 Autoconf TIOCGETP
11151 _ACEOF
11152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11153 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11154 ac_cv_prog_gcc_traditional=yes
11155 else
11156 ac_cv_prog_gcc_traditional=no
11157 fi
11158 rm -f conftest*
11159
11160
11161 if test $ac_cv_prog_gcc_traditional = no; then
11162 cat >conftest.$ac_ext <<_ACEOF
11163 #line $LINENO "configure"
11164 /* confdefs.h. */
11165 _ACEOF
11166 cat confdefs.h >>conftest.$ac_ext
11167 cat >>conftest.$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11169 #include <termio.h>
11170 Autoconf TCGETA
11171 _ACEOF
11172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11173 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11174 ac_cv_prog_gcc_traditional=yes
11175 fi
11176 rm -f conftest*
11177
11178 fi
11179 fi
11180 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11181 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11182 if test $ac_cv_prog_gcc_traditional = yes; then
11183 CC="$CC -traditional"
11184 fi
11185 fi
11186
11187
11188
11189
11190 ac_ext=cc
11191 ac_cpp='$CXXCPP $CPPFLAGS'
11192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11195
11196
11197 CXXFLAGS=${CXXFLAGS:=}
11198 ac_ext=cc
11199 ac_cpp='$CXXCPP $CPPFLAGS'
11200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11203 if test -n "$ac_tool_prefix"; then
11204 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11205 do
11206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11208 echo "$as_me:$LINENO: checking for $ac_word" >&5
11209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11210 if test "${ac_cv_prog_CXX+set}" = set; then
11211 echo $ECHO_N "(cached) $ECHO_C" >&6
11212 else
11213 if test -n "$CXX"; then
11214 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11215 else
11216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11217 for as_dir in $PATH
11218 do
11219 IFS=$as_save_IFS
11220 test -z "$as_dir" && as_dir=.
11221 for ac_exec_ext in '' $ac_executable_extensions; do
11222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11223 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11225 break 2
11226 fi
11227 done
11228 done
11229
11230 fi
11231 fi
11232 CXX=$ac_cv_prog_CXX
11233 if test -n "$CXX"; then
11234 echo "$as_me:$LINENO: result: $CXX" >&5
11235 echo "${ECHO_T}$CXX" >&6
11236 else
11237 echo "$as_me:$LINENO: result: no" >&5
11238 echo "${ECHO_T}no" >&6
11239 fi
11240
11241 test -n "$CXX" && break
11242 done
11243 fi
11244 if test -z "$CXX"; then
11245 ac_ct_CXX=$CXX
11246 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11247 do
11248 # Extract the first word of "$ac_prog", so it can be a program name with args.
11249 set dummy $ac_prog; ac_word=$2
11250 echo "$as_me:$LINENO: checking for $ac_word" >&5
11251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11252 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11254 else
11255 if test -n "$ac_ct_CXX"; then
11256 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11257 else
11258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11259 for as_dir in $PATH
11260 do
11261 IFS=$as_save_IFS
11262 test -z "$as_dir" && as_dir=.
11263 for ac_exec_ext in '' $ac_executable_extensions; do
11264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_prog_ac_ct_CXX="$ac_prog"
11266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11267 break 2
11268 fi
11269 done
11270 done
11271
11272 fi
11273 fi
11274 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11275 if test -n "$ac_ct_CXX"; then
11276 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11277 echo "${ECHO_T}$ac_ct_CXX" >&6
11278 else
11279 echo "$as_me:$LINENO: result: no" >&5
11280 echo "${ECHO_T}no" >&6
11281 fi
11282
11283 test -n "$ac_ct_CXX" && break
11284 done
11285 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11286
11287 CXX=$ac_ct_CXX
11288 fi
11289
11290
11291 # Provide some information about the compiler.
11292 echo "$as_me:$LINENO:" \
11293 "checking for C++ compiler version" >&5
11294 ac_compiler=`set X $ac_compile; echo $2`
11295 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11296 (eval $ac_compiler --version </dev/null >&5) 2>&5
11297 ac_status=$?
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }
11300 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11301 (eval $ac_compiler -v </dev/null >&5) 2>&5
11302 ac_status=$?
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11304 (exit $ac_status); }
11305 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11306 (eval $ac_compiler -V </dev/null >&5) 2>&5
11307 ac_status=$?
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }
11310
11311 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11312 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11313 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11315 else
11316 cat >conftest.$ac_ext <<_ACEOF
11317 #line $LINENO "configure"
11318 /* confdefs.h. */
11319 _ACEOF
11320 cat confdefs.h >>conftest.$ac_ext
11321 cat >>conftest.$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11323
11324 int
11325 main ()
11326 {
11327 #ifndef __GNUC__
11328 choke me
11329 #endif
11330
11331 ;
11332 return 0;
11333 }
11334 _ACEOF
11335 rm -f conftest.$ac_objext
11336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11337 (eval $ac_compile) 2>&5
11338 ac_status=$?
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try='test -s conftest.$ac_objext'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11344 ac_status=$?
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; }; then
11347 ac_compiler_gnu=yes
11348 else
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11351
11352 ac_compiler_gnu=no
11353 fi
11354 rm -f conftest.$ac_objext conftest.$ac_ext
11355 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11356
11357 fi
11358 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11359 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11360 GXX=`test $ac_compiler_gnu = yes && echo yes`
11361 ac_test_CXXFLAGS=${CXXFLAGS+set}
11362 ac_save_CXXFLAGS=$CXXFLAGS
11363 CXXFLAGS="-g"
11364 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11365 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11366 if test "${ac_cv_prog_cxx_g+set}" = set; then
11367 echo $ECHO_N "(cached) $ECHO_C" >&6
11368 else
11369 cat >conftest.$ac_ext <<_ACEOF
11370 #line $LINENO "configure"
11371 /* confdefs.h. */
11372 _ACEOF
11373 cat confdefs.h >>conftest.$ac_ext
11374 cat >>conftest.$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376
11377 int
11378 main ()
11379 {
11380
11381 ;
11382 return 0;
11383 }
11384 _ACEOF
11385 rm -f conftest.$ac_objext
11386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11387 (eval $ac_compile) 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); } &&
11391 { ac_try='test -s conftest.$ac_objext'
11392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11393 (eval $ac_try) 2>&5
11394 ac_status=$?
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); }; }; then
11397 ac_cv_prog_cxx_g=yes
11398 else
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11401
11402 ac_cv_prog_cxx_g=no
11403 fi
11404 rm -f conftest.$ac_objext conftest.$ac_ext
11405 fi
11406 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11407 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11408 if test "$ac_test_CXXFLAGS" = set; then
11409 CXXFLAGS=$ac_save_CXXFLAGS
11410 elif test $ac_cv_prog_cxx_g = yes; then
11411 if test "$GXX" = yes; then
11412 CXXFLAGS="-g -O2"
11413 else
11414 CXXFLAGS="-g"
11415 fi
11416 else
11417 if test "$GXX" = yes; then
11418 CXXFLAGS="-O2"
11419 else
11420 CXXFLAGS=
11421 fi
11422 fi
11423 for ac_declaration in \
11424 '' \
11425 'extern "C" void std::exit (int) throw (); using std::exit;' \
11426 'extern "C" void std::exit (int); using std::exit;' \
11427 'extern "C" void exit (int) throw ();' \
11428 'extern "C" void exit (int);' \
11429 'void exit (int);'
11430 do
11431 cat >conftest.$ac_ext <<_ACEOF
11432 #line $LINENO "configure"
11433 /* confdefs.h. */
11434 _ACEOF
11435 cat confdefs.h >>conftest.$ac_ext
11436 cat >>conftest.$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11438 $ac_declaration
11439 #include <stdlib.h>
11440 int
11441 main ()
11442 {
11443 exit (42);
11444 ;
11445 return 0;
11446 }
11447 _ACEOF
11448 rm -f conftest.$ac_objext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11450 (eval $ac_compile) 2>&5
11451 ac_status=$?
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try='test -s conftest.$ac_objext'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11457 ac_status=$?
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; }; then
11460 :
11461 else
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11464
11465 continue
11466 fi
11467 rm -f conftest.$ac_objext conftest.$ac_ext
11468 cat >conftest.$ac_ext <<_ACEOF
11469 #line $LINENO "configure"
11470 /* confdefs.h. */
11471 _ACEOF
11472 cat confdefs.h >>conftest.$ac_ext
11473 cat >>conftest.$ac_ext <<_ACEOF
11474 /* end confdefs.h. */
11475 $ac_declaration
11476 int
11477 main ()
11478 {
11479 exit (42);
11480 ;
11481 return 0;
11482 }
11483 _ACEOF
11484 rm -f conftest.$ac_objext
11485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11486 (eval $ac_compile) 2>&5
11487 ac_status=$?
11488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11489 (exit $ac_status); } &&
11490 { ac_try='test -s conftest.$ac_objext'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11493 ac_status=$?
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; }; then
11496 break
11497 else
11498 echo "$as_me: failed program was:" >&5
11499 sed 's/^/| /' conftest.$ac_ext >&5
11500
11501 fi
11502 rm -f conftest.$ac_objext conftest.$ac_ext
11503 done
11504 rm -f conftest*
11505 if test -n "$ac_declaration"; then
11506 echo '#ifdef __cplusplus' >>confdefs.h
11507 echo $ac_declaration >>confdefs.h
11508 echo '#endif' >>confdefs.h
11509 fi
11510
11511 ac_ext=cc
11512 ac_cpp='$CXXCPP $CPPFLAGS'
11513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11516
11517
11518 ac_ext=c
11519 ac_cpp='$CPP $CPPFLAGS'
11520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11523
11524
11525 if test -n "$ac_tool_prefix"; then
11526 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11527 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11528 echo "$as_me:$LINENO: checking for $ac_word" >&5
11529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11530 if test "${ac_cv_prog_RANLIB+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 else
11533 if test -n "$RANLIB"; then
11534 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11535 else
11536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11537 for as_dir in $PATH
11538 do
11539 IFS=$as_save_IFS
11540 test -z "$as_dir" && as_dir=.
11541 for ac_exec_ext in '' $ac_executable_extensions; do
11542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11543 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11545 break 2
11546 fi
11547 done
11548 done
11549
11550 fi
11551 fi
11552 RANLIB=$ac_cv_prog_RANLIB
11553 if test -n "$RANLIB"; then
11554 echo "$as_me:$LINENO: result: $RANLIB" >&5
11555 echo "${ECHO_T}$RANLIB" >&6
11556 else
11557 echo "$as_me:$LINENO: result: no" >&5
11558 echo "${ECHO_T}no" >&6
11559 fi
11560
11561 fi
11562 if test -z "$ac_cv_prog_RANLIB"; then
11563 ac_ct_RANLIB=$RANLIB
11564 # Extract the first word of "ranlib", so it can be a program name with args.
11565 set dummy ranlib; ac_word=$2
11566 echo "$as_me:$LINENO: checking for $ac_word" >&5
11567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11568 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11570 else
11571 if test -n "$ac_ct_RANLIB"; then
11572 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11573 else
11574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11575 for as_dir in $PATH
11576 do
11577 IFS=$as_save_IFS
11578 test -z "$as_dir" && as_dir=.
11579 for ac_exec_ext in '' $ac_executable_extensions; do
11580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11581 ac_cv_prog_ac_ct_RANLIB="ranlib"
11582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11583 break 2
11584 fi
11585 done
11586 done
11587
11588 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11589 fi
11590 fi
11591 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11592 if test -n "$ac_ct_RANLIB"; then
11593 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11594 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11595 else
11596 echo "$as_me:$LINENO: result: no" >&5
11597 echo "${ECHO_T}no" >&6
11598 fi
11599
11600 RANLIB=$ac_ct_RANLIB
11601 else
11602 RANLIB="$ac_cv_prog_RANLIB"
11603 fi
11604
11605
11606 # Extract the first word of "ar", so it can be a program name with args.
11607 set dummy ar; ac_word=$2
11608 echo "$as_me:$LINENO: checking for $ac_word" >&5
11609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11610 if test "${ac_cv_prog_AR+set}" = set; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 else
11613 if test -n "$AR"; then
11614 ac_cv_prog_AR="$AR" # Let the user override the test.
11615 else
11616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11617 for as_dir in $PATH
11618 do
11619 IFS=$as_save_IFS
11620 test -z "$as_dir" && as_dir=.
11621 for ac_exec_ext in '' $ac_executable_extensions; do
11622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11623 ac_cv_prog_AR="ar"
11624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11625 break 2
11626 fi
11627 done
11628 done
11629
11630 fi
11631 fi
11632 AR=$ac_cv_prog_AR
11633 if test -n "$AR"; then
11634 echo "$as_me:$LINENO: result: $AR" >&5
11635 echo "${ECHO_T}$AR" >&6
11636 else
11637 echo "$as_me:$LINENO: result: no" >&5
11638 echo "${ECHO_T}no" >&6
11639 fi
11640
11641 if test "x$AR" = "x" ; then
11642 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11643 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11644 { (exit 1); exit 1; }; }
11645 fi
11646
11647 # Find a good install program. We prefer a C program (faster),
11648 # so one script is as good as another. But avoid the broken or
11649 # incompatible versions:
11650 # SysV /etc/install, /usr/sbin/install
11651 # SunOS /usr/etc/install
11652 # IRIX /sbin/install
11653 # AIX /bin/install
11654 # AmigaOS /C/install, which installs bootblocks on floppy discs
11655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11658 # ./install, which can be erroneously created by make from ./install.sh.
11659 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11660 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11661 if test -z "$INSTALL"; then
11662 if test "${ac_cv_path_install+set}" = set; then
11663 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 else
11665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11666 for as_dir in $PATH
11667 do
11668 IFS=$as_save_IFS
11669 test -z "$as_dir" && as_dir=.
11670 # Account for people who put trailing slashes in PATH elements.
11671 case $as_dir/ in
11672 ./ | .// | /cC/* | \
11673 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11674 /usr/ucb/* ) ;;
11675 *)
11676 # OSF1 and SCO ODT 3.0 have their own names for install.
11677 # Don't use installbsd from OSF since it installs stuff as root
11678 # by default.
11679 for ac_prog in ginstall scoinst install; do
11680 for ac_exec_ext in '' $ac_executable_extensions; do
11681 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11682 if test $ac_prog = install &&
11683 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11684 # AIX install. It has an incompatible calling convention.
11685 :
11686 elif test $ac_prog = install &&
11687 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11688 # program-specific install script used by HP pwplus--don't use.
11689 :
11690 else
11691 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11692 break 3
11693 fi
11694 fi
11695 done
11696 done
11697 ;;
11698 esac
11699 done
11700
11701
11702 fi
11703 if test "${ac_cv_path_install+set}" = set; then
11704 INSTALL=$ac_cv_path_install
11705 else
11706 # As a last resort, use the slow shell script. We don't cache a
11707 # path for INSTALL within a source directory, because that will
11708 # break other packages using the cache if that directory is
11709 # removed, or if the path is relative.
11710 INSTALL=$ac_install_sh
11711 fi
11712 fi
11713 echo "$as_me:$LINENO: result: $INSTALL" >&5
11714 echo "${ECHO_T}$INSTALL" >&6
11715
11716 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11717 # It thinks the first close brace ends the variable substitution.
11718 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11719
11720 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11721
11722 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11723
11724
11725 case ${INSTALL} in
11726 /* ) # Absolute
11727 ;;
11728 ?:* ) # Drive letter, considered as absolute.
11729 ;;
11730 *)
11731 INSTALL=`pwd`/${INSTALL} ;;
11732 esac
11733
11734 case ${host} in
11735 *-hp-hpux* )
11736 INSTALL_DIR="mkdir"
11737 ;;
11738
11739 *) INSTALL_DIR="$INSTALL -d"
11740 ;;
11741 esac
11742
11743
11744 case "${host}" in
11745
11746 powerpc-*-darwin* )
11747 INSTALL_PROGRAM="cp -fp"
11748 INSTALL_DATA="cp -fp"
11749 ;;
11750 *)
11751 ;;
11752 esac
11753
11754 # Extract the first word of "strip", so it can be a program name with args.
11755 set dummy strip; ac_word=$2
11756 echo "$as_me:$LINENO: checking for $ac_word" >&5
11757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11758 if test "${ac_cv_prog_STRIP+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 else
11761 if test -n "$STRIP"; then
11762 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11763 else
11764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765 for as_dir in $PATH
11766 do
11767 IFS=$as_save_IFS
11768 test -z "$as_dir" && as_dir=.
11769 for ac_exec_ext in '' $ac_executable_extensions; do
11770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11771 ac_cv_prog_STRIP="strip"
11772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11773 break 2
11774 fi
11775 done
11776 done
11777
11778 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11779 fi
11780 fi
11781 STRIP=$ac_cv_prog_STRIP
11782 if test -n "$STRIP"; then
11783 echo "$as_me:$LINENO: result: $STRIP" >&5
11784 echo "${ECHO_T}$STRIP" >&6
11785 else
11786 echo "$as_me:$LINENO: result: no" >&5
11787 echo "${ECHO_T}no" >&6
11788 fi
11789
11790
11791 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11792 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11793 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796
11797 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11798 egrep -s GNU > /dev/null); then
11799 wx_cv_prog_makeisgnu="yes"
11800 else
11801 wx_cv_prog_makeisgnu="no"
11802 fi
11803
11804 fi
11805 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11806 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11807
11808 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11809 IF_GNU_MAKE=""
11810 else
11811 IF_GNU_MAKE="#"
11812 fi
11813
11814
11815
11816 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11817 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11818 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11819 if test "${wx_cv_prog_makevpath+set}" = set; then
11820 echo $ECHO_N "(cached) $ECHO_C" >&6
11821 else
11822
11823 cat - << EOF > confMake
11824 check : file
11825 cp \$? \$@
11826 cp \$? final_file
11827 EOF
11828
11829 if test ! -d sub ; then
11830 mkdir sub
11831 fi
11832 echo dummy > sub/file
11833 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11834 RESULT=$?
11835 rm -f sub/file check final_file confMake
11836 rmdir sub
11837 if test "$RESULT" = 0; then
11838 wx_cv_prog_makevpath="yes"
11839 else
11840 wx_cv_prog_makevpath="no"
11841 fi
11842
11843 fi
11844 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11845 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11846
11847 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11848 { { echo "$as_me:$LINENO: error:
11849 You need a make-utility that is able to use the variable
11850 VPATH correctly.
11851 If your version of make does not support VPATH correctly,
11852 please install GNU-make (possibly as gmake), and start
11853 configure with the following command:
11854 export MAKE=gmake; ./configure for sh-type shells
11855 setenv MAKE gmake; ./configure for csh-type shells
11856 Also please do remember to use gmake in this case every time
11857 you are trying to compile.
11858 " >&5
11859 echo "$as_me: error:
11860 You need a make-utility that is able to use the variable
11861 VPATH correctly.
11862 If your version of make does not support VPATH correctly,
11863 please install GNU-make (possibly as gmake), and start
11864 configure with the following command:
11865 export MAKE=gmake; ./configure for sh-type shells
11866 setenv MAKE gmake; ./configure for csh-type shells
11867 Also please do remember to use gmake in this case every time
11868 you are trying to compile.
11869 " >&2;}
11870 { (exit 1); exit 1; }; }
11871 fi fi
11872 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11873 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11874 LN_S=$as_ln_s
11875 if test "$LN_S" = "ln -s"; then
11876 echo "$as_me:$LINENO: result: yes" >&5
11877 echo "${ECHO_T}yes" >&6
11878 else
11879 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11880 echo "${ECHO_T}no, using $LN_S" >&6
11881 fi
11882
11883
11884 case "${host}" in
11885 *-pc-os2_emx | *-pc-os2-emx )
11886 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11887 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11888 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11889 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11890 echo $ECHO_N "(cached) $ECHO_C" >&6
11891 else
11892 ac_check_lib_save_LIBS=$LIBS
11893 LIBS="-lcExt $LIBS"
11894 cat >conftest.$ac_ext <<_ACEOF
11895 #line $LINENO "configure"
11896 /* confdefs.h. */
11897 _ACEOF
11898 cat confdefs.h >>conftest.$ac_ext
11899 cat >>conftest.$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11901
11902 /* Override any gcc2 internal prototype to avoid an error. */
11903 #ifdef __cplusplus
11904 extern "C"
11905 #endif
11906 /* We use char because int might match the return type of a gcc2
11907 builtin and then its argument prototype would still apply. */
11908 char drand48 ();
11909 int
11910 main ()
11911 {
11912 drand48 ();
11913 ;
11914 return 0;
11915 }
11916 _ACEOF
11917 rm -f conftest.$ac_objext conftest$ac_exeext
11918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11919 (eval $ac_link) 2>&5
11920 ac_status=$?
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } &&
11923 { ac_try='test -s conftest$ac_exeext'
11924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5
11926 ac_status=$?
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); }; }; then
11929 ac_cv_lib_cExt_drand48=yes
11930 else
11931 echo "$as_me: failed program was:" >&5
11932 sed 's/^/| /' conftest.$ac_ext >&5
11933
11934 ac_cv_lib_cExt_drand48=no
11935 fi
11936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_lib_save_LIBS
11938 fi
11939 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11940 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11941 if test $ac_cv_lib_cExt_drand48 = yes; then
11942 LIBS="$LIBS -lcExt"
11943 fi
11944
11945 else
11946 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11947 fi
11948 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11949 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11950 if test "${wx_cv_gcc3+set}" = set; then
11951 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 else
11953
11954 cat >conftest.$ac_ext <<_ACEOF
11955 #line $LINENO "configure"
11956 /* confdefs.h. */
11957 _ACEOF
11958 cat confdefs.h >>conftest.$ac_ext
11959 cat >>conftest.$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11961
11962 int
11963 main ()
11964 {
11965
11966 #if (__GNUC__ < 3)
11967 #error old gcc
11968 #endif
11969
11970 ;
11971 return 0;
11972 }
11973 _ACEOF
11974 rm -f conftest.$ac_objext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11976 (eval $ac_compile) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); } &&
11980 { ac_try='test -s conftest.$ac_objext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986
11987 wx_cv_gcc3=yes
11988
11989 else
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.$ac_ext >&5
11992
11993
11994 wx_cv_gcc3=no
11995
11996
11997 fi
11998 rm -f conftest.$ac_objext conftest.$ac_ext
11999
12000 fi
12001 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
12002 echo "${ECHO_T}$wx_cv_gcc3" >&6
12003 if test "$wx_cv_gcc3" = "no"; then
12004 LIBS="$LIBS -lstdcpp"
12005 else
12006 LIBS="$LIBS -lstdcxx"
12007 fi
12008 ;;
12009 esac
12010
12011
12012 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
12013 echo "$as_me:$LINENO: checking for strings.h" >&5
12014 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
12015 if test "${ac_cv_header_strings_h+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 ac_cv_header_strings_h=no
12019 fi
12020 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
12021 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
12022 if test "$ac_cv_header_strings_h" = "no"; then
12023 echo "$as_me:$LINENO: result: forced no into cache" >&5
12024 echo "${ECHO_T}forced no into cache" >&6
12025 else
12026 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
12027 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
12028 fi
12029 fi
12030 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12031 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12032 if test "${ac_cv_header_stdc+set}" = set; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12034 else
12035 cat >conftest.$ac_ext <<_ACEOF
12036 #line $LINENO "configure"
12037 /* confdefs.h. */
12038 _ACEOF
12039 cat confdefs.h >>conftest.$ac_ext
12040 cat >>conftest.$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 #include <stdlib.h>
12043 #include <stdarg.h>
12044 #include <string.h>
12045 #include <float.h>
12046
12047 int
12048 main ()
12049 {
12050
12051 ;
12052 return 0;
12053 }
12054 _ACEOF
12055 rm -f conftest.$ac_objext
12056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12057 (eval $ac_compile) 2>&5
12058 ac_status=$?
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try='test -s conftest.$ac_objext'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12064 ac_status=$?
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_cv_header_stdc=yes
12068 else
12069 echo "$as_me: failed program was:" >&5
12070 sed 's/^/| /' conftest.$ac_ext >&5
12071
12072 ac_cv_header_stdc=no
12073 fi
12074 rm -f conftest.$ac_objext conftest.$ac_ext
12075
12076 if test $ac_cv_header_stdc = yes; then
12077 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12078 cat >conftest.$ac_ext <<_ACEOF
12079 #line $LINENO "configure"
12080 /* confdefs.h. */
12081 _ACEOF
12082 cat confdefs.h >>conftest.$ac_ext
12083 cat >>conftest.$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12085 #include <string.h>
12086
12087 _ACEOF
12088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12089 $EGREP "memchr" >/dev/null 2>&1; then
12090 :
12091 else
12092 ac_cv_header_stdc=no
12093 fi
12094 rm -f conftest*
12095
12096 fi
12097
12098 if test $ac_cv_header_stdc = yes; then
12099 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12100 cat >conftest.$ac_ext <<_ACEOF
12101 #line $LINENO "configure"
12102 /* confdefs.h. */
12103 _ACEOF
12104 cat confdefs.h >>conftest.$ac_ext
12105 cat >>conftest.$ac_ext <<_ACEOF
12106 /* end confdefs.h. */
12107 #include <stdlib.h>
12108
12109 _ACEOF
12110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12111 $EGREP "free" >/dev/null 2>&1; then
12112 :
12113 else
12114 ac_cv_header_stdc=no
12115 fi
12116 rm -f conftest*
12117
12118 fi
12119
12120 if test $ac_cv_header_stdc = yes; then
12121 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12122 if test "$cross_compiling" = yes; then
12123 :
12124 else
12125 cat >conftest.$ac_ext <<_ACEOF
12126 #line $LINENO "configure"
12127 /* confdefs.h. */
12128 _ACEOF
12129 cat confdefs.h >>conftest.$ac_ext
12130 cat >>conftest.$ac_ext <<_ACEOF
12131 /* end confdefs.h. */
12132 #include <ctype.h>
12133 #if ((' ' & 0x0FF) == 0x020)
12134 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12135 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12136 #else
12137 # define ISLOWER(c) \
12138 (('a' <= (c) && (c) <= 'i') \
12139 || ('j' <= (c) && (c) <= 'r') \
12140 || ('s' <= (c) && (c) <= 'z'))
12141 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12142 #endif
12143
12144 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12145 int
12146 main ()
12147 {
12148 int i;
12149 for (i = 0; i < 256; i++)
12150 if (XOR (islower (i), ISLOWER (i))
12151 || toupper (i) != TOUPPER (i))
12152 exit(2);
12153 exit (0);
12154 }
12155 _ACEOF
12156 rm -f conftest$ac_exeext
12157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12158 (eval $ac_link) 2>&5
12159 ac_status=$?
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163 (eval $ac_try) 2>&5
12164 ac_status=$?
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; }; then
12167 :
12168 else
12169 echo "$as_me: program exited with status $ac_status" >&5
12170 echo "$as_me: failed program was:" >&5
12171 sed 's/^/| /' conftest.$ac_ext >&5
12172
12173 ( exit $ac_status )
12174 ac_cv_header_stdc=no
12175 fi
12176 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12177 fi
12178 fi
12179 fi
12180 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12181 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12182 if test $ac_cv_header_stdc = yes; then
12183
12184 cat >>confdefs.h <<\_ACEOF
12185 #define STDC_HEADERS 1
12186 _ACEOF
12187
12188 fi
12189
12190 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12201 inttypes.h stdint.h unistd.h
12202 do
12203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12204 echo "$as_me:$LINENO: checking for $ac_header" >&5
12205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 else
12209 cat >conftest.$ac_ext <<_ACEOF
12210 #line $LINENO "configure"
12211 /* confdefs.h. */
12212 _ACEOF
12213 cat confdefs.h >>conftest.$ac_ext
12214 cat >>conftest.$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12216 $ac_includes_default
12217
12218 #include <$ac_header>
12219 _ACEOF
12220 rm -f conftest.$ac_objext
12221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12222 (eval $ac_compile) 2>&5
12223 ac_status=$?
12224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225 (exit $ac_status); } &&
12226 { ac_try='test -s conftest.$ac_objext'
12227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12228 (eval $ac_try) 2>&5
12229 ac_status=$?
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12231 (exit $ac_status); }; }; then
12232 eval "$as_ac_Header=yes"
12233 else
12234 echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.$ac_ext >&5
12236
12237 eval "$as_ac_Header=no"
12238 fi
12239 rm -f conftest.$ac_objext conftest.$ac_ext
12240 fi
12241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12244 cat >>confdefs.h <<_ACEOF
12245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12246 _ACEOF
12247
12248 fi
12249
12250 done
12251
12252
12253
12254 for ac_header in strings.h
12255 do
12256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12258 echo "$as_me:$LINENO: checking for $ac_header" >&5
12259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 fi
12263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12265 else
12266 # Is the header compilable?
12267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12269 cat >conftest.$ac_ext <<_ACEOF
12270 #line $LINENO "configure"
12271 /* confdefs.h. */
12272 _ACEOF
12273 cat confdefs.h >>conftest.$ac_ext
12274 cat >>conftest.$ac_ext <<_ACEOF
12275 /* end confdefs.h. */
12276 $ac_includes_default
12277 #include <$ac_header>
12278 _ACEOF
12279 rm -f conftest.$ac_objext
12280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12281 (eval $ac_compile) 2>&5
12282 ac_status=$?
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } &&
12285 { ac_try='test -s conftest.$ac_objext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12288 ac_status=$?
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 ac_header_compiler=yes
12292 else
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.$ac_ext >&5
12295
12296 ac_header_compiler=no
12297 fi
12298 rm -f conftest.$ac_objext conftest.$ac_ext
12299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12300 echo "${ECHO_T}$ac_header_compiler" >&6
12301
12302 # Is the header present?
12303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12305 cat >conftest.$ac_ext <<_ACEOF
12306 #line $LINENO "configure"
12307 /* confdefs.h. */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h. */
12312 #include <$ac_header>
12313 _ACEOF
12314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12316 ac_status=$?
12317 grep -v '^ *+' conftest.er1 >conftest.err
12318 rm -f conftest.er1
12319 cat conftest.err >&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); } >/dev/null; then
12322 if test -s conftest.err; then
12323 ac_cpp_err=$ac_c_preproc_warn_flag
12324 else
12325 ac_cpp_err=
12326 fi
12327 else
12328 ac_cpp_err=yes
12329 fi
12330 if test -z "$ac_cpp_err"; then
12331 ac_header_preproc=yes
12332 else
12333 echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.$ac_ext >&5
12335
12336 ac_header_preproc=no
12337 fi
12338 rm -f conftest.err conftest.$ac_ext
12339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12340 echo "${ECHO_T}$ac_header_preproc" >&6
12341
12342 # So? What about this header?
12343 case $ac_header_compiler:$ac_header_preproc in
12344 yes:no )
12345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12349 (
12350 cat <<\_ASBOX
12351 ## ------------------------------------ ##
12352 ## Report this to bug-autoconf@gnu.org. ##
12353 ## ------------------------------------ ##
12354 _ASBOX
12355 ) |
12356 sed "s/^/$as_me: WARNING: /" >&2
12357 ;;
12358 no:yes )
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12365 (
12366 cat <<\_ASBOX
12367 ## ------------------------------------ ##
12368 ## Report this to bug-autoconf@gnu.org. ##
12369 ## ------------------------------------ ##
12370 _ASBOX
12371 ) |
12372 sed "s/^/$as_me: WARNING: /" >&2
12373 ;;
12374 esac
12375 echo "$as_me:$LINENO: checking for $ac_header" >&5
12376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 else
12380 eval "$as_ac_Header=$ac_header_preproc"
12381 fi
12382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12384
12385 fi
12386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12387 cat >>confdefs.h <<_ACEOF
12388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12389 _ACEOF
12390
12391 fi
12392
12393 done
12394
12395
12396
12397 for ac_header in stdlib.h
12398 do
12399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12401 echo "$as_me:$LINENO: checking for $ac_header" >&5
12402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12404 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 fi
12406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12408 else
12409 # Is the header compilable?
12410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12412 cat >conftest.$ac_ext <<_ACEOF
12413 #line $LINENO "configure"
12414 /* confdefs.h. */
12415 _ACEOF
12416 cat confdefs.h >>conftest.$ac_ext
12417 cat >>conftest.$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12419 $ac_includes_default
12420 #include <$ac_header>
12421 _ACEOF
12422 rm -f conftest.$ac_objext
12423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12424 (eval $ac_compile) 2>&5
12425 ac_status=$?
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } &&
12428 { ac_try='test -s conftest.$ac_objext'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12431 ac_status=$?
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; }; then
12434 ac_header_compiler=yes
12435 else
12436 echo "$as_me: failed program was:" >&5
12437 sed 's/^/| /' conftest.$ac_ext >&5
12438
12439 ac_header_compiler=no
12440 fi
12441 rm -f conftest.$ac_objext conftest.$ac_ext
12442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12443 echo "${ECHO_T}$ac_header_compiler" >&6
12444
12445 # Is the header present?
12446 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12448 cat >conftest.$ac_ext <<_ACEOF
12449 #line $LINENO "configure"
12450 /* confdefs.h. */
12451 _ACEOF
12452 cat confdefs.h >>conftest.$ac_ext
12453 cat >>conftest.$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12455 #include <$ac_header>
12456 _ACEOF
12457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12459 ac_status=$?
12460 grep -v '^ *+' conftest.er1 >conftest.err
12461 rm -f conftest.er1
12462 cat conftest.err >&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } >/dev/null; then
12465 if test -s conftest.err; then
12466 ac_cpp_err=$ac_c_preproc_warn_flag
12467 else
12468 ac_cpp_err=
12469 fi
12470 else
12471 ac_cpp_err=yes
12472 fi
12473 if test -z "$ac_cpp_err"; then
12474 ac_header_preproc=yes
12475 else
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12478
12479 ac_header_preproc=no
12480 fi
12481 rm -f conftest.err conftest.$ac_ext
12482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12483 echo "${ECHO_T}$ac_header_preproc" >&6
12484
12485 # So? What about this header?
12486 case $ac_header_compiler:$ac_header_preproc in
12487 yes:no )
12488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12492 (
12493 cat <<\_ASBOX
12494 ## ------------------------------------ ##
12495 ## Report this to bug-autoconf@gnu.org. ##
12496 ## ------------------------------------ ##
12497 _ASBOX
12498 ) |
12499 sed "s/^/$as_me: WARNING: /" >&2
12500 ;;
12501 no:yes )
12502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12508 (
12509 cat <<\_ASBOX
12510 ## ------------------------------------ ##
12511 ## Report this to bug-autoconf@gnu.org. ##
12512 ## ------------------------------------ ##
12513 _ASBOX
12514 ) |
12515 sed "s/^/$as_me: WARNING: /" >&2
12516 ;;
12517 esac
12518 echo "$as_me:$LINENO: checking for $ac_header" >&5
12519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12522 else
12523 eval "$as_ac_Header=$ac_header_preproc"
12524 fi
12525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12527
12528 fi
12529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12530 cat >>confdefs.h <<_ACEOF
12531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12532 _ACEOF
12533
12534 fi
12535
12536 done
12537
12538
12539 for ac_header in malloc.h
12540 do
12541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12543 echo "$as_me:$LINENO: checking for $ac_header" >&5
12544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 fi
12548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12550 else
12551 # Is the header compilable?
12552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12554 cat >conftest.$ac_ext <<_ACEOF
12555 #line $LINENO "configure"
12556 /* confdefs.h. */
12557 _ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12561 $ac_includes_default
12562 #include <$ac_header>
12563 _ACEOF
12564 rm -f conftest.$ac_objext
12565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12566 (eval $ac_compile) 2>&5
12567 ac_status=$?
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); } &&
12570 { ac_try='test -s conftest.$ac_objext'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12573 ac_status=$?
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; }; then
12576 ac_header_compiler=yes
12577 else
12578 echo "$as_me: failed program was:" >&5
12579 sed 's/^/| /' conftest.$ac_ext >&5
12580
12581 ac_header_compiler=no
12582 fi
12583 rm -f conftest.$ac_objext conftest.$ac_ext
12584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12585 echo "${ECHO_T}$ac_header_compiler" >&6
12586
12587 # Is the header present?
12588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12590 cat >conftest.$ac_ext <<_ACEOF
12591 #line $LINENO "configure"
12592 /* confdefs.h. */
12593 _ACEOF
12594 cat confdefs.h >>conftest.$ac_ext
12595 cat >>conftest.$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12597 #include <$ac_header>
12598 _ACEOF
12599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12601 ac_status=$?
12602 grep -v '^ *+' conftest.er1 >conftest.err
12603 rm -f conftest.er1
12604 cat conftest.err >&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } >/dev/null; then
12607 if test -s conftest.err; then
12608 ac_cpp_err=$ac_c_preproc_warn_flag
12609 else
12610 ac_cpp_err=
12611 fi
12612 else
12613 ac_cpp_err=yes
12614 fi
12615 if test -z "$ac_cpp_err"; then
12616 ac_header_preproc=yes
12617 else
12618 echo "$as_me: failed program was:" >&5
12619 sed 's/^/| /' conftest.$ac_ext >&5
12620
12621 ac_header_preproc=no
12622 fi
12623 rm -f conftest.err conftest.$ac_ext
12624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12625 echo "${ECHO_T}$ac_header_preproc" >&6
12626
12627 # So? What about this header?
12628 case $ac_header_compiler:$ac_header_preproc in
12629 yes:no )
12630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12634 (
12635 cat <<\_ASBOX
12636 ## ------------------------------------ ##
12637 ## Report this to bug-autoconf@gnu.org. ##
12638 ## ------------------------------------ ##
12639 _ASBOX
12640 ) |
12641 sed "s/^/$as_me: WARNING: /" >&2
12642 ;;
12643 no:yes )
12644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12649 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12650 (
12651 cat <<\_ASBOX
12652 ## ------------------------------------ ##
12653 ## Report this to bug-autoconf@gnu.org. ##
12654 ## ------------------------------------ ##
12655 _ASBOX
12656 ) |
12657 sed "s/^/$as_me: WARNING: /" >&2
12658 ;;
12659 esac
12660 echo "$as_me:$LINENO: checking for $ac_header" >&5
12661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12664 else
12665 eval "$as_ac_Header=$ac_header_preproc"
12666 fi
12667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12669
12670 fi
12671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12672 cat >>confdefs.h <<_ACEOF
12673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12674 _ACEOF
12675
12676 fi
12677
12678 done
12679
12680
12681 for ac_header in unistd.h
12682 do
12683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12685 echo "$as_me:$LINENO: checking for $ac_header" >&5
12686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12689 fi
12690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12692 else
12693 # Is the header compilable?
12694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12696 cat >conftest.$ac_ext <<_ACEOF
12697 #line $LINENO "configure"
12698 /* confdefs.h. */
12699 _ACEOF
12700 cat confdefs.h >>conftest.$ac_ext
12701 cat >>conftest.$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12703 $ac_includes_default
12704 #include <$ac_header>
12705 _ACEOF
12706 rm -f conftest.$ac_objext
12707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12708 (eval $ac_compile) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); } &&
12712 { ac_try='test -s conftest.$ac_objext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 ac_header_compiler=yes
12719 else
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.$ac_ext >&5
12722
12723 ac_header_compiler=no
12724 fi
12725 rm -f conftest.$ac_objext conftest.$ac_ext
12726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12727 echo "${ECHO_T}$ac_header_compiler" >&6
12728
12729 # Is the header present?
12730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12732 cat >conftest.$ac_ext <<_ACEOF
12733 #line $LINENO "configure"
12734 /* confdefs.h. */
12735 _ACEOF
12736 cat confdefs.h >>conftest.$ac_ext
12737 cat >>conftest.$ac_ext <<_ACEOF
12738 /* end confdefs.h. */
12739 #include <$ac_header>
12740 _ACEOF
12741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12743 ac_status=$?
12744 grep -v '^ *+' conftest.er1 >conftest.err
12745 rm -f conftest.er1
12746 cat conftest.err >&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } >/dev/null; then
12749 if test -s conftest.err; then
12750 ac_cpp_err=$ac_c_preproc_warn_flag
12751 else
12752 ac_cpp_err=
12753 fi
12754 else
12755 ac_cpp_err=yes
12756 fi
12757 if test -z "$ac_cpp_err"; then
12758 ac_header_preproc=yes
12759 else
12760 echo "$as_me: failed program was:" >&5
12761 sed 's/^/| /' conftest.$ac_ext >&5
12762
12763 ac_header_preproc=no
12764 fi
12765 rm -f conftest.err conftest.$ac_ext
12766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12767 echo "${ECHO_T}$ac_header_preproc" >&6
12768
12769 # So? What about this header?
12770 case $ac_header_compiler:$ac_header_preproc in
12771 yes:no )
12772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12776 (
12777 cat <<\_ASBOX
12778 ## ------------------------------------ ##
12779 ## Report this to bug-autoconf@gnu.org. ##
12780 ## ------------------------------------ ##
12781 _ASBOX
12782 ) |
12783 sed "s/^/$as_me: WARNING: /" >&2
12784 ;;
12785 no:yes )
12786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12792 (
12793 cat <<\_ASBOX
12794 ## ------------------------------------ ##
12795 ## Report this to bug-autoconf@gnu.org. ##
12796 ## ------------------------------------ ##
12797 _ASBOX
12798 ) |
12799 sed "s/^/$as_me: WARNING: /" >&2
12800 ;;
12801 esac
12802 echo "$as_me:$LINENO: checking for $ac_header" >&5
12803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12805 echo $ECHO_N "(cached) $ECHO_C" >&6
12806 else
12807 eval "$as_ac_Header=$ac_header_preproc"
12808 fi
12809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12811
12812 fi
12813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12814 cat >>confdefs.h <<_ACEOF
12815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12816 _ACEOF
12817
12818 fi
12819
12820 done
12821
12822
12823 for ac_header in wchar.h
12824 do
12825 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12827 echo "$as_me:$LINENO: checking for $ac_header" >&5
12828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 fi
12832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12834 else
12835 # Is the header compilable?
12836 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12837 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12838 cat >conftest.$ac_ext <<_ACEOF
12839 #line $LINENO "configure"
12840 /* confdefs.h. */
12841 _ACEOF
12842 cat confdefs.h >>conftest.$ac_ext
12843 cat >>conftest.$ac_ext <<_ACEOF
12844 /* end confdefs.h. */
12845 $ac_includes_default
12846 #include <$ac_header>
12847 _ACEOF
12848 rm -f conftest.$ac_objext
12849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12850 (eval $ac_compile) 2>&5
12851 ac_status=$?
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try='test -s conftest.$ac_objext'
12855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 (eval $ac_try) 2>&5
12857 ac_status=$?
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); }; }; then
12860 ac_header_compiler=yes
12861 else
12862 echo "$as_me: failed program was:" >&5
12863 sed 's/^/| /' conftest.$ac_ext >&5
12864
12865 ac_header_compiler=no
12866 fi
12867 rm -f conftest.$ac_objext conftest.$ac_ext
12868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12869 echo "${ECHO_T}$ac_header_compiler" >&6
12870
12871 # Is the header present?
12872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12874 cat >conftest.$ac_ext <<_ACEOF
12875 #line $LINENO "configure"
12876 /* confdefs.h. */
12877 _ACEOF
12878 cat confdefs.h >>conftest.$ac_ext
12879 cat >>conftest.$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12881 #include <$ac_header>
12882 _ACEOF
12883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12885 ac_status=$?
12886 grep -v '^ *+' conftest.er1 >conftest.err
12887 rm -f conftest.er1
12888 cat conftest.err >&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } >/dev/null; then
12891 if test -s conftest.err; then
12892 ac_cpp_err=$ac_c_preproc_warn_flag
12893 else
12894 ac_cpp_err=
12895 fi
12896 else
12897 ac_cpp_err=yes
12898 fi
12899 if test -z "$ac_cpp_err"; then
12900 ac_header_preproc=yes
12901 else
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12904
12905 ac_header_preproc=no
12906 fi
12907 rm -f conftest.err conftest.$ac_ext
12908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12909 echo "${ECHO_T}$ac_header_preproc" >&6
12910
12911 # So? What about this header?
12912 case $ac_header_compiler:$ac_header_preproc in
12913 yes:no )
12914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12918 (
12919 cat <<\_ASBOX
12920 ## ------------------------------------ ##
12921 ## Report this to bug-autoconf@gnu.org. ##
12922 ## ------------------------------------ ##
12923 _ASBOX
12924 ) |
12925 sed "s/^/$as_me: WARNING: /" >&2
12926 ;;
12927 no:yes )
12928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12934 (
12935 cat <<\_ASBOX
12936 ## ------------------------------------ ##
12937 ## Report this to bug-autoconf@gnu.org. ##
12938 ## ------------------------------------ ##
12939 _ASBOX
12940 ) |
12941 sed "s/^/$as_me: WARNING: /" >&2
12942 ;;
12943 esac
12944 echo "$as_me:$LINENO: checking for $ac_header" >&5
12945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 else
12949 eval "$as_ac_Header=$ac_header_preproc"
12950 fi
12951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12953
12954 fi
12955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12956 cat >>confdefs.h <<_ACEOF
12957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12958 _ACEOF
12959
12960 fi
12961
12962 done
12963
12964
12965 if test "$ac_cv_header_wchar_h" != "yes"; then
12966
12967 for ac_header in wcstr.h
12968 do
12969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12971 echo "$as_me:$LINENO: checking for $ac_header" >&5
12972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 fi
12976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12978 else
12979 # Is the header compilable?
12980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12982 cat >conftest.$ac_ext <<_ACEOF
12983 #line $LINENO "configure"
12984 /* confdefs.h. */
12985 _ACEOF
12986 cat confdefs.h >>conftest.$ac_ext
12987 cat >>conftest.$ac_ext <<_ACEOF
12988 /* end confdefs.h. */
12989 $ac_includes_default
12990 #include <$ac_header>
12991 _ACEOF
12992 rm -f conftest.$ac_objext
12993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12994 (eval $ac_compile) 2>&5
12995 ac_status=$?
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); } &&
12998 { ac_try='test -s conftest.$ac_objext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13001 ac_status=$?
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 ac_header_compiler=yes
13005 else
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.$ac_ext >&5
13008
13009 ac_header_compiler=no
13010 fi
13011 rm -f conftest.$ac_objext conftest.$ac_ext
13012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13013 echo "${ECHO_T}$ac_header_compiler" >&6
13014
13015 # Is the header present?
13016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13018 cat >conftest.$ac_ext <<_ACEOF
13019 #line $LINENO "configure"
13020 /* confdefs.h. */
13021 _ACEOF
13022 cat confdefs.h >>conftest.$ac_ext
13023 cat >>conftest.$ac_ext <<_ACEOF
13024 /* end confdefs.h. */
13025 #include <$ac_header>
13026 _ACEOF
13027 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13028 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13029 ac_status=$?
13030 grep -v '^ *+' conftest.er1 >conftest.err
13031 rm -f conftest.er1
13032 cat conftest.err >&5
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); } >/dev/null; then
13035 if test -s conftest.err; then
13036 ac_cpp_err=$ac_c_preproc_warn_flag
13037 else
13038 ac_cpp_err=
13039 fi
13040 else
13041 ac_cpp_err=yes
13042 fi
13043 if test -z "$ac_cpp_err"; then
13044 ac_header_preproc=yes
13045 else
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.$ac_ext >&5
13048
13049 ac_header_preproc=no
13050 fi
13051 rm -f conftest.err conftest.$ac_ext
13052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13053 echo "${ECHO_T}$ac_header_preproc" >&6
13054
13055 # So? What about this header?
13056 case $ac_header_compiler:$ac_header_preproc in
13057 yes:no )
13058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13062 (
13063 cat <<\_ASBOX
13064 ## ------------------------------------ ##
13065 ## Report this to bug-autoconf@gnu.org. ##
13066 ## ------------------------------------ ##
13067 _ASBOX
13068 ) |
13069 sed "s/^/$as_me: WARNING: /" >&2
13070 ;;
13071 no:yes )
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13078 (
13079 cat <<\_ASBOX
13080 ## ------------------------------------ ##
13081 ## Report this to bug-autoconf@gnu.org. ##
13082 ## ------------------------------------ ##
13083 _ASBOX
13084 ) |
13085 sed "s/^/$as_me: WARNING: /" >&2
13086 ;;
13087 esac
13088 echo "$as_me:$LINENO: checking for $ac_header" >&5
13089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 else
13093 eval "$as_ac_Header=$ac_header_preproc"
13094 fi
13095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13097
13098 fi
13099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13100 cat >>confdefs.h <<_ACEOF
13101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13102 _ACEOF
13103
13104 fi
13105
13106 done
13107
13108 fi
13109
13110
13111 for ac_header in fnmatch.h
13112 do
13113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13115 echo "$as_me:$LINENO: checking for $ac_header" >&5
13116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 fi
13120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13122 else
13123 # Is the header compilable?
13124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13126 cat >conftest.$ac_ext <<_ACEOF
13127 #line $LINENO "configure"
13128 /* confdefs.h. */
13129 _ACEOF
13130 cat confdefs.h >>conftest.$ac_ext
13131 cat >>conftest.$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13133 $ac_includes_default
13134 #include <$ac_header>
13135 _ACEOF
13136 rm -f conftest.$ac_objext
13137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13138 (eval $ac_compile) 2>&5
13139 ac_status=$?
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); } &&
13142 { ac_try='test -s conftest.$ac_objext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13145 ac_status=$?
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_header_compiler=yes
13149 else
13150 echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.$ac_ext >&5
13152
13153 ac_header_compiler=no
13154 fi
13155 rm -f conftest.$ac_objext conftest.$ac_ext
13156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13157 echo "${ECHO_T}$ac_header_compiler" >&6
13158
13159 # Is the header present?
13160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13162 cat >conftest.$ac_ext <<_ACEOF
13163 #line $LINENO "configure"
13164 /* confdefs.h. */
13165 _ACEOF
13166 cat confdefs.h >>conftest.$ac_ext
13167 cat >>conftest.$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13169 #include <$ac_header>
13170 _ACEOF
13171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13173 ac_status=$?
13174 grep -v '^ *+' conftest.er1 >conftest.err
13175 rm -f conftest.er1
13176 cat conftest.err >&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); } >/dev/null; then
13179 if test -s conftest.err; then
13180 ac_cpp_err=$ac_c_preproc_warn_flag
13181 else
13182 ac_cpp_err=
13183 fi
13184 else
13185 ac_cpp_err=yes
13186 fi
13187 if test -z "$ac_cpp_err"; then
13188 ac_header_preproc=yes
13189 else
13190 echo "$as_me: failed program was:" >&5
13191 sed 's/^/| /' conftest.$ac_ext >&5
13192
13193 ac_header_preproc=no
13194 fi
13195 rm -f conftest.err conftest.$ac_ext
13196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13197 echo "${ECHO_T}$ac_header_preproc" >&6
13198
13199 # So? What about this header?
13200 case $ac_header_compiler:$ac_header_preproc in
13201 yes:no )
13202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13206 (
13207 cat <<\_ASBOX
13208 ## ------------------------------------ ##
13209 ## Report this to bug-autoconf@gnu.org. ##
13210 ## ------------------------------------ ##
13211 _ASBOX
13212 ) |
13213 sed "s/^/$as_me: WARNING: /" >&2
13214 ;;
13215 no:yes )
13216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13222 (
13223 cat <<\_ASBOX
13224 ## ------------------------------------ ##
13225 ## Report this to bug-autoconf@gnu.org. ##
13226 ## ------------------------------------ ##
13227 _ASBOX
13228 ) |
13229 sed "s/^/$as_me: WARNING: /" >&2
13230 ;;
13231 esac
13232 echo "$as_me:$LINENO: checking for $ac_header" >&5
13233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13235 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 else
13237 eval "$as_ac_Header=$ac_header_preproc"
13238 fi
13239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13241
13242 fi
13243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13244 cat >>confdefs.h <<_ACEOF
13245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13246 _ACEOF
13247
13248 fi
13249
13250 done
13251
13252
13253 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13254
13255 for ac_func in fnmatch
13256 do
13257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13258 echo "$as_me:$LINENO: checking for $ac_func" >&5
13259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13260 if eval "test \"\${$as_ac_var+set}\" = set"; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13262 else
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 /* System header to define __stub macros and hopefully few prototypes,
13271 which can conflict with char $ac_func (); below.
13272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13273 <limits.h> exists even on freestanding compilers. */
13274 #ifdef __STDC__
13275 # include <limits.h>
13276 #else
13277 # include <assert.h>
13278 #endif
13279 /* Override any gcc2 internal prototype to avoid an error. */
13280 #ifdef __cplusplus
13281 extern "C"
13282 {
13283 #endif
13284 /* We use char because int might match the return type of a gcc2
13285 builtin and then its argument prototype would still apply. */
13286 char $ac_func ();
13287 /* The GNU C library defines this for functions which it implements
13288 to always fail with ENOSYS. Some functions are actually named
13289 something starting with __ and the normal name is an alias. */
13290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13291 choke me
13292 #else
13293 char (*f) () = $ac_func;
13294 #endif
13295 #ifdef __cplusplus
13296 }
13297 #endif
13298
13299 int
13300 main ()
13301 {
13302 return f != $ac_func;
13303 ;
13304 return 0;
13305 }
13306 _ACEOF
13307 rm -f conftest.$ac_objext conftest$ac_exeext
13308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13309 (eval $ac_link) 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try='test -s conftest$ac_exeext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 eval "$as_ac_var=yes"
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 eval "$as_ac_var=no"
13325 fi
13326 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13327 fi
13328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13330 if test `eval echo '${'$as_ac_var'}'` = yes; then
13331 cat >>confdefs.h <<_ACEOF
13332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13333 _ACEOF
13334
13335 fi
13336 done
13337
13338 fi
13339
13340
13341 for ac_header in langinfo.h
13342 do
13343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13345 echo "$as_me:$LINENO: checking for $ac_header" >&5
13346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 fi
13350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13352 else
13353 # Is the header compilable?
13354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13356 cat >conftest.$ac_ext <<_ACEOF
13357 #line $LINENO "configure"
13358 /* confdefs.h. */
13359 _ACEOF
13360 cat confdefs.h >>conftest.$ac_ext
13361 cat >>conftest.$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13363 $ac_includes_default
13364 #include <$ac_header>
13365 _ACEOF
13366 rm -f conftest.$ac_objext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13368 (eval $ac_compile) 2>&5
13369 ac_status=$?
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } &&
13372 { ac_try='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_header_compiler=yes
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13382
13383 ac_header_compiler=no
13384 fi
13385 rm -f conftest.$ac_objext conftest.$ac_ext
13386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13387 echo "${ECHO_T}$ac_header_compiler" >&6
13388
13389 # Is the header present?
13390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13392 cat >conftest.$ac_ext <<_ACEOF
13393 #line $LINENO "configure"
13394 /* confdefs.h. */
13395 _ACEOF
13396 cat confdefs.h >>conftest.$ac_ext
13397 cat >>conftest.$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 #include <$ac_header>
13400 _ACEOF
13401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13403 ac_status=$?
13404 grep -v '^ *+' conftest.er1 >conftest.err
13405 rm -f conftest.er1
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } >/dev/null; then
13409 if test -s conftest.err; then
13410 ac_cpp_err=$ac_c_preproc_warn_flag
13411 else
13412 ac_cpp_err=
13413 fi
13414 else
13415 ac_cpp_err=yes
13416 fi
13417 if test -z "$ac_cpp_err"; then
13418 ac_header_preproc=yes
13419 else
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13422
13423 ac_header_preproc=no
13424 fi
13425 rm -f conftest.err conftest.$ac_ext
13426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13427 echo "${ECHO_T}$ac_header_preproc" >&6
13428
13429 # So? What about this header?
13430 case $ac_header_compiler:$ac_header_preproc in
13431 yes:no )
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13436 (
13437 cat <<\_ASBOX
13438 ## ------------------------------------ ##
13439 ## Report this to bug-autoconf@gnu.org. ##
13440 ## ------------------------------------ ##
13441 _ASBOX
13442 ) |
13443 sed "s/^/$as_me: WARNING: /" >&2
13444 ;;
13445 no:yes )
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13452 (
13453 cat <<\_ASBOX
13454 ## ------------------------------------ ##
13455 ## Report this to bug-autoconf@gnu.org. ##
13456 ## ------------------------------------ ##
13457 _ASBOX
13458 ) |
13459 sed "s/^/$as_me: WARNING: /" >&2
13460 ;;
13461 esac
13462 echo "$as_me:$LINENO: checking for $ac_header" >&5
13463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13466 else
13467 eval "$as_ac_Header=$ac_header_preproc"
13468 fi
13469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13471
13472 fi
13473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13474 cat >>confdefs.h <<_ACEOF
13475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13476 _ACEOF
13477
13478 fi
13479
13480 done
13481
13482
13483 case "${host}" in
13484 *-pc-os2_emx | *-pc-os2-emx )
13485 if test $ac_cv_header_langinfo_h = "yes"; then
13486 LIBS="$LIBS -lintl"
13487 fi
13488 ;;
13489 esac
13490
13491 if test "$wxUSE_GUI" = "yes"; then
13492 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13493
13494 for ac_header in X11/Xlib.h
13495 do
13496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13498 echo "$as_me:$LINENO: checking for $ac_header" >&5
13499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13501 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 fi
13503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13505 else
13506 # Is the header compilable?
13507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13509 cat >conftest.$ac_ext <<_ACEOF
13510 #line $LINENO "configure"
13511 /* confdefs.h. */
13512 _ACEOF
13513 cat confdefs.h >>conftest.$ac_ext
13514 cat >>conftest.$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516 $ac_includes_default
13517 #include <$ac_header>
13518 _ACEOF
13519 rm -f conftest.$ac_objext
13520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13521 (eval $ac_compile) 2>&5
13522 ac_status=$?
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); } &&
13525 { ac_try='test -s conftest.$ac_objext'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13528 ac_status=$?
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; }; then
13531 ac_header_compiler=yes
13532 else
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.$ac_ext >&5
13535
13536 ac_header_compiler=no
13537 fi
13538 rm -f conftest.$ac_objext conftest.$ac_ext
13539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13540 echo "${ECHO_T}$ac_header_compiler" >&6
13541
13542 # Is the header present?
13543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13545 cat >conftest.$ac_ext <<_ACEOF
13546 #line $LINENO "configure"
13547 /* confdefs.h. */
13548 _ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13552 #include <$ac_header>
13553 _ACEOF
13554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13556 ac_status=$?
13557 grep -v '^ *+' conftest.er1 >conftest.err
13558 rm -f conftest.er1
13559 cat conftest.err >&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } >/dev/null; then
13562 if test -s conftest.err; then
13563 ac_cpp_err=$ac_c_preproc_warn_flag
13564 else
13565 ac_cpp_err=
13566 fi
13567 else
13568 ac_cpp_err=yes
13569 fi
13570 if test -z "$ac_cpp_err"; then
13571 ac_header_preproc=yes
13572 else
13573 echo "$as_me: failed program was:" >&5
13574 sed 's/^/| /' conftest.$ac_ext >&5
13575
13576 ac_header_preproc=no
13577 fi
13578 rm -f conftest.err conftest.$ac_ext
13579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13580 echo "${ECHO_T}$ac_header_preproc" >&6
13581
13582 # So? What about this header?
13583 case $ac_header_compiler:$ac_header_preproc in
13584 yes:no )
13585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13589 (
13590 cat <<\_ASBOX
13591 ## ------------------------------------ ##
13592 ## Report this to bug-autoconf@gnu.org. ##
13593 ## ------------------------------------ ##
13594 _ASBOX
13595 ) |
13596 sed "s/^/$as_me: WARNING: /" >&2
13597 ;;
13598 no:yes )
13599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13605 (
13606 cat <<\_ASBOX
13607 ## ------------------------------------ ##
13608 ## Report this to bug-autoconf@gnu.org. ##
13609 ## ------------------------------------ ##
13610 _ASBOX
13611 ) |
13612 sed "s/^/$as_me: WARNING: /" >&2
13613 ;;
13614 esac
13615 echo "$as_me:$LINENO: checking for $ac_header" >&5
13616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13618 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 else
13620 eval "$as_ac_Header=$ac_header_preproc"
13621 fi
13622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13624
13625 fi
13626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13627 cat >>confdefs.h <<_ACEOF
13628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13629 _ACEOF
13630
13631 fi
13632
13633 done
13634
13635
13636 for ac_header in X11/XKBlib.h
13637 do
13638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13639 echo "$as_me:$LINENO: checking for $ac_header" >&5
13640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 else
13644 cat >conftest.$ac_ext <<_ACEOF
13645 #line $LINENO "configure"
13646 /* confdefs.h. */
13647 _ACEOF
13648 cat confdefs.h >>conftest.$ac_ext
13649 cat >>conftest.$ac_ext <<_ACEOF
13650 /* end confdefs.h. */
13651
13652 #if HAVE_X11_XLIB_H
13653 #include <X11/Xlib.h>
13654 #endif
13655
13656
13657 #include <$ac_header>
13658 _ACEOF
13659 rm -f conftest.$ac_objext
13660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13661 (eval $ac_compile) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); } &&
13665 { ac_try='test -s conftest.$ac_objext'
13666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13667 (eval $ac_try) 2>&5
13668 ac_status=$?
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); }; }; then
13671 eval "$as_ac_Header=yes"
13672 else
13673 echo "$as_me: failed program was:" >&5
13674 sed 's/^/| /' conftest.$ac_ext >&5
13675
13676 eval "$as_ac_Header=no"
13677 fi
13678 rm -f conftest.$ac_objext conftest.$ac_ext
13679 fi
13680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13683 cat >>confdefs.h <<_ACEOF
13684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13685 _ACEOF
13686
13687 fi
13688
13689 done
13690
13691 fi
13692 fi
13693
13694
13695 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13696 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13697 if test "${ac_cv_c_const+set}" = set; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13699 else
13700 cat >conftest.$ac_ext <<_ACEOF
13701 #line $LINENO "configure"
13702 /* confdefs.h. */
13703 _ACEOF
13704 cat confdefs.h >>conftest.$ac_ext
13705 cat >>conftest.$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13707
13708 int
13709 main ()
13710 {
13711 /* FIXME: Include the comments suggested by Paul. */
13712 #ifndef __cplusplus
13713 /* Ultrix mips cc rejects this. */
13714 typedef int charset[2];
13715 const charset x;
13716 /* SunOS 4.1.1 cc rejects this. */
13717 char const *const *ccp;
13718 char **p;
13719 /* NEC SVR4.0.2 mips cc rejects this. */
13720 struct point {int x, y;};
13721 static struct point const zero = {0,0};
13722 /* AIX XL C 1.02.0.0 rejects this.
13723 It does not let you subtract one const X* pointer from another in
13724 an arm of an if-expression whose if-part is not a constant
13725 expression */
13726 const char *g = "string";
13727 ccp = &g + (g ? g-g : 0);
13728 /* HPUX 7.0 cc rejects these. */
13729 ++ccp;
13730 p = (char**) ccp;
13731 ccp = (char const *const *) p;
13732 { /* SCO 3.2v4 cc rejects this. */
13733 char *t;
13734 char const *s = 0 ? (char *) 0 : (char const *) 0;
13735
13736 *t++ = 0;
13737 }
13738 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13739 int x[] = {25, 17};
13740 const int *foo = &x[0];
13741 ++foo;
13742 }
13743 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13744 typedef const int *iptr;
13745 iptr p = 0;
13746 ++p;
13747 }
13748 { /* AIX XL C 1.02.0.0 rejects this saying
13749 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13750 struct s { int j; const int *ap[3]; };
13751 struct s *b; b->j = 5;
13752 }
13753 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13754 const int foo = 10;
13755 }
13756 #endif
13757
13758 ;
13759 return 0;
13760 }
13761 _ACEOF
13762 rm -f conftest.$ac_objext
13763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13764 (eval $ac_compile) 2>&5
13765 ac_status=$?
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try='test -s conftest.$ac_objext'
13769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13770 (eval $ac_try) 2>&5
13771 ac_status=$?
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); }; }; then
13774 ac_cv_c_const=yes
13775 else
13776 echo "$as_me: failed program was:" >&5
13777 sed 's/^/| /' conftest.$ac_ext >&5
13778
13779 ac_cv_c_const=no
13780 fi
13781 rm -f conftest.$ac_objext conftest.$ac_ext
13782 fi
13783 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13784 echo "${ECHO_T}$ac_cv_c_const" >&6
13785 if test $ac_cv_c_const = no; then
13786
13787 cat >>confdefs.h <<\_ACEOF
13788 #define const
13789 _ACEOF
13790
13791 fi
13792
13793 echo "$as_me:$LINENO: checking for inline" >&5
13794 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13795 if test "${ac_cv_c_inline+set}" = set; then
13796 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 else
13798 ac_cv_c_inline=no
13799 for ac_kw in inline __inline__ __inline; do
13800 cat >conftest.$ac_ext <<_ACEOF
13801 #line $LINENO "configure"
13802 /* confdefs.h. */
13803 _ACEOF
13804 cat confdefs.h >>conftest.$ac_ext
13805 cat >>conftest.$ac_ext <<_ACEOF
13806 /* end confdefs.h. */
13807 #ifndef __cplusplus
13808 typedef int foo_t;
13809 static $ac_kw foo_t static_foo () {return 0; }
13810 $ac_kw foo_t foo () {return 0; }
13811 #endif
13812
13813 _ACEOF
13814 rm -f conftest.$ac_objext
13815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13816 (eval $ac_compile) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try='test -s conftest.$ac_objext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13823 ac_status=$?
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 ac_cv_c_inline=$ac_kw; break
13827 else
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.$ac_ext >&5
13830
13831 fi
13832 rm -f conftest.$ac_objext conftest.$ac_ext
13833 done
13834
13835 fi
13836 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13837 echo "${ECHO_T}$ac_cv_c_inline" >&6
13838 case $ac_cv_c_inline in
13839 inline | yes) ;;
13840 no)
13841 cat >>confdefs.h <<\_ACEOF
13842 #define inline
13843 _ACEOF
13844 ;;
13845 *) cat >>confdefs.h <<_ACEOF
13846 #define inline $ac_cv_c_inline
13847 _ACEOF
13848 ;;
13849 esac
13850
13851
13852 echo "$as_me:$LINENO: checking for char" >&5
13853 echo $ECHO_N "checking for char... $ECHO_C" >&6
13854 if test "${ac_cv_type_char+set}" = set; then
13855 echo $ECHO_N "(cached) $ECHO_C" >&6
13856 else
13857 cat >conftest.$ac_ext <<_ACEOF
13858 #line $LINENO "configure"
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 $ac_includes_default
13865 int
13866 main ()
13867 {
13868 if ((char *) 0)
13869 return 0;
13870 if (sizeof (char))
13871 return 0;
13872 ;
13873 return 0;
13874 }
13875 _ACEOF
13876 rm -f conftest.$ac_objext
13877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13878 (eval $ac_compile) 2>&5
13879 ac_status=$?
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); } &&
13882 { ac_try='test -s conftest.$ac_objext'
13883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884 (eval $ac_try) 2>&5
13885 ac_status=$?
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); }; }; then
13888 ac_cv_type_char=yes
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 ac_cv_type_char=no
13894 fi
13895 rm -f conftest.$ac_objext conftest.$ac_ext
13896 fi
13897 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13898 echo "${ECHO_T}$ac_cv_type_char" >&6
13899
13900 echo "$as_me:$LINENO: checking size of char" >&5
13901 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13902 if test "${ac_cv_sizeof_char+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 if test "$ac_cv_type_char" = yes; then
13906 # The cast to unsigned long works around a bug in the HP C Compiler
13907 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13908 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13909 # This bug is HP SR number 8606223364.
13910 if test "$cross_compiling" = yes; then
13911 # Depending upon the size, compute the lo and hi bounds.
13912 cat >conftest.$ac_ext <<_ACEOF
13913 #line $LINENO "configure"
13914 /* confdefs.h. */
13915 _ACEOF
13916 cat confdefs.h >>conftest.$ac_ext
13917 cat >>conftest.$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 $ac_includes_default
13920 int
13921 main ()
13922 {
13923 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13924 test_array [0] = 0
13925
13926 ;
13927 return 0;
13928 }
13929 _ACEOF
13930 rm -f conftest.$ac_objext
13931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13932 (eval $ac_compile) 2>&5
13933 ac_status=$?
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); } &&
13936 { ac_try='test -s conftest.$ac_objext'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13939 ac_status=$?
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; }; then
13942 ac_lo=0 ac_mid=0
13943 while :; do
13944 cat >conftest.$ac_ext <<_ACEOF
13945 #line $LINENO "configure"
13946 /* confdefs.h. */
13947 _ACEOF
13948 cat confdefs.h >>conftest.$ac_ext
13949 cat >>conftest.$ac_ext <<_ACEOF
13950 /* end confdefs.h. */
13951 $ac_includes_default
13952 int
13953 main ()
13954 {
13955 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13956 test_array [0] = 0
13957
13958 ;
13959 return 0;
13960 }
13961 _ACEOF
13962 rm -f conftest.$ac_objext
13963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13964 (eval $ac_compile) 2>&5
13965 ac_status=$?
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); } &&
13968 { ac_try='test -s conftest.$ac_objext'
13969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 (eval $ac_try) 2>&5
13971 ac_status=$?
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }; }; then
13974 ac_hi=$ac_mid; break
13975 else
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.$ac_ext >&5
13978
13979 ac_lo=`expr $ac_mid + 1`
13980 if test $ac_lo -le $ac_mid; then
13981 ac_lo= ac_hi=
13982 break
13983 fi
13984 ac_mid=`expr 2 '*' $ac_mid + 1`
13985 fi
13986 rm -f conftest.$ac_objext conftest.$ac_ext
13987 done
13988 else
13989 echo "$as_me: failed program was:" >&5
13990 sed 's/^/| /' conftest.$ac_ext >&5
13991
13992 cat >conftest.$ac_ext <<_ACEOF
13993 #line $LINENO "configure"
13994 /* confdefs.h. */
13995 _ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 $ac_includes_default
14000 int
14001 main ()
14002 {
14003 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14004 test_array [0] = 0
14005
14006 ;
14007 return 0;
14008 }
14009 _ACEOF
14010 rm -f conftest.$ac_objext
14011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14012 (eval $ac_compile) 2>&5
14013 ac_status=$?
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } &&
14016 { ac_try='test -s conftest.$ac_objext'
14017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 (eval $ac_try) 2>&5
14019 ac_status=$?
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); }; }; then
14022 ac_hi=-1 ac_mid=-1
14023 while :; do
14024 cat >conftest.$ac_ext <<_ACEOF
14025 #line $LINENO "configure"
14026 /* confdefs.h. */
14027 _ACEOF
14028 cat confdefs.h >>conftest.$ac_ext
14029 cat >>conftest.$ac_ext <<_ACEOF
14030 /* end confdefs.h. */
14031 $ac_includes_default
14032 int
14033 main ()
14034 {
14035 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14036 test_array [0] = 0
14037
14038 ;
14039 return 0;
14040 }
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14044 (eval $ac_compile) 2>&5
14045 ac_status=$?
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } &&
14048 { ac_try='test -s conftest.$ac_objext'
14049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14050 (eval $ac_try) 2>&5
14051 ac_status=$?
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 (exit $ac_status); }; }; then
14054 ac_lo=$ac_mid; break
14055 else
14056 echo "$as_me: failed program was:" >&5
14057 sed 's/^/| /' conftest.$ac_ext >&5
14058
14059 ac_hi=`expr '(' $ac_mid ')' - 1`
14060 if test $ac_mid -le $ac_hi; then
14061 ac_lo= ac_hi=
14062 break
14063 fi
14064 ac_mid=`expr 2 '*' $ac_mid`
14065 fi
14066 rm -f conftest.$ac_objext conftest.$ac_ext
14067 done
14068 else
14069 echo "$as_me: failed program was:" >&5
14070 sed 's/^/| /' conftest.$ac_ext >&5
14071
14072 ac_lo= ac_hi=
14073 fi
14074 rm -f conftest.$ac_objext conftest.$ac_ext
14075 fi
14076 rm -f conftest.$ac_objext conftest.$ac_ext
14077 # Binary search between lo and hi bounds.
14078 while test "x$ac_lo" != "x$ac_hi"; do
14079 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14080 cat >conftest.$ac_ext <<_ACEOF
14081 #line $LINENO "configure"
14082 /* confdefs.h. */
14083 _ACEOF
14084 cat confdefs.h >>conftest.$ac_ext
14085 cat >>conftest.$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14087 $ac_includes_default
14088 int
14089 main ()
14090 {
14091 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14092 test_array [0] = 0
14093
14094 ;
14095 return 0;
14096 }
14097 _ACEOF
14098 rm -f conftest.$ac_objext
14099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14100 (eval $ac_compile) 2>&5
14101 ac_status=$?
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); } &&
14104 { ac_try='test -s conftest.$ac_objext'
14105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14106 (eval $ac_try) 2>&5
14107 ac_status=$?
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); }; }; then
14110 ac_hi=$ac_mid
14111 else
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.$ac_ext >&5
14114
14115 ac_lo=`expr '(' $ac_mid ')' + 1`
14116 fi
14117 rm -f conftest.$ac_objext conftest.$ac_ext
14118 done
14119 case $ac_lo in
14120 ?*) ac_cv_sizeof_char=$ac_lo;;
14121 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14122 See \`config.log' for more details." >&5
14123 echo "$as_me: error: cannot compute sizeof (char), 77
14124 See \`config.log' for more details." >&2;}
14125 { (exit 1); exit 1; }; } ;;
14126 esac
14127 else
14128 if test "$cross_compiling" = yes; then
14129 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14130 See \`config.log' for more details." >&5
14131 echo "$as_me: error: cannot run test program while cross compiling
14132 See \`config.log' for more details." >&2;}
14133 { (exit 1); exit 1; }; }
14134 else
14135 cat >conftest.$ac_ext <<_ACEOF
14136 #line $LINENO "configure"
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 $ac_includes_default
14143 long longval () { return (long) (sizeof (char)); }
14144 unsigned long ulongval () { return (long) (sizeof (char)); }
14145 #include <stdio.h>
14146 #include <stdlib.h>
14147 int
14148 main ()
14149 {
14150
14151 FILE *f = fopen ("conftest.val", "w");
14152 if (! f)
14153 exit (1);
14154 if (((long) (sizeof (char))) < 0)
14155 {
14156 long i = longval ();
14157 if (i != ((long) (sizeof (char))))
14158 exit (1);
14159 fprintf (f, "%ld\n", i);
14160 }
14161 else
14162 {
14163 unsigned long i = ulongval ();
14164 if (i != ((long) (sizeof (char))))
14165 exit (1);
14166 fprintf (f, "%lu\n", i);
14167 }
14168 exit (ferror (f) || fclose (f) != 0);
14169
14170 ;
14171 return 0;
14172 }
14173 _ACEOF
14174 rm -f conftest$ac_exeext
14175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14176 (eval $ac_link) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_sizeof_char=`cat conftest.val`
14186 else
14187 echo "$as_me: program exited with status $ac_status" >&5
14188 echo "$as_me: failed program was:" >&5
14189 sed 's/^/| /' conftest.$ac_ext >&5
14190
14191 ( exit $ac_status )
14192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14193 See \`config.log' for more details." >&5
14194 echo "$as_me: error: cannot compute sizeof (char), 77
14195 See \`config.log' for more details." >&2;}
14196 { (exit 1); exit 1; }; }
14197 fi
14198 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14199 fi
14200 fi
14201 rm -f conftest.val
14202 else
14203 ac_cv_sizeof_char=0
14204 fi
14205 fi
14206 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14207 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14208 cat >>confdefs.h <<_ACEOF
14209 #define SIZEOF_CHAR $ac_cv_sizeof_char
14210 _ACEOF
14211
14212
14213 echo "$as_me:$LINENO: checking for short" >&5
14214 echo $ECHO_N "checking for short... $ECHO_C" >&6
14215 if test "${ac_cv_type_short+set}" = set; then
14216 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 else
14218 cat >conftest.$ac_ext <<_ACEOF
14219 #line $LINENO "configure"
14220 /* confdefs.h. */
14221 _ACEOF
14222 cat confdefs.h >>conftest.$ac_ext
14223 cat >>conftest.$ac_ext <<_ACEOF
14224 /* end confdefs.h. */
14225 $ac_includes_default
14226 int
14227 main ()
14228 {
14229 if ((short *) 0)
14230 return 0;
14231 if (sizeof (short))
14232 return 0;
14233 ;
14234 return 0;
14235 }
14236 _ACEOF
14237 rm -f conftest.$ac_objext
14238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14239 (eval $ac_compile) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); } &&
14243 { ac_try='test -s conftest.$ac_objext'
14244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14245 (eval $ac_try) 2>&5
14246 ac_status=$?
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); }; }; then
14249 ac_cv_type_short=yes
14250 else
14251 echo "$as_me: failed program was:" >&5
14252 sed 's/^/| /' conftest.$ac_ext >&5
14253
14254 ac_cv_type_short=no
14255 fi
14256 rm -f conftest.$ac_objext conftest.$ac_ext
14257 fi
14258 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14259 echo "${ECHO_T}$ac_cv_type_short" >&6
14260
14261 echo "$as_me:$LINENO: checking size of short" >&5
14262 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14263 if test "${ac_cv_sizeof_short+set}" = set; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14265 else
14266 if test "$ac_cv_type_short" = yes; then
14267 # The cast to unsigned long works around a bug in the HP C Compiler
14268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14270 # This bug is HP SR number 8606223364.
14271 if test "$cross_compiling" = yes; then
14272 # Depending upon the size, compute the lo and hi bounds.
14273 cat >conftest.$ac_ext <<_ACEOF
14274 #line $LINENO "configure"
14275 /* confdefs.h. */
14276 _ACEOF
14277 cat confdefs.h >>conftest.$ac_ext
14278 cat >>conftest.$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14280 $ac_includes_default
14281 int
14282 main ()
14283 {
14284 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14285 test_array [0] = 0
14286
14287 ;
14288 return 0;
14289 }
14290 _ACEOF
14291 rm -f conftest.$ac_objext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14293 (eval $ac_compile) 2>&5
14294 ac_status=$?
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try='test -s conftest.$ac_objext'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 ac_lo=0 ac_mid=0
14304 while :; do
14305 cat >conftest.$ac_ext <<_ACEOF
14306 #line $LINENO "configure"
14307 /* confdefs.h. */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 $ac_includes_default
14313 int
14314 main ()
14315 {
14316 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14317 test_array [0] = 0
14318
14319 ;
14320 return 0;
14321 }
14322 _ACEOF
14323 rm -f conftest.$ac_objext
14324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14325 (eval $ac_compile) 2>&5
14326 ac_status=$?
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try='test -s conftest.$ac_objext'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14332 ac_status=$?
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; }; then
14335 ac_hi=$ac_mid; break
14336 else
14337 echo "$as_me: failed program was:" >&5
14338 sed 's/^/| /' conftest.$ac_ext >&5
14339
14340 ac_lo=`expr $ac_mid + 1`
14341 if test $ac_lo -le $ac_mid; then
14342 ac_lo= ac_hi=
14343 break
14344 fi
14345 ac_mid=`expr 2 '*' $ac_mid + 1`
14346 fi
14347 rm -f conftest.$ac_objext conftest.$ac_ext
14348 done
14349 else
14350 echo "$as_me: failed program was:" >&5
14351 sed 's/^/| /' conftest.$ac_ext >&5
14352
14353 cat >conftest.$ac_ext <<_ACEOF
14354 #line $LINENO "configure"
14355 /* confdefs.h. */
14356 _ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 $ac_includes_default
14361 int
14362 main ()
14363 {
14364 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14365 test_array [0] = 0
14366
14367 ;
14368 return 0;
14369 }
14370 _ACEOF
14371 rm -f conftest.$ac_objext
14372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14373 (eval $ac_compile) 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try='test -s conftest.$ac_objext'
14378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14379 (eval $ac_try) 2>&5
14380 ac_status=$?
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); }; }; then
14383 ac_hi=-1 ac_mid=-1
14384 while :; do
14385 cat >conftest.$ac_ext <<_ACEOF
14386 #line $LINENO "configure"
14387 /* confdefs.h. */
14388 _ACEOF
14389 cat confdefs.h >>conftest.$ac_ext
14390 cat >>conftest.$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14392 $ac_includes_default
14393 int
14394 main ()
14395 {
14396 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14397 test_array [0] = 0
14398
14399 ;
14400 return 0;
14401 }
14402 _ACEOF
14403 rm -f conftest.$ac_objext
14404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14405 (eval $ac_compile) 2>&5
14406 ac_status=$?
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } &&
14409 { ac_try='test -s conftest.$ac_objext'
14410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14411 (eval $ac_try) 2>&5
14412 ac_status=$?
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }; }; then
14415 ac_lo=$ac_mid; break
14416 else
14417 echo "$as_me: failed program was:" >&5
14418 sed 's/^/| /' conftest.$ac_ext >&5
14419
14420 ac_hi=`expr '(' $ac_mid ')' - 1`
14421 if test $ac_mid -le $ac_hi; then
14422 ac_lo= ac_hi=
14423 break
14424 fi
14425 ac_mid=`expr 2 '*' $ac_mid`
14426 fi
14427 rm -f conftest.$ac_objext conftest.$ac_ext
14428 done
14429 else
14430 echo "$as_me: failed program was:" >&5
14431 sed 's/^/| /' conftest.$ac_ext >&5
14432
14433 ac_lo= ac_hi=
14434 fi
14435 rm -f conftest.$ac_objext conftest.$ac_ext
14436 fi
14437 rm -f conftest.$ac_objext conftest.$ac_ext
14438 # Binary search between lo and hi bounds.
14439 while test "x$ac_lo" != "x$ac_hi"; do
14440 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14441 cat >conftest.$ac_ext <<_ACEOF
14442 #line $LINENO "configure"
14443 /* confdefs.h. */
14444 _ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14448 $ac_includes_default
14449 int
14450 main ()
14451 {
14452 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14453 test_array [0] = 0
14454
14455 ;
14456 return 0;
14457 }
14458 _ACEOF
14459 rm -f conftest.$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>&5
14462 ac_status=$?
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } &&
14465 { ac_try='test -s conftest.$ac_objext'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14468 ac_status=$?
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; }; then
14471 ac_hi=$ac_mid
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14475
14476 ac_lo=`expr '(' $ac_mid ')' + 1`
14477 fi
14478 rm -f conftest.$ac_objext conftest.$ac_ext
14479 done
14480 case $ac_lo in
14481 ?*) ac_cv_sizeof_short=$ac_lo;;
14482 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14483 See \`config.log' for more details." >&5
14484 echo "$as_me: error: cannot compute sizeof (short), 77
14485 See \`config.log' for more details." >&2;}
14486 { (exit 1); exit 1; }; } ;;
14487 esac
14488 else
14489 if test "$cross_compiling" = yes; then
14490 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14491 See \`config.log' for more details." >&5
14492 echo "$as_me: error: cannot run test program while cross compiling
14493 See \`config.log' for more details." >&2;}
14494 { (exit 1); exit 1; }; }
14495 else
14496 cat >conftest.$ac_ext <<_ACEOF
14497 #line $LINENO "configure"
14498 /* confdefs.h. */
14499 _ACEOF
14500 cat confdefs.h >>conftest.$ac_ext
14501 cat >>conftest.$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 $ac_includes_default
14504 long longval () { return (long) (sizeof (short)); }
14505 unsigned long ulongval () { return (long) (sizeof (short)); }
14506 #include <stdio.h>
14507 #include <stdlib.h>
14508 int
14509 main ()
14510 {
14511
14512 FILE *f = fopen ("conftest.val", "w");
14513 if (! f)
14514 exit (1);
14515 if (((long) (sizeof (short))) < 0)
14516 {
14517 long i = longval ();
14518 if (i != ((long) (sizeof (short))))
14519 exit (1);
14520 fprintf (f, "%ld\n", i);
14521 }
14522 else
14523 {
14524 unsigned long i = ulongval ();
14525 if (i != ((long) (sizeof (short))))
14526 exit (1);
14527 fprintf (f, "%lu\n", i);
14528 }
14529 exit (ferror (f) || fclose (f) != 0);
14530
14531 ;
14532 return 0;
14533 }
14534 _ACEOF
14535 rm -f conftest$ac_exeext
14536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14537 (eval $ac_link) 2>&5
14538 ac_status=$?
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14543 ac_status=$?
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; }; then
14546 ac_cv_sizeof_short=`cat conftest.val`
14547 else
14548 echo "$as_me: program exited with status $ac_status" >&5
14549 echo "$as_me: failed program was:" >&5
14550 sed 's/^/| /' conftest.$ac_ext >&5
14551
14552 ( exit $ac_status )
14553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14554 See \`config.log' for more details." >&5
14555 echo "$as_me: error: cannot compute sizeof (short), 77
14556 See \`config.log' for more details." >&2;}
14557 { (exit 1); exit 1; }; }
14558 fi
14559 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14560 fi
14561 fi
14562 rm -f conftest.val
14563 else
14564 ac_cv_sizeof_short=0
14565 fi
14566 fi
14567 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14568 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14569 cat >>confdefs.h <<_ACEOF
14570 #define SIZEOF_SHORT $ac_cv_sizeof_short
14571 _ACEOF
14572
14573
14574 echo "$as_me:$LINENO: checking for void *" >&5
14575 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14576 if test "${ac_cv_type_void_p+set}" = set; then
14577 echo $ECHO_N "(cached) $ECHO_C" >&6
14578 else
14579 cat >conftest.$ac_ext <<_ACEOF
14580 #line $LINENO "configure"
14581 /* confdefs.h. */
14582 _ACEOF
14583 cat confdefs.h >>conftest.$ac_ext
14584 cat >>conftest.$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 $ac_includes_default
14587 int
14588 main ()
14589 {
14590 if ((void * *) 0)
14591 return 0;
14592 if (sizeof (void *))
14593 return 0;
14594 ;
14595 return 0;
14596 }
14597 _ACEOF
14598 rm -f conftest.$ac_objext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14600 (eval $ac_compile) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); } &&
14604 { ac_try='test -s conftest.$ac_objext'
14605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14606 (eval $ac_try) 2>&5
14607 ac_status=$?
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); }; }; then
14610 ac_cv_type_void_p=yes
14611 else
14612 echo "$as_me: failed program was:" >&5
14613 sed 's/^/| /' conftest.$ac_ext >&5
14614
14615 ac_cv_type_void_p=no
14616 fi
14617 rm -f conftest.$ac_objext conftest.$ac_ext
14618 fi
14619 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14620 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14621
14622 echo "$as_me:$LINENO: checking size of void *" >&5
14623 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14624 if test "${ac_cv_sizeof_void_p+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 else
14627 if test "$ac_cv_type_void_p" = yes; then
14628 # The cast to unsigned long works around a bug in the HP C Compiler
14629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14631 # This bug is HP SR number 8606223364.
14632 if test "$cross_compiling" = yes; then
14633 # Depending upon the size, compute the lo and hi bounds.
14634 cat >conftest.$ac_ext <<_ACEOF
14635 #line $LINENO "configure"
14636 /* confdefs.h. */
14637 _ACEOF
14638 cat confdefs.h >>conftest.$ac_ext
14639 cat >>conftest.$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 $ac_includes_default
14642 int
14643 main ()
14644 {
14645 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14646 test_array [0] = 0
14647
14648 ;
14649 return 0;
14650 }
14651 _ACEOF
14652 rm -f conftest.$ac_objext
14653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14654 (eval $ac_compile) 2>&5
14655 ac_status=$?
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try='test -s conftest.$ac_objext'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; }; then
14664 ac_lo=0 ac_mid=0
14665 while :; do
14666 cat >conftest.$ac_ext <<_ACEOF
14667 #line $LINENO "configure"
14668 /* confdefs.h. */
14669 _ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14673 $ac_includes_default
14674 int
14675 main ()
14676 {
14677 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14678 test_array [0] = 0
14679
14680 ;
14681 return 0;
14682 }
14683 _ACEOF
14684 rm -f conftest.$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>&5
14687 ac_status=$?
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try='test -s conftest.$ac_objext'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14693 ac_status=$?
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14696 ac_hi=$ac_mid; break
14697 else
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14700
14701 ac_lo=`expr $ac_mid + 1`
14702 if test $ac_lo -le $ac_mid; then
14703 ac_lo= ac_hi=
14704 break
14705 fi
14706 ac_mid=`expr 2 '*' $ac_mid + 1`
14707 fi
14708 rm -f conftest.$ac_objext conftest.$ac_ext
14709 done
14710 else
14711 echo "$as_me: failed program was:" >&5
14712 sed 's/^/| /' conftest.$ac_ext >&5
14713
14714 cat >conftest.$ac_ext <<_ACEOF
14715 #line $LINENO "configure"
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 $ac_includes_default
14722 int
14723 main ()
14724 {
14725 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14726 test_array [0] = 0
14727
14728 ;
14729 return 0;
14730 }
14731 _ACEOF
14732 rm -f conftest.$ac_objext
14733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14734 (eval $ac_compile) 2>&5
14735 ac_status=$?
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try='test -s conftest.$ac_objext'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14741 ac_status=$?
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; }; then
14744 ac_hi=-1 ac_mid=-1
14745 while :; do
14746 cat >conftest.$ac_ext <<_ACEOF
14747 #line $LINENO "configure"
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 $ac_includes_default
14754 int
14755 main ()
14756 {
14757 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14758 test_array [0] = 0
14759
14760 ;
14761 return 0;
14762 }
14763 _ACEOF
14764 rm -f conftest.$ac_objext
14765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14766 (eval $ac_compile) 2>&5
14767 ac_status=$?
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } &&
14770 { ac_try='test -s conftest.$ac_objext'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14773 ac_status=$?
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; }; then
14776 ac_lo=$ac_mid; break
14777 else
14778 echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.$ac_ext >&5
14780
14781 ac_hi=`expr '(' $ac_mid ')' - 1`
14782 if test $ac_mid -le $ac_hi; then
14783 ac_lo= ac_hi=
14784 break
14785 fi
14786 ac_mid=`expr 2 '*' $ac_mid`
14787 fi
14788 rm -f conftest.$ac_objext conftest.$ac_ext
14789 done
14790 else
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.$ac_ext >&5
14793
14794 ac_lo= ac_hi=
14795 fi
14796 rm -f conftest.$ac_objext conftest.$ac_ext
14797 fi
14798 rm -f conftest.$ac_objext conftest.$ac_ext
14799 # Binary search between lo and hi bounds.
14800 while test "x$ac_lo" != "x$ac_hi"; do
14801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14802 cat >conftest.$ac_ext <<_ACEOF
14803 #line $LINENO "configure"
14804 /* confdefs.h. */
14805 _ACEOF
14806 cat confdefs.h >>conftest.$ac_ext
14807 cat >>conftest.$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14809 $ac_includes_default
14810 int
14811 main ()
14812 {
14813 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14814 test_array [0] = 0
14815
14816 ;
14817 return 0;
14818 }
14819 _ACEOF
14820 rm -f conftest.$ac_objext
14821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14822 (eval $ac_compile) 2>&5
14823 ac_status=$?
14824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14825 (exit $ac_status); } &&
14826 { ac_try='test -s conftest.$ac_objext'
14827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14828 (eval $ac_try) 2>&5
14829 ac_status=$?
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); }; }; then
14832 ac_hi=$ac_mid
14833 else
14834 echo "$as_me: failed program was:" >&5
14835 sed 's/^/| /' conftest.$ac_ext >&5
14836
14837 ac_lo=`expr '(' $ac_mid ')' + 1`
14838 fi
14839 rm -f conftest.$ac_objext conftest.$ac_ext
14840 done
14841 case $ac_lo in
14842 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14843 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14844 See \`config.log' for more details." >&5
14845 echo "$as_me: error: cannot compute sizeof (void *), 77
14846 See \`config.log' for more details." >&2;}
14847 { (exit 1); exit 1; }; } ;;
14848 esac
14849 else
14850 if test "$cross_compiling" = yes; then
14851 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14852 See \`config.log' for more details." >&5
14853 echo "$as_me: error: cannot run test program while cross compiling
14854 See \`config.log' for more details." >&2;}
14855 { (exit 1); exit 1; }; }
14856 else
14857 cat >conftest.$ac_ext <<_ACEOF
14858 #line $LINENO "configure"
14859 /* confdefs.h. */
14860 _ACEOF
14861 cat confdefs.h >>conftest.$ac_ext
14862 cat >>conftest.$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864 $ac_includes_default
14865 long longval () { return (long) (sizeof (void *)); }
14866 unsigned long ulongval () { return (long) (sizeof (void *)); }
14867 #include <stdio.h>
14868 #include <stdlib.h>
14869 int
14870 main ()
14871 {
14872
14873 FILE *f = fopen ("conftest.val", "w");
14874 if (! f)
14875 exit (1);
14876 if (((long) (sizeof (void *))) < 0)
14877 {
14878 long i = longval ();
14879 if (i != ((long) (sizeof (void *))))
14880 exit (1);
14881 fprintf (f, "%ld\n", i);
14882 }
14883 else
14884 {
14885 unsigned long i = ulongval ();
14886 if (i != ((long) (sizeof (void *))))
14887 exit (1);
14888 fprintf (f, "%lu\n", i);
14889 }
14890 exit (ferror (f) || fclose (f) != 0);
14891
14892 ;
14893 return 0;
14894 }
14895 _ACEOF
14896 rm -f conftest$ac_exeext
14897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14898 (eval $ac_link) 2>&5
14899 ac_status=$?
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14904 ac_status=$?
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 ac_cv_sizeof_void_p=`cat conftest.val`
14908 else
14909 echo "$as_me: program exited with status $ac_status" >&5
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.$ac_ext >&5
14912
14913 ( exit $ac_status )
14914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14915 See \`config.log' for more details." >&5
14916 echo "$as_me: error: cannot compute sizeof (void *), 77
14917 See \`config.log' for more details." >&2;}
14918 { (exit 1); exit 1; }; }
14919 fi
14920 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14921 fi
14922 fi
14923 rm -f conftest.val
14924 else
14925 ac_cv_sizeof_void_p=0
14926 fi
14927 fi
14928 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14929 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14930 cat >>confdefs.h <<_ACEOF
14931 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14932 _ACEOF
14933
14934
14935 echo "$as_me:$LINENO: checking for int" >&5
14936 echo $ECHO_N "checking for int... $ECHO_C" >&6
14937 if test "${ac_cv_type_int+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 else
14940 cat >conftest.$ac_ext <<_ACEOF
14941 #line $LINENO "configure"
14942 /* confdefs.h. */
14943 _ACEOF
14944 cat confdefs.h >>conftest.$ac_ext
14945 cat >>conftest.$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14947 $ac_includes_default
14948 int
14949 main ()
14950 {
14951 if ((int *) 0)
14952 return 0;
14953 if (sizeof (int))
14954 return 0;
14955 ;
14956 return 0;
14957 }
14958 _ACEOF
14959 rm -f conftest.$ac_objext
14960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14961 (eval $ac_compile) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } &&
14965 { ac_try='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 ac_cv_type_int=yes
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14975
14976 ac_cv_type_int=no
14977 fi
14978 rm -f conftest.$ac_objext conftest.$ac_ext
14979 fi
14980 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14981 echo "${ECHO_T}$ac_cv_type_int" >&6
14982
14983 echo "$as_me:$LINENO: checking size of int" >&5
14984 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14985 if test "${ac_cv_sizeof_int+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 else
14988 if test "$ac_cv_type_int" = yes; then
14989 # The cast to unsigned long works around a bug in the HP C Compiler
14990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14992 # This bug is HP SR number 8606223364.
14993 if test "$cross_compiling" = yes; then
14994 # Depending upon the size, compute the lo and hi bounds.
14995 cat >conftest.$ac_ext <<_ACEOF
14996 #line $LINENO "configure"
14997 /* confdefs.h. */
14998 _ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 $ac_includes_default
15003 int
15004 main ()
15005 {
15006 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15007 test_array [0] = 0
15008
15009 ;
15010 return 0;
15011 }
15012 _ACEOF
15013 rm -f conftest.$ac_objext
15014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15015 (eval $ac_compile) 2>&5
15016 ac_status=$?
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } &&
15019 { ac_try='test -s conftest.$ac_objext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15022 ac_status=$?
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 ac_lo=0 ac_mid=0
15026 while :; do
15027 cat >conftest.$ac_ext <<_ACEOF
15028 #line $LINENO "configure"
15029 /* confdefs.h. */
15030 _ACEOF
15031 cat confdefs.h >>conftest.$ac_ext
15032 cat >>conftest.$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15034 $ac_includes_default
15035 int
15036 main ()
15037 {
15038 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15039 test_array [0] = 0
15040
15041 ;
15042 return 0;
15043 }
15044 _ACEOF
15045 rm -f conftest.$ac_objext
15046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15047 (eval $ac_compile) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } &&
15051 { ac_try='test -s conftest.$ac_objext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15054 ac_status=$?
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 ac_hi=$ac_mid; break
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15061
15062 ac_lo=`expr $ac_mid + 1`
15063 if test $ac_lo -le $ac_mid; then
15064 ac_lo= ac_hi=
15065 break
15066 fi
15067 ac_mid=`expr 2 '*' $ac_mid + 1`
15068 fi
15069 rm -f conftest.$ac_objext conftest.$ac_ext
15070 done
15071 else
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15074
15075 cat >conftest.$ac_ext <<_ACEOF
15076 #line $LINENO "configure"
15077 /* confdefs.h. */
15078 _ACEOF
15079 cat confdefs.h >>conftest.$ac_ext
15080 cat >>conftest.$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15082 $ac_includes_default
15083 int
15084 main ()
15085 {
15086 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15087 test_array [0] = 0
15088
15089 ;
15090 return 0;
15091 }
15092 _ACEOF
15093 rm -f conftest.$ac_objext
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>&5
15096 ac_status=$?
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } &&
15099 { ac_try='test -s conftest.$ac_objext'
15100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15101 (eval $ac_try) 2>&5
15102 ac_status=$?
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); }; }; then
15105 ac_hi=-1 ac_mid=-1
15106 while :; do
15107 cat >conftest.$ac_ext <<_ACEOF
15108 #line $LINENO "configure"
15109 /* confdefs.h. */
15110 _ACEOF
15111 cat confdefs.h >>conftest.$ac_ext
15112 cat >>conftest.$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15114 $ac_includes_default
15115 int
15116 main ()
15117 {
15118 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15119 test_array [0] = 0
15120
15121 ;
15122 return 0;
15123 }
15124 _ACEOF
15125 rm -f conftest.$ac_objext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15127 (eval $ac_compile) 2>&5
15128 ac_status=$?
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } &&
15131 { ac_try='test -s conftest.$ac_objext'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15134 ac_status=$?
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; }; then
15137 ac_lo=$ac_mid; break
15138 else
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15141
15142 ac_hi=`expr '(' $ac_mid ')' - 1`
15143 if test $ac_mid -le $ac_hi; then
15144 ac_lo= ac_hi=
15145 break
15146 fi
15147 ac_mid=`expr 2 '*' $ac_mid`
15148 fi
15149 rm -f conftest.$ac_objext conftest.$ac_ext
15150 done
15151 else
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15154
15155 ac_lo= ac_hi=
15156 fi
15157 rm -f conftest.$ac_objext conftest.$ac_ext
15158 fi
15159 rm -f conftest.$ac_objext conftest.$ac_ext
15160 # Binary search between lo and hi bounds.
15161 while test "x$ac_lo" != "x$ac_hi"; do
15162 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15163 cat >conftest.$ac_ext <<_ACEOF
15164 #line $LINENO "configure"
15165 /* confdefs.h. */
15166 _ACEOF
15167 cat confdefs.h >>conftest.$ac_ext
15168 cat >>conftest.$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15170 $ac_includes_default
15171 int
15172 main ()
15173 {
15174 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15175 test_array [0] = 0
15176
15177 ;
15178 return 0;
15179 }
15180 _ACEOF
15181 rm -f conftest.$ac_objext
15182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15183 (eval $ac_compile) 2>&5
15184 ac_status=$?
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try='test -s conftest.$ac_objext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15190 ac_status=$?
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 ac_hi=$ac_mid
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15197
15198 ac_lo=`expr '(' $ac_mid ')' + 1`
15199 fi
15200 rm -f conftest.$ac_objext conftest.$ac_ext
15201 done
15202 case $ac_lo in
15203 ?*) ac_cv_sizeof_int=$ac_lo;;
15204 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15205 See \`config.log' for more details." >&5
15206 echo "$as_me: error: cannot compute sizeof (int), 77
15207 See \`config.log' for more details." >&2;}
15208 { (exit 1); exit 1; }; } ;;
15209 esac
15210 else
15211 if test "$cross_compiling" = yes; then
15212 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15213 See \`config.log' for more details." >&5
15214 echo "$as_me: error: cannot run test program while cross compiling
15215 See \`config.log' for more details." >&2;}
15216 { (exit 1); exit 1; }; }
15217 else
15218 cat >conftest.$ac_ext <<_ACEOF
15219 #line $LINENO "configure"
15220 /* confdefs.h. */
15221 _ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15226 long longval () { return (long) (sizeof (int)); }
15227 unsigned long ulongval () { return (long) (sizeof (int)); }
15228 #include <stdio.h>
15229 #include <stdlib.h>
15230 int
15231 main ()
15232 {
15233
15234 FILE *f = fopen ("conftest.val", "w");
15235 if (! f)
15236 exit (1);
15237 if (((long) (sizeof (int))) < 0)
15238 {
15239 long i = longval ();
15240 if (i != ((long) (sizeof (int))))
15241 exit (1);
15242 fprintf (f, "%ld\n", i);
15243 }
15244 else
15245 {
15246 unsigned long i = ulongval ();
15247 if (i != ((long) (sizeof (int))))
15248 exit (1);
15249 fprintf (f, "%lu\n", i);
15250 }
15251 exit (ferror (f) || fclose (f) != 0);
15252
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 rm -f conftest$ac_exeext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15259 (eval $ac_link) 2>&5
15260 ac_status=$?
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15265 ac_status=$?
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_cv_sizeof_int=`cat conftest.val`
15269 else
15270 echo "$as_me: program exited with status $ac_status" >&5
15271 echo "$as_me: failed program was:" >&5
15272 sed 's/^/| /' conftest.$ac_ext >&5
15273
15274 ( exit $ac_status )
15275 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15276 See \`config.log' for more details." >&5
15277 echo "$as_me: error: cannot compute sizeof (int), 77
15278 See \`config.log' for more details." >&2;}
15279 { (exit 1); exit 1; }; }
15280 fi
15281 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15282 fi
15283 fi
15284 rm -f conftest.val
15285 else
15286 ac_cv_sizeof_int=0
15287 fi
15288 fi
15289 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15290 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15291 cat >>confdefs.h <<_ACEOF
15292 #define SIZEOF_INT $ac_cv_sizeof_int
15293 _ACEOF
15294
15295
15296 echo "$as_me:$LINENO: checking for long" >&5
15297 echo $ECHO_N "checking for long... $ECHO_C" >&6
15298 if test "${ac_cv_type_long+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15301 cat >conftest.$ac_ext <<_ACEOF
15302 #line $LINENO "configure"
15303 /* confdefs.h. */
15304 _ACEOF
15305 cat confdefs.h >>conftest.$ac_ext
15306 cat >>conftest.$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308 $ac_includes_default
15309 int
15310 main ()
15311 {
15312 if ((long *) 0)
15313 return 0;
15314 if (sizeof (long))
15315 return 0;
15316 ;
15317 return 0;
15318 }
15319 _ACEOF
15320 rm -f conftest.$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322 (eval $ac_compile) 2>&5
15323 ac_status=$?
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } &&
15326 { ac_try='test -s conftest.$ac_objext'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15329 ac_status=$?
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; }; then
15332 ac_cv_type_long=yes
15333 else
15334 echo "$as_me: failed program was:" >&5
15335 sed 's/^/| /' conftest.$ac_ext >&5
15336
15337 ac_cv_type_long=no
15338 fi
15339 rm -f conftest.$ac_objext conftest.$ac_ext
15340 fi
15341 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15342 echo "${ECHO_T}$ac_cv_type_long" >&6
15343
15344 echo "$as_me:$LINENO: checking size of long" >&5
15345 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15346 if test "${ac_cv_sizeof_long+set}" = set; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 else
15349 if test "$ac_cv_type_long" = yes; then
15350 # The cast to unsigned long works around a bug in the HP C Compiler
15351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15353 # This bug is HP SR number 8606223364.
15354 if test "$cross_compiling" = yes; then
15355 # Depending upon the size, compute the lo and hi bounds.
15356 cat >conftest.$ac_ext <<_ACEOF
15357 #line $LINENO "configure"
15358 /* confdefs.h. */
15359 _ACEOF
15360 cat confdefs.h >>conftest.$ac_ext
15361 cat >>conftest.$ac_ext <<_ACEOF
15362 /* end confdefs.h. */
15363 $ac_includes_default
15364 int
15365 main ()
15366 {
15367 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15368 test_array [0] = 0
15369
15370 ;
15371 return 0;
15372 }
15373 _ACEOF
15374 rm -f conftest.$ac_objext
15375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15376 (eval $ac_compile) 2>&5
15377 ac_status=$?
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try='test -s conftest.$ac_objext'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15383 ac_status=$?
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; }; then
15386 ac_lo=0 ac_mid=0
15387 while :; do
15388 cat >conftest.$ac_ext <<_ACEOF
15389 #line $LINENO "configure"
15390 /* confdefs.h. */
15391 _ACEOF
15392 cat confdefs.h >>conftest.$ac_ext
15393 cat >>conftest.$ac_ext <<_ACEOF
15394 /* end confdefs.h. */
15395 $ac_includes_default
15396 int
15397 main ()
15398 {
15399 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15400 test_array [0] = 0
15401
15402 ;
15403 return 0;
15404 }
15405 _ACEOF
15406 rm -f conftest.$ac_objext
15407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15408 (eval $ac_compile) 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); } &&
15412 { ac_try='test -s conftest.$ac_objext'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15415 ac_status=$?
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15418 ac_hi=$ac_mid; break
15419 else
15420 echo "$as_me: failed program was:" >&5
15421 sed 's/^/| /' conftest.$ac_ext >&5
15422
15423 ac_lo=`expr $ac_mid + 1`
15424 if test $ac_lo -le $ac_mid; then
15425 ac_lo= ac_hi=
15426 break
15427 fi
15428 ac_mid=`expr 2 '*' $ac_mid + 1`
15429 fi
15430 rm -f conftest.$ac_objext conftest.$ac_ext
15431 done
15432 else
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.$ac_ext >&5
15435
15436 cat >conftest.$ac_ext <<_ACEOF
15437 #line $LINENO "configure"
15438 /* confdefs.h. */
15439 _ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15443 $ac_includes_default
15444 int
15445 main ()
15446 {
15447 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15448 test_array [0] = 0
15449
15450 ;
15451 return 0;
15452 }
15453 _ACEOF
15454 rm -f conftest.$ac_objext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15456 (eval $ac_compile) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try='test -s conftest.$ac_objext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15463 ac_status=$?
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15466 ac_hi=-1 ac_mid=-1
15467 while :; do
15468 cat >conftest.$ac_ext <<_ACEOF
15469 #line $LINENO "configure"
15470 /* confdefs.h. */
15471 _ACEOF
15472 cat confdefs.h >>conftest.$ac_ext
15473 cat >>conftest.$ac_ext <<_ACEOF
15474 /* end confdefs.h. */
15475 $ac_includes_default
15476 int
15477 main ()
15478 {
15479 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15480 test_array [0] = 0
15481
15482 ;
15483 return 0;
15484 }
15485 _ACEOF
15486 rm -f conftest.$ac_objext
15487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15488 (eval $ac_compile) 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } &&
15492 { ac_try='test -s conftest.$ac_objext'
15493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494 (eval $ac_try) 2>&5
15495 ac_status=$?
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); }; }; then
15498 ac_lo=$ac_mid; break
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15502
15503 ac_hi=`expr '(' $ac_mid ')' - 1`
15504 if test $ac_mid -le $ac_hi; then
15505 ac_lo= ac_hi=
15506 break
15507 fi
15508 ac_mid=`expr 2 '*' $ac_mid`
15509 fi
15510 rm -f conftest.$ac_objext conftest.$ac_ext
15511 done
15512 else
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15515
15516 ac_lo= ac_hi=
15517 fi
15518 rm -f conftest.$ac_objext conftest.$ac_ext
15519 fi
15520 rm -f conftest.$ac_objext conftest.$ac_ext
15521 # Binary search between lo and hi bounds.
15522 while test "x$ac_lo" != "x$ac_hi"; do
15523 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15524 cat >conftest.$ac_ext <<_ACEOF
15525 #line $LINENO "configure"
15526 /* confdefs.h. */
15527 _ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531 $ac_includes_default
15532 int
15533 main ()
15534 {
15535 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15536 test_array [0] = 0
15537
15538 ;
15539 return 0;
15540 }
15541 _ACEOF
15542 rm -f conftest.$ac_objext
15543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_hi=$ac_mid
15555 else
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.$ac_ext >&5
15558
15559 ac_lo=`expr '(' $ac_mid ')' + 1`
15560 fi
15561 rm -f conftest.$ac_objext conftest.$ac_ext
15562 done
15563 case $ac_lo in
15564 ?*) ac_cv_sizeof_long=$ac_lo;;
15565 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15566 See \`config.log' for more details." >&5
15567 echo "$as_me: error: cannot compute sizeof (long), 77
15568 See \`config.log' for more details." >&2;}
15569 { (exit 1); exit 1; }; } ;;
15570 esac
15571 else
15572 if test "$cross_compiling" = yes; then
15573 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15574 See \`config.log' for more details." >&5
15575 echo "$as_me: error: cannot run test program while cross compiling
15576 See \`config.log' for more details." >&2;}
15577 { (exit 1); exit 1; }; }
15578 else
15579 cat >conftest.$ac_ext <<_ACEOF
15580 #line $LINENO "configure"
15581 /* confdefs.h. */
15582 _ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15586 $ac_includes_default
15587 long longval () { return (long) (sizeof (long)); }
15588 unsigned long ulongval () { return (long) (sizeof (long)); }
15589 #include <stdio.h>
15590 #include <stdlib.h>
15591 int
15592 main ()
15593 {
15594
15595 FILE *f = fopen ("conftest.val", "w");
15596 if (! f)
15597 exit (1);
15598 if (((long) (sizeof (long))) < 0)
15599 {
15600 long i = longval ();
15601 if (i != ((long) (sizeof (long))))
15602 exit (1);
15603 fprintf (f, "%ld\n", i);
15604 }
15605 else
15606 {
15607 unsigned long i = ulongval ();
15608 if (i != ((long) (sizeof (long))))
15609 exit (1);
15610 fprintf (f, "%lu\n", i);
15611 }
15612 exit (ferror (f) || fclose (f) != 0);
15613
15614 ;
15615 return 0;
15616 }
15617 _ACEOF
15618 rm -f conftest$ac_exeext
15619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15620 (eval $ac_link) 2>&5
15621 ac_status=$?
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15626 ac_status=$?
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_cv_sizeof_long=`cat conftest.val`
15630 else
15631 echo "$as_me: program exited with status $ac_status" >&5
15632 echo "$as_me: failed program was:" >&5
15633 sed 's/^/| /' conftest.$ac_ext >&5
15634
15635 ( exit $ac_status )
15636 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15637 See \`config.log' for more details." >&5
15638 echo "$as_me: error: cannot compute sizeof (long), 77
15639 See \`config.log' for more details." >&2;}
15640 { (exit 1); exit 1; }; }
15641 fi
15642 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15643 fi
15644 fi
15645 rm -f conftest.val
15646 else
15647 ac_cv_sizeof_long=0
15648 fi
15649 fi
15650 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15651 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15652 cat >>confdefs.h <<_ACEOF
15653 #define SIZEOF_LONG $ac_cv_sizeof_long
15654 _ACEOF
15655
15656
15657
15658 case "${host}" in
15659 arm-*-linux* )
15660 echo "$as_me:$LINENO: checking for long long" >&5
15661 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15662 if test "${ac_cv_type_long_long+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 else
15665 cat >conftest.$ac_ext <<_ACEOF
15666 #line $LINENO "configure"
15667 /* confdefs.h. */
15668 _ACEOF
15669 cat confdefs.h >>conftest.$ac_ext
15670 cat >>conftest.$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15672 $ac_includes_default
15673 int
15674 main ()
15675 {
15676 if ((long long *) 0)
15677 return 0;
15678 if (sizeof (long long))
15679 return 0;
15680 ;
15681 return 0;
15682 }
15683 _ACEOF
15684 rm -f conftest.$ac_objext
15685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15686 (eval $ac_compile) 2>&5
15687 ac_status=$?
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15693 ac_status=$?
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15696 ac_cv_type_long_long=yes
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15700
15701 ac_cv_type_long_long=no
15702 fi
15703 rm -f conftest.$ac_objext conftest.$ac_ext
15704 fi
15705 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15706 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15707
15708 echo "$as_me:$LINENO: checking size of long long" >&5
15709 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15710 if test "${ac_cv_sizeof_long_long+set}" = set; then
15711 echo $ECHO_N "(cached) $ECHO_C" >&6
15712 else
15713 if test "$ac_cv_type_long_long" = yes; then
15714 # The cast to unsigned long works around a bug in the HP C Compiler
15715 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15716 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15717 # This bug is HP SR number 8606223364.
15718 if test "$cross_compiling" = yes; then
15719 # Depending upon the size, compute the lo and hi bounds.
15720 cat >conftest.$ac_ext <<_ACEOF
15721 #line $LINENO "configure"
15722 /* confdefs.h. */
15723 _ACEOF
15724 cat confdefs.h >>conftest.$ac_ext
15725 cat >>conftest.$ac_ext <<_ACEOF
15726 /* end confdefs.h. */
15727 $ac_includes_default
15728 int
15729 main ()
15730 {
15731 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15732 test_array [0] = 0
15733
15734 ;
15735 return 0;
15736 }
15737 _ACEOF
15738 rm -f conftest.$ac_objext
15739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15740 (eval $ac_compile) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15750 ac_lo=0 ac_mid=0
15751 while :; do
15752 cat >conftest.$ac_ext <<_ACEOF
15753 #line $LINENO "configure"
15754 /* confdefs.h. */
15755 _ACEOF
15756 cat confdefs.h >>conftest.$ac_ext
15757 cat >>conftest.$ac_ext <<_ACEOF
15758 /* end confdefs.h. */
15759 $ac_includes_default
15760 int
15761 main ()
15762 {
15763 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15764 test_array [0] = 0
15765
15766 ;
15767 return 0;
15768 }
15769 _ACEOF
15770 rm -f conftest.$ac_objext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15772 (eval $ac_compile) 2>&5
15773 ac_status=$?
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } &&
15776 { ac_try='test -s conftest.$ac_objext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15779 ac_status=$?
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_hi=$ac_mid; break
15783 else
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15786
15787 ac_lo=`expr $ac_mid + 1`
15788 if test $ac_lo -le $ac_mid; then
15789 ac_lo= ac_hi=
15790 break
15791 fi
15792 ac_mid=`expr 2 '*' $ac_mid + 1`
15793 fi
15794 rm -f conftest.$ac_objext conftest.$ac_ext
15795 done
15796 else
15797 echo "$as_me: failed program was:" >&5
15798 sed 's/^/| /' conftest.$ac_ext >&5
15799
15800 cat >conftest.$ac_ext <<_ACEOF
15801 #line $LINENO "configure"
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 $ac_includes_default
15808 int
15809 main ()
15810 {
15811 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15812 test_array [0] = 0
15813
15814 ;
15815 return 0;
15816 }
15817 _ACEOF
15818 rm -f conftest.$ac_objext
15819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15820 (eval $ac_compile) 2>&5
15821 ac_status=$?
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); } &&
15824 { ac_try='test -s conftest.$ac_objext'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15827 ac_status=$?
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; }; then
15830 ac_hi=-1 ac_mid=-1
15831 while :; do
15832 cat >conftest.$ac_ext <<_ACEOF
15833 #line $LINENO "configure"
15834 /* confdefs.h. */
15835 _ACEOF
15836 cat confdefs.h >>conftest.$ac_ext
15837 cat >>conftest.$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15839 $ac_includes_default
15840 int
15841 main ()
15842 {
15843 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15844 test_array [0] = 0
15845
15846 ;
15847 return 0;
15848 }
15849 _ACEOF
15850 rm -f conftest.$ac_objext
15851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15852 (eval $ac_compile) 2>&5
15853 ac_status=$?
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); } &&
15856 { ac_try='test -s conftest.$ac_objext'
15857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858 (eval $ac_try) 2>&5
15859 ac_status=$?
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; }; then
15862 ac_lo=$ac_mid; break
15863 else
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.$ac_ext >&5
15866
15867 ac_hi=`expr '(' $ac_mid ')' - 1`
15868 if test $ac_mid -le $ac_hi; then
15869 ac_lo= ac_hi=
15870 break
15871 fi
15872 ac_mid=`expr 2 '*' $ac_mid`
15873 fi
15874 rm -f conftest.$ac_objext conftest.$ac_ext
15875 done
15876 else
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15879
15880 ac_lo= ac_hi=
15881 fi
15882 rm -f conftest.$ac_objext conftest.$ac_ext
15883 fi
15884 rm -f conftest.$ac_objext conftest.$ac_ext
15885 # Binary search between lo and hi bounds.
15886 while test "x$ac_lo" != "x$ac_hi"; do
15887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15888 cat >conftest.$ac_ext <<_ACEOF
15889 #line $LINENO "configure"
15890 /* confdefs.h. */
15891 _ACEOF
15892 cat confdefs.h >>conftest.$ac_ext
15893 cat >>conftest.$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15895 $ac_includes_default
15896 int
15897 main ()
15898 {
15899 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15900 test_array [0] = 0
15901
15902 ;
15903 return 0;
15904 }
15905 _ACEOF
15906 rm -f conftest.$ac_objext
15907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15908 (eval $ac_compile) 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } &&
15912 { ac_try='test -s conftest.$ac_objext'
15913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15914 (eval $ac_try) 2>&5
15915 ac_status=$?
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); }; }; then
15918 ac_hi=$ac_mid
15919 else
15920 echo "$as_me: failed program was:" >&5
15921 sed 's/^/| /' conftest.$ac_ext >&5
15922
15923 ac_lo=`expr '(' $ac_mid ')' + 1`
15924 fi
15925 rm -f conftest.$ac_objext conftest.$ac_ext
15926 done
15927 case $ac_lo in
15928 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15929 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15930 See \`config.log' for more details." >&5
15931 echo "$as_me: error: cannot compute sizeof (long long), 77
15932 See \`config.log' for more details." >&2;}
15933 { (exit 1); exit 1; }; } ;;
15934 esac
15935 else
15936 if test "$cross_compiling" = yes; then
15937 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15938 See \`config.log' for more details." >&5
15939 echo "$as_me: error: cannot run test program while cross compiling
15940 See \`config.log' for more details." >&2;}
15941 { (exit 1); exit 1; }; }
15942 else
15943 cat >conftest.$ac_ext <<_ACEOF
15944 #line $LINENO "configure"
15945 /* confdefs.h. */
15946 _ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 $ac_includes_default
15951 long longval () { return (long) (sizeof (long long)); }
15952 unsigned long ulongval () { return (long) (sizeof (long long)); }
15953 #include <stdio.h>
15954 #include <stdlib.h>
15955 int
15956 main ()
15957 {
15958
15959 FILE *f = fopen ("conftest.val", "w");
15960 if (! f)
15961 exit (1);
15962 if (((long) (sizeof (long long))) < 0)
15963 {
15964 long i = longval ();
15965 if (i != ((long) (sizeof (long long))))
15966 exit (1);
15967 fprintf (f, "%ld\n", i);
15968 }
15969 else
15970 {
15971 unsigned long i = ulongval ();
15972 if (i != ((long) (sizeof (long long))))
15973 exit (1);
15974 fprintf (f, "%lu\n", i);
15975 }
15976 exit (ferror (f) || fclose (f) != 0);
15977
15978 ;
15979 return 0;
15980 }
15981 _ACEOF
15982 rm -f conftest$ac_exeext
15983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15984 (eval $ac_link) 2>&5
15985 ac_status=$?
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15989 (eval $ac_try) 2>&5
15990 ac_status=$?
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); }; }; then
15993 ac_cv_sizeof_long_long=`cat conftest.val`
15994 else
15995 echo "$as_me: program exited with status $ac_status" >&5
15996 echo "$as_me: failed program was:" >&5
15997 sed 's/^/| /' conftest.$ac_ext >&5
15998
15999 ( exit $ac_status )
16000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16001 See \`config.log' for more details." >&5
16002 echo "$as_me: error: cannot compute sizeof (long long), 77
16003 See \`config.log' for more details." >&2;}
16004 { (exit 1); exit 1; }; }
16005 fi
16006 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16007 fi
16008 fi
16009 rm -f conftest.val
16010 else
16011 ac_cv_sizeof_long_long=0
16012 fi
16013 fi
16014 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16015 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16016 cat >>confdefs.h <<_ACEOF
16017 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16018 _ACEOF
16019
16020
16021 ;;
16022 *-hp-hpux* )
16023 echo "$as_me:$LINENO: checking for long long" >&5
16024 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16025 if test "${ac_cv_type_long_long+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 else
16028 cat >conftest.$ac_ext <<_ACEOF
16029 #line $LINENO "configure"
16030 /* confdefs.h. */
16031 _ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16035 $ac_includes_default
16036 int
16037 main ()
16038 {
16039 if ((long long *) 0)
16040 return 0;
16041 if (sizeof (long long))
16042 return 0;
16043 ;
16044 return 0;
16045 }
16046 _ACEOF
16047 rm -f conftest.$ac_objext
16048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16049 (eval $ac_compile) 2>&5
16050 ac_status=$?
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); } &&
16053 { ac_try='test -s conftest.$ac_objext'
16054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16055 (eval $ac_try) 2>&5
16056 ac_status=$?
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); }; }; then
16059 ac_cv_type_long_long=yes
16060 else
16061 echo "$as_me: failed program was:" >&5
16062 sed 's/^/| /' conftest.$ac_ext >&5
16063
16064 ac_cv_type_long_long=no
16065 fi
16066 rm -f conftest.$ac_objext conftest.$ac_ext
16067 fi
16068 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16069 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16070
16071 echo "$as_me:$LINENO: checking size of long long" >&5
16072 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16073 if test "${ac_cv_sizeof_long_long+set}" = set; then
16074 echo $ECHO_N "(cached) $ECHO_C" >&6
16075 else
16076 if test "$ac_cv_type_long_long" = yes; then
16077 # The cast to unsigned long works around a bug in the HP C Compiler
16078 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16079 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16080 # This bug is HP SR number 8606223364.
16081 if test "$cross_compiling" = yes; then
16082 # Depending upon the size, compute the lo and hi bounds.
16083 cat >conftest.$ac_ext <<_ACEOF
16084 #line $LINENO "configure"
16085 /* confdefs.h. */
16086 _ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16090 $ac_includes_default
16091 int
16092 main ()
16093 {
16094 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16095 test_array [0] = 0
16096
16097 ;
16098 return 0;
16099 }
16100 _ACEOF
16101 rm -f conftest.$ac_objext
16102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16103 (eval $ac_compile) 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } &&
16107 { ac_try='test -s conftest.$ac_objext'
16108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16109 (eval $ac_try) 2>&5
16110 ac_status=$?
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); }; }; then
16113 ac_lo=0 ac_mid=0
16114 while :; do
16115 cat >conftest.$ac_ext <<_ACEOF
16116 #line $LINENO "configure"
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 $ac_includes_default
16123 int
16124 main ()
16125 {
16126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16127 test_array [0] = 0
16128
16129 ;
16130 return 0;
16131 }
16132 _ACEOF
16133 rm -f conftest.$ac_objext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16135 (eval $ac_compile) 2>&5
16136 ac_status=$?
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); } &&
16139 { ac_try='test -s conftest.$ac_objext'
16140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16141 (eval $ac_try) 2>&5
16142 ac_status=$?
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); }; }; then
16145 ac_hi=$ac_mid; break
16146 else
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.$ac_ext >&5
16149
16150 ac_lo=`expr $ac_mid + 1`
16151 if test $ac_lo -le $ac_mid; then
16152 ac_lo= ac_hi=
16153 break
16154 fi
16155 ac_mid=`expr 2 '*' $ac_mid + 1`
16156 fi
16157 rm -f conftest.$ac_objext conftest.$ac_ext
16158 done
16159 else
16160 echo "$as_me: failed program was:" >&5
16161 sed 's/^/| /' conftest.$ac_ext >&5
16162
16163 cat >conftest.$ac_ext <<_ACEOF
16164 #line $LINENO "configure"
16165 /* confdefs.h. */
16166 _ACEOF
16167 cat confdefs.h >>conftest.$ac_ext
16168 cat >>conftest.$ac_ext <<_ACEOF
16169 /* end confdefs.h. */
16170 $ac_includes_default
16171 int
16172 main ()
16173 {
16174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16175 test_array [0] = 0
16176
16177 ;
16178 return 0;
16179 }
16180 _ACEOF
16181 rm -f conftest.$ac_objext
16182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16183 (eval $ac_compile) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); } &&
16187 { ac_try='test -s conftest.$ac_objext'
16188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16189 (eval $ac_try) 2>&5
16190 ac_status=$?
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); }; }; then
16193 ac_hi=-1 ac_mid=-1
16194 while :; do
16195 cat >conftest.$ac_ext <<_ACEOF
16196 #line $LINENO "configure"
16197 /* confdefs.h. */
16198 _ACEOF
16199 cat confdefs.h >>conftest.$ac_ext
16200 cat >>conftest.$ac_ext <<_ACEOF
16201 /* end confdefs.h. */
16202 $ac_includes_default
16203 int
16204 main ()
16205 {
16206 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16207 test_array [0] = 0
16208
16209 ;
16210 return 0;
16211 }
16212 _ACEOF
16213 rm -f conftest.$ac_objext
16214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16215 (eval $ac_compile) 2>&5
16216 ac_status=$?
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); } &&
16219 { ac_try='test -s conftest.$ac_objext'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16222 ac_status=$?
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; }; then
16225 ac_lo=$ac_mid; break
16226 else
16227 echo "$as_me: failed program was:" >&5
16228 sed 's/^/| /' conftest.$ac_ext >&5
16229
16230 ac_hi=`expr '(' $ac_mid ')' - 1`
16231 if test $ac_mid -le $ac_hi; then
16232 ac_lo= ac_hi=
16233 break
16234 fi
16235 ac_mid=`expr 2 '*' $ac_mid`
16236 fi
16237 rm -f conftest.$ac_objext conftest.$ac_ext
16238 done
16239 else
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.$ac_ext >&5
16242
16243 ac_lo= ac_hi=
16244 fi
16245 rm -f conftest.$ac_objext conftest.$ac_ext
16246 fi
16247 rm -f conftest.$ac_objext conftest.$ac_ext
16248 # Binary search between lo and hi bounds.
16249 while test "x$ac_lo" != "x$ac_hi"; do
16250 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16251 cat >conftest.$ac_ext <<_ACEOF
16252 #line $LINENO "configure"
16253 /* confdefs.h. */
16254 _ACEOF
16255 cat confdefs.h >>conftest.$ac_ext
16256 cat >>conftest.$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16258 $ac_includes_default
16259 int
16260 main ()
16261 {
16262 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16263 test_array [0] = 0
16264
16265 ;
16266 return 0;
16267 }
16268 _ACEOF
16269 rm -f conftest.$ac_objext
16270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16271 (eval $ac_compile) 2>&5
16272 ac_status=$?
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } &&
16275 { ac_try='test -s conftest.$ac_objext'
16276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16277 (eval $ac_try) 2>&5
16278 ac_status=$?
16279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16280 (exit $ac_status); }; }; then
16281 ac_hi=$ac_mid
16282 else
16283 echo "$as_me: failed program was:" >&5
16284 sed 's/^/| /' conftest.$ac_ext >&5
16285
16286 ac_lo=`expr '(' $ac_mid ')' + 1`
16287 fi
16288 rm -f conftest.$ac_objext conftest.$ac_ext
16289 done
16290 case $ac_lo in
16291 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16292 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16293 See \`config.log' for more details." >&5
16294 echo "$as_me: error: cannot compute sizeof (long long), 77
16295 See \`config.log' for more details." >&2;}
16296 { (exit 1); exit 1; }; } ;;
16297 esac
16298 else
16299 if test "$cross_compiling" = yes; then
16300 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16301 See \`config.log' for more details." >&5
16302 echo "$as_me: error: cannot run test program while cross compiling
16303 See \`config.log' for more details." >&2;}
16304 { (exit 1); exit 1; }; }
16305 else
16306 cat >conftest.$ac_ext <<_ACEOF
16307 #line $LINENO "configure"
16308 /* confdefs.h. */
16309 _ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16313 $ac_includes_default
16314 long longval () { return (long) (sizeof (long long)); }
16315 unsigned long ulongval () { return (long) (sizeof (long long)); }
16316 #include <stdio.h>
16317 #include <stdlib.h>
16318 int
16319 main ()
16320 {
16321
16322 FILE *f = fopen ("conftest.val", "w");
16323 if (! f)
16324 exit (1);
16325 if (((long) (sizeof (long long))) < 0)
16326 {
16327 long i = longval ();
16328 if (i != ((long) (sizeof (long long))))
16329 exit (1);
16330 fprintf (f, "%ld\n", i);
16331 }
16332 else
16333 {
16334 unsigned long i = ulongval ();
16335 if (i != ((long) (sizeof (long long))))
16336 exit (1);
16337 fprintf (f, "%lu\n", i);
16338 }
16339 exit (ferror (f) || fclose (f) != 0);
16340
16341 ;
16342 return 0;
16343 }
16344 _ACEOF
16345 rm -f conftest$ac_exeext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16347 (eval $ac_link) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_cv_sizeof_long_long=`cat conftest.val`
16357 else
16358 echo "$as_me: program exited with status $ac_status" >&5
16359 echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362 ( exit $ac_status )
16363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16364 See \`config.log' for more details." >&5
16365 echo "$as_me: error: cannot compute sizeof (long long), 77
16366 See \`config.log' for more details." >&2;}
16367 { (exit 1); exit 1; }; }
16368 fi
16369 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16370 fi
16371 fi
16372 rm -f conftest.val
16373 else
16374 ac_cv_sizeof_long_long=0
16375 fi
16376 fi
16377 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16378 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16379 cat >>confdefs.h <<_ACEOF
16380 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16381 _ACEOF
16382
16383
16384 if test "$ac_cv_sizeof_long_long" != "0"; then
16385 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16386 fi
16387 ;;
16388 * )
16389 echo "$as_me:$LINENO: checking for long long" >&5
16390 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16391 if test "${ac_cv_type_long_long+set}" = set; then
16392 echo $ECHO_N "(cached) $ECHO_C" >&6
16393 else
16394 cat >conftest.$ac_ext <<_ACEOF
16395 #line $LINENO "configure"
16396 /* confdefs.h. */
16397 _ACEOF
16398 cat confdefs.h >>conftest.$ac_ext
16399 cat >>conftest.$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 $ac_includes_default
16402 int
16403 main ()
16404 {
16405 if ((long long *) 0)
16406 return 0;
16407 if (sizeof (long long))
16408 return 0;
16409 ;
16410 return 0;
16411 }
16412 _ACEOF
16413 rm -f conftest.$ac_objext
16414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16415 (eval $ac_compile) 2>&5
16416 ac_status=$?
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } &&
16419 { ac_try='test -s conftest.$ac_objext'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16422 ac_status=$?
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; }; then
16425 ac_cv_type_long_long=yes
16426 else
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16429
16430 ac_cv_type_long_long=no
16431 fi
16432 rm -f conftest.$ac_objext conftest.$ac_ext
16433 fi
16434 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16435 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16436
16437 echo "$as_me:$LINENO: checking size of long long" >&5
16438 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16439 if test "${ac_cv_sizeof_long_long+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 else
16442 if test "$ac_cv_type_long_long" = yes; then
16443 # The cast to unsigned long works around a bug in the HP C Compiler
16444 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16445 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16446 # This bug is HP SR number 8606223364.
16447 if test "$cross_compiling" = yes; then
16448 # Depending upon the size, compute the lo and hi bounds.
16449 cat >conftest.$ac_ext <<_ACEOF
16450 #line $LINENO "configure"
16451 /* confdefs.h. */
16452 _ACEOF
16453 cat confdefs.h >>conftest.$ac_ext
16454 cat >>conftest.$ac_ext <<_ACEOF
16455 /* end confdefs.h. */
16456 $ac_includes_default
16457 int
16458 main ()
16459 {
16460 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16461 test_array [0] = 0
16462
16463 ;
16464 return 0;
16465 }
16466 _ACEOF
16467 rm -f conftest.$ac_objext
16468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16469 (eval $ac_compile) 2>&5
16470 ac_status=$?
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16472 (exit $ac_status); } &&
16473 { ac_try='test -s conftest.$ac_objext'
16474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16475 (eval $ac_try) 2>&5
16476 ac_status=$?
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); }; }; then
16479 ac_lo=0 ac_mid=0
16480 while :; do
16481 cat >conftest.$ac_ext <<_ACEOF
16482 #line $LINENO "configure"
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 $ac_includes_default
16489 int
16490 main ()
16491 {
16492 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16493 test_array [0] = 0
16494
16495 ;
16496 return 0;
16497 }
16498 _ACEOF
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>&5
16502 ac_status=$?
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try='test -s conftest.$ac_objext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16508 ac_status=$?
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 ac_hi=$ac_mid; break
16512 else
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16515
16516 ac_lo=`expr $ac_mid + 1`
16517 if test $ac_lo -le $ac_mid; then
16518 ac_lo= ac_hi=
16519 break
16520 fi
16521 ac_mid=`expr 2 '*' $ac_mid + 1`
16522 fi
16523 rm -f conftest.$ac_objext conftest.$ac_ext
16524 done
16525 else
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.$ac_ext >&5
16528
16529 cat >conftest.$ac_ext <<_ACEOF
16530 #line $LINENO "configure"
16531 /* confdefs.h. */
16532 _ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16537 int
16538 main ()
16539 {
16540 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16541 test_array [0] = 0
16542
16543 ;
16544 return 0;
16545 }
16546 _ACEOF
16547 rm -f conftest.$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>&5
16550 ac_status=$?
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } &&
16553 { ac_try='test -s conftest.$ac_objext'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16556 ac_status=$?
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; }; then
16559 ac_hi=-1 ac_mid=-1
16560 while :; do
16561 cat >conftest.$ac_ext <<_ACEOF
16562 #line $LINENO "configure"
16563 /* confdefs.h. */
16564 _ACEOF
16565 cat confdefs.h >>conftest.$ac_ext
16566 cat >>conftest.$ac_ext <<_ACEOF
16567 /* end confdefs.h. */
16568 $ac_includes_default
16569 int
16570 main ()
16571 {
16572 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16573 test_array [0] = 0
16574
16575 ;
16576 return 0;
16577 }
16578 _ACEOF
16579 rm -f conftest.$ac_objext
16580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16581 (eval $ac_compile) 2>&5
16582 ac_status=$?
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } &&
16585 { ac_try='test -s conftest.$ac_objext'
16586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16587 (eval $ac_try) 2>&5
16588 ac_status=$?
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); }; }; then
16591 ac_lo=$ac_mid; break
16592 else
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16595
16596 ac_hi=`expr '(' $ac_mid ')' - 1`
16597 if test $ac_mid -le $ac_hi; then
16598 ac_lo= ac_hi=
16599 break
16600 fi
16601 ac_mid=`expr 2 '*' $ac_mid`
16602 fi
16603 rm -f conftest.$ac_objext conftest.$ac_ext
16604 done
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16608
16609 ac_lo= ac_hi=
16610 fi
16611 rm -f conftest.$ac_objext conftest.$ac_ext
16612 fi
16613 rm -f conftest.$ac_objext conftest.$ac_ext
16614 # Binary search between lo and hi bounds.
16615 while test "x$ac_lo" != "x$ac_hi"; do
16616 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16617 cat >conftest.$ac_ext <<_ACEOF
16618 #line $LINENO "configure"
16619 /* confdefs.h. */
16620 _ACEOF
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624 $ac_includes_default
16625 int
16626 main ()
16627 {
16628 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16629 test_array [0] = 0
16630
16631 ;
16632 return 0;
16633 }
16634 _ACEOF
16635 rm -f conftest.$ac_objext
16636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16637 (eval $ac_compile) 2>&5
16638 ac_status=$?
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); } &&
16641 { ac_try='test -s conftest.$ac_objext'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16644 ac_status=$?
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; }; then
16647 ac_hi=$ac_mid
16648 else
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16651
16652 ac_lo=`expr '(' $ac_mid ')' + 1`
16653 fi
16654 rm -f conftest.$ac_objext conftest.$ac_ext
16655 done
16656 case $ac_lo in
16657 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16658 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16659 See \`config.log' for more details." >&5
16660 echo "$as_me: error: cannot compute sizeof (long long), 77
16661 See \`config.log' for more details." >&2;}
16662 { (exit 1); exit 1; }; } ;;
16663 esac
16664 else
16665 if test "$cross_compiling" = yes; then
16666 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16667 See \`config.log' for more details." >&5
16668 echo "$as_me: error: cannot run test program while cross compiling
16669 See \`config.log' for more details." >&2;}
16670 { (exit 1); exit 1; }; }
16671 else
16672 cat >conftest.$ac_ext <<_ACEOF
16673 #line $LINENO "configure"
16674 /* confdefs.h. */
16675 _ACEOF
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16679 $ac_includes_default
16680 long longval () { return (long) (sizeof (long long)); }
16681 unsigned long ulongval () { return (long) (sizeof (long long)); }
16682 #include <stdio.h>
16683 #include <stdlib.h>
16684 int
16685 main ()
16686 {
16687
16688 FILE *f = fopen ("conftest.val", "w");
16689 if (! f)
16690 exit (1);
16691 if (((long) (sizeof (long long))) < 0)
16692 {
16693 long i = longval ();
16694 if (i != ((long) (sizeof (long long))))
16695 exit (1);
16696 fprintf (f, "%ld\n", i);
16697 }
16698 else
16699 {
16700 unsigned long i = ulongval ();
16701 if (i != ((long) (sizeof (long long))))
16702 exit (1);
16703 fprintf (f, "%lu\n", i);
16704 }
16705 exit (ferror (f) || fclose (f) != 0);
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 rm -f conftest$ac_exeext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16713 (eval $ac_link) 2>&5
16714 ac_status=$?
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 ac_cv_sizeof_long_long=`cat conftest.val`
16723 else
16724 echo "$as_me: program exited with status $ac_status" >&5
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16727
16728 ( exit $ac_status )
16729 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16730 See \`config.log' for more details." >&5
16731 echo "$as_me: error: cannot compute sizeof (long long), 77
16732 See \`config.log' for more details." >&2;}
16733 { (exit 1); exit 1; }; }
16734 fi
16735 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16736 fi
16737 fi
16738 rm -f conftest.val
16739 else
16740 ac_cv_sizeof_long_long=0
16741 fi
16742 fi
16743 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16744 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16745 cat >>confdefs.h <<_ACEOF
16746 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16747 _ACEOF
16748
16749
16750 esac
16751
16752 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16753 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16754 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 else
16757
16758 if test "$cross_compiling" = yes; then
16759
16760 case "${host}" in
16761 *-pc-msdosdjgpp )
16762 wx_cv_sizeof_wchar_t=0
16763 ;;
16764 * )
16765 wx_cv_sizeof_wchar_t=4
16766 ;;
16767 esac
16768
16769
16770 else
16771 cat >conftest.$ac_ext <<_ACEOF
16772 #line $LINENO "configure"
16773 /* confdefs.h. */
16774 _ACEOF
16775 cat confdefs.h >>conftest.$ac_ext
16776 cat >>conftest.$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16778
16779 /* DJGPP only has fake wchar_t: */
16780 #ifdef __DJGPP__
16781 # error "fake wchar_t"
16782 #endif
16783 #ifdef HAVE_WCHAR_H
16784 # ifdef __CYGWIN__
16785 # include <stddef.h>
16786 # endif
16787 # include <wchar.h>
16788 #endif
16789 #ifdef HAVE_STDLIB_H
16790 # include <stdlib.h>
16791 #endif
16792 #include <stdio.h>
16793 int main()
16794 {
16795 FILE *f=fopen("conftestval", "w");
16796 if (!f) exit(1);
16797 fprintf(f, "%i", sizeof(wchar_t));
16798 exit(0);
16799 }
16800
16801 _ACEOF
16802 rm -f conftest$ac_exeext
16803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16804 (eval $ac_link) 2>&5
16805 ac_status=$?
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16810 ac_status=$?
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; }; then
16813 wx_cv_sizeof_wchar_t=`cat conftestval`
16814 else
16815 echo "$as_me: program exited with status $ac_status" >&5
16816 echo "$as_me: failed program was:" >&5
16817 sed 's/^/| /' conftest.$ac_ext >&5
16818
16819 ( exit $ac_status )
16820 wx_cv_sizeof_wchar_t=0
16821 fi
16822 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16823 fi
16824
16825 fi
16826 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16827 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16828
16829 cat >>confdefs.h <<_ACEOF
16830 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16831 _ACEOF
16832
16833
16834 # Check whether --enable-largefile or --disable-largefile was given.
16835 if test "${enable_largefile+set}" = set; then
16836 enableval="$enable_largefile"
16837
16838 fi;
16839 if test "$enable_largefile" != no; then
16840 wx_largefile=no
16841
16842 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16843 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16844 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 else
16847
16848 cat >conftest.$ac_ext <<_ACEOF
16849 #line $LINENO "configure"
16850 /* confdefs.h. */
16851 _ACEOF
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16855 #define _FILE_OFFSET_BITS 64
16856 #include <sys/types.h>
16857 int
16858 main ()
16859 {
16860 typedef struct {
16861 unsigned int field: sizeof(off_t) == 8;
16862 } wxlf;
16863
16864 ;
16865 return 0;
16866 }
16867 _ACEOF
16868 rm -f conftest.$ac_objext
16869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16870 (eval $ac_compile) 2>&5
16871 ac_status=$?
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } &&
16874 { ac_try='test -s conftest.$ac_objext'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16877 ac_status=$?
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; }; then
16880 ac_cv_sys_file_offset_bits=64
16881 else
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.$ac_ext >&5
16884
16885 ac_cv_sys_file_offset_bits=no
16886 fi
16887 rm -f conftest.$ac_objext conftest.$ac_ext
16888
16889
16890 fi
16891 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16892 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16893
16894 if test "$ac_cv_sys_file_offset_bits" != no; then
16895 wx_largefile=yes
16896 cat >>confdefs.h <<_ACEOF
16897 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16898 _ACEOF
16899
16900 fi
16901
16902 if test "x$wx_largefile" != "xyes"; then
16903
16904 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16905 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16906 if test "${ac_cv_sys_large_files+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 else
16909
16910 cat >conftest.$ac_ext <<_ACEOF
16911 #line $LINENO "configure"
16912 /* confdefs.h. */
16913 _ACEOF
16914 cat confdefs.h >>conftest.$ac_ext
16915 cat >>conftest.$ac_ext <<_ACEOF
16916 /* end confdefs.h. */
16917 #define _LARGE_FILES 1
16918 #include <sys/types.h>
16919 int
16920 main ()
16921 {
16922 typedef struct {
16923 unsigned int field: sizeof(off_t) == 8;
16924 } wxlf;
16925
16926 ;
16927 return 0;
16928 }
16929 _ACEOF
16930 rm -f conftest.$ac_objext
16931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16932 (eval $ac_compile) 2>&5
16933 ac_status=$?
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } &&
16936 { ac_try='test -s conftest.$ac_objext'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; }; then
16942 ac_cv_sys_large_files=1
16943 else
16944 echo "$as_me: failed program was:" >&5
16945 sed 's/^/| /' conftest.$ac_ext >&5
16946
16947 ac_cv_sys_large_files=no
16948 fi
16949 rm -f conftest.$ac_objext conftest.$ac_ext
16950
16951
16952 fi
16953 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16954 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16955
16956 if test "$ac_cv_sys_large_files" != no; then
16957 wx_largefile=yes
16958 cat >>confdefs.h <<_ACEOF
16959 #define _LARGE_FILES $ac_cv_sys_large_files
16960 _ACEOF
16961
16962 fi
16963
16964 fi
16965
16966 echo "$as_me:$LINENO: checking if large file support is available" >&5
16967 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16968 if test "x$wx_largefile" = "xyes"; then
16969 cat >>confdefs.h <<\_ACEOF
16970 #define HAVE_LARGEFILE_SUPPORT 1
16971 _ACEOF
16972
16973 fi
16974 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16975 echo "${ECHO_T}$wx_largefile" >&6
16976 fi
16977
16978
16979 if test "x$wx_largefile" = "xyes"; then
16980 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16981 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16982 else
16983 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16984 fi
16985 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16986 fi
16987
16988 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16989 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16990 if test "${ac_cv_c_bigendian+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16993 ac_cv_c_bigendian=unknown
16994 # See if sys/param.h defines the BYTE_ORDER macro.
16995 cat >conftest.$ac_ext <<_ACEOF
16996 #line $LINENO "configure"
16997 /* confdefs.h. */
16998 _ACEOF
16999 cat confdefs.h >>conftest.$ac_ext
17000 cat >>conftest.$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17002 #include <sys/types.h>
17003 #include <sys/param.h>
17004 int
17005 main ()
17006 {
17007
17008 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17009 bogus endian macros
17010 #endif
17011 ;
17012 return 0;
17013 }
17014 _ACEOF
17015 rm -f conftest.$ac_objext
17016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17017 (eval $ac_compile) 2>&5
17018 ac_status=$?
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try='test -s conftest.$ac_objext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17024 ac_status=$?
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17027 # It does; now see whether it defined to BIG_ENDIAN or not.
17028 cat >conftest.$ac_ext <<_ACEOF
17029 #line $LINENO "configure"
17030 /* confdefs.h. */
17031 _ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17035 #include <sys/types.h>
17036 #include <sys/param.h>
17037 int
17038 main ()
17039 {
17040
17041 #if BYTE_ORDER != BIG_ENDIAN
17042 not big endian
17043 #endif
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050 (eval $ac_compile) 2>&5
17051 ac_status=$?
17052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17053 (exit $ac_status); } &&
17054 { ac_try='test -s conftest.$ac_objext'
17055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17056 (eval $ac_try) 2>&5
17057 ac_status=$?
17058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17059 (exit $ac_status); }; }; then
17060 ac_cv_c_bigendian=yes
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 ac_cv_c_bigendian=no
17066 fi
17067 rm -f conftest.$ac_objext conftest.$ac_ext
17068 else
17069 echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17071
17072 fi
17073 rm -f conftest.$ac_objext conftest.$ac_ext
17074 if test $ac_cv_c_bigendian = unknown; then
17075 if test "$cross_compiling" = yes; then
17076 ac_cv_c_bigendian=unknown
17077 else
17078 cat >conftest.$ac_ext <<_ACEOF
17079 #line $LINENO "configure"
17080 /* confdefs.h. */
17081 _ACEOF
17082 cat confdefs.h >>conftest.$ac_ext
17083 cat >>conftest.$ac_ext <<_ACEOF
17084 /* end confdefs.h. */
17085 main () {
17086 /* Are we little or big endian? From Harbison&Steele. */
17087 union
17088 {
17089 long l;
17090 char c[sizeof (long)];
17091 } u;
17092 u.l = 1;
17093 exit (u.c[sizeof (long) - 1] == 1);
17094 }
17095 _ACEOF
17096 rm -f conftest$ac_exeext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17098 (eval $ac_link) 2>&5
17099 ac_status=$?
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17104 ac_status=$?
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_cv_c_bigendian=no
17108 else
17109 echo "$as_me: program exited with status $ac_status" >&5
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 ( exit $ac_status )
17114 ac_cv_c_bigendian=yes
17115 fi
17116 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17117 fi
17118 fi
17119 fi
17120 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17121 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17122 if test $ac_cv_c_bigendian = unknown; then
17123 { 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
17124 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;}
17125 fi
17126 if test $ac_cv_c_bigendian = yes; then
17127 cat >>confdefs.h <<\_ACEOF
17128 #define WORDS_BIGENDIAN 1
17129 _ACEOF
17130
17131 fi
17132
17133
17134
17135 ac_ext=cc
17136 ac_cpp='$CXXCPP $CPPFLAGS'
17137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17140 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17141 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17142 if test -z "$CXXCPP"; then
17143 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 else
17146 # Double quotes because CXXCPP needs to be expanded
17147 for CXXCPP in "$CXX -E" "/lib/cpp"
17148 do
17149 ac_preproc_ok=false
17150 for ac_cxx_preproc_warn_flag in '' yes
17151 do
17152 # Use a header file that comes with gcc, so configuring glibc
17153 # with a fresh cross-compiler works.
17154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17155 # <limits.h> exists even on freestanding compilers.
17156 # On the NeXT, cc -E runs the code through the compiler's parser,
17157 # not just through cpp. "Syntax error" is here to catch this case.
17158 cat >conftest.$ac_ext <<_ACEOF
17159 #line $LINENO "configure"
17160 /* confdefs.h. */
17161 _ACEOF
17162 cat confdefs.h >>conftest.$ac_ext
17163 cat >>conftest.$ac_ext <<_ACEOF
17164 /* end confdefs.h. */
17165 #ifdef __STDC__
17166 # include <limits.h>
17167 #else
17168 # include <assert.h>
17169 #endif
17170 Syntax error
17171 _ACEOF
17172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17174 ac_status=$?
17175 grep -v '^ *+' conftest.er1 >conftest.err
17176 rm -f conftest.er1
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } >/dev/null; then
17180 if test -s conftest.err; then
17181 ac_cpp_err=$ac_cxx_preproc_warn_flag
17182 else
17183 ac_cpp_err=
17184 fi
17185 else
17186 ac_cpp_err=yes
17187 fi
17188 if test -z "$ac_cpp_err"; then
17189 :
17190 else
17191 echo "$as_me: failed program was:" >&5
17192 sed 's/^/| /' conftest.$ac_ext >&5
17193
17194 # Broken: fails on valid input.
17195 continue
17196 fi
17197 rm -f conftest.err conftest.$ac_ext
17198
17199 # OK, works on sane cases. Now check whether non-existent headers
17200 # can be detected and how.
17201 cat >conftest.$ac_ext <<_ACEOF
17202 #line $LINENO "configure"
17203 /* confdefs.h. */
17204 _ACEOF
17205 cat confdefs.h >>conftest.$ac_ext
17206 cat >>conftest.$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17208 #include <ac_nonexistent.h>
17209 _ACEOF
17210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17212 ac_status=$?
17213 grep -v '^ *+' conftest.er1 >conftest.err
17214 rm -f conftest.er1
17215 cat conftest.err >&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } >/dev/null; then
17218 if test -s conftest.err; then
17219 ac_cpp_err=$ac_cxx_preproc_warn_flag
17220 else
17221 ac_cpp_err=
17222 fi
17223 else
17224 ac_cpp_err=yes
17225 fi
17226 if test -z "$ac_cpp_err"; then
17227 # Broken: success on invalid input.
17228 continue
17229 else
17230 echo "$as_me: failed program was:" >&5
17231 sed 's/^/| /' conftest.$ac_ext >&5
17232
17233 # Passes both tests.
17234 ac_preproc_ok=:
17235 break
17236 fi
17237 rm -f conftest.err conftest.$ac_ext
17238
17239 done
17240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17241 rm -f conftest.err conftest.$ac_ext
17242 if $ac_preproc_ok; then
17243 break
17244 fi
17245
17246 done
17247 ac_cv_prog_CXXCPP=$CXXCPP
17248
17249 fi
17250 CXXCPP=$ac_cv_prog_CXXCPP
17251 else
17252 ac_cv_prog_CXXCPP=$CXXCPP
17253 fi
17254 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17255 echo "${ECHO_T}$CXXCPP" >&6
17256 ac_preproc_ok=false
17257 for ac_cxx_preproc_warn_flag in '' yes
17258 do
17259 # Use a header file that comes with gcc, so configuring glibc
17260 # with a fresh cross-compiler works.
17261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17262 # <limits.h> exists even on freestanding compilers.
17263 # On the NeXT, cc -E runs the code through the compiler's parser,
17264 # not just through cpp. "Syntax error" is here to catch this case.
17265 cat >conftest.$ac_ext <<_ACEOF
17266 #line $LINENO "configure"
17267 /* confdefs.h. */
17268 _ACEOF
17269 cat confdefs.h >>conftest.$ac_ext
17270 cat >>conftest.$ac_ext <<_ACEOF
17271 /* end confdefs.h. */
17272 #ifdef __STDC__
17273 # include <limits.h>
17274 #else
17275 # include <assert.h>
17276 #endif
17277 Syntax error
17278 _ACEOF
17279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17281 ac_status=$?
17282 grep -v '^ *+' conftest.er1 >conftest.err
17283 rm -f conftest.er1
17284 cat conftest.err >&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); } >/dev/null; then
17287 if test -s conftest.err; then
17288 ac_cpp_err=$ac_cxx_preproc_warn_flag
17289 else
17290 ac_cpp_err=
17291 fi
17292 else
17293 ac_cpp_err=yes
17294 fi
17295 if test -z "$ac_cpp_err"; then
17296 :
17297 else
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17300
17301 # Broken: fails on valid input.
17302 continue
17303 fi
17304 rm -f conftest.err conftest.$ac_ext
17305
17306 # OK, works on sane cases. Now check whether non-existent headers
17307 # can be detected and how.
17308 cat >conftest.$ac_ext <<_ACEOF
17309 #line $LINENO "configure"
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 #include <ac_nonexistent.h>
17316 _ACEOF
17317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17319 ac_status=$?
17320 grep -v '^ *+' conftest.er1 >conftest.err
17321 rm -f conftest.er1
17322 cat conftest.err >&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } >/dev/null; then
17325 if test -s conftest.err; then
17326 ac_cpp_err=$ac_cxx_preproc_warn_flag
17327 else
17328 ac_cpp_err=
17329 fi
17330 else
17331 ac_cpp_err=yes
17332 fi
17333 if test -z "$ac_cpp_err"; then
17334 # Broken: success on invalid input.
17335 continue
17336 else
17337 echo "$as_me: failed program was:" >&5
17338 sed 's/^/| /' conftest.$ac_ext >&5
17339
17340 # Passes both tests.
17341 ac_preproc_ok=:
17342 break
17343 fi
17344 rm -f conftest.err conftest.$ac_ext
17345
17346 done
17347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17348 rm -f conftest.err conftest.$ac_ext
17349 if $ac_preproc_ok; then
17350 :
17351 else
17352 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17353 See \`config.log' for more details." >&5
17354 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17355 See \`config.log' for more details." >&2;}
17356 { (exit 1); exit 1; }; }
17357 fi
17358
17359 ac_ext=cc
17360 ac_cpp='$CXXCPP $CPPFLAGS'
17361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17364
17365
17366
17367 if test "$cross_compiling" = "yes"; then
17368 cat >>confdefs.h <<\_ACEOF
17369 #define wxUSE_IOSTREAMH 1
17370 _ACEOF
17371
17372 else
17373
17374
17375 ac_ext=cc
17376 ac_cpp='$CXXCPP $CPPFLAGS'
17377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17380
17381
17382
17383 for ac_header in iostream
17384 do
17385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17387 echo "$as_me:$LINENO: checking for $ac_header" >&5
17388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 fi
17392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17394 else
17395 # Is the header compilable?
17396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17398 cat >conftest.$ac_ext <<_ACEOF
17399 #line $LINENO "configure"
17400 /* confdefs.h. */
17401 _ACEOF
17402 cat confdefs.h >>conftest.$ac_ext
17403 cat >>conftest.$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405 $ac_includes_default
17406 #include <$ac_header>
17407 _ACEOF
17408 rm -f conftest.$ac_objext
17409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17410 (eval $ac_compile) 2>&5
17411 ac_status=$?
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); } &&
17414 { ac_try='test -s conftest.$ac_objext'
17415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17416 (eval $ac_try) 2>&5
17417 ac_status=$?
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); }; }; then
17420 ac_header_compiler=yes
17421 else
17422 echo "$as_me: failed program was:" >&5
17423 sed 's/^/| /' conftest.$ac_ext >&5
17424
17425 ac_header_compiler=no
17426 fi
17427 rm -f conftest.$ac_objext conftest.$ac_ext
17428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17429 echo "${ECHO_T}$ac_header_compiler" >&6
17430
17431 # Is the header present?
17432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17434 cat >conftest.$ac_ext <<_ACEOF
17435 #line $LINENO "configure"
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 #include <$ac_header>
17442 _ACEOF
17443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17445 ac_status=$?
17446 grep -v '^ *+' conftest.er1 >conftest.err
17447 rm -f conftest.er1
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } >/dev/null; then
17451 if test -s conftest.err; then
17452 ac_cpp_err=$ac_cxx_preproc_warn_flag
17453 else
17454 ac_cpp_err=
17455 fi
17456 else
17457 ac_cpp_err=yes
17458 fi
17459 if test -z "$ac_cpp_err"; then
17460 ac_header_preproc=yes
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465 ac_header_preproc=no
17466 fi
17467 rm -f conftest.err conftest.$ac_ext
17468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17469 echo "${ECHO_T}$ac_header_preproc" >&6
17470
17471 # So? What about this header?
17472 case $ac_header_compiler:$ac_header_preproc in
17473 yes:no )
17474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17478 (
17479 cat <<\_ASBOX
17480 ## ------------------------------------ ##
17481 ## Report this to bug-autoconf@gnu.org. ##
17482 ## ------------------------------------ ##
17483 _ASBOX
17484 ) |
17485 sed "s/^/$as_me: WARNING: /" >&2
17486 ;;
17487 no:yes )
17488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17494 (
17495 cat <<\_ASBOX
17496 ## ------------------------------------ ##
17497 ## Report this to bug-autoconf@gnu.org. ##
17498 ## ------------------------------------ ##
17499 _ASBOX
17500 ) |
17501 sed "s/^/$as_me: WARNING: /" >&2
17502 ;;
17503 esac
17504 echo "$as_me:$LINENO: checking for $ac_header" >&5
17505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509 eval "$as_ac_Header=$ac_header_preproc"
17510 fi
17511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17513
17514 fi
17515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17516 cat >>confdefs.h <<_ACEOF
17517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17518 _ACEOF
17519
17520 fi
17521
17522 done
17523
17524
17525 if test "$ac_cv_header_iostream" = "yes" ; then
17526 :
17527 else
17528 cat >>confdefs.h <<\_ACEOF
17529 #define wxUSE_IOSTREAMH 1
17530 _ACEOF
17531
17532 fi
17533
17534 ac_ext=c
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17539
17540 fi
17541
17542
17543
17544 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17545 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17546 if test "${wx_cv_cpp_bool+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 else
17549
17550
17551
17552 ac_ext=cc
17553 ac_cpp='$CXXCPP $CPPFLAGS'
17554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17557
17558
17559 cat >conftest.$ac_ext <<_ACEOF
17560 #line $LINENO "configure"
17561 /* confdefs.h. */
17562 _ACEOF
17563 cat confdefs.h >>conftest.$ac_ext
17564 cat >>conftest.$ac_ext <<_ACEOF
17565 /* end confdefs.h. */
17566
17567
17568 int
17569 main ()
17570 {
17571
17572 bool b = true;
17573
17574 return 0;
17575
17576 ;
17577 return 0;
17578 }
17579 _ACEOF
17580 rm -f conftest.$ac_objext
17581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17582 (eval $ac_compile) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } &&
17586 { ac_try='test -s conftest.$ac_objext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592
17593 wx_cv_cpp_bool=yes
17594
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17598
17599
17600 wx_cv_cpp_bool=no
17601
17602
17603 fi
17604 rm -f conftest.$ac_objext conftest.$ac_ext
17605
17606 ac_ext=c
17607 ac_cpp='$CPP $CPPFLAGS'
17608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17611
17612
17613 fi
17614 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17615 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17616
17617 if test "$wx_cv_cpp_bool" = "yes"; then
17618 cat >>confdefs.h <<\_ACEOF
17619 #define HAVE_BOOL 1
17620 _ACEOF
17621
17622 fi
17623
17624
17625
17626 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17627 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17628 if test "${wx_cv_explicit+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 else
17631
17632
17633
17634 ac_ext=cc
17635 ac_cpp='$CXXCPP $CPPFLAGS'
17636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17639
17640
17641 cat >conftest.$ac_ext <<_ACEOF
17642 #line $LINENO "configure"
17643 /* confdefs.h. */
17644 _ACEOF
17645 cat confdefs.h >>conftest.$ac_ext
17646 cat >>conftest.$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17648
17649 class Foo { public: explicit Foo(int) {} };
17650
17651 int
17652 main ()
17653 {
17654
17655 return 0;
17656
17657 ;
17658 return 0;
17659 }
17660 _ACEOF
17661 rm -f conftest.$ac_objext
17662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17663 (eval $ac_compile) 2>&5
17664 ac_status=$?
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } &&
17667 { ac_try='test -s conftest.$ac_objext'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17670 ac_status=$?
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; }; then
17673
17674 cat >conftest.$ac_ext <<_ACEOF
17675 #line $LINENO "configure"
17676 /* confdefs.h. */
17677 _ACEOF
17678 cat confdefs.h >>conftest.$ac_ext
17679 cat >>conftest.$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681
17682 class Foo { public: explicit Foo(int) {} };
17683 static void TakeFoo(const Foo& foo) { }
17684
17685 int
17686 main ()
17687 {
17688
17689 TakeFoo(17);
17690 return 0;
17691
17692 ;
17693 return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } &&
17702 { ac_try='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 wx_cv_explicit=no
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 wx_cv_explicit=yes
17714
17715 fi
17716 rm -f conftest.$ac_objext conftest.$ac_ext
17717
17718 else
17719 echo "$as_me: failed program was:" >&5
17720 sed 's/^/| /' conftest.$ac_ext >&5
17721
17722 wx_cv_explicit=no
17723
17724 fi
17725 rm -f conftest.$ac_objext conftest.$ac_ext
17726
17727 ac_ext=c
17728 ac_cpp='$CPP $CPPFLAGS'
17729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17732
17733
17734 fi
17735 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17736 echo "${ECHO_T}$wx_cv_explicit" >&6
17737
17738 if test "$wx_cv_explicit" = "yes"; then
17739 cat >>confdefs.h <<\_ACEOF
17740 #define HAVE_EXPLICIT 1
17741 _ACEOF
17742
17743 fi
17744
17745
17746 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17747 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17748 if test "${ac_cv_cxx_const_cast+set}" = set; then
17749 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 else
17751
17752
17753 ac_ext=cc
17754 ac_cpp='$CXXCPP $CPPFLAGS'
17755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17758
17759 cat >conftest.$ac_ext <<_ACEOF
17760 #line $LINENO "configure"
17761 /* confdefs.h. */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766
17767 int
17768 main ()
17769 {
17770 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17771 ;
17772 return 0;
17773 }
17774 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17777 (eval $ac_compile) 2>&5
17778 ac_status=$?
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -s conftest.$ac_objext'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17784 ac_status=$?
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17787 ac_cv_cxx_const_cast=yes
17788 else
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.$ac_ext >&5
17791
17792 ac_cv_cxx_const_cast=no
17793 fi
17794 rm -f conftest.$ac_objext conftest.$ac_ext
17795 ac_ext=c
17796 ac_cpp='$CPP $CPPFLAGS'
17797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17800
17801
17802 fi
17803 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17804 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17805 if test "$ac_cv_cxx_const_cast" = yes; then
17806
17807 cat >>confdefs.h <<\_ACEOF
17808 #define HAVE_CONST_CAST
17809 _ACEOF
17810
17811 fi
17812
17813
17814 if test "$wxUSE_STL" = "yes"; then
17815 ac_ext=cc
17816 ac_cpp='$CXXCPP $CPPFLAGS'
17817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17820
17821
17822 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17823 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17824 cat >conftest.$ac_ext <<_ACEOF
17825 #line $LINENO "configure"
17826 /* confdefs.h. */
17827 _ACEOF
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17831 #include <string>
17832 #include <functional>
17833 #include <algorithm>
17834 #include <vector>
17835 #include <list>
17836 int
17837 main ()
17838 {
17839 std::vector<int> moo;
17840 std::list<int> foo;
17841 std::vector<int>::iterator it =
17842 std::find_if(moo.begin(), moo.end(),
17843 std::bind2nd(std::less<int>(), 3));
17844 ;
17845 return 0;
17846 }
17847 _ACEOF
17848 rm -f conftest.$ac_objext
17849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17850 (eval $ac_compile) 2>&5
17851 ac_status=$?
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); } &&
17854 { ac_try='test -s conftest.$ac_objext'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17857 ac_status=$?
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; }; then
17860 echo "$as_me:$LINENO: result: yes" >&5
17861 echo "${ECHO_T}yes" >&6
17862 else
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.$ac_ext >&5
17865
17866 echo "$as_me:$LINENO: result: no" >&5
17867 echo "${ECHO_T}no" >&6
17868 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17869 echo "$as_me: error: Basic STL functionality missing" >&2;}
17870 { (exit 1); exit 1; }; }
17871 fi
17872 rm -f conftest.$ac_objext conftest.$ac_ext
17873
17874 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17875 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17876 cat >conftest.$ac_ext <<_ACEOF
17877 #line $LINENO "configure"
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 #include <string>
17884 int
17885 main ()
17886 {
17887 std::wstring foo;
17888 ;
17889 return 0;
17890 }
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>&5
17895 ac_status=$?
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } &&
17898 { ac_try='test -s conftest.$ac_objext'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17901 ac_status=$?
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; }; then
17904 echo "$as_me:$LINENO: result: yes" >&5
17905 echo "${ECHO_T}yes" >&6
17906 cat >>confdefs.h <<\_ACEOF
17907 #define HAVE_STD_WSTRING 1
17908 _ACEOF
17909
17910 else
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17913
17914 echo "$as_me:$LINENO: result: no" >&5
17915 echo "${ECHO_T}no" >&6
17916 fi
17917 rm -f conftest.$ac_objext conftest.$ac_ext
17918
17919 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17920 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17921 cat >conftest.$ac_ext <<_ACEOF
17922 #line $LINENO "configure"
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 #include <string>
17929 int
17930 main ()
17931 {
17932 std::string foo, bar;
17933 foo.compare(bar);
17934 foo.compare(1, 1, bar);
17935 foo.compare(1, 1, bar, 1, 1);
17936 foo.compare("");
17937 foo.compare(1, 1, "");
17938 foo.compare(1, 1, "", 2);
17939 ;
17940 return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext
17944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17945 (eval $ac_compile) 2>&5
17946 ac_status=$?
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } &&
17949 { ac_try='test -s conftest.$ac_objext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 echo "$as_me:$LINENO: result: yes" >&5
17956 echo "${ECHO_T}yes" >&6
17957 cat >>confdefs.h <<\_ACEOF
17958 #define HAVE_STD_STRING_COMPARE 1
17959 _ACEOF
17960
17961 else
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.$ac_ext >&5
17964
17965 echo "$as_me:$LINENO: result: no" >&5
17966 echo "${ECHO_T}no" >&6
17967 fi
17968 rm -f conftest.$ac_objext conftest.$ac_ext
17969
17970 ac_ext=c
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17975
17976 fi
17977
17978
17979 SEARCH_INCLUDE="\
17980 /usr/local/include \
17981 \
17982 /usr/Motif-2.1/include \
17983 /usr/Motif-1.2/include \
17984 /usr/include/Motif1.2 \
17985 /opt/xpm/include/X11 \
17986 /opt/GBxpm/include/ \
17987 /opt/GBxpm/X11/include/ \
17988 \
17989 /usr/dt/include \
17990 /usr/openwin/include \
17991 \
17992 /usr/include/Xm \
17993 \
17994 /usr/X11R6/include \
17995 /usr/X11R6.4/include \
17996 /usr/X11R5/include \
17997 /usr/X11R4/include \
17998 \
17999 /usr/include/X11R6 \
18000 /usr/include/X11R5 \
18001 /usr/include/X11R4 \
18002 \
18003 /usr/local/X11R6/include \
18004 /usr/local/X11R5/include \
18005 /usr/local/X11R4/include \
18006 \
18007 /usr/local/include/X11R6 \
18008 /usr/local/include/X11R5 \
18009 /usr/local/include/X11R4 \
18010 \
18011 /usr/X11/include \
18012 /usr/include/X11 \
18013 /usr/local/X11/include \
18014 /usr/local/include/X11 \
18015 \
18016 /usr/X386/include \
18017 /usr/x386/include \
18018 /usr/XFree86/include/X11 \
18019 \
18020 X:/XFree86/include \
18021 X:/XFree86/include/X11 \
18022 \
18023 /usr/include/gtk \
18024 /usr/local/include/gtk \
18025 /usr/include/glib \
18026 /usr/local/include/glib \
18027 \
18028 /usr/include/qt \
18029 /usr/local/include/qt \
18030 \
18031 /usr/include/windows \
18032 /usr/include/wine \
18033 /usr/local/include/wine \
18034 \
18035 /usr/unsupported/include \
18036 /usr/athena/include \
18037 /usr/local/x11r5/include \
18038 /usr/lpp/Xamples/include \
18039 \
18040 /usr/openwin/share/include"
18041
18042 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` " \
18043 /usr/lib64 /usr/X11R6/lib64
18044
18045
18046 cat >confcache <<\_ACEOF
18047 # This file is a shell script that caches the results of configure
18048 # tests run on this system so they can be shared between configure
18049 # scripts and configure runs, see configure's option --config-cache.
18050 # It is not useful on other systems. If it contains results you don't
18051 # want to keep, you may remove or edit it.
18052 #
18053 # config.status only pays attention to the cache file if you give it
18054 # the --recheck option to rerun configure.
18055 #
18056 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18057 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18058 # following values.
18059
18060 _ACEOF
18061
18062 # The following way of writing the cache mishandles newlines in values,
18063 # but we know of no workaround that is simple, portable, and efficient.
18064 # So, don't put newlines in cache variables' values.
18065 # Ultrix sh set writes to stderr and can't be redirected directly,
18066 # and sets the high bit in the cache file unless we assign to the vars.
18067 {
18068 (set) 2>&1 |
18069 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18070 *ac_space=\ *)
18071 # `set' does not quote correctly, so add quotes (double-quote
18072 # substitution turns \\\\ into \\, and sed turns \\ into \).
18073 sed -n \
18074 "s/'/'\\\\''/g;
18075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18076 ;;
18077 *)
18078 # `set' quotes correctly as required by POSIX, so do not add quotes.
18079 sed -n \
18080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18081 ;;
18082 esac;
18083 } |
18084 sed '
18085 t clear
18086 : clear
18087 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18088 t end
18089 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18090 : end' >>confcache
18091 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18092 if test -w $cache_file; then
18093 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18094 cat confcache >$cache_file
18095 else
18096 echo "not updating unwritable cache $cache_file"
18097 fi
18098 fi
18099 rm -f confcache
18100
18101 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
18102 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
18103 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
18104 if test "${wx_cv_lib_glibc21+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 else
18107
18108 cat >conftest.$ac_ext <<_ACEOF
18109 #line $LINENO "configure"
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 #include <features.h>
18116 int
18117 main ()
18118 {
18119
18120 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
18121 #error not glibc2.1
18122 #endif
18123
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 rm -f conftest.$ac_objext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18130 (eval $ac_compile) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } &&
18134 { ac_try='test -s conftest.$ac_objext'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18137 ac_status=$?
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; }; then
18140
18141 wx_cv_lib_glibc21=yes
18142
18143 else
18144 echo "$as_me: failed program was:" >&5
18145 sed 's/^/| /' conftest.$ac_ext >&5
18146
18147
18148 wx_cv_lib_glibc21=no
18149
18150
18151 fi
18152 rm -f conftest.$ac_objext conftest.$ac_ext
18153
18154 fi
18155 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18156 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18157 if test "$wx_cv_lib_glibc21" = "yes"; then
18158 cat >>confdefs.h <<\_ACEOF
18159 #define wxHAVE_GLIBC2 1
18160 _ACEOF
18161
18162 fi
18163 fi
18164
18165 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18166 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18167 cat >>confdefs.h <<\_ACEOF
18168 #define _GNU_SOURCE 1
18169 _ACEOF
18170
18171 fi
18172 fi
18173
18174
18175
18176 if test "$wxUSE_REGEX" != "no"; then
18177 cat >>confdefs.h <<\_ACEOF
18178 #define wxUSE_REGEX 1
18179 _ACEOF
18180
18181
18182 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
18183 { echo "$as_me:$LINENO: WARNING: Unicode build requires built-in regex library, will use it instead" >&5
18184 echo "$as_me: WARNING: Unicode build requires built-in regex library, will use it instead" >&2;}
18185 wxUSE_REGEX=builtin
18186 fi
18187
18188 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18189 if test "${ac_cv_header_regex_h+set}" = set; then
18190 echo "$as_me:$LINENO: checking for regex.h" >&5
18191 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18192 if test "${ac_cv_header_regex_h+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 fi
18195 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18196 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18197 else
18198 # Is the header compilable?
18199 echo "$as_me:$LINENO: checking regex.h usability" >&5
18200 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18201 cat >conftest.$ac_ext <<_ACEOF
18202 #line $LINENO "configure"
18203 /* confdefs.h. */
18204 _ACEOF
18205 cat confdefs.h >>conftest.$ac_ext
18206 cat >>conftest.$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 $ac_includes_default
18209 #include <regex.h>
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try='test -s conftest.$ac_objext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 ac_header_compiler=yes
18224 else
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.$ac_ext >&5
18227
18228 ac_header_compiler=no
18229 fi
18230 rm -f conftest.$ac_objext conftest.$ac_ext
18231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18232 echo "${ECHO_T}$ac_header_compiler" >&6
18233
18234 # Is the header present?
18235 echo "$as_me:$LINENO: checking regex.h presence" >&5
18236 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18237 cat >conftest.$ac_ext <<_ACEOF
18238 #line $LINENO "configure"
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 #include <regex.h>
18245 _ACEOF
18246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18248 ac_status=$?
18249 grep -v '^ *+' conftest.er1 >conftest.err
18250 rm -f conftest.er1
18251 cat conftest.err >&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } >/dev/null; then
18254 if test -s conftest.err; then
18255 ac_cpp_err=$ac_c_preproc_warn_flag
18256 else
18257 ac_cpp_err=
18258 fi
18259 else
18260 ac_cpp_err=yes
18261 fi
18262 if test -z "$ac_cpp_err"; then
18263 ac_header_preproc=yes
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18267
18268 ac_header_preproc=no
18269 fi
18270 rm -f conftest.err conftest.$ac_ext
18271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18272 echo "${ECHO_T}$ac_header_preproc" >&6
18273
18274 # So? What about this header?
18275 case $ac_header_compiler:$ac_header_preproc in
18276 yes:no )
18277 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18278 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18279 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18280 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18281 (
18282 cat <<\_ASBOX
18283 ## ------------------------------------ ##
18284 ## Report this to bug-autoconf@gnu.org. ##
18285 ## ------------------------------------ ##
18286 _ASBOX
18287 ) |
18288 sed "s/^/$as_me: WARNING: /" >&2
18289 ;;
18290 no:yes )
18291 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18292 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18293 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18294 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18295 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18296 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18297 (
18298 cat <<\_ASBOX
18299 ## ------------------------------------ ##
18300 ## Report this to bug-autoconf@gnu.org. ##
18301 ## ------------------------------------ ##
18302 _ASBOX
18303 ) |
18304 sed "s/^/$as_me: WARNING: /" >&2
18305 ;;
18306 esac
18307 echo "$as_me:$LINENO: checking for regex.h" >&5
18308 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18309 if test "${ac_cv_header_regex_h+set}" = set; then
18310 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 else
18312 ac_cv_header_regex_h=$ac_header_preproc
18313 fi
18314 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18315 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18316
18317 fi
18318 if test $ac_cv_header_regex_h = yes; then
18319
18320 for ac_func in regcomp
18321 do
18322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18323 echo "$as_me:$LINENO: checking for $ac_func" >&5
18324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18325 if eval "test \"\${$as_ac_var+set}\" = set"; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 else
18328 cat >conftest.$ac_ext <<_ACEOF
18329 #line $LINENO "configure"
18330 /* confdefs.h. */
18331 _ACEOF
18332 cat confdefs.h >>conftest.$ac_ext
18333 cat >>conftest.$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18335 /* System header to define __stub macros and hopefully few prototypes,
18336 which can conflict with char $ac_func (); below.
18337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18338 <limits.h> exists even on freestanding compilers. */
18339 #ifdef __STDC__
18340 # include <limits.h>
18341 #else
18342 # include <assert.h>
18343 #endif
18344 /* Override any gcc2 internal prototype to avoid an error. */
18345 #ifdef __cplusplus
18346 extern "C"
18347 {
18348 #endif
18349 /* We use char because int might match the return type of a gcc2
18350 builtin and then its argument prototype would still apply. */
18351 char $ac_func ();
18352 /* The GNU C library defines this for functions which it implements
18353 to always fail with ENOSYS. Some functions are actually named
18354 something starting with __ and the normal name is an alias. */
18355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18356 choke me
18357 #else
18358 char (*f) () = $ac_func;
18359 #endif
18360 #ifdef __cplusplus
18361 }
18362 #endif
18363
18364 int
18365 main ()
18366 {
18367 return f != $ac_func;
18368 ;
18369 return 0;
18370 }
18371 _ACEOF
18372 rm -f conftest.$ac_objext conftest$ac_exeext
18373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18374 (eval $ac_link) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); } &&
18378 { ac_try='test -s conftest$ac_exeext'
18379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18380 (eval $ac_try) 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }; }; then
18384 eval "$as_ac_var=yes"
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18388
18389 eval "$as_ac_var=no"
18390 fi
18391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18392 fi
18393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18395 if test `eval echo '${'$as_ac_var'}'` = yes; then
18396 cat >>confdefs.h <<_ACEOF
18397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18398 _ACEOF
18399
18400 fi
18401 done
18402
18403 fi
18404
18405
18406
18407 if test "x$ac_cv_func_regcomp" != "xyes"; then
18408 if test "$wxUSE_REGEX" = "sys" ; then
18409 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18410 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18411 { (exit 1); exit 1; }; }
18412 else
18413 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18414 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18415 wxUSE_REGEX=builtin
18416 fi
18417 else
18418 wxUSE_REGEX=sys
18419 fi
18420 fi
18421 fi
18422
18423
18424 ZLIB_LINK=
18425 if test "$wxUSE_ZLIB" != "no" ; then
18426 cat >>confdefs.h <<\_ACEOF
18427 #define wxUSE_ZLIB 1
18428 _ACEOF
18429
18430
18431 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18432 if test "$USE_DARWIN" = 1; then
18433 system_zlib_h_ok="yes"
18434 else
18435 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18436 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18437 if test "${ac_cv_header_zlib_h+set}" = set; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 else
18440 if test "$cross_compiling" = yes; then
18441 unset ac_cv_header_zlib_h
18442
18443 else
18444 cat >conftest.$ac_ext <<_ACEOF
18445 #line $LINENO "configure"
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451
18452 #include <zlib.h>
18453 #include <stdio.h>
18454
18455 int main()
18456 {
18457 FILE *f=fopen("conftestval", "w");
18458 if (!f) exit(1);
18459 fprintf(f, "%s",
18460 ZLIB_VERSION[0] == '1' &&
18461 (ZLIB_VERSION[2] > '1' ||
18462 (ZLIB_VERSION[2] == '1' &&
18463 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18464 exit(0);
18465 }
18466
18467 _ACEOF
18468 rm -f conftest$ac_exeext
18469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18470 (eval $ac_link) 2>&5
18471 ac_status=$?
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18476 ac_status=$?
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; }; then
18479 ac_cv_header_zlib_h=`cat conftestval`
18480 else
18481 echo "$as_me: program exited with status $ac_status" >&5
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.$ac_ext >&5
18484
18485 ( exit $ac_status )
18486 ac_cv_header_zlib_h=no
18487 fi
18488 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18489 fi
18490
18491 fi
18492 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18493 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18494 if test "${ac_cv_header_zlib_h+set}" = set; then
18495 echo "$as_me:$LINENO: checking for zlib.h" >&5
18496 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18497 if test "${ac_cv_header_zlib_h+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 fi
18500 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18501 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18502 else
18503 # Is the header compilable?
18504 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18505 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18506 cat >conftest.$ac_ext <<_ACEOF
18507 #line $LINENO "configure"
18508 /* confdefs.h. */
18509 _ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 $ac_includes_default
18514 #include <zlib.h>
18515 _ACEOF
18516 rm -f conftest.$ac_objext
18517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18518 (eval $ac_compile) 2>&5
18519 ac_status=$?
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); } &&
18522 { ac_try='test -s conftest.$ac_objext'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; }; then
18528 ac_header_compiler=yes
18529 else
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18532
18533 ac_header_compiler=no
18534 fi
18535 rm -f conftest.$ac_objext conftest.$ac_ext
18536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18537 echo "${ECHO_T}$ac_header_compiler" >&6
18538
18539 # Is the header present?
18540 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18541 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18542 cat >conftest.$ac_ext <<_ACEOF
18543 #line $LINENO "configure"
18544 /* confdefs.h. */
18545 _ACEOF
18546 cat confdefs.h >>conftest.$ac_ext
18547 cat >>conftest.$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18549 #include <zlib.h>
18550 _ACEOF
18551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18553 ac_status=$?
18554 grep -v '^ *+' conftest.er1 >conftest.err
18555 rm -f conftest.er1
18556 cat conftest.err >&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } >/dev/null; then
18559 if test -s conftest.err; then
18560 ac_cpp_err=$ac_c_preproc_warn_flag
18561 else
18562 ac_cpp_err=
18563 fi
18564 else
18565 ac_cpp_err=yes
18566 fi
18567 if test -z "$ac_cpp_err"; then
18568 ac_header_preproc=yes
18569 else
18570 echo "$as_me: failed program was:" >&5
18571 sed 's/^/| /' conftest.$ac_ext >&5
18572
18573 ac_header_preproc=no
18574 fi
18575 rm -f conftest.err conftest.$ac_ext
18576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18577 echo "${ECHO_T}$ac_header_preproc" >&6
18578
18579 # So? What about this header?
18580 case $ac_header_compiler:$ac_header_preproc in
18581 yes:no )
18582 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18583 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18584 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18585 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18586 (
18587 cat <<\_ASBOX
18588 ## ------------------------------------ ##
18589 ## Report this to bug-autoconf@gnu.org. ##
18590 ## ------------------------------------ ##
18591 _ASBOX
18592 ) |
18593 sed "s/^/$as_me: WARNING: /" >&2
18594 ;;
18595 no:yes )
18596 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18597 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18598 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18599 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18600 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18601 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18602 (
18603 cat <<\_ASBOX
18604 ## ------------------------------------ ##
18605 ## Report this to bug-autoconf@gnu.org. ##
18606 ## ------------------------------------ ##
18607 _ASBOX
18608 ) |
18609 sed "s/^/$as_me: WARNING: /" >&2
18610 ;;
18611 esac
18612 echo "$as_me:$LINENO: checking for zlib.h" >&5
18613 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18614 if test "${ac_cv_header_zlib_h+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 else
18617 ac_cv_header_zlib_h=$ac_header_preproc
18618 fi
18619 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18620 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18621
18622 fi
18623
18624
18625
18626 system_zlib_h_ok=$ac_cv_header_zlib_h
18627 fi
18628
18629 if test "$system_zlib_h_ok" = "yes"; then
18630 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18631 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18632 if test "${ac_cv_lib_z_deflate+set}" = set; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18634 else
18635 ac_check_lib_save_LIBS=$LIBS
18636 LIBS="-lz $LIBS"
18637 cat >conftest.$ac_ext <<_ACEOF
18638 #line $LINENO "configure"
18639 /* confdefs.h. */
18640 _ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644
18645 /* Override any gcc2 internal prototype to avoid an error. */
18646 #ifdef __cplusplus
18647 extern "C"
18648 #endif
18649 /* We use char because int might match the return type of a gcc2
18650 builtin and then its argument prototype would still apply. */
18651 char deflate ();
18652 int
18653 main ()
18654 {
18655 deflate ();
18656 ;
18657 return 0;
18658 }
18659 _ACEOF
18660 rm -f conftest.$ac_objext conftest$ac_exeext
18661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18662 (eval $ac_link) 2>&5
18663 ac_status=$?
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); } &&
18666 { ac_try='test -s conftest$ac_exeext'
18667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668 (eval $ac_try) 2>&5
18669 ac_status=$?
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; }; then
18672 ac_cv_lib_z_deflate=yes
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18676
18677 ac_cv_lib_z_deflate=no
18678 fi
18679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18680 LIBS=$ac_check_lib_save_LIBS
18681 fi
18682 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18683 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18684 if test $ac_cv_lib_z_deflate = yes; then
18685 ZLIB_LINK=" -lz"
18686 fi
18687
18688 fi
18689
18690 if test "x$ZLIB_LINK" = "x" ; then
18691 if test "$wxUSE_ZLIB" = "sys" ; then
18692 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18693 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18694 { (exit 1); exit 1; }; }
18695 else
18696 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18697 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18698 wxUSE_ZLIB=builtin
18699 fi
18700 else
18701 wxUSE_ZLIB=sys
18702 fi
18703 fi
18704 fi
18705
18706
18707 PNG_LINK=
18708 if test "$wxUSE_LIBPNG" != "no" ; then
18709 cat >>confdefs.h <<\_ACEOF
18710 #define wxUSE_LIBPNG 1
18711 _ACEOF
18712
18713
18714 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18715 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18716 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18717 wxUSE_LIBPNG=sys
18718 fi
18719
18720 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18721 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18722 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18723 wxUSE_LIBPNG=builtin
18724 fi
18725
18726 if test "$wxUSE_MGL" != 1 ; then
18727 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18728 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18729 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18730 if test "${ac_cv_header_png_h+set}" = set; then
18731 echo $ECHO_N "(cached) $ECHO_C" >&6
18732 else
18733 if test "$cross_compiling" = yes; then
18734 unset ac_cv_header_png_h
18735
18736 else
18737 cat >conftest.$ac_ext <<_ACEOF
18738 #line $LINENO "configure"
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744
18745 #include <png.h>
18746 #include <stdio.h>
18747
18748 int main()
18749 {
18750 FILE *f=fopen("conftestval", "w");
18751 if (!f) exit(1);
18752 fprintf(f, "%s",
18753 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18754 exit(0);
18755 }
18756
18757 _ACEOF
18758 rm -f conftest$ac_exeext
18759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18760 (eval $ac_link) 2>&5
18761 ac_status=$?
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; }; then
18769 ac_cv_header_png_h=`cat conftestval`
18770 else
18771 echo "$as_me: program exited with status $ac_status" >&5
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18774
18775 ( exit $ac_status )
18776 ac_cv_header_png_h=no
18777 fi
18778 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18779 fi
18780
18781 fi
18782 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18783 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18784 if test "${ac_cv_header_png_h+set}" = set; then
18785 echo "$as_me:$LINENO: checking for png.h" >&5
18786 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18787 if test "${ac_cv_header_png_h+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18789 fi
18790 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18791 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18792 else
18793 # Is the header compilable?
18794 echo "$as_me:$LINENO: checking png.h usability" >&5
18795 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18796 cat >conftest.$ac_ext <<_ACEOF
18797 #line $LINENO "configure"
18798 /* confdefs.h. */
18799 _ACEOF
18800 cat confdefs.h >>conftest.$ac_ext
18801 cat >>conftest.$ac_ext <<_ACEOF
18802 /* end confdefs.h. */
18803 $ac_includes_default
18804 #include <png.h>
18805 _ACEOF
18806 rm -f conftest.$ac_objext
18807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18808 (eval $ac_compile) 2>&5
18809 ac_status=$?
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } &&
18812 { ac_try='test -s conftest.$ac_objext'
18813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18814 (eval $ac_try) 2>&5
18815 ac_status=$?
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); }; }; then
18818 ac_header_compiler=yes
18819 else
18820 echo "$as_me: failed program was:" >&5
18821 sed 's/^/| /' conftest.$ac_ext >&5
18822
18823 ac_header_compiler=no
18824 fi
18825 rm -f conftest.$ac_objext conftest.$ac_ext
18826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18827 echo "${ECHO_T}$ac_header_compiler" >&6
18828
18829 # Is the header present?
18830 echo "$as_me:$LINENO: checking png.h presence" >&5
18831 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18832 cat >conftest.$ac_ext <<_ACEOF
18833 #line $LINENO "configure"
18834 /* confdefs.h. */
18835 _ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839 #include <png.h>
18840 _ACEOF
18841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18843 ac_status=$?
18844 grep -v '^ *+' conftest.er1 >conftest.err
18845 rm -f conftest.er1
18846 cat conftest.err >&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); } >/dev/null; then
18849 if test -s conftest.err; then
18850 ac_cpp_err=$ac_c_preproc_warn_flag
18851 else
18852 ac_cpp_err=
18853 fi
18854 else
18855 ac_cpp_err=yes
18856 fi
18857 if test -z "$ac_cpp_err"; then
18858 ac_header_preproc=yes
18859 else
18860 echo "$as_me: failed program was:" >&5
18861 sed 's/^/| /' conftest.$ac_ext >&5
18862
18863 ac_header_preproc=no
18864 fi
18865 rm -f conftest.err conftest.$ac_ext
18866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18867 echo "${ECHO_T}$ac_header_preproc" >&6
18868
18869 # So? What about this header?
18870 case $ac_header_compiler:$ac_header_preproc in
18871 yes:no )
18872 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18873 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18874 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18875 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18876 (
18877 cat <<\_ASBOX
18878 ## ------------------------------------ ##
18879 ## Report this to bug-autoconf@gnu.org. ##
18880 ## ------------------------------------ ##
18881 _ASBOX
18882 ) |
18883 sed "s/^/$as_me: WARNING: /" >&2
18884 ;;
18885 no:yes )
18886 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18887 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18888 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18889 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18890 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18891 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18892 (
18893 cat <<\_ASBOX
18894 ## ------------------------------------ ##
18895 ## Report this to bug-autoconf@gnu.org. ##
18896 ## ------------------------------------ ##
18897 _ASBOX
18898 ) |
18899 sed "s/^/$as_me: WARNING: /" >&2
18900 ;;
18901 esac
18902 echo "$as_me:$LINENO: checking for png.h" >&5
18903 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18904 if test "${ac_cv_header_png_h+set}" = set; then
18905 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 else
18907 ac_cv_header_png_h=$ac_header_preproc
18908 fi
18909 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18910 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18911
18912 fi
18913
18914
18915
18916 if test "$ac_cv_header_png_h" = "yes"; then
18917 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18918 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18919 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18920 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 else
18922 ac_check_lib_save_LIBS=$LIBS
18923 LIBS="-lpng -lz -lm $LIBS"
18924 cat >conftest.$ac_ext <<_ACEOF
18925 #line $LINENO "configure"
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931
18932 /* Override any gcc2 internal prototype to avoid an error. */
18933 #ifdef __cplusplus
18934 extern "C"
18935 #endif
18936 /* We use char because int might match the return type of a gcc2
18937 builtin and then its argument prototype would still apply. */
18938 char png_check_sig ();
18939 int
18940 main ()
18941 {
18942 png_check_sig ();
18943 ;
18944 return 0;
18945 }
18946 _ACEOF
18947 rm -f conftest.$ac_objext conftest$ac_exeext
18948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18949 (eval $ac_link) 2>&5
18950 ac_status=$?
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try='test -s conftest$ac_exeext'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18956 ac_status=$?
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; }; then
18959 ac_cv_lib_png_png_check_sig=yes
18960 else
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18963
18964 ac_cv_lib_png_png_check_sig=no
18965 fi
18966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18967 LIBS=$ac_check_lib_save_LIBS
18968 fi
18969 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18970 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18971 if test $ac_cv_lib_png_png_check_sig = yes; then
18972 PNG_LINK=" -lpng"
18973 fi
18974
18975 fi
18976
18977 if test "x$PNG_LINK" = "x" ; then
18978 if test "$wxUSE_LIBPNG" = "sys" ; then
18979 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18980 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18981 { (exit 1); exit 1; }; }
18982 else
18983 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18984 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18985 wxUSE_LIBPNG=builtin
18986 fi
18987 else
18988 wxUSE_LIBPNG=sys
18989 fi
18990 fi
18991 fi
18992
18993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18994 fi
18995
18996
18997 JPEG_LINK=
18998 if test "$wxUSE_LIBJPEG" != "no" ; then
18999 cat >>confdefs.h <<\_ACEOF
19000 #define wxUSE_LIBJPEG 1
19001 _ACEOF
19002
19003
19004 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19005 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19006 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19007 wxUSE_LIBJPEG=sys
19008 fi
19009
19010 if test "$wxUSE_MGL" != 1 ; then
19011 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19012 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19013 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19014 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 else
19017 cat >conftest.$ac_ext <<_ACEOF
19018 #line $LINENO "configure"
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024
19025 #undef HAVE_STDLIB_H
19026 #include <stdio.h>
19027 #include <jpeglib.h>
19028
19029 int
19030 main ()
19031 {
19032
19033
19034 ;
19035 return 0;
19036 }
19037 _ACEOF
19038 rm -f conftest.$ac_objext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19040 (eval $ac_compile) 2>&5
19041 ac_status=$?
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } &&
19044 { ac_try='test -s conftest.$ac_objext'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19047 ac_status=$?
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; }; then
19050 ac_cv_header_jpeglib_h=yes
19051 else
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19054
19055 ac_cv_header_jpeglib_h=no
19056
19057 fi
19058 rm -f conftest.$ac_objext conftest.$ac_ext
19059
19060 fi
19061
19062 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19063 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19064
19065 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19066 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19067 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
19068 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
19069 echo $ECHO_N "(cached) $ECHO_C" >&6
19070 else
19071 ac_check_lib_save_LIBS=$LIBS
19072 LIBS="-ljpeg $LIBS"
19073 cat >conftest.$ac_ext <<_ACEOF
19074 #line $LINENO "configure"
19075 /* confdefs.h. */
19076 _ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080
19081 /* Override any gcc2 internal prototype to avoid an error. */
19082 #ifdef __cplusplus
19083 extern "C"
19084 #endif
19085 /* We use char because int might match the return type of a gcc2
19086 builtin and then its argument prototype would still apply. */
19087 char jpeg_read_header ();
19088 int
19089 main ()
19090 {
19091 jpeg_read_header ();
19092 ;
19093 return 0;
19094 }
19095 _ACEOF
19096 rm -f conftest.$ac_objext conftest$ac_exeext
19097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19098 (eval $ac_link) 2>&5
19099 ac_status=$?
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } &&
19102 { ac_try='test -s conftest$ac_exeext'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19104 (eval $ac_try) 2>&5
19105 ac_status=$?
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); }; }; then
19108 ac_cv_lib_jpeg_jpeg_read_header=yes
19109 else
19110 echo "$as_me: failed program was:" >&5
19111 sed 's/^/| /' conftest.$ac_ext >&5
19112
19113 ac_cv_lib_jpeg_jpeg_read_header=no
19114 fi
19115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19116 LIBS=$ac_check_lib_save_LIBS
19117 fi
19118 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
19119 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
19120 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
19121 JPEG_LINK=" -ljpeg"
19122 fi
19123
19124 fi
19125
19126 if test "x$JPEG_LINK" = "x" ; then
19127 if test "$wxUSE_LIBJPEG" = "sys" ; then
19128 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
19129 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
19130 { (exit 1); exit 1; }; }
19131 else
19132 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
19133 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
19134 wxUSE_LIBJPEG=builtin
19135 fi
19136 else
19137 wxUSE_LIBJPEG=sys
19138 fi
19139 fi
19140 fi
19141 fi
19142
19143
19144 TIFF_LINK=
19145 TIFF_PREREQ_LINKS=-lm
19146 if test "$wxUSE_LIBTIFF" != "no" ; then
19147 cat >>confdefs.h <<\_ACEOF
19148 #define wxUSE_LIBTIFF 1
19149 _ACEOF
19150
19151
19152 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19153 if test "$wxUSE_LIBJPEG" = "sys"; then
19154 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19155 fi
19156 if test "$wxUSE_ZLIB" = "sys"; then
19157 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19158 fi
19159 if test "${ac_cv_header_tiffio_h+set}" = set; then
19160 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19161 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19162 if test "${ac_cv_header_tiffio_h+set}" = set; then
19163 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 fi
19165 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19166 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19167 else
19168 # Is the header compilable?
19169 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19170 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19171 cat >conftest.$ac_ext <<_ACEOF
19172 #line $LINENO "configure"
19173 /* confdefs.h. */
19174 _ACEOF
19175 cat confdefs.h >>conftest.$ac_ext
19176 cat >>conftest.$ac_ext <<_ACEOF
19177 /* end confdefs.h. */
19178 $ac_includes_default
19179 #include <tiffio.h>
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183 (eval $ac_compile) 2>&5
19184 ac_status=$?
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); } &&
19187 { ac_try='test -s conftest.$ac_objext'
19188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189 (eval $ac_try) 2>&5
19190 ac_status=$?
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); }; }; then
19193 ac_header_compiler=yes
19194 else
19195 echo "$as_me: failed program was:" >&5
19196 sed 's/^/| /' conftest.$ac_ext >&5
19197
19198 ac_header_compiler=no
19199 fi
19200 rm -f conftest.$ac_objext conftest.$ac_ext
19201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19202 echo "${ECHO_T}$ac_header_compiler" >&6
19203
19204 # Is the header present?
19205 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19206 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19207 cat >conftest.$ac_ext <<_ACEOF
19208 #line $LINENO "configure"
19209 /* confdefs.h. */
19210 _ACEOF
19211 cat confdefs.h >>conftest.$ac_ext
19212 cat >>conftest.$ac_ext <<_ACEOF
19213 /* end confdefs.h. */
19214 #include <tiffio.h>
19215 _ACEOF
19216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19218 ac_status=$?
19219 grep -v '^ *+' conftest.er1 >conftest.err
19220 rm -f conftest.er1
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } >/dev/null; then
19224 if test -s conftest.err; then
19225 ac_cpp_err=$ac_c_preproc_warn_flag
19226 else
19227 ac_cpp_err=
19228 fi
19229 else
19230 ac_cpp_err=yes
19231 fi
19232 if test -z "$ac_cpp_err"; then
19233 ac_header_preproc=yes
19234 else
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19237
19238 ac_header_preproc=no
19239 fi
19240 rm -f conftest.err conftest.$ac_ext
19241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19242 echo "${ECHO_T}$ac_header_preproc" >&6
19243
19244 # So? What about this header?
19245 case $ac_header_compiler:$ac_header_preproc in
19246 yes:no )
19247 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19248 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19249 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19250 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19251 (
19252 cat <<\_ASBOX
19253 ## ------------------------------------ ##
19254 ## Report this to bug-autoconf@gnu.org. ##
19255 ## ------------------------------------ ##
19256 _ASBOX
19257 ) |
19258 sed "s/^/$as_me: WARNING: /" >&2
19259 ;;
19260 no:yes )
19261 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19262 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19263 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19264 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19265 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19266 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19267 (
19268 cat <<\_ASBOX
19269 ## ------------------------------------ ##
19270 ## Report this to bug-autoconf@gnu.org. ##
19271 ## ------------------------------------ ##
19272 _ASBOX
19273 ) |
19274 sed "s/^/$as_me: WARNING: /" >&2
19275 ;;
19276 esac
19277 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19278 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19279 if test "${ac_cv_header_tiffio_h+set}" = set; then
19280 echo $ECHO_N "(cached) $ECHO_C" >&6
19281 else
19282 ac_cv_header_tiffio_h=$ac_header_preproc
19283 fi
19284 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19285 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19286
19287 fi
19288 if test $ac_cv_header_tiffio_h = yes; then
19289
19290 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19291 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19292 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 else
19295 ac_check_lib_save_LIBS=$LIBS
19296 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19297 cat >conftest.$ac_ext <<_ACEOF
19298 #line $LINENO "configure"
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304
19305 /* Override any gcc2 internal prototype to avoid an error. */
19306 #ifdef __cplusplus
19307 extern "C"
19308 #endif
19309 /* We use char because int might match the return type of a gcc2
19310 builtin and then its argument prototype would still apply. */
19311 char TIFFError ();
19312 int
19313 main ()
19314 {
19315 TIFFError ();
19316 ;
19317 return 0;
19318 }
19319 _ACEOF
19320 rm -f conftest.$ac_objext conftest$ac_exeext
19321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19322 (eval $ac_link) 2>&5
19323 ac_status=$?
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -s conftest$ac_exeext'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; }; then
19332 ac_cv_lib_tiff_TIFFError=yes
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19336
19337 ac_cv_lib_tiff_TIFFError=no
19338 fi
19339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19340 LIBS=$ac_check_lib_save_LIBS
19341 fi
19342 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19343 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19344 if test $ac_cv_lib_tiff_TIFFError = yes; then
19345 TIFF_LINK=" -ltiff"
19346 fi
19347
19348
19349
19350 fi
19351
19352
19353
19354 if test "x$TIFF_LINK" = "x" ; then
19355 if test "$wxUSE_LIBTIFF" = "sys" ; then
19356 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19357 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19358 { (exit 1); exit 1; }; }
19359 else
19360 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19361 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19362 wxUSE_LIBTIFF=builtin
19363 fi
19364 else
19365 wxUSE_LIBTIFF=sys
19366 fi
19367 fi
19368 fi
19369
19370
19371 if test "$wxUSE_EXPAT" != "no"; then
19372 wxUSE_XML=yes
19373 cat >>confdefs.h <<\_ACEOF
19374 #define wxUSE_EXPAT 1
19375 _ACEOF
19376
19377 cat >>confdefs.h <<\_ACEOF
19378 #define wxUSE_XML 1
19379 _ACEOF
19380
19381
19382 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19383 if test "${ac_cv_header_expat_h+set}" = set; then
19384 echo "$as_me:$LINENO: checking for expat.h" >&5
19385 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19386 if test "${ac_cv_header_expat_h+set}" = set; then
19387 echo $ECHO_N "(cached) $ECHO_C" >&6
19388 fi
19389 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19390 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19391 else
19392 # Is the header compilable?
19393 echo "$as_me:$LINENO: checking expat.h usability" >&5
19394 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19395 cat >conftest.$ac_ext <<_ACEOF
19396 #line $LINENO "configure"
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402 $ac_includes_default
19403 #include <expat.h>
19404 _ACEOF
19405 rm -f conftest.$ac_objext
19406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19407 (eval $ac_compile) 2>&5
19408 ac_status=$?
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } &&
19411 { ac_try='test -s conftest.$ac_objext'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19414 ac_status=$?
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; }; then
19417 ac_header_compiler=yes
19418 else
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.$ac_ext >&5
19421
19422 ac_header_compiler=no
19423 fi
19424 rm -f conftest.$ac_objext conftest.$ac_ext
19425 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19426 echo "${ECHO_T}$ac_header_compiler" >&6
19427
19428 # Is the header present?
19429 echo "$as_me:$LINENO: checking expat.h presence" >&5
19430 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19431 cat >conftest.$ac_ext <<_ACEOF
19432 #line $LINENO "configure"
19433 /* confdefs.h. */
19434 _ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 #include <expat.h>
19439 _ACEOF
19440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } >/dev/null; then
19448 if test -s conftest.err; then
19449 ac_cpp_err=$ac_c_preproc_warn_flag
19450 else
19451 ac_cpp_err=
19452 fi
19453 else
19454 ac_cpp_err=yes
19455 fi
19456 if test -z "$ac_cpp_err"; then
19457 ac_header_preproc=yes
19458 else
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19461
19462 ac_header_preproc=no
19463 fi
19464 rm -f conftest.err conftest.$ac_ext
19465 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19466 echo "${ECHO_T}$ac_header_preproc" >&6
19467
19468 # So? What about this header?
19469 case $ac_header_compiler:$ac_header_preproc in
19470 yes:no )
19471 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19472 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19473 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19474 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19475 (
19476 cat <<\_ASBOX
19477 ## ------------------------------------ ##
19478 ## Report this to bug-autoconf@gnu.org. ##
19479 ## ------------------------------------ ##
19480 _ASBOX
19481 ) |
19482 sed "s/^/$as_me: WARNING: /" >&2
19483 ;;
19484 no:yes )
19485 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19486 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19487 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19488 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19489 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19490 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19491 (
19492 cat <<\_ASBOX
19493 ## ------------------------------------ ##
19494 ## Report this to bug-autoconf@gnu.org. ##
19495 ## ------------------------------------ ##
19496 _ASBOX
19497 ) |
19498 sed "s/^/$as_me: WARNING: /" >&2
19499 ;;
19500 esac
19501 echo "$as_me:$LINENO: checking for expat.h" >&5
19502 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19503 if test "${ac_cv_header_expat_h+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 else
19506 ac_cv_header_expat_h=$ac_header_preproc
19507 fi
19508 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19509 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19510
19511 fi
19512 if test $ac_cv_header_expat_h = yes; then
19513 found_expat_h=1
19514 fi
19515
19516
19517 if test "x$found_expat_h" = "x1"; then
19518 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19519 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19520 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19521 echo $ECHO_N "(cached) $ECHO_C" >&6
19522 else
19523
19524
19525
19526 ac_ext=cc
19527 ac_cpp='$CXXCPP $CPPFLAGS'
19528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19531
19532 cat >conftest.$ac_ext <<_ACEOF
19533 #line $LINENO "configure"
19534 /* confdefs.h. */
19535 _ACEOF
19536 cat confdefs.h >>conftest.$ac_ext
19537 cat >>conftest.$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 #include <expat.h>
19540 int
19541 main ()
19542 {
19543
19544 ;
19545 return 0;
19546 }
19547 _ACEOF
19548 rm -f conftest.$ac_objext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19550 (eval $ac_compile) 2>&5
19551 ac_status=$?
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } &&
19554 { ac_try='test -s conftest.$ac_objext'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19557 ac_status=$?
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; }; then
19560 wx_cv_expat_is_not_broken=yes
19561 else
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19564
19565 wx_cv_expat_is_not_broken=no
19566
19567 fi
19568 rm -f conftest.$ac_objext conftest.$ac_ext
19569 ac_ext=c
19570 ac_cpp='$CPP $CPPFLAGS'
19571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19574
19575
19576
19577 fi
19578 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19579 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19580 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19581 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19582 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19583 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 else
19586 ac_check_lib_save_LIBS=$LIBS
19587 LIBS="-lexpat $LIBS"
19588 cat >conftest.$ac_ext <<_ACEOF
19589 #line $LINENO "configure"
19590 /* confdefs.h. */
19591 _ACEOF
19592 cat confdefs.h >>conftest.$ac_ext
19593 cat >>conftest.$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19595
19596 /* Override any gcc2 internal prototype to avoid an error. */
19597 #ifdef __cplusplus
19598 extern "C"
19599 #endif
19600 /* We use char because int might match the return type of a gcc2
19601 builtin and then its argument prototype would still apply. */
19602 char XML_ParserCreate ();
19603 int
19604 main ()
19605 {
19606 XML_ParserCreate ();
19607 ;
19608 return 0;
19609 }
19610 _ACEOF
19611 rm -f conftest.$ac_objext conftest$ac_exeext
19612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19613 (eval $ac_link) 2>&5
19614 ac_status=$?
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } &&
19617 { ac_try='test -s conftest$ac_exeext'
19618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19619 (eval $ac_try) 2>&5
19620 ac_status=$?
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); }; }; then
19623 ac_cv_lib_expat_XML_ParserCreate=yes
19624 else
19625 echo "$as_me: failed program was:" >&5
19626 sed 's/^/| /' conftest.$ac_ext >&5
19627
19628 ac_cv_lib_expat_XML_ParserCreate=no
19629 fi
19630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19631 LIBS=$ac_check_lib_save_LIBS
19632 fi
19633 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19634 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19635 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19636 EXPAT_LINK=" -lexpat"
19637 fi
19638
19639 fi
19640 fi
19641 if test "x$EXPAT_LINK" = "x" ; then
19642 if test "$wxUSE_EXPAT" = "sys" ; then
19643 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19644 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19645 { (exit 1); exit 1; }; }
19646 else
19647 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19648 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19649 wxUSE_EXPAT=builtin
19650 fi
19651 else
19652 wxUSE_EXPAT=sys
19653 fi
19654 fi
19655 if test "$wxUSE_EXPAT" = "builtin" ; then
19656
19657
19658 subdirs="$subdirs src/expat"
19659
19660 fi
19661 fi
19662
19663
19664
19665 if test "$wxUSE_LIBMSPACK" != "no"; then
19666
19667 if test "${ac_cv_header_mspack_h+set}" = set; then
19668 echo "$as_me:$LINENO: checking for mspack.h" >&5
19669 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19670 if test "${ac_cv_header_mspack_h+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 fi
19673 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19674 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19675 else
19676 # Is the header compilable?
19677 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19678 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19679 cat >conftest.$ac_ext <<_ACEOF
19680 #line $LINENO "configure"
19681 /* confdefs.h. */
19682 _ACEOF
19683 cat confdefs.h >>conftest.$ac_ext
19684 cat >>conftest.$ac_ext <<_ACEOF
19685 /* end confdefs.h. */
19686 $ac_includes_default
19687 #include <mspack.h>
19688 _ACEOF
19689 rm -f conftest.$ac_objext
19690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19691 (eval $ac_compile) 2>&5
19692 ac_status=$?
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); } &&
19695 { ac_try='test -s conftest.$ac_objext'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19698 ac_status=$?
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; }; then
19701 ac_header_compiler=yes
19702 else
19703 echo "$as_me: failed program was:" >&5
19704 sed 's/^/| /' conftest.$ac_ext >&5
19705
19706 ac_header_compiler=no
19707 fi
19708 rm -f conftest.$ac_objext conftest.$ac_ext
19709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19710 echo "${ECHO_T}$ac_header_compiler" >&6
19711
19712 # Is the header present?
19713 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19714 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19715 cat >conftest.$ac_ext <<_ACEOF
19716 #line $LINENO "configure"
19717 /* confdefs.h. */
19718 _ACEOF
19719 cat confdefs.h >>conftest.$ac_ext
19720 cat >>conftest.$ac_ext <<_ACEOF
19721 /* end confdefs.h. */
19722 #include <mspack.h>
19723 _ACEOF
19724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19725 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19726 ac_status=$?
19727 grep -v '^ *+' conftest.er1 >conftest.err
19728 rm -f conftest.er1
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } >/dev/null; then
19732 if test -s conftest.err; then
19733 ac_cpp_err=$ac_c_preproc_warn_flag
19734 else
19735 ac_cpp_err=
19736 fi
19737 else
19738 ac_cpp_err=yes
19739 fi
19740 if test -z "$ac_cpp_err"; then
19741 ac_header_preproc=yes
19742 else
19743 echo "$as_me: failed program was:" >&5
19744 sed 's/^/| /' conftest.$ac_ext >&5
19745
19746 ac_header_preproc=no
19747 fi
19748 rm -f conftest.err conftest.$ac_ext
19749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19750 echo "${ECHO_T}$ac_header_preproc" >&6
19751
19752 # So? What about this header?
19753 case $ac_header_compiler:$ac_header_preproc in
19754 yes:no )
19755 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19756 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19757 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19758 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19759 (
19760 cat <<\_ASBOX
19761 ## ------------------------------------ ##
19762 ## Report this to bug-autoconf@gnu.org. ##
19763 ## ------------------------------------ ##
19764 _ASBOX
19765 ) |
19766 sed "s/^/$as_me: WARNING: /" >&2
19767 ;;
19768 no:yes )
19769 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19770 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19771 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19772 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19773 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19774 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19775 (
19776 cat <<\_ASBOX
19777 ## ------------------------------------ ##
19778 ## Report this to bug-autoconf@gnu.org. ##
19779 ## ------------------------------------ ##
19780 _ASBOX
19781 ) |
19782 sed "s/^/$as_me: WARNING: /" >&2
19783 ;;
19784 esac
19785 echo "$as_me:$LINENO: checking for mspack.h" >&5
19786 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19787 if test "${ac_cv_header_mspack_h+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 else
19790 ac_cv_header_mspack_h=$ac_header_preproc
19791 fi
19792 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19793 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19794
19795 fi
19796 if test $ac_cv_header_mspack_h = yes; then
19797 found_mspack_h=1
19798 fi
19799
19800
19801 if test "x$found_mspack_h" = "x1"; then
19802 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19803 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19804 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19805 echo $ECHO_N "(cached) $ECHO_C" >&6
19806 else
19807 ac_check_lib_save_LIBS=$LIBS
19808 LIBS="-lmspack $LIBS"
19809 cat >conftest.$ac_ext <<_ACEOF
19810 #line $LINENO "configure"
19811 /* confdefs.h. */
19812 _ACEOF
19813 cat confdefs.h >>conftest.$ac_ext
19814 cat >>conftest.$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816
19817 /* Override any gcc2 internal prototype to avoid an error. */
19818 #ifdef __cplusplus
19819 extern "C"
19820 #endif
19821 /* We use char because int might match the return type of a gcc2
19822 builtin and then its argument prototype would still apply. */
19823 char mspack_create_chm_decompressor ();
19824 int
19825 main ()
19826 {
19827 mspack_create_chm_decompressor ();
19828 ;
19829 return 0;
19830 }
19831 _ACEOF
19832 rm -f conftest.$ac_objext conftest$ac_exeext
19833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19834 (eval $ac_link) 2>&5
19835 ac_status=$?
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } &&
19838 { ac_try='test -s conftest$ac_exeext'
19839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840 (eval $ac_try) 2>&5
19841 ac_status=$?
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); }; }; then
19844 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19845 else
19846 echo "$as_me: failed program was:" >&5
19847 sed 's/^/| /' conftest.$ac_ext >&5
19848
19849 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19850 fi
19851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19852 LIBS=$ac_check_lib_save_LIBS
19853 fi
19854 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19855 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19856 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19857 MSPACK_LINK=" -lmspack"
19858 fi
19859
19860 fi
19861 if test "x$MSPACK_LINK" = "x" ; then
19862 wxUSE_LIBMSPACK=no
19863 else
19864 cat >>confdefs.h <<\_ACEOF
19865 #define wxUSE_LIBMSPACK 1
19866 _ACEOF
19867
19868 fi
19869 fi
19870
19871
19872
19873 AFMINSTALL=
19874 WIN32INSTALL=
19875
19876 TOOLKIT=
19877 TOOLKIT_INCLUDE=
19878 WIDGET_SET=
19879
19880 if test "$USE_WIN32" = 1 ; then
19881
19882 for ac_header in w32api.h
19883 do
19884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19886 echo "$as_me:$LINENO: checking for $ac_header" >&5
19887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19889 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 fi
19891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19893 else
19894 # Is the header compilable?
19895 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19897 cat >conftest.$ac_ext <<_ACEOF
19898 #line $LINENO "configure"
19899 /* confdefs.h. */
19900 _ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19904 $ac_includes_default
19905 #include <$ac_header>
19906 _ACEOF
19907 rm -f conftest.$ac_objext
19908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19909 (eval $ac_compile) 2>&5
19910 ac_status=$?
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } &&
19913 { ac_try='test -s conftest.$ac_objext'
19914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19915 (eval $ac_try) 2>&5
19916 ac_status=$?
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); }; }; then
19919 ac_header_compiler=yes
19920 else
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.$ac_ext >&5
19923
19924 ac_header_compiler=no
19925 fi
19926 rm -f conftest.$ac_objext conftest.$ac_ext
19927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19928 echo "${ECHO_T}$ac_header_compiler" >&6
19929
19930 # Is the header present?
19931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19933 cat >conftest.$ac_ext <<_ACEOF
19934 #line $LINENO "configure"
19935 /* confdefs.h. */
19936 _ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19940 #include <$ac_header>
19941 _ACEOF
19942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19944 ac_status=$?
19945 grep -v '^ *+' conftest.er1 >conftest.err
19946 rm -f conftest.er1
19947 cat conftest.err >&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } >/dev/null; then
19950 if test -s conftest.err; then
19951 ac_cpp_err=$ac_c_preproc_warn_flag
19952 else
19953 ac_cpp_err=
19954 fi
19955 else
19956 ac_cpp_err=yes
19957 fi
19958 if test -z "$ac_cpp_err"; then
19959 ac_header_preproc=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19963
19964 ac_header_preproc=no
19965 fi
19966 rm -f conftest.err conftest.$ac_ext
19967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19968 echo "${ECHO_T}$ac_header_preproc" >&6
19969
19970 # So? What about this header?
19971 case $ac_header_compiler:$ac_header_preproc in
19972 yes:no )
19973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19976 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19977 (
19978 cat <<\_ASBOX
19979 ## ------------------------------------ ##
19980 ## Report this to bug-autoconf@gnu.org. ##
19981 ## ------------------------------------ ##
19982 _ASBOX
19983 ) |
19984 sed "s/^/$as_me: WARNING: /" >&2
19985 ;;
19986 no:yes )
19987 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19988 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19989 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19990 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19993 (
19994 cat <<\_ASBOX
19995 ## ------------------------------------ ##
19996 ## Report this to bug-autoconf@gnu.org. ##
19997 ## ------------------------------------ ##
19998 _ASBOX
19999 ) |
20000 sed "s/^/$as_me: WARNING: /" >&2
20001 ;;
20002 esac
20003 echo "$as_me:$LINENO: checking for $ac_header" >&5
20004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20007 else
20008 eval "$as_ac_Header=$ac_header_preproc"
20009 fi
20010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20012
20013 fi
20014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20015 cat >>confdefs.h <<_ACEOF
20016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20017 _ACEOF
20018
20019 fi
20020
20021 done
20022
20023 if test "${ac_cv_header_windows_h+set}" = set; then
20024 echo "$as_me:$LINENO: checking for windows.h" >&5
20025 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20026 if test "${ac_cv_header_windows_h+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 fi
20029 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20030 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20031 else
20032 # Is the header compilable?
20033 echo "$as_me:$LINENO: checking windows.h usability" >&5
20034 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20035 cat >conftest.$ac_ext <<_ACEOF
20036 #line $LINENO "configure"
20037 /* confdefs.h. */
20038 _ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20042 $ac_includes_default
20043 #include <windows.h>
20044 _ACEOF
20045 rm -f conftest.$ac_objext
20046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20047 (eval $ac_compile) 2>&5
20048 ac_status=$?
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } &&
20051 { ac_try='test -s conftest.$ac_objext'
20052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20053 (eval $ac_try) 2>&5
20054 ac_status=$?
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); }; }; then
20057 ac_header_compiler=yes
20058 else
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.$ac_ext >&5
20061
20062 ac_header_compiler=no
20063 fi
20064 rm -f conftest.$ac_objext conftest.$ac_ext
20065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20066 echo "${ECHO_T}$ac_header_compiler" >&6
20067
20068 # Is the header present?
20069 echo "$as_me:$LINENO: checking windows.h presence" >&5
20070 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
20071 cat >conftest.$ac_ext <<_ACEOF
20072 #line $LINENO "configure"
20073 /* confdefs.h. */
20074 _ACEOF
20075 cat confdefs.h >>conftest.$ac_ext
20076 cat >>conftest.$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20078 #include <windows.h>
20079 _ACEOF
20080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20082 ac_status=$?
20083 grep -v '^ *+' conftest.er1 >conftest.err
20084 rm -f conftest.er1
20085 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } >/dev/null; then
20088 if test -s conftest.err; then
20089 ac_cpp_err=$ac_c_preproc_warn_flag
20090 else
20091 ac_cpp_err=
20092 fi
20093 else
20094 ac_cpp_err=yes
20095 fi
20096 if test -z "$ac_cpp_err"; then
20097 ac_header_preproc=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20101
20102 ac_header_preproc=no
20103 fi
20104 rm -f conftest.err conftest.$ac_ext
20105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20106 echo "${ECHO_T}$ac_header_preproc" >&6
20107
20108 # So? What about this header?
20109 case $ac_header_compiler:$ac_header_preproc in
20110 yes:no )
20111 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
20112 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20113 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20114 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20115 (
20116 cat <<\_ASBOX
20117 ## ------------------------------------ ##
20118 ## Report this to bug-autoconf@gnu.org. ##
20119 ## ------------------------------------ ##
20120 _ASBOX
20121 ) |
20122 sed "s/^/$as_me: WARNING: /" >&2
20123 ;;
20124 no:yes )
20125 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
20126 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
20127 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
20128 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
20129 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
20130 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
20131 (
20132 cat <<\_ASBOX
20133 ## ------------------------------------ ##
20134 ## Report this to bug-autoconf@gnu.org. ##
20135 ## ------------------------------------ ##
20136 _ASBOX
20137 ) |
20138 sed "s/^/$as_me: WARNING: /" >&2
20139 ;;
20140 esac
20141 echo "$as_me:$LINENO: checking for windows.h" >&5
20142 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20143 if test "${ac_cv_header_windows_h+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 else
20146 ac_cv_header_windows_h=$ac_header_preproc
20147 fi
20148 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20149 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20150
20151 fi
20152 if test $ac_cv_header_windows_h = yes; then
20153 :
20154 else
20155
20156 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20157 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20158 { (exit 1); exit 1; }; }
20159
20160 fi
20161
20162
20163
20164 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20165
20166 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20167 LIBS="$LIBS -loleacc"
20168 fi
20169
20170 case "${host}" in
20171 *-*-cygwin* )
20172 LIBS="$LIBS -lkernel32 -luser32"
20173 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20174 esac
20175
20176 if test "$wxUSE_ODBC" = "sys" ; then
20177 wxUSE_ODBC = "yes"
20178 fi
20179 if test "$wxUSE_ODBC" = "yes" ; then
20180 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20181 cat >>confdefs.h <<\_ACEOF
20182 #define wxUSE_ODBC 1
20183 _ACEOF
20184
20185 fi
20186
20187 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20188 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20189
20190 WIN32INSTALL=win32install
20191 fi
20192
20193 if test "$wxUSE_GUI" = "yes"; then
20194 USE_GUI=1
20195
20196 GUI_TK_LIBRARY=
20197
20198 WXGTK12=
20199 WXGTK127=
20200 WXGTK20=
20201
20202 if test "$wxUSE_MSW" = 1 ; then
20203 TOOLKIT=MSW
20204 GUIDIST=MSW_DIST
20205
20206 case "${host}" in
20207 *-*-mingw32* )
20208 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20209 esac
20210 fi
20211
20212 if test "$wxUSE_GTK" = 1; then
20213 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20214 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20215
20216 gtk_version_cached=1
20217 if test "${wx_cv_lib_gtk+set}" = set; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20219 else
20220
20221 gtk_version_cached=0
20222 echo "$as_me:$LINENO: result: " >&5
20223 echo "${ECHO_T}" >&6
20224
20225 GTK_MODULES=
20226 if test "$wxUSE_THREADS" = "yes"; then
20227 GTK_MODULES=gthread
20228 fi
20229
20230 wx_cv_lib_gtk=
20231 if test "x$wxUSE_GTK2" = "xyes"; then
20232 # Check whether --enable-gtktest or --disable-gtktest was given.
20233 if test "${enable_gtktest+set}" = set; then
20234 enableval="$enable_gtktest"
20235
20236 else
20237 enable_gtktest=yes
20238 fi;
20239
20240 pkg_config_args=gtk+-2.0
20241 for module in . $GTK_MODULES
20242 do
20243 case "$module" in
20244 gthread)
20245 pkg_config_args="$pkg_config_args gthread-2.0"
20246 ;;
20247 esac
20248 done
20249
20250 no_gtk=""
20251
20252 # Extract the first word of "pkg-config", so it can be a program name with args.
20253 set dummy pkg-config; ac_word=$2
20254 echo "$as_me:$LINENO: checking for $ac_word" >&5
20255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20256 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20257 echo $ECHO_N "(cached) $ECHO_C" >&6
20258 else
20259 case $PKG_CONFIG in
20260 [\\/]* | ?:[\\/]*)
20261 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20262 ;;
20263 *)
20264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20265 for as_dir in $PATH
20266 do
20267 IFS=$as_save_IFS
20268 test -z "$as_dir" && as_dir=.
20269 for ac_exec_ext in '' $ac_executable_extensions; do
20270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20271 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20273 break 2
20274 fi
20275 done
20276 done
20277
20278 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20279 ;;
20280 esac
20281 fi
20282 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20283
20284 if test -n "$PKG_CONFIG"; then
20285 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20286 echo "${ECHO_T}$PKG_CONFIG" >&6
20287 else
20288 echo "$as_me:$LINENO: result: no" >&5
20289 echo "${ECHO_T}no" >&6
20290 fi
20291
20292
20293 if test x$PKG_CONFIG != xno ; then
20294 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20295 :
20296 else
20297 echo *** pkg-config too old; version 0.7 or better required.
20298 no_gtk=yes
20299 PKG_CONFIG=no
20300 fi
20301 else
20302 no_gtk=yes
20303 fi
20304
20305 min_gtk_version=2.0.0
20306 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20307 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20308
20309 if test x$PKG_CONFIG != xno ; then
20310 ## don't try to run the test against uninstalled libtool libs
20311 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20312 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20313 enable_gtktest=no
20314 fi
20315
20316 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20317 :
20318 else
20319 no_gtk=yes
20320 fi
20321 fi
20322
20323 if test x"$no_gtk" = x ; then
20324 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20325 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20326 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20327 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20328 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20330 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20331 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20332 if test "x$enable_gtktest" = "xyes" ; then
20333 ac_save_CFLAGS="$CFLAGS"
20334 ac_save_LIBS="$LIBS"
20335 CFLAGS="$CFLAGS $GTK_CFLAGS"
20336 LIBS="$GTK_LIBS $LIBS"
20337 rm -f conf.gtktest
20338 if test "$cross_compiling" = yes; then
20339 echo $ac_n "cross compiling; assumed OK... $ac_c"
20340 else
20341 cat >conftest.$ac_ext <<_ACEOF
20342 #line $LINENO "configure"
20343 /* confdefs.h. */
20344 _ACEOF
20345 cat confdefs.h >>conftest.$ac_ext
20346 cat >>conftest.$ac_ext <<_ACEOF
20347 /* end confdefs.h. */
20348
20349 #include <gtk/gtk.h>
20350 #include <stdio.h>
20351 #include <stdlib.h>
20352
20353 int
20354 main ()
20355 {
20356 int major, minor, micro;
20357 char *tmp_version;
20358
20359 system ("touch conf.gtktest");
20360
20361 /* HP/UX 9 (%@#!) writes to sscanf strings */
20362 tmp_version = g_strdup("$min_gtk_version");
20363 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20364 printf("%s, bad version string\n", "$min_gtk_version");
20365 exit(1);
20366 }
20367
20368 if ((gtk_major_version != $gtk_config_major_version) ||
20369 (gtk_minor_version != $gtk_config_minor_version) ||
20370 (gtk_micro_version != $gtk_config_micro_version))
20371 {
20372 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20373 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20374 gtk_major_version, gtk_minor_version, gtk_micro_version);
20375 printf ("*** was found! If pkg-config was correct, then it is best\n");
20376 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20377 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20378 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20379 printf("*** required on your system.\n");
20380 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20381 printf("*** to point to the correct configuration files\n");
20382 }
20383 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20384 (gtk_minor_version != GTK_MINOR_VERSION) ||
20385 (gtk_micro_version != GTK_MICRO_VERSION))
20386 {
20387 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20388 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20389 printf("*** library (version %d.%d.%d)\n",
20390 gtk_major_version, gtk_minor_version, gtk_micro_version);
20391 }
20392 else
20393 {
20394 if ((gtk_major_version > major) ||
20395 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20396 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20397 {
20398 return 0;
20399 }
20400 else
20401 {
20402 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20403 gtk_major_version, gtk_minor_version, gtk_micro_version);
20404 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20405 major, minor, micro);
20406 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20407 printf("***\n");
20408 printf("*** If you have already installed a sufficiently new version, this error\n");
20409 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20410 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20411 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20412 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20413 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20414 printf("*** so that the correct libraries are found at run-time))\n");
20415 }
20416 }
20417 return 1;
20418 }
20419
20420 _ACEOF
20421 rm -f conftest$ac_exeext
20422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20423 (eval $ac_link) 2>&5
20424 ac_status=$?
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 :
20433 else
20434 echo "$as_me: program exited with status $ac_status" >&5
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20437
20438 ( exit $ac_status )
20439 no_gtk=yes
20440 fi
20441 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20442 fi
20443 CFLAGS="$ac_save_CFLAGS"
20444 LIBS="$ac_save_LIBS"
20445 fi
20446 fi
20447 if test "x$no_gtk" = x ; then
20448 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20449 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20450 wx_cv_lib_gtk=2.0
20451 else
20452 echo "$as_me:$LINENO: result: no" >&5
20453 echo "${ECHO_T}no" >&6
20454 if test "$PKG_CONFIG" = "no" ; then
20455 echo "*** A new enough version of pkg-config was not found."
20456 echo "*** See http://pkgconfig.sourceforge.net"
20457 else
20458 if test -f conf.gtktest ; then
20459 :
20460 else
20461 echo "*** Could not run GTK+ test program, checking why..."
20462 ac_save_CFLAGS="$CFLAGS"
20463 ac_save_LIBS="$LIBS"
20464 CFLAGS="$CFLAGS $GTK_CFLAGS"
20465 LIBS="$LIBS $GTK_LIBS"
20466 cat >conftest.$ac_ext <<_ACEOF
20467 #line $LINENO "configure"
20468 /* confdefs.h. */
20469 _ACEOF
20470 cat confdefs.h >>conftest.$ac_ext
20471 cat >>conftest.$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473
20474 #include <gtk/gtk.h>
20475 #include <stdio.h>
20476
20477 int
20478 main ()
20479 {
20480 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20481 ;
20482 return 0;
20483 }
20484 _ACEOF
20485 rm -f conftest.$ac_objext conftest$ac_exeext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20487 (eval $ac_link) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } &&
20491 { ac_try='test -s conftest$ac_exeext'
20492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20493 (eval $ac_try) 2>&5
20494 ac_status=$?
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); }; }; then
20497 echo "*** The test program compiled, but did not run. This usually means"
20498 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20499 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20500 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20501 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20502 echo "*** is required on your system"
20503 echo "***"
20504 echo "*** If you have an old version installed, it is best to remove it, although"
20505 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20506 else
20507 echo "$as_me: failed program was:" >&5
20508 sed 's/^/| /' conftest.$ac_ext >&5
20509
20510 echo "*** The test program failed to compile or link. See the file config.log for the"
20511 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20512 fi
20513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20514 CFLAGS="$ac_save_CFLAGS"
20515 LIBS="$ac_save_LIBS"
20516 fi
20517 fi
20518 GTK_CFLAGS=""
20519 GTK_LIBS=""
20520 :
20521 fi
20522
20523
20524 rm -f conf.gtktest
20525
20526 else
20527
20528 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20529 if test "${with_gtk_prefix+set}" = set; then
20530 withval="$with_gtk_prefix"
20531 gtk_config_prefix="$withval"
20532 else
20533 gtk_config_prefix=""
20534 fi;
20535
20536 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20537 if test "${with_gtk_exec_prefix+set}" = set; then
20538 withval="$with_gtk_exec_prefix"
20539 gtk_config_exec_prefix="$withval"
20540 else
20541 gtk_config_exec_prefix=""
20542 fi;
20543 # Check whether --enable-gtktest or --disable-gtktest was given.
20544 if test "${enable_gtktest+set}" = set; then
20545 enableval="$enable_gtktest"
20546
20547 else
20548 enable_gtktest=yes
20549 fi;
20550
20551 for module in . $GTK_MODULES
20552 do
20553 case "$module" in
20554 gthread)
20555 gtk_config_args="$gtk_config_args gthread"
20556 ;;
20557 esac
20558 done
20559
20560 if test x$gtk_config_exec_prefix != x ; then
20561 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20562 if test x${GTK_CONFIG+set} != xset ; then
20563 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20564 fi
20565 fi
20566 if test x$gtk_config_prefix != x ; then
20567 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20568 if test x${GTK_CONFIG+set} != xset ; then
20569 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20570 fi
20571 fi
20572
20573 # Extract the first word of "gtk-config", so it can be a program name with args.
20574 set dummy gtk-config; ac_word=$2
20575 echo "$as_me:$LINENO: checking for $ac_word" >&5
20576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20577 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20579 else
20580 case $GTK_CONFIG in
20581 [\\/]* | ?:[\\/]*)
20582 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20583 ;;
20584 *)
20585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20586 for as_dir in $PATH
20587 do
20588 IFS=$as_save_IFS
20589 test -z "$as_dir" && as_dir=.
20590 for ac_exec_ext in '' $ac_executable_extensions; do
20591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20592 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20594 break 2
20595 fi
20596 done
20597 done
20598
20599 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20600 ;;
20601 esac
20602 fi
20603 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20604
20605 if test -n "$GTK_CONFIG"; then
20606 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20607 echo "${ECHO_T}$GTK_CONFIG" >&6
20608 else
20609 echo "$as_me:$LINENO: result: no" >&5
20610 echo "${ECHO_T}no" >&6
20611 fi
20612
20613 min_gtk_version=1.2.7
20614 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20615 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20616 no_gtk=""
20617 if test "$GTK_CONFIG" = "no" ; then
20618 no_gtk=yes
20619 else
20620 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20621 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20622 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20623 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20624 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20626 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20628 if test "x$enable_gtktest" = "xyes" ; then
20629 ac_save_CFLAGS="$CFLAGS"
20630 ac_save_LIBS="$LIBS"
20631 CFLAGS="$CFLAGS $GTK_CFLAGS"
20632 LIBS="$GTK_LIBS $LIBS"
20633 rm -f conf.gtktest
20634 if test "$cross_compiling" = yes; then
20635 echo $ac_n "cross compiling; assumed OK... $ac_c"
20636 else
20637 cat >conftest.$ac_ext <<_ACEOF
20638 #line $LINENO "configure"
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644
20645 #include <gtk/gtk.h>
20646 #include <stdio.h>
20647 #include <stdlib.h>
20648
20649 int
20650 main ()
20651 {
20652 int major, minor, micro;
20653 char *tmp_version;
20654
20655 system ("touch conf.gtktest");
20656
20657 /* HP/UX 9 (%@#!) writes to sscanf strings */
20658 tmp_version = g_strdup("$min_gtk_version");
20659 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20660 printf("%s, bad version string\n", "$min_gtk_version");
20661 exit(1);
20662 }
20663
20664 if ((gtk_major_version != $gtk_config_major_version) ||
20665 (gtk_minor_version != $gtk_config_minor_version) ||
20666 (gtk_micro_version != $gtk_config_micro_version))
20667 {
20668 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20669 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20670 gtk_major_version, gtk_minor_version, gtk_micro_version);
20671 printf ("*** was found! If gtk-config was correct, then it is best\n");
20672 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20673 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20674 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20675 printf("*** required on your system.\n");
20676 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20677 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20678 printf("*** before re-running configure\n");
20679 }
20680 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20681 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20682 (gtk_minor_version != GTK_MINOR_VERSION) ||
20683 (gtk_micro_version != GTK_MICRO_VERSION))
20684 {
20685 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20686 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20687 printf("*** library (version %d.%d.%d)\n",
20688 gtk_major_version, gtk_minor_version, gtk_micro_version);
20689 }
20690 #endif /* defined (GTK_MAJOR_VERSION) ... */
20691 else
20692 {
20693 if ((gtk_major_version > major) ||
20694 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20695 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20696 {
20697 return 0;
20698 }
20699 else
20700 {
20701 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20702 gtk_major_version, gtk_minor_version, gtk_micro_version);
20703 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20704 major, minor, micro);
20705 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20706 printf("***\n");
20707 printf("*** If you have already installed a sufficiently new version, this error\n");
20708 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20709 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20710 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20711 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20712 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20713 printf("*** so that the correct libraries are found at run-time))\n");
20714 }
20715 }
20716 return 1;
20717 }
20718
20719 _ACEOF
20720 rm -f conftest$ac_exeext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20722 (eval $ac_link) 2>&5
20723 ac_status=$?
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20727 (eval $ac_try) 2>&5
20728 ac_status=$?
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; }; then
20731 :
20732 else
20733 echo "$as_me: program exited with status $ac_status" >&5
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20736
20737 ( exit $ac_status )
20738 no_gtk=yes
20739 fi
20740 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20741 fi
20742 CFLAGS="$ac_save_CFLAGS"
20743 LIBS="$ac_save_LIBS"
20744 fi
20745 fi
20746 if test "x$no_gtk" = x ; then
20747 echo "$as_me:$LINENO: result: yes" >&5
20748 echo "${ECHO_T}yes" >&6
20749 wx_cv_lib_gtk=1.2.7
20750 else
20751 echo "$as_me:$LINENO: result: no" >&5
20752 echo "${ECHO_T}no" >&6
20753 if test "$GTK_CONFIG" = "no" ; then
20754 echo "*** The gtk-config script installed by GTK could not be found"
20755 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20756 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20757 echo "*** full path to gtk-config."
20758 else
20759 if test -f conf.gtktest ; then
20760 :
20761 else
20762 echo "*** Could not run GTK test program, checking why..."
20763 CFLAGS="$CFLAGS $GTK_CFLAGS"
20764 LIBS="$LIBS $GTK_LIBS"
20765 cat >conftest.$ac_ext <<_ACEOF
20766 #line $LINENO "configure"
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772
20773 #include <gtk/gtk.h>
20774 #include <stdio.h>
20775
20776 int
20777 main ()
20778 {
20779 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20780 ;
20781 return 0;
20782 }
20783 _ACEOF
20784 rm -f conftest.$ac_objext conftest$ac_exeext
20785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20786 (eval $ac_link) 2>&5
20787 ac_status=$?
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); } &&
20790 { ac_try='test -s conftest$ac_exeext'
20791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20792 (eval $ac_try) 2>&5
20793 ac_status=$?
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); }; }; then
20796 echo "*** The test program compiled, but did not run. This usually means"
20797 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20798 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20799 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20800 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20801 echo "*** is required on your system"
20802 echo "***"
20803 echo "*** If you have an old version installed, it is best to remove it, although"
20804 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20805 echo "***"
20806 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20807 echo "*** came with the system with the command"
20808 echo "***"
20809 echo "*** rpm --erase --nodeps gtk gtk-devel"
20810 else
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20813
20814 echo "*** The test program failed to compile or link. See the file config.log for the"
20815 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20816 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20817 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20818 fi
20819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20820 CFLAGS="$ac_save_CFLAGS"
20821 LIBS="$ac_save_LIBS"
20822 fi
20823 fi
20824 GTK_CFLAGS=""
20825 GTK_LIBS=""
20826 :
20827 fi
20828
20829
20830 rm -f conf.gtktest
20831
20832
20833 if test -z "$wx_cv_lib_gtk"; then
20834
20835 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20836 if test "${with_gtk_prefix+set}" = set; then
20837 withval="$with_gtk_prefix"
20838 gtk_config_prefix="$withval"
20839 else
20840 gtk_config_prefix=""
20841 fi;
20842
20843 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20844 if test "${with_gtk_exec_prefix+set}" = set; then
20845 withval="$with_gtk_exec_prefix"
20846 gtk_config_exec_prefix="$withval"
20847 else
20848 gtk_config_exec_prefix=""
20849 fi;
20850 # Check whether --enable-gtktest or --disable-gtktest was given.
20851 if test "${enable_gtktest+set}" = set; then
20852 enableval="$enable_gtktest"
20853
20854 else
20855 enable_gtktest=yes
20856 fi;
20857
20858 for module in . $GTK_MODULES
20859 do
20860 case "$module" in
20861 gthread)
20862 gtk_config_args="$gtk_config_args gthread"
20863 ;;
20864 esac
20865 done
20866
20867 if test x$gtk_config_exec_prefix != x ; then
20868 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20869 if test x${GTK_CONFIG+set} != xset ; then
20870 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20871 fi
20872 fi
20873 if test x$gtk_config_prefix != x ; then
20874 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20875 if test x${GTK_CONFIG+set} != xset ; then
20876 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20877 fi
20878 fi
20879
20880 # Extract the first word of "gtk-config", so it can be a program name with args.
20881 set dummy gtk-config; ac_word=$2
20882 echo "$as_me:$LINENO: checking for $ac_word" >&5
20883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20884 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20885 echo $ECHO_N "(cached) $ECHO_C" >&6
20886 else
20887 case $GTK_CONFIG in
20888 [\\/]* | ?:[\\/]*)
20889 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20890 ;;
20891 *)
20892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20893 for as_dir in $PATH
20894 do
20895 IFS=$as_save_IFS
20896 test -z "$as_dir" && as_dir=.
20897 for ac_exec_ext in '' $ac_executable_extensions; do
20898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20899 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20901 break 2
20902 fi
20903 done
20904 done
20905
20906 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20907 ;;
20908 esac
20909 fi
20910 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20911
20912 if test -n "$GTK_CONFIG"; then
20913 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20914 echo "${ECHO_T}$GTK_CONFIG" >&6
20915 else
20916 echo "$as_me:$LINENO: result: no" >&5
20917 echo "${ECHO_T}no" >&6
20918 fi
20919
20920 min_gtk_version=1.2.3
20921 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20922 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20923 no_gtk=""
20924 if test "$GTK_CONFIG" = "no" ; then
20925 no_gtk=yes
20926 else
20927 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20928 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20929 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20931 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20933 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20935 if test "x$enable_gtktest" = "xyes" ; then
20936 ac_save_CFLAGS="$CFLAGS"
20937 ac_save_LIBS="$LIBS"
20938 CFLAGS="$CFLAGS $GTK_CFLAGS"
20939 LIBS="$GTK_LIBS $LIBS"
20940 rm -f conf.gtktest
20941 if test "$cross_compiling" = yes; then
20942 echo $ac_n "cross compiling; assumed OK... $ac_c"
20943 else
20944 cat >conftest.$ac_ext <<_ACEOF
20945 #line $LINENO "configure"
20946 /* confdefs.h. */
20947 _ACEOF
20948 cat confdefs.h >>conftest.$ac_ext
20949 cat >>conftest.$ac_ext <<_ACEOF
20950 /* end confdefs.h. */
20951
20952 #include <gtk/gtk.h>
20953 #include <stdio.h>
20954 #include <stdlib.h>
20955
20956 int
20957 main ()
20958 {
20959 int major, minor, micro;
20960 char *tmp_version;
20961
20962 system ("touch conf.gtktest");
20963
20964 /* HP/UX 9 (%@#!) writes to sscanf strings */
20965 tmp_version = g_strdup("$min_gtk_version");
20966 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20967 printf("%s, bad version string\n", "$min_gtk_version");
20968 exit(1);
20969 }
20970
20971 if ((gtk_major_version != $gtk_config_major_version) ||
20972 (gtk_minor_version != $gtk_config_minor_version) ||
20973 (gtk_micro_version != $gtk_config_micro_version))
20974 {
20975 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20976 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20977 gtk_major_version, gtk_minor_version, gtk_micro_version);
20978 printf ("*** was found! If gtk-config was correct, then it is best\n");
20979 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20980 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20981 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20982 printf("*** required on your system.\n");
20983 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20984 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20985 printf("*** before re-running configure\n");
20986 }
20987 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20988 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20989 (gtk_minor_version != GTK_MINOR_VERSION) ||
20990 (gtk_micro_version != GTK_MICRO_VERSION))
20991 {
20992 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20993 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20994 printf("*** library (version %d.%d.%d)\n",
20995 gtk_major_version, gtk_minor_version, gtk_micro_version);
20996 }
20997 #endif /* defined (GTK_MAJOR_VERSION) ... */
20998 else
20999 {
21000 if ((gtk_major_version > major) ||
21001 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21002 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21003 {
21004 return 0;
21005 }
21006 else
21007 {
21008 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21009 gtk_major_version, gtk_minor_version, gtk_micro_version);
21010 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21011 major, minor, micro);
21012 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21013 printf("***\n");
21014 printf("*** If you have already installed a sufficiently new version, this error\n");
21015 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21016 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21017 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21018 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21019 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21020 printf("*** so that the correct libraries are found at run-time))\n");
21021 }
21022 }
21023 return 1;
21024 }
21025
21026 _ACEOF
21027 rm -f conftest$ac_exeext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21029 (eval $ac_link) 2>&5
21030 ac_status=$?
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; }; then
21038 :
21039 else
21040 echo "$as_me: program exited with status $ac_status" >&5
21041 echo "$as_me: failed program was:" >&5
21042 sed 's/^/| /' conftest.$ac_ext >&5
21043
21044 ( exit $ac_status )
21045 no_gtk=yes
21046 fi
21047 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21048 fi
21049 CFLAGS="$ac_save_CFLAGS"
21050 LIBS="$ac_save_LIBS"
21051 fi
21052 fi
21053 if test "x$no_gtk" = x ; then
21054 echo "$as_me:$LINENO: result: yes" >&5
21055 echo "${ECHO_T}yes" >&6
21056 wx_cv_lib_gtk=1.2.3
21057 else
21058 echo "$as_me:$LINENO: result: no" >&5
21059 echo "${ECHO_T}no" >&6
21060 if test "$GTK_CONFIG" = "no" ; then
21061 echo "*** The gtk-config script installed by GTK could not be found"
21062 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21063 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21064 echo "*** full path to gtk-config."
21065 else
21066 if test -f conf.gtktest ; then
21067 :
21068 else
21069 echo "*** Could not run GTK test program, checking why..."
21070 CFLAGS="$CFLAGS $GTK_CFLAGS"
21071 LIBS="$LIBS $GTK_LIBS"
21072 cat >conftest.$ac_ext <<_ACEOF
21073 #line $LINENO "configure"
21074 /* confdefs.h. */
21075 _ACEOF
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079
21080 #include <gtk/gtk.h>
21081 #include <stdio.h>
21082
21083 int
21084 main ()
21085 {
21086 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21087 ;
21088 return 0;
21089 }
21090 _ACEOF
21091 rm -f conftest.$ac_objext conftest$ac_exeext
21092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21093 (eval $ac_link) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); } &&
21097 { ac_try='test -s conftest$ac_exeext'
21098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21099 (eval $ac_try) 2>&5
21100 ac_status=$?
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); }; }; then
21103 echo "*** The test program compiled, but did not run. This usually means"
21104 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21105 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21106 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21107 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21108 echo "*** is required on your system"
21109 echo "***"
21110 echo "*** If you have an old version installed, it is best to remove it, although"
21111 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21112 echo "***"
21113 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21114 echo "*** came with the system with the command"
21115 echo "***"
21116 echo "*** rpm --erase --nodeps gtk gtk-devel"
21117 else
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.$ac_ext >&5
21120
21121 echo "*** The test program failed to compile or link. See the file config.log for the"
21122 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21123 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21124 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21125 fi
21126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21127 CFLAGS="$ac_save_CFLAGS"
21128 LIBS="$ac_save_LIBS"
21129 fi
21130 fi
21131 GTK_CFLAGS=""
21132 GTK_LIBS=""
21133 :
21134 fi
21135
21136
21137 rm -f conf.gtktest
21138
21139 fi
21140 fi
21141
21142 if test -z "$wx_cv_lib_gtk"; then
21143 wx_cv_lib_gtk=none
21144 else
21145 wx_cv_cflags_gtk=$GTK_CFLAGS
21146 wx_cv_libs_gtk=$GTK_LIBS
21147 fi
21148
21149
21150 fi
21151
21152
21153 if test "$gtk_version_cached" = 1; then
21154 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21155 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21156 fi
21157
21158 case "$wx_cv_lib_gtk" in
21159 2.0) WXGTK20=1
21160 TOOLKIT_VERSION=2
21161 ;;
21162 1.2.7) WXGTK127=1
21163 WXGTK12=1
21164 ;;
21165 1.2.3) WXGTK12=1
21166 ;;
21167 *) { { echo "$as_me:$LINENO: error:
21168 Please check that gtk-config is in path, the directory
21169 where GTK+ libraries are installed (returned by
21170 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21171 equivalent variable and GTK+ is version 1.2.3 or above.
21172 " >&5
21173 echo "$as_me: error:
21174 Please check that gtk-config is in path, the directory
21175 where GTK+ libraries are installed (returned by
21176 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21177 equivalent variable and GTK+ is version 1.2.3 or above.
21178 " >&2;}
21179 { (exit 1); exit 1; }; }
21180 ;;
21181 esac
21182
21183 if test "$WXGTK20" = 1; then
21184 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21185
21186 succeeded=no
21187
21188 if test -z "$PKG_CONFIG"; then
21189 # Extract the first word of "pkg-config", so it can be a program name with args.
21190 set dummy pkg-config; ac_word=$2
21191 echo "$as_me:$LINENO: checking for $ac_word" >&5
21192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21193 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21194 echo $ECHO_N "(cached) $ECHO_C" >&6
21195 else
21196 case $PKG_CONFIG in
21197 [\\/]* | ?:[\\/]*)
21198 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21199 ;;
21200 *)
21201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21202 for as_dir in $PATH
21203 do
21204 IFS=$as_save_IFS
21205 test -z "$as_dir" && as_dir=.
21206 for ac_exec_ext in '' $ac_executable_extensions; do
21207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21208 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21210 break 2
21211 fi
21212 done
21213 done
21214
21215 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21216 ;;
21217 esac
21218 fi
21219 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21220
21221 if test -n "$PKG_CONFIG"; then
21222 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21223 echo "${ECHO_T}$PKG_CONFIG" >&6
21224 else
21225 echo "$as_me:$LINENO: result: no" >&5
21226 echo "${ECHO_T}no" >&6
21227 fi
21228
21229 fi
21230
21231 if test "$PKG_CONFIG" = "no" ; then
21232 echo "*** The pkg-config script could not be found. Make sure it is"
21233 echo "*** in your path, or set the PKG_CONFIG environment variable"
21234 echo "*** to the full path to pkg-config."
21235 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21236 else
21237 PKG_CONFIG_MIN_VERSION=0.9.0
21238 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21239 echo "$as_me:$LINENO: checking for pangoft2" >&5
21240 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21241
21242 if $PKG_CONFIG --exists "pangoft2" ; then
21243 echo "$as_me:$LINENO: result: yes" >&5
21244 echo "${ECHO_T}yes" >&6
21245 succeeded=yes
21246
21247 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21248 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21249 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21250 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21251 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21252
21253 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21254 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21255 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21256 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21257 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21258 else
21259 PANGOFT2_CFLAGS=""
21260 PANGOFT2_LIBS=""
21261 ## If we have a custom action on failure, don't print errors, but
21262 ## do set a variable so people can do so.
21263 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21264
21265 fi
21266
21267
21268
21269 else
21270 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21271 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21272 fi
21273 fi
21274
21275 if test $succeeded = yes; then
21276
21277 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21278 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21279
21280 else
21281
21282 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21283 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21284 wxUSE_PRINTING_ARCHITECTURE="no"
21285
21286
21287 fi
21288
21289 fi
21290 else
21291 if test "$wxUSE_UNICODE" = "yes"; then
21292 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21293 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21294 wxUSE_UNICODE=no
21295 fi
21296 fi
21297
21298 if test "$USE_DARWIN" != 1; then
21299
21300 for ac_func in poll
21301 do
21302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21303 echo "$as_me:$LINENO: checking for $ac_func" >&5
21304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21305 if eval "test \"\${$as_ac_var+set}\" = set"; then
21306 echo $ECHO_N "(cached) $ECHO_C" >&6
21307 else
21308 cat >conftest.$ac_ext <<_ACEOF
21309 #line $LINENO "configure"
21310 /* confdefs.h. */
21311 _ACEOF
21312 cat confdefs.h >>conftest.$ac_ext
21313 cat >>conftest.$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 /* System header to define __stub macros and hopefully few prototypes,
21316 which can conflict with char $ac_func (); below.
21317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21318 <limits.h> exists even on freestanding compilers. */
21319 #ifdef __STDC__
21320 # include <limits.h>
21321 #else
21322 # include <assert.h>
21323 #endif
21324 /* Override any gcc2 internal prototype to avoid an error. */
21325 #ifdef __cplusplus
21326 extern "C"
21327 {
21328 #endif
21329 /* We use char because int might match the return type of a gcc2
21330 builtin and then its argument prototype would still apply. */
21331 char $ac_func ();
21332 /* The GNU C library defines this for functions which it implements
21333 to always fail with ENOSYS. Some functions are actually named
21334 something starting with __ and the normal name is an alias. */
21335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21336 choke me
21337 #else
21338 char (*f) () = $ac_func;
21339 #endif
21340 #ifdef __cplusplus
21341 }
21342 #endif
21343
21344 int
21345 main ()
21346 {
21347 return f != $ac_func;
21348 ;
21349 return 0;
21350 }
21351 _ACEOF
21352 rm -f conftest.$ac_objext conftest$ac_exeext
21353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21354 (eval $ac_link) 2>&5
21355 ac_status=$?
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -s conftest$ac_exeext'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 eval "$as_ac_var=yes"
21365 else
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21368
21369 eval "$as_ac_var=no"
21370 fi
21371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21372 fi
21373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21375 if test `eval echo '${'$as_ac_var'}'` = yes; then
21376 cat >>confdefs.h <<_ACEOF
21377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21378 _ACEOF
21379
21380 fi
21381 done
21382
21383 fi
21384
21385 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21386 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21387
21388 AFMINSTALL=afminstall
21389 TOOLKIT=GTK
21390 GUIDIST=GTK_DIST
21391
21392 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21393 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21394 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 else
21397 ac_check_lib_save_LIBS=$LIBS
21398 LIBS="-lgdk $LIBS"
21399 cat >conftest.$ac_ext <<_ACEOF
21400 #line $LINENO "configure"
21401 /* confdefs.h. */
21402 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406
21407 /* Override any gcc2 internal prototype to avoid an error. */
21408 #ifdef __cplusplus
21409 extern "C"
21410 #endif
21411 /* We use char because int might match the return type of a gcc2
21412 builtin and then its argument prototype would still apply. */
21413 char gdk_im_open ();
21414 int
21415 main ()
21416 {
21417 gdk_im_open ();
21418 ;
21419 return 0;
21420 }
21421 _ACEOF
21422 rm -f conftest.$ac_objext conftest$ac_exeext
21423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21424 (eval $ac_link) 2>&5
21425 ac_status=$?
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try='test -s conftest$ac_exeext'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21431 ac_status=$?
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; }; then
21434 ac_cv_lib_gdk_gdk_im_open=yes
21435 else
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21438
21439 ac_cv_lib_gdk_gdk_im_open=no
21440 fi
21441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21442 LIBS=$ac_check_lib_save_LIBS
21443 fi
21444 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21445 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21446 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21447 cat >>confdefs.h <<\_ACEOF
21448 #define HAVE_XIM 1
21449 _ACEOF
21450
21451 fi
21452
21453 fi
21454
21455 if test "$wxUSE_MGL" = 1; then
21456 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21457 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21458 if test "x$MGL_ROOT" = x ; then
21459 echo "$as_me:$LINENO: result: not found" >&5
21460 echo "${ECHO_T}not found" >&6
21461 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21462 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21463 { (exit 1); exit 1; }; }
21464 else
21465 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21466 echo "${ECHO_T}$MGL_ROOT" >&6
21467 fi
21468
21469 echo "$as_me:$LINENO: checking for libmgl location" >&5
21470 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21471 case "${host}" in
21472 *-*-linux* )
21473 if test "x$wxUSE_SHARED" = xyes ; then
21474 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21475 else
21476 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21477 fi
21478 ;;
21479 *-pc-msdosdjgpp )
21480 mgl_os_candidates="dos32/dj2"
21481 ;;
21482 *)
21483 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21484 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21485 { (exit 1); exit 1; }; }
21486 esac
21487
21488 mgl_lib_type=""
21489 mgl_os=""
21490
21491 for mgl_os_i in $mgl_os_candidates ; do
21492 if test "x$mgl_os" = x ; then
21493 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21494 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21495 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21496 mgl_lib_type=debug
21497 mgl_os=$mgl_os_i
21498 fi
21499 fi
21500 if test "x$mgl_lib_type" = x ; then
21501 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21502 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21503 mgl_lib_type=release
21504 mgl_os=$mgl_os_i
21505 fi
21506 fi
21507 fi
21508 done
21509
21510 if test "x$mgl_os" = x ; then
21511 echo "$as_me:$LINENO: result: not found" >&5
21512 echo "${ECHO_T}not found" >&6
21513 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21514 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21515 { (exit 1); exit 1; }; }
21516 fi
21517 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21518 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21519
21520 wxUSE_UNIVERSAL="yes"
21521
21522 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21523 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21524
21525 AFMINSTALL=afminstall
21526 TOOLKIT=MGL
21527 GUIDIST=MGL_DIST
21528 fi
21529
21530 if test "$wxUSE_MICROWIN" = 1; then
21531 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21532 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21533 if test "x$MICROWINDOWS" = x ; then
21534 echo "$as_me:$LINENO: result: not found" >&5
21535 echo "${ECHO_T}not found" >&6
21536 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21537 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21538 { (exit 1); exit 1; }; }
21539 else
21540 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21541 echo "${ECHO_T}$MICROWINDOWS" >&6
21542 fi
21543
21544 if test -f $MICROWINDOWS/lib/libmwin.a; then
21545 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21546 echo "${ECHO_T}MicroWindows' libraries found." >&6
21547 else
21548 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21549 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21550 { (exit 1); exit 1; }; }
21551 fi
21552
21553 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21554 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21555
21556 wxUSE_UNIVERSAL="yes"
21557
21558 AFMINSTALL=afminstall
21559 TOOLKIT=MICROWIN
21560 GUIDIST=MICROWIN_DIST
21561
21562 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21563 fi
21564
21565 if test "$wxUSE_X11" = 1; then
21566 echo "$as_me:$LINENO: checking for X" >&5
21567 echo $ECHO_N "checking for X... $ECHO_C" >&6
21568
21569
21570 # Check whether --with-x or --without-x was given.
21571 if test "${with_x+set}" = set; then
21572 withval="$with_x"
21573
21574 fi;
21575 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21576 if test "x$with_x" = xno; then
21577 # The user explicitly disabled X.
21578 have_x=disabled
21579 else
21580 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21581 # Both variables are already set.
21582 have_x=yes
21583 else
21584 if test "${ac_cv_have_x+set}" = set; then
21585 echo $ECHO_N "(cached) $ECHO_C" >&6
21586 else
21587 # One or both of the vars are not set, and there is no cached value.
21588 ac_x_includes=no ac_x_libraries=no
21589 rm -fr conftest.dir
21590 if mkdir conftest.dir; then
21591 cd conftest.dir
21592 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21593 cat >Imakefile <<'_ACEOF'
21594 acfindx:
21595 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21596 _ACEOF
21597 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21599 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21600 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21601 for ac_extension in a so sl; do
21602 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21603 test -f $ac_im_libdir/libX11.$ac_extension; then
21604 ac_im_usrlibdir=$ac_im_libdir; break
21605 fi
21606 done
21607 # Screen out bogus values from the imake configuration. They are
21608 # bogus both because they are the default anyway, and because
21609 # using them would break gcc on systems where it needs fixed includes.
21610 case $ac_im_incroot in
21611 /usr/include) ;;
21612 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21613 esac
21614 case $ac_im_usrlibdir in
21615 /usr/lib | /lib) ;;
21616 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21617 esac
21618 fi
21619 cd ..
21620 rm -fr conftest.dir
21621 fi
21622
21623 # Standard set of common directories for X headers.
21624 # Check X11 before X11Rn because it is often a symlink to the current release.
21625 ac_x_header_dirs='
21626 /usr/X11/include
21627 /usr/X11R6/include
21628 /usr/X11R5/include
21629 /usr/X11R4/include
21630
21631 /usr/include/X11
21632 /usr/include/X11R6
21633 /usr/include/X11R5
21634 /usr/include/X11R4
21635
21636 /usr/local/X11/include
21637 /usr/local/X11R6/include
21638 /usr/local/X11R5/include
21639 /usr/local/X11R4/include
21640
21641 /usr/local/include/X11
21642 /usr/local/include/X11R6
21643 /usr/local/include/X11R5
21644 /usr/local/include/X11R4
21645
21646 /usr/X386/include
21647 /usr/x386/include
21648 /usr/XFree86/include/X11
21649
21650 /usr/include
21651 /usr/local/include
21652 /usr/unsupported/include
21653 /usr/athena/include
21654 /usr/local/x11r5/include
21655 /usr/lpp/Xamples/include
21656
21657 /usr/openwin/include
21658 /usr/openwin/share/include'
21659
21660 if test "$ac_x_includes" = no; then
21661 # Guess where to find include files, by looking for Intrinsic.h.
21662 # First, try using that file with no special directory specified.
21663 cat >conftest.$ac_ext <<_ACEOF
21664 #line $LINENO "configure"
21665 /* confdefs.h. */
21666 _ACEOF
21667 cat confdefs.h >>conftest.$ac_ext
21668 cat >>conftest.$ac_ext <<_ACEOF
21669 /* end confdefs.h. */
21670 #include <X11/Intrinsic.h>
21671 _ACEOF
21672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21674 ac_status=$?
21675 grep -v '^ *+' conftest.er1 >conftest.err
21676 rm -f conftest.er1
21677 cat conftest.err >&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } >/dev/null; then
21680 if test -s conftest.err; then
21681 ac_cpp_err=$ac_c_preproc_warn_flag
21682 else
21683 ac_cpp_err=
21684 fi
21685 else
21686 ac_cpp_err=yes
21687 fi
21688 if test -z "$ac_cpp_err"; then
21689 # We can compile using X headers with no special include directory.
21690 ac_x_includes=
21691 else
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.$ac_ext >&5
21694
21695 for ac_dir in $ac_x_header_dirs; do
21696 if test -r "$ac_dir/X11/Intrinsic.h"; then
21697 ac_x_includes=$ac_dir
21698 break
21699 fi
21700 done
21701 fi
21702 rm -f conftest.err conftest.$ac_ext
21703 fi # $ac_x_includes = no
21704
21705 if test "$ac_x_libraries" = no; then
21706 # Check for the libraries.
21707 # See if we find them without any special options.
21708 # Don't add to $LIBS permanently.
21709 ac_save_LIBS=$LIBS
21710 LIBS="-lXt $LIBS"
21711 cat >conftest.$ac_ext <<_ACEOF
21712 #line $LINENO "configure"
21713 /* confdefs.h. */
21714 _ACEOF
21715 cat confdefs.h >>conftest.$ac_ext
21716 cat >>conftest.$ac_ext <<_ACEOF
21717 /* end confdefs.h. */
21718 #include <X11/Intrinsic.h>
21719 int
21720 main ()
21721 {
21722 XtMalloc (0)
21723 ;
21724 return 0;
21725 }
21726 _ACEOF
21727 rm -f conftest.$ac_objext conftest$ac_exeext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21729 (eval $ac_link) 2>&5
21730 ac_status=$?
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } &&
21733 { ac_try='test -s conftest$ac_exeext'
21734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21735 (eval $ac_try) 2>&5
21736 ac_status=$?
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); }; }; then
21739 LIBS=$ac_save_LIBS
21740 # We can link X programs with no special library path.
21741 ac_x_libraries=
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 LIBS=$ac_save_LIBS
21747 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21748 do
21749 # Don't even attempt the hair of trying to link an X program!
21750 for ac_extension in a so sl; do
21751 if test -r $ac_dir/libXt.$ac_extension; then
21752 ac_x_libraries=$ac_dir
21753 break 2
21754 fi
21755 done
21756 done
21757 fi
21758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21759 fi # $ac_x_libraries = no
21760
21761 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21762 # Didn't find X anywhere. Cache the known absence of X.
21763 ac_cv_have_x="have_x=no"
21764 else
21765 # Record where we found X for the cache.
21766 ac_cv_have_x="have_x=yes \
21767 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21768 fi
21769 fi
21770
21771 fi
21772 eval "$ac_cv_have_x"
21773 fi # $with_x != no
21774
21775 if test "$have_x" != yes; then
21776 echo "$as_me:$LINENO: result: $have_x" >&5
21777 echo "${ECHO_T}$have_x" >&6
21778 no_x=yes
21779 else
21780 # If each of the values was on the command line, it overrides each guess.
21781 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21782 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21783 # Update the cache value to reflect the command line values.
21784 ac_cv_have_x="have_x=yes \
21785 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21786 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21787 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21788 fi
21789
21790 if test "$no_x" = yes; then
21791 # Not all programs may use this symbol, but it does not hurt to define it.
21792
21793 cat >>confdefs.h <<\_ACEOF
21794 #define X_DISPLAY_MISSING 1
21795 _ACEOF
21796
21797 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21798 else
21799 if test -n "$x_includes"; then
21800 X_CFLAGS="$X_CFLAGS -I$x_includes"
21801 fi
21802
21803 # It would also be nice to do this for all -L options, not just this one.
21804 if test -n "$x_libraries"; then
21805 X_LIBS="$X_LIBS -L$x_libraries"
21806 # For Solaris; some versions of Sun CC require a space after -R and
21807 # others require no space. Words are not sufficient . . . .
21808 case `(uname -sr) 2>/dev/null` in
21809 "SunOS 5"*)
21810 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21811 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21812 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21813 cat >conftest.$ac_ext <<_ACEOF
21814 #line $LINENO "configure"
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820
21821 int
21822 main ()
21823 {
21824
21825 ;
21826 return 0;
21827 }
21828 _ACEOF
21829 rm -f conftest.$ac_objext conftest$ac_exeext
21830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21831 (eval $ac_link) 2>&5
21832 ac_status=$?
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); } &&
21835 { ac_try='test -s conftest$ac_exeext'
21836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21837 (eval $ac_try) 2>&5
21838 ac_status=$?
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 ac_R_nospace=yes
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21845
21846 ac_R_nospace=no
21847 fi
21848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21849 if test $ac_R_nospace = yes; then
21850 echo "$as_me:$LINENO: result: no" >&5
21851 echo "${ECHO_T}no" >&6
21852 X_LIBS="$X_LIBS -R$x_libraries"
21853 else
21854 LIBS="$ac_xsave_LIBS -R $x_libraries"
21855 cat >conftest.$ac_ext <<_ACEOF
21856 #line $LINENO "configure"
21857 /* confdefs.h. */
21858 _ACEOF
21859 cat confdefs.h >>conftest.$ac_ext
21860 cat >>conftest.$ac_ext <<_ACEOF
21861 /* end confdefs.h. */
21862
21863 int
21864 main ()
21865 {
21866
21867 ;
21868 return 0;
21869 }
21870 _ACEOF
21871 rm -f conftest.$ac_objext conftest$ac_exeext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21873 (eval $ac_link) 2>&5
21874 ac_status=$?
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); } &&
21877 { ac_try='test -s conftest$ac_exeext'
21878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21879 (eval $ac_try) 2>&5
21880 ac_status=$?
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); }; }; then
21883 ac_R_space=yes
21884 else
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.$ac_ext >&5
21887
21888 ac_R_space=no
21889 fi
21890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21891 if test $ac_R_space = yes; then
21892 echo "$as_me:$LINENO: result: yes" >&5
21893 echo "${ECHO_T}yes" >&6
21894 X_LIBS="$X_LIBS -R $x_libraries"
21895 else
21896 echo "$as_me:$LINENO: result: neither works" >&5
21897 echo "${ECHO_T}neither works" >&6
21898 fi
21899 fi
21900 LIBS=$ac_xsave_LIBS
21901 esac
21902 fi
21903
21904 # Check for system-dependent libraries X programs must link with.
21905 # Do this before checking for the system-independent R6 libraries
21906 # (-lICE), since we may need -lsocket or whatever for X linking.
21907
21908 if test "$ISC" = yes; then
21909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21910 else
21911 # Martyn Johnson says this is needed for Ultrix, if the X
21912 # libraries were built with DECnet support. And Karl Berry says
21913 # the Alpha needs dnet_stub (dnet does not exist).
21914 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21915 cat >conftest.$ac_ext <<_ACEOF
21916 #line $LINENO "configure"
21917 /* confdefs.h. */
21918 _ACEOF
21919 cat confdefs.h >>conftest.$ac_ext
21920 cat >>conftest.$ac_ext <<_ACEOF
21921 /* end confdefs.h. */
21922
21923 /* Override any gcc2 internal prototype to avoid an error. */
21924 #ifdef __cplusplus
21925 extern "C"
21926 #endif
21927 /* We use char because int might match the return type of a gcc2
21928 builtin and then its argument prototype would still apply. */
21929 char XOpenDisplay ();
21930 int
21931 main ()
21932 {
21933 XOpenDisplay ();
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 rm -f conftest.$ac_objext conftest$ac_exeext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21940 (eval $ac_link) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); } &&
21944 { ac_try='test -s conftest$ac_exeext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 :
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21954
21955 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21956 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21957 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21958 echo $ECHO_N "(cached) $ECHO_C" >&6
21959 else
21960 ac_check_lib_save_LIBS=$LIBS
21961 LIBS="-ldnet $LIBS"
21962 cat >conftest.$ac_ext <<_ACEOF
21963 #line $LINENO "configure"
21964 /* confdefs.h. */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969
21970 /* Override any gcc2 internal prototype to avoid an error. */
21971 #ifdef __cplusplus
21972 extern "C"
21973 #endif
21974 /* We use char because int might match the return type of a gcc2
21975 builtin and then its argument prototype would still apply. */
21976 char dnet_ntoa ();
21977 int
21978 main ()
21979 {
21980 dnet_ntoa ();
21981 ;
21982 return 0;
21983 }
21984 _ACEOF
21985 rm -f conftest.$ac_objext conftest$ac_exeext
21986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21987 (eval $ac_link) 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } &&
21991 { ac_try='test -s conftest$ac_exeext'
21992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21993 (eval $ac_try) 2>&5
21994 ac_status=$?
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); }; }; then
21997 ac_cv_lib_dnet_dnet_ntoa=yes
21998 else
21999 echo "$as_me: failed program was:" >&5
22000 sed 's/^/| /' conftest.$ac_ext >&5
22001
22002 ac_cv_lib_dnet_dnet_ntoa=no
22003 fi
22004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22005 LIBS=$ac_check_lib_save_LIBS
22006 fi
22007 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22008 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22009 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22010 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22011 fi
22012
22013 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22014 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22015 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22016 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 else
22019 ac_check_lib_save_LIBS=$LIBS
22020 LIBS="-ldnet_stub $LIBS"
22021 cat >conftest.$ac_ext <<_ACEOF
22022 #line $LINENO "configure"
22023 /* confdefs.h. */
22024 _ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028
22029 /* Override any gcc2 internal prototype to avoid an error. */
22030 #ifdef __cplusplus
22031 extern "C"
22032 #endif
22033 /* We use char because int might match the return type of a gcc2
22034 builtin and then its argument prototype would still apply. */
22035 char dnet_ntoa ();
22036 int
22037 main ()
22038 {
22039 dnet_ntoa ();
22040 ;
22041 return 0;
22042 }
22043 _ACEOF
22044 rm -f conftest.$ac_objext conftest$ac_exeext
22045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22046 (eval $ac_link) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } &&
22050 { ac_try='test -s conftest$ac_exeext'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22053 ac_status=$?
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; }; then
22056 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22057 else
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22060
22061 ac_cv_lib_dnet_stub_dnet_ntoa=no
22062 fi
22063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22064 LIBS=$ac_check_lib_save_LIBS
22065 fi
22066 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22067 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22068 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22069 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22070 fi
22071
22072 fi
22073 fi
22074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22075 LIBS="$ac_xsave_LIBS"
22076
22077 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22078 # to get the SysV transport functions.
22079 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22080 # needs -lnsl.
22081 # The nsl library prevents programs from opening the X display
22082 # on Irix 5.2, according to T.E. Dickey.
22083 # The functions gethostbyname, getservbyname, and inet_addr are
22084 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22085 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22086 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22087 if test "${ac_cv_func_gethostbyname+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 else
22090 cat >conftest.$ac_ext <<_ACEOF
22091 #line $LINENO "configure"
22092 /* confdefs.h. */
22093 _ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 /* System header to define __stub macros and hopefully few prototypes,
22098 which can conflict with char gethostbyname (); below.
22099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22100 <limits.h> exists even on freestanding compilers. */
22101 #ifdef __STDC__
22102 # include <limits.h>
22103 #else
22104 # include <assert.h>
22105 #endif
22106 /* Override any gcc2 internal prototype to avoid an error. */
22107 #ifdef __cplusplus
22108 extern "C"
22109 {
22110 #endif
22111 /* We use char because int might match the return type of a gcc2
22112 builtin and then its argument prototype would still apply. */
22113 char gethostbyname ();
22114 /* The GNU C library defines this for functions which it implements
22115 to always fail with ENOSYS. Some functions are actually named
22116 something starting with __ and the normal name is an alias. */
22117 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22118 choke me
22119 #else
22120 char (*f) () = gethostbyname;
22121 #endif
22122 #ifdef __cplusplus
22123 }
22124 #endif
22125
22126 int
22127 main ()
22128 {
22129 return f != gethostbyname;
22130 ;
22131 return 0;
22132 }
22133 _ACEOF
22134 rm -f conftest.$ac_objext conftest$ac_exeext
22135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22136 (eval $ac_link) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); } &&
22140 { ac_try='test -s conftest$ac_exeext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22143 ac_status=$?
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_cv_func_gethostbyname=yes
22147 else
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22150
22151 ac_cv_func_gethostbyname=no
22152 fi
22153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22154 fi
22155 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22156 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22157
22158 if test $ac_cv_func_gethostbyname = no; then
22159 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22160 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22161 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22162 echo $ECHO_N "(cached) $ECHO_C" >&6
22163 else
22164 ac_check_lib_save_LIBS=$LIBS
22165 LIBS="-lnsl $LIBS"
22166 cat >conftest.$ac_ext <<_ACEOF
22167 #line $LINENO "configure"
22168 /* confdefs.h. */
22169 _ACEOF
22170 cat confdefs.h >>conftest.$ac_ext
22171 cat >>conftest.$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173
22174 /* Override any gcc2 internal prototype to avoid an error. */
22175 #ifdef __cplusplus
22176 extern "C"
22177 #endif
22178 /* We use char because int might match the return type of a gcc2
22179 builtin and then its argument prototype would still apply. */
22180 char gethostbyname ();
22181 int
22182 main ()
22183 {
22184 gethostbyname ();
22185 ;
22186 return 0;
22187 }
22188 _ACEOF
22189 rm -f conftest.$ac_objext conftest$ac_exeext
22190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22191 (eval $ac_link) 2>&5
22192 ac_status=$?
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } &&
22195 { ac_try='test -s conftest$ac_exeext'
22196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22197 (eval $ac_try) 2>&5
22198 ac_status=$?
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; }; then
22201 ac_cv_lib_nsl_gethostbyname=yes
22202 else
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.$ac_ext >&5
22205
22206 ac_cv_lib_nsl_gethostbyname=no
22207 fi
22208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22209 LIBS=$ac_check_lib_save_LIBS
22210 fi
22211 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22212 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22213 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22214 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22215 fi
22216
22217 if test $ac_cv_lib_nsl_gethostbyname = no; then
22218 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22219 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22220 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 else
22223 ac_check_lib_save_LIBS=$LIBS
22224 LIBS="-lbsd $LIBS"
22225 cat >conftest.$ac_ext <<_ACEOF
22226 #line $LINENO "configure"
22227 /* confdefs.h. */
22228 _ACEOF
22229 cat confdefs.h >>conftest.$ac_ext
22230 cat >>conftest.$ac_ext <<_ACEOF
22231 /* end confdefs.h. */
22232
22233 /* Override any gcc2 internal prototype to avoid an error. */
22234 #ifdef __cplusplus
22235 extern "C"
22236 #endif
22237 /* We use char because int might match the return type of a gcc2
22238 builtin and then its argument prototype would still apply. */
22239 char gethostbyname ();
22240 int
22241 main ()
22242 {
22243 gethostbyname ();
22244 ;
22245 return 0;
22246 }
22247 _ACEOF
22248 rm -f conftest.$ac_objext conftest$ac_exeext
22249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22250 (eval $ac_link) 2>&5
22251 ac_status=$?
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } &&
22254 { ac_try='test -s conftest$ac_exeext'
22255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22256 (eval $ac_try) 2>&5
22257 ac_status=$?
22258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22259 (exit $ac_status); }; }; then
22260 ac_cv_lib_bsd_gethostbyname=yes
22261 else
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22264
22265 ac_cv_lib_bsd_gethostbyname=no
22266 fi
22267 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22268 LIBS=$ac_check_lib_save_LIBS
22269 fi
22270 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22271 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22272 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22274 fi
22275
22276 fi
22277 fi
22278
22279 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22280 # socket/setsockopt and other routines are undefined under SCO ODT
22281 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22282 # on later versions), says Simon Leinen: it contains gethostby*
22283 # variants that don't use the name server (or something). -lsocket
22284 # must be given before -lnsl if both are needed. We assume that
22285 # if connect needs -lnsl, so does gethostbyname.
22286 echo "$as_me:$LINENO: checking for connect" >&5
22287 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22288 if test "${ac_cv_func_connect+set}" = set; then
22289 echo $ECHO_N "(cached) $ECHO_C" >&6
22290 else
22291 cat >conftest.$ac_ext <<_ACEOF
22292 #line $LINENO "configure"
22293 /* confdefs.h. */
22294 _ACEOF
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 /* System header to define __stub macros and hopefully few prototypes,
22299 which can conflict with char connect (); below.
22300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22301 <limits.h> exists even on freestanding compilers. */
22302 #ifdef __STDC__
22303 # include <limits.h>
22304 #else
22305 # include <assert.h>
22306 #endif
22307 /* Override any gcc2 internal prototype to avoid an error. */
22308 #ifdef __cplusplus
22309 extern "C"
22310 {
22311 #endif
22312 /* We use char because int might match the return type of a gcc2
22313 builtin and then its argument prototype would still apply. */
22314 char connect ();
22315 /* The GNU C library defines this for functions which it implements
22316 to always fail with ENOSYS. Some functions are actually named
22317 something starting with __ and the normal name is an alias. */
22318 #if defined (__stub_connect) || defined (__stub___connect)
22319 choke me
22320 #else
22321 char (*f) () = connect;
22322 #endif
22323 #ifdef __cplusplus
22324 }
22325 #endif
22326
22327 int
22328 main ()
22329 {
22330 return f != connect;
22331 ;
22332 return 0;
22333 }
22334 _ACEOF
22335 rm -f conftest.$ac_objext conftest$ac_exeext
22336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22337 (eval $ac_link) 2>&5
22338 ac_status=$?
22339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22340 (exit $ac_status); } &&
22341 { ac_try='test -s conftest$ac_exeext'
22342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22343 (eval $ac_try) 2>&5
22344 ac_status=$?
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); }; }; then
22347 ac_cv_func_connect=yes
22348 else
22349 echo "$as_me: failed program was:" >&5
22350 sed 's/^/| /' conftest.$ac_ext >&5
22351
22352 ac_cv_func_connect=no
22353 fi
22354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22355 fi
22356 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22357 echo "${ECHO_T}$ac_cv_func_connect" >&6
22358
22359 if test $ac_cv_func_connect = no; then
22360 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22361 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22362 if test "${ac_cv_lib_socket_connect+set}" = set; then
22363 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 else
22365 ac_check_lib_save_LIBS=$LIBS
22366 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22367 cat >conftest.$ac_ext <<_ACEOF
22368 #line $LINENO "configure"
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374
22375 /* Override any gcc2 internal prototype to avoid an error. */
22376 #ifdef __cplusplus
22377 extern "C"
22378 #endif
22379 /* We use char because int might match the return type of a gcc2
22380 builtin and then its argument prototype would still apply. */
22381 char connect ();
22382 int
22383 main ()
22384 {
22385 connect ();
22386 ;
22387 return 0;
22388 }
22389 _ACEOF
22390 rm -f conftest.$ac_objext conftest$ac_exeext
22391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22392 (eval $ac_link) 2>&5
22393 ac_status=$?
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); } &&
22396 { ac_try='test -s conftest$ac_exeext'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22399 ac_status=$?
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 ac_cv_lib_socket_connect=yes
22403 else
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22406
22407 ac_cv_lib_socket_connect=no
22408 fi
22409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22410 LIBS=$ac_check_lib_save_LIBS
22411 fi
22412 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22413 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22414 if test $ac_cv_lib_socket_connect = yes; then
22415 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22416 fi
22417
22418 fi
22419
22420 # Guillermo Gomez says -lposix is necessary on A/UX.
22421 echo "$as_me:$LINENO: checking for remove" >&5
22422 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22423 if test "${ac_cv_func_remove+set}" = set; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22425 else
22426 cat >conftest.$ac_ext <<_ACEOF
22427 #line $LINENO "configure"
22428 /* confdefs.h. */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 /* System header to define __stub macros and hopefully few prototypes,
22434 which can conflict with char remove (); below.
22435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22436 <limits.h> exists even on freestanding compilers. */
22437 #ifdef __STDC__
22438 # include <limits.h>
22439 #else
22440 # include <assert.h>
22441 #endif
22442 /* Override any gcc2 internal prototype to avoid an error. */
22443 #ifdef __cplusplus
22444 extern "C"
22445 {
22446 #endif
22447 /* We use char because int might match the return type of a gcc2
22448 builtin and then its argument prototype would still apply. */
22449 char remove ();
22450 /* The GNU C library defines this for functions which it implements
22451 to always fail with ENOSYS. Some functions are actually named
22452 something starting with __ and the normal name is an alias. */
22453 #if defined (__stub_remove) || defined (__stub___remove)
22454 choke me
22455 #else
22456 char (*f) () = remove;
22457 #endif
22458 #ifdef __cplusplus
22459 }
22460 #endif
22461
22462 int
22463 main ()
22464 {
22465 return f != remove;
22466 ;
22467 return 0;
22468 }
22469 _ACEOF
22470 rm -f conftest.$ac_objext conftest$ac_exeext
22471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22472 (eval $ac_link) 2>&5
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } &&
22476 { ac_try='test -s conftest$ac_exeext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22479 ac_status=$?
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 ac_cv_func_remove=yes
22483 else
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.$ac_ext >&5
22486
22487 ac_cv_func_remove=no
22488 fi
22489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22490 fi
22491 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22492 echo "${ECHO_T}$ac_cv_func_remove" >&6
22493
22494 if test $ac_cv_func_remove = no; then
22495 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22496 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22497 if test "${ac_cv_lib_posix_remove+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 else
22500 ac_check_lib_save_LIBS=$LIBS
22501 LIBS="-lposix $LIBS"
22502 cat >conftest.$ac_ext <<_ACEOF
22503 #line $LINENO "configure"
22504 /* confdefs.h. */
22505 _ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509
22510 /* Override any gcc2 internal prototype to avoid an error. */
22511 #ifdef __cplusplus
22512 extern "C"
22513 #endif
22514 /* We use char because int might match the return type of a gcc2
22515 builtin and then its argument prototype would still apply. */
22516 char remove ();
22517 int
22518 main ()
22519 {
22520 remove ();
22521 ;
22522 return 0;
22523 }
22524 _ACEOF
22525 rm -f conftest.$ac_objext conftest$ac_exeext
22526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22527 (eval $ac_link) 2>&5
22528 ac_status=$?
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); } &&
22531 { ac_try='test -s conftest$ac_exeext'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; }; then
22537 ac_cv_lib_posix_remove=yes
22538 else
22539 echo "$as_me: failed program was:" >&5
22540 sed 's/^/| /' conftest.$ac_ext >&5
22541
22542 ac_cv_lib_posix_remove=no
22543 fi
22544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22545 LIBS=$ac_check_lib_save_LIBS
22546 fi
22547 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22548 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22549 if test $ac_cv_lib_posix_remove = yes; then
22550 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22551 fi
22552
22553 fi
22554
22555 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22556 echo "$as_me:$LINENO: checking for shmat" >&5
22557 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22558 if test "${ac_cv_func_shmat+set}" = set; then
22559 echo $ECHO_N "(cached) $ECHO_C" >&6
22560 else
22561 cat >conftest.$ac_ext <<_ACEOF
22562 #line $LINENO "configure"
22563 /* confdefs.h. */
22564 _ACEOF
22565 cat confdefs.h >>conftest.$ac_ext
22566 cat >>conftest.$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 /* System header to define __stub macros and hopefully few prototypes,
22569 which can conflict with char shmat (); below.
22570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22571 <limits.h> exists even on freestanding compilers. */
22572 #ifdef __STDC__
22573 # include <limits.h>
22574 #else
22575 # include <assert.h>
22576 #endif
22577 /* Override any gcc2 internal prototype to avoid an error. */
22578 #ifdef __cplusplus
22579 extern "C"
22580 {
22581 #endif
22582 /* We use char because int might match the return type of a gcc2
22583 builtin and then its argument prototype would still apply. */
22584 char shmat ();
22585 /* The GNU C library defines this for functions which it implements
22586 to always fail with ENOSYS. Some functions are actually named
22587 something starting with __ and the normal name is an alias. */
22588 #if defined (__stub_shmat) || defined (__stub___shmat)
22589 choke me
22590 #else
22591 char (*f) () = shmat;
22592 #endif
22593 #ifdef __cplusplus
22594 }
22595 #endif
22596
22597 int
22598 main ()
22599 {
22600 return f != shmat;
22601 ;
22602 return 0;
22603 }
22604 _ACEOF
22605 rm -f conftest.$ac_objext conftest$ac_exeext
22606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22607 (eval $ac_link) 2>&5
22608 ac_status=$?
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try='test -s conftest$ac_exeext'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22614 ac_status=$?
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 ac_cv_func_shmat=yes
22618 else
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22621
22622 ac_cv_func_shmat=no
22623 fi
22624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22625 fi
22626 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22627 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22628
22629 if test $ac_cv_func_shmat = no; then
22630 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22631 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22632 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22633 echo $ECHO_N "(cached) $ECHO_C" >&6
22634 else
22635 ac_check_lib_save_LIBS=$LIBS
22636 LIBS="-lipc $LIBS"
22637 cat >conftest.$ac_ext <<_ACEOF
22638 #line $LINENO "configure"
22639 /* confdefs.h. */
22640 _ACEOF
22641 cat confdefs.h >>conftest.$ac_ext
22642 cat >>conftest.$ac_ext <<_ACEOF
22643 /* end confdefs.h. */
22644
22645 /* Override any gcc2 internal prototype to avoid an error. */
22646 #ifdef __cplusplus
22647 extern "C"
22648 #endif
22649 /* We use char because int might match the return type of a gcc2
22650 builtin and then its argument prototype would still apply. */
22651 char shmat ();
22652 int
22653 main ()
22654 {
22655 shmat ();
22656 ;
22657 return 0;
22658 }
22659 _ACEOF
22660 rm -f conftest.$ac_objext conftest$ac_exeext
22661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22662 (eval $ac_link) 2>&5
22663 ac_status=$?
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); } &&
22666 { ac_try='test -s conftest$ac_exeext'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22669 ac_status=$?
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; }; then
22672 ac_cv_lib_ipc_shmat=yes
22673 else
22674 echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.$ac_ext >&5
22676
22677 ac_cv_lib_ipc_shmat=no
22678 fi
22679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22680 LIBS=$ac_check_lib_save_LIBS
22681 fi
22682 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22683 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22684 if test $ac_cv_lib_ipc_shmat = yes; then
22685 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22686 fi
22687
22688 fi
22689 fi
22690
22691 # Check for libraries that X11R6 Xt/Xaw programs need.
22692 ac_save_LDFLAGS=$LDFLAGS
22693 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22694 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22695 # check for ICE first), but we must link in the order -lSM -lICE or
22696 # we get undefined symbols. So assume we have SM if we have ICE.
22697 # These have to be linked with before -lX11, unlike the other
22698 # libraries we check for below, so use a different variable.
22699 # John Interrante, Karl Berry
22700 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22701 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22702 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 else
22705 ac_check_lib_save_LIBS=$LIBS
22706 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22707 cat >conftest.$ac_ext <<_ACEOF
22708 #line $LINENO "configure"
22709 /* confdefs.h. */
22710 _ACEOF
22711 cat confdefs.h >>conftest.$ac_ext
22712 cat >>conftest.$ac_ext <<_ACEOF
22713 /* end confdefs.h. */
22714
22715 /* Override any gcc2 internal prototype to avoid an error. */
22716 #ifdef __cplusplus
22717 extern "C"
22718 #endif
22719 /* We use char because int might match the return type of a gcc2
22720 builtin and then its argument prototype would still apply. */
22721 char IceConnectionNumber ();
22722 int
22723 main ()
22724 {
22725 IceConnectionNumber ();
22726 ;
22727 return 0;
22728 }
22729 _ACEOF
22730 rm -f conftest.$ac_objext conftest$ac_exeext
22731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22732 (eval $ac_link) 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try='test -s conftest$ac_exeext'
22737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22738 (eval $ac_try) 2>&5
22739 ac_status=$?
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); }; }; then
22742 ac_cv_lib_ICE_IceConnectionNumber=yes
22743 else
22744 echo "$as_me: failed program was:" >&5
22745 sed 's/^/| /' conftest.$ac_ext >&5
22746
22747 ac_cv_lib_ICE_IceConnectionNumber=no
22748 fi
22749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22750 LIBS=$ac_check_lib_save_LIBS
22751 fi
22752 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22753 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22754 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22755 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22756 fi
22757
22758 LDFLAGS=$ac_save_LDFLAGS
22759
22760 fi
22761
22762
22763 if test "$no_x" = "yes"; then
22764 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22765 echo "$as_me: error: X11 not found" >&2;}
22766 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22767 fi
22768
22769 GUI_TK_LIBRARY="$X_LIBS"
22770 TOOLKIT_INCLUDE="$X_CFLAGS"
22771 AFMINSTALL=afminstall
22772 COMPILED_X_PROGRAM=0
22773
22774 if test "$wxUSE_NANOX" = "yes"; then
22775 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22776 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22777 if test "x$MICROWIN" = x ; then
22778 echo "$as_me:$LINENO: result: not found" >&5
22779 echo "${ECHO_T}not found" >&6
22780 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22781 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22782 { (exit 1); exit 1; }; }
22783 else
22784 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22785 echo "${ECHO_T}$MICROWIN" >&6
22786 cat >>confdefs.h <<\_ACEOF
22787 #define wxUSE_NANOX 1
22788 _ACEOF
22789
22790 fi
22791 fi
22792
22793 if test "$wxUSE_UNICODE" = "yes"; then
22794
22795 succeeded=no
22796
22797 if test -z "$PKG_CONFIG"; then
22798 # Extract the first word of "pkg-config", so it can be a program name with args.
22799 set dummy pkg-config; ac_word=$2
22800 echo "$as_me:$LINENO: checking for $ac_word" >&5
22801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22802 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22803 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 else
22805 case $PKG_CONFIG in
22806 [\\/]* | ?:[\\/]*)
22807 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22808 ;;
22809 *)
22810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22811 for as_dir in $PATH
22812 do
22813 IFS=$as_save_IFS
22814 test -z "$as_dir" && as_dir=.
22815 for ac_exec_ext in '' $ac_executable_extensions; do
22816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22817 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22819 break 2
22820 fi
22821 done
22822 done
22823
22824 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22825 ;;
22826 esac
22827 fi
22828 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22829
22830 if test -n "$PKG_CONFIG"; then
22831 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22832 echo "${ECHO_T}$PKG_CONFIG" >&6
22833 else
22834 echo "$as_me:$LINENO: result: no" >&5
22835 echo "${ECHO_T}no" >&6
22836 fi
22837
22838 fi
22839
22840 if test "$PKG_CONFIG" = "no" ; then
22841 echo "*** The pkg-config script could not be found. Make sure it is"
22842 echo "*** in your path, or set the PKG_CONFIG environment variable"
22843 echo "*** to the full path to pkg-config."
22844 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22845 else
22846 PKG_CONFIG_MIN_VERSION=0.9.0
22847 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22848 echo "$as_me:$LINENO: checking for pangox" >&5
22849 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22850
22851 if $PKG_CONFIG --exists "pangox" ; then
22852 echo "$as_me:$LINENO: result: yes" >&5
22853 echo "${ECHO_T}yes" >&6
22854 succeeded=yes
22855
22856 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22857 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22858 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22859 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22860 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22861
22862 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22863 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22864 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22865 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22866 echo "${ECHO_T}$PANGOX_LIBS" >&6
22867 else
22868 PANGOX_CFLAGS=""
22869 PANGOX_LIBS=""
22870 ## If we have a custom action on failure, don't print errors, but
22871 ## do set a variable so people can do so.
22872 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22873
22874 fi
22875
22876
22877
22878 else
22879 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22880 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22881 fi
22882 fi
22883
22884 if test $succeeded = yes; then
22885
22886 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22887 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22888
22889 else
22890
22891 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22892 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22893 { (exit 1); exit 1; }; }
22894
22895
22896 fi
22897
22898
22899 succeeded=no
22900
22901 if test -z "$PKG_CONFIG"; then
22902 # Extract the first word of "pkg-config", so it can be a program name with args.
22903 set dummy pkg-config; ac_word=$2
22904 echo "$as_me:$LINENO: checking for $ac_word" >&5
22905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22906 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 else
22909 case $PKG_CONFIG in
22910 [\\/]* | ?:[\\/]*)
22911 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22912 ;;
22913 *)
22914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22915 for as_dir in $PATH
22916 do
22917 IFS=$as_save_IFS
22918 test -z "$as_dir" && as_dir=.
22919 for ac_exec_ext in '' $ac_executable_extensions; do
22920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22921 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22923 break 2
22924 fi
22925 done
22926 done
22927
22928 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22929 ;;
22930 esac
22931 fi
22932 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22933
22934 if test -n "$PKG_CONFIG"; then
22935 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22936 echo "${ECHO_T}$PKG_CONFIG" >&6
22937 else
22938 echo "$as_me:$LINENO: result: no" >&5
22939 echo "${ECHO_T}no" >&6
22940 fi
22941
22942 fi
22943
22944 if test "$PKG_CONFIG" = "no" ; then
22945 echo "*** The pkg-config script could not be found. Make sure it is"
22946 echo "*** in your path, or set the PKG_CONFIG environment variable"
22947 echo "*** to the full path to pkg-config."
22948 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22949 else
22950 PKG_CONFIG_MIN_VERSION=0.9.0
22951 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22952 echo "$as_me:$LINENO: checking for pangoft2" >&5
22953 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22954
22955 if $PKG_CONFIG --exists "pangoft2" ; then
22956 echo "$as_me:$LINENO: result: yes" >&5
22957 echo "${ECHO_T}yes" >&6
22958 succeeded=yes
22959
22960 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22961 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22962 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22963 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22964 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22965
22966 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22967 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22968 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22969 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22970 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22971 else
22972 PANGOFT2_CFLAGS=""
22973 PANGOFT2_LIBS=""
22974 ## If we have a custom action on failure, don't print errors, but
22975 ## do set a variable so people can do so.
22976 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22977
22978 fi
22979
22980
22981
22982 else
22983 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22984 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22985 fi
22986 fi
22987
22988 if test $succeeded = yes; then
22989
22990 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22991 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22992
22993 else
22994
22995 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22996 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22997 wxUSE_PRINTING_ARCHITECTURE="no"
22998
22999
23000 fi
23001
23002
23003 succeeded=no
23004
23005 if test -z "$PKG_CONFIG"; then
23006 # Extract the first word of "pkg-config", so it can be a program name with args.
23007 set dummy pkg-config; ac_word=$2
23008 echo "$as_me:$LINENO: checking for $ac_word" >&5
23009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23010 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23011 echo $ECHO_N "(cached) $ECHO_C" >&6
23012 else
23013 case $PKG_CONFIG in
23014 [\\/]* | ?:[\\/]*)
23015 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23016 ;;
23017 *)
23018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23019 for as_dir in $PATH
23020 do
23021 IFS=$as_save_IFS
23022 test -z "$as_dir" && as_dir=.
23023 for ac_exec_ext in '' $ac_executable_extensions; do
23024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23025 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23027 break 2
23028 fi
23029 done
23030 done
23031
23032 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23033 ;;
23034 esac
23035 fi
23036 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23037
23038 if test -n "$PKG_CONFIG"; then
23039 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23040 echo "${ECHO_T}$PKG_CONFIG" >&6
23041 else
23042 echo "$as_me:$LINENO: result: no" >&5
23043 echo "${ECHO_T}no" >&6
23044 fi
23045
23046 fi
23047
23048 if test "$PKG_CONFIG" = "no" ; then
23049 echo "*** The pkg-config script could not be found. Make sure it is"
23050 echo "*** in your path, or set the PKG_CONFIG environment variable"
23051 echo "*** to the full path to pkg-config."
23052 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23053 else
23054 PKG_CONFIG_MIN_VERSION=0.9.0
23055 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23056 echo "$as_me:$LINENO: checking for pangoxft" >&5
23057 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23058
23059 if $PKG_CONFIG --exists "pangoxft" ; then
23060 echo "$as_me:$LINENO: result: yes" >&5
23061 echo "${ECHO_T}yes" >&6
23062 succeeded=yes
23063
23064 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23065 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23066 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
23067 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23068 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23069
23070 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23071 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23072 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23073 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23074 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23075 else
23076 PANGOXFT_CFLAGS=""
23077 PANGOXFT_LIBS=""
23078 ## If we have a custom action on failure, don't print errors, but
23079 ## do set a variable so people can do so.
23080 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23081
23082 fi
23083
23084
23085
23086 else
23087 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23088 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23089 fi
23090 fi
23091
23092 if test $succeeded = yes; then
23093
23094 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23096
23097 else
23098
23099 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23100 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23101
23102
23103 fi
23104
23105 fi
23106
23107 wxUSE_UNIVERSAL="yes"
23108
23109 if test "$wxUSE_NANOX" = "yes"; then
23110 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23111 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"
23112 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23113 else
23114 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
23115 fi
23116
23117 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23118 TOOLKIT=X11
23119 GUIDIST=X11_DIST
23120 fi
23121
23122 if test "$wxUSE_MOTIF" = 1; then
23123 if test "$no_x" = yes; then
23124 # Not all programs may use this symbol, but it does not hurt to define it.
23125
23126 cat >>confdefs.h <<\_ACEOF
23127 #define X_DISPLAY_MISSING 1
23128 _ACEOF
23129
23130 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23131 else
23132 if test -n "$x_includes"; then
23133 X_CFLAGS="$X_CFLAGS -I$x_includes"
23134 fi
23135
23136 # It would also be nice to do this for all -L options, not just this one.
23137 if test -n "$x_libraries"; then
23138 X_LIBS="$X_LIBS -L$x_libraries"
23139 # For Solaris; some versions of Sun CC require a space after -R and
23140 # others require no space. Words are not sufficient . . . .
23141 case `(uname -sr) 2>/dev/null` in
23142 "SunOS 5"*)
23143 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23144 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23145 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23146 cat >conftest.$ac_ext <<_ACEOF
23147 #line $LINENO "configure"
23148 /* confdefs.h. */
23149 _ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23153
23154 int
23155 main ()
23156 {
23157
23158 ;
23159 return 0;
23160 }
23161 _ACEOF
23162 rm -f conftest.$ac_objext conftest$ac_exeext
23163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23164 (eval $ac_link) 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } &&
23168 { ac_try='test -s conftest$ac_exeext'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23171 ac_status=$?
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; }; then
23174 ac_R_nospace=yes
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23178
23179 ac_R_nospace=no
23180 fi
23181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23182 if test $ac_R_nospace = yes; then
23183 echo "$as_me:$LINENO: result: no" >&5
23184 echo "${ECHO_T}no" >&6
23185 X_LIBS="$X_LIBS -R$x_libraries"
23186 else
23187 LIBS="$ac_xsave_LIBS -R $x_libraries"
23188 cat >conftest.$ac_ext <<_ACEOF
23189 #line $LINENO "configure"
23190 /* confdefs.h. */
23191 _ACEOF
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23195
23196 int
23197 main ()
23198 {
23199
23200 ;
23201 return 0;
23202 }
23203 _ACEOF
23204 rm -f conftest.$ac_objext conftest$ac_exeext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23206 (eval $ac_link) 2>&5
23207 ac_status=$?
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); } &&
23210 { ac_try='test -s conftest$ac_exeext'
23211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212 (eval $ac_try) 2>&5
23213 ac_status=$?
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23216 ac_R_space=yes
23217 else
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23220
23221 ac_R_space=no
23222 fi
23223 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23224 if test $ac_R_space = yes; then
23225 echo "$as_me:$LINENO: result: yes" >&5
23226 echo "${ECHO_T}yes" >&6
23227 X_LIBS="$X_LIBS -R $x_libraries"
23228 else
23229 echo "$as_me:$LINENO: result: neither works" >&5
23230 echo "${ECHO_T}neither works" >&6
23231 fi
23232 fi
23233 LIBS=$ac_xsave_LIBS
23234 esac
23235 fi
23236
23237 # Check for system-dependent libraries X programs must link with.
23238 # Do this before checking for the system-independent R6 libraries
23239 # (-lICE), since we may need -lsocket or whatever for X linking.
23240
23241 if test "$ISC" = yes; then
23242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23243 else
23244 # Martyn Johnson says this is needed for Ultrix, if the X
23245 # libraries were built with DECnet support. And Karl Berry says
23246 # the Alpha needs dnet_stub (dnet does not exist).
23247 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23248 cat >conftest.$ac_ext <<_ACEOF
23249 #line $LINENO "configure"
23250 /* confdefs.h. */
23251 _ACEOF
23252 cat confdefs.h >>conftest.$ac_ext
23253 cat >>conftest.$ac_ext <<_ACEOF
23254 /* end confdefs.h. */
23255
23256 /* Override any gcc2 internal prototype to avoid an error. */
23257 #ifdef __cplusplus
23258 extern "C"
23259 #endif
23260 /* We use char because int might match the return type of a gcc2
23261 builtin and then its argument prototype would still apply. */
23262 char XOpenDisplay ();
23263 int
23264 main ()
23265 {
23266 XOpenDisplay ();
23267 ;
23268 return 0;
23269 }
23270 _ACEOF
23271 rm -f conftest.$ac_objext conftest$ac_exeext
23272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23273 (eval $ac_link) 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } &&
23277 { ac_try='test -s conftest$ac_exeext'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; }; then
23283 :
23284 else
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23287
23288 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23289 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23290 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23291 echo $ECHO_N "(cached) $ECHO_C" >&6
23292 else
23293 ac_check_lib_save_LIBS=$LIBS
23294 LIBS="-ldnet $LIBS"
23295 cat >conftest.$ac_ext <<_ACEOF
23296 #line $LINENO "configure"
23297 /* confdefs.h. */
23298 _ACEOF
23299 cat confdefs.h >>conftest.$ac_ext
23300 cat >>conftest.$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302
23303 /* Override any gcc2 internal prototype to avoid an error. */
23304 #ifdef __cplusplus
23305 extern "C"
23306 #endif
23307 /* We use char because int might match the return type of a gcc2
23308 builtin and then its argument prototype would still apply. */
23309 char dnet_ntoa ();
23310 int
23311 main ()
23312 {
23313 dnet_ntoa ();
23314 ;
23315 return 0;
23316 }
23317 _ACEOF
23318 rm -f conftest.$ac_objext conftest$ac_exeext
23319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23320 (eval $ac_link) 2>&5
23321 ac_status=$?
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } &&
23324 { ac_try='test -s conftest$ac_exeext'
23325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23326 (eval $ac_try) 2>&5
23327 ac_status=$?
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); }; }; then
23330 ac_cv_lib_dnet_dnet_ntoa=yes
23331 else
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23334
23335 ac_cv_lib_dnet_dnet_ntoa=no
23336 fi
23337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23338 LIBS=$ac_check_lib_save_LIBS
23339 fi
23340 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23341 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23342 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23343 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23344 fi
23345
23346 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23347 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23348 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23349 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23351 else
23352 ac_check_lib_save_LIBS=$LIBS
23353 LIBS="-ldnet_stub $LIBS"
23354 cat >conftest.$ac_ext <<_ACEOF
23355 #line $LINENO "configure"
23356 /* confdefs.h. */
23357 _ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361
23362 /* Override any gcc2 internal prototype to avoid an error. */
23363 #ifdef __cplusplus
23364 extern "C"
23365 #endif
23366 /* We use char because int might match the return type of a gcc2
23367 builtin and then its argument prototype would still apply. */
23368 char dnet_ntoa ();
23369 int
23370 main ()
23371 {
23372 dnet_ntoa ();
23373 ;
23374 return 0;
23375 }
23376 _ACEOF
23377 rm -f conftest.$ac_objext conftest$ac_exeext
23378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23379 (eval $ac_link) 2>&5
23380 ac_status=$?
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } &&
23383 { ac_try='test -s conftest$ac_exeext'
23384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23385 (eval $ac_try) 2>&5
23386 ac_status=$?
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); }; }; then
23389 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23390 else
23391 echo "$as_me: failed program was:" >&5
23392 sed 's/^/| /' conftest.$ac_ext >&5
23393
23394 ac_cv_lib_dnet_stub_dnet_ntoa=no
23395 fi
23396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23397 LIBS=$ac_check_lib_save_LIBS
23398 fi
23399 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23400 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23401 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23403 fi
23404
23405 fi
23406 fi
23407 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23408 LIBS="$ac_xsave_LIBS"
23409
23410 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23411 # to get the SysV transport functions.
23412 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23413 # needs -lnsl.
23414 # The nsl library prevents programs from opening the X display
23415 # on Irix 5.2, according to T.E. Dickey.
23416 # The functions gethostbyname, getservbyname, and inet_addr are
23417 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23418 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23419 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23420 if test "${ac_cv_func_gethostbyname+set}" = set; then
23421 echo $ECHO_N "(cached) $ECHO_C" >&6
23422 else
23423 cat >conftest.$ac_ext <<_ACEOF
23424 #line $LINENO "configure"
23425 /* confdefs.h. */
23426 _ACEOF
23427 cat confdefs.h >>conftest.$ac_ext
23428 cat >>conftest.$ac_ext <<_ACEOF
23429 /* end confdefs.h. */
23430 /* System header to define __stub macros and hopefully few prototypes,
23431 which can conflict with char gethostbyname (); below.
23432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23433 <limits.h> exists even on freestanding compilers. */
23434 #ifdef __STDC__
23435 # include <limits.h>
23436 #else
23437 # include <assert.h>
23438 #endif
23439 /* Override any gcc2 internal prototype to avoid an error. */
23440 #ifdef __cplusplus
23441 extern "C"
23442 {
23443 #endif
23444 /* We use char because int might match the return type of a gcc2
23445 builtin and then its argument prototype would still apply. */
23446 char gethostbyname ();
23447 /* The GNU C library defines this for functions which it implements
23448 to always fail with ENOSYS. Some functions are actually named
23449 something starting with __ and the normal name is an alias. */
23450 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23451 choke me
23452 #else
23453 char (*f) () = gethostbyname;
23454 #endif
23455 #ifdef __cplusplus
23456 }
23457 #endif
23458
23459 int
23460 main ()
23461 {
23462 return f != gethostbyname;
23463 ;
23464 return 0;
23465 }
23466 _ACEOF
23467 rm -f conftest.$ac_objext conftest$ac_exeext
23468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23469 (eval $ac_link) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); } &&
23473 { ac_try='test -s conftest$ac_exeext'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; }; then
23479 ac_cv_func_gethostbyname=yes
23480 else
23481 echo "$as_me: failed program was:" >&5
23482 sed 's/^/| /' conftest.$ac_ext >&5
23483
23484 ac_cv_func_gethostbyname=no
23485 fi
23486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23487 fi
23488 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23489 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23490
23491 if test $ac_cv_func_gethostbyname = no; then
23492 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23493 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23494 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23495 echo $ECHO_N "(cached) $ECHO_C" >&6
23496 else
23497 ac_check_lib_save_LIBS=$LIBS
23498 LIBS="-lnsl $LIBS"
23499 cat >conftest.$ac_ext <<_ACEOF
23500 #line $LINENO "configure"
23501 /* confdefs.h. */
23502 _ACEOF
23503 cat confdefs.h >>conftest.$ac_ext
23504 cat >>conftest.$ac_ext <<_ACEOF
23505 /* end confdefs.h. */
23506
23507 /* Override any gcc2 internal prototype to avoid an error. */
23508 #ifdef __cplusplus
23509 extern "C"
23510 #endif
23511 /* We use char because int might match the return type of a gcc2
23512 builtin and then its argument prototype would still apply. */
23513 char gethostbyname ();
23514 int
23515 main ()
23516 {
23517 gethostbyname ();
23518 ;
23519 return 0;
23520 }
23521 _ACEOF
23522 rm -f conftest.$ac_objext conftest$ac_exeext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23524 (eval $ac_link) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23531 ac_status=$?
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 ac_cv_lib_nsl_gethostbyname=yes
23535 else
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23538
23539 ac_cv_lib_nsl_gethostbyname=no
23540 fi
23541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23542 LIBS=$ac_check_lib_save_LIBS
23543 fi
23544 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23545 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23546 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23547 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23548 fi
23549
23550 if test $ac_cv_lib_nsl_gethostbyname = no; then
23551 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23552 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23553 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23555 else
23556 ac_check_lib_save_LIBS=$LIBS
23557 LIBS="-lbsd $LIBS"
23558 cat >conftest.$ac_ext <<_ACEOF
23559 #line $LINENO "configure"
23560 /* confdefs.h. */
23561 _ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23565
23566 /* Override any gcc2 internal prototype to avoid an error. */
23567 #ifdef __cplusplus
23568 extern "C"
23569 #endif
23570 /* We use char because int might match the return type of a gcc2
23571 builtin and then its argument prototype would still apply. */
23572 char gethostbyname ();
23573 int
23574 main ()
23575 {
23576 gethostbyname ();
23577 ;
23578 return 0;
23579 }
23580 _ACEOF
23581 rm -f conftest.$ac_objext conftest$ac_exeext
23582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23583 (eval $ac_link) 2>&5
23584 ac_status=$?
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } &&
23587 { ac_try='test -s conftest$ac_exeext'
23588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23589 (eval $ac_try) 2>&5
23590 ac_status=$?
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; }; then
23593 ac_cv_lib_bsd_gethostbyname=yes
23594 else
23595 echo "$as_me: failed program was:" >&5
23596 sed 's/^/| /' conftest.$ac_ext >&5
23597
23598 ac_cv_lib_bsd_gethostbyname=no
23599 fi
23600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23601 LIBS=$ac_check_lib_save_LIBS
23602 fi
23603 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23604 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23605 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23606 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23607 fi
23608
23609 fi
23610 fi
23611
23612 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23613 # socket/setsockopt and other routines are undefined under SCO ODT
23614 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23615 # on later versions), says Simon Leinen: it contains gethostby*
23616 # variants that don't use the name server (or something). -lsocket
23617 # must be given before -lnsl if both are needed. We assume that
23618 # if connect needs -lnsl, so does gethostbyname.
23619 echo "$as_me:$LINENO: checking for connect" >&5
23620 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23621 if test "${ac_cv_func_connect+set}" = set; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23623 else
23624 cat >conftest.$ac_ext <<_ACEOF
23625 #line $LINENO "configure"
23626 /* confdefs.h. */
23627 _ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23631 /* System header to define __stub macros and hopefully few prototypes,
23632 which can conflict with char connect (); below.
23633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23634 <limits.h> exists even on freestanding compilers. */
23635 #ifdef __STDC__
23636 # include <limits.h>
23637 #else
23638 # include <assert.h>
23639 #endif
23640 /* Override any gcc2 internal prototype to avoid an error. */
23641 #ifdef __cplusplus
23642 extern "C"
23643 {
23644 #endif
23645 /* We use char because int might match the return type of a gcc2
23646 builtin and then its argument prototype would still apply. */
23647 char connect ();
23648 /* The GNU C library defines this for functions which it implements
23649 to always fail with ENOSYS. Some functions are actually named
23650 something starting with __ and the normal name is an alias. */
23651 #if defined (__stub_connect) || defined (__stub___connect)
23652 choke me
23653 #else
23654 char (*f) () = connect;
23655 #endif
23656 #ifdef __cplusplus
23657 }
23658 #endif
23659
23660 int
23661 main ()
23662 {
23663 return f != connect;
23664 ;
23665 return 0;
23666 }
23667 _ACEOF
23668 rm -f conftest.$ac_objext conftest$ac_exeext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23670 (eval $ac_link) 2>&5
23671 ac_status=$?
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } &&
23674 { ac_try='test -s conftest$ac_exeext'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23677 ac_status=$?
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; }; then
23680 ac_cv_func_connect=yes
23681 else
23682 echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.$ac_ext >&5
23684
23685 ac_cv_func_connect=no
23686 fi
23687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23688 fi
23689 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23690 echo "${ECHO_T}$ac_cv_func_connect" >&6
23691
23692 if test $ac_cv_func_connect = no; then
23693 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23694 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23695 if test "${ac_cv_lib_socket_connect+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 else
23698 ac_check_lib_save_LIBS=$LIBS
23699 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23700 cat >conftest.$ac_ext <<_ACEOF
23701 #line $LINENO "configure"
23702 /* confdefs.h. */
23703 _ACEOF
23704 cat confdefs.h >>conftest.$ac_ext
23705 cat >>conftest.$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707
23708 /* Override any gcc2 internal prototype to avoid an error. */
23709 #ifdef __cplusplus
23710 extern "C"
23711 #endif
23712 /* We use char because int might match the return type of a gcc2
23713 builtin and then its argument prototype would still apply. */
23714 char connect ();
23715 int
23716 main ()
23717 {
23718 connect ();
23719 ;
23720 return 0;
23721 }
23722 _ACEOF
23723 rm -f conftest.$ac_objext conftest$ac_exeext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725 (eval $ac_link) 2>&5
23726 ac_status=$?
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } &&
23729 { ac_try='test -s conftest$ac_exeext'
23730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23731 (eval $ac_try) 2>&5
23732 ac_status=$?
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); }; }; then
23735 ac_cv_lib_socket_connect=yes
23736 else
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.$ac_ext >&5
23739
23740 ac_cv_lib_socket_connect=no
23741 fi
23742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23743 LIBS=$ac_check_lib_save_LIBS
23744 fi
23745 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23746 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23747 if test $ac_cv_lib_socket_connect = yes; then
23748 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23749 fi
23750
23751 fi
23752
23753 # Guillermo Gomez says -lposix is necessary on A/UX.
23754 echo "$as_me:$LINENO: checking for remove" >&5
23755 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23756 if test "${ac_cv_func_remove+set}" = set; then
23757 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 else
23759 cat >conftest.$ac_ext <<_ACEOF
23760 #line $LINENO "configure"
23761 /* confdefs.h. */
23762 _ACEOF
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766 /* System header to define __stub macros and hopefully few prototypes,
23767 which can conflict with char remove (); below.
23768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23769 <limits.h> exists even on freestanding compilers. */
23770 #ifdef __STDC__
23771 # include <limits.h>
23772 #else
23773 # include <assert.h>
23774 #endif
23775 /* Override any gcc2 internal prototype to avoid an error. */
23776 #ifdef __cplusplus
23777 extern "C"
23778 {
23779 #endif
23780 /* We use char because int might match the return type of a gcc2
23781 builtin and then its argument prototype would still apply. */
23782 char remove ();
23783 /* The GNU C library defines this for functions which it implements
23784 to always fail with ENOSYS. Some functions are actually named
23785 something starting with __ and the normal name is an alias. */
23786 #if defined (__stub_remove) || defined (__stub___remove)
23787 choke me
23788 #else
23789 char (*f) () = remove;
23790 #endif
23791 #ifdef __cplusplus
23792 }
23793 #endif
23794
23795 int
23796 main ()
23797 {
23798 return f != remove;
23799 ;
23800 return 0;
23801 }
23802 _ACEOF
23803 rm -f conftest.$ac_objext conftest$ac_exeext
23804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23805 (eval $ac_link) 2>&5
23806 ac_status=$?
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); } &&
23809 { ac_try='test -s conftest$ac_exeext'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23812 ac_status=$?
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; }; then
23815 ac_cv_func_remove=yes
23816 else
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.$ac_ext >&5
23819
23820 ac_cv_func_remove=no
23821 fi
23822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23823 fi
23824 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23825 echo "${ECHO_T}$ac_cv_func_remove" >&6
23826
23827 if test $ac_cv_func_remove = no; then
23828 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23829 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23830 if test "${ac_cv_lib_posix_remove+set}" = set; then
23831 echo $ECHO_N "(cached) $ECHO_C" >&6
23832 else
23833 ac_check_lib_save_LIBS=$LIBS
23834 LIBS="-lposix $LIBS"
23835 cat >conftest.$ac_ext <<_ACEOF
23836 #line $LINENO "configure"
23837 /* confdefs.h. */
23838 _ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842
23843 /* Override any gcc2 internal prototype to avoid an error. */
23844 #ifdef __cplusplus
23845 extern "C"
23846 #endif
23847 /* We use char because int might match the return type of a gcc2
23848 builtin and then its argument prototype would still apply. */
23849 char remove ();
23850 int
23851 main ()
23852 {
23853 remove ();
23854 ;
23855 return 0;
23856 }
23857 _ACEOF
23858 rm -f conftest.$ac_objext conftest$ac_exeext
23859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23860 (eval $ac_link) 2>&5
23861 ac_status=$?
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); } &&
23864 { ac_try='test -s conftest$ac_exeext'
23865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23866 (eval $ac_try) 2>&5
23867 ac_status=$?
23868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23869 (exit $ac_status); }; }; then
23870 ac_cv_lib_posix_remove=yes
23871 else
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.$ac_ext >&5
23874
23875 ac_cv_lib_posix_remove=no
23876 fi
23877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23878 LIBS=$ac_check_lib_save_LIBS
23879 fi
23880 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23881 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23882 if test $ac_cv_lib_posix_remove = yes; then
23883 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23884 fi
23885
23886 fi
23887
23888 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23889 echo "$as_me:$LINENO: checking for shmat" >&5
23890 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23891 if test "${ac_cv_func_shmat+set}" = set; then
23892 echo $ECHO_N "(cached) $ECHO_C" >&6
23893 else
23894 cat >conftest.$ac_ext <<_ACEOF
23895 #line $LINENO "configure"
23896 /* confdefs.h. */
23897 _ACEOF
23898 cat confdefs.h >>conftest.$ac_ext
23899 cat >>conftest.$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 /* System header to define __stub macros and hopefully few prototypes,
23902 which can conflict with char shmat (); below.
23903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23904 <limits.h> exists even on freestanding compilers. */
23905 #ifdef __STDC__
23906 # include <limits.h>
23907 #else
23908 # include <assert.h>
23909 #endif
23910 /* Override any gcc2 internal prototype to avoid an error. */
23911 #ifdef __cplusplus
23912 extern "C"
23913 {
23914 #endif
23915 /* We use char because int might match the return type of a gcc2
23916 builtin and then its argument prototype would still apply. */
23917 char shmat ();
23918 /* The GNU C library defines this for functions which it implements
23919 to always fail with ENOSYS. Some functions are actually named
23920 something starting with __ and the normal name is an alias. */
23921 #if defined (__stub_shmat) || defined (__stub___shmat)
23922 choke me
23923 #else
23924 char (*f) () = shmat;
23925 #endif
23926 #ifdef __cplusplus
23927 }
23928 #endif
23929
23930 int
23931 main ()
23932 {
23933 return f != shmat;
23934 ;
23935 return 0;
23936 }
23937 _ACEOF
23938 rm -f conftest.$ac_objext conftest$ac_exeext
23939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23940 (eval $ac_link) 2>&5
23941 ac_status=$?
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); } &&
23944 { ac_try='test -s conftest$ac_exeext'
23945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23946 (eval $ac_try) 2>&5
23947 ac_status=$?
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; }; then
23950 ac_cv_func_shmat=yes
23951 else
23952 echo "$as_me: failed program was:" >&5
23953 sed 's/^/| /' conftest.$ac_ext >&5
23954
23955 ac_cv_func_shmat=no
23956 fi
23957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23958 fi
23959 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23960 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23961
23962 if test $ac_cv_func_shmat = no; then
23963 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23964 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23965 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 else
23968 ac_check_lib_save_LIBS=$LIBS
23969 LIBS="-lipc $LIBS"
23970 cat >conftest.$ac_ext <<_ACEOF
23971 #line $LINENO "configure"
23972 /* confdefs.h. */
23973 _ACEOF
23974 cat confdefs.h >>conftest.$ac_ext
23975 cat >>conftest.$ac_ext <<_ACEOF
23976 /* end confdefs.h. */
23977
23978 /* Override any gcc2 internal prototype to avoid an error. */
23979 #ifdef __cplusplus
23980 extern "C"
23981 #endif
23982 /* We use char because int might match the return type of a gcc2
23983 builtin and then its argument prototype would still apply. */
23984 char shmat ();
23985 int
23986 main ()
23987 {
23988 shmat ();
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext conftest$ac_exeext
23994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23995 (eval $ac_link) 2>&5
23996 ac_status=$?
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); } &&
23999 { ac_try='test -s conftest$ac_exeext'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 ac_cv_lib_ipc_shmat=yes
24006 else
24007 echo "$as_me: failed program was:" >&5
24008 sed 's/^/| /' conftest.$ac_ext >&5
24009
24010 ac_cv_lib_ipc_shmat=no
24011 fi
24012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24013 LIBS=$ac_check_lib_save_LIBS
24014 fi
24015 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24016 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24017 if test $ac_cv_lib_ipc_shmat = yes; then
24018 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24019 fi
24020
24021 fi
24022 fi
24023
24024 # Check for libraries that X11R6 Xt/Xaw programs need.
24025 ac_save_LDFLAGS=$LDFLAGS
24026 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24027 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24028 # check for ICE first), but we must link in the order -lSM -lICE or
24029 # we get undefined symbols. So assume we have SM if we have ICE.
24030 # These have to be linked with before -lX11, unlike the other
24031 # libraries we check for below, so use a different variable.
24032 # John Interrante, Karl Berry
24033 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24034 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24035 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24036 echo $ECHO_N "(cached) $ECHO_C" >&6
24037 else
24038 ac_check_lib_save_LIBS=$LIBS
24039 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24040 cat >conftest.$ac_ext <<_ACEOF
24041 #line $LINENO "configure"
24042 /* confdefs.h. */
24043 _ACEOF
24044 cat confdefs.h >>conftest.$ac_ext
24045 cat >>conftest.$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24047
24048 /* Override any gcc2 internal prototype to avoid an error. */
24049 #ifdef __cplusplus
24050 extern "C"
24051 #endif
24052 /* We use char because int might match the return type of a gcc2
24053 builtin and then its argument prototype would still apply. */
24054 char IceConnectionNumber ();
24055 int
24056 main ()
24057 {
24058 IceConnectionNumber ();
24059 ;
24060 return 0;
24061 }
24062 _ACEOF
24063 rm -f conftest.$ac_objext conftest$ac_exeext
24064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24065 (eval $ac_link) 2>&5
24066 ac_status=$?
24067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24068 (exit $ac_status); } &&
24069 { ac_try='test -s conftest$ac_exeext'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; }; then
24075 ac_cv_lib_ICE_IceConnectionNumber=yes
24076 else
24077 echo "$as_me: failed program was:" >&5
24078 sed 's/^/| /' conftest.$ac_ext >&5
24079
24080 ac_cv_lib_ICE_IceConnectionNumber=no
24081 fi
24082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24083 LIBS=$ac_check_lib_save_LIBS
24084 fi
24085 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24086 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24087 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24088 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24089 fi
24090
24091 LDFLAGS=$ac_save_LDFLAGS
24092
24093 fi
24094
24095
24096 if test "$no_x" = "yes"; then
24097 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24098 echo "$as_me: error: X11 not found" >&2;}
24099 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24100 fi
24101
24102 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24103 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24104 AFMINSTALL=afminstall
24105 COMPILED_X_PROGRAM=0
24106
24107 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24108 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24109
24110 ac_find_includes=
24111 for ac_dir in $SEARCH_INCLUDE /usr/include;
24112 do
24113 if test -f "$ac_dir/Xm/Xm.h"; then
24114 ac_find_includes=$ac_dir
24115 break
24116 fi
24117 done
24118
24119 if test "$ac_find_includes" != "" ; then
24120 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24121 echo "${ECHO_T}found in $ac_find_includes" >&6
24122
24123 if test "x$ac_find_includes" = "x/usr/include"; then
24124 ac_path_to_include=""
24125 else
24126 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24127 result=$?
24128 if test $result = 0; then
24129 ac_path_to_include=""
24130 else
24131 ac_path_to_include=" -I$ac_find_includes"
24132 fi
24133 fi
24134
24135 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24136 else
24137 cat >conftest.$ac_ext <<_ACEOF
24138 #line $LINENO "configure"
24139 /* confdefs.h. */
24140 _ACEOF
24141 cat confdefs.h >>conftest.$ac_ext
24142 cat >>conftest.$ac_ext <<_ACEOF
24143 /* end confdefs.h. */
24144
24145 #include <Xm/Xm.h>
24146
24147 int
24148 main ()
24149 {
24150
24151 int version;
24152 version = xmUseVersion;
24153
24154 ;
24155 return 0;
24156 }
24157 _ACEOF
24158 rm -f conftest.$ac_objext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24160 (eval $ac_compile) 2>&5
24161 ac_status=$?
24162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 (exit $ac_status); } &&
24164 { ac_try='test -s conftest.$ac_objext'
24165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166 (eval $ac_try) 2>&5
24167 ac_status=$?
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); }; }; then
24170
24171 echo "$as_me:$LINENO: result: found in default search path" >&5
24172 echo "${ECHO_T}found in default search path" >&6
24173 COMPILED_X_PROGRAM=1
24174
24175 else
24176 echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24178
24179
24180 echo "$as_me:$LINENO: result: no" >&5
24181 echo "${ECHO_T}no" >&6
24182 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24183 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24184 { (exit 1); exit 1; }; }
24185
24186
24187 fi
24188 rm -f conftest.$ac_objext conftest.$ac_ext
24189 fi
24190
24191 if test "$COMPILED_X_PROGRAM" = 0; then
24192 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24193 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24194
24195 ac_find_libraries=
24196 for ac_dir in $SEARCH_LIB /usr/lib;
24197 do
24198 for ac_extension in a so sl dylib; do
24199 if test -f "$ac_dir/libXm.$ac_extension"; then
24200 ac_find_libraries=$ac_dir
24201 break 2
24202 fi
24203 done
24204 done
24205
24206 if test "$ac_find_libraries" != "" ; then
24207 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24208 echo "${ECHO_T}found at $ac_find_libraries" >&6
24209
24210
24211 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24212 result=$?
24213 if test $result = 0; then
24214 ac_path_to_link=""
24215 else
24216 ac_path_to_link=" -L$ac_find_libraries"
24217 fi
24218
24219 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24220 else
24221 save_CFLAGS=$CFLAGS
24222 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24223
24224 cat >conftest.$ac_ext <<_ACEOF
24225 #line $LINENO "configure"
24226 /* confdefs.h. */
24227 _ACEOF
24228 cat confdefs.h >>conftest.$ac_ext
24229 cat >>conftest.$ac_ext <<_ACEOF
24230 /* end confdefs.h. */
24231
24232 #include <Xm/Xm.h>
24233
24234 int
24235 main ()
24236 {
24237
24238 int version;
24239 version = xmUseVersion;
24240
24241 ;
24242 return 0;
24243 }
24244 _ACEOF
24245 rm -f conftest.$ac_objext
24246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24247 (eval $ac_compile) 2>&5
24248 ac_status=$?
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } &&
24251 { ac_try='test -s conftest.$ac_objext'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24254 ac_status=$?
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; }; then
24257
24258 echo "$as_me:$LINENO: result: found in default search path" >&5
24259 echo "${ECHO_T}found in default search path" >&6
24260 COMPILED_X_PROGRAM=1
24261
24262 else
24263 echo "$as_me: failed program was:" >&5
24264 sed 's/^/| /' conftest.$ac_ext >&5
24265
24266
24267 echo "$as_me:$LINENO: result: no" >&5
24268 echo "${ECHO_T}no" >&6
24269 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24270 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24271 { (exit 1); exit 1; }; }
24272
24273
24274 fi
24275 rm -f conftest.$ac_objext conftest.$ac_ext
24276
24277 CFLAGS=$save_CFLAGS
24278 fi
24279 fi
24280
24281 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24282 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24283 libp_link=""
24284 libsm_ice_link=""
24285 libs_found=0
24286 for libp in "" " -lXp"; do
24287 if test "$libs_found" = "0"; then
24288 for libsm_ice in "" " -lSM -lICE"; do
24289 if test "$libs_found" = "0"; then
24290 save_LIBS="$LIBS"
24291 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24292 save_CFLAGS=$CFLAGS
24293 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24294
24295 cat >conftest.$ac_ext <<_ACEOF
24296 #line $LINENO "configure"
24297 /* confdefs.h. */
24298 _ACEOF
24299 cat confdefs.h >>conftest.$ac_ext
24300 cat >>conftest.$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302
24303 #include <Xm/Xm.h>
24304 #include <Xm/List.h>
24305
24306 int
24307 main ()
24308 {
24309
24310 XmString string = NULL;
24311 Widget w = NULL;
24312 int position = 0;
24313 XmListAddItem(w, string, position);
24314
24315 ;
24316 return 0;
24317 }
24318 _ACEOF
24319 rm -f conftest.$ac_objext conftest$ac_exeext
24320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24321 (eval $ac_link) 2>&5
24322 ac_status=$?
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); } &&
24325 { ac_try='test -s conftest$ac_exeext'
24326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327 (eval $ac_try) 2>&5
24328 ac_status=$?
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); }; }; then
24331
24332 libp_link="$libp"
24333 libsm_ice_link="$libsm_ice"
24334 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24335 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24336 libs_found=1
24337
24338 else
24339 echo "$as_me: failed program was:" >&5
24340 sed 's/^/| /' conftest.$ac_ext >&5
24341
24342
24343
24344 fi
24345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24346
24347 LIBS="$save_LIBS"
24348 CFLAGS=$save_CFLAGS
24349 fi
24350 done
24351 fi
24352 done
24353
24354 if test "$libs_found" = "0"; then
24355 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24356 echo "${ECHO_T}can't find the right libraries" >&6
24357 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24358 echo "$as_me: error: can't link a simple motif program" >&2;}
24359 { (exit 1); exit 1; }; }
24360 fi
24361
24362 save_CFLAGS=$CFLAGS
24363 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24364 echo "$as_me:$LINENO: checking for Motif 2" >&5
24365 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24366 cat >conftest.$ac_ext <<_ACEOF
24367 #line $LINENO "configure"
24368 /* confdefs.h. */
24369 _ACEOF
24370 cat confdefs.h >>conftest.$ac_ext
24371 cat >>conftest.$ac_ext <<_ACEOF
24372 /* end confdefs.h. */
24373
24374 #include <Xm/Xm.h>
24375
24376 int
24377 main ()
24378 {
24379
24380 #if XmVersion < 2000
24381 #error "Not Motif 2"
24382 #endif
24383
24384 ;
24385 return 0;
24386 }
24387 _ACEOF
24388 rm -f conftest.$ac_objext
24389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24390 (eval $ac_compile) 2>&5
24391 ac_status=$?
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } &&
24394 { ac_try='test -s conftest.$ac_objext'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24397 ac_status=$?
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; }; then
24400
24401 cat >>confdefs.h <<\_ACEOF
24402 #define __WXMOTIF20__ 1
24403 _ACEOF
24404
24405 echo "$as_me:$LINENO: result: found" >&5
24406 echo "${ECHO_T}found" >&6
24407
24408 else
24409 echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.$ac_ext >&5
24411
24412
24413 cat >>confdefs.h <<\_ACEOF
24414 #define __WXMOTIF20__ 0
24415 _ACEOF
24416
24417 echo "$as_me:$LINENO: result: not found" >&5
24418 echo "${ECHO_T}not found" >&6
24419
24420 fi
24421 rm -f conftest.$ac_objext conftest.$ac_ext
24422 CFLAGS=$save_CFLAGS
24423
24424 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24425 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24426 TOOLKIT=MOTIF
24427 GUIDIST=MOTIF_DIST
24428 fi
24429
24430 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24431 if test "$wxUSE_LIBXPM" = "sys"; then
24432 echo "$as_me:$LINENO: checking for Xpm library" >&5
24433 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24434
24435 ac_find_libraries=
24436 for ac_dir in $SEARCH_LIB /usr/lib;
24437 do
24438 for ac_extension in a so sl dylib; do
24439 if test -f "$ac_dir/libXpm.$ac_extension"; then
24440 ac_find_libraries=$ac_dir
24441 break 2
24442 fi
24443 done
24444 done
24445
24446 if test "$ac_find_libraries" != "" ; then
24447
24448 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24449 result=$?
24450 if test $result = 0; then
24451 ac_path_to_link=""
24452 else
24453 ac_path_to_link=" -L$ac_find_libraries"
24454 fi
24455
24456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24457 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24458 echo "${ECHO_T}found at $ac_find_libraries" >&6
24459
24460 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
24461 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
24462 if test "${wx_cv_x11_xpm_h+set}" = set; then
24463 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 else
24465
24466 save_CFLAGS=$CFLAGS
24467 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24468
24469 cat >conftest.$ac_ext <<_ACEOF
24470 #line $LINENO "configure"
24471 /* confdefs.h. */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476
24477 #include <X11/xpm.h>
24478
24479 int
24480 main ()
24481 {
24482
24483 int version;
24484 version = XpmLibraryVersion();
24485
24486 ;
24487 return 0;
24488 }
24489 _ACEOF
24490 rm -f conftest.$ac_objext
24491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24492 (eval $ac_compile) 2>&5
24493 ac_status=$?
24494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24495 (exit $ac_status); } &&
24496 { ac_try='test -s conftest.$ac_objext'
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 wx_cv_x11_xpm_h=yes
24503 else
24504 echo "$as_me: failed program was:" >&5
24505 sed 's/^/| /' conftest.$ac_ext >&5
24506
24507 wx_cv_x11_xpm_h=no
24508
24509 fi
24510 rm -f conftest.$ac_objext conftest.$ac_ext
24511
24512 CFLAGS=$save_CFLAGS
24513
24514
24515 fi
24516 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
24517 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
24518
24519 if test $wx_cv_x11_xpm_h = "yes"; then
24520 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
24521 cat >>confdefs.h <<\_ACEOF
24522 #define wxHAVE_LIB_XPM 1
24523 _ACEOF
24524
24525 else
24526 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
24527 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
24528 fi
24529 fi
24530
24531 fi
24532
24533 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
24534 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
24535 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
24536 echo $ECHO_N "(cached) $ECHO_C" >&6
24537 else
24538 ac_check_lib_save_LIBS=$LIBS
24539 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
24540 cat >conftest.$ac_ext <<_ACEOF
24541 #line $LINENO "configure"
24542 /* confdefs.h. */
24543 _ACEOF
24544 cat confdefs.h >>conftest.$ac_ext
24545 cat >>conftest.$ac_ext <<_ACEOF
24546 /* end confdefs.h. */
24547
24548 /* Override any gcc2 internal prototype to avoid an error. */
24549 #ifdef __cplusplus
24550 extern "C"
24551 #endif
24552 /* We use char because int might match the return type of a gcc2
24553 builtin and then its argument prototype would still apply. */
24554 char XShapeQueryExtension ();
24555 int
24556 main ()
24557 {
24558 XShapeQueryExtension ();
24559 ;
24560 return 0;
24561 }
24562 _ACEOF
24563 rm -f conftest.$ac_objext conftest$ac_exeext
24564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24565 (eval $ac_link) 2>&5
24566 ac_status=$?
24567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24568 (exit $ac_status); } &&
24569 { ac_try='test -s conftest$ac_exeext'
24570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571 (eval $ac_try) 2>&5
24572 ac_status=$?
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); }; }; then
24575 ac_cv_lib_Xext_XShapeQueryExtension=yes
24576 else
24577 echo "$as_me: failed program was:" >&5
24578 sed 's/^/| /' conftest.$ac_ext >&5
24579
24580 ac_cv_lib_Xext_XShapeQueryExtension=no
24581 fi
24582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24583 LIBS=$ac_check_lib_save_LIBS
24584 fi
24585 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
24586 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
24587 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
24588
24589 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
24590 wxHAVE_XEXT_LIB=1
24591
24592 fi
24593
24594
24595 if test "$wxHAVE_XEXT_LIB" = 1; then
24596 save_CFLAGS="$CFLAGS"
24597 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24598
24599 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24600 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24601 cat >conftest.$ac_ext <<_ACEOF
24602 #line $LINENO "configure"
24603 /* confdefs.h. */
24604 _ACEOF
24605 cat confdefs.h >>conftest.$ac_ext
24606 cat >>conftest.$ac_ext <<_ACEOF
24607 /* end confdefs.h. */
24608
24609 #include <X11/Xlib.h>
24610 #include <X11/extensions/shape.h>
24611
24612 int
24613 main ()
24614 {
24615
24616 int dummy1, dummy2;
24617 XShapeQueryExtension((Display*)NULL,
24618 (int*)NULL, (int*)NULL);
24619
24620 ;
24621 return 0;
24622 }
24623 _ACEOF
24624 rm -f conftest.$ac_objext
24625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24626 (eval $ac_compile) 2>&5
24627 ac_status=$?
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); } &&
24630 { ac_try='test -s conftest.$ac_objext'
24631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24632 (eval $ac_try) 2>&5
24633 ac_status=$?
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); }; }; then
24636
24637 cat >>confdefs.h <<\_ACEOF
24638 #define HAVE_XSHAPE 1
24639 _ACEOF
24640
24641 echo "$as_me:$LINENO: result: found" >&5
24642 echo "${ECHO_T}found" >&6
24643
24644 else
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.$ac_ext >&5
24647
24648
24649 echo "$as_me:$LINENO: result: not found" >&5
24650 echo "${ECHO_T}not found" >&6
24651
24652 fi
24653 rm -f conftest.$ac_objext conftest.$ac_ext
24654 CFLAGS="$save_CFLAGS"
24655
24656 fi
24657 fi
24658
24659 if test "$wxUSE_MAC" = 1; then
24660 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24661 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24662 if test "$GCC" = yes; then
24663 echo "$as_me:$LINENO: result: gcc" >&5
24664 echo "${ECHO_T}gcc" >&6
24665 CPPFLAGS_PASCAL="-fpascal-strings"
24666 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24667 echo "$as_me:$LINENO: result: xlc" >&5
24668 echo "${ECHO_T}xlc" >&6
24669 CPPFLAGS_PASCAL="-qmacpstr"
24670 else
24671 echo "$as_me:$LINENO: result: none" >&5
24672 echo "${ECHO_T}none" >&6
24673 fi
24674
24675 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24676
24677 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24678 TOOLKIT=MAC
24679 GUIDIST=MACX_DIST
24680 WXBASEPORT="_carbon"
24681 fi
24682
24683 if test "$wxUSE_COCOA" = 1; then
24684 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24685 TOOLKIT=COCOA
24686 GUIDIST=COCOA_DIST
24687 fi
24688
24689 if test "$wxUSE_PM" = 1; then
24690 TOOLKIT=PM
24691 GUIDIST=GTK_DIST
24692 fi
24693
24694 if test "$TOOLKIT" = "PM" ; then
24695 TOOLKIT_DIR="os2"
24696 else
24697 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24698 fi
24699
24700 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24701
24702 if test "$wxUSE_UNIVERSAL" = "yes"; then
24703 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24704
24705 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24706 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24707
24708 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24709 if test "$wxUSE_X11" = 1; then
24710 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24711 else
24712 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24713 fi
24714 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24715 WIDGET_SET=univ
24716 else
24717 ALL_OBJECTS="\$(GUIOBJS)"
24718 ALL_SOURCES="\$(ALL_SOURCES)"
24719 ALL_HEADERS="\$(ALL_HEADERS)"
24720 fi
24721
24722 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24723
24724 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24725 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24726 fi
24727
24728 if test "$wxUSE_HTML" = "yes"; then
24729 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24730 fi
24731
24732 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24733 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24734 fi
24735 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24736 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24737 fi
24738 if test "$wxUSE_LIBPNG" = "builtin" ; then
24739 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24740 fi
24741
24742 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24743 DISTDIR="wx\$(TOOLKIT)"
24744 else
24745 USE_GUI=0
24746
24747 TOOLKIT_DIR="base"
24748
24749 if test "$USE_WIN32" = 1 ; then
24750 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24751 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24752
24753 TOOLKIT="MSW"
24754 else
24755 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24756 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24757 fi
24758
24759 ALL_SOURCES="\$(ALL_SOURCES)"
24760 ALL_HEADERS="\$(ALL_HEADERS)"
24761
24762 PORT_FILES="\${top_srcdir}/src/files.lst"
24763
24764 GUIDIST="BASE_DIST"
24765 DISTDIR="wxBase"
24766 fi
24767
24768
24769
24770
24771 IODBC_C_SRC=""
24772
24773
24774 if test "$TOOLKIT" != "MSW" ; then
24775
24776 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24777
24778 if test "${ac_cv_header_sql_h+set}" = set; then
24779 echo "$as_me:$LINENO: checking for sql.h" >&5
24780 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24781 if test "${ac_cv_header_sql_h+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24783 fi
24784 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24785 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24786 else
24787 # Is the header compilable?
24788 echo "$as_me:$LINENO: checking sql.h usability" >&5
24789 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24790 cat >conftest.$ac_ext <<_ACEOF
24791 #line $LINENO "configure"
24792 /* confdefs.h. */
24793 _ACEOF
24794 cat confdefs.h >>conftest.$ac_ext
24795 cat >>conftest.$ac_ext <<_ACEOF
24796 /* end confdefs.h. */
24797 $ac_includes_default
24798 #include <sql.h>
24799 _ACEOF
24800 rm -f conftest.$ac_objext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24802 (eval $ac_compile) 2>&5
24803 ac_status=$?
24804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24805 (exit $ac_status); } &&
24806 { ac_try='test -s conftest.$ac_objext'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24809 ac_status=$?
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; }; then
24812 ac_header_compiler=yes
24813 else
24814 echo "$as_me: failed program was:" >&5
24815 sed 's/^/| /' conftest.$ac_ext >&5
24816
24817 ac_header_compiler=no
24818 fi
24819 rm -f conftest.$ac_objext conftest.$ac_ext
24820 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24821 echo "${ECHO_T}$ac_header_compiler" >&6
24822
24823 # Is the header present?
24824 echo "$as_me:$LINENO: checking sql.h presence" >&5
24825 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24826 cat >conftest.$ac_ext <<_ACEOF
24827 #line $LINENO "configure"
24828 /* confdefs.h. */
24829 _ACEOF
24830 cat confdefs.h >>conftest.$ac_ext
24831 cat >>conftest.$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24833 #include <sql.h>
24834 _ACEOF
24835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24837 ac_status=$?
24838 grep -v '^ *+' conftest.er1 >conftest.err
24839 rm -f conftest.er1
24840 cat conftest.err >&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); } >/dev/null; then
24843 if test -s conftest.err; then
24844 ac_cpp_err=$ac_c_preproc_warn_flag
24845 else
24846 ac_cpp_err=
24847 fi
24848 else
24849 ac_cpp_err=yes
24850 fi
24851 if test -z "$ac_cpp_err"; then
24852 ac_header_preproc=yes
24853 else
24854 echo "$as_me: failed program was:" >&5
24855 sed 's/^/| /' conftest.$ac_ext >&5
24856
24857 ac_header_preproc=no
24858 fi
24859 rm -f conftest.err conftest.$ac_ext
24860 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24861 echo "${ECHO_T}$ac_header_preproc" >&6
24862
24863 # So? What about this header?
24864 case $ac_header_compiler:$ac_header_preproc in
24865 yes:no )
24866 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24867 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24868 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24869 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24870 (
24871 cat <<\_ASBOX
24872 ## ------------------------------------ ##
24873 ## Report this to bug-autoconf@gnu.org. ##
24874 ## ------------------------------------ ##
24875 _ASBOX
24876 ) |
24877 sed "s/^/$as_me: WARNING: /" >&2
24878 ;;
24879 no:yes )
24880 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24881 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24882 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24883 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24884 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24885 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24886 (
24887 cat <<\_ASBOX
24888 ## ------------------------------------ ##
24889 ## Report this to bug-autoconf@gnu.org. ##
24890 ## ------------------------------------ ##
24891 _ASBOX
24892 ) |
24893 sed "s/^/$as_me: WARNING: /" >&2
24894 ;;
24895 esac
24896 echo "$as_me:$LINENO: checking for sql.h" >&5
24897 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24898 if test "${ac_cv_header_sql_h+set}" = set; then
24899 echo $ECHO_N "(cached) $ECHO_C" >&6
24900 else
24901 ac_cv_header_sql_h=$ac_header_preproc
24902 fi
24903 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24904 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24905
24906 fi
24907 if test $ac_cv_header_sql_h = yes; then
24908 found_sql_h=1
24909 fi
24910
24911
24912 if test "x$found_sql_h" = "x1" ; then
24913 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24914 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24915 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 else
24918 ac_check_lib_save_LIBS=$LIBS
24919 LIBS="-liodbc $LIBS"
24920 cat >conftest.$ac_ext <<_ACEOF
24921 #line $LINENO "configure"
24922 /* confdefs.h. */
24923 _ACEOF
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24927
24928 /* Override any gcc2 internal prototype to avoid an error. */
24929 #ifdef __cplusplus
24930 extern "C"
24931 #endif
24932 /* We use char because int might match the return type of a gcc2
24933 builtin and then its argument prototype would still apply. */
24934 char SQLAllocEnv ();
24935 int
24936 main ()
24937 {
24938 SQLAllocEnv ();
24939 ;
24940 return 0;
24941 }
24942 _ACEOF
24943 rm -f conftest.$ac_objext conftest$ac_exeext
24944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24945 (eval $ac_link) 2>&5
24946 ac_status=$?
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } &&
24949 { ac_try='test -s conftest$ac_exeext'
24950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24951 (eval $ac_try) 2>&5
24952 ac_status=$?
24953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24954 (exit $ac_status); }; }; then
24955 ac_cv_lib_iodbc_SQLAllocEnv=yes
24956 else
24957 echo "$as_me: failed program was:" >&5
24958 sed 's/^/| /' conftest.$ac_ext >&5
24959
24960 ac_cv_lib_iodbc_SQLAllocEnv=no
24961 fi
24962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24963 LIBS=$ac_check_lib_save_LIBS
24964 fi
24965 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24966 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24967 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24968 ODBC_LINK=" -liodbc"
24969 else
24970
24971 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24972 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24973 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24975 else
24976 ac_check_lib_save_LIBS=$LIBS
24977 LIBS="-lunixodbc $LIBS"
24978 cat >conftest.$ac_ext <<_ACEOF
24979 #line $LINENO "configure"
24980 /* confdefs.h. */
24981 _ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24985
24986 /* Override any gcc2 internal prototype to avoid an error. */
24987 #ifdef __cplusplus
24988 extern "C"
24989 #endif
24990 /* We use char because int might match the return type of a gcc2
24991 builtin and then its argument prototype would still apply. */
24992 char SQLAllocEnv ();
24993 int
24994 main ()
24995 {
24996 SQLAllocEnv ();
24997 ;
24998 return 0;
24999 }
25000 _ACEOF
25001 rm -f conftest.$ac_objext conftest$ac_exeext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25003 (eval $ac_link) 2>&5
25004 ac_status=$?
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } &&
25007 { ac_try='test -s conftest$ac_exeext'
25008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25009 (eval $ac_try) 2>&5
25010 ac_status=$?
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); }; }; then
25013 ac_cv_lib_unixodbc_SQLAllocEnv=yes
25014 else
25015 echo "$as_me: failed program was:" >&5
25016 sed 's/^/| /' conftest.$ac_ext >&5
25017
25018 ac_cv_lib_unixodbc_SQLAllocEnv=no
25019 fi
25020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25021 LIBS=$ac_check_lib_save_LIBS
25022 fi
25023 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
25024 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
25025 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
25026 ODBC_LINK=" -lunixodbc"
25027 else
25028
25029 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
25030 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
25031 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
25032 echo $ECHO_N "(cached) $ECHO_C" >&6
25033 else
25034 ac_check_lib_save_LIBS=$LIBS
25035 LIBS="-lodbc $LIBS"
25036 cat >conftest.$ac_ext <<_ACEOF
25037 #line $LINENO "configure"
25038 /* confdefs.h. */
25039 _ACEOF
25040 cat confdefs.h >>conftest.$ac_ext
25041 cat >>conftest.$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043
25044 /* Override any gcc2 internal prototype to avoid an error. */
25045 #ifdef __cplusplus
25046 extern "C"
25047 #endif
25048 /* We use char because int might match the return type of a gcc2
25049 builtin and then its argument prototype would still apply. */
25050 char SQLAllocEnv ();
25051 int
25052 main ()
25053 {
25054 SQLAllocEnv ();
25055 ;
25056 return 0;
25057 }
25058 _ACEOF
25059 rm -f conftest.$ac_objext conftest$ac_exeext
25060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25061 (eval $ac_link) 2>&5
25062 ac_status=$?
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); } &&
25065 { ac_try='test -s conftest$ac_exeext'
25066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25067 (eval $ac_try) 2>&5
25068 ac_status=$?
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); }; }; then
25071 ac_cv_lib_odbc_SQLAllocEnv=yes
25072 else
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.$ac_ext >&5
25075
25076 ac_cv_lib_odbc_SQLAllocEnv=no
25077 fi
25078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25079 LIBS=$ac_check_lib_save_LIBS
25080 fi
25081 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25082 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25083 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25084 ODBC_LINK=" -lodbc"
25085 fi
25086
25087
25088 fi
25089
25090
25091 fi
25092
25093 fi
25094 if test "x$ODBC_LINK" = "x" ; then
25095 if test "$wxUSE_ODBC" = "sys" ; then
25096 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25097 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25098 { (exit 1); exit 1; }; }
25099 else
25100 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25101 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25102 wxUSE_ODBC=builtin
25103 fi
25104 else
25105 wxUSE_ODBC=sys
25106 fi
25107 fi
25108 if test "$wxUSE_ODBC" != "no" ; then
25109 cat >>confdefs.h <<\_ACEOF
25110 #define wxUSE_ODBC 1
25111 _ACEOF
25112
25113 if test "$wxUSE_ODBC" = "builtin" ; then
25114 cat >>confdefs.h <<\_ACEOF
25115 #define wxUSE_BUILTIN_IODBC 1
25116 _ACEOF
25117
25118 fi
25119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25120
25121 WXODBCFLAG="-D_IODBC_"
25122 fi
25123 fi
25124
25125 if test "$wxUSE_REGEX" = "builtin" ; then
25126 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25127 fi
25128 if test "$wxUSE_ZLIB" = "builtin" ; then
25129 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25130 fi
25131
25132 if test "$wxUSE_DISPLAY" = "yes"; then
25133 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
25134 echo "$as_me:$LINENO: checking for Xinerama" >&5
25135 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
25136
25137 ac_find_libraries=
25138 for ac_dir in $SEARCH_LIB /usr/lib;
25139 do
25140 for ac_extension in a so sl dylib; do
25141 if test -f "$ac_dir/libXinerama.$ac_extension"; then
25142 ac_find_libraries=$ac_dir
25143 break 2
25144 fi
25145 done
25146 done
25147
25148 if test "$ac_find_libraries" != "" ; then
25149
25150 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25151 result=$?
25152 if test $result = 0; then
25153 ac_path_to_link=""
25154 else
25155 ac_path_to_link=" -L$ac_find_libraries"
25156 fi
25157
25158 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25159 LDFLAGS="$LDFLAGS $ac_path_to_link"
25160 fi
25161 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
25162 echo "$as_me:$LINENO: result: yes" >&5
25163 echo "${ECHO_T}yes" >&6
25164
25165 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
25166 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
25167
25168 ac_find_libraries=
25169 for ac_dir in $SEARCH_LIB /usr/lib;
25170 do
25171 for ac_extension in a so sl dylib; do
25172 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
25173 ac_find_libraries=$ac_dir
25174 break 2
25175 fi
25176 done
25177 done
25178
25179 if test "$ac_find_libraries" != "" ; then
25180 echo "$as_me:$LINENO: result: yes" >&5
25181 echo "${ECHO_T}yes" >&6
25182
25183 for ac_header in X11/extensions/xf86vmode.h
25184 do
25185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25186 echo "$as_me:$LINENO: checking for $ac_header" >&5
25187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25189 echo $ECHO_N "(cached) $ECHO_C" >&6
25190 else
25191 cat >conftest.$ac_ext <<_ACEOF
25192 #line $LINENO "configure"
25193 /* confdefs.h. */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25198
25199 #if HAVE_X11_XLIB_H
25200 #include <X11/Xlib.h>
25201 #endif
25202
25203
25204 #include <$ac_header>
25205 _ACEOF
25206 rm -f conftest.$ac_objext
25207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25208 (eval $ac_compile) 2>&5
25209 ac_status=$?
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } &&
25212 { ac_try='test -s conftest.$ac_objext'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25215 ac_status=$?
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; }; then
25218 eval "$as_ac_Header=yes"
25219 else
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25222
25223 eval "$as_ac_Header=no"
25224 fi
25225 rm -f conftest.$ac_objext conftest.$ac_ext
25226 fi
25227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25230 cat >>confdefs.h <<_ACEOF
25231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25232 _ACEOF
25233
25234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
25235
25236 fi
25237
25238 done
25239
25240 else
25241 echo "$as_me:$LINENO: result: no" >&5
25242 echo "${ECHO_T}no" >&6
25243 fi
25244
25245 else
25246 echo "$as_me:$LINENO: result: no" >&5
25247 echo "${ECHO_T}no" >&6
25248 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
25249 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
25250 wxUSE_DISPLAY="no"
25251 fi
25252 fi
25253 fi
25254
25255
25256 USE_OPENGL=0
25257 if test "$wxUSE_OPENGL" = "yes"; then
25258 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25259 OPENGL_LIBS="-framework OpenGL -framework AGL"
25260 elif test "$wxUSE_MSW" = 1; then
25261 OPENGL_LIBS="-lopengl32 -lglu32"
25262 else
25263
25264
25265 ac_find_includes=
25266 for ac_dir in $SEARCH_INCLUDE /usr/include;
25267 do
25268 if test -f "$ac_dir/GL/gl.h"; then
25269 ac_find_includes=$ac_dir
25270 break
25271 fi
25272 done
25273
25274 if test "$ac_find_includes" != "" ; then
25275 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25276 echo "${ECHO_T}found in $ac_find_includes" >&6
25277
25278 if test "x$ac_find_includes" = "x/usr/include"; then
25279 ac_path_to_include=""
25280 else
25281 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25282 result=$?
25283 if test $result = 0; then
25284 ac_path_to_include=""
25285 else
25286 ac_path_to_include=" -I$ac_find_includes"
25287 fi
25288 fi
25289
25290 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25291 fi
25292
25293 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25294 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25295 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25296 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25298 fi
25299 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25300 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25301 else
25302 # Is the header compilable?
25303 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25304 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25305 cat >conftest.$ac_ext <<_ACEOF
25306 #line $LINENO "configure"
25307 /* confdefs.h. */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 $ac_includes_default
25313 #include <GL/gl.h>
25314 _ACEOF
25315 rm -f conftest.$ac_objext
25316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25317 (eval $ac_compile) 2>&5
25318 ac_status=$?
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); } &&
25321 { ac_try='test -s conftest.$ac_objext'
25322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25323 (eval $ac_try) 2>&5
25324 ac_status=$?
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); }; }; then
25327 ac_header_compiler=yes
25328 else
25329 echo "$as_me: failed program was:" >&5
25330 sed 's/^/| /' conftest.$ac_ext >&5
25331
25332 ac_header_compiler=no
25333 fi
25334 rm -f conftest.$ac_objext conftest.$ac_ext
25335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25336 echo "${ECHO_T}$ac_header_compiler" >&6
25337
25338 # Is the header present?
25339 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25340 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25341 cat >conftest.$ac_ext <<_ACEOF
25342 #line $LINENO "configure"
25343 /* confdefs.h. */
25344 _ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25348 #include <GL/gl.h>
25349 _ACEOF
25350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25351 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25352 ac_status=$?
25353 grep -v '^ *+' conftest.er1 >conftest.err
25354 rm -f conftest.er1
25355 cat conftest.err >&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } >/dev/null; then
25358 if test -s conftest.err; then
25359 ac_cpp_err=$ac_c_preproc_warn_flag
25360 else
25361 ac_cpp_err=
25362 fi
25363 else
25364 ac_cpp_err=yes
25365 fi
25366 if test -z "$ac_cpp_err"; then
25367 ac_header_preproc=yes
25368 else
25369 echo "$as_me: failed program was:" >&5
25370 sed 's/^/| /' conftest.$ac_ext >&5
25371
25372 ac_header_preproc=no
25373 fi
25374 rm -f conftest.err conftest.$ac_ext
25375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25376 echo "${ECHO_T}$ac_header_preproc" >&6
25377
25378 # So? What about this header?
25379 case $ac_header_compiler:$ac_header_preproc in
25380 yes:no )
25381 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25382 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25383 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25384 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25385 (
25386 cat <<\_ASBOX
25387 ## ------------------------------------ ##
25388 ## Report this to bug-autoconf@gnu.org. ##
25389 ## ------------------------------------ ##
25390 _ASBOX
25391 ) |
25392 sed "s/^/$as_me: WARNING: /" >&2
25393 ;;
25394 no:yes )
25395 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25396 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25397 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25398 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25399 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25400 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25401 (
25402 cat <<\_ASBOX
25403 ## ------------------------------------ ##
25404 ## Report this to bug-autoconf@gnu.org. ##
25405 ## ------------------------------------ ##
25406 _ASBOX
25407 ) |
25408 sed "s/^/$as_me: WARNING: /" >&2
25409 ;;
25410 esac
25411 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25412 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25413 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25415 else
25416 ac_cv_header_GL_gl_h=$ac_header_preproc
25417 fi
25418 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25419 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25420
25421 fi
25422 if test $ac_cv_header_GL_gl_h = yes; then
25423
25424 found_gl=0
25425
25426 echo "$as_me:$LINENO: checking for -lGL" >&5
25427 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25428
25429 ac_find_libraries=
25430 for ac_dir in $SEARCH_LIB /usr/lib;
25431 do
25432 for ac_extension in a so sl dylib; do
25433 if test -f "$ac_dir/libGL.$ac_extension"; then
25434 ac_find_libraries=$ac_dir
25435 break 2
25436 fi
25437 done
25438 done
25439
25440 if test "$ac_find_libraries" != "" ; then
25441
25442 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25443 result=$?
25444 if test $result = 0; then
25445 ac_path_to_link=""
25446 else
25447 ac_path_to_link=" -L$ac_find_libraries"
25448 fi
25449
25450 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25451 LDFLAGS_GL="$ac_path_to_link"
25452 fi
25453
25454
25455 ac_find_libraries=
25456 for ac_dir in $SEARCH_LIB /usr/lib;
25457 do
25458 for ac_extension in a so sl dylib; do
25459 if test -f "$ac_dir/libGLU.$ac_extension"; then
25460 ac_find_libraries=$ac_dir
25461 break 2
25462 fi
25463 done
25464 done
25465
25466 if test "$ac_find_libraries" != "" ; then
25467
25468 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25469 result=$?
25470 if test $result = 0; then
25471 ac_path_to_link=""
25472 else
25473 ac_path_to_link=" -L$ac_find_libraries"
25474 fi
25475
25476 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25477 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25478 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25479 fi
25480
25481 found_gl=1
25482 OPENGL_LIBS="-lGL -lGLU"
25483 echo "$as_me:$LINENO: result: yes" >&5
25484 echo "${ECHO_T}yes" >&6
25485 fi
25486 fi
25487
25488 if test "$found_gl" != 1; then
25489 echo "$as_me:$LINENO: result: no" >&5
25490 echo "${ECHO_T}no" >&6
25491 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25492 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25493
25494 ac_find_libraries=
25495 for ac_dir in $SEARCH_LIB /usr/lib;
25496 do
25497 for ac_extension in a so sl dylib; do
25498 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25499 ac_find_libraries=$ac_dir
25500 break 2
25501 fi
25502 done
25503 done
25504
25505 if test "$ac_find_libraries" != "" ; then
25506
25507 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25508 result=$?
25509 if test $result = 0; then
25510 ac_path_to_link=""
25511 else
25512 ac_path_to_link=" -L$ac_find_libraries"
25513 fi
25514
25515 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25516 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25517 echo "$as_me:$LINENO: result: yes" >&5
25518 echo "${ECHO_T}yes" >&6
25519 else
25520 echo "$as_me:$LINENO: result: no" >&5
25521 echo "${ECHO_T}no" >&6
25522 fi
25523 fi
25524
25525 fi
25526
25527
25528
25529 if test "x$OPENGL_LIBS" = "x"; then
25530 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25531 echo "$as_me: error: OpenGL libraries not available" >&2;}
25532 { (exit 1); exit 1; }; }
25533 fi
25534 fi
25535
25536 if test "$wxUSE_OPENGL" = "yes"; then
25537 USE_OPENGL=1
25538 cat >>confdefs.h <<\_ACEOF
25539 #define wxUSE_OPENGL 1
25540 _ACEOF
25541
25542 cat >>confdefs.h <<\_ACEOF
25543 #define wxUSE_GLCANVAS 1
25544 _ACEOF
25545
25546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25547 fi
25548 fi
25549
25550 if test -z "$TOOLKIT_VPATH" ; then
25551 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25552 fi
25553
25554 if test -n "$TOOLKIT" ; then
25555 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25556 fi
25557
25558 UNICODE=0
25559 lib_unicode_suffix=
25560 if test "$wxUSE_UNICODE" = "yes"; then
25561 lib_unicode_suffix=u
25562 UNICODE=1
25563 fi
25564
25565 lib_debug_suffix=
25566 DEBUG_FLAG=0
25567 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25568 lib_debug_suffix=d
25569 DEBUG_FLAG=1
25570 fi
25571
25572 DEBUG_INFO=0
25573 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25574 DEBUG_INFO=1
25575 fi
25576
25577 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25578
25579 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25580 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25581
25582 if test "$cross_compiling" = "yes"; then
25583 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25584 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25585 HOST_SUFFIX="-${host_alias}"
25586 fi
25587
25588 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25589 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25590 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25591 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25592
25593 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25594 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25595
25596 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25597 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25598 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25599 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25600
25601 case "${host}" in
25602 *-*-cygwin* | *-*-mingw32* )
25603 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25604 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25605 ;;
25606
25607 *-*-darwin* )
25608
25609 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25610 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25611
25612 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25613 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25614 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25615 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25616
25617 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25618 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25619 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25620 fi
25621 ;;
25622 esac
25623
25624 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25625 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25626
25627 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25628 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25629
25630 if test "$wxUSE_OPENGL" = "yes"; then
25631 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25632 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25633 fi
25634
25635
25636
25637 if test "$wxUSE_SHARED" = "yes"; then
25638 case "${host}" in
25639 *-pc-os2_emx | *-pc-os2-emx | \
25640 *-pc-msdosdjgpp )
25641 wxUSE_SHARED=no
25642 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25643 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25644 ;;
25645 esac
25646 fi
25647
25648 SHARED=0
25649 if test "$wxUSE_SHARED" = "yes"; then
25650 SHARED=1
25651
25652
25653 found_versioning=no
25654
25655
25656 if test $found_versioning = no ; then
25657 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25658 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25659 if test "${wx_cv_version_script+set}" = set; then
25660 echo $ECHO_N "(cached) $ECHO_C" >&6
25661 else
25662
25663 echo "VER_1 { *; };" >conftest.sym
25664 echo "int main() { return 0; }" >conftest.cpp
25665
25666 if { ac_try='
25667 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25668 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25671 ac_status=$?
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; } ; then
25674 if test -s conftest.stderr ; then
25675 wx_cv_version_script=no
25676 else
25677 wx_cv_version_script=yes
25678 fi
25679 else
25680 wx_cv_version_script=no
25681 fi
25682 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25683
25684 fi
25685 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25686 echo "${ECHO_T}$wx_cv_version_script" >&6
25687 if test $wx_cv_version_script = yes ; then
25688 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25689 fi
25690 fi
25691
25692
25693 case "${host}" in
25694 *-*-linux* | *-*-gnu* )
25695 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25696 ;;
25697
25698 *-*-solaris2* )
25699 if test "$GCC" = yes ; then
25700 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25701
25702 saveLdflags="$LDFLAGS"
25703 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25704 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25705 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25706 cat >conftest.$ac_ext <<_ACEOF
25707 #line $LINENO "configure"
25708 /* confdefs.h. */
25709 _ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25713
25714 int
25715 main ()
25716 {
25717
25718 ;
25719 return 0;
25720 }
25721 _ACEOF
25722 rm -f conftest.$ac_objext conftest$ac_exeext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25724 (eval $ac_link) 2>&5
25725 ac_status=$?
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); } &&
25728 { ac_try='test -s conftest$ac_exeext'
25729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25730 (eval $ac_try) 2>&5
25731 ac_status=$?
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); }; }; then
25734
25735 echo "$as_me:$LINENO: result: yes" >&5
25736 echo "${ECHO_T}yes" >&6
25737 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25738
25739 else
25740 echo "$as_me: failed program was:" >&5
25741 sed 's/^/| /' conftest.$ac_ext >&5
25742
25743
25744 echo "$as_me:$LINENO: result: no" >&5
25745 echo "${ECHO_T}no" >&6
25746 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25747 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25748 LDFLAGS="$saveLdflags -Wl,-R,/"
25749 cat >conftest.$ac_ext <<_ACEOF
25750 #line $LINENO "configure"
25751 /* confdefs.h. */
25752 _ACEOF
25753 cat confdefs.h >>conftest.$ac_ext
25754 cat >>conftest.$ac_ext <<_ACEOF
25755 /* end confdefs.h. */
25756
25757 int
25758 main ()
25759 {
25760
25761 ;
25762 return 0;
25763 }
25764 _ACEOF
25765 rm -f conftest.$ac_objext conftest$ac_exeext
25766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25767 (eval $ac_link) 2>&5
25768 ac_status=$?
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } &&
25771 { ac_try='test -s conftest$ac_exeext'
25772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773 (eval $ac_try) 2>&5
25774 ac_status=$?
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); }; }; then
25777
25778 echo "$as_me:$LINENO: result: yes" >&5
25779 echo "${ECHO_T}yes" >&6
25780 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25781 else
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785
25786 echo "$as_me:$LINENO: result: no" >&5
25787 echo "${ECHO_T}no" >&6
25788
25789 fi
25790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25791
25792 fi
25793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25794 LDFLAGS="$saveLdflags"
25795 else
25796 SHARED_LD="${CXX} -G -o"
25797 PIC_FLAG="-KPIC"
25798 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25799 fi
25800 ;;
25801
25802 powerpc-*-darwin* )
25803 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25804 cat <<EOF >change-install-names
25805 #!/bin/sh
25806 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25807 inst_cmd="install_name_tool "
25808 for i in \${libnames} ; do
25809 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25810 done
25811 \${inst_cmd} \${3}
25812 EOF
25813 chmod +x change-install-names
25814 ;;
25815
25816 esac
25817
25818 if test "x$WX_TARGET_LIBRARY" = "x"; then
25819 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25820 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25821 fi
25822
25823 WX_TARGET_LIBRARY_TYPE="so"
25824 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25825 fi
25826
25827 if test "$wxUSE_SHARED" = "no"; then
25828
25829 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25830 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25831 fi
25832
25833 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25834 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25835 fi
25836
25837 if test "$wxUSE_OPENGL" = "yes"; then
25838 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25839 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25840 else
25841 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25842 fi
25843
25844 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25845 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25846
25847 WX_TARGET_LIBRARY_TYPE="a"
25848 INSTALL_LIBRARY='$(INSTALL_DATA)'
25849
25850 STATIC_FLAG="yes"
25851 else
25852 STATIC_FLAG="no"
25853 fi
25854
25855 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
25856 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25857 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25858 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25859
25860 # Extract the first word of "Rez", so it can be a program name with args.
25861 set dummy Rez; ac_word=$2
25862 echo "$as_me:$LINENO: checking for $ac_word" >&5
25863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25864 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25865 echo $ECHO_N "(cached) $ECHO_C" >&6
25866 else
25867 if test -n "$RESCOMP"; then
25868 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25869 else
25870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25871 for as_dir in $PATH
25872 do
25873 IFS=$as_save_IFS
25874 test -z "$as_dir" && as_dir=.
25875 for ac_exec_ext in '' $ac_executable_extensions; do
25876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25877 ac_cv_prog_RESCOMP="Rez"
25878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25879 break 2
25880 fi
25881 done
25882 done
25883
25884 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25885 fi
25886 fi
25887 RESCOMP=$ac_cv_prog_RESCOMP
25888 if test -n "$RESCOMP"; then
25889 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25890 echo "${ECHO_T}$RESCOMP" >&6
25891 else
25892 echo "$as_me:$LINENO: result: no" >&5
25893 echo "${ECHO_T}no" >&6
25894 fi
25895
25896 # Extract the first word of "DeRez", so it can be a program name with args.
25897 set dummy DeRez; ac_word=$2
25898 echo "$as_me:$LINENO: checking for $ac_word" >&5
25899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25900 if test "${ac_cv_prog_DEREZ+set}" = set; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 else
25903 if test -n "$DEREZ"; then
25904 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25905 else
25906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25907 for as_dir in $PATH
25908 do
25909 IFS=$as_save_IFS
25910 test -z "$as_dir" && as_dir=.
25911 for ac_exec_ext in '' $ac_executable_extensions; do
25912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25913 ac_cv_prog_DEREZ="DeRez"
25914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25915 break 2
25916 fi
25917 done
25918 done
25919
25920 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25921 fi
25922 fi
25923 DEREZ=$ac_cv_prog_DEREZ
25924 if test -n "$DEREZ"; then
25925 echo "$as_me:$LINENO: result: $DEREZ" >&5
25926 echo "${ECHO_T}$DEREZ" >&6
25927 else
25928 echo "$as_me:$LINENO: result: no" >&5
25929 echo "${ECHO_T}no" >&6
25930 fi
25931
25932 # Extract the first word of "SetFile", so it can be a program name with args.
25933 set dummy SetFile; ac_word=$2
25934 echo "$as_me:$LINENO: checking for $ac_word" >&5
25935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25936 if test "${ac_cv_prog_SETFILE+set}" = set; then
25937 echo $ECHO_N "(cached) $ECHO_C" >&6
25938 else
25939 if test -n "$SETFILE"; then
25940 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25941 else
25942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25943 for as_dir in $PATH
25944 do
25945 IFS=$as_save_IFS
25946 test -z "$as_dir" && as_dir=.
25947 for ac_exec_ext in '' $ac_executable_extensions; do
25948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25949 ac_cv_prog_SETFILE="SetFile"
25950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25951 break 2
25952 fi
25953 done
25954 done
25955
25956 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25957 fi
25958 fi
25959 SETFILE=$ac_cv_prog_SETFILE
25960 if test -n "$SETFILE"; then
25961 echo "$as_me:$LINENO: result: $SETFILE" >&5
25962 echo "${ECHO_T}$SETFILE" >&6
25963 else
25964 echo "$as_me:$LINENO: result: no" >&5
25965 echo "${ECHO_T}no" >&6
25966 fi
25967
25968
25969 MACSETFILE="\$(SETFILE)"
25970
25971 if test "$wxUSE_MAC" = 1; then
25972 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25973
25974 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25975 else
25976 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25977 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25978 fi
25979 else
25980 MACSETFILE="@#"
25981 MACRESWXCONFIG="#"
25982
25983 if test "$wxUSE_PM" = 1; then
25984 MACRESCOMP="emxbind -ep"
25985 else
25986 MACRESCOMP="@#"
25987 fi
25988 fi
25989
25990
25991
25992 echo "$as_me:$LINENO: checking for mode_t" >&5
25993 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25994 if test "${ac_cv_type_mode_t+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 else
25997 cat >conftest.$ac_ext <<_ACEOF
25998 #line $LINENO "configure"
25999 /* confdefs.h. */
26000 _ACEOF
26001 cat confdefs.h >>conftest.$ac_ext
26002 cat >>conftest.$ac_ext <<_ACEOF
26003 /* end confdefs.h. */
26004 $ac_includes_default
26005 int
26006 main ()
26007 {
26008 if ((mode_t *) 0)
26009 return 0;
26010 if (sizeof (mode_t))
26011 return 0;
26012 ;
26013 return 0;
26014 }
26015 _ACEOF
26016 rm -f conftest.$ac_objext
26017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26018 (eval $ac_compile) 2>&5
26019 ac_status=$?
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } &&
26022 { ac_try='test -s conftest.$ac_objext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_type_mode_t=yes
26029 else
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.$ac_ext >&5
26032
26033 ac_cv_type_mode_t=no
26034 fi
26035 rm -f conftest.$ac_objext conftest.$ac_ext
26036 fi
26037 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
26038 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
26039 if test $ac_cv_type_mode_t = yes; then
26040 :
26041 else
26042
26043 cat >>confdefs.h <<_ACEOF
26044 #define mode_t int
26045 _ACEOF
26046
26047 fi
26048
26049 echo "$as_me:$LINENO: checking for off_t" >&5
26050 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
26051 if test "${ac_cv_type_off_t+set}" = set; then
26052 echo $ECHO_N "(cached) $ECHO_C" >&6
26053 else
26054 cat >conftest.$ac_ext <<_ACEOF
26055 #line $LINENO "configure"
26056 /* confdefs.h. */
26057 _ACEOF
26058 cat confdefs.h >>conftest.$ac_ext
26059 cat >>conftest.$ac_ext <<_ACEOF
26060 /* end confdefs.h. */
26061 $ac_includes_default
26062 int
26063 main ()
26064 {
26065 if ((off_t *) 0)
26066 return 0;
26067 if (sizeof (off_t))
26068 return 0;
26069 ;
26070 return 0;
26071 }
26072 _ACEOF
26073 rm -f conftest.$ac_objext
26074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26075 (eval $ac_compile) 2>&5
26076 ac_status=$?
26077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26078 (exit $ac_status); } &&
26079 { ac_try='test -s conftest.$ac_objext'
26080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26081 (eval $ac_try) 2>&5
26082 ac_status=$?
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); }; }; then
26085 ac_cv_type_off_t=yes
26086 else
26087 echo "$as_me: failed program was:" >&5
26088 sed 's/^/| /' conftest.$ac_ext >&5
26089
26090 ac_cv_type_off_t=no
26091 fi
26092 rm -f conftest.$ac_objext conftest.$ac_ext
26093 fi
26094 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26095 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26096 if test $ac_cv_type_off_t = yes; then
26097 :
26098 else
26099
26100 cat >>confdefs.h <<_ACEOF
26101 #define off_t long
26102 _ACEOF
26103
26104 fi
26105
26106 echo "$as_me:$LINENO: checking for pid_t" >&5
26107 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26108 if test "${ac_cv_type_pid_t+set}" = set; then
26109 echo $ECHO_N "(cached) $ECHO_C" >&6
26110 else
26111 cat >conftest.$ac_ext <<_ACEOF
26112 #line $LINENO "configure"
26113 /* confdefs.h. */
26114 _ACEOF
26115 cat confdefs.h >>conftest.$ac_ext
26116 cat >>conftest.$ac_ext <<_ACEOF
26117 /* end confdefs.h. */
26118 $ac_includes_default
26119 int
26120 main ()
26121 {
26122 if ((pid_t *) 0)
26123 return 0;
26124 if (sizeof (pid_t))
26125 return 0;
26126 ;
26127 return 0;
26128 }
26129 _ACEOF
26130 rm -f conftest.$ac_objext
26131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26132 (eval $ac_compile) 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); } &&
26136 { ac_try='test -s conftest.$ac_objext'
26137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138 (eval $ac_try) 2>&5
26139 ac_status=$?
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); }; }; then
26142 ac_cv_type_pid_t=yes
26143 else
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26146
26147 ac_cv_type_pid_t=no
26148 fi
26149 rm -f conftest.$ac_objext conftest.$ac_ext
26150 fi
26151 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26152 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26153 if test $ac_cv_type_pid_t = yes; then
26154 :
26155 else
26156
26157 cat >>confdefs.h <<_ACEOF
26158 #define pid_t int
26159 _ACEOF
26160
26161 fi
26162
26163 echo "$as_me:$LINENO: checking for size_t" >&5
26164 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26165 if test "${ac_cv_type_size_t+set}" = set; then
26166 echo $ECHO_N "(cached) $ECHO_C" >&6
26167 else
26168 cat >conftest.$ac_ext <<_ACEOF
26169 #line $LINENO "configure"
26170 /* confdefs.h. */
26171 _ACEOF
26172 cat confdefs.h >>conftest.$ac_ext
26173 cat >>conftest.$ac_ext <<_ACEOF
26174 /* end confdefs.h. */
26175 $ac_includes_default
26176 int
26177 main ()
26178 {
26179 if ((size_t *) 0)
26180 return 0;
26181 if (sizeof (size_t))
26182 return 0;
26183 ;
26184 return 0;
26185 }
26186 _ACEOF
26187 rm -f conftest.$ac_objext
26188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26189 (eval $ac_compile) 2>&5
26190 ac_status=$?
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } &&
26193 { ac_try='test -s conftest.$ac_objext'
26194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26195 (eval $ac_try) 2>&5
26196 ac_status=$?
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); }; }; then
26199 ac_cv_type_size_t=yes
26200 else
26201 echo "$as_me: failed program was:" >&5
26202 sed 's/^/| /' conftest.$ac_ext >&5
26203
26204 ac_cv_type_size_t=no
26205 fi
26206 rm -f conftest.$ac_objext conftest.$ac_ext
26207 fi
26208 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26209 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26210 if test $ac_cv_type_size_t = yes; then
26211 :
26212 else
26213
26214 cat >>confdefs.h <<_ACEOF
26215 #define size_t unsigned
26216 _ACEOF
26217
26218 fi
26219
26220 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26221 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26222 if test "${ac_cv_type_uid_t+set}" = set; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 else
26225 cat >conftest.$ac_ext <<_ACEOF
26226 #line $LINENO "configure"
26227 /* confdefs.h. */
26228 _ACEOF
26229 cat confdefs.h >>conftest.$ac_ext
26230 cat >>conftest.$ac_ext <<_ACEOF
26231 /* end confdefs.h. */
26232 #include <sys/types.h>
26233
26234 _ACEOF
26235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26236 $EGREP "uid_t" >/dev/null 2>&1; then
26237 ac_cv_type_uid_t=yes
26238 else
26239 ac_cv_type_uid_t=no
26240 fi
26241 rm -f conftest*
26242
26243 fi
26244 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26245 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26246 if test $ac_cv_type_uid_t = no; then
26247
26248 cat >>confdefs.h <<\_ACEOF
26249 #define uid_t int
26250 _ACEOF
26251
26252
26253 cat >>confdefs.h <<\_ACEOF
26254 #define gid_t int
26255 _ACEOF
26256
26257 fi
26258
26259
26260
26261
26262 ac_ext=cc
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267
26268 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26269 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26270 if test "${wx_cv_size_t_is_uint+set}" = set; then
26271 echo $ECHO_N "(cached) $ECHO_C" >&6
26272 else
26273
26274 cat >conftest.$ac_ext <<_ACEOF
26275 #line $LINENO "configure"
26276 /* confdefs.h. */
26277 _ACEOF
26278 cat confdefs.h >>conftest.$ac_ext
26279 cat >>conftest.$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26281 #include <stddef.h>
26282 int
26283 main ()
26284 {
26285
26286 return 0; }
26287
26288 struct Foo { void foo(size_t); void foo(unsigned int); };
26289
26290 int bar() {
26291
26292 ;
26293 return 0;
26294 }
26295 _ACEOF
26296 rm -f conftest.$ac_objext
26297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26298 (eval $ac_compile) 2>&5
26299 ac_status=$?
26300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26301 (exit $ac_status); } &&
26302 { ac_try='test -s conftest.$ac_objext'
26303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26304 (eval $ac_try) 2>&5
26305 ac_status=$?
26306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26307 (exit $ac_status); }; }; then
26308 wx_cv_size_t_is_uint=no
26309 else
26310 echo "$as_me: failed program was:" >&5
26311 sed 's/^/| /' conftest.$ac_ext >&5
26312
26313 wx_cv_size_t_is_uint=yes
26314
26315 fi
26316 rm -f conftest.$ac_objext conftest.$ac_ext
26317
26318
26319 fi
26320 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26321 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26322
26323 if test "$wx_cv_size_t_is_uint" = "yes"; then
26324 cat >>confdefs.h <<\_ACEOF
26325 #define wxSIZE_T_IS_UINT 1
26326 _ACEOF
26327
26328 else
26329 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26330 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26331 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26332 echo $ECHO_N "(cached) $ECHO_C" >&6
26333 else
26334 cat >conftest.$ac_ext <<_ACEOF
26335 #line $LINENO "configure"
26336 /* confdefs.h. */
26337 _ACEOF
26338 cat confdefs.h >>conftest.$ac_ext
26339 cat >>conftest.$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341 #include <stddef.h>
26342 int
26343 main ()
26344 {
26345
26346 return 0; }
26347
26348 struct Foo { void foo(size_t); void foo(unsigned long); };
26349
26350 int bar() {
26351
26352 ;
26353 return 0;
26354 }
26355 _ACEOF
26356 rm -f conftest.$ac_objext
26357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26358 (eval $ac_compile) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try='test -s conftest.$ac_objext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26365 ac_status=$?
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26368 wx_cv_size_t_is_ulong=no
26369 else
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.$ac_ext >&5
26372
26373 wx_cv_size_t_is_ulong=yes
26374
26375 fi
26376 rm -f conftest.$ac_objext conftest.$ac_ext
26377
26378 fi
26379 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26380 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26381
26382 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26383 cat >>confdefs.h <<\_ACEOF
26384 #define wxSIZE_T_IS_ULONG 1
26385 _ACEOF
26386
26387 fi
26388 fi
26389
26390 ac_ext=c
26391 ac_cpp='$CPP $CPPFLAGS'
26392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26395
26396
26397
26398 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26399 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26400 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26401 echo $ECHO_N "(cached) $ECHO_C" >&6
26402 else
26403
26404 cat >conftest.$ac_ext <<_ACEOF
26405 #line $LINENO "configure"
26406 /* confdefs.h. */
26407 _ACEOF
26408 cat confdefs.h >>conftest.$ac_ext
26409 cat >>conftest.$ac_ext <<_ACEOF
26410 /* end confdefs.h. */
26411 #include <pwd.h>
26412 int
26413 main ()
26414 {
26415
26416 char *p;
26417 struct passwd *pw;
26418 p = pw->pw_gecos;
26419
26420 ;
26421 return 0;
26422 }
26423 _ACEOF
26424 rm -f conftest.$ac_objext
26425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26426 (eval $ac_compile) 2>&5
26427 ac_status=$?
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try='test -s conftest.$ac_objext'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26433 ac_status=$?
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; }; then
26436
26437 wx_cv_struct_pw_gecos=yes
26438
26439 else
26440 echo "$as_me: failed program was:" >&5
26441 sed 's/^/| /' conftest.$ac_ext >&5
26442
26443
26444 wx_cv_struct_pw_gecos=no
26445
26446
26447 fi
26448 rm -f conftest.$ac_objext conftest.$ac_ext
26449
26450
26451 fi
26452 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26453 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26454
26455 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26456 cat >>confdefs.h <<\_ACEOF
26457 #define HAVE_PW_GECOS 1
26458 _ACEOF
26459
26460 fi
26461
26462
26463 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26464 cat >>confdefs.h <<\_ACEOF
26465 #define wxUSE_WCHAR_T 1
26466 _ACEOF
26467
26468
26469 WCSLEN_FOUND=0
26470 WCHAR_LINK=
26471
26472 for ac_func in wcslen
26473 do
26474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26475 echo "$as_me:$LINENO: checking for $ac_func" >&5
26476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26477 if eval "test \"\${$as_ac_var+set}\" = set"; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26479 else
26480 cat >conftest.$ac_ext <<_ACEOF
26481 #line $LINENO "configure"
26482 /* confdefs.h. */
26483 _ACEOF
26484 cat confdefs.h >>conftest.$ac_ext
26485 cat >>conftest.$ac_ext <<_ACEOF
26486 /* end confdefs.h. */
26487 /* System header to define __stub macros and hopefully few prototypes,
26488 which can conflict with char $ac_func (); below.
26489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26490 <limits.h> exists even on freestanding compilers. */
26491 #ifdef __STDC__
26492 # include <limits.h>
26493 #else
26494 # include <assert.h>
26495 #endif
26496 /* Override any gcc2 internal prototype to avoid an error. */
26497 #ifdef __cplusplus
26498 extern "C"
26499 {
26500 #endif
26501 /* We use char because int might match the return type of a gcc2
26502 builtin and then its argument prototype would still apply. */
26503 char $ac_func ();
26504 /* The GNU C library defines this for functions which it implements
26505 to always fail with ENOSYS. Some functions are actually named
26506 something starting with __ and the normal name is an alias. */
26507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26508 choke me
26509 #else
26510 char (*f) () = $ac_func;
26511 #endif
26512 #ifdef __cplusplus
26513 }
26514 #endif
26515
26516 int
26517 main ()
26518 {
26519 return f != $ac_func;
26520 ;
26521 return 0;
26522 }
26523 _ACEOF
26524 rm -f conftest.$ac_objext conftest$ac_exeext
26525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26526 (eval $ac_link) 2>&5
26527 ac_status=$?
26528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529 (exit $ac_status); } &&
26530 { ac_try='test -s conftest$ac_exeext'
26531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26532 (eval $ac_try) 2>&5
26533 ac_status=$?
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); }; }; then
26536 eval "$as_ac_var=yes"
26537 else
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26540
26541 eval "$as_ac_var=no"
26542 fi
26543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26544 fi
26545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26547 if test `eval echo '${'$as_ac_var'}'` = yes; then
26548 cat >>confdefs.h <<_ACEOF
26549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26550 _ACEOF
26551 WCSLEN_FOUND=1
26552 fi
26553 done
26554
26555
26556 if test "$WCSLEN_FOUND" = 0; then
26557 if test "$TOOLKIT" = "MSW"; then
26558 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26559 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26560 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26563 ac_check_lib_save_LIBS=$LIBS
26564 LIBS="-lmsvcrt $LIBS"
26565 cat >conftest.$ac_ext <<_ACEOF
26566 #line $LINENO "configure"
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572
26573 /* Override any gcc2 internal prototype to avoid an error. */
26574 #ifdef __cplusplus
26575 extern "C"
26576 #endif
26577 /* We use char because int might match the return type of a gcc2
26578 builtin and then its argument prototype would still apply. */
26579 char wcslen ();
26580 int
26581 main ()
26582 {
26583 wcslen ();
26584 ;
26585 return 0;
26586 }
26587 _ACEOF
26588 rm -f conftest.$ac_objext conftest$ac_exeext
26589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26590 (eval $ac_link) 2>&5
26591 ac_status=$?
26592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26593 (exit $ac_status); } &&
26594 { ac_try='test -s conftest$ac_exeext'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26597 ac_status=$?
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; }; then
26600 ac_cv_lib_msvcrt_wcslen=yes
26601 else
26602 echo "$as_me: failed program was:" >&5
26603 sed 's/^/| /' conftest.$ac_ext >&5
26604
26605 ac_cv_lib_msvcrt_wcslen=no
26606 fi
26607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26608 LIBS=$ac_check_lib_save_LIBS
26609 fi
26610 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26611 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26612 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26613 WCHAR_OK=1
26614 fi
26615
26616 else
26617 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26618 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26619 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26620 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 else
26622 ac_check_lib_save_LIBS=$LIBS
26623 LIBS="-lw $LIBS"
26624 cat >conftest.$ac_ext <<_ACEOF
26625 #line $LINENO "configure"
26626 /* confdefs.h. */
26627 _ACEOF
26628 cat confdefs.h >>conftest.$ac_ext
26629 cat >>conftest.$ac_ext <<_ACEOF
26630 /* end confdefs.h. */
26631
26632 /* Override any gcc2 internal prototype to avoid an error. */
26633 #ifdef __cplusplus
26634 extern "C"
26635 #endif
26636 /* We use char because int might match the return type of a gcc2
26637 builtin and then its argument prototype would still apply. */
26638 char wcslen ();
26639 int
26640 main ()
26641 {
26642 wcslen ();
26643 ;
26644 return 0;
26645 }
26646 _ACEOF
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>&5
26650 ac_status=$?
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); } &&
26653 { ac_try='test -s conftest$ac_exeext'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26656 ac_status=$?
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; }; then
26659 ac_cv_lib_w_wcslen=yes
26660 else
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26663
26664 ac_cv_lib_w_wcslen=no
26665 fi
26666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26667 LIBS=$ac_check_lib_save_LIBS
26668 fi
26669 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26670 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26671 if test $ac_cv_lib_w_wcslen = yes; then
26672
26673 WCHAR_LINK=" -lw"
26674 WCSLEN_FOUND=1
26675
26676 fi
26677
26678 fi
26679 fi
26680
26681 if test "$WCSLEN_FOUND" = 1; then
26682 cat >>confdefs.h <<\_ACEOF
26683 #define HAVE_WCSLEN 1
26684 _ACEOF
26685
26686 fi
26687
26688
26689 for ac_func in wcsrtombs
26690 do
26691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26692 echo "$as_me:$LINENO: checking for $ac_func" >&5
26693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26694 if eval "test \"\${$as_ac_var+set}\" = set"; then
26695 echo $ECHO_N "(cached) $ECHO_C" >&6
26696 else
26697 cat >conftest.$ac_ext <<_ACEOF
26698 #line $LINENO "configure"
26699 /* confdefs.h. */
26700 _ACEOF
26701 cat confdefs.h >>conftest.$ac_ext
26702 cat >>conftest.$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26704 /* System header to define __stub macros and hopefully few prototypes,
26705 which can conflict with char $ac_func (); below.
26706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26707 <limits.h> exists even on freestanding compilers. */
26708 #ifdef __STDC__
26709 # include <limits.h>
26710 #else
26711 # include <assert.h>
26712 #endif
26713 /* Override any gcc2 internal prototype to avoid an error. */
26714 #ifdef __cplusplus
26715 extern "C"
26716 {
26717 #endif
26718 /* We use char because int might match the return type of a gcc2
26719 builtin and then its argument prototype would still apply. */
26720 char $ac_func ();
26721 /* The GNU C library defines this for functions which it implements
26722 to always fail with ENOSYS. Some functions are actually named
26723 something starting with __ and the normal name is an alias. */
26724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26725 choke me
26726 #else
26727 char (*f) () = $ac_func;
26728 #endif
26729 #ifdef __cplusplus
26730 }
26731 #endif
26732
26733 int
26734 main ()
26735 {
26736 return f != $ac_func;
26737 ;
26738 return 0;
26739 }
26740 _ACEOF
26741 rm -f conftest.$ac_objext conftest$ac_exeext
26742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26743 (eval $ac_link) 2>&5
26744 ac_status=$?
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } &&
26747 { ac_try='test -s conftest$ac_exeext'
26748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26749 (eval $ac_try) 2>&5
26750 ac_status=$?
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); }; }; then
26753 eval "$as_ac_var=yes"
26754 else
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26757
26758 eval "$as_ac_var=no"
26759 fi
26760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26761 fi
26762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26764 if test `eval echo '${'$as_ac_var'}'` = yes; then
26765 cat >>confdefs.h <<_ACEOF
26766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26767 _ACEOF
26768
26769 fi
26770 done
26771
26772 else
26773 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26774 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26775 fi
26776
26777
26778
26779 ac_ext=cc
26780 ac_cpp='$CXXCPP $CPPFLAGS'
26781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26784
26785
26786
26787 for ac_func in vsnprintf
26788 do
26789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26790 echo "$as_me:$LINENO: checking for $ac_func" >&5
26791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26792 if eval "test \"\${$as_ac_var+set}\" = set"; then
26793 echo $ECHO_N "(cached) $ECHO_C" >&6
26794 else
26795 cat >conftest.$ac_ext <<_ACEOF
26796 #line $LINENO "configure"
26797 /* confdefs.h. */
26798 _ACEOF
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26802 /* System header to define __stub macros and hopefully few prototypes,
26803 which can conflict with char $ac_func (); below.
26804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26805 <limits.h> exists even on freestanding compilers. */
26806 #ifdef __STDC__
26807 # include <limits.h>
26808 #else
26809 # include <assert.h>
26810 #endif
26811 /* Override any gcc2 internal prototype to avoid an error. */
26812 #ifdef __cplusplus
26813 extern "C"
26814 {
26815 #endif
26816 /* We use char because int might match the return type of a gcc2
26817 builtin and then its argument prototype would still apply. */
26818 char $ac_func ();
26819 /* The GNU C library defines this for functions which it implements
26820 to always fail with ENOSYS. Some functions are actually named
26821 something starting with __ and the normal name is an alias. */
26822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26823 choke me
26824 #else
26825 char (*f) () = $ac_func;
26826 #endif
26827 #ifdef __cplusplus
26828 }
26829 #endif
26830
26831 int
26832 main ()
26833 {
26834 return f != $ac_func;
26835 ;
26836 return 0;
26837 }
26838 _ACEOF
26839 rm -f conftest.$ac_objext conftest$ac_exeext
26840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26841 (eval $ac_link) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } &&
26845 { ac_try='test -s conftest$ac_exeext'
26846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26847 (eval $ac_try) 2>&5
26848 ac_status=$?
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); }; }; then
26851 eval "$as_ac_var=yes"
26852 else
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26855
26856 eval "$as_ac_var=no"
26857 fi
26858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26859 fi
26860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26862 if test `eval echo '${'$as_ac_var'}'` = yes; then
26863 cat >>confdefs.h <<_ACEOF
26864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26865 _ACEOF
26866
26867 fi
26868 done
26869
26870
26871 if test "$ac_cv_func_vsnprintf" = "yes"; then
26872 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26873 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26874 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26876 else
26877
26878 cat >conftest.$ac_ext <<_ACEOF
26879 #line $LINENO "configure"
26880 /* confdefs.h. */
26881 _ACEOF
26882 cat confdefs.h >>conftest.$ac_ext
26883 cat >>conftest.$ac_ext <<_ACEOF
26884 /* end confdefs.h. */
26885
26886 #include <stdio.h>
26887 #include <stdarg.h>
26888
26889 int
26890 main ()
26891 {
26892
26893 char *buf;
26894 va_list ap;
26895 vsnprintf(buf, 10u, "%s", ap);
26896
26897 ;
26898 return 0;
26899 }
26900 _ACEOF
26901 rm -f conftest.$ac_objext
26902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26903 (eval $ac_compile) 2>&5
26904 ac_status=$?
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } &&
26907 { ac_try='test -s conftest.$ac_objext'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26910 ac_status=$?
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; }; then
26913 wx_cv_func_vsnprintf_decl=yes
26914 else
26915 echo "$as_me: failed program was:" >&5
26916 sed 's/^/| /' conftest.$ac_ext >&5
26917
26918 wx_cv_func_vsnprintf_decl=no
26919
26920 fi
26921 rm -f conftest.$ac_objext conftest.$ac_ext
26922
26923
26924 fi
26925 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26926 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26927
26928 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26929 cat >>confdefs.h <<\_ACEOF
26930 #define HAVE_VSNPRINTF_DECL 1
26931 _ACEOF
26932
26933 fi
26934 fi
26935
26936 if test "$wxUSE_UNICODE" = yes; then
26937
26938
26939
26940 for ac_func in fputwc wprintf vswprintf
26941 do
26942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26943 echo "$as_me:$LINENO: checking for $ac_func" >&5
26944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26945 if eval "test \"\${$as_ac_var+set}\" = set"; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26948 cat >conftest.$ac_ext <<_ACEOF
26949 #line $LINENO "configure"
26950 /* confdefs.h. */
26951 _ACEOF
26952 cat confdefs.h >>conftest.$ac_ext
26953 cat >>conftest.$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26955 /* System header to define __stub macros and hopefully few prototypes,
26956 which can conflict with char $ac_func (); below.
26957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26958 <limits.h> exists even on freestanding compilers. */
26959 #ifdef __STDC__
26960 # include <limits.h>
26961 #else
26962 # include <assert.h>
26963 #endif
26964 /* Override any gcc2 internal prototype to avoid an error. */
26965 #ifdef __cplusplus
26966 extern "C"
26967 {
26968 #endif
26969 /* We use char because int might match the return type of a gcc2
26970 builtin and then its argument prototype would still apply. */
26971 char $ac_func ();
26972 /* The GNU C library defines this for functions which it implements
26973 to always fail with ENOSYS. Some functions are actually named
26974 something starting with __ and the normal name is an alias. */
26975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26976 choke me
26977 #else
26978 char (*f) () = $ac_func;
26979 #endif
26980 #ifdef __cplusplus
26981 }
26982 #endif
26983
26984 int
26985 main ()
26986 {
26987 return f != $ac_func;
26988 ;
26989 return 0;
26990 }
26991 _ACEOF
26992 rm -f conftest.$ac_objext conftest$ac_exeext
26993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26994 (eval $ac_link) 2>&5
26995 ac_status=$?
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try='test -s conftest$ac_exeext'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27001 ac_status=$?
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; }; then
27004 eval "$as_ac_var=yes"
27005 else
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.$ac_ext >&5
27008
27009 eval "$as_ac_var=no"
27010 fi
27011 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27012 fi
27013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27015 if test `eval echo '${'$as_ac_var'}'` = yes; then
27016 cat >>confdefs.h <<_ACEOF
27017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27018 _ACEOF
27019
27020 fi
27021 done
27022
27023
27024 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
27025 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
27026 cat >conftest.$ac_ext <<_ACEOF
27027 #line $LINENO "configure"
27028 /* confdefs.h. */
27029 _ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27033 #include <wchar.h>
27034 int
27035 main ()
27036 {
27037 &_vsnwprintf;
27038 ;
27039 return 0;
27040 }
27041 _ACEOF
27042 rm -f conftest.$ac_objext
27043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27044 (eval $ac_compile) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); } &&
27048 { ac_try='test -s conftest.$ac_objext'
27049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27050 (eval $ac_try) 2>&5
27051 ac_status=$?
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); }; }; then
27054 echo "$as_me:$LINENO: result: yes" >&5
27055 echo "${ECHO_T}yes" >&6
27056 cat >>confdefs.h <<\_ACEOF
27057 #define HAVE__VSNWPRINTF 1
27058 _ACEOF
27059
27060 else
27061 echo "$as_me: failed program was:" >&5
27062 sed 's/^/| /' conftest.$ac_ext >&5
27063
27064 echo "$as_me:$LINENO: result: no" >&5
27065 echo "${ECHO_T}no" >&6
27066 fi
27067 rm -f conftest.$ac_objext conftest.$ac_ext;
27068 fi
27069
27070 ac_ext=c
27071 ac_cpp='$CPP $CPPFLAGS'
27072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27075
27076
27077
27078
27079 if test "$TOOLKIT" != "MSW"; then
27080
27081
27082
27083
27084 ac_ext=cc
27085 ac_cpp='$CXXCPP $CPPFLAGS'
27086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27089
27090
27091
27092
27093 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27094 if test "${with_libiconv_prefix+set}" = set; then
27095 withval="$with_libiconv_prefix"
27096
27097 for dir in `echo "$withval" | tr : ' '`; do
27098 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27099 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27100 done
27101
27102 fi;
27103
27104 echo "$as_me:$LINENO: checking for iconv" >&5
27105 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27106 if test "${am_cv_func_iconv+set}" = set; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 else
27109
27110 am_cv_func_iconv="no, consider installing GNU libiconv"
27111 am_cv_lib_iconv=no
27112 cat >conftest.$ac_ext <<_ACEOF
27113 #line $LINENO "configure"
27114 /* confdefs.h. */
27115 _ACEOF
27116 cat confdefs.h >>conftest.$ac_ext
27117 cat >>conftest.$ac_ext <<_ACEOF
27118 /* end confdefs.h. */
27119 #include <stdlib.h>
27120 #include <iconv.h>
27121 int
27122 main ()
27123 {
27124 iconv_t cd = iconv_open("","");
27125 iconv(cd,NULL,NULL,NULL,NULL);
27126 iconv_close(cd);
27127 ;
27128 return 0;
27129 }
27130 _ACEOF
27131 rm -f conftest.$ac_objext conftest$ac_exeext
27132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27133 (eval $ac_link) 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); } &&
27137 { ac_try='test -s conftest$ac_exeext'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27140 ac_status=$?
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; }; then
27143 am_cv_func_iconv=yes
27144 else
27145 echo "$as_me: failed program was:" >&5
27146 sed 's/^/| /' conftest.$ac_ext >&5
27147
27148 fi
27149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27150 if test "$am_cv_func_iconv" != yes; then
27151 am_save_LIBS="$LIBS"
27152 LIBS="$LIBS -liconv"
27153 cat >conftest.$ac_ext <<_ACEOF
27154 #line $LINENO "configure"
27155 /* confdefs.h. */
27156 _ACEOF
27157 cat confdefs.h >>conftest.$ac_ext
27158 cat >>conftest.$ac_ext <<_ACEOF
27159 /* end confdefs.h. */
27160 #include <stdlib.h>
27161 #include <iconv.h>
27162 int
27163 main ()
27164 {
27165 iconv_t cd = iconv_open("","");
27166 iconv(cd,NULL,NULL,NULL,NULL);
27167 iconv_close(cd);
27168 ;
27169 return 0;
27170 }
27171 _ACEOF
27172 rm -f conftest.$ac_objext conftest$ac_exeext
27173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27174 (eval $ac_link) 2>&5
27175 ac_status=$?
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } &&
27178 { ac_try='test -s conftest$ac_exeext'
27179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27180 (eval $ac_try) 2>&5
27181 ac_status=$?
27182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27183 (exit $ac_status); }; }; then
27184 am_cv_lib_iconv=yes
27185 am_cv_func_iconv=yes
27186 else
27187 echo "$as_me: failed program was:" >&5
27188 sed 's/^/| /' conftest.$ac_ext >&5
27189
27190 fi
27191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27192 LIBS="$am_save_LIBS"
27193 fi
27194
27195 fi
27196 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27197 echo "${ECHO_T}$am_cv_func_iconv" >&6
27198 if test "$am_cv_func_iconv" = yes; then
27199
27200 cat >>confdefs.h <<\_ACEOF
27201 #define HAVE_ICONV 1
27202 _ACEOF
27203
27204 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27205 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27206 if test "${wx_cv_func_iconv_const+set}" = set; then
27207 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 else
27209 cat >conftest.$ac_ext <<_ACEOF
27210 #line $LINENO "configure"
27211 /* confdefs.h. */
27212 _ACEOF
27213 cat confdefs.h >>conftest.$ac_ext
27214 cat >>conftest.$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27216
27217 #include <stdlib.h>
27218 #include <iconv.h>
27219 extern
27220 #ifdef __cplusplus
27221 "C"
27222 #endif
27223 #if defined(__STDC__) || defined(__cplusplus)
27224 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27225 #else
27226 size_t iconv();
27227 #endif
27228
27229 int
27230 main ()
27231 {
27232
27233 ;
27234 return 0;
27235 }
27236 _ACEOF
27237 rm -f conftest.$ac_objext
27238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27239 (eval $ac_compile) 2>&5
27240 ac_status=$?
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } &&
27243 { ac_try='test -s conftest.$ac_objext'
27244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245 (eval $ac_try) 2>&5
27246 ac_status=$?
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); }; }; then
27249 wx_cv_func_iconv_const="no"
27250 else
27251 echo "$as_me: failed program was:" >&5
27252 sed 's/^/| /' conftest.$ac_ext >&5
27253
27254 wx_cv_func_iconv_const="yes"
27255
27256 fi
27257 rm -f conftest.$ac_objext conftest.$ac_ext
27258
27259 fi
27260 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27261 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27262
27263 iconv_const=
27264 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27265 iconv_const="const"
27266 fi
27267
27268
27269 cat >>confdefs.h <<_ACEOF
27270 #define ICONV_CONST $iconv_const
27271 _ACEOF
27272
27273 fi
27274 LIBICONV=
27275 if test "$am_cv_lib_iconv" = yes; then
27276 LIBICONV="-liconv"
27277 fi
27278
27279
27280 LIBS="$LIBICONV $LIBS"
27281 ac_ext=c
27282 ac_cpp='$CPP $CPPFLAGS'
27283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27286
27287
27288 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27289
27290 for ac_func in sigaction
27291 do
27292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27293 echo "$as_me:$LINENO: checking for $ac_func" >&5
27294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27295 if eval "test \"\${$as_ac_var+set}\" = set"; then
27296 echo $ECHO_N "(cached) $ECHO_C" >&6
27297 else
27298 cat >conftest.$ac_ext <<_ACEOF
27299 #line $LINENO "configure"
27300 /* confdefs.h. */
27301 _ACEOF
27302 cat confdefs.h >>conftest.$ac_ext
27303 cat >>conftest.$ac_ext <<_ACEOF
27304 /* end confdefs.h. */
27305 /* System header to define __stub macros and hopefully few prototypes,
27306 which can conflict with char $ac_func (); below.
27307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27308 <limits.h> exists even on freestanding compilers. */
27309 #ifdef __STDC__
27310 # include <limits.h>
27311 #else
27312 # include <assert.h>
27313 #endif
27314 /* Override any gcc2 internal prototype to avoid an error. */
27315 #ifdef __cplusplus
27316 extern "C"
27317 {
27318 #endif
27319 /* We use char because int might match the return type of a gcc2
27320 builtin and then its argument prototype would still apply. */
27321 char $ac_func ();
27322 /* The GNU C library defines this for functions which it implements
27323 to always fail with ENOSYS. Some functions are actually named
27324 something starting with __ and the normal name is an alias. */
27325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27326 choke me
27327 #else
27328 char (*f) () = $ac_func;
27329 #endif
27330 #ifdef __cplusplus
27331 }
27332 #endif
27333
27334 int
27335 main ()
27336 {
27337 return f != $ac_func;
27338 ;
27339 return 0;
27340 }
27341 _ACEOF
27342 rm -f conftest.$ac_objext conftest$ac_exeext
27343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27344 (eval $ac_link) 2>&5
27345 ac_status=$?
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } &&
27348 { ac_try='test -s conftest$ac_exeext'
27349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27350 (eval $ac_try) 2>&5
27351 ac_status=$?
27352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353 (exit $ac_status); }; }; then
27354 eval "$as_ac_var=yes"
27355 else
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.$ac_ext >&5
27358
27359 eval "$as_ac_var=no"
27360 fi
27361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27362 fi
27363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27365 if test `eval echo '${'$as_ac_var'}'` = yes; then
27366 cat >>confdefs.h <<_ACEOF
27367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27368 _ACEOF
27369
27370 fi
27371 done
27372
27373
27374 if test "$ac_cv_func_sigaction" = "no"; then
27375 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27376 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27377 wxUSE_ON_FATAL_EXCEPTION=no
27378 fi
27379
27380 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27381
27382
27383 ac_ext=cc
27384 ac_cpp='$CXXCPP $CPPFLAGS'
27385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27388
27389
27390 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27391 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27392 if test "${wx_cv_type_sa_handler+set}" = set; then
27393 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 else
27395
27396 cat >conftest.$ac_ext <<_ACEOF
27397 #line $LINENO "configure"
27398 /* confdefs.h. */
27399 _ACEOF
27400 cat confdefs.h >>conftest.$ac_ext
27401 cat >>conftest.$ac_ext <<_ACEOF
27402 /* end confdefs.h. */
27403 #include <signal.h>
27404 int
27405 main ()
27406 {
27407
27408 extern void testSigHandler(int);
27409
27410 struct sigaction sa;
27411 sa.sa_handler = testSigHandler;
27412
27413 ;
27414 return 0;
27415 }
27416 _ACEOF
27417 rm -f conftest.$ac_objext
27418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27419 (eval $ac_compile) 2>&5
27420 ac_status=$?
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } &&
27423 { ac_try='test -s conftest.$ac_objext'
27424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27425 (eval $ac_try) 2>&5
27426 ac_status=$?
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); }; }; then
27429
27430 wx_cv_type_sa_handler=int
27431
27432 else
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.$ac_ext >&5
27435
27436
27437 wx_cv_type_sa_handler=void
27438
27439 fi
27440 rm -f conftest.$ac_objext conftest.$ac_ext
27441
27442 fi
27443 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27444 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27445
27446 ac_ext=c
27447 ac_cpp='$CPP $CPPFLAGS'
27448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27451
27452
27453 cat >>confdefs.h <<_ACEOF
27454 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27455 _ACEOF
27456
27457 fi
27458 fi
27459
27460
27461
27462 for ac_func in mkstemp mktemp
27463 do
27464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27465 echo "$as_me:$LINENO: checking for $ac_func" >&5
27466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27467 if eval "test \"\${$as_ac_var+set}\" = set"; then
27468 echo $ECHO_N "(cached) $ECHO_C" >&6
27469 else
27470 cat >conftest.$ac_ext <<_ACEOF
27471 #line $LINENO "configure"
27472 /* confdefs.h. */
27473 _ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 /* System header to define __stub macros and hopefully few prototypes,
27478 which can conflict with char $ac_func (); below.
27479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27480 <limits.h> exists even on freestanding compilers. */
27481 #ifdef __STDC__
27482 # include <limits.h>
27483 #else
27484 # include <assert.h>
27485 #endif
27486 /* Override any gcc2 internal prototype to avoid an error. */
27487 #ifdef __cplusplus
27488 extern "C"
27489 {
27490 #endif
27491 /* We use char because int might match the return type of a gcc2
27492 builtin and then its argument prototype would still apply. */
27493 char $ac_func ();
27494 /* The GNU C library defines this for functions which it implements
27495 to always fail with ENOSYS. Some functions are actually named
27496 something starting with __ and the normal name is an alias. */
27497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27498 choke me
27499 #else
27500 char (*f) () = $ac_func;
27501 #endif
27502 #ifdef __cplusplus
27503 }
27504 #endif
27505
27506 int
27507 main ()
27508 {
27509 return f != $ac_func;
27510 ;
27511 return 0;
27512 }
27513 _ACEOF
27514 rm -f conftest.$ac_objext conftest$ac_exeext
27515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27516 (eval $ac_link) 2>&5
27517 ac_status=$?
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); } &&
27520 { ac_try='test -s conftest$ac_exeext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27523 ac_status=$?
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 eval "$as_ac_var=yes"
27527 else
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.$ac_ext >&5
27530
27531 eval "$as_ac_var=no"
27532 fi
27533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27534 fi
27535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27537 if test `eval echo '${'$as_ac_var'}'` = yes; then
27538 cat >>confdefs.h <<_ACEOF
27539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27540 _ACEOF
27541 break
27542 fi
27543 done
27544
27545
27546 echo "$as_me:$LINENO: checking for statfs" >&5
27547 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27548 if test "${wx_cv_func_statfs+set}" = set; then
27549 echo $ECHO_N "(cached) $ECHO_C" >&6
27550 else
27551 cat >conftest.$ac_ext <<_ACEOF
27552 #line $LINENO "configure"
27553 /* confdefs.h. */
27554 _ACEOF
27555 cat confdefs.h >>conftest.$ac_ext
27556 cat >>conftest.$ac_ext <<_ACEOF
27557 /* end confdefs.h. */
27558
27559 #if defined(__BSD__)
27560 #include <sys/param.h>
27561 #include <sys/mount.h>
27562 #else
27563 #include <sys/vfs.h>
27564 #endif
27565
27566 int
27567 main ()
27568 {
27569
27570 long l;
27571 struct statfs fs;
27572 statfs("/", &fs);
27573 l = fs.f_bsize;
27574 l += fs.f_blocks;
27575 l += fs.f_bavail;
27576
27577 ;
27578 return 0;
27579 }
27580 _ACEOF
27581 rm -f conftest.$ac_objext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27583 (eval $ac_compile) 2>&5
27584 ac_status=$?
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); } &&
27587 { ac_try='test -s conftest.$ac_objext'
27588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27589 (eval $ac_try) 2>&5
27590 ac_status=$?
27591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27592 (exit $ac_status); }; }; then
27593
27594 wx_cv_func_statfs=yes
27595
27596 else
27597 echo "$as_me: failed program was:" >&5
27598 sed 's/^/| /' conftest.$ac_ext >&5
27599
27600
27601 wx_cv_func_statfs=no
27602
27603
27604 fi
27605 rm -f conftest.$ac_objext conftest.$ac_ext
27606
27607 fi
27608 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27609 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27610
27611 if test "$wx_cv_func_statfs" = "yes"; then
27612 wx_cv_type_statvfs_t="struct statfs"
27613 cat >>confdefs.h <<\_ACEOF
27614 #define HAVE_STATFS 1
27615 _ACEOF
27616
27617 else
27618 echo "$as_me:$LINENO: checking for statvfs" >&5
27619 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27620 if test "${wx_cv_func_statvfs+set}" = set; then
27621 echo $ECHO_N "(cached) $ECHO_C" >&6
27622 else
27623 cat >conftest.$ac_ext <<_ACEOF
27624 #line $LINENO "configure"
27625 /* confdefs.h. */
27626 _ACEOF
27627 cat confdefs.h >>conftest.$ac_ext
27628 cat >>conftest.$ac_ext <<_ACEOF
27629 /* end confdefs.h. */
27630
27631 #include <stddef.h>
27632 #include <sys/statvfs.h>
27633
27634 int
27635 main ()
27636 {
27637
27638 statvfs("/", NULL);
27639
27640 ;
27641 return 0;
27642 }
27643 _ACEOF
27644 rm -f conftest.$ac_objext
27645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27646 (eval $ac_compile) 2>&5
27647 ac_status=$?
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try='test -s conftest.$ac_objext'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27653 ac_status=$?
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; }; then
27656 wx_cv_func_statvfs=yes
27657 else
27658 echo "$as_me: failed program was:" >&5
27659 sed 's/^/| /' conftest.$ac_ext >&5
27660
27661 wx_cv_func_statvfs=no
27662
27663 fi
27664 rm -f conftest.$ac_objext conftest.$ac_ext
27665
27666 fi
27667 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27668 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27669
27670 if test "$wx_cv_func_statvfs" = "yes"; then
27671
27672
27673 ac_ext=cc
27674 ac_cpp='$CXXCPP $CPPFLAGS'
27675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27678
27679
27680 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27681 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27682 if test "${wx_cv_type_statvfs_t+set}" = set; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27684 else
27685 cat >conftest.$ac_ext <<_ACEOF
27686 #line $LINENO "configure"
27687 /* confdefs.h. */
27688 _ACEOF
27689 cat confdefs.h >>conftest.$ac_ext
27690 cat >>conftest.$ac_ext <<_ACEOF
27691 /* end confdefs.h. */
27692
27693 #include <sys/statvfs.h>
27694
27695 int
27696 main ()
27697 {
27698
27699 long l;
27700 statvfs_t fs;
27701 statvfs("/", &fs);
27702 l = fs.f_bsize;
27703 l += fs.f_blocks;
27704 l += fs.f_bavail;
27705
27706 ;
27707 return 0;
27708 }
27709 _ACEOF
27710 rm -f conftest.$ac_objext
27711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27712 (eval $ac_compile) 2>&5
27713 ac_status=$?
27714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 (exit $ac_status); } &&
27716 { ac_try='test -s conftest.$ac_objext'
27717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27718 (eval $ac_try) 2>&5
27719 ac_status=$?
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); }; }; then
27722 wx_cv_type_statvfs_t=statvfs_t
27723 else
27724 echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.$ac_ext >&5
27726
27727
27728 cat >conftest.$ac_ext <<_ACEOF
27729 #line $LINENO "configure"
27730 /* confdefs.h. */
27731 _ACEOF
27732 cat confdefs.h >>conftest.$ac_ext
27733 cat >>conftest.$ac_ext <<_ACEOF
27734 /* end confdefs.h. */
27735
27736 #include <sys/statvfs.h>
27737
27738 int
27739 main ()
27740 {
27741
27742 long l;
27743 struct statvfs fs;
27744 statvfs("/", &fs);
27745 l = fs.f_bsize;
27746 l += fs.f_blocks;
27747 l += fs.f_bavail;
27748
27749 ;
27750 return 0;
27751 }
27752 _ACEOF
27753 rm -f conftest.$ac_objext
27754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27755 (eval $ac_compile) 2>&5
27756 ac_status=$?
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); } &&
27759 { ac_try='test -s conftest.$ac_objext'
27760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27761 (eval $ac_try) 2>&5
27762 ac_status=$?
27763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27764 (exit $ac_status); }; }; then
27765 wx_cv_type_statvfs_t="struct statvfs"
27766 else
27767 echo "$as_me: failed program was:" >&5
27768 sed 's/^/| /' conftest.$ac_ext >&5
27769
27770 wx_cv_type_statvfs_t="unknown"
27771
27772 fi
27773 rm -f conftest.$ac_objext conftest.$ac_ext
27774
27775
27776 fi
27777 rm -f conftest.$ac_objext conftest.$ac_ext
27778
27779 fi
27780 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27781 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27782
27783 ac_ext=c
27784 ac_cpp='$CPP $CPPFLAGS'
27785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27788
27789
27790 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27791 cat >>confdefs.h <<\_ACEOF
27792 #define HAVE_STATVFS 1
27793 _ACEOF
27794
27795 fi
27796 else
27797 wx_cv_type_statvfs_t="unknown"
27798 fi
27799 fi
27800
27801 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27802 cat >>confdefs.h <<_ACEOF
27803 #define WX_STATFS_T $wx_cv_type_statvfs_t
27804 _ACEOF
27805
27806 else
27807 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27808 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27809 fi
27810
27811 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27812
27813
27814 for ac_func in fcntl flock
27815 do
27816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27817 echo "$as_me:$LINENO: checking for $ac_func" >&5
27818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27819 if eval "test \"\${$as_ac_var+set}\" = set"; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27822 cat >conftest.$ac_ext <<_ACEOF
27823 #line $LINENO "configure"
27824 /* confdefs.h. */
27825 _ACEOF
27826 cat confdefs.h >>conftest.$ac_ext
27827 cat >>conftest.$ac_ext <<_ACEOF
27828 /* end confdefs.h. */
27829 /* System header to define __stub macros and hopefully few prototypes,
27830 which can conflict with char $ac_func (); below.
27831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27832 <limits.h> exists even on freestanding compilers. */
27833 #ifdef __STDC__
27834 # include <limits.h>
27835 #else
27836 # include <assert.h>
27837 #endif
27838 /* Override any gcc2 internal prototype to avoid an error. */
27839 #ifdef __cplusplus
27840 extern "C"
27841 {
27842 #endif
27843 /* We use char because int might match the return type of a gcc2
27844 builtin and then its argument prototype would still apply. */
27845 char $ac_func ();
27846 /* The GNU C library defines this for functions which it implements
27847 to always fail with ENOSYS. Some functions are actually named
27848 something starting with __ and the normal name is an alias. */
27849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27850 choke me
27851 #else
27852 char (*f) () = $ac_func;
27853 #endif
27854 #ifdef __cplusplus
27855 }
27856 #endif
27857
27858 int
27859 main ()
27860 {
27861 return f != $ac_func;
27862 ;
27863 return 0;
27864 }
27865 _ACEOF
27866 rm -f conftest.$ac_objext conftest$ac_exeext
27867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27868 (eval $ac_link) 2>&5
27869 ac_status=$?
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); } &&
27872 { ac_try='test -s conftest$ac_exeext'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27875 ac_status=$?
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; }; then
27878 eval "$as_ac_var=yes"
27879 else
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27882
27883 eval "$as_ac_var=no"
27884 fi
27885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27886 fi
27887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27889 if test `eval echo '${'$as_ac_var'}'` = yes; then
27890 cat >>confdefs.h <<_ACEOF
27891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27892 _ACEOF
27893 break
27894 fi
27895 done
27896
27897
27898 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27899 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27900 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27901 wxUSE_SNGLINST_CHECKER=no
27902 fi
27903 fi
27904
27905
27906 for ac_func in timegm
27907 do
27908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27909 echo "$as_me:$LINENO: checking for $ac_func" >&5
27910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27911 if eval "test \"\${$as_ac_var+set}\" = set"; then
27912 echo $ECHO_N "(cached) $ECHO_C" >&6
27913 else
27914 cat >conftest.$ac_ext <<_ACEOF
27915 #line $LINENO "configure"
27916 /* confdefs.h. */
27917 _ACEOF
27918 cat confdefs.h >>conftest.$ac_ext
27919 cat >>conftest.$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27921 /* System header to define __stub macros and hopefully few prototypes,
27922 which can conflict with char $ac_func (); below.
27923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27924 <limits.h> exists even on freestanding compilers. */
27925 #ifdef __STDC__
27926 # include <limits.h>
27927 #else
27928 # include <assert.h>
27929 #endif
27930 /* Override any gcc2 internal prototype to avoid an error. */
27931 #ifdef __cplusplus
27932 extern "C"
27933 {
27934 #endif
27935 /* We use char because int might match the return type of a gcc2
27936 builtin and then its argument prototype would still apply. */
27937 char $ac_func ();
27938 /* The GNU C library defines this for functions which it implements
27939 to always fail with ENOSYS. Some functions are actually named
27940 something starting with __ and the normal name is an alias. */
27941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27942 choke me
27943 #else
27944 char (*f) () = $ac_func;
27945 #endif
27946 #ifdef __cplusplus
27947 }
27948 #endif
27949
27950 int
27951 main ()
27952 {
27953 return f != $ac_func;
27954 ;
27955 return 0;
27956 }
27957 _ACEOF
27958 rm -f conftest.$ac_objext conftest$ac_exeext
27959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27960 (eval $ac_link) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } &&
27964 { ac_try='test -s conftest$ac_exeext'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 eval "$as_ac_var=yes"
27971 else
27972 echo "$as_me: failed program was:" >&5
27973 sed 's/^/| /' conftest.$ac_ext >&5
27974
27975 eval "$as_ac_var=no"
27976 fi
27977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27978 fi
27979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27981 if test `eval echo '${'$as_ac_var'}'` = yes; then
27982 cat >>confdefs.h <<_ACEOF
27983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27984 _ACEOF
27985
27986 fi
27987 done
27988
27989
27990
27991
27992 for ac_func in putenv setenv
27993 do
27994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27995 echo "$as_me:$LINENO: checking for $ac_func" >&5
27996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27997 if eval "test \"\${$as_ac_var+set}\" = set"; then
27998 echo $ECHO_N "(cached) $ECHO_C" >&6
27999 else
28000 cat >conftest.$ac_ext <<_ACEOF
28001 #line $LINENO "configure"
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28007 /* System header to define __stub macros and hopefully few prototypes,
28008 which can conflict with char $ac_func (); below.
28009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28010 <limits.h> exists even on freestanding compilers. */
28011 #ifdef __STDC__
28012 # include <limits.h>
28013 #else
28014 # include <assert.h>
28015 #endif
28016 /* Override any gcc2 internal prototype to avoid an error. */
28017 #ifdef __cplusplus
28018 extern "C"
28019 {
28020 #endif
28021 /* We use char because int might match the return type of a gcc2
28022 builtin and then its argument prototype would still apply. */
28023 char $ac_func ();
28024 /* The GNU C library defines this for functions which it implements
28025 to always fail with ENOSYS. Some functions are actually named
28026 something starting with __ and the normal name is an alias. */
28027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28028 choke me
28029 #else
28030 char (*f) () = $ac_func;
28031 #endif
28032 #ifdef __cplusplus
28033 }
28034 #endif
28035
28036 int
28037 main ()
28038 {
28039 return f != $ac_func;
28040 ;
28041 return 0;
28042 }
28043 _ACEOF
28044 rm -f conftest.$ac_objext conftest$ac_exeext
28045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28046 (eval $ac_link) 2>&5
28047 ac_status=$?
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); } &&
28050 { ac_try='test -s conftest$ac_exeext'
28051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28052 (eval $ac_try) 2>&5
28053 ac_status=$?
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); }; }; then
28056 eval "$as_ac_var=yes"
28057 else
28058 echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28060
28061 eval "$as_ac_var=no"
28062 fi
28063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28064 fi
28065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28067 if test `eval echo '${'$as_ac_var'}'` = yes; then
28068 cat >>confdefs.h <<_ACEOF
28069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28070 _ACEOF
28071 break
28072 fi
28073 done
28074
28075
28076 HAVE_SOME_SLEEP_FUNC=0
28077 if test "$USE_BEOS" = 1; then
28078 cat >>confdefs.h <<\_ACEOF
28079 #define HAVE_SLEEP 1
28080 _ACEOF
28081
28082 HAVE_SOME_SLEEP_FUNC=1
28083 fi
28084
28085 if test "$USE_DARWIN" = 1; then
28086 cat >>confdefs.h <<\_ACEOF
28087 #define HAVE_USLEEP 1
28088 _ACEOF
28089
28090 HAVE_SOME_SLEEP_FUNC=1
28091 fi
28092
28093 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28094 POSIX4_LINK=
28095
28096 for ac_func in nanosleep
28097 do
28098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28099 echo "$as_me:$LINENO: checking for $ac_func" >&5
28100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28101 if eval "test \"\${$as_ac_var+set}\" = set"; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28103 else
28104 cat >conftest.$ac_ext <<_ACEOF
28105 #line $LINENO "configure"
28106 /* confdefs.h. */
28107 _ACEOF
28108 cat confdefs.h >>conftest.$ac_ext
28109 cat >>conftest.$ac_ext <<_ACEOF
28110 /* end confdefs.h. */
28111 /* System header to define __stub macros and hopefully few prototypes,
28112 which can conflict with char $ac_func (); below.
28113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28114 <limits.h> exists even on freestanding compilers. */
28115 #ifdef __STDC__
28116 # include <limits.h>
28117 #else
28118 # include <assert.h>
28119 #endif
28120 /* Override any gcc2 internal prototype to avoid an error. */
28121 #ifdef __cplusplus
28122 extern "C"
28123 {
28124 #endif
28125 /* We use char because int might match the return type of a gcc2
28126 builtin and then its argument prototype would still apply. */
28127 char $ac_func ();
28128 /* The GNU C library defines this for functions which it implements
28129 to always fail with ENOSYS. Some functions are actually named
28130 something starting with __ and the normal name is an alias. */
28131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28132 choke me
28133 #else
28134 char (*f) () = $ac_func;
28135 #endif
28136 #ifdef __cplusplus
28137 }
28138 #endif
28139
28140 int
28141 main ()
28142 {
28143 return f != $ac_func;
28144 ;
28145 return 0;
28146 }
28147 _ACEOF
28148 rm -f conftest.$ac_objext conftest$ac_exeext
28149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28150 (eval $ac_link) 2>&5
28151 ac_status=$?
28152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28153 (exit $ac_status); } &&
28154 { ac_try='test -s conftest$ac_exeext'
28155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28156 (eval $ac_try) 2>&5
28157 ac_status=$?
28158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159 (exit $ac_status); }; }; then
28160 eval "$as_ac_var=yes"
28161 else
28162 echo "$as_me: failed program was:" >&5
28163 sed 's/^/| /' conftest.$ac_ext >&5
28164
28165 eval "$as_ac_var=no"
28166 fi
28167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28168 fi
28169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28171 if test `eval echo '${'$as_ac_var'}'` = yes; then
28172 cat >>confdefs.h <<_ACEOF
28173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28174 _ACEOF
28175 cat >>confdefs.h <<\_ACEOF
28176 #define HAVE_NANOSLEEP 1
28177 _ACEOF
28178
28179 else
28180
28181 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28182 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28183 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 else
28186 ac_check_lib_save_LIBS=$LIBS
28187 LIBS="-lposix4 $LIBS"
28188 cat >conftest.$ac_ext <<_ACEOF
28189 #line $LINENO "configure"
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195
28196 /* Override any gcc2 internal prototype to avoid an error. */
28197 #ifdef __cplusplus
28198 extern "C"
28199 #endif
28200 /* We use char because int might match the return type of a gcc2
28201 builtin and then its argument prototype would still apply. */
28202 char nanosleep ();
28203 int
28204 main ()
28205 {
28206 nanosleep ();
28207 ;
28208 return 0;
28209 }
28210 _ACEOF
28211 rm -f conftest.$ac_objext conftest$ac_exeext
28212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28213 (eval $ac_link) 2>&5
28214 ac_status=$?
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); } &&
28217 { ac_try='test -s conftest$ac_exeext'
28218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219 (eval $ac_try) 2>&5
28220 ac_status=$?
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; }; then
28223 ac_cv_lib_posix4_nanosleep=yes
28224 else
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28227
28228 ac_cv_lib_posix4_nanosleep=no
28229 fi
28230 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28231 LIBS=$ac_check_lib_save_LIBS
28232 fi
28233 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28234 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28235 if test $ac_cv_lib_posix4_nanosleep = yes; then
28236
28237 cat >>confdefs.h <<\_ACEOF
28238 #define HAVE_NANOSLEEP 1
28239 _ACEOF
28240
28241 POSIX4_LINK=" -lposix4"
28242
28243 else
28244
28245
28246 for ac_func in usleep
28247 do
28248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28249 echo "$as_me:$LINENO: checking for $ac_func" >&5
28250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28251 if eval "test \"\${$as_ac_var+set}\" = set"; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28254 cat >conftest.$ac_ext <<_ACEOF
28255 #line $LINENO "configure"
28256 /* confdefs.h. */
28257 _ACEOF
28258 cat confdefs.h >>conftest.$ac_ext
28259 cat >>conftest.$ac_ext <<_ACEOF
28260 /* end confdefs.h. */
28261 /* System header to define __stub macros and hopefully few prototypes,
28262 which can conflict with char $ac_func (); below.
28263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28264 <limits.h> exists even on freestanding compilers. */
28265 #ifdef __STDC__
28266 # include <limits.h>
28267 #else
28268 # include <assert.h>
28269 #endif
28270 /* Override any gcc2 internal prototype to avoid an error. */
28271 #ifdef __cplusplus
28272 extern "C"
28273 {
28274 #endif
28275 /* We use char because int might match the return type of a gcc2
28276 builtin and then its argument prototype would still apply. */
28277 char $ac_func ();
28278 /* The GNU C library defines this for functions which it implements
28279 to always fail with ENOSYS. Some functions are actually named
28280 something starting with __ and the normal name is an alias. */
28281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28282 choke me
28283 #else
28284 char (*f) () = $ac_func;
28285 #endif
28286 #ifdef __cplusplus
28287 }
28288 #endif
28289
28290 int
28291 main ()
28292 {
28293 return f != $ac_func;
28294 ;
28295 return 0;
28296 }
28297 _ACEOF
28298 rm -f conftest.$ac_objext conftest$ac_exeext
28299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28300 (eval $ac_link) 2>&5
28301 ac_status=$?
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } &&
28304 { ac_try='test -s conftest$ac_exeext'
28305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28306 (eval $ac_try) 2>&5
28307 ac_status=$?
28308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309 (exit $ac_status); }; }; then
28310 eval "$as_ac_var=yes"
28311 else
28312 echo "$as_me: failed program was:" >&5
28313 sed 's/^/| /' conftest.$ac_ext >&5
28314
28315 eval "$as_ac_var=no"
28316 fi
28317 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28318 fi
28319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28321 if test `eval echo '${'$as_ac_var'}'` = yes; then
28322 cat >>confdefs.h <<_ACEOF
28323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28324 _ACEOF
28325 cat >>confdefs.h <<\_ACEOF
28326 #define HAVE_USLEEP 1
28327 _ACEOF
28328
28329 else
28330 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28331 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28332
28333 fi
28334 done
28335
28336
28337
28338 fi
28339
28340
28341
28342 fi
28343 done
28344
28345 fi
28346
28347
28348
28349 for ac_func in uname gethostname
28350 do
28351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28352 echo "$as_me:$LINENO: checking for $ac_func" >&5
28353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28354 if eval "test \"\${$as_ac_var+set}\" = set"; then
28355 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 else
28357 cat >conftest.$ac_ext <<_ACEOF
28358 #line $LINENO "configure"
28359 /* confdefs.h. */
28360 _ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28364 /* System header to define __stub macros and hopefully few prototypes,
28365 which can conflict with char $ac_func (); below.
28366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28367 <limits.h> exists even on freestanding compilers. */
28368 #ifdef __STDC__
28369 # include <limits.h>
28370 #else
28371 # include <assert.h>
28372 #endif
28373 /* Override any gcc2 internal prototype to avoid an error. */
28374 #ifdef __cplusplus
28375 extern "C"
28376 {
28377 #endif
28378 /* We use char because int might match the return type of a gcc2
28379 builtin and then its argument prototype would still apply. */
28380 char $ac_func ();
28381 /* The GNU C library defines this for functions which it implements
28382 to always fail with ENOSYS. Some functions are actually named
28383 something starting with __ and the normal name is an alias. */
28384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28385 choke me
28386 #else
28387 char (*f) () = $ac_func;
28388 #endif
28389 #ifdef __cplusplus
28390 }
28391 #endif
28392
28393 int
28394 main ()
28395 {
28396 return f != $ac_func;
28397 ;
28398 return 0;
28399 }
28400 _ACEOF
28401 rm -f conftest.$ac_objext conftest$ac_exeext
28402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28403 (eval $ac_link) 2>&5
28404 ac_status=$?
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } &&
28407 { ac_try='test -s conftest$ac_exeext'
28408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28409 (eval $ac_try) 2>&5
28410 ac_status=$?
28411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28412 (exit $ac_status); }; }; then
28413 eval "$as_ac_var=yes"
28414 else
28415 echo "$as_me: failed program was:" >&5
28416 sed 's/^/| /' conftest.$ac_ext >&5
28417
28418 eval "$as_ac_var=no"
28419 fi
28420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28421 fi
28422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28424 if test `eval echo '${'$as_ac_var'}'` = yes; then
28425 cat >>confdefs.h <<_ACEOF
28426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28427 _ACEOF
28428 break
28429 fi
28430 done
28431
28432
28433
28434
28435 ac_ext=cc
28436 ac_cpp='$CXXCPP $CPPFLAGS'
28437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28440
28441
28442
28443 for ac_func in strtok_r
28444 do
28445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28446 echo "$as_me:$LINENO: checking for $ac_func" >&5
28447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28448 if eval "test \"\${$as_ac_var+set}\" = set"; then
28449 echo $ECHO_N "(cached) $ECHO_C" >&6
28450 else
28451 cat >conftest.$ac_ext <<_ACEOF
28452 #line $LINENO "configure"
28453 /* confdefs.h. */
28454 _ACEOF
28455 cat confdefs.h >>conftest.$ac_ext
28456 cat >>conftest.$ac_ext <<_ACEOF
28457 /* end confdefs.h. */
28458 /* System header to define __stub macros and hopefully few prototypes,
28459 which can conflict with char $ac_func (); below.
28460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28461 <limits.h> exists even on freestanding compilers. */
28462 #ifdef __STDC__
28463 # include <limits.h>
28464 #else
28465 # include <assert.h>
28466 #endif
28467 /* Override any gcc2 internal prototype to avoid an error. */
28468 #ifdef __cplusplus
28469 extern "C"
28470 {
28471 #endif
28472 /* We use char because int might match the return type of a gcc2
28473 builtin and then its argument prototype would still apply. */
28474 char $ac_func ();
28475 /* The GNU C library defines this for functions which it implements
28476 to always fail with ENOSYS. Some functions are actually named
28477 something starting with __ and the normal name is an alias. */
28478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28479 choke me
28480 #else
28481 char (*f) () = $ac_func;
28482 #endif
28483 #ifdef __cplusplus
28484 }
28485 #endif
28486
28487 int
28488 main ()
28489 {
28490 return f != $ac_func;
28491 ;
28492 return 0;
28493 }
28494 _ACEOF
28495 rm -f conftest.$ac_objext conftest$ac_exeext
28496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28497 (eval $ac_link) 2>&5
28498 ac_status=$?
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); } &&
28501 { ac_try='test -s conftest$ac_exeext'
28502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28503 (eval $ac_try) 2>&5
28504 ac_status=$?
28505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28506 (exit $ac_status); }; }; then
28507 eval "$as_ac_var=yes"
28508 else
28509 echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28511
28512 eval "$as_ac_var=no"
28513 fi
28514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28515 fi
28516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28518 if test `eval echo '${'$as_ac_var'}'` = yes; then
28519 cat >>confdefs.h <<_ACEOF
28520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28521 _ACEOF
28522
28523 fi
28524 done
28525
28526
28527 ac_ext=c
28528 ac_cpp='$CPP $CPPFLAGS'
28529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28532
28533
28534 INET_LINK=
28535
28536 for ac_func in inet_addr
28537 do
28538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28539 echo "$as_me:$LINENO: checking for $ac_func" >&5
28540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28541 if eval "test \"\${$as_ac_var+set}\" = set"; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544 cat >conftest.$ac_ext <<_ACEOF
28545 #line $LINENO "configure"
28546 /* confdefs.h. */
28547 _ACEOF
28548 cat confdefs.h >>conftest.$ac_ext
28549 cat >>conftest.$ac_ext <<_ACEOF
28550 /* end confdefs.h. */
28551 /* System header to define __stub macros and hopefully few prototypes,
28552 which can conflict with char $ac_func (); below.
28553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28554 <limits.h> exists even on freestanding compilers. */
28555 #ifdef __STDC__
28556 # include <limits.h>
28557 #else
28558 # include <assert.h>
28559 #endif
28560 /* Override any gcc2 internal prototype to avoid an error. */
28561 #ifdef __cplusplus
28562 extern "C"
28563 {
28564 #endif
28565 /* We use char because int might match the return type of a gcc2
28566 builtin and then its argument prototype would still apply. */
28567 char $ac_func ();
28568 /* The GNU C library defines this for functions which it implements
28569 to always fail with ENOSYS. Some functions are actually named
28570 something starting with __ and the normal name is an alias. */
28571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28572 choke me
28573 #else
28574 char (*f) () = $ac_func;
28575 #endif
28576 #ifdef __cplusplus
28577 }
28578 #endif
28579
28580 int
28581 main ()
28582 {
28583 return f != $ac_func;
28584 ;
28585 return 0;
28586 }
28587 _ACEOF
28588 rm -f conftest.$ac_objext conftest$ac_exeext
28589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28590 (eval $ac_link) 2>&5
28591 ac_status=$?
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); } &&
28594 { ac_try='test -s conftest$ac_exeext'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28597 ac_status=$?
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; }; then
28600 eval "$as_ac_var=yes"
28601 else
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28604
28605 eval "$as_ac_var=no"
28606 fi
28607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28608 fi
28609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28611 if test `eval echo '${'$as_ac_var'}'` = yes; then
28612 cat >>confdefs.h <<_ACEOF
28613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28614 _ACEOF
28615 cat >>confdefs.h <<\_ACEOF
28616 #define HAVE_INET_ADDR 1
28617 _ACEOF
28618
28619 else
28620
28621 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28622 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28623 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28624 echo $ECHO_N "(cached) $ECHO_C" >&6
28625 else
28626 ac_check_lib_save_LIBS=$LIBS
28627 LIBS="-lnsl $LIBS"
28628 cat >conftest.$ac_ext <<_ACEOF
28629 #line $LINENO "configure"
28630 /* confdefs.h. */
28631 _ACEOF
28632 cat confdefs.h >>conftest.$ac_ext
28633 cat >>conftest.$ac_ext <<_ACEOF
28634 /* end confdefs.h. */
28635
28636 /* Override any gcc2 internal prototype to avoid an error. */
28637 #ifdef __cplusplus
28638 extern "C"
28639 #endif
28640 /* We use char because int might match the return type of a gcc2
28641 builtin and then its argument prototype would still apply. */
28642 char inet_addr ();
28643 int
28644 main ()
28645 {
28646 inet_addr ();
28647 ;
28648 return 0;
28649 }
28650 _ACEOF
28651 rm -f conftest.$ac_objext conftest$ac_exeext
28652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28653 (eval $ac_link) 2>&5
28654 ac_status=$?
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); } &&
28657 { ac_try='test -s conftest$ac_exeext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28660 ac_status=$?
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28663 ac_cv_lib_nsl_inet_addr=yes
28664 else
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.$ac_ext >&5
28667
28668 ac_cv_lib_nsl_inet_addr=no
28669 fi
28670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28671 LIBS=$ac_check_lib_save_LIBS
28672 fi
28673 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28674 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28675 if test $ac_cv_lib_nsl_inet_addr = yes; then
28676 INET_LINK="nsl"
28677 else
28678
28679 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28680 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28681 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28682 echo $ECHO_N "(cached) $ECHO_C" >&6
28683 else
28684 ac_check_lib_save_LIBS=$LIBS
28685 LIBS="-lresolv $LIBS"
28686 cat >conftest.$ac_ext <<_ACEOF
28687 #line $LINENO "configure"
28688 /* confdefs.h. */
28689 _ACEOF
28690 cat confdefs.h >>conftest.$ac_ext
28691 cat >>conftest.$ac_ext <<_ACEOF
28692 /* end confdefs.h. */
28693
28694 /* Override any gcc2 internal prototype to avoid an error. */
28695 #ifdef __cplusplus
28696 extern "C"
28697 #endif
28698 /* We use char because int might match the return type of a gcc2
28699 builtin and then its argument prototype would still apply. */
28700 char inet_addr ();
28701 int
28702 main ()
28703 {
28704 inet_addr ();
28705 ;
28706 return 0;
28707 }
28708 _ACEOF
28709 rm -f conftest.$ac_objext conftest$ac_exeext
28710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28711 (eval $ac_link) 2>&5
28712 ac_status=$?
28713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28714 (exit $ac_status); } &&
28715 { ac_try='test -s conftest$ac_exeext'
28716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28717 (eval $ac_try) 2>&5
28718 ac_status=$?
28719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28720 (exit $ac_status); }; }; then
28721 ac_cv_lib_resolv_inet_addr=yes
28722 else
28723 echo "$as_me: failed program was:" >&5
28724 sed 's/^/| /' conftest.$ac_ext >&5
28725
28726 ac_cv_lib_resolv_inet_addr=no
28727 fi
28728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28729 LIBS=$ac_check_lib_save_LIBS
28730 fi
28731 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28732 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28733 if test $ac_cv_lib_resolv_inet_addr = yes; then
28734 INET_LINK="resolv"
28735 else
28736
28737 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28738 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28739 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28740 echo $ECHO_N "(cached) $ECHO_C" >&6
28741 else
28742 ac_check_lib_save_LIBS=$LIBS
28743 LIBS="-lsocket $LIBS"
28744 cat >conftest.$ac_ext <<_ACEOF
28745 #line $LINENO "configure"
28746 /* confdefs.h. */
28747 _ACEOF
28748 cat confdefs.h >>conftest.$ac_ext
28749 cat >>conftest.$ac_ext <<_ACEOF
28750 /* end confdefs.h. */
28751
28752 /* Override any gcc2 internal prototype to avoid an error. */
28753 #ifdef __cplusplus
28754 extern "C"
28755 #endif
28756 /* We use char because int might match the return type of a gcc2
28757 builtin and then its argument prototype would still apply. */
28758 char inet_addr ();
28759 int
28760 main ()
28761 {
28762 inet_addr ();
28763 ;
28764 return 0;
28765 }
28766 _ACEOF
28767 rm -f conftest.$ac_objext conftest$ac_exeext
28768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28769 (eval $ac_link) 2>&5
28770 ac_status=$?
28771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28772 (exit $ac_status); } &&
28773 { ac_try='test -s conftest$ac_exeext'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28776 ac_status=$?
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; }; then
28779 ac_cv_lib_socket_inet_addr=yes
28780 else
28781 echo "$as_me: failed program was:" >&5
28782 sed 's/^/| /' conftest.$ac_ext >&5
28783
28784 ac_cv_lib_socket_inet_addr=no
28785 fi
28786 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28787 LIBS=$ac_check_lib_save_LIBS
28788 fi
28789 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28790 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28791 if test $ac_cv_lib_socket_inet_addr = yes; then
28792 INET_LINK="socket"
28793
28794 fi
28795
28796
28797
28798 fi
28799
28800
28801
28802 fi
28803
28804
28805
28806 fi
28807 done
28808
28809
28810
28811 for ac_func in inet_aton
28812 do
28813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28814 echo "$as_me:$LINENO: checking for $ac_func" >&5
28815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28816 if eval "test \"\${$as_ac_var+set}\" = set"; then
28817 echo $ECHO_N "(cached) $ECHO_C" >&6
28818 else
28819 cat >conftest.$ac_ext <<_ACEOF
28820 #line $LINENO "configure"
28821 /* confdefs.h. */
28822 _ACEOF
28823 cat confdefs.h >>conftest.$ac_ext
28824 cat >>conftest.$ac_ext <<_ACEOF
28825 /* end confdefs.h. */
28826 /* System header to define __stub macros and hopefully few prototypes,
28827 which can conflict with char $ac_func (); below.
28828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28829 <limits.h> exists even on freestanding compilers. */
28830 #ifdef __STDC__
28831 # include <limits.h>
28832 #else
28833 # include <assert.h>
28834 #endif
28835 /* Override any gcc2 internal prototype to avoid an error. */
28836 #ifdef __cplusplus
28837 extern "C"
28838 {
28839 #endif
28840 /* We use char because int might match the return type of a gcc2
28841 builtin and then its argument prototype would still apply. */
28842 char $ac_func ();
28843 /* The GNU C library defines this for functions which it implements
28844 to always fail with ENOSYS. Some functions are actually named
28845 something starting with __ and the normal name is an alias. */
28846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28847 choke me
28848 #else
28849 char (*f) () = $ac_func;
28850 #endif
28851 #ifdef __cplusplus
28852 }
28853 #endif
28854
28855 int
28856 main ()
28857 {
28858 return f != $ac_func;
28859 ;
28860 return 0;
28861 }
28862 _ACEOF
28863 rm -f conftest.$ac_objext conftest$ac_exeext
28864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28865 (eval $ac_link) 2>&5
28866 ac_status=$?
28867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28868 (exit $ac_status); } &&
28869 { ac_try='test -s conftest$ac_exeext'
28870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28871 (eval $ac_try) 2>&5
28872 ac_status=$?
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); }; }; then
28875 eval "$as_ac_var=yes"
28876 else
28877 echo "$as_me: failed program was:" >&5
28878 sed 's/^/| /' conftest.$ac_ext >&5
28879
28880 eval "$as_ac_var=no"
28881 fi
28882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28883 fi
28884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28886 if test `eval echo '${'$as_ac_var'}'` = yes; then
28887 cat >>confdefs.h <<_ACEOF
28888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28889 _ACEOF
28890 cat >>confdefs.h <<\_ACEOF
28891 #define HAVE_INET_ATON 1
28892 _ACEOF
28893
28894 else
28895
28896 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28897 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28898 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28899 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28901 else
28902 ac_check_lib_save_LIBS=$LIBS
28903 LIBS="-l$INET_LINK $LIBS"
28904 cat >conftest.$ac_ext <<_ACEOF
28905 #line $LINENO "configure"
28906 /* confdefs.h. */
28907 _ACEOF
28908 cat confdefs.h >>conftest.$ac_ext
28909 cat >>conftest.$ac_ext <<_ACEOF
28910 /* end confdefs.h. */
28911
28912 /* Override any gcc2 internal prototype to avoid an error. */
28913 #ifdef __cplusplus
28914 extern "C"
28915 #endif
28916 /* We use char because int might match the return type of a gcc2
28917 builtin and then its argument prototype would still apply. */
28918 char inet_aton ();
28919 int
28920 main ()
28921 {
28922 inet_aton ();
28923 ;
28924 return 0;
28925 }
28926 _ACEOF
28927 rm -f conftest.$ac_objext conftest$ac_exeext
28928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28929 (eval $ac_link) 2>&5
28930 ac_status=$?
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); } &&
28933 { ac_try='test -s conftest$ac_exeext'
28934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28935 (eval $ac_try) 2>&5
28936 ac_status=$?
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); }; }; then
28939 eval "$as_ac_Lib=yes"
28940 else
28941 echo "$as_me: failed program was:" >&5
28942 sed 's/^/| /' conftest.$ac_ext >&5
28943
28944 eval "$as_ac_Lib=no"
28945 fi
28946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28947 LIBS=$ac_check_lib_save_LIBS
28948 fi
28949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28950 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28951 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28952 cat >>confdefs.h <<\_ACEOF
28953 #define HAVE_INET_ATON 1
28954 _ACEOF
28955
28956 fi
28957
28958
28959 fi
28960 done
28961
28962
28963 if test "x$INET_LINK" != "x"; then
28964 cat >>confdefs.h <<\_ACEOF
28965 #define HAVE_INET_ADDR 1
28966 _ACEOF
28967
28968 INET_LINK=" -l$INET_LINK"
28969 fi
28970
28971 fi
28972
28973
28974
28975 EXTRALIBS_ESD=
28976 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28977 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28978 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28979 echo $ECHO_N "(cached) $ECHO_C" >&6
28980 else
28981 ac_check_lib_save_LIBS=$LIBS
28982 LIBS="-lesd $LIBS"
28983 cat >conftest.$ac_ext <<_ACEOF
28984 #line $LINENO "configure"
28985 /* confdefs.h. */
28986 _ACEOF
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990
28991 /* Override any gcc2 internal prototype to avoid an error. */
28992 #ifdef __cplusplus
28993 extern "C"
28994 #endif
28995 /* We use char because int might match the return type of a gcc2
28996 builtin and then its argument prototype would still apply. */
28997 char esd_close ();
28998 int
28999 main ()
29000 {
29001 esd_close ();
29002 ;
29003 return 0;
29004 }
29005 _ACEOF
29006 rm -f conftest.$ac_objext conftest$ac_exeext
29007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29008 (eval $ac_link) 2>&5
29009 ac_status=$?
29010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011 (exit $ac_status); } &&
29012 { ac_try='test -s conftest$ac_exeext'
29013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29014 (eval $ac_try) 2>&5
29015 ac_status=$?
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); }; }; then
29018 ac_cv_lib_esd_esd_close=yes
29019 else
29020 echo "$as_me: failed program was:" >&5
29021 sed 's/^/| /' conftest.$ac_ext >&5
29022
29023 ac_cv_lib_esd_esd_close=no
29024 fi
29025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29026 LIBS=$ac_check_lib_save_LIBS
29027 fi
29028 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
29029 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
29030 if test $ac_cv_lib_esd_esd_close = yes; then
29031
29032
29033 for ac_header in esd.h
29034 do
29035 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29037 echo "$as_me:$LINENO: checking for $ac_header" >&5
29038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 fi
29042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29044 else
29045 # Is the header compilable?
29046 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29048 cat >conftest.$ac_ext <<_ACEOF
29049 #line $LINENO "configure"
29050 /* confdefs.h. */
29051 _ACEOF
29052 cat confdefs.h >>conftest.$ac_ext
29053 cat >>conftest.$ac_ext <<_ACEOF
29054 /* end confdefs.h. */
29055 $ac_includes_default
29056 #include <$ac_header>
29057 _ACEOF
29058 rm -f conftest.$ac_objext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29060 (eval $ac_compile) 2>&5
29061 ac_status=$?
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); } &&
29064 { ac_try='test -s conftest.$ac_objext'
29065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29066 (eval $ac_try) 2>&5
29067 ac_status=$?
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); }; }; then
29070 ac_header_compiler=yes
29071 else
29072 echo "$as_me: failed program was:" >&5
29073 sed 's/^/| /' conftest.$ac_ext >&5
29074
29075 ac_header_compiler=no
29076 fi
29077 rm -f conftest.$ac_objext conftest.$ac_ext
29078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29079 echo "${ECHO_T}$ac_header_compiler" >&6
29080
29081 # Is the header present?
29082 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29084 cat >conftest.$ac_ext <<_ACEOF
29085 #line $LINENO "configure"
29086 /* confdefs.h. */
29087 _ACEOF
29088 cat confdefs.h >>conftest.$ac_ext
29089 cat >>conftest.$ac_ext <<_ACEOF
29090 /* end confdefs.h. */
29091 #include <$ac_header>
29092 _ACEOF
29093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29095 ac_status=$?
29096 grep -v '^ *+' conftest.er1 >conftest.err
29097 rm -f conftest.er1
29098 cat conftest.err >&5
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); } >/dev/null; then
29101 if test -s conftest.err; then
29102 ac_cpp_err=$ac_c_preproc_warn_flag
29103 else
29104 ac_cpp_err=
29105 fi
29106 else
29107 ac_cpp_err=yes
29108 fi
29109 if test -z "$ac_cpp_err"; then
29110 ac_header_preproc=yes
29111 else
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 ac_header_preproc=no
29116 fi
29117 rm -f conftest.err conftest.$ac_ext
29118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29119 echo "${ECHO_T}$ac_header_preproc" >&6
29120
29121 # So? What about this header?
29122 case $ac_header_compiler:$ac_header_preproc in
29123 yes:no )
29124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29128 (
29129 cat <<\_ASBOX
29130 ## ------------------------------------ ##
29131 ## Report this to bug-autoconf@gnu.org. ##
29132 ## ------------------------------------ ##
29133 _ASBOX
29134 ) |
29135 sed "s/^/$as_me: WARNING: /" >&2
29136 ;;
29137 no:yes )
29138 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29139 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29140 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29141 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29143 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29144 (
29145 cat <<\_ASBOX
29146 ## ------------------------------------ ##
29147 ## Report this to bug-autoconf@gnu.org. ##
29148 ## ------------------------------------ ##
29149 _ASBOX
29150 ) |
29151 sed "s/^/$as_me: WARNING: /" >&2
29152 ;;
29153 esac
29154 echo "$as_me:$LINENO: checking for $ac_header" >&5
29155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29157 echo $ECHO_N "(cached) $ECHO_C" >&6
29158 else
29159 eval "$as_ac_Header=$ac_header_preproc"
29160 fi
29161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29163
29164 fi
29165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29166 cat >>confdefs.h <<_ACEOF
29167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29168 _ACEOF
29169
29170 EXTRALIBS_ESD="-lesd"
29171
29172 fi
29173
29174 done
29175
29176
29177 fi
29178
29179
29180
29181 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29182 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29183 cat >conftest.$ac_ext <<_ACEOF
29184 #line $LINENO "configure"
29185 /* confdefs.h. */
29186 _ACEOF
29187 cat confdefs.h >>conftest.$ac_ext
29188 cat >>conftest.$ac_ext <<_ACEOF
29189 /* end confdefs.h. */
29190 #ifdef __linux__
29191 #include <linux/cdrom.h>
29192 #else
29193 /* For Solaris */
29194 #include <sys/cdio.h>
29195 #endif
29196
29197 int
29198 main ()
29199 {
29200 struct cdrom_tocentry entry, old_entry;
29201 ;
29202 return 0;
29203 }
29204 _ACEOF
29205 rm -f conftest.$ac_objext
29206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29207 (eval $ac_compile) 2>&5
29208 ac_status=$?
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); } &&
29211 { ac_try='test -s conftest.$ac_objext'
29212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29213 (eval $ac_try) 2>&5
29214 ac_status=$?
29215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 (exit $ac_status); }; }; then
29217 echo "$as_me:$LINENO: result: yes" >&5
29218 echo "${ECHO_T}yes" >&6
29219 cat >>confdefs.h <<\_ACEOF
29220 #define HAVE_KNOWN_CDROM_INTERFACE 1
29221 _ACEOF
29222
29223 else
29224 echo "$as_me: failed program was:" >&5
29225 sed 's/^/| /' conftest.$ac_ext >&5
29226
29227 echo "$as_me:$LINENO: result: no" >&5
29228 echo "${ECHO_T}no" >&6
29229 fi
29230 rm -f conftest.$ac_objext conftest.$ac_ext
29231
29232
29233 cat >confcache <<\_ACEOF
29234 # This file is a shell script that caches the results of configure
29235 # tests run on this system so they can be shared between configure
29236 # scripts and configure runs, see configure's option --config-cache.
29237 # It is not useful on other systems. If it contains results you don't
29238 # want to keep, you may remove or edit it.
29239 #
29240 # config.status only pays attention to the cache file if you give it
29241 # the --recheck option to rerun configure.
29242 #
29243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29245 # following values.
29246
29247 _ACEOF
29248
29249 # The following way of writing the cache mishandles newlines in values,
29250 # but we know of no workaround that is simple, portable, and efficient.
29251 # So, don't put newlines in cache variables' values.
29252 # Ultrix sh set writes to stderr and can't be redirected directly,
29253 # and sets the high bit in the cache file unless we assign to the vars.
29254 {
29255 (set) 2>&1 |
29256 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29257 *ac_space=\ *)
29258 # `set' does not quote correctly, so add quotes (double-quote
29259 # substitution turns \\\\ into \\, and sed turns \\ into \).
29260 sed -n \
29261 "s/'/'\\\\''/g;
29262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29263 ;;
29264 *)
29265 # `set' quotes correctly as required by POSIX, so do not add quotes.
29266 sed -n \
29267 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29268 ;;
29269 esac;
29270 } |
29271 sed '
29272 t clear
29273 : clear
29274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29275 t end
29276 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29277 : end' >>confcache
29278 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29279 if test -w $cache_file; then
29280 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29281 cat confcache >$cache_file
29282 else
29283 echo "not updating unwritable cache $cache_file"
29284 fi
29285 fi
29286 rm -f confcache
29287
29288
29289 CPP_MT_FLAG=
29290 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29291
29292
29293 THREADS_LINK=
29294 THREADS_CFLAGS=
29295
29296 if test "$wxUSE_THREADS" = "yes" ; then
29297 if test "$USE_BEOS" = 1; then
29298 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29299 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29300 wxUSE_THREADS="no"
29301 fi
29302 fi
29303
29304 if test "$wxUSE_THREADS" = "yes" ; then
29305
29306
29307 THREAD_OPTS="-pthread"
29308 case "${host}" in
29309 *-*-solaris2* | *-*-sunos4* )
29310 if test "x$GCC" = "xyes"; then
29311 THREAD_OPTS="-pthreads $THREAD_OPTS"
29312 else
29313 THREAD_OPTS="-mt $THREAD_OPTS"
29314 fi
29315 ;;
29316 *-*-freebsd*)
29317 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29318 ;;
29319 *-*-darwin* | *-*-cygwin* )
29320 THREAD_OPTS=""
29321 ;;
29322 *-*-aix*)
29323 THREAD_OPTS="pthreads"
29324 ;;
29325 *-hp-hpux* )
29326 if test "x$GCC" != "xyes"; then
29327 THREAD_OPTS=""
29328 fi
29329 ;;
29330
29331 *-*-irix* )
29332 if test "x$GCC" = "xyes"; then
29333 THREAD_OPTS=""
29334 fi
29335 ;;
29336
29337 *-*-*UnixWare*)
29338 if test "x$GCC" != "xyes"; then
29339 THREAD_OPTS="-Ethread"
29340 fi
29341 ;;
29342 esac
29343
29344 THREAD_OPTS="$THREAD_OPTS pthread none"
29345
29346 THREADS_OK=no
29347 for flag in $THREAD_OPTS; do
29348 case $flag in
29349 none)
29350 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29351 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29352 ;;
29353
29354 -*)
29355 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29356 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29357 THREADS_CFLAGS="$flag"
29358 ;;
29359
29360 *)
29361 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29362 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29363 THREADS_LINK="-l$flag"
29364 ;;
29365 esac
29366
29367 save_LIBS="$LIBS"
29368 save_CFLAGS="$CFLAGS"
29369 LIBS="$THREADS_LINK $LIBS"
29370 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29371
29372 cat >conftest.$ac_ext <<_ACEOF
29373 #line $LINENO "configure"
29374 /* confdefs.h. */
29375 _ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29379 #include <pthread.h>
29380 int
29381 main ()
29382 {
29383 pthread_create(0,0,0,0);
29384 ;
29385 return 0;
29386 }
29387 _ACEOF
29388 rm -f conftest.$ac_objext conftest$ac_exeext
29389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29390 (eval $ac_link) 2>&5
29391 ac_status=$?
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); } &&
29394 { ac_try='test -s conftest$ac_exeext'
29395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396 (eval $ac_try) 2>&5
29397 ac_status=$?
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; }; then
29400 THREADS_OK=yes
29401 else
29402 echo "$as_me: failed program was:" >&5
29403 sed 's/^/| /' conftest.$ac_ext >&5
29404
29405 fi
29406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29407
29408 LIBS="$save_LIBS"
29409 CFLAGS="$save_CFLAGS"
29410
29411 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29412 echo "${ECHO_T}$THREADS_OK" >&6
29413 if test "x$THREADS_OK" = "xyes"; then
29414 break;
29415 fi
29416
29417 THREADS_LINK=""
29418 THREADS_CFLAGS=""
29419 done
29420
29421 if test "x$THREADS_OK" != "xyes"; then
29422 wxUSE_THREADS=no
29423 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29424 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29425 else
29426 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29427 LIBS="$THREADS_LINK $LIBS"
29428
29429 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29430 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29431 flag=no
29432 case "${host}" in
29433 *-aix*)
29434 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29435 flag="-D_THREAD_SAFE"
29436 ;;
29437 *-freebsd*)
29438 flag="-D_THREAD_SAFE"
29439 ;;
29440 *-hp-hpux* )
29441 flag="-D_REENTRANT"
29442 if test "x$GCC" != "xyes"; then
29443 flag="$flag -D_RWSTD_MULTI_THREAD"
29444 fi
29445 ;;
29446 *solaris* | alpha*-osf*)
29447 flag="-D_REENTRANT"
29448 ;;
29449 esac
29450 echo "$as_me:$LINENO: result: ${flag}" >&5
29451 echo "${ECHO_T}${flag}" >&6
29452 if test "x$flag" != xno; then
29453 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29454 fi
29455
29456 if test "x$THREADS_CFLAGS" != "x"; then
29457 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29458 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29459 fi
29460 fi
29461 fi
29462
29463 if test "$wxUSE_THREADS" = "yes" ; then
29464
29465 for ac_func in thr_setconcurrency
29466 do
29467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29468 echo "$as_me:$LINENO: checking for $ac_func" >&5
29469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29470 if eval "test \"\${$as_ac_var+set}\" = set"; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 else
29473 cat >conftest.$ac_ext <<_ACEOF
29474 #line $LINENO "configure"
29475 /* confdefs.h. */
29476 _ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29480 /* System header to define __stub macros and hopefully few prototypes,
29481 which can conflict with char $ac_func (); below.
29482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29483 <limits.h> exists even on freestanding compilers. */
29484 #ifdef __STDC__
29485 # include <limits.h>
29486 #else
29487 # include <assert.h>
29488 #endif
29489 /* Override any gcc2 internal prototype to avoid an error. */
29490 #ifdef __cplusplus
29491 extern "C"
29492 {
29493 #endif
29494 /* We use char because int might match the return type of a gcc2
29495 builtin and then its argument prototype would still apply. */
29496 char $ac_func ();
29497 /* The GNU C library defines this for functions which it implements
29498 to always fail with ENOSYS. Some functions are actually named
29499 something starting with __ and the normal name is an alias. */
29500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29501 choke me
29502 #else
29503 char (*f) () = $ac_func;
29504 #endif
29505 #ifdef __cplusplus
29506 }
29507 #endif
29508
29509 int
29510 main ()
29511 {
29512 return f != $ac_func;
29513 ;
29514 return 0;
29515 }
29516 _ACEOF
29517 rm -f conftest.$ac_objext conftest$ac_exeext
29518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29519 (eval $ac_link) 2>&5
29520 ac_status=$?
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } &&
29523 { ac_try='test -s conftest$ac_exeext'
29524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29525 (eval $ac_try) 2>&5
29526 ac_status=$?
29527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29528 (exit $ac_status); }; }; then
29529 eval "$as_ac_var=yes"
29530 else
29531 echo "$as_me: failed program was:" >&5
29532 sed 's/^/| /' conftest.$ac_ext >&5
29533
29534 eval "$as_ac_var=no"
29535 fi
29536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29537 fi
29538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29540 if test `eval echo '${'$as_ac_var'}'` = yes; then
29541 cat >>confdefs.h <<_ACEOF
29542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29543 _ACEOF
29544
29545 fi
29546 done
29547
29548
29549
29550 for ac_header in sched.h
29551 do
29552 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29554 echo "$as_me:$LINENO: checking for $ac_header" >&5
29555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29556 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 fi
29559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29561 else
29562 # Is the header compilable?
29563 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29564 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29565 cat >conftest.$ac_ext <<_ACEOF
29566 #line $LINENO "configure"
29567 /* confdefs.h. */
29568 _ACEOF
29569 cat confdefs.h >>conftest.$ac_ext
29570 cat >>conftest.$ac_ext <<_ACEOF
29571 /* end confdefs.h. */
29572 $ac_includes_default
29573 #include <$ac_header>
29574 _ACEOF
29575 rm -f conftest.$ac_objext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29577 (eval $ac_compile) 2>&5
29578 ac_status=$?
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); } &&
29581 { ac_try='test -s conftest.$ac_objext'
29582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29583 (eval $ac_try) 2>&5
29584 ac_status=$?
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); }; }; then
29587 ac_header_compiler=yes
29588 else
29589 echo "$as_me: failed program was:" >&5
29590 sed 's/^/| /' conftest.$ac_ext >&5
29591
29592 ac_header_compiler=no
29593 fi
29594 rm -f conftest.$ac_objext conftest.$ac_ext
29595 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29596 echo "${ECHO_T}$ac_header_compiler" >&6
29597
29598 # Is the header present?
29599 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29600 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29601 cat >conftest.$ac_ext <<_ACEOF
29602 #line $LINENO "configure"
29603 /* confdefs.h. */
29604 _ACEOF
29605 cat confdefs.h >>conftest.$ac_ext
29606 cat >>conftest.$ac_ext <<_ACEOF
29607 /* end confdefs.h. */
29608 #include <$ac_header>
29609 _ACEOF
29610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29612 ac_status=$?
29613 grep -v '^ *+' conftest.er1 >conftest.err
29614 rm -f conftest.er1
29615 cat conftest.err >&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); } >/dev/null; then
29618 if test -s conftest.err; then
29619 ac_cpp_err=$ac_c_preproc_warn_flag
29620 else
29621 ac_cpp_err=
29622 fi
29623 else
29624 ac_cpp_err=yes
29625 fi
29626 if test -z "$ac_cpp_err"; then
29627 ac_header_preproc=yes
29628 else
29629 echo "$as_me: failed program was:" >&5
29630 sed 's/^/| /' conftest.$ac_ext >&5
29631
29632 ac_header_preproc=no
29633 fi
29634 rm -f conftest.err conftest.$ac_ext
29635 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29636 echo "${ECHO_T}$ac_header_preproc" >&6
29637
29638 # So? What about this header?
29639 case $ac_header_compiler:$ac_header_preproc in
29640 yes:no )
29641 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29642 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29645 (
29646 cat <<\_ASBOX
29647 ## ------------------------------------ ##
29648 ## Report this to bug-autoconf@gnu.org. ##
29649 ## ------------------------------------ ##
29650 _ASBOX
29651 ) |
29652 sed "s/^/$as_me: WARNING: /" >&2
29653 ;;
29654 no:yes )
29655 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29656 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29657 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29658 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29661 (
29662 cat <<\_ASBOX
29663 ## ------------------------------------ ##
29664 ## Report this to bug-autoconf@gnu.org. ##
29665 ## ------------------------------------ ##
29666 _ASBOX
29667 ) |
29668 sed "s/^/$as_me: WARNING: /" >&2
29669 ;;
29670 esac
29671 echo "$as_me:$LINENO: checking for $ac_header" >&5
29672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29674 echo $ECHO_N "(cached) $ECHO_C" >&6
29675 else
29676 eval "$as_ac_Header=$ac_header_preproc"
29677 fi
29678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29680
29681 fi
29682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29683 cat >>confdefs.h <<_ACEOF
29684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29685 _ACEOF
29686
29687 fi
29688
29689 done
29690
29691 if test "$ac_cv_header_sched_h" = "yes"; then
29692 echo "$as_me:$LINENO: checking for sched_yield" >&5
29693 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29694 if test "${ac_cv_func_sched_yield+set}" = set; then
29695 echo $ECHO_N "(cached) $ECHO_C" >&6
29696 else
29697 cat >conftest.$ac_ext <<_ACEOF
29698 #line $LINENO "configure"
29699 /* confdefs.h. */
29700 _ACEOF
29701 cat confdefs.h >>conftest.$ac_ext
29702 cat >>conftest.$ac_ext <<_ACEOF
29703 /* end confdefs.h. */
29704 /* System header to define __stub macros and hopefully few prototypes,
29705 which can conflict with char sched_yield (); below.
29706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29707 <limits.h> exists even on freestanding compilers. */
29708 #ifdef __STDC__
29709 # include <limits.h>
29710 #else
29711 # include <assert.h>
29712 #endif
29713 /* Override any gcc2 internal prototype to avoid an error. */
29714 #ifdef __cplusplus
29715 extern "C"
29716 {
29717 #endif
29718 /* We use char because int might match the return type of a gcc2
29719 builtin and then its argument prototype would still apply. */
29720 char sched_yield ();
29721 /* The GNU C library defines this for functions which it implements
29722 to always fail with ENOSYS. Some functions are actually named
29723 something starting with __ and the normal name is an alias. */
29724 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29725 choke me
29726 #else
29727 char (*f) () = sched_yield;
29728 #endif
29729 #ifdef __cplusplus
29730 }
29731 #endif
29732
29733 int
29734 main ()
29735 {
29736 return f != sched_yield;
29737 ;
29738 return 0;
29739 }
29740 _ACEOF
29741 rm -f conftest.$ac_objext conftest$ac_exeext
29742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29743 (eval $ac_link) 2>&5
29744 ac_status=$?
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } &&
29747 { ac_try='test -s conftest$ac_exeext'
29748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29749 (eval $ac_try) 2>&5
29750 ac_status=$?
29751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 (exit $ac_status); }; }; then
29753 ac_cv_func_sched_yield=yes
29754 else
29755 echo "$as_me: failed program was:" >&5
29756 sed 's/^/| /' conftest.$ac_ext >&5
29757
29758 ac_cv_func_sched_yield=no
29759 fi
29760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29761 fi
29762 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29763 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29764 if test $ac_cv_func_sched_yield = yes; then
29765 cat >>confdefs.h <<\_ACEOF
29766 #define HAVE_SCHED_YIELD 1
29767 _ACEOF
29768
29769 else
29770
29771 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29772 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29773 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29774 echo $ECHO_N "(cached) $ECHO_C" >&6
29775 else
29776 ac_check_lib_save_LIBS=$LIBS
29777 LIBS="-lposix4 $LIBS"
29778 cat >conftest.$ac_ext <<_ACEOF
29779 #line $LINENO "configure"
29780 /* confdefs.h. */
29781 _ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29785
29786 /* Override any gcc2 internal prototype to avoid an error. */
29787 #ifdef __cplusplus
29788 extern "C"
29789 #endif
29790 /* We use char because int might match the return type of a gcc2
29791 builtin and then its argument prototype would still apply. */
29792 char sched_yield ();
29793 int
29794 main ()
29795 {
29796 sched_yield ();
29797 ;
29798 return 0;
29799 }
29800 _ACEOF
29801 rm -f conftest.$ac_objext conftest$ac_exeext
29802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29803 (eval $ac_link) 2>&5
29804 ac_status=$?
29805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806 (exit $ac_status); } &&
29807 { ac_try='test -s conftest$ac_exeext'
29808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29809 (eval $ac_try) 2>&5
29810 ac_status=$?
29811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812 (exit $ac_status); }; }; then
29813 ac_cv_lib_posix4_sched_yield=yes
29814 else
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29817
29818 ac_cv_lib_posix4_sched_yield=no
29819 fi
29820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29821 LIBS=$ac_check_lib_save_LIBS
29822 fi
29823 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29824 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29825 if test $ac_cv_lib_posix4_sched_yield = yes; then
29826 cat >>confdefs.h <<\_ACEOF
29827 #define HAVE_SCHED_YIELD 1
29828 _ACEOF
29829 POSIX4_LINK=" -lposix4"
29830 else
29831 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29832 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29833
29834 fi
29835
29836
29837
29838 fi
29839
29840 fi
29841
29842 HAVE_PRIOR_FUNCS=0
29843 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29844 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29845 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29846 echo $ECHO_N "(cached) $ECHO_C" >&6
29847 else
29848 cat >conftest.$ac_ext <<_ACEOF
29849 #line $LINENO "configure"
29850 /* confdefs.h. */
29851 _ACEOF
29852 cat confdefs.h >>conftest.$ac_ext
29853 cat >>conftest.$ac_ext <<_ACEOF
29854 /* end confdefs.h. */
29855 /* System header to define __stub macros and hopefully few prototypes,
29856 which can conflict with char pthread_attr_getschedpolicy (); below.
29857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29858 <limits.h> exists even on freestanding compilers. */
29859 #ifdef __STDC__
29860 # include <limits.h>
29861 #else
29862 # include <assert.h>
29863 #endif
29864 /* Override any gcc2 internal prototype to avoid an error. */
29865 #ifdef __cplusplus
29866 extern "C"
29867 {
29868 #endif
29869 /* We use char because int might match the return type of a gcc2
29870 builtin and then its argument prototype would still apply. */
29871 char pthread_attr_getschedpolicy ();
29872 /* The GNU C library defines this for functions which it implements
29873 to always fail with ENOSYS. Some functions are actually named
29874 something starting with __ and the normal name is an alias. */
29875 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29876 choke me
29877 #else
29878 char (*f) () = pthread_attr_getschedpolicy;
29879 #endif
29880 #ifdef __cplusplus
29881 }
29882 #endif
29883
29884 int
29885 main ()
29886 {
29887 return f != pthread_attr_getschedpolicy;
29888 ;
29889 return 0;
29890 }
29891 _ACEOF
29892 rm -f conftest.$ac_objext conftest$ac_exeext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29894 (eval $ac_link) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } &&
29898 { ac_try='test -s conftest$ac_exeext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904 ac_cv_func_pthread_attr_getschedpolicy=yes
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 ac_cv_func_pthread_attr_getschedpolicy=no
29910 fi
29911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29912 fi
29913 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29914 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29915 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29916 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29917 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29918 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29919 echo $ECHO_N "(cached) $ECHO_C" >&6
29920 else
29921 cat >conftest.$ac_ext <<_ACEOF
29922 #line $LINENO "configure"
29923 /* confdefs.h. */
29924 _ACEOF
29925 cat confdefs.h >>conftest.$ac_ext
29926 cat >>conftest.$ac_ext <<_ACEOF
29927 /* end confdefs.h. */
29928 /* System header to define __stub macros and hopefully few prototypes,
29929 which can conflict with char pthread_attr_setschedparam (); below.
29930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29931 <limits.h> exists even on freestanding compilers. */
29932 #ifdef __STDC__
29933 # include <limits.h>
29934 #else
29935 # include <assert.h>
29936 #endif
29937 /* Override any gcc2 internal prototype to avoid an error. */
29938 #ifdef __cplusplus
29939 extern "C"
29940 {
29941 #endif
29942 /* We use char because int might match the return type of a gcc2
29943 builtin and then its argument prototype would still apply. */
29944 char pthread_attr_setschedparam ();
29945 /* The GNU C library defines this for functions which it implements
29946 to always fail with ENOSYS. Some functions are actually named
29947 something starting with __ and the normal name is an alias. */
29948 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29949 choke me
29950 #else
29951 char (*f) () = pthread_attr_setschedparam;
29952 #endif
29953 #ifdef __cplusplus
29954 }
29955 #endif
29956
29957 int
29958 main ()
29959 {
29960 return f != pthread_attr_setschedparam;
29961 ;
29962 return 0;
29963 }
29964 _ACEOF
29965 rm -f conftest.$ac_objext conftest$ac_exeext
29966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29967 (eval $ac_link) 2>&5
29968 ac_status=$?
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } &&
29971 { ac_try='test -s conftest$ac_exeext'
29972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29973 (eval $ac_try) 2>&5
29974 ac_status=$?
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); }; }; then
29977 ac_cv_func_pthread_attr_setschedparam=yes
29978 else
29979 echo "$as_me: failed program was:" >&5
29980 sed 's/^/| /' conftest.$ac_ext >&5
29981
29982 ac_cv_func_pthread_attr_setschedparam=no
29983 fi
29984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29985 fi
29986 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29987 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29988 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29989 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29990 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29991 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29992 echo $ECHO_N "(cached) $ECHO_C" >&6
29993 else
29994 cat >conftest.$ac_ext <<_ACEOF
29995 #line $LINENO "configure"
29996 /* confdefs.h. */
29997 _ACEOF
29998 cat confdefs.h >>conftest.$ac_ext
29999 cat >>conftest.$ac_ext <<_ACEOF
30000 /* end confdefs.h. */
30001 /* System header to define __stub macros and hopefully few prototypes,
30002 which can conflict with char sched_get_priority_max (); below.
30003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30004 <limits.h> exists even on freestanding compilers. */
30005 #ifdef __STDC__
30006 # include <limits.h>
30007 #else
30008 # include <assert.h>
30009 #endif
30010 /* Override any gcc2 internal prototype to avoid an error. */
30011 #ifdef __cplusplus
30012 extern "C"
30013 {
30014 #endif
30015 /* We use char because int might match the return type of a gcc2
30016 builtin and then its argument prototype would still apply. */
30017 char sched_get_priority_max ();
30018 /* The GNU C library defines this for functions which it implements
30019 to always fail with ENOSYS. Some functions are actually named
30020 something starting with __ and the normal name is an alias. */
30021 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
30022 choke me
30023 #else
30024 char (*f) () = sched_get_priority_max;
30025 #endif
30026 #ifdef __cplusplus
30027 }
30028 #endif
30029
30030 int
30031 main ()
30032 {
30033 return f != sched_get_priority_max;
30034 ;
30035 return 0;
30036 }
30037 _ACEOF
30038 rm -f conftest.$ac_objext conftest$ac_exeext
30039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30040 (eval $ac_link) 2>&5
30041 ac_status=$?
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); } &&
30044 { ac_try='test -s conftest$ac_exeext'
30045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30046 (eval $ac_try) 2>&5
30047 ac_status=$?
30048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30049 (exit $ac_status); }; }; then
30050 ac_cv_func_sched_get_priority_max=yes
30051 else
30052 echo "$as_me: failed program was:" >&5
30053 sed 's/^/| /' conftest.$ac_ext >&5
30054
30055 ac_cv_func_sched_get_priority_max=no
30056 fi
30057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30058 fi
30059 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
30060 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
30061 if test $ac_cv_func_sched_get_priority_max = yes; then
30062 HAVE_PRIOR_FUNCS=1
30063 else
30064 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
30065 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
30066 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
30067 echo $ECHO_N "(cached) $ECHO_C" >&6
30068 else
30069 ac_check_lib_save_LIBS=$LIBS
30070 LIBS="-lposix4 $LIBS"
30071 cat >conftest.$ac_ext <<_ACEOF
30072 #line $LINENO "configure"
30073 /* confdefs.h. */
30074 _ACEOF
30075 cat confdefs.h >>conftest.$ac_ext
30076 cat >>conftest.$ac_ext <<_ACEOF
30077 /* end confdefs.h. */
30078
30079 /* Override any gcc2 internal prototype to avoid an error. */
30080 #ifdef __cplusplus
30081 extern "C"
30082 #endif
30083 /* We use char because int might match the return type of a gcc2
30084 builtin and then its argument prototype would still apply. */
30085 char sched_get_priority_max ();
30086 int
30087 main ()
30088 {
30089 sched_get_priority_max ();
30090 ;
30091 return 0;
30092 }
30093 _ACEOF
30094 rm -f conftest.$ac_objext conftest$ac_exeext
30095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30096 (eval $ac_link) 2>&5
30097 ac_status=$?
30098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30099 (exit $ac_status); } &&
30100 { ac_try='test -s conftest$ac_exeext'
30101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30102 (eval $ac_try) 2>&5
30103 ac_status=$?
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); }; }; then
30106 ac_cv_lib_posix4_sched_get_priority_max=yes
30107 else
30108 echo "$as_me: failed program was:" >&5
30109 sed 's/^/| /' conftest.$ac_ext >&5
30110
30111 ac_cv_lib_posix4_sched_get_priority_max=no
30112 fi
30113 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30114 LIBS=$ac_check_lib_save_LIBS
30115 fi
30116 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30117 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30118 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30119
30120 HAVE_PRIOR_FUNCS=1
30121 POSIX4_LINK=" -lposix4"
30122
30123 fi
30124
30125
30126 fi
30127
30128
30129 fi
30130
30131
30132 fi
30133
30134
30135 if test "$HAVE_PRIOR_FUNCS" = 1; then
30136 cat >>confdefs.h <<\_ACEOF
30137 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30138 _ACEOF
30139
30140 else
30141 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30142 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30143 fi
30144
30145 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30146 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30147 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30149 else
30150 cat >conftest.$ac_ext <<_ACEOF
30151 #line $LINENO "configure"
30152 /* confdefs.h. */
30153 _ACEOF
30154 cat confdefs.h >>conftest.$ac_ext
30155 cat >>conftest.$ac_ext <<_ACEOF
30156 /* end confdefs.h. */
30157 /* System header to define __stub macros and hopefully few prototypes,
30158 which can conflict with char pthread_cancel (); below.
30159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30160 <limits.h> exists even on freestanding compilers. */
30161 #ifdef __STDC__
30162 # include <limits.h>
30163 #else
30164 # include <assert.h>
30165 #endif
30166 /* Override any gcc2 internal prototype to avoid an error. */
30167 #ifdef __cplusplus
30168 extern "C"
30169 {
30170 #endif
30171 /* We use char because int might match the return type of a gcc2
30172 builtin and then its argument prototype would still apply. */
30173 char pthread_cancel ();
30174 /* The GNU C library defines this for functions which it implements
30175 to always fail with ENOSYS. Some functions are actually named
30176 something starting with __ and the normal name is an alias. */
30177 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30178 choke me
30179 #else
30180 char (*f) () = pthread_cancel;
30181 #endif
30182 #ifdef __cplusplus
30183 }
30184 #endif
30185
30186 int
30187 main ()
30188 {
30189 return f != pthread_cancel;
30190 ;
30191 return 0;
30192 }
30193 _ACEOF
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30196 (eval $ac_link) 2>&5
30197 ac_status=$?
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); } &&
30200 { ac_try='test -s conftest$ac_exeext'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30203 ac_status=$?
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; }; then
30206 ac_cv_func_pthread_cancel=yes
30207 else
30208 echo "$as_me: failed program was:" >&5
30209 sed 's/^/| /' conftest.$ac_ext >&5
30210
30211 ac_cv_func_pthread_cancel=no
30212 fi
30213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30214 fi
30215 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30216 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30217 if test $ac_cv_func_pthread_cancel = yes; then
30218 cat >>confdefs.h <<\_ACEOF
30219 #define HAVE_PTHREAD_CANCEL 1
30220 _ACEOF
30221
30222 else
30223 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30224 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30225 fi
30226
30227
30228
30229
30230 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30231 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30232 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30233 echo $ECHO_N "(cached) $ECHO_C" >&6
30234 else
30235
30236 cat >conftest.$ac_ext <<_ACEOF
30237 #line $LINENO "configure"
30238 /* confdefs.h. */
30239 _ACEOF
30240 cat confdefs.h >>conftest.$ac_ext
30241 cat >>conftest.$ac_ext <<_ACEOF
30242 /* end confdefs.h. */
30243 #include <pthread.h>
30244 int
30245 main ()
30246 {
30247
30248 pthread_mutexattr_t attr;
30249 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30250
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 rm -f conftest.$ac_objext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30257 (eval $ac_compile) 2>&5
30258 ac_status=$?
30259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30260 (exit $ac_status); } &&
30261 { ac_try='test -s conftest.$ac_objext'
30262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30263 (eval $ac_try) 2>&5
30264 ac_status=$?
30265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30266 (exit $ac_status); }; }; then
30267
30268 wx_cv_type_pthread_mutexattr_t=yes
30269
30270 else
30271 echo "$as_me: failed program was:" >&5
30272 sed 's/^/| /' conftest.$ac_ext >&5
30273
30274
30275 wx_cv_type_pthread_mutexattr_t=no
30276
30277
30278 fi
30279 rm -f conftest.$ac_objext conftest.$ac_ext
30280
30281 fi
30282 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30283 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30284
30285 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30286 cat >>confdefs.h <<\_ACEOF
30287 #define HAVE_PTHREAD_MUTEXATTR_T 1
30288 _ACEOF
30289
30290 else
30291 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30292 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30293 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30294 echo $ECHO_N "(cached) $ECHO_C" >&6
30295 else
30296
30297 cat >conftest.$ac_ext <<_ACEOF
30298 #line $LINENO "configure"
30299 /* confdefs.h. */
30300 _ACEOF
30301 cat confdefs.h >>conftest.$ac_ext
30302 cat >>conftest.$ac_ext <<_ACEOF
30303 /* end confdefs.h. */
30304 #include <pthread.h>
30305 int
30306 main ()
30307 {
30308
30309 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30310
30311 ;
30312 return 0;
30313 }
30314 _ACEOF
30315 rm -f conftest.$ac_objext
30316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30317 (eval $ac_compile) 2>&5
30318 ac_status=$?
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); } &&
30321 { ac_try='test -s conftest.$ac_objext'
30322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30323 (eval $ac_try) 2>&5
30324 ac_status=$?
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); }; }; then
30327
30328 wx_cv_type_pthread_rec_mutex_init=yes
30329
30330 else
30331 echo "$as_me: failed program was:" >&5
30332 sed 's/^/| /' conftest.$ac_ext >&5
30333
30334
30335 wx_cv_type_pthread_rec_mutex_init=no
30336
30337
30338 fi
30339 rm -f conftest.$ac_objext conftest.$ac_ext
30340
30341 fi
30342 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30343 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30344 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30345 cat >>confdefs.h <<\_ACEOF
30346 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30347 _ACEOF
30348
30349 else
30350 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30351 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30352 fi
30353 fi
30354 fi
30355
30356 else
30357 if test "$wxUSE_THREADS" = "yes" ; then
30358 case "${host}" in
30359 *-*-mingw32* )
30360 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30361 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30362 if test "${wx_cv_cflags_mthread+set}" = set; then
30363 echo $ECHO_N "(cached) $ECHO_C" >&6
30364 else
30365
30366 CFLAGS_OLD="$CFLAGS"
30367 CFLAGS="$CFLAGS -mthreads"
30368 cat >conftest.$ac_ext <<_ACEOF
30369 #line $LINENO "configure"
30370 /* confdefs.h. */
30371 _ACEOF
30372 cat confdefs.h >>conftest.$ac_ext
30373 cat >>conftest.$ac_ext <<_ACEOF
30374 /* end confdefs.h. */
30375
30376 int
30377 main ()
30378 {
30379
30380 ;
30381 return 0;
30382 }
30383 _ACEOF
30384 rm -f conftest.$ac_objext
30385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30386 (eval $ac_compile) 2>&5
30387 ac_status=$?
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); } &&
30390 { ac_try='test -s conftest.$ac_objext'
30391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30392 (eval $ac_try) 2>&5
30393 ac_status=$?
30394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30395 (exit $ac_status); }; }; then
30396 wx_cv_cflags_mthread=yes
30397 else
30398 echo "$as_me: failed program was:" >&5
30399 sed 's/^/| /' conftest.$ac_ext >&5
30400
30401 wx_cv_cflags_mthread=no
30402
30403 fi
30404 rm -f conftest.$ac_objext conftest.$ac_ext
30405
30406
30407 fi
30408 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30409 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30410
30411 if test "$wx_cv_cflags_mthread" = "yes"; then
30412 CXXFLAGS="$CXXFLAGS -mthreads"
30413 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30414 LDFLAGS="$LDFLAGS -mthreads"
30415 else
30416 CFLAGS="$CFLAGS_OLD"
30417 fi
30418 ;;
30419 *-pc-os2*emx )
30420 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30421 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30422 LDFLAGS="$LDFLAGS -Zmt"
30423 ;;
30424 esac
30425 fi
30426 fi
30427
30428 if test "$wxUSE_THREADS" = "yes"; then
30429 cat >>confdefs.h <<\_ACEOF
30430 #define wxUSE_THREADS 1
30431 _ACEOF
30432
30433
30434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30435 else
30436 if test "$ac_cv_func_strtok_r" = "yes"; then
30437 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30438 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30439 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30440 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30441 echo "$as_me:$LINENO: result: yes" >&5
30442 echo "${ECHO_T}yes" >&6
30443 else
30444 echo "$as_me:$LINENO: result: no" >&5
30445 echo "${ECHO_T}no" >&6
30446 fi
30447 fi
30448 fi
30449
30450 if test "$WXGTK20" = 1 ; then
30451 cat >>confdefs.h <<_ACEOF
30452 #define __WXGTK20__ $WXGTK20
30453 _ACEOF
30454
30455 WXGTK12=1
30456 fi
30457
30458 if test "$WXGTK12" = 1 ; then
30459 cat >>confdefs.h <<_ACEOF
30460 #define __WXGTK12__ $WXGTK12
30461 _ACEOF
30462
30463 fi
30464
30465 if test "$WXGTK127" = 1 ; then
30466 cat >>confdefs.h <<_ACEOF
30467 #define __WXGTK127__ $WXGTK127
30468 _ACEOF
30469
30470 fi
30471
30472 WXDEBUG=
30473
30474 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30475 WXDEBUG="-g"
30476 wxUSE_OPTIMISE=no
30477 fi
30478
30479 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30480 wxUSE_DEBUG_INFO=yes
30481 WXDEBUG="-ggdb"
30482 fi
30483
30484 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30485 cat >>confdefs.h <<\_ACEOF
30486 #define WXDEBUG 1
30487 _ACEOF
30488
30489 WXDEBUG_DEFINE="-D__WXDEBUG__"
30490 else
30491 if test "$wxUSE_GTK" = 1 ; then
30492 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30493 fi
30494 fi
30495
30496 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30497 cat >>confdefs.h <<\_ACEOF
30498 #define wxUSE_MEMORY_TRACING 1
30499 _ACEOF
30500
30501 cat >>confdefs.h <<\_ACEOF
30502 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30503 _ACEOF
30504
30505 cat >>confdefs.h <<\_ACEOF
30506 #define wxUSE_DEBUG_NEW_ALWAYS 1
30507 _ACEOF
30508
30509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30510 fi
30511
30512 if test "$wxUSE_DMALLOC" = "yes" ; then
30513 DMALLOC_LIBS="-ldmalloc"
30514 fi
30515
30516 PROFILE=
30517 if test "$wxUSE_PROFILE" = "yes" ; then
30518 PROFILE=" -pg"
30519 fi
30520
30521 CODE_GEN_FLAGS=
30522 CODE_GEN_FLAGS_CXX=
30523 if test "$GCC" = "yes" ; then
30524 if test "$wxUSE_NO_RTTI" = "yes" ; then
30525 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30526 fi
30527 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30528 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30529 fi
30530 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30531 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30532 fi
30533
30534 case "${host}" in
30535 powerpc*-*-aix* )
30536 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30537 ;;
30538 *-hppa* )
30539 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30540 ;;
30541 esac
30542 fi
30543
30544 OPTIMISE=
30545 if test "$wxUSE_OPTIMISE" = "no" ; then
30546 if test "$GCC" = yes ; then
30547 OPTIMISE="-O0"
30548 fi
30549 else
30550 if test "$GCC" = yes ; then
30551 OPTIMISE="-O2"
30552
30553 case "${host}" in
30554 i586-*-*|i686-*-* )
30555 OPTIMISE="${OPTIMISE} "
30556 ;;
30557 esac
30558 else
30559 OPTIMISE="-O"
30560 fi
30561 fi
30562
30563
30564 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30565 cat >>confdefs.h <<\_ACEOF
30566 #define WXWIN_COMPATIBILITY_2_2 1
30567 _ACEOF
30568
30569
30570 WXWIN_COMPATIBILITY_2_4="yes"
30571 fi
30572
30573 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30574 cat >>confdefs.h <<\_ACEOF
30575 #define WXWIN_COMPATIBILITY_2_4 1
30576 _ACEOF
30577
30578 fi
30579
30580
30581 if test "$wxUSE_GUI" = "yes"; then
30582 cat >>confdefs.h <<\_ACEOF
30583 #define wxUSE_GUI 1
30584 _ACEOF
30585
30586
30587 else
30588 cat >>confdefs.h <<\_ACEOF
30589 #define wxUSE_NOGUI 1
30590 _ACEOF
30591
30592 fi
30593
30594
30595 if test "$wxUSE_UNIX" = "yes"; then
30596 cat >>confdefs.h <<\_ACEOF
30597 #define wxUSE_UNIX 1
30598 _ACEOF
30599
30600 fi
30601
30602
30603 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
30604
30605 HAVE_DL_FUNCS=0
30606 HAVE_SHL_FUNCS=0
30607 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
30608 if test "$USE_DARWIN" = 1; then
30609 HAVE_DL_FUNCS=1
30610 else
30611
30612 for ac_func in dlopen
30613 do
30614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30615 echo "$as_me:$LINENO: checking for $ac_func" >&5
30616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30617 if eval "test \"\${$as_ac_var+set}\" = set"; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30620 cat >conftest.$ac_ext <<_ACEOF
30621 #line $LINENO "configure"
30622 /* confdefs.h. */
30623 _ACEOF
30624 cat confdefs.h >>conftest.$ac_ext
30625 cat >>conftest.$ac_ext <<_ACEOF
30626 /* end confdefs.h. */
30627 /* System header to define __stub macros and hopefully few prototypes,
30628 which can conflict with char $ac_func (); below.
30629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30630 <limits.h> exists even on freestanding compilers. */
30631 #ifdef __STDC__
30632 # include <limits.h>
30633 #else
30634 # include <assert.h>
30635 #endif
30636 /* Override any gcc2 internal prototype to avoid an error. */
30637 #ifdef __cplusplus
30638 extern "C"
30639 {
30640 #endif
30641 /* We use char because int might match the return type of a gcc2
30642 builtin and then its argument prototype would still apply. */
30643 char $ac_func ();
30644 /* The GNU C library defines this for functions which it implements
30645 to always fail with ENOSYS. Some functions are actually named
30646 something starting with __ and the normal name is an alias. */
30647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30648 choke me
30649 #else
30650 char (*f) () = $ac_func;
30651 #endif
30652 #ifdef __cplusplus
30653 }
30654 #endif
30655
30656 int
30657 main ()
30658 {
30659 return f != $ac_func;
30660 ;
30661 return 0;
30662 }
30663 _ACEOF
30664 rm -f conftest.$ac_objext conftest$ac_exeext
30665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30666 (eval $ac_link) 2>&5
30667 ac_status=$?
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); } &&
30670 { ac_try='test -s conftest$ac_exeext'
30671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30672 (eval $ac_try) 2>&5
30673 ac_status=$?
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); }; }; then
30676 eval "$as_ac_var=yes"
30677 else
30678 echo "$as_me: failed program was:" >&5
30679 sed 's/^/| /' conftest.$ac_ext >&5
30680
30681 eval "$as_ac_var=no"
30682 fi
30683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30684 fi
30685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30687 if test `eval echo '${'$as_ac_var'}'` = yes; then
30688 cat >>confdefs.h <<_ACEOF
30689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30690 _ACEOF
30691
30692 cat >>confdefs.h <<\_ACEOF
30693 #define HAVE_DLOPEN 1
30694 _ACEOF
30695
30696 HAVE_DL_FUNCS=1
30697
30698 else
30699
30700 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
30701 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
30702 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
30703 echo $ECHO_N "(cached) $ECHO_C" >&6
30704 else
30705 ac_check_lib_save_LIBS=$LIBS
30706 LIBS="-ldl $LIBS"
30707 cat >conftest.$ac_ext <<_ACEOF
30708 #line $LINENO "configure"
30709 /* confdefs.h. */
30710 _ACEOF
30711 cat confdefs.h >>conftest.$ac_ext
30712 cat >>conftest.$ac_ext <<_ACEOF
30713 /* end confdefs.h. */
30714
30715 /* Override any gcc2 internal prototype to avoid an error. */
30716 #ifdef __cplusplus
30717 extern "C"
30718 #endif
30719 /* We use char because int might match the return type of a gcc2
30720 builtin and then its argument prototype would still apply. */
30721 char dlopen ();
30722 int
30723 main ()
30724 {
30725 dlopen ();
30726 ;
30727 return 0;
30728 }
30729 _ACEOF
30730 rm -f conftest.$ac_objext conftest$ac_exeext
30731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30732 (eval $ac_link) 2>&5
30733 ac_status=$?
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); } &&
30736 { ac_try='test -s conftest$ac_exeext'
30737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30738 (eval $ac_try) 2>&5
30739 ac_status=$?
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); }; }; then
30742 ac_cv_lib_dl_dlopen=yes
30743 else
30744 echo "$as_me: failed program was:" >&5
30745 sed 's/^/| /' conftest.$ac_ext >&5
30746
30747 ac_cv_lib_dl_dlopen=no
30748 fi
30749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30750 LIBS=$ac_check_lib_save_LIBS
30751 fi
30752 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
30753 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
30754 if test $ac_cv_lib_dl_dlopen = yes; then
30755
30756 cat >>confdefs.h <<\_ACEOF
30757 #define HAVE_DLOPEN 1
30758 _ACEOF
30759
30760 HAVE_DL_FUNCS=1
30761 DL_LINK=" -ldl$DL_LINK"
30762
30763 else
30764
30765
30766 for ac_func in shl_load
30767 do
30768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30769 echo "$as_me:$LINENO: checking for $ac_func" >&5
30770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30771 if eval "test \"\${$as_ac_var+set}\" = set"; then
30772 echo $ECHO_N "(cached) $ECHO_C" >&6
30773 else
30774 cat >conftest.$ac_ext <<_ACEOF
30775 #line $LINENO "configure"
30776 /* confdefs.h. */
30777 _ACEOF
30778 cat confdefs.h >>conftest.$ac_ext
30779 cat >>conftest.$ac_ext <<_ACEOF
30780 /* end confdefs.h. */
30781 /* System header to define __stub macros and hopefully few prototypes,
30782 which can conflict with char $ac_func (); below.
30783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30784 <limits.h> exists even on freestanding compilers. */
30785 #ifdef __STDC__
30786 # include <limits.h>
30787 #else
30788 # include <assert.h>
30789 #endif
30790 /* Override any gcc2 internal prototype to avoid an error. */
30791 #ifdef __cplusplus
30792 extern "C"
30793 {
30794 #endif
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30797 char $ac_func ();
30798 /* The GNU C library defines this for functions which it implements
30799 to always fail with ENOSYS. Some functions are actually named
30800 something starting with __ and the normal name is an alias. */
30801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30802 choke me
30803 #else
30804 char (*f) () = $ac_func;
30805 #endif
30806 #ifdef __cplusplus
30807 }
30808 #endif
30809
30810 int
30811 main ()
30812 {
30813 return f != $ac_func;
30814 ;
30815 return 0;
30816 }
30817 _ACEOF
30818 rm -f conftest.$ac_objext conftest$ac_exeext
30819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30820 (eval $ac_link) 2>&5
30821 ac_status=$?
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); } &&
30824 { ac_try='test -s conftest$ac_exeext'
30825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30826 (eval $ac_try) 2>&5
30827 ac_status=$?
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); }; }; then
30830 eval "$as_ac_var=yes"
30831 else
30832 echo "$as_me: failed program was:" >&5
30833 sed 's/^/| /' conftest.$ac_ext >&5
30834
30835 eval "$as_ac_var=no"
30836 fi
30837 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30838 fi
30839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30841 if test `eval echo '${'$as_ac_var'}'` = yes; then
30842 cat >>confdefs.h <<_ACEOF
30843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30844 _ACEOF
30845
30846 cat >>confdefs.h <<\_ACEOF
30847 #define HAVE_SHL_LOAD 1
30848 _ACEOF
30849
30850 HAVE_SHL_FUNCS=1
30851
30852 else
30853
30854 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
30855 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
30856 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
30857 echo $ECHO_N "(cached) $ECHO_C" >&6
30858 else
30859 ac_check_lib_save_LIBS=$LIBS
30860 LIBS="-lshl_load $LIBS"
30861 cat >conftest.$ac_ext <<_ACEOF
30862 #line $LINENO "configure"
30863 /* confdefs.h. */
30864 _ACEOF
30865 cat confdefs.h >>conftest.$ac_ext
30866 cat >>conftest.$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30868
30869 /* Override any gcc2 internal prototype to avoid an error. */
30870 #ifdef __cplusplus
30871 extern "C"
30872 #endif
30873 /* We use char because int might match the return type of a gcc2
30874 builtin and then its argument prototype would still apply. */
30875 char dld ();
30876 int
30877 main ()
30878 {
30879 dld ();
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 rm -f conftest.$ac_objext conftest$ac_exeext
30885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30886 (eval $ac_link) 2>&5
30887 ac_status=$?
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); } &&
30890 { ac_try='test -s conftest$ac_exeext'
30891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30892 (eval $ac_try) 2>&5
30893 ac_status=$?
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); }; }; then
30896 ac_cv_lib_shl_load_dld=yes
30897 else
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.$ac_ext >&5
30900
30901 ac_cv_lib_shl_load_dld=no
30902 fi
30903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30904 LIBS=$ac_check_lib_save_LIBS
30905 fi
30906 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
30907 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
30908 if test $ac_cv_lib_shl_load_dld = yes; then
30909
30910 HAVE_SHL_FUNCS=1
30911 DL_LINK=" -ldld$DL_LINK"
30912
30913 fi
30914
30915
30916 fi
30917 done
30918
30919
30920 fi
30921
30922
30923 fi
30924 done
30925
30926
30927 if test "$HAVE_DL_FUNCS" = 1; then
30928
30929 for ac_func in dlerror
30930 do
30931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30932 echo "$as_me:$LINENO: checking for $ac_func" >&5
30933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30934 if eval "test \"\${$as_ac_var+set}\" = set"; then
30935 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 else
30937 cat >conftest.$ac_ext <<_ACEOF
30938 #line $LINENO "configure"
30939 /* confdefs.h. */
30940 _ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30944 /* System header to define __stub macros and hopefully few prototypes,
30945 which can conflict with char $ac_func (); below.
30946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30947 <limits.h> exists even on freestanding compilers. */
30948 #ifdef __STDC__
30949 # include <limits.h>
30950 #else
30951 # include <assert.h>
30952 #endif
30953 /* Override any gcc2 internal prototype to avoid an error. */
30954 #ifdef __cplusplus
30955 extern "C"
30956 {
30957 #endif
30958 /* We use char because int might match the return type of a gcc2
30959 builtin and then its argument prototype would still apply. */
30960 char $ac_func ();
30961 /* The GNU C library defines this for functions which it implements
30962 to always fail with ENOSYS. Some functions are actually named
30963 something starting with __ and the normal name is an alias. */
30964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30965 choke me
30966 #else
30967 char (*f) () = $ac_func;
30968 #endif
30969 #ifdef __cplusplus
30970 }
30971 #endif
30972
30973 int
30974 main ()
30975 {
30976 return f != $ac_func;
30977 ;
30978 return 0;
30979 }
30980 _ACEOF
30981 rm -f conftest.$ac_objext conftest$ac_exeext
30982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30983 (eval $ac_link) 2>&5
30984 ac_status=$?
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); } &&
30987 { ac_try='test -s conftest$ac_exeext'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30990 ac_status=$?
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993 eval "$as_ac_var=yes"
30994 else
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.$ac_ext >&5
30997
30998 eval "$as_ac_var=no"
30999 fi
31000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31001 fi
31002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31004 if test `eval echo '${'$as_ac_var'}'` = yes; then
31005 cat >>confdefs.h <<_ACEOF
31006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31007 _ACEOF
31008 cat >>confdefs.h <<\_ACEOF
31009 #define HAVE_DLERROR 1
31010 _ACEOF
31011
31012 else
31013
31014 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31015 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31016 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31018 else
31019 ac_check_lib_save_LIBS=$LIBS
31020 LIBS="-ldl $LIBS"
31021 cat >conftest.$ac_ext <<_ACEOF
31022 #line $LINENO "configure"
31023 /* confdefs.h. */
31024 _ACEOF
31025 cat confdefs.h >>conftest.$ac_ext
31026 cat >>conftest.$ac_ext <<_ACEOF
31027 /* end confdefs.h. */
31028
31029 /* Override any gcc2 internal prototype to avoid an error. */
31030 #ifdef __cplusplus
31031 extern "C"
31032 #endif
31033 /* We use char because int might match the return type of a gcc2
31034 builtin and then its argument prototype would still apply. */
31035 char dlerror ();
31036 int
31037 main ()
31038 {
31039 dlerror ();
31040 ;
31041 return 0;
31042 }
31043 _ACEOF
31044 rm -f conftest.$ac_objext conftest$ac_exeext
31045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31046 (eval $ac_link) 2>&5
31047 ac_status=$?
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); } &&
31050 { ac_try='test -s conftest$ac_exeext'
31051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31052 (eval $ac_try) 2>&5
31053 ac_status=$?
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); }; }; then
31056 ac_cv_lib_dl_dlerror=yes
31057 else
31058 echo "$as_me: failed program was:" >&5
31059 sed 's/^/| /' conftest.$ac_ext >&5
31060
31061 ac_cv_lib_dl_dlerror=no
31062 fi
31063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31064 LIBS=$ac_check_lib_save_LIBS
31065 fi
31066 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31067 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31068 if test $ac_cv_lib_dl_dlerror = yes; then
31069 cat >>confdefs.h <<\_ACEOF
31070 #define HAVE_DLERROR 1
31071 _ACEOF
31072
31073 fi
31074
31075
31076
31077 fi
31078 done
31079
31080 fi
31081 fi
31082
31083 if test "$HAVE_DL_FUNCS" = 0; then
31084 if test "$HAVE_SHL_FUNCS" = 0; then
31085 if test "$USE_UNIX" = 1; then
31086 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31087 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31088 wxUSE_DYNAMIC_LOADER=no
31089 wxUSE_DYNLIB_CLASS=no
31090 else
31091 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31092 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31093 fi
31094 fi
31095 fi
31096 fi
31097 fi
31098
31099 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31100 cat >>confdefs.h <<\_ACEOF
31101 #define wxUSE_DYNAMIC_LOADER 1
31102 _ACEOF
31103
31104 fi
31105 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31106 cat >>confdefs.h <<\_ACEOF
31107 #define wxUSE_DYNLIB_CLASS 1
31108 _ACEOF
31109
31110 fi
31111
31112
31113
31114 if test "$wxUSE_PLUGINS" = "yes" ; then
31115 if test "$wxUSE_SHARED" = "no" ; then
31116 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
31117 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
31118 wxUSE_PLUGINS=no
31119 fi
31120 if test "$wxUSE_MONOLITHIC" = "yes" ; then
31121 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
31122 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
31123 wxUSE_PLUGINS=no
31124 fi
31125 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
31126 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
31127 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
31128 wxUSE_PLUGINS=no
31129 fi
31130 if test "$wxUSE_PLUGINS" = "yes" ; then
31131 cat >>confdefs.h <<\_ACEOF
31132 #define wxUSE_PLUGINS 1
31133 _ACEOF
31134
31135 fi
31136 fi
31137
31138
31139 if test "$wxUSE_STL" = "yes"; then
31140 cat >>confdefs.h <<\_ACEOF
31141 #define wxUSE_STL 1
31142 _ACEOF
31143
31144 fi
31145
31146 if test "$wxUSE_APPLE_IEEE" = "yes"; then
31147 cat >>confdefs.h <<\_ACEOF
31148 #define wxUSE_APPLE_IEEE 1
31149 _ACEOF
31150
31151 fi
31152
31153 if test "$wxUSE_TIMER" = "yes"; then
31154 cat >>confdefs.h <<\_ACEOF
31155 #define wxUSE_TIMER 1
31156 _ACEOF
31157
31158 fi
31159
31160 WITH_PLUGIN_SDL=0
31161 if test "$wxUSE_SOUND" = "yes"; then
31162 if test "$USE_UNIX" = "1" ; then
31163
31164 for ac_header in sys/soundcard.h
31165 do
31166 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31168 echo "$as_me:$LINENO: checking for $ac_header" >&5
31169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31171 echo $ECHO_N "(cached) $ECHO_C" >&6
31172 fi
31173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31175 else
31176 # Is the header compilable?
31177 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31178 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31179 cat >conftest.$ac_ext <<_ACEOF
31180 #line $LINENO "configure"
31181 /* confdefs.h. */
31182 _ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31186 $ac_includes_default
31187 #include <$ac_header>
31188 _ACEOF
31189 rm -f conftest.$ac_objext
31190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31191 (eval $ac_compile) 2>&5
31192 ac_status=$?
31193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31194 (exit $ac_status); } &&
31195 { ac_try='test -s conftest.$ac_objext'
31196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 (eval $ac_try) 2>&5
31198 ac_status=$?
31199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 (exit $ac_status); }; }; then
31201 ac_header_compiler=yes
31202 else
31203 echo "$as_me: failed program was:" >&5
31204 sed 's/^/| /' conftest.$ac_ext >&5
31205
31206 ac_header_compiler=no
31207 fi
31208 rm -f conftest.$ac_objext conftest.$ac_ext
31209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31210 echo "${ECHO_T}$ac_header_compiler" >&6
31211
31212 # Is the header present?
31213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31215 cat >conftest.$ac_ext <<_ACEOF
31216 #line $LINENO "configure"
31217 /* confdefs.h. */
31218 _ACEOF
31219 cat confdefs.h >>conftest.$ac_ext
31220 cat >>conftest.$ac_ext <<_ACEOF
31221 /* end confdefs.h. */
31222 #include <$ac_header>
31223 _ACEOF
31224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31226 ac_status=$?
31227 grep -v '^ *+' conftest.er1 >conftest.err
31228 rm -f conftest.er1
31229 cat conftest.err >&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); } >/dev/null; then
31232 if test -s conftest.err; then
31233 ac_cpp_err=$ac_c_preproc_warn_flag
31234 else
31235 ac_cpp_err=
31236 fi
31237 else
31238 ac_cpp_err=yes
31239 fi
31240 if test -z "$ac_cpp_err"; then
31241 ac_header_preproc=yes
31242 else
31243 echo "$as_me: failed program was:" >&5
31244 sed 's/^/| /' conftest.$ac_ext >&5
31245
31246 ac_header_preproc=no
31247 fi
31248 rm -f conftest.err conftest.$ac_ext
31249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31250 echo "${ECHO_T}$ac_header_preproc" >&6
31251
31252 # So? What about this header?
31253 case $ac_header_compiler:$ac_header_preproc in
31254 yes:no )
31255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31259 (
31260 cat <<\_ASBOX
31261 ## ------------------------------------ ##
31262 ## Report this to bug-autoconf@gnu.org. ##
31263 ## ------------------------------------ ##
31264 _ASBOX
31265 ) |
31266 sed "s/^/$as_me: WARNING: /" >&2
31267 ;;
31268 no:yes )
31269 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31270 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31271 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31272 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31274 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31275 (
31276 cat <<\_ASBOX
31277 ## ------------------------------------ ##
31278 ## Report this to bug-autoconf@gnu.org. ##
31279 ## ------------------------------------ ##
31280 _ASBOX
31281 ) |
31282 sed "s/^/$as_me: WARNING: /" >&2
31283 ;;
31284 esac
31285 echo "$as_me:$LINENO: checking for $ac_header" >&5
31286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31288 echo $ECHO_N "(cached) $ECHO_C" >&6
31289 else
31290 eval "$as_ac_Header=$ac_header_preproc"
31291 fi
31292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31294
31295 fi
31296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31297 cat >>confdefs.h <<_ACEOF
31298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31299 _ACEOF
31300
31301 fi
31302
31303 done
31304
31305
31306 if test "$wxUSE_LIBSDL" != "no"; then
31307
31308 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
31309 if test "${with_sdl_prefix+set}" = set; then
31310 withval="$with_sdl_prefix"
31311 sdl_prefix="$withval"
31312 else
31313 sdl_prefix=""
31314 fi;
31315
31316 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
31317 if test "${with_sdl_exec_prefix+set}" = set; then
31318 withval="$with_sdl_exec_prefix"
31319 sdl_exec_prefix="$withval"
31320 else
31321 sdl_exec_prefix=""
31322 fi;
31323 # Check whether --enable-sdltest or --disable-sdltest was given.
31324 if test "${enable_sdltest+set}" = set; then
31325 enableval="$enable_sdltest"
31326
31327 else
31328 enable_sdltest=yes
31329 fi;
31330
31331 if test x$sdl_exec_prefix != x ; then
31332 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
31333 if test x${SDL_CONFIG+set} != xset ; then
31334 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
31335 fi
31336 fi
31337 if test x$sdl_prefix != x ; then
31338 sdl_args="$sdl_args --prefix=$sdl_prefix"
31339 if test x${SDL_CONFIG+set} != xset ; then
31340 SDL_CONFIG=$sdl_prefix/bin/sdl-config
31341 fi
31342 fi
31343
31344
31345 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
31346 # Extract the first word of "sdl-config", so it can be a program name with args.
31347 set dummy sdl-config; ac_word=$2
31348 echo "$as_me:$LINENO: checking for $ac_word" >&5
31349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31350 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
31351 echo $ECHO_N "(cached) $ECHO_C" >&6
31352 else
31353 case $SDL_CONFIG in
31354 [\\/]* | ?:[\\/]*)
31355 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
31356 ;;
31357 *)
31358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31359 for as_dir in $PATH
31360 do
31361 IFS=$as_save_IFS
31362 test -z "$as_dir" && as_dir=.
31363 for ac_exec_ext in '' $ac_executable_extensions; do
31364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31365 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31367 break 2
31368 fi
31369 done
31370 done
31371
31372 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
31373 ;;
31374 esac
31375 fi
31376 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
31377
31378 if test -n "$SDL_CONFIG"; then
31379 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
31380 echo "${ECHO_T}$SDL_CONFIG" >&6
31381 else
31382 echo "$as_me:$LINENO: result: no" >&5
31383 echo "${ECHO_T}no" >&6
31384 fi
31385
31386 min_sdl_version=1.2.0
31387 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
31388 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
31389 no_sdl=""
31390 if test "$SDL_CONFIG" = "no" ; then
31391 no_sdl=yes
31392 else
31393 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
31394 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
31395
31396 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
31397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31398 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
31399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31400 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
31401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31402 if test "x$enable_sdltest" = "xyes" ; then
31403 ac_save_CFLAGS="$CFLAGS"
31404 ac_save_LIBS="$LIBS"
31405 CFLAGS="$CFLAGS $SDL_CFLAGS"
31406 LIBS="$LIBS $SDL_LIBS"
31407 rm -f conf.sdltest
31408 if test "$cross_compiling" = yes; then
31409 echo $ac_n "cross compiling; assumed OK... $ac_c"
31410 else
31411 cat >conftest.$ac_ext <<_ACEOF
31412 #line $LINENO "configure"
31413 /* confdefs.h. */
31414 _ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418
31419 #include <stdio.h>
31420 #include <stdlib.h>
31421 #include <string.h>
31422 #include "SDL.h"
31423
31424 char*
31425 my_strdup (char *str)
31426 {
31427 char *new_str;
31428
31429 if (str)
31430 {
31431 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
31432 strcpy (new_str, str);
31433 }
31434 else
31435 new_str = NULL;
31436
31437 return new_str;
31438 }
31439
31440 int main (int argc, char *argv[])
31441 {
31442 int major, minor, micro;
31443 char *tmp_version;
31444
31445 /* This hangs on some systems (?)
31446 system ("touch conf.sdltest");
31447 */
31448 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
31449
31450 /* HP/UX 9 (%@#!) writes to sscanf strings */
31451 tmp_version = my_strdup("$min_sdl_version");
31452 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31453 printf("%s, bad version string\n", "$min_sdl_version");
31454 exit(1);
31455 }
31456
31457 if (($sdl_major_version > major) ||
31458 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
31459 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
31460 {
31461 return 0;
31462 }
31463 else
31464 {
31465 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
31466 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
31467 printf("*** best to upgrade to the required version.\n");
31468 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
31469 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
31470 printf("*** config.cache before re-running configure\n");
31471 return 1;
31472 }
31473 }
31474
31475
31476 _ACEOF
31477 rm -f conftest$ac_exeext
31478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31479 (eval $ac_link) 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31485 ac_status=$?
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; }; then
31488 :
31489 else
31490 echo "$as_me: program exited with status $ac_status" >&5
31491 echo "$as_me: failed program was:" >&5
31492 sed 's/^/| /' conftest.$ac_ext >&5
31493
31494 ( exit $ac_status )
31495 no_sdl=yes
31496 fi
31497 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31498 fi
31499 CFLAGS="$ac_save_CFLAGS"
31500 LIBS="$ac_save_LIBS"
31501 fi
31502 fi
31503 if test "x$no_sdl" = x ; then
31504 echo "$as_me:$LINENO: result: yes" >&5
31505 echo "${ECHO_T}yes" >&6
31506
31507 EXTRALIBS_SDL="$SDL_LIBS"
31508 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
31509 cat >>confdefs.h <<\_ACEOF
31510 #define wxUSE_LIBSDL 1
31511 _ACEOF
31512
31513
31514 else
31515 echo "$as_me:$LINENO: result: no" >&5
31516 echo "${ECHO_T}no" >&6
31517 if test "$SDL_CONFIG" = "no" ; then
31518 echo "*** The sdl-config script installed by SDL could not be found"
31519 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
31520 echo "*** your path, or set the SDL_CONFIG environment variable to the"
31521 echo "*** full path to sdl-config."
31522 else
31523 if test -f conf.sdltest ; then
31524 :
31525 else
31526 echo "*** Could not run SDL test program, checking why..."
31527 CFLAGS="$CFLAGS $SDL_CFLAGS"
31528 LIBS="$LIBS $SDL_LIBS"
31529 cat >conftest.$ac_ext <<_ACEOF
31530 #line $LINENO "configure"
31531 /* confdefs.h. */
31532 _ACEOF
31533 cat confdefs.h >>conftest.$ac_ext
31534 cat >>conftest.$ac_ext <<_ACEOF
31535 /* end confdefs.h. */
31536
31537 #include <stdio.h>
31538 #include "SDL.h"
31539
31540 int main(int argc, char *argv[])
31541 { return 0; }
31542 #undef main
31543 #define main K_and_R_C_main
31544
31545 int
31546 main ()
31547 {
31548 return 0;
31549 ;
31550 return 0;
31551 }
31552 _ACEOF
31553 rm -f conftest.$ac_objext conftest$ac_exeext
31554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31555 (eval $ac_link) 2>&5
31556 ac_status=$?
31557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31558 (exit $ac_status); } &&
31559 { ac_try='test -s conftest$ac_exeext'
31560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31561 (eval $ac_try) 2>&5
31562 ac_status=$?
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; }; then
31565 echo "*** The test program compiled, but did not run. This usually means"
31566 echo "*** that the run-time linker is not finding SDL or finding the wrong"
31567 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
31568 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31569 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31570 echo "*** is required on your system"
31571 echo "***"
31572 echo "*** If you have an old version installed, it is best to remove it, although"
31573 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31574 else
31575 echo "$as_me: failed program was:" >&5
31576 sed 's/^/| /' conftest.$ac_ext >&5
31577
31578 echo "*** The test program failed to compile or link. See the file config.log for the"
31579 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
31580 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
31581 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
31582 fi
31583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31584 CFLAGS="$ac_save_CFLAGS"
31585 LIBS="$ac_save_LIBS"
31586 fi
31587 fi
31588 SDL_CFLAGS=""
31589 SDL_LIBS=""
31590 wxUSE_LIBSDL="no"
31591 fi
31592
31593
31594 rm -f conf.sdltest
31595
31596 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
31597 WITH_PLUGIN_SDL=1
31598 fi
31599 fi
31600 fi
31601
31602 cat >>confdefs.h <<\_ACEOF
31603 #define wxUSE_SOUND 1
31604 _ACEOF
31605
31606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
31607 fi
31608
31609 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
31610 cat >>confdefs.h <<\_ACEOF
31611 #define wxUSE_CMDLINE_PARSER 1
31612 _ACEOF
31613
31614 fi
31615
31616 if test "$wxUSE_STOPWATCH" = "yes"; then
31617 cat >>confdefs.h <<\_ACEOF
31618 #define wxUSE_STOPWATCH 1
31619 _ACEOF
31620
31621 fi
31622
31623 if test "$wxUSE_DATETIME" = "yes"; then
31624 cat >>confdefs.h <<\_ACEOF
31625 #define wxUSE_DATETIME 1
31626 _ACEOF
31627
31628 fi
31629
31630 if test "$wxUSE_FILE" = "yes"; then
31631 cat >>confdefs.h <<\_ACEOF
31632 #define wxUSE_FILE 1
31633 _ACEOF
31634
31635 fi
31636
31637 if test "$wxUSE_FFILE" = "yes"; then
31638 cat >>confdefs.h <<\_ACEOF
31639 #define wxUSE_FFILE 1
31640 _ACEOF
31641
31642 fi
31643
31644 if test "$wxUSE_FILESYSTEM" = "yes"; then
31645 cat >>confdefs.h <<\_ACEOF
31646 #define wxUSE_FILESYSTEM 1
31647 _ACEOF
31648
31649 fi
31650
31651 if test "$wxUSE_FS_ZIP" = "yes"; then
31652 cat >>confdefs.h <<\_ACEOF
31653 #define wxUSE_FS_ZIP 1
31654 _ACEOF
31655
31656 fi
31657
31658 if test "$wxUSE_ZIPSTREAM" = "yes"; then
31659 cat >>confdefs.h <<\_ACEOF
31660 #define wxUSE_ZIPSTREAM 1
31661 _ACEOF
31662
31663 fi
31664
31665 if test "$wxUSE_GZSTREAM" = "yes"; then
31666 cat >>confdefs.h <<\_ACEOF
31667 #define wxUSE_GZSTREAM 1
31668 _ACEOF
31669
31670 fi
31671
31672 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
31673 cat >>confdefs.h <<\_ACEOF
31674 #define wxUSE_ON_FATAL_EXCEPTION 1
31675 _ACEOF
31676
31677 fi
31678
31679 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31680 cat >>confdefs.h <<\_ACEOF
31681 #define wxUSE_SNGLINST_CHECKER 1
31682 _ACEOF
31683
31684 fi
31685
31686 if test "$wxUSE_BUSYINFO" = "yes"; then
31687 cat >>confdefs.h <<\_ACEOF
31688 #define wxUSE_BUSYINFO 1
31689 _ACEOF
31690
31691 fi
31692
31693 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
31694 cat >>confdefs.h <<\_ACEOF
31695 #define wxUSE_STD_IOSTREAM 1
31696 _ACEOF
31697
31698 fi
31699
31700 if test "$wxUSE_TEXTBUFFER" = "yes"; then
31701 cat >>confdefs.h <<\_ACEOF
31702 #define wxUSE_TEXTBUFFER 1
31703 _ACEOF
31704
31705 fi
31706
31707 if test "$wxUSE_TEXTFILE" = "yes"; then
31708 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
31709 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
31710 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
31711 else
31712 cat >>confdefs.h <<\_ACEOF
31713 #define wxUSE_TEXTFILE 1
31714 _ACEOF
31715
31716 fi
31717 fi
31718
31719 if test "$wxUSE_CONFIG" = "yes" ; then
31720 if test "$wxUSE_TEXTFILE" != "yes"; then
31721 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
31722 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
31723 else
31724 cat >>confdefs.h <<\_ACEOF
31725 #define wxUSE_CONFIG 1
31726 _ACEOF
31727
31728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
31729 fi
31730 fi
31731
31732 if test "$wxUSE_INTL" = "yes" ; then
31733 if test "$wxUSE_FILE" != "yes"; then
31734 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
31735 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
31736 else
31737 cat >>confdefs.h <<\_ACEOF
31738 #define wxUSE_INTL 1
31739 _ACEOF
31740
31741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
31742 GUIDIST="$GUIDIST INTL_DIST"
31743 fi
31744 fi
31745
31746 if test "$wxUSE_LOG" = "yes"; then
31747 cat >>confdefs.h <<\_ACEOF
31748 #define wxUSE_LOG 1
31749 _ACEOF
31750
31751
31752 if test "$wxUSE_LOGGUI" = "yes"; then
31753 cat >>confdefs.h <<\_ACEOF
31754 #define wxUSE_LOGGUI 1
31755 _ACEOF
31756
31757 fi
31758
31759 if test "$wxUSE_LOGWINDOW" = "yes"; then
31760 cat >>confdefs.h <<\_ACEOF
31761 #define wxUSE_LOGWINDOW 1
31762 _ACEOF
31763
31764 fi
31765
31766 if test "$wxUSE_LOGDIALOG" = "yes"; then
31767 cat >>confdefs.h <<\_ACEOF
31768 #define wxUSE_LOG_DIALOG 1
31769 _ACEOF
31770
31771 fi
31772 fi
31773
31774 if test "$wxUSE_LONGLONG" = "yes"; then
31775 cat >>confdefs.h <<\_ACEOF
31776 #define wxUSE_LONGLONG 1
31777 _ACEOF
31778
31779 fi
31780
31781 if test "$wxUSE_GEOMETRY" = "yes"; then
31782 cat >>confdefs.h <<\_ACEOF
31783 #define wxUSE_GEOMETRY 1
31784 _ACEOF
31785
31786 fi
31787
31788 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
31789 cat >>confdefs.h <<\_ACEOF
31790 #define wxUSE_DIALUP_MANAGER 1
31791 _ACEOF
31792
31793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
31794 fi
31795
31796 if test "$wxUSE_STREAMS" = "yes" ; then
31797 cat >>confdefs.h <<\_ACEOF
31798 #define wxUSE_STREAMS 1
31799 _ACEOF
31800
31801 fi
31802
31803
31804 if test "$wxUSE_DATETIME" = "yes"; then
31805
31806 for ac_func in strptime
31807 do
31808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31809 echo "$as_me:$LINENO: checking for $ac_func" >&5
31810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31811 if eval "test \"\${$as_ac_var+set}\" = set"; then
31812 echo $ECHO_N "(cached) $ECHO_C" >&6
31813 else
31814 cat >conftest.$ac_ext <<_ACEOF
31815 #line $LINENO "configure"
31816 /* confdefs.h. */
31817 _ACEOF
31818 cat confdefs.h >>conftest.$ac_ext
31819 cat >>conftest.$ac_ext <<_ACEOF
31820 /* end confdefs.h. */
31821 /* System header to define __stub macros and hopefully few prototypes,
31822 which can conflict with char $ac_func (); below.
31823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31824 <limits.h> exists even on freestanding compilers. */
31825 #ifdef __STDC__
31826 # include <limits.h>
31827 #else
31828 # include <assert.h>
31829 #endif
31830 /* Override any gcc2 internal prototype to avoid an error. */
31831 #ifdef __cplusplus
31832 extern "C"
31833 {
31834 #endif
31835 /* We use char because int might match the return type of a gcc2
31836 builtin and then its argument prototype would still apply. */
31837 char $ac_func ();
31838 /* The GNU C library defines this for functions which it implements
31839 to always fail with ENOSYS. Some functions are actually named
31840 something starting with __ and the normal name is an alias. */
31841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31842 choke me
31843 #else
31844 char (*f) () = $ac_func;
31845 #endif
31846 #ifdef __cplusplus
31847 }
31848 #endif
31849
31850 int
31851 main ()
31852 {
31853 return f != $ac_func;
31854 ;
31855 return 0;
31856 }
31857 _ACEOF
31858 rm -f conftest.$ac_objext conftest$ac_exeext
31859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31860 (eval $ac_link) 2>&5
31861 ac_status=$?
31862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31863 (exit $ac_status); } &&
31864 { ac_try='test -s conftest$ac_exeext'
31865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31866 (eval $ac_try) 2>&5
31867 ac_status=$?
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); }; }; then
31870 eval "$as_ac_var=yes"
31871 else
31872 echo "$as_me: failed program was:" >&5
31873 sed 's/^/| /' conftest.$ac_ext >&5
31874
31875 eval "$as_ac_var=no"
31876 fi
31877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31878 fi
31879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31881 if test `eval echo '${'$as_ac_var'}'` = yes; then
31882 cat >>confdefs.h <<_ACEOF
31883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31884 _ACEOF
31885
31886 fi
31887 done
31888
31889
31890 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
31891 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
31892 if test "${wx_cv_var_timezone+set}" = set; then
31893 echo $ECHO_N "(cached) $ECHO_C" >&6
31894 else
31895
31896 cat >conftest.$ac_ext <<_ACEOF
31897 #line $LINENO "configure"
31898 /* confdefs.h. */
31899 _ACEOF
31900 cat confdefs.h >>conftest.$ac_ext
31901 cat >>conftest.$ac_ext <<_ACEOF
31902 /* end confdefs.h. */
31903
31904 #include <time.h>
31905
31906 int
31907 main ()
31908 {
31909
31910 int tz;
31911 tz = timezone;
31912
31913 ;
31914 return 0;
31915 }
31916 _ACEOF
31917 rm -f conftest.$ac_objext
31918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31919 (eval $ac_compile) 2>&5
31920 ac_status=$?
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); } &&
31923 { ac_try='test -s conftest.$ac_objext'
31924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31925 (eval $ac_try) 2>&5
31926 ac_status=$?
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); }; }; then
31929
31930 wx_cv_var_timezone=timezone
31931
31932 else
31933 echo "$as_me: failed program was:" >&5
31934 sed 's/^/| /' conftest.$ac_ext >&5
31935
31936
31937 cat >conftest.$ac_ext <<_ACEOF
31938 #line $LINENO "configure"
31939 /* confdefs.h. */
31940 _ACEOF
31941 cat confdefs.h >>conftest.$ac_ext
31942 cat >>conftest.$ac_ext <<_ACEOF
31943 /* end confdefs.h. */
31944
31945 #include <time.h>
31946
31947 int
31948 main ()
31949 {
31950
31951 int tz;
31952 tz = _timezone;
31953
31954 ;
31955 return 0;
31956 }
31957 _ACEOF
31958 rm -f conftest.$ac_objext
31959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31960 (eval $ac_compile) 2>&5
31961 ac_status=$?
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); } &&
31964 { ac_try='test -s conftest.$ac_objext'
31965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31966 (eval $ac_try) 2>&5
31967 ac_status=$?
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); }; }; then
31970
31971 wx_cv_var_timezone=_timezone
31972
31973 else
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.$ac_ext >&5
31976
31977
31978 cat >conftest.$ac_ext <<_ACEOF
31979 #line $LINENO "configure"
31980 /* confdefs.h. */
31981 _ACEOF
31982 cat confdefs.h >>conftest.$ac_ext
31983 cat >>conftest.$ac_ext <<_ACEOF
31984 /* end confdefs.h. */
31985
31986 #include <time.h>
31987
31988 int
31989 main ()
31990 {
31991
31992 int tz;
31993 tz = __timezone;
31994
31995 ;
31996 return 0;
31997 }
31998 _ACEOF
31999 rm -f conftest.$ac_objext
32000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32001 (eval $ac_compile) 2>&5
32002 ac_status=$?
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } &&
32005 { ac_try='test -s conftest.$ac_objext'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32008 ac_status=$?
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; }; then
32011
32012 wx_cv_var_timezone=__timezone
32013
32014 else
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32017
32018
32019 if test "$USE_DOS" = 0 ; then
32020 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
32021 echo "$as_me: WARNING: no timezone variable" >&2;}
32022 fi
32023
32024
32025 fi
32026 rm -f conftest.$ac_objext conftest.$ac_ext
32027
32028
32029 fi
32030 rm -f conftest.$ac_objext conftest.$ac_ext
32031
32032
32033 fi
32034 rm -f conftest.$ac_objext conftest.$ac_ext
32035
32036
32037 fi
32038 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
32039 echo "${ECHO_T}$wx_cv_var_timezone" >&6
32040
32041 if test "x$wx_cv_var_timezone" != x ; then
32042 cat >>confdefs.h <<_ACEOF
32043 #define WX_TIMEZONE $wx_cv_var_timezone
32044 _ACEOF
32045
32046 fi
32047
32048
32049 for ac_func in localtime
32050 do
32051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32052 echo "$as_me:$LINENO: checking for $ac_func" >&5
32053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32054 if eval "test \"\${$as_ac_var+set}\" = set"; then
32055 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 else
32057 cat >conftest.$ac_ext <<_ACEOF
32058 #line $LINENO "configure"
32059 /* confdefs.h. */
32060 _ACEOF
32061 cat confdefs.h >>conftest.$ac_ext
32062 cat >>conftest.$ac_ext <<_ACEOF
32063 /* end confdefs.h. */
32064 /* System header to define __stub macros and hopefully few prototypes,
32065 which can conflict with char $ac_func (); below.
32066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32067 <limits.h> exists even on freestanding compilers. */
32068 #ifdef __STDC__
32069 # include <limits.h>
32070 #else
32071 # include <assert.h>
32072 #endif
32073 /* Override any gcc2 internal prototype to avoid an error. */
32074 #ifdef __cplusplus
32075 extern "C"
32076 {
32077 #endif
32078 /* We use char because int might match the return type of a gcc2
32079 builtin and then its argument prototype would still apply. */
32080 char $ac_func ();
32081 /* The GNU C library defines this for functions which it implements
32082 to always fail with ENOSYS. Some functions are actually named
32083 something starting with __ and the normal name is an alias. */
32084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32085 choke me
32086 #else
32087 char (*f) () = $ac_func;
32088 #endif
32089 #ifdef __cplusplus
32090 }
32091 #endif
32092
32093 int
32094 main ()
32095 {
32096 return f != $ac_func;
32097 ;
32098 return 0;
32099 }
32100 _ACEOF
32101 rm -f conftest.$ac_objext conftest$ac_exeext
32102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32103 (eval $ac_link) 2>&5
32104 ac_status=$?
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); } &&
32107 { ac_try='test -s conftest$ac_exeext'
32108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32109 (eval $ac_try) 2>&5
32110 ac_status=$?
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); }; }; then
32113 eval "$as_ac_var=yes"
32114 else
32115 echo "$as_me: failed program was:" >&5
32116 sed 's/^/| /' conftest.$ac_ext >&5
32117
32118 eval "$as_ac_var=no"
32119 fi
32120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32121 fi
32122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32124 if test `eval echo '${'$as_ac_var'}'` = yes; then
32125 cat >>confdefs.h <<_ACEOF
32126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32127 _ACEOF
32128
32129 fi
32130 done
32131
32132
32133 if test "$ac_cv_func_localtime" = "yes"; then
32134 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
32135 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
32136 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
32137 echo $ECHO_N "(cached) $ECHO_C" >&6
32138 else
32139
32140 cat >conftest.$ac_ext <<_ACEOF
32141 #line $LINENO "configure"
32142 /* confdefs.h. */
32143 _ACEOF
32144 cat confdefs.h >>conftest.$ac_ext
32145 cat >>conftest.$ac_ext <<_ACEOF
32146 /* end confdefs.h. */
32147
32148 #include <time.h>
32149
32150 int
32151 main ()
32152 {
32153
32154 struct tm tm;
32155 tm.tm_gmtoff++;
32156
32157 ;
32158 return 0;
32159 }
32160 _ACEOF
32161 rm -f conftest.$ac_objext
32162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32163 (eval $ac_compile) 2>&5
32164 ac_status=$?
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); } &&
32167 { ac_try='test -s conftest.$ac_objext'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; }; then
32173
32174 wx_cv_struct_tm_has_gmtoff=yes
32175
32176 else
32177 echo "$as_me: failed program was:" >&5
32178 sed 's/^/| /' conftest.$ac_ext >&5
32179
32180 wx_cv_struct_tm_has_gmtoff=no
32181
32182 fi
32183 rm -f conftest.$ac_objext conftest.$ac_ext
32184
32185 fi
32186 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
32187 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
32188 fi
32189
32190 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
32191 cat >>confdefs.h <<\_ACEOF
32192 #define WX_GMTOFF_IN_TM 1
32193 _ACEOF
32194
32195 fi
32196
32197
32198
32199 for ac_func in gettimeofday ftime
32200 do
32201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32202 echo "$as_me:$LINENO: checking for $ac_func" >&5
32203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32204 if eval "test \"\${$as_ac_var+set}\" = set"; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 else
32207 cat >conftest.$ac_ext <<_ACEOF
32208 #line $LINENO "configure"
32209 /* confdefs.h. */
32210 _ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214 /* System header to define __stub macros and hopefully few prototypes,
32215 which can conflict with char $ac_func (); below.
32216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32217 <limits.h> exists even on freestanding compilers. */
32218 #ifdef __STDC__
32219 # include <limits.h>
32220 #else
32221 # include <assert.h>
32222 #endif
32223 /* Override any gcc2 internal prototype to avoid an error. */
32224 #ifdef __cplusplus
32225 extern "C"
32226 {
32227 #endif
32228 /* We use char because int might match the return type of a gcc2
32229 builtin and then its argument prototype would still apply. */
32230 char $ac_func ();
32231 /* The GNU C library defines this for functions which it implements
32232 to always fail with ENOSYS. Some functions are actually named
32233 something starting with __ and the normal name is an alias. */
32234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32235 choke me
32236 #else
32237 char (*f) () = $ac_func;
32238 #endif
32239 #ifdef __cplusplus
32240 }
32241 #endif
32242
32243 int
32244 main ()
32245 {
32246 return f != $ac_func;
32247 ;
32248 return 0;
32249 }
32250 _ACEOF
32251 rm -f conftest.$ac_objext conftest$ac_exeext
32252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32253 (eval $ac_link) 2>&5
32254 ac_status=$?
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); } &&
32257 { ac_try='test -s conftest$ac_exeext'
32258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32259 (eval $ac_try) 2>&5
32260 ac_status=$?
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 (exit $ac_status); }; }; then
32263 eval "$as_ac_var=yes"
32264 else
32265 echo "$as_me: failed program was:" >&5
32266 sed 's/^/| /' conftest.$ac_ext >&5
32267
32268 eval "$as_ac_var=no"
32269 fi
32270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32271 fi
32272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32274 if test `eval echo '${'$as_ac_var'}'` = yes; then
32275 cat >>confdefs.h <<_ACEOF
32276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32277 _ACEOF
32278 break
32279 fi
32280 done
32281
32282
32283 if test "$ac_cv_func_gettimeofday" = "yes"; then
32284 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
32285 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
32286 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32288 else
32289
32290
32291
32292 ac_ext=cc
32293 ac_cpp='$CXXCPP $CPPFLAGS'
32294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32297
32298
32299 cat >conftest.$ac_ext <<_ACEOF
32300 #line $LINENO "configure"
32301 /* confdefs.h. */
32302 _ACEOF
32303 cat confdefs.h >>conftest.$ac_ext
32304 cat >>conftest.$ac_ext <<_ACEOF
32305 /* end confdefs.h. */
32306
32307 #include <sys/time.h>
32308 #include <unistd.h>
32309
32310 int
32311 main ()
32312 {
32313
32314 struct timeval tv;
32315 gettimeofday(&tv, NULL);
32316
32317 ;
32318 return 0;
32319 }
32320 _ACEOF
32321 rm -f conftest.$ac_objext
32322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32323 (eval $ac_compile) 2>&5
32324 ac_status=$?
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); } &&
32327 { ac_try='test -s conftest.$ac_objext'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; }; then
32333 wx_cv_func_gettimeofday_has_2_args=yes
32334 else
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.$ac_ext >&5
32337
32338 cat >conftest.$ac_ext <<_ACEOF
32339 #line $LINENO "configure"
32340 /* confdefs.h. */
32341 _ACEOF
32342 cat confdefs.h >>conftest.$ac_ext
32343 cat >>conftest.$ac_ext <<_ACEOF
32344 /* end confdefs.h. */
32345
32346 #include <sys/time.h>
32347 #include <unistd.h>
32348
32349 int
32350 main ()
32351 {
32352
32353 struct timeval tv;
32354 gettimeofday(&tv);
32355
32356 ;
32357 return 0;
32358 }
32359 _ACEOF
32360 rm -f conftest.$ac_objext
32361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32362 (eval $ac_compile) 2>&5
32363 ac_status=$?
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); } &&
32366 { ac_try='test -s conftest.$ac_objext'
32367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 (eval $ac_try) 2>&5
32369 ac_status=$?
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); }; }; then
32372 wx_cv_func_gettimeofday_has_2_args=no
32373 else
32374 echo "$as_me: failed program was:" >&5
32375 sed 's/^/| /' conftest.$ac_ext >&5
32376
32377
32378 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
32379 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
32380 wx_cv_func_gettimeofday_has_2_args=unknown
32381
32382
32383 fi
32384 rm -f conftest.$ac_objext conftest.$ac_ext
32385
32386 fi
32387 rm -f conftest.$ac_objext conftest.$ac_ext
32388 ac_ext=c
32389 ac_cpp='$CPP $CPPFLAGS'
32390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32393
32394
32395 fi
32396 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
32397 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
32398
32399 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
32400 cat >>confdefs.h <<\_ACEOF
32401 #define WX_GETTIMEOFDAY_NO_TZ 1
32402 _ACEOF
32403
32404 fi
32405 fi
32406
32407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
32408 fi
32409
32410
32411 if test "$wxUSE_SOCKETS" = "yes"; then
32412 if test "$wxUSE_MGL" = "1"; then
32413 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
32414 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
32415 wxUSE_SOCKETS="no"
32416 fi
32417 fi
32418
32419 if test "$wxUSE_SOCKETS" = "yes"; then
32420 if test "$TOOLKIT" != "MSW"; then
32421 echo "$as_me:$LINENO: checking for socket" >&5
32422 echo $ECHO_N "checking for socket... $ECHO_C" >&6
32423 if test "${ac_cv_func_socket+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 else
32426 cat >conftest.$ac_ext <<_ACEOF
32427 #line $LINENO "configure"
32428 /* confdefs.h. */
32429 _ACEOF
32430 cat confdefs.h >>conftest.$ac_ext
32431 cat >>conftest.$ac_ext <<_ACEOF
32432 /* end confdefs.h. */
32433 /* System header to define __stub macros and hopefully few prototypes,
32434 which can conflict with char socket (); below.
32435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32436 <limits.h> exists even on freestanding compilers. */
32437 #ifdef __STDC__
32438 # include <limits.h>
32439 #else
32440 # include <assert.h>
32441 #endif
32442 /* Override any gcc2 internal prototype to avoid an error. */
32443 #ifdef __cplusplus
32444 extern "C"
32445 {
32446 #endif
32447 /* We use char because int might match the return type of a gcc2
32448 builtin and then its argument prototype would still apply. */
32449 char socket ();
32450 /* The GNU C library defines this for functions which it implements
32451 to always fail with ENOSYS. Some functions are actually named
32452 something starting with __ and the normal name is an alias. */
32453 #if defined (__stub_socket) || defined (__stub___socket)
32454 choke me
32455 #else
32456 char (*f) () = socket;
32457 #endif
32458 #ifdef __cplusplus
32459 }
32460 #endif
32461
32462 int
32463 main ()
32464 {
32465 return f != socket;
32466 ;
32467 return 0;
32468 }
32469 _ACEOF
32470 rm -f conftest.$ac_objext conftest$ac_exeext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32472 (eval $ac_link) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } &&
32476 { ac_try='test -s conftest$ac_exeext'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32479 ac_status=$?
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; }; then
32482 ac_cv_func_socket=yes
32483 else
32484 echo "$as_me: failed program was:" >&5
32485 sed 's/^/| /' conftest.$ac_ext >&5
32486
32487 ac_cv_func_socket=no
32488 fi
32489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32490 fi
32491 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
32492 echo "${ECHO_T}$ac_cv_func_socket" >&6
32493 if test $ac_cv_func_socket = yes; then
32494 :
32495 else
32496
32497 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
32498 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
32499 if test "${ac_cv_lib_socket_socket+set}" = set; then
32500 echo $ECHO_N "(cached) $ECHO_C" >&6
32501 else
32502 ac_check_lib_save_LIBS=$LIBS
32503 LIBS="-lsocket $LIBS"
32504 cat >conftest.$ac_ext <<_ACEOF
32505 #line $LINENO "configure"
32506 /* confdefs.h. */
32507 _ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32511
32512 /* Override any gcc2 internal prototype to avoid an error. */
32513 #ifdef __cplusplus
32514 extern "C"
32515 #endif
32516 /* We use char because int might match the return type of a gcc2
32517 builtin and then its argument prototype would still apply. */
32518 char socket ();
32519 int
32520 main ()
32521 {
32522 socket ();
32523 ;
32524 return 0;
32525 }
32526 _ACEOF
32527 rm -f conftest.$ac_objext conftest$ac_exeext
32528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32529 (eval $ac_link) 2>&5
32530 ac_status=$?
32531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32532 (exit $ac_status); } &&
32533 { ac_try='test -s conftest$ac_exeext'
32534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32535 (eval $ac_try) 2>&5
32536 ac_status=$?
32537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32538 (exit $ac_status); }; }; then
32539 ac_cv_lib_socket_socket=yes
32540 else
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.$ac_ext >&5
32543
32544 ac_cv_lib_socket_socket=no
32545 fi
32546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32547 LIBS=$ac_check_lib_save_LIBS
32548 fi
32549 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
32550 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
32551 if test $ac_cv_lib_socket_socket = yes; then
32552 if test "$INET_LINK" != " -lsocket"; then
32553 INET_LINK="$INET_LINK -lsocket"
32554 fi
32555 else
32556
32557 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
32558 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
32559 wxUSE_SOCKETS=no
32560
32561
32562 fi
32563
32564
32565
32566 fi
32567
32568 fi
32569 fi
32570
32571 if test "$wxUSE_SOCKETS" = "yes" ; then
32572 if test "$TOOLKIT" != "MSW"; then
32573 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
32574 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
32575 if test "${wx_cv_type_getsockname3+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 else
32578
32579 cat >conftest.$ac_ext <<_ACEOF
32580 #line $LINENO "configure"
32581 /* confdefs.h. */
32582 _ACEOF
32583 cat confdefs.h >>conftest.$ac_ext
32584 cat >>conftest.$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32586
32587 #include <sys/types.h>
32588 #include <sys/socket.h>
32589
32590 int
32591 main ()
32592 {
32593
32594 socklen_t len;
32595 getsockname(0, 0, &len);
32596
32597 ;
32598 return 0;
32599 }
32600 _ACEOF
32601 rm -f conftest.$ac_objext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32603 (eval $ac_compile) 2>&5
32604 ac_status=$?
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); } &&
32607 { ac_try='test -s conftest.$ac_objext'
32608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32609 (eval $ac_try) 2>&5
32610 ac_status=$?
32611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32612 (exit $ac_status); }; }; then
32613 wx_cv_type_getsockname3=socklen_t
32614 else
32615 echo "$as_me: failed program was:" >&5
32616 sed 's/^/| /' conftest.$ac_ext >&5
32617
32618
32619 CFLAGS_OLD="$CFLAGS"
32620 if test "$GCC" = yes ; then
32621 CFLAGS="$CFLAGS -Werror"
32622 fi
32623
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
32632 #include <sys/types.h>
32633 #include <sys/socket.h>
32634
32635 int
32636 main ()
32637 {
32638
32639 size_t len;
32640 getsockname(0, 0, &len);
32641
32642 ;
32643 return 0;
32644 }
32645 _ACEOF
32646 rm -f conftest.$ac_objext
32647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32648 (eval $ac_compile) 2>&5
32649 ac_status=$?
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); } &&
32652 { ac_try='test -s conftest.$ac_objext'
32653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32654 (eval $ac_try) 2>&5
32655 ac_status=$?
32656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32657 (exit $ac_status); }; }; then
32658 wx_cv_type_getsockname3=size_t
32659 else
32660 echo "$as_me: failed program was:" >&5
32661 sed 's/^/| /' conftest.$ac_ext >&5
32662
32663 cat >conftest.$ac_ext <<_ACEOF
32664 #line $LINENO "configure"
32665 /* confdefs.h. */
32666 _ACEOF
32667 cat confdefs.h >>conftest.$ac_ext
32668 cat >>conftest.$ac_ext <<_ACEOF
32669 /* end confdefs.h. */
32670
32671 #include <sys/types.h>
32672 #include <sys/socket.h>
32673
32674 int
32675 main ()
32676 {
32677
32678 int len;
32679 getsockname(0, 0, &len);
32680
32681 ;
32682 return 0;
32683 }
32684 _ACEOF
32685 rm -f conftest.$ac_objext
32686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32687 (eval $ac_compile) 2>&5
32688 ac_status=$?
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); } &&
32691 { ac_try='test -s conftest.$ac_objext'
32692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693 (eval $ac_try) 2>&5
32694 ac_status=$?
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); }; }; then
32697 wx_cv_type_getsockname3=int
32698 else
32699 echo "$as_me: failed program was:" >&5
32700 sed 's/^/| /' conftest.$ac_ext >&5
32701
32702 wx_cv_type_getsockname3=unknown
32703
32704 fi
32705 rm -f conftest.$ac_objext conftest.$ac_ext
32706
32707 fi
32708 rm -f conftest.$ac_objext conftest.$ac_ext
32709
32710 CFLAGS="$CFLAGS_OLD"
32711
32712
32713 fi
32714 rm -f conftest.$ac_objext conftest.$ac_ext
32715
32716 fi
32717 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
32718 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
32719
32720 if test "$wx_cv_type_getsockname3" = "unknown"; then
32721 wxUSE_SOCKETS=no
32722 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
32723 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
32724 else
32725 cat >>confdefs.h <<_ACEOF
32726 #define SOCKLEN_T $wx_cv_type_getsockname3
32727 _ACEOF
32728
32729 fi
32730 fi
32731 fi
32732
32733 if test "$wxUSE_SOCKETS" = "yes" ; then
32734 cat >>confdefs.h <<\_ACEOF
32735 #define wxUSE_SOCKETS 1
32736 _ACEOF
32737
32738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
32739 fi
32740
32741 if test "$wxUSE_PROTOCOL" = "yes"; then
32742 if test "$wxUSE_SOCKETS" != "yes"; then
32743 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32744 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32745 wxUSE_PROTOCOL=no
32746 fi
32747 fi
32748
32749 if test "$wxUSE_PROTOCOL" = "yes"; then
32750 cat >>confdefs.h <<\_ACEOF
32751 #define wxUSE_PROTOCOL 1
32752 _ACEOF
32753
32754
32755 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32756 cat >>confdefs.h <<\_ACEOF
32757 #define wxUSE_PROTOCOL_HTTP 1
32758 _ACEOF
32759
32760 fi
32761 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32762 cat >>confdefs.h <<\_ACEOF
32763 #define wxUSE_PROTOCOL_FTP 1
32764 _ACEOF
32765
32766 fi
32767 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32768 cat >>confdefs.h <<\_ACEOF
32769 #define wxUSE_PROTOCOL_FILE 1
32770 _ACEOF
32771
32772 fi
32773 else
32774 if test "$wxUSE_FS_INET" = "yes"; then
32775 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
32776 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
32777 wxUSE_FS_INET="no"
32778 fi
32779 fi
32780
32781 if test "$wxUSE_URL" = "yes"; then
32782 if test "$wxUSE_PROTOCOL" != "yes"; then
32783 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32784 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32785 wxUSE_URL=no
32786 fi
32787 if test "$wxUSE_URL" = "yes"; then
32788 cat >>confdefs.h <<\_ACEOF
32789 #define wxUSE_URL 1
32790 _ACEOF
32791
32792 fi
32793 fi
32794
32795 if test "$wxUSE_FS_INET" = "yes"; then
32796 cat >>confdefs.h <<\_ACEOF
32797 #define wxUSE_FS_INET 1
32798 _ACEOF
32799
32800 fi
32801
32802
32803 if test "$wxUSE_GUI" = "yes"; then
32804
32805 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
32806 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
32807 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
32808 wxUSE_JOYSTICK=no
32809 fi
32810
32811 if test "$TOOLKIT" != "MSW"; then
32812 if test "$wxUSE_JOYSTICK" = "yes"; then
32813
32814 for ac_header in linux/joystick.h
32815 do
32816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32818 echo "$as_me:$LINENO: checking for $ac_header" >&5
32819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32821 echo $ECHO_N "(cached) $ECHO_C" >&6
32822 fi
32823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32825 else
32826 # Is the header compilable?
32827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32829 cat >conftest.$ac_ext <<_ACEOF
32830 #line $LINENO "configure"
32831 /* confdefs.h. */
32832 _ACEOF
32833 cat confdefs.h >>conftest.$ac_ext
32834 cat >>conftest.$ac_ext <<_ACEOF
32835 /* end confdefs.h. */
32836 $ac_includes_default
32837 #include <$ac_header>
32838 _ACEOF
32839 rm -f conftest.$ac_objext
32840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32841 (eval $ac_compile) 2>&5
32842 ac_status=$?
32843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 (exit $ac_status); } &&
32845 { ac_try='test -s conftest.$ac_objext'
32846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847 (eval $ac_try) 2>&5
32848 ac_status=$?
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); }; }; then
32851 ac_header_compiler=yes
32852 else
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32855
32856 ac_header_compiler=no
32857 fi
32858 rm -f conftest.$ac_objext conftest.$ac_ext
32859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32860 echo "${ECHO_T}$ac_header_compiler" >&6
32861
32862 # Is the header present?
32863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32865 cat >conftest.$ac_ext <<_ACEOF
32866 #line $LINENO "configure"
32867 /* confdefs.h. */
32868 _ACEOF
32869 cat confdefs.h >>conftest.$ac_ext
32870 cat >>conftest.$ac_ext <<_ACEOF
32871 /* end confdefs.h. */
32872 #include <$ac_header>
32873 _ACEOF
32874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32876 ac_status=$?
32877 grep -v '^ *+' conftest.er1 >conftest.err
32878 rm -f conftest.er1
32879 cat conftest.err >&5
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); } >/dev/null; then
32882 if test -s conftest.err; then
32883 ac_cpp_err=$ac_c_preproc_warn_flag
32884 else
32885 ac_cpp_err=
32886 fi
32887 else
32888 ac_cpp_err=yes
32889 fi
32890 if test -z "$ac_cpp_err"; then
32891 ac_header_preproc=yes
32892 else
32893 echo "$as_me: failed program was:" >&5
32894 sed 's/^/| /' conftest.$ac_ext >&5
32895
32896 ac_header_preproc=no
32897 fi
32898 rm -f conftest.err conftest.$ac_ext
32899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32900 echo "${ECHO_T}$ac_header_preproc" >&6
32901
32902 # So? What about this header?
32903 case $ac_header_compiler:$ac_header_preproc in
32904 yes:no )
32905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32909 (
32910 cat <<\_ASBOX
32911 ## ------------------------------------ ##
32912 ## Report this to bug-autoconf@gnu.org. ##
32913 ## ------------------------------------ ##
32914 _ASBOX
32915 ) |
32916 sed "s/^/$as_me: WARNING: /" >&2
32917 ;;
32918 no:yes )
32919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32925 (
32926 cat <<\_ASBOX
32927 ## ------------------------------------ ##
32928 ## Report this to bug-autoconf@gnu.org. ##
32929 ## ------------------------------------ ##
32930 _ASBOX
32931 ) |
32932 sed "s/^/$as_me: WARNING: /" >&2
32933 ;;
32934 esac
32935 echo "$as_me:$LINENO: checking for $ac_header" >&5
32936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32938 echo $ECHO_N "(cached) $ECHO_C" >&6
32939 else
32940 eval "$as_ac_Header=$ac_header_preproc"
32941 fi
32942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32944
32945 fi
32946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32947 cat >>confdefs.h <<_ACEOF
32948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32949 _ACEOF
32950
32951 fi
32952
32953 done
32954
32955 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
32956 wxUSE_JOYSTICK=no
32957 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
32958 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
32959 fi
32960 fi
32961 fi
32962
32963 if test "$wxUSE_JOYSTICK" = "yes"; then
32964 cat >>confdefs.h <<\_ACEOF
32965 #define wxUSE_JOYSTICK 1
32966 _ACEOF
32967
32968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
32969 fi
32970 fi
32971
32972
32973
32974
32975 if test "$wxUSE_FONTMAP" = "yes" ; then
32976 cat >>confdefs.h <<\_ACEOF
32977 #define wxUSE_FONTMAP 1
32978 _ACEOF
32979
32980 fi
32981
32982 if test "$wxUSE_UNICODE" = "yes" ; then
32983 cat >>confdefs.h <<\_ACEOF
32984 #define wxUSE_UNICODE 1
32985 _ACEOF
32986
32987
32988 if test "$USE_WIN32" != 1; then
32989 wxUSE_UNICODE_MSLU=no
32990 fi
32991
32992 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32993 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32994 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32995 if test "${ac_cv_lib_unicows_main+set}" = set; then
32996 echo $ECHO_N "(cached) $ECHO_C" >&6
32997 else
32998 ac_check_lib_save_LIBS=$LIBS
32999 LIBS="-lunicows $LIBS"
33000 cat >conftest.$ac_ext <<_ACEOF
33001 #line $LINENO "configure"
33002 /* confdefs.h. */
33003 _ACEOF
33004 cat confdefs.h >>conftest.$ac_ext
33005 cat >>conftest.$ac_ext <<_ACEOF
33006 /* end confdefs.h. */
33007
33008
33009 int
33010 main ()
33011 {
33012 main ();
33013 ;
33014 return 0;
33015 }
33016 _ACEOF
33017 rm -f conftest.$ac_objext conftest$ac_exeext
33018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33019 (eval $ac_link) 2>&5
33020 ac_status=$?
33021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33022 (exit $ac_status); } &&
33023 { ac_try='test -s conftest$ac_exeext'
33024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33025 (eval $ac_try) 2>&5
33026 ac_status=$?
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); }; }; then
33029 ac_cv_lib_unicows_main=yes
33030 else
33031 echo "$as_me: failed program was:" >&5
33032 sed 's/^/| /' conftest.$ac_ext >&5
33033
33034 ac_cv_lib_unicows_main=no
33035 fi
33036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33037 LIBS=$ac_check_lib_save_LIBS
33038 fi
33039 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
33040 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
33041 if test $ac_cv_lib_unicows_main = yes; then
33042
33043 cat >>confdefs.h <<\_ACEOF
33044 #define wxUSE_UNICODE_MSLU 1
33045 _ACEOF
33046
33047
33048 else
33049
33050 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33051 Applications will only run on Windows NT/2000/XP!" >&5
33052 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
33053 Applications will only run on Windows NT/2000/XP!" >&2;}
33054 wxUSE_UNICODE_MSLU=no
33055
33056 fi
33057
33058 fi
33059 fi
33060
33061 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
33062 cat >>confdefs.h <<\_ACEOF
33063 #define wxUSE_EXPERIMENTAL_PRINTF 1
33064 _ACEOF
33065
33066 fi
33067
33068
33069 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
33070 cat >>confdefs.h <<\_ACEOF
33071 #define wxUSE_POSTSCRIPT 1
33072 _ACEOF
33073
33074 fi
33075
33076 cat >>confdefs.h <<\_ACEOF
33077 #define wxUSE_AFM_FOR_POSTSCRIPT 1
33078 _ACEOF
33079
33080
33081 cat >>confdefs.h <<\_ACEOF
33082 #define wxUSE_NORMALIZED_PS_FONTS 1
33083 _ACEOF
33084
33085
33086
33087 if test "$wxUSE_CONSTRAINTS" = "yes"; then
33088 cat >>confdefs.h <<\_ACEOF
33089 #define wxUSE_CONSTRAINTS 1
33090 _ACEOF
33091
33092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
33093 fi
33094
33095 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33096 cat >>confdefs.h <<\_ACEOF
33097 #define wxUSE_MDI_ARCHITECTURE 1
33098 _ACEOF
33099
33100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
33101 fi
33102
33103 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
33104 cat >>confdefs.h <<\_ACEOF
33105 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
33106 _ACEOF
33107
33108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
33109 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
33110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
33111 fi
33112 fi
33113
33114 if test "$wxUSE_HELP" = "yes"; then
33115 cat >>confdefs.h <<\_ACEOF
33116 #define wxUSE_HELP 1
33117 _ACEOF
33118
33119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
33120
33121 if test "$wxUSE_MSW" = 1; then
33122 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
33123 cat >>confdefs.h <<\_ACEOF
33124 #define wxUSE_MS_HTML_HELP 1
33125 _ACEOF
33126
33127 fi
33128 fi
33129
33130 if test "$wxUSE_WXHTML_HELP" = "yes"; then
33131 if test "$wxUSE_HTML" = "yes"; then
33132 cat >>confdefs.h <<\_ACEOF
33133 #define wxUSE_WXHTML_HELP 1
33134 _ACEOF
33135
33136 else
33137 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
33138 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
33139 wxUSE_WXHTML_HELP=no
33140 fi
33141 fi
33142 fi
33143
33144 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33145 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33146 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
33147 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
33148 else
33149 cat >>confdefs.h <<\_ACEOF
33150 #define wxUSE_PRINTING_ARCHITECTURE 1
33151 _ACEOF
33152
33153 fi
33154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
33155 fi
33156
33157 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
33158 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
33159 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
33160 { (exit 1); exit 1; }; }
33161 fi
33162
33163
33164 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
33165 -o "$wxUSE_CLIPBOARD" = "yes" \
33166 -o "$wxUSE_OLE" = "yes" \
33167 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
33168
33169 for ac_header in ole2.h
33170 do
33171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33173 echo "$as_me:$LINENO: checking for $ac_header" >&5
33174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 fi
33178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33180 else
33181 # Is the header compilable?
33182 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33183 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33184 cat >conftest.$ac_ext <<_ACEOF
33185 #line $LINENO "configure"
33186 /* confdefs.h. */
33187 _ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 $ac_includes_default
33192 #include <$ac_header>
33193 _ACEOF
33194 rm -f conftest.$ac_objext
33195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33196 (eval $ac_compile) 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } &&
33200 { ac_try='test -s conftest.$ac_objext'
33201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33202 (eval $ac_try) 2>&5
33203 ac_status=$?
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; }; then
33206 ac_header_compiler=yes
33207 else
33208 echo "$as_me: failed program was:" >&5
33209 sed 's/^/| /' conftest.$ac_ext >&5
33210
33211 ac_header_compiler=no
33212 fi
33213 rm -f conftest.$ac_objext conftest.$ac_ext
33214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33215 echo "${ECHO_T}$ac_header_compiler" >&6
33216
33217 # Is the header present?
33218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33220 cat >conftest.$ac_ext <<_ACEOF
33221 #line $LINENO "configure"
33222 /* confdefs.h. */
33223 _ACEOF
33224 cat confdefs.h >>conftest.$ac_ext
33225 cat >>conftest.$ac_ext <<_ACEOF
33226 /* end confdefs.h. */
33227 #include <$ac_header>
33228 _ACEOF
33229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33231 ac_status=$?
33232 grep -v '^ *+' conftest.er1 >conftest.err
33233 rm -f conftest.er1
33234 cat conftest.err >&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } >/dev/null; then
33237 if test -s conftest.err; then
33238 ac_cpp_err=$ac_c_preproc_warn_flag
33239 else
33240 ac_cpp_err=
33241 fi
33242 else
33243 ac_cpp_err=yes
33244 fi
33245 if test -z "$ac_cpp_err"; then
33246 ac_header_preproc=yes
33247 else
33248 echo "$as_me: failed program was:" >&5
33249 sed 's/^/| /' conftest.$ac_ext >&5
33250
33251 ac_header_preproc=no
33252 fi
33253 rm -f conftest.err conftest.$ac_ext
33254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33255 echo "${ECHO_T}$ac_header_preproc" >&6
33256
33257 # So? What about this header?
33258 case $ac_header_compiler:$ac_header_preproc in
33259 yes:no )
33260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33264 (
33265 cat <<\_ASBOX
33266 ## ------------------------------------ ##
33267 ## Report this to bug-autoconf@gnu.org. ##
33268 ## ------------------------------------ ##
33269 _ASBOX
33270 ) |
33271 sed "s/^/$as_me: WARNING: /" >&2
33272 ;;
33273 no:yes )
33274 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33276 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33280 (
33281 cat <<\_ASBOX
33282 ## ------------------------------------ ##
33283 ## Report this to bug-autoconf@gnu.org. ##
33284 ## ------------------------------------ ##
33285 _ASBOX
33286 ) |
33287 sed "s/^/$as_me: WARNING: /" >&2
33288 ;;
33289 esac
33290 echo "$as_me:$LINENO: checking for $ac_header" >&5
33291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33293 echo $ECHO_N "(cached) $ECHO_C" >&6
33294 else
33295 eval "$as_ac_Header=$ac_header_preproc"
33296 fi
33297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33299
33300 fi
33301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33302 cat >>confdefs.h <<_ACEOF
33303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33304 _ACEOF
33305
33306 fi
33307
33308 done
33309
33310
33311 if test "$ac_cv_header_ole2_h" = "yes" ; then
33312 if test "$GCC" = yes ; then
33313
33314
33315 ac_ext=cc
33316 ac_cpp='$CXXCPP $CPPFLAGS'
33317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33320
33321
33322 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
33323 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
33324 cat >conftest.$ac_ext <<_ACEOF
33325 #line $LINENO "configure"
33326 /* confdefs.h. */
33327 _ACEOF
33328 cat confdefs.h >>conftest.$ac_ext
33329 cat >>conftest.$ac_ext <<_ACEOF
33330 /* end confdefs.h. */
33331 #include <windows.h>
33332 #include <ole2.h>
33333 int
33334 main ()
33335 {
33336
33337 ;
33338 return 0;
33339 }
33340 _ACEOF
33341 rm -f conftest.$ac_objext
33342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33343 (eval $ac_compile) 2>&5
33344 ac_status=$?
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); } &&
33347 { ac_try='test -s conftest.$ac_objext'
33348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349 (eval $ac_try) 2>&5
33350 ac_status=$?
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; }; then
33353 echo "$as_me:$LINENO: result: no" >&5
33354 echo "${ECHO_T}no" >&6
33355 else
33356 echo "$as_me: failed program was:" >&5
33357 sed 's/^/| /' conftest.$ac_ext >&5
33358
33359 echo "$as_me:$LINENO: result: yes" >&5
33360 echo "${ECHO_T}yes" >&6
33361 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
33362 fi
33363 rm -f conftest.$ac_objext conftest.$ac_ext
33364 ac_ext=c
33365 ac_cpp='$CPP $CPPFLAGS'
33366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33369
33370 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
33371 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
33372 if test "$wxUSE_OLE" = "yes" ; then
33373 cat >>confdefs.h <<\_ACEOF
33374 #define wxUSE_OLE 1
33375 _ACEOF
33376
33377 fi
33378 fi
33379
33380 if test "$wxUSE_DATAOBJ" = "yes" ; then
33381 cat >>confdefs.h <<\_ACEOF
33382 #define wxUSE_DATAOBJ 1
33383 _ACEOF
33384
33385 fi
33386 else
33387 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
33388 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
33389
33390 wxUSE_CLIPBOARD=no
33391 wxUSE_DRAG_AND_DROP=no
33392 wxUSE_DATAOBJ=no
33393 wxUSE_OLE=no
33394 fi
33395
33396 if test "$wxUSE_METAFILE" = "yes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398 #define wxUSE_METAFILE 1
33399 _ACEOF
33400
33401
33402 cat >>confdefs.h <<\_ACEOF
33403 #define wxUSE_ENH_METAFILE 1
33404 _ACEOF
33405
33406 fi
33407 fi
33408
33409 if test "$wxUSE_IPC" = "yes"; then
33410 if test "$wxUSE_SOCKETS" != "yes"; then
33411 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
33412 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
33413 fi
33414
33415 cat >>confdefs.h <<\_ACEOF
33416 #define wxUSE_IPC 1
33417 _ACEOF
33418
33419 fi
33420
33421 if test "$wxUSE_CLIPBOARD" = "yes"; then
33422 if test "$wxUSE_MGL" = 1; then
33423 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
33424 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
33425 wxUSE_CLIPBOARD=no
33426 fi
33427
33428 if test "$wxUSE_CLIPBOARD" = "yes"; then
33429 cat >>confdefs.h <<\_ACEOF
33430 #define wxUSE_CLIPBOARD 1
33431 _ACEOF
33432
33433
33434 cat >>confdefs.h <<\_ACEOF
33435 #define wxUSE_DATAOBJ 1
33436 _ACEOF
33437
33438 fi
33439 fi
33440
33441 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
33442 if test "$wxUSE_GTK" = 1; then
33443 if test "$WXGTK12" != 1; then
33444 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
33445 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
33446 wxUSE_DRAG_AND_DROP=no
33447 fi
33448 fi
33449
33450 if test "$wxUSE_MOTIF" = 1; then
33451 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
33452 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
33453 wxUSE_DRAG_AND_DROP=no
33454 fi
33455
33456 if test "$wxUSE_X11" = 1; then
33457 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
33458 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
33459 wxUSE_DRAG_AND_DROP=no
33460 fi
33461
33462 if test "$wxUSE_MGL" = 1; then
33463 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
33464 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
33465 wxUSE_DRAG_AND_DROP=no
33466 fi
33467
33468 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
33469 cat >>confdefs.h <<\_ACEOF
33470 #define wxUSE_DRAG_AND_DROP 1
33471 _ACEOF
33472
33473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
33474 fi
33475
33476 fi
33477
33478 if test "$wxUSE_SPLINES" = "yes" ; then
33479 cat >>confdefs.h <<\_ACEOF
33480 #define wxUSE_SPLINES 1
33481 _ACEOF
33482
33483 fi
33484
33485
33486 USES_CONTROLS=0
33487 if test "$wxUSE_CONTROLS" = "yes"; then
33488 USES_CONTROLS=1
33489 fi
33490
33491 if test "$wxUSE_ACCEL" = "yes"; then
33492 cat >>confdefs.h <<\_ACEOF
33493 #define wxUSE_ACCEL 1
33494 _ACEOF
33495
33496 USES_CONTROLS=1
33497 fi
33498
33499 if test "$wxUSE_BUTTON" = "yes"; then
33500 cat >>confdefs.h <<\_ACEOF
33501 #define wxUSE_BUTTON 1
33502 _ACEOF
33503
33504 USES_CONTROLS=1
33505 fi
33506
33507 if test "$wxUSE_BMPBUTTON" = "yes"; then
33508 cat >>confdefs.h <<\_ACEOF
33509 #define wxUSE_BMPBUTTON 1
33510 _ACEOF
33511
33512 USES_CONTROLS=1
33513 fi
33514
33515 if test "$wxUSE_CALCTRL" = "yes"; then
33516 cat >>confdefs.h <<\_ACEOF
33517 #define wxUSE_CALENDARCTRL 1
33518 _ACEOF
33519
33520 USES_CONTROLS=1
33521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
33522 fi
33523
33524 if test "$wxUSE_CARET" = "yes"; then
33525 cat >>confdefs.h <<\_ACEOF
33526 #define wxUSE_CARET 1
33527 _ACEOF
33528
33529 USES_CONTROLS=1
33530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
33531 fi
33532
33533 if test "$wxUSE_COMBOBOX" = "yes"; then
33534 cat >>confdefs.h <<\_ACEOF
33535 #define wxUSE_COMBOBOX 1
33536 _ACEOF
33537
33538 USES_CONTROLS=1
33539 fi
33540
33541 if test "$wxUSE_CHOICE" = "yes"; then
33542 cat >>confdefs.h <<\_ACEOF
33543 #define wxUSE_CHOICE 1
33544 _ACEOF
33545
33546 USES_CONTROLS=1
33547 fi
33548
33549 if test "$wxUSE_CHECKBOX" = "yes"; then
33550 cat >>confdefs.h <<\_ACEOF
33551 #define wxUSE_CHECKBOX 1
33552 _ACEOF
33553
33554 USES_CONTROLS=1
33555 fi
33556
33557 if test "$wxUSE_CHECKLST" = "yes"; then
33558 cat >>confdefs.h <<\_ACEOF
33559 #define wxUSE_CHECKLISTBOX 1
33560 _ACEOF
33561
33562 USES_CONTROLS=1
33563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33564 fi
33565
33566 if test "$wxUSE_DISPLAY" = "yes"; then
33567 cat >>confdefs.h <<\_ACEOF
33568 #define wxUSE_DISPLAY 1
33569 _ACEOF
33570
33571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33572 fi
33573
33574 if test "$wxUSE_GAUGE" = "yes"; then
33575 cat >>confdefs.h <<\_ACEOF
33576 #define wxUSE_GAUGE 1
33577 _ACEOF
33578
33579 USES_CONTROLS=1
33580 fi
33581
33582 if test "$wxUSE_GRID" = "yes"; then
33583 cat >>confdefs.h <<\_ACEOF
33584 #define wxUSE_GRID 1
33585 _ACEOF
33586
33587 USES_CONTROLS=1
33588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33589 fi
33590
33591 if test "$wxUSE_IMAGLIST" = "yes"; then
33592 cat >>confdefs.h <<\_ACEOF
33593 #define wxUSE_IMAGLIST 1
33594 _ACEOF
33595
33596 fi
33597
33598 if test "$wxUSE_LISTBOOK" = "yes"; then
33599 cat >>confdefs.h <<\_ACEOF
33600 #define wxUSE_LISTBOOK 1
33601 _ACEOF
33602
33603 USES_CONTROLS=1
33604 fi
33605
33606 if test "$wxUSE_LISTBOX" = "yes"; then
33607 cat >>confdefs.h <<\_ACEOF
33608 #define wxUSE_LISTBOX 1
33609 _ACEOF
33610
33611 USES_CONTROLS=1
33612 fi
33613
33614 if test "$wxUSE_LISTCTRL" = "yes"; then
33615 if test "$wxUSE_IMAGLIST" = "yes"; then
33616 cat >>confdefs.h <<\_ACEOF
33617 #define wxUSE_LISTCTRL 1
33618 _ACEOF
33619
33620 USES_CONTROLS=1
33621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33622 else
33623 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33624 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33625 fi
33626 fi
33627
33628 if test "$wxUSE_NOTEBOOK" = "yes"; then
33629 cat >>confdefs.h <<\_ACEOF
33630 #define wxUSE_NOTEBOOK 1
33631 _ACEOF
33632
33633 USES_CONTROLS=1
33634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33635 fi
33636
33637
33638 if test "$wxUSE_RADIOBOX" = "yes"; then
33639 cat >>confdefs.h <<\_ACEOF
33640 #define wxUSE_RADIOBOX 1
33641 _ACEOF
33642
33643 USES_CONTROLS=1
33644 fi
33645
33646 if test "$wxUSE_RADIOBTN" = "yes"; then
33647 cat >>confdefs.h <<\_ACEOF
33648 #define wxUSE_RADIOBTN 1
33649 _ACEOF
33650
33651 USES_CONTROLS=1
33652 fi
33653
33654 if test "$wxUSE_SASH" = "yes"; then
33655 cat >>confdefs.h <<\_ACEOF
33656 #define wxUSE_SASH 1
33657 _ACEOF
33658
33659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33660 fi
33661
33662 if test "$wxUSE_SCROLLBAR" = "yes"; then
33663 cat >>confdefs.h <<\_ACEOF
33664 #define wxUSE_SCROLLBAR 1
33665 _ACEOF
33666
33667 USES_CONTROLS=1
33668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33669 fi
33670
33671 if test "$wxUSE_SLIDER" = "yes"; then
33672 cat >>confdefs.h <<\_ACEOF
33673 #define wxUSE_SLIDER 1
33674 _ACEOF
33675
33676 USES_CONTROLS=1
33677 fi
33678
33679 if test "$wxUSE_SPINBTN" = "yes"; then
33680 cat >>confdefs.h <<\_ACEOF
33681 #define wxUSE_SPINBTN 1
33682 _ACEOF
33683
33684 USES_CONTROLS=1
33685 fi
33686
33687 if test "$wxUSE_SPINCTRL" = "yes"; then
33688 cat >>confdefs.h <<\_ACEOF
33689 #define wxUSE_SPINCTRL 1
33690 _ACEOF
33691
33692 USES_CONTROLS=1
33693 fi
33694
33695 if test "$wxUSE_SPLITTER" = "yes"; then
33696 cat >>confdefs.h <<\_ACEOF
33697 #define wxUSE_SPLITTER 1
33698 _ACEOF
33699
33700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33701 fi
33702
33703 if test "$wxUSE_STATBMP" = "yes"; then
33704 cat >>confdefs.h <<\_ACEOF
33705 #define wxUSE_STATBMP 1
33706 _ACEOF
33707
33708 USES_CONTROLS=1
33709 fi
33710
33711 if test "$wxUSE_STATBOX" = "yes"; then
33712 cat >>confdefs.h <<\_ACEOF
33713 #define wxUSE_STATBOX 1
33714 _ACEOF
33715
33716 USES_CONTROLS=1
33717 fi
33718
33719 if test "$wxUSE_STATTEXT" = "yes"; then
33720 cat >>confdefs.h <<\_ACEOF
33721 #define wxUSE_STATTEXT 1
33722 _ACEOF
33723
33724 USES_CONTROLS=1
33725 fi
33726
33727 if test "$wxUSE_STATLINE" = "yes"; then
33728 cat >>confdefs.h <<\_ACEOF
33729 #define wxUSE_STATLINE 1
33730 _ACEOF
33731
33732 USES_CONTROLS=1
33733 fi
33734
33735 if test "$wxUSE_STATUSBAR" = "yes"; then
33736 cat >>confdefs.h <<\_ACEOF
33737 #define wxUSE_STATUSBAR 1
33738 _ACEOF
33739
33740 USES_CONTROLS=1
33741
33742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33743 fi
33744
33745 if test "$wxUSE_TABDIALOG" = "yes"; then
33746 cat >>confdefs.h <<\_ACEOF
33747 #define wxUSE_TAB_DIALOG 1
33748 _ACEOF
33749
33750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33751 fi
33752
33753 if test "$wxUSE_TEXTCTRL" = "yes"; then
33754 cat >>confdefs.h <<\_ACEOF
33755 #define wxUSE_TEXTCTRL 1
33756 _ACEOF
33757
33758 USES_CONTROLS=1
33759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33760 fi
33761
33762 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33763 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33764 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33765 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33766 wxUSE_TOGGLEBTN=no
33767 fi
33768 if test "$wxUSE_UNIVERSAL" = "yes"; then
33769 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33770 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33771 wxUSE_TOGGLEBTN=no
33772 fi
33773
33774 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33775 cat >>confdefs.h <<\_ACEOF
33776 #define wxUSE_TOGGLEBTN 1
33777 _ACEOF
33778
33779 USES_CONTROLS=1
33780 fi
33781 fi
33782
33783 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33784 cat >>confdefs.h <<\_ACEOF
33785 #define wxUSE_TOOLBAR_SIMPLE 1
33786 _ACEOF
33787
33788 wxUSE_TOOLBAR="yes"
33789 USES_CONTROLS=1
33790 fi
33791
33792 if test "$wxUSE_TOOLBAR" = "yes"; then
33793 cat >>confdefs.h <<\_ACEOF
33794 #define wxUSE_TOOLBAR 1
33795 _ACEOF
33796
33797 USES_CONTROLS=1
33798
33799 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33800 wxUSE_TOOLBAR_NATIVE="yes"
33801 fi
33802
33803 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33804 cat >>confdefs.h <<\_ACEOF
33805 #define wxUSE_TOOLBAR_NATIVE 1
33806 _ACEOF
33807
33808 USES_CONTROLS=1
33809 fi
33810
33811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33812 fi
33813
33814 if test "$wxUSE_TOOLTIPS" = "yes"; then
33815 if test "$wxUSE_MOTIF" = 1; then
33816 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33817 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33818 else
33819 if test "$wxUSE_UNIVERSAL" = "yes"; then
33820 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33821 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33822 else
33823 cat >>confdefs.h <<\_ACEOF
33824 #define wxUSE_TOOLTIPS 1
33825 _ACEOF
33826
33827 fi
33828 fi
33829 fi
33830
33831 if test "$wxUSE_TREECTRL" = "yes"; then
33832 if test "$wxUSE_IMAGLIST" = "yes"; then
33833 cat >>confdefs.h <<\_ACEOF
33834 #define wxUSE_TREECTRL 1
33835 _ACEOF
33836
33837 USES_CONTROLS=1
33838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33839 else
33840 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33841 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33842 fi
33843 fi
33844
33845 if test "$wxUSE_POPUPWIN" = "yes"; then
33846 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33847 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33848 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33849 else
33850 if test "$wxUSE_PM" = 1; then
33851 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33852 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33853 else
33854 cat >>confdefs.h <<\_ACEOF
33855 #define wxUSE_POPUPWIN 1
33856 _ACEOF
33857
33858
33859 USES_CONTROLS=1
33860 fi
33861 fi
33862 fi
33863
33864 if test "$wxUSE_TIPWINDOW" = "yes"; then
33865 if test "$wxUSE_PM" = 1; then
33866 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33867 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33868 else
33869 cat >>confdefs.h <<\_ACEOF
33870 #define wxUSE_TIPWINDOW 1
33871 _ACEOF
33872
33873 fi
33874 fi
33875
33876 if test "$USES_CONTROLS" = 1; then
33877 cat >>confdefs.h <<\_ACEOF
33878 #define wxUSE_CONTROLS 1
33879 _ACEOF
33880
33881 fi
33882
33883
33884 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33885 cat >>confdefs.h <<\_ACEOF
33886 #define wxUSE_ACCESSIBILITY 1
33887 _ACEOF
33888
33889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33890 fi
33891
33892 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33893 cat >>confdefs.h <<\_ACEOF
33894 #define wxUSE_DRAGIMAGE 1
33895 _ACEOF
33896
33897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33898 fi
33899
33900 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33901 cat >>confdefs.h <<\_ACEOF
33902 #define wxUSE_EXCEPTIONS 1
33903 _ACEOF
33904
33905 fi
33906
33907 USE_HTML=0
33908 if test "$wxUSE_HTML" = "yes"; then
33909 cat >>confdefs.h <<\_ACEOF
33910 #define wxUSE_HTML 1
33911 _ACEOF
33912
33913 USE_HTML=1
33914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33915 fi
33916
33917 if test "$wxUSE_MENUS" = "yes"; then
33918 cat >>confdefs.h <<\_ACEOF
33919 #define wxUSE_MENUS 1
33920 _ACEOF
33921
33922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33923 fi
33924
33925 if test "$wxUSE_METAFILE" = "yes"; then
33926 cat >>confdefs.h <<\_ACEOF
33927 #define wxUSE_METAFILE 1
33928 _ACEOF
33929
33930 fi
33931
33932 if test "$wxUSE_MIMETYPE" = "yes"; then
33933 cat >>confdefs.h <<\_ACEOF
33934 #define wxUSE_MIMETYPE 1
33935 _ACEOF
33936
33937 fi
33938
33939 if test "$wxUSE_MINIFRAME" = "yes"; then
33940 cat >>confdefs.h <<\_ACEOF
33941 #define wxUSE_MINIFRAME 1
33942 _ACEOF
33943
33944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33945 fi
33946
33947 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33948 cat >>confdefs.h <<\_ACEOF
33949 #define wxUSE_SYSTEM_OPTIONS 1
33950 _ACEOF
33951
33952 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33953 "$TOOLKIT" = "MOTIF"; then
33954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33955 fi
33956 fi
33957
33958
33959 if test "$wxUSE_VALIDATORS" = "yes"; then
33960 cat >>confdefs.h <<\_ACEOF
33961 #define wxUSE_VALIDATORS 1
33962 _ACEOF
33963
33964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33965 fi
33966
33967 if test "$wxUSE_PALETTE" = "yes" ; then
33968 cat >>confdefs.h <<\_ACEOF
33969 #define wxUSE_PALETTE 1
33970 _ACEOF
33971
33972 fi
33973
33974 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33975 LIBS=" -lunicows $LIBS"
33976 fi
33977
33978
33979 if test "$wxUSE_IMAGE" = "yes" ; then
33980 cat >>confdefs.h <<\_ACEOF
33981 #define wxUSE_IMAGE 1
33982 _ACEOF
33983
33984
33985 if test "$wxUSE_GIF" = "yes" ; then
33986 cat >>confdefs.h <<\_ACEOF
33987 #define wxUSE_GIF 1
33988 _ACEOF
33989
33990 fi
33991
33992 if test "$wxUSE_PCX" = "yes" ; then
33993 cat >>confdefs.h <<\_ACEOF
33994 #define wxUSE_PCX 1
33995 _ACEOF
33996
33997 fi
33998
33999 if test "$wxUSE_IFF" = "yes" ; then
34000 cat >>confdefs.h <<\_ACEOF
34001 #define wxUSE_IFF 1
34002 _ACEOF
34003
34004 fi
34005
34006 if test "$wxUSE_PNM" = "yes" ; then
34007 cat >>confdefs.h <<\_ACEOF
34008 #define wxUSE_PNM 1
34009 _ACEOF
34010
34011 fi
34012
34013 if test "$wxUSE_XPM" = "yes" ; then
34014 cat >>confdefs.h <<\_ACEOF
34015 #define wxUSE_XPM 1
34016 _ACEOF
34017
34018 fi
34019
34020 if test "$wxUSE_ICO_CUR" = "yes" ; then
34021 cat >>confdefs.h <<\_ACEOF
34022 #define wxUSE_ICO_CUR 1
34023 _ACEOF
34024
34025 fi
34026 fi
34027
34028
34029 if test "$wxUSE_CHOICEDLG" = "yes"; then
34030 cat >>confdefs.h <<\_ACEOF
34031 #define wxUSE_CHOICEDLG 1
34032 _ACEOF
34033
34034 fi
34035
34036 if test "$wxUSE_COLOURDLG" = "yes"; then
34037 cat >>confdefs.h <<\_ACEOF
34038 #define wxUSE_COLOURDLG 1
34039 _ACEOF
34040
34041 fi
34042
34043 if test "$wxUSE_FILEDLG" = "yes"; then
34044 cat >>confdefs.h <<\_ACEOF
34045 #define wxUSE_FILEDLG 1
34046 _ACEOF
34047
34048 fi
34049
34050 if test "$wxUSE_FINDREPLDLG" = "yes"; then
34051 cat >>confdefs.h <<\_ACEOF
34052 #define wxUSE_FINDREPLDLG 1
34053 _ACEOF
34054
34055 fi
34056
34057 if test "$wxUSE_FONTDLG" = "yes"; then
34058 cat >>confdefs.h <<\_ACEOF
34059 #define wxUSE_FONTDLG 1
34060 _ACEOF
34061
34062 fi
34063
34064 if test "$wxUSE_DIRDLG" = "yes"; then
34065 if test "$wxUSE_TREECTRL" != "yes"; then
34066 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
34067 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
34068 else
34069 cat >>confdefs.h <<\_ACEOF
34070 #define wxUSE_DIRDLG 1
34071 _ACEOF
34072
34073 fi
34074 fi
34075
34076 if test "$wxUSE_MSGDLG" = "yes"; then
34077 cat >>confdefs.h <<\_ACEOF
34078 #define wxUSE_MSGDLG 1
34079 _ACEOF
34080
34081 fi
34082
34083 if test "$wxUSE_NUMBERDLG" = "yes"; then
34084 cat >>confdefs.h <<\_ACEOF
34085 #define wxUSE_NUMBERDLG 1
34086 _ACEOF
34087
34088 fi
34089
34090 if test "$wxUSE_PROGRESSDLG" = "yes"; then
34091 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34092 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
34093 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
34094 else
34095 cat >>confdefs.h <<\_ACEOF
34096 #define wxUSE_PROGRESSDLG 1
34097 _ACEOF
34098
34099 fi
34100 fi
34101
34102 if test "$wxUSE_SPLASH" = "yes"; then
34103 cat >>confdefs.h <<\_ACEOF
34104 #define wxUSE_SPLASH 1
34105 _ACEOF
34106
34107 fi
34108
34109 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
34110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34111 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
34112 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
34113 else
34114 cat >>confdefs.h <<\_ACEOF
34115 #define wxUSE_STARTUP_TIPS 1
34116 _ACEOF
34117
34118 fi
34119 fi
34120
34121 if test "$wxUSE_TEXTDLG" = "yes"; then
34122 cat >>confdefs.h <<\_ACEOF
34123 #define wxUSE_TEXTDLG 1
34124 _ACEOF
34125
34126 fi
34127
34128 if test "$wxUSE_WIZARDDLG" = "yes"; then
34129 cat >>confdefs.h <<\_ACEOF
34130 #define wxUSE_WIZARDDLG 1
34131 _ACEOF
34132
34133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
34134 fi
34135
34136
34137 if test "$cross_compiling" = "yes"; then
34138 OSINFO="\"$host\""
34139 else
34140 OSINFO=`uname -s -r -m`
34141 OSINFO="\"$OSINFO\""
34142 fi
34143
34144 cat >>confdefs.h <<_ACEOF
34145 #define WXWIN_OS_DESCRIPTION $OSINFO
34146 _ACEOF
34147
34148
34149
34150 if test "x$prefix" != "xNONE"; then
34151 wxPREFIX=$prefix
34152 else
34153 wxPREFIX=$ac_default_prefix
34154 fi
34155
34156 cat >>confdefs.h <<_ACEOF
34157 #define wxINSTALL_PREFIX "$wxPREFIX"
34158 _ACEOF
34159
34160
34161 top_builddir_wxconfig=`pwd`
34162
34163
34164
34165 CORE_BASE_LIBS="net base"
34166 CORE_GUI_LIBS="adv core"
34167
34168 if test "$wxUSE_XML" = "yes" ; then
34169 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
34170 fi
34171 if test "$wxUSE_ODBC" != "no" ; then
34172 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
34173 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
34174 fi
34175 if test "$wxUSE_HTML" = "yes" ; then
34176 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
34177 fi
34178
34179 if test "$wxUSE_GUI" != "yes"; then
34180 CORE_GUI_LIBS=""
34181 fi
34182
34183
34184
34185
34186
34187
34188
34189
34190 if test "$wxUSE_MAC" = 1 ; then
34191 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
34192 fi
34193 if test "$wxUSE_COCOA" = 1 ; then
34194 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
34195 fi
34196
34197
34198 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
34199
34200 have_cos=0
34201 have_floor=0
34202
34203 for ac_func in cos
34204 do
34205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34206 echo "$as_me:$LINENO: checking for $ac_func" >&5
34207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34208 if eval "test \"\${$as_ac_var+set}\" = set"; then
34209 echo $ECHO_N "(cached) $ECHO_C" >&6
34210 else
34211 cat >conftest.$ac_ext <<_ACEOF
34212 #line $LINENO "configure"
34213 /* confdefs.h. */
34214 _ACEOF
34215 cat confdefs.h >>conftest.$ac_ext
34216 cat >>conftest.$ac_ext <<_ACEOF
34217 /* end confdefs.h. */
34218 /* System header to define __stub macros and hopefully few prototypes,
34219 which can conflict with char $ac_func (); below.
34220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34221 <limits.h> exists even on freestanding compilers. */
34222 #ifdef __STDC__
34223 # include <limits.h>
34224 #else
34225 # include <assert.h>
34226 #endif
34227 /* Override any gcc2 internal prototype to avoid an error. */
34228 #ifdef __cplusplus
34229 extern "C"
34230 {
34231 #endif
34232 /* We use char because int might match the return type of a gcc2
34233 builtin and then its argument prototype would still apply. */
34234 char $ac_func ();
34235 /* The GNU C library defines this for functions which it implements
34236 to always fail with ENOSYS. Some functions are actually named
34237 something starting with __ and the normal name is an alias. */
34238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34239 choke me
34240 #else
34241 char (*f) () = $ac_func;
34242 #endif
34243 #ifdef __cplusplus
34244 }
34245 #endif
34246
34247 int
34248 main ()
34249 {
34250 return f != $ac_func;
34251 ;
34252 return 0;
34253 }
34254 _ACEOF
34255 rm -f conftest.$ac_objext conftest$ac_exeext
34256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34257 (eval $ac_link) 2>&5
34258 ac_status=$?
34259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260 (exit $ac_status); } &&
34261 { ac_try='test -s conftest$ac_exeext'
34262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34263 (eval $ac_try) 2>&5
34264 ac_status=$?
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); }; }; then
34267 eval "$as_ac_var=yes"
34268 else
34269 echo "$as_me: failed program was:" >&5
34270 sed 's/^/| /' conftest.$ac_ext >&5
34271
34272 eval "$as_ac_var=no"
34273 fi
34274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34275 fi
34276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34278 if test `eval echo '${'$as_ac_var'}'` = yes; then
34279 cat >>confdefs.h <<_ACEOF
34280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34281 _ACEOF
34282 have_cos=1
34283 fi
34284 done
34285
34286
34287 for ac_func in floor
34288 do
34289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34290 echo "$as_me:$LINENO: checking for $ac_func" >&5
34291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34292 if eval "test \"\${$as_ac_var+set}\" = set"; then
34293 echo $ECHO_N "(cached) $ECHO_C" >&6
34294 else
34295 cat >conftest.$ac_ext <<_ACEOF
34296 #line $LINENO "configure"
34297 /* confdefs.h. */
34298 _ACEOF
34299 cat confdefs.h >>conftest.$ac_ext
34300 cat >>conftest.$ac_ext <<_ACEOF
34301 /* end confdefs.h. */
34302 /* System header to define __stub macros and hopefully few prototypes,
34303 which can conflict with char $ac_func (); below.
34304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34305 <limits.h> exists even on freestanding compilers. */
34306 #ifdef __STDC__
34307 # include <limits.h>
34308 #else
34309 # include <assert.h>
34310 #endif
34311 /* Override any gcc2 internal prototype to avoid an error. */
34312 #ifdef __cplusplus
34313 extern "C"
34314 {
34315 #endif
34316 /* We use char because int might match the return type of a gcc2
34317 builtin and then its argument prototype would still apply. */
34318 char $ac_func ();
34319 /* The GNU C library defines this for functions which it implements
34320 to always fail with ENOSYS. Some functions are actually named
34321 something starting with __ and the normal name is an alias. */
34322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34323 choke me
34324 #else
34325 char (*f) () = $ac_func;
34326 #endif
34327 #ifdef __cplusplus
34328 }
34329 #endif
34330
34331 int
34332 main ()
34333 {
34334 return f != $ac_func;
34335 ;
34336 return 0;
34337 }
34338 _ACEOF
34339 rm -f conftest.$ac_objext conftest$ac_exeext
34340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34341 (eval $ac_link) 2>&5
34342 ac_status=$?
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); } &&
34345 { ac_try='test -s conftest$ac_exeext'
34346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347 (eval $ac_try) 2>&5
34348 ac_status=$?
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); }; }; then
34351 eval "$as_ac_var=yes"
34352 else
34353 echo "$as_me: failed program was:" >&5
34354 sed 's/^/| /' conftest.$ac_ext >&5
34355
34356 eval "$as_ac_var=no"
34357 fi
34358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34359 fi
34360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34362 if test `eval echo '${'$as_ac_var'}'` = yes; then
34363 cat >>confdefs.h <<_ACEOF
34364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34365 _ACEOF
34366 have_floor=1
34367 fi
34368 done
34369
34370 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
34371 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
34372 if test "$have_cos" = 1 -a "$have_floor" = 1; then
34373 echo "$as_me:$LINENO: result: yes" >&5
34374 echo "${ECHO_T}yes" >&6
34375 else
34376 echo "$as_me:$LINENO: result: no" >&5
34377 echo "${ECHO_T}no" >&6
34378 LIBS="$LIBS -lm"
34379 # use different functions to avoid configure caching
34380 have_sin=0
34381 have_ceil=0
34382
34383 for ac_func in sin
34384 do
34385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34386 echo "$as_me:$LINENO: checking for $ac_func" >&5
34387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34388 if eval "test \"\${$as_ac_var+set}\" = set"; then
34389 echo $ECHO_N "(cached) $ECHO_C" >&6
34390 else
34391 cat >conftest.$ac_ext <<_ACEOF
34392 #line $LINENO "configure"
34393 /* confdefs.h. */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398 /* System header to define __stub macros and hopefully few prototypes,
34399 which can conflict with char $ac_func (); below.
34400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34401 <limits.h> exists even on freestanding compilers. */
34402 #ifdef __STDC__
34403 # include <limits.h>
34404 #else
34405 # include <assert.h>
34406 #endif
34407 /* Override any gcc2 internal prototype to avoid an error. */
34408 #ifdef __cplusplus
34409 extern "C"
34410 {
34411 #endif
34412 /* We use char because int might match the return type of a gcc2
34413 builtin and then its argument prototype would still apply. */
34414 char $ac_func ();
34415 /* The GNU C library defines this for functions which it implements
34416 to always fail with ENOSYS. Some functions are actually named
34417 something starting with __ and the normal name is an alias. */
34418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34419 choke me
34420 #else
34421 char (*f) () = $ac_func;
34422 #endif
34423 #ifdef __cplusplus
34424 }
34425 #endif
34426
34427 int
34428 main ()
34429 {
34430 return f != $ac_func;
34431 ;
34432 return 0;
34433 }
34434 _ACEOF
34435 rm -f conftest.$ac_objext conftest$ac_exeext
34436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34437 (eval $ac_link) 2>&5
34438 ac_status=$?
34439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34440 (exit $ac_status); } &&
34441 { ac_try='test -s conftest$ac_exeext'
34442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443 (eval $ac_try) 2>&5
34444 ac_status=$?
34445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446 (exit $ac_status); }; }; then
34447 eval "$as_ac_var=yes"
34448 else
34449 echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.$ac_ext >&5
34451
34452 eval "$as_ac_var=no"
34453 fi
34454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34455 fi
34456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34458 if test `eval echo '${'$as_ac_var'}'` = yes; then
34459 cat >>confdefs.h <<_ACEOF
34460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34461 _ACEOF
34462 have_sin=1
34463 fi
34464 done
34465
34466
34467 for ac_func in ceil
34468 do
34469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34470 echo "$as_me:$LINENO: checking for $ac_func" >&5
34471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34472 if eval "test \"\${$as_ac_var+set}\" = set"; then
34473 echo $ECHO_N "(cached) $ECHO_C" >&6
34474 else
34475 cat >conftest.$ac_ext <<_ACEOF
34476 #line $LINENO "configure"
34477 /* confdefs.h. */
34478 _ACEOF
34479 cat confdefs.h >>conftest.$ac_ext
34480 cat >>conftest.$ac_ext <<_ACEOF
34481 /* end confdefs.h. */
34482 /* System header to define __stub macros and hopefully few prototypes,
34483 which can conflict with char $ac_func (); below.
34484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34485 <limits.h> exists even on freestanding compilers. */
34486 #ifdef __STDC__
34487 # include <limits.h>
34488 #else
34489 # include <assert.h>
34490 #endif
34491 /* Override any gcc2 internal prototype to avoid an error. */
34492 #ifdef __cplusplus
34493 extern "C"
34494 {
34495 #endif
34496 /* We use char because int might match the return type of a gcc2
34497 builtin and then its argument prototype would still apply. */
34498 char $ac_func ();
34499 /* The GNU C library defines this for functions which it implements
34500 to always fail with ENOSYS. Some functions are actually named
34501 something starting with __ and the normal name is an alias. */
34502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34503 choke me
34504 #else
34505 char (*f) () = $ac_func;
34506 #endif
34507 #ifdef __cplusplus
34508 }
34509 #endif
34510
34511 int
34512 main ()
34513 {
34514 return f != $ac_func;
34515 ;
34516 return 0;
34517 }
34518 _ACEOF
34519 rm -f conftest.$ac_objext conftest$ac_exeext
34520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34521 (eval $ac_link) 2>&5
34522 ac_status=$?
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); } &&
34525 { ac_try='test -s conftest$ac_exeext'
34526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527 (eval $ac_try) 2>&5
34528 ac_status=$?
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); }; }; then
34531 eval "$as_ac_var=yes"
34532 else
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 eval "$as_ac_var=no"
34537 fi
34538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34539 fi
34540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34542 if test `eval echo '${'$as_ac_var'}'` = yes; then
34543 cat >>confdefs.h <<_ACEOF
34544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34545 _ACEOF
34546 have_ceil=1
34547 fi
34548 done
34549
34550 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34551 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34552 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34553 echo "$as_me:$LINENO: result: yes" >&5
34554 echo "${ECHO_T}yes" >&6
34555 else
34556 echo "$as_me:$LINENO: result: no" >&5
34557 echo "${ECHO_T}no" >&6
34558 # not sure we should warn the user, crash, etc.
34559 fi
34560 fi
34561
34562 if test "$wxUSE_GUI" = "yes"; then
34563
34564
34565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34566 drawing dynamic erase event exec font image \
34567 minimal propsize rotate shaped widgets render"
34568
34569 if test "$wxUSE_MONOLITHIC" != "yes"; then
34570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34571 fi
34572 else
34573 SAMPLES_SUBDIRS="console"
34574 fi
34575
34576
34577 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34578 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
34579
34580 if test "$GXX" = yes ; then
34581 CXXWARNINGS="-Wall"
34582 fi
34583
34584 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34585
34586 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34587 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34588 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34589
34590
34591 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34592 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34593 EXTRALIBS_XML="$EXPAT_LINK"
34594 EXTRALIBS_HTML="$MSPACK_LINK"
34595 EXTRALIBS_ODBC="$ODBC_LINK"
34596 if test "$wxUSE_GUI" = "yes"; then
34597 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34598 fi
34599 if test "$wxUSE_OPENGL" = "yes"; then
34600 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34601 fi
34602
34603 LDFLAGS="$LDFLAGS $PROFILE"
34604
34605 if test "$wxUSE_GTK" = 1; then
34606 WXCONFIG_INCLUDE=
34607 else
34608 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34609 fi
34610
34611 WXCONFIG_EXTRALIBS="$LIBS"
34612
34613 if test "$wxUSE_REGEX" = "builtin" ; then
34614 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34615 fi
34616 if test "$wxUSE_EXPAT" = "builtin" ; then
34617 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34618 fi
34619 if test "$wxUSE_ODBC" = "builtin" ; then
34620 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34621 fi
34622 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34623 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34624 fi
34625 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34626 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34627 fi
34628 if test "$wxUSE_LIBPNG" = "builtin" ; then
34629 wxconfig_3rdparty="$wxconfig_3rdparty png"
34630 fi
34631 if test "$wxUSE_ZLIB" = "builtin" ; then
34632 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34633 fi
34634 if test "$wxUSE_ODBC" = "builtin" ; then
34635 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34636 fi
34637
34638 for i in $wxconfig_3rdparty ; do
34639 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34640 done
34641
34642
34643 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34644 WXUNIV=1
34645 else
34646 WXUNIV=0
34647 fi
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657 if test $wxUSE_MONOLITHIC = "yes" ; then
34658 MONOLITHIC=1
34659 else
34660 MONOLITHIC=0
34661 fi
34662
34663 if test $wxUSE_PLUGINS = "yes" ; then
34664 USE_PLUGINS=1
34665 else
34666 USE_PLUGINS=0
34667 fi
34668
34669 if test $wxUSE_ODBC != "no" ; then
34670 USE_ODBC=1
34671 else
34672 USE_ODBC=0
34673 fi
34674
34675 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34676 OFFICIAL_BUILD=1
34677 else
34678 OFFICIAL_BUILD=0
34679 fi
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
34702
34703
34704
34705
34706
34707
34708
34709 if test "x$BAKEFILE_HOST" = "x"; then
34710 BAKEFILE_HOST="${host}"
34711 fi
34712
34713 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34714
34715 if test -n "$ac_tool_prefix"; then
34716 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34717 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34718 echo "$as_me:$LINENO: checking for $ac_word" >&5
34719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34720 if test "${ac_cv_prog_RANLIB+set}" = set; then
34721 echo $ECHO_N "(cached) $ECHO_C" >&6
34722 else
34723 if test -n "$RANLIB"; then
34724 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34725 else
34726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34727 for as_dir in $PATH
34728 do
34729 IFS=$as_save_IFS
34730 test -z "$as_dir" && as_dir=.
34731 for ac_exec_ext in '' $ac_executable_extensions; do
34732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34733 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34735 break 2
34736 fi
34737 done
34738 done
34739
34740 fi
34741 fi
34742 RANLIB=$ac_cv_prog_RANLIB
34743 if test -n "$RANLIB"; then
34744 echo "$as_me:$LINENO: result: $RANLIB" >&5
34745 echo "${ECHO_T}$RANLIB" >&6
34746 else
34747 echo "$as_me:$LINENO: result: no" >&5
34748 echo "${ECHO_T}no" >&6
34749 fi
34750
34751 fi
34752 if test -z "$ac_cv_prog_RANLIB"; then
34753 ac_ct_RANLIB=$RANLIB
34754 # Extract the first word of "ranlib", so it can be a program name with args.
34755 set dummy ranlib; ac_word=$2
34756 echo "$as_me:$LINENO: checking for $ac_word" >&5
34757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34758 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 else
34761 if test -n "$ac_ct_RANLIB"; then
34762 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34763 else
34764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34765 for as_dir in $PATH
34766 do
34767 IFS=$as_save_IFS
34768 test -z "$as_dir" && as_dir=.
34769 for ac_exec_ext in '' $ac_executable_extensions; do
34770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34771 ac_cv_prog_ac_ct_RANLIB="ranlib"
34772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34773 break 2
34774 fi
34775 done
34776 done
34777
34778 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34779 fi
34780 fi
34781 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34782 if test -n "$ac_ct_RANLIB"; then
34783 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34784 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34785 else
34786 echo "$as_me:$LINENO: result: no" >&5
34787 echo "${ECHO_T}no" >&6
34788 fi
34789
34790 RANLIB=$ac_ct_RANLIB
34791 else
34792 RANLIB="$ac_cv_prog_RANLIB"
34793 fi
34794
34795 # Find a good install program. We prefer a C program (faster),
34796 # so one script is as good as another. But avoid the broken or
34797 # incompatible versions:
34798 # SysV /etc/install, /usr/sbin/install
34799 # SunOS /usr/etc/install
34800 # IRIX /sbin/install
34801 # AIX /bin/install
34802 # AmigaOS /C/install, which installs bootblocks on floppy discs
34803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34806 # ./install, which can be erroneously created by make from ./install.sh.
34807 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34808 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34809 if test -z "$INSTALL"; then
34810 if test "${ac_cv_path_install+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34814 for as_dir in $PATH
34815 do
34816 IFS=$as_save_IFS
34817 test -z "$as_dir" && as_dir=.
34818 # Account for people who put trailing slashes in PATH elements.
34819 case $as_dir/ in
34820 ./ | .// | /cC/* | \
34821 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34822 /usr/ucb/* ) ;;
34823 *)
34824 # OSF1 and SCO ODT 3.0 have their own names for install.
34825 # Don't use installbsd from OSF since it installs stuff as root
34826 # by default.
34827 for ac_prog in ginstall scoinst install; do
34828 for ac_exec_ext in '' $ac_executable_extensions; do
34829 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34830 if test $ac_prog = install &&
34831 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34832 # AIX install. It has an incompatible calling convention.
34833 :
34834 elif test $ac_prog = install &&
34835 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34836 # program-specific install script used by HP pwplus--don't use.
34837 :
34838 else
34839 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34840 break 3
34841 fi
34842 fi
34843 done
34844 done
34845 ;;
34846 esac
34847 done
34848
34849
34850 fi
34851 if test "${ac_cv_path_install+set}" = set; then
34852 INSTALL=$ac_cv_path_install
34853 else
34854 # As a last resort, use the slow shell script. We don't cache a
34855 # path for INSTALL within a source directory, because that will
34856 # break other packages using the cache if that directory is
34857 # removed, or if the path is relative.
34858 INSTALL=$ac_install_sh
34859 fi
34860 fi
34861 echo "$as_me:$LINENO: result: $INSTALL" >&5
34862 echo "${ECHO_T}$INSTALL" >&6
34863
34864 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34865 # It thinks the first close brace ends the variable substitution.
34866 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34867
34868 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34869
34870 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34871
34872 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34873 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34874 LN_S=$as_ln_s
34875 if test "$LN_S" = "ln -s"; then
34876 echo "$as_me:$LINENO: result: yes" >&5
34877 echo "${ECHO_T}yes" >&6
34878 else
34879 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34880 echo "${ECHO_T}no, using $LN_S" >&6
34881 fi
34882
34883
34884 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34885 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34886 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34887 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34888 echo $ECHO_N "(cached) $ECHO_C" >&6
34889 else
34890 cat >conftest.make <<\_ACEOF
34891 all:
34892 @echo 'ac_maketemp="$(MAKE)"'
34893 _ACEOF
34894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34895 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34896 if test -n "$ac_maketemp"; then
34897 eval ac_cv_prog_make_${ac_make}_set=yes
34898 else
34899 eval ac_cv_prog_make_${ac_make}_set=no
34900 fi
34901 rm -f conftest.make
34902 fi
34903 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34904 echo "$as_me:$LINENO: result: yes" >&5
34905 echo "${ECHO_T}yes" >&6
34906 SET_MAKE=
34907 else
34908 echo "$as_me:$LINENO: result: no" >&5
34909 echo "${ECHO_T}no" >&6
34910 SET_MAKE="MAKE=${MAKE-make}"
34911 fi
34912
34913
34914
34915 if test -n "$ac_tool_prefix"; then
34916 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34917 set dummy ${ac_tool_prefix}ar; ac_word=$2
34918 echo "$as_me:$LINENO: checking for $ac_word" >&5
34919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34920 if test "${ac_cv_prog_AR+set}" = set; then
34921 echo $ECHO_N "(cached) $ECHO_C" >&6
34922 else
34923 if test -n "$AR"; then
34924 ac_cv_prog_AR="$AR" # Let the user override the test.
34925 else
34926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34927 for as_dir in $PATH
34928 do
34929 IFS=$as_save_IFS
34930 test -z "$as_dir" && as_dir=.
34931 for ac_exec_ext in '' $ac_executable_extensions; do
34932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34933 ac_cv_prog_AR="${ac_tool_prefix}ar"
34934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34935 break 2
34936 fi
34937 done
34938 done
34939
34940 fi
34941 fi
34942 AR=$ac_cv_prog_AR
34943 if test -n "$AR"; then
34944 echo "$as_me:$LINENO: result: $AR" >&5
34945 echo "${ECHO_T}$AR" >&6
34946 else
34947 echo "$as_me:$LINENO: result: no" >&5
34948 echo "${ECHO_T}no" >&6
34949 fi
34950
34951 fi
34952 if test -z "$ac_cv_prog_AR"; then
34953 ac_ct_AR=$AR
34954 # Extract the first word of "ar", so it can be a program name with args.
34955 set dummy ar; ac_word=$2
34956 echo "$as_me:$LINENO: checking for $ac_word" >&5
34957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34958 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34961 if test -n "$ac_ct_AR"; then
34962 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34963 else
34964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34965 for as_dir in $PATH
34966 do
34967 IFS=$as_save_IFS
34968 test -z "$as_dir" && as_dir=.
34969 for ac_exec_ext in '' $ac_executable_extensions; do
34970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34971 ac_cv_prog_ac_ct_AR="ar"
34972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34973 break 2
34974 fi
34975 done
34976 done
34977
34978 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34979 fi
34980 fi
34981 ac_ct_AR=$ac_cv_prog_ac_ct_AR
34982 if test -n "$ac_ct_AR"; then
34983 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34984 echo "${ECHO_T}$ac_ct_AR" >&6
34985 else
34986 echo "$as_me:$LINENO: result: no" >&5
34987 echo "${ECHO_T}no" >&6
34988 fi
34989
34990 AR=$ac_ct_AR
34991 else
34992 AR="$ac_cv_prog_AR"
34993 fi
34994
34995 if test -n "$ac_tool_prefix"; then
34996 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34997 set dummy ${ac_tool_prefix}strip; ac_word=$2
34998 echo "$as_me:$LINENO: checking for $ac_word" >&5
34999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35000 if test "${ac_cv_prog_STRIP+set}" = set; then
35001 echo $ECHO_N "(cached) $ECHO_C" >&6
35002 else
35003 if test -n "$STRIP"; then
35004 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
35005 else
35006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35007 for as_dir in $PATH
35008 do
35009 IFS=$as_save_IFS
35010 test -z "$as_dir" && as_dir=.
35011 for ac_exec_ext in '' $ac_executable_extensions; do
35012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35013 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
35014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35015 break 2
35016 fi
35017 done
35018 done
35019
35020 fi
35021 fi
35022 STRIP=$ac_cv_prog_STRIP
35023 if test -n "$STRIP"; then
35024 echo "$as_me:$LINENO: result: $STRIP" >&5
35025 echo "${ECHO_T}$STRIP" >&6
35026 else
35027 echo "$as_me:$LINENO: result: no" >&5
35028 echo "${ECHO_T}no" >&6
35029 fi
35030
35031 fi
35032 if test -z "$ac_cv_prog_STRIP"; then
35033 ac_ct_STRIP=$STRIP
35034 # Extract the first word of "strip", so it can be a program name with args.
35035 set dummy strip; ac_word=$2
35036 echo "$as_me:$LINENO: checking for $ac_word" >&5
35037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35038 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
35039 echo $ECHO_N "(cached) $ECHO_C" >&6
35040 else
35041 if test -n "$ac_ct_STRIP"; then
35042 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
35043 else
35044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35045 for as_dir in $PATH
35046 do
35047 IFS=$as_save_IFS
35048 test -z "$as_dir" && as_dir=.
35049 for ac_exec_ext in '' $ac_executable_extensions; do
35050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35051 ac_cv_prog_ac_ct_STRIP="strip"
35052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35053 break 2
35054 fi
35055 done
35056 done
35057
35058 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
35059 fi
35060 fi
35061 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
35062 if test -n "$ac_ct_STRIP"; then
35063 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
35064 echo "${ECHO_T}$ac_ct_STRIP" >&6
35065 else
35066 echo "$as_me:$LINENO: result: no" >&5
35067 echo "${ECHO_T}no" >&6
35068 fi
35069
35070 STRIP=$ac_ct_STRIP
35071 else
35072 STRIP="$ac_cv_prog_STRIP"
35073 fi
35074
35075 if test -n "$ac_tool_prefix"; then
35076 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
35077 set dummy ${ac_tool_prefix}nm; ac_word=$2
35078 echo "$as_me:$LINENO: checking for $ac_word" >&5
35079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35080 if test "${ac_cv_prog_NM+set}" = set; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 else
35083 if test -n "$NM"; then
35084 ac_cv_prog_NM="$NM" # Let the user override the test.
35085 else
35086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35087 for as_dir in $PATH
35088 do
35089 IFS=$as_save_IFS
35090 test -z "$as_dir" && as_dir=.
35091 for ac_exec_ext in '' $ac_executable_extensions; do
35092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35093 ac_cv_prog_NM="${ac_tool_prefix}nm"
35094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35095 break 2
35096 fi
35097 done
35098 done
35099
35100 fi
35101 fi
35102 NM=$ac_cv_prog_NM
35103 if test -n "$NM"; then
35104 echo "$as_me:$LINENO: result: $NM" >&5
35105 echo "${ECHO_T}$NM" >&6
35106 else
35107 echo "$as_me:$LINENO: result: no" >&5
35108 echo "${ECHO_T}no" >&6
35109 fi
35110
35111 fi
35112 if test -z "$ac_cv_prog_NM"; then
35113 ac_ct_NM=$NM
35114 # Extract the first word of "nm", so it can be a program name with args.
35115 set dummy nm; ac_word=$2
35116 echo "$as_me:$LINENO: checking for $ac_word" >&5
35117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35118 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
35119 echo $ECHO_N "(cached) $ECHO_C" >&6
35120 else
35121 if test -n "$ac_ct_NM"; then
35122 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
35123 else
35124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35125 for as_dir in $PATH
35126 do
35127 IFS=$as_save_IFS
35128 test -z "$as_dir" && as_dir=.
35129 for ac_exec_ext in '' $ac_executable_extensions; do
35130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35131 ac_cv_prog_ac_ct_NM="nm"
35132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35133 break 2
35134 fi
35135 done
35136 done
35137
35138 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
35139 fi
35140 fi
35141 ac_ct_NM=$ac_cv_prog_ac_ct_NM
35142 if test -n "$ac_ct_NM"; then
35143 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
35144 echo "${ECHO_T}$ac_ct_NM" >&6
35145 else
35146 echo "$as_me:$LINENO: result: no" >&5
35147 echo "${ECHO_T}no" >&6
35148 fi
35149
35150 NM=$ac_ct_NM
35151 else
35152 NM="$ac_cv_prog_NM"
35153 fi
35154
35155
35156 case ${BAKEFILE_HOST} in
35157 *-hp-hpux* )
35158 INSTALL_DIR="mkdir"
35159 ;;
35160 *) INSTALL_DIR="$INSTALL -d"
35161 ;;
35162 esac
35163
35164
35165 LDFLAGS_GUI=
35166 case ${BAKEFILE_HOST} in
35167 *-*-cygwin* | *-*-mingw32* )
35168 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
35169 esac
35170
35171
35172 fi
35173
35174 echo "$as_me:$LINENO: checking if make is GNU make" >&5
35175 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
35176 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
35177 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 else
35179
35180 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
35181 egrep -s GNU > /dev/null); then
35182 bakefile_cv_prog_makeisgnu="yes"
35183 else
35184 bakefile_cv_prog_makeisgnu="no"
35185 fi
35186
35187 fi
35188 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
35189 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
35190
35191 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
35192 IF_GNU_MAKE=""
35193 else
35194 IF_GNU_MAKE="#"
35195 fi
35196
35197
35198
35199 PLATFORM_UNIX=0
35200 PLATFORM_WIN32=0
35201 PLATFORM_MSDOS=0
35202 PLATFORM_MAC=0
35203 PLATFORM_MACOSX=0
35204 PLATFORM_OS2=0
35205
35206 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
35207 case "${BAKEFILE_HOST}" in
35208 *-*-cygwin* | *-*-mingw32* )
35209 PLATFORM_WIN32=1
35210 ;;
35211 *-pc-msdosdjgpp )
35212 PLATFORM_MSDOS=1
35213 ;;
35214 *-pc-os2_emx | *-pc-os2-emx )
35215 PLATFORM_OS2=1
35216 ;;
35217 powerpc-*-darwin* )
35218 PLATFORM_MAC=1
35219 PLATFORM_MACOSX=1
35220 ;;
35221 * )
35222 PLATFORM_UNIX=1
35223 ;;
35224 esac
35225 else
35226 case "$BAKEFILE_FORCE_PLATFORM" in
35227 win32 )
35228 PLATFORM_WIN32=1
35229 ;;
35230 msdos )
35231 PLATFORM_MSDOS=1
35232 ;;
35233 os2 )
35234 PLATFORM_OS2=1
35235 ;;
35236 darwin )
35237 PLATFORM_MAC=1
35238 PLATFORM_MACOSX=1
35239 ;;
35240 unix )
35241 PLATFORM_UNIX=1
35242 ;;
35243 * )
35244 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
35245 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
35246 { (exit 1); exit 1; }; }
35247 ;;
35248 esac
35249 fi
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259 SO_SUFFIX="so"
35260 SO_SUFFIX_MODULE="so"
35261 EXEEXT=""
35262 LIBPREFIX=lib
35263 DLLPREFIX=lib
35264 DLLPREFIX_MODULE=
35265
35266 case "${BAKEFILE_HOST}" in
35267 *-hp-hpux* )
35268 SO_SUFFIX="sl"
35269 SO_SUFFIX_MODULE="sl"
35270 ;;
35271 *-*-aix* )
35272 SO_SUFFIX="a"
35273 SO_SUFFIX_MODULE="a"
35274 ;;
35275 *-*-cygwin* | *-*-mingw32* )
35276 SO_SUFFIX="dll"
35277 SO_SUFFIX_MODULE="dll"
35278 EXEEXT=".exe"
35279 DLLPREFIX=""
35280 ;;
35281 *-pc-msdosdjgpp )
35282 EXEEXT=".exe"
35283 DLLPREFIX=""
35284 ;;
35285 *-pc-os2_emx | *-pc-os2-emx )
35286 EXEEXT=".exe"
35287 DLLPREFIX=""
35288 LIBPREFIX=""
35289 ;;
35290 powerpc-*-darwin* )
35291 SO_SUFFIX="dylib"
35292 SO_SUFFIX_MODULE="bundle"
35293 ;;
35294 esac
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304 SHARED_LD_CC="\$(CC) -shared -o"
35305 SHARED_LD_CXX="\$(CXX) -shared -o"
35306
35307 if test "x$GCC" = "xyes"; then
35308 PIC_FLAG="-fPIC"
35309 fi
35310
35311 case "${BAKEFILE_HOST}" in
35312 *-hp-hpux* )
35313 if test "x$GCC" = "xyes"; then
35314 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
35315 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
35316 else
35317 LDFLAGS="$LDFLAGS -L/usr/lib"
35318
35319 SHARED_LD_CC="${CC} -b -o"
35320 SHARED_LD_CXX="${CXX} -b -o"
35321 PIC_FLAG="+Z"
35322 fi
35323 ;;
35324
35325 *-*-linux* )
35326 if test "x$GCC" != "xyes"; then
35327 echo "$as_me:$LINENO: checking for Intel compiler" >&5
35328 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
35329 if test "${bakefile_cv_prog_icc+set}" = set; then
35330 echo $ECHO_N "(cached) $ECHO_C" >&6
35331 else
35332
35333 cat >conftest.$ac_ext <<_ACEOF
35334 #line $LINENO "configure"
35335 /* confdefs.h. */
35336 _ACEOF
35337 cat confdefs.h >>conftest.$ac_ext
35338 cat >>conftest.$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35340
35341 int
35342 main ()
35343 {
35344
35345 #ifndef __INTEL_COMPILER
35346 #error Not icc
35347 #endif
35348
35349 ;
35350 return 0;
35351 }
35352 _ACEOF
35353 rm -f conftest.$ac_objext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35355 (eval $ac_compile) 2>&5
35356 ac_status=$?
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); } &&
35359 { ac_try='test -s conftest.$ac_objext'
35360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361 (eval $ac_try) 2>&5
35362 ac_status=$?
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); }; }; then
35365 bakefile_cv_prog_icc=yes
35366 else
35367 echo "$as_me: failed program was:" >&5
35368 sed 's/^/| /' conftest.$ac_ext >&5
35369
35370 bakefile_cv_prog_icc=no
35371
35372 fi
35373 rm -f conftest.$ac_objext conftest.$ac_ext
35374
35375 fi
35376 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
35377 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
35378 if test "$bakefile_cv_prog_icc" = "yes"; then
35379 PIC_FLAG="-KPIC"
35380 fi
35381 fi
35382 ;;
35383
35384 *-*-solaris2* )
35385 if test "x$GCC" != xyes ; then
35386 SHARED_LD_CC="${CC} -G -o"
35387 SHARED_LD_CXX="${CXX} -G -o"
35388 PIC_FLAG="-KPIC"
35389 fi
35390 ;;
35391
35392 *-*-darwin* )
35393 CFLAGS="$CFLAGS -fno-common"
35394 CXXFLAGS="$CXXFLAGS -fno-common"
35395
35396
35397 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
35398 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
35399 if test "${wx_cv_gcc31+set}" = set; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 else
35402
35403 cat >conftest.$ac_ext <<_ACEOF
35404 #line $LINENO "configure"
35405 /* confdefs.h. */
35406 _ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35410
35411 int
35412 main ()
35413 {
35414
35415 #if (__GNUC__ < 3) || \
35416 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
35417 #error old gcc
35418 #endif
35419
35420 ;
35421 return 0;
35422 }
35423 _ACEOF
35424 rm -f conftest.$ac_objext
35425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35426 (eval $ac_compile) 2>&5
35427 ac_status=$?
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } &&
35430 { ac_try='test -s conftest.$ac_objext'
35431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35432 (eval $ac_try) 2>&5
35433 ac_status=$?
35434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35435 (exit $ac_status); }; }; then
35436
35437 wx_cv_gcc31=yes
35438
35439 else
35440 echo "$as_me: failed program was:" >&5
35441 sed 's/^/| /' conftest.$ac_ext >&5
35442
35443
35444 wx_cv_gcc31=no
35445
35446
35447 fi
35448 rm -f conftest.$ac_objext conftest.$ac_ext
35449
35450 fi
35451 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
35452 echo "${ECHO_T}$wx_cv_gcc31" >&6
35453 if test "$wx_cv_gcc31" = "no"; then
35454 cat <<EOF >shared-ld-sh
35455 #!/bin/sh
35456 #-----------------------------------------------------------------------------
35457 #-- Name: distrib/mac/shared-ld-sh
35458 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
35459 #-- Author: Gilles Depeyrot
35460 #-- Copyright: (c) 2002 Gilles Depeyrot
35461 #-- Licence: any use permitted
35462 #-----------------------------------------------------------------------------
35463
35464 verbose=0
35465 args=""
35466 objects=""
35467 linking_flag="-dynamiclib"
35468
35469 while test \${#} -gt 0; do
35470 case \${1} in
35471
35472 -v)
35473 verbose=1
35474 ;;
35475
35476 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
35477 # collect these options and values
35478 args="\${args} \${1} \${2}"
35479 shift
35480 ;;
35481
35482 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
35483 # collect these options
35484 args="\${args} \${1}"
35485 ;;
35486
35487 -dynamiclib|-bundle)
35488 linking_flag="\${1}"
35489 ;;
35490
35491 -*)
35492 echo "shared-ld: unhandled option '\${1}'"
35493 exit 1
35494 ;;
35495
35496 *.o | *.a | *.dylib)
35497 # collect object files
35498 objects="\${objects} \${1}"
35499 ;;
35500
35501 *)
35502 echo "shared-ld: unhandled argument '\${1}'"
35503 exit 1
35504 ;;
35505
35506 esac
35507 shift
35508 done
35509
35510 #
35511 # Link one module containing all the others
35512 #
35513 if test \${verbose} = 1; then
35514 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
35515 fi
35516 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
35517 status=\$?
35518 if test \${status} != 0; then
35519 exit \${status}
35520 fi
35521
35522 #
35523 # Link the shared library from the single module created
35524 #
35525 if test \${verbose} = 1; then
35526 echo "cc \${linking_flag} master.\$\$.o \${args}"
35527 fi
35528 c++ \${linking_flag} master.\$\$.o \${args}
35529 status=\$?
35530 if test \${status} != 0; then
35531 exit \${status}
35532 fi
35533
35534 #
35535 # Remove intermediate module
35536 #
35537 rm -f master.\$\$.o
35538
35539 exit 0
35540 EOF
35541 chmod +x shared-ld-sh
35542
35543 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
35544 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
35545 SHARED_LD_CXX="$SHARED_LD_CC"
35546 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
35547 else
35548 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
35549 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
35550 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
35551 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
35552 fi
35553
35554 PIC_FLAG="-dynamic -fPIC"
35555 ;;
35556
35557 *-*-aix* )
35558 if test "x$GCC" != "xyes"; then
35559 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
35560 set dummy makeC++SharedLib; ac_word=$2
35561 echo "$as_me:$LINENO: checking for $ac_word" >&5
35562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35563 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
35564 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 else
35566 if test -n "$AIX_CXX_LD"; then
35567 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
35568 else
35569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35570 for as_dir in $PATH
35571 do
35572 IFS=$as_save_IFS
35573 test -z "$as_dir" && as_dir=.
35574 for ac_exec_ext in '' $ac_executable_extensions; do
35575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35576 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
35577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35578 break 2
35579 fi
35580 done
35581 done
35582
35583 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
35584 fi
35585 fi
35586 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
35587 if test -n "$AIX_CXX_LD"; then
35588 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
35589 echo "${ECHO_T}$AIX_CXX_LD" >&6
35590 else
35591 echo "$as_me:$LINENO: result: no" >&5
35592 echo "${ECHO_T}no" >&6
35593 fi
35594
35595 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
35596 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
35597 fi
35598 ;;
35599
35600 *-*-beos* )
35601 SHARED_LD_CC="${LD} -shared -o"
35602 SHARED_LD_CXX="${LD} -shared -o"
35603 ;;
35604
35605 *-*-irix* )
35606 if test "x$GCC" != "xyes"; then
35607 PIC_FLAG="-KPIC"
35608 fi
35609 ;;
35610
35611 *-*-cygwin* | *-*-mingw32* )
35612 PIC_FLAG=""
35613 ;;
35614
35615 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35616 *-*-sunos4* | \
35617 *-*-osf* | \
35618 *-*-dgux5* | \
35619 *-pc-os2_emx | *-pc-os2-emx | \
35620 *-*-sysv5* )
35621 ;;
35622
35623 *)
35624 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
35625 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
35626 { (exit 1); exit 1; }; }
35627 esac
35628
35629 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35630 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35631 fi
35632 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35633 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35634 fi
35635
35636
35637
35638
35639
35640
35641
35642
35643 USE_SOVERSION=0
35644 USE_SOVERLINUX=0
35645 USE_SOVERSOLARIS=0
35646 USE_SOSYMLINKS=0
35647 USE_MACVERSION=0
35648 SONAME_FLAG=
35649
35650 case "${BAKEFILE_HOST}" in
35651 *-*-linux* )
35652 SONAME_FLAG="-Wl,-soname,"
35653 USE_SOVERSION=1
35654 USE_SOVERLINUX=1
35655 USE_SOSYMLINKS=1
35656 ;;
35657
35658 *-*-solaris2* )
35659 SONAME_FLAG="-h "
35660 USE_SOVERSION=1
35661 USE_SOVERSOLARIS=1
35662 USE_SOSYMLINKS=1
35663 ;;
35664
35665 *-*-darwin* )
35666 USE_MACVERSION=1
35667 USE_SOVERSION=1
35668 USE_SOSYMLINKS=1
35669 ;;
35670 esac
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35681 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35682 DEPS_TRACKING=0
35683
35684 if test "x$GCC" = "xyes"; then
35685 DEPSMODE=gcc
35686 DEPS_TRACKING=1
35687 case "${BAKEFILE_HOST}" in
35688 powerpc-*-darwin* )
35689 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35690 ;;
35691 * )
35692 DEPSFLAG_GCC="-MMD"
35693 ;;
35694 esac
35695 echo "$as_me:$LINENO: result: gcc" >&5
35696 echo "${ECHO_T}gcc" >&6
35697 else
35698 echo "$as_me:$LINENO: result: none" >&5
35699 echo "${ECHO_T}none" >&6
35700 fi
35701
35702 if test $DEPS_TRACKING = 1 ; then
35703 cat <<EOF >bk-deps
35704 #!/bin/sh
35705
35706 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35707 # script. It is used to track C/C++ files dependencies in portable way.
35708 #
35709 # Permission is given to use this file in any way.
35710
35711 DEPSMODE=$DEPSMODE
35712 DEPSDIR=.deps
35713 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35714
35715 mkdir -p \$DEPSDIR
35716
35717 if test \$DEPSMODE = gcc ; then
35718 \${*} \${DEPSFLAG_GCC}
35719 status=\${?}
35720 if test \${status} != 0 ; then
35721 exit \${status}
35722 fi
35723 # move created file to the location we want it in:
35724 while test \${#} -gt 0; do
35725 case "\${1}" in
35726 -o )
35727 shift
35728 objfile=\${1}
35729 ;;
35730 -* )
35731 ;;
35732 * )
35733 srcfile=\${1}
35734 ;;
35735 esac
35736 shift
35737 done
35738 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35739 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35740 if test -f \$depfile ; then
35741 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35742 rm -f \$depfile
35743 else
35744 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35745 if test -f \$depfile ; then
35746 sed -e "/^\$objfile/!s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35747 rm -f \$depfile
35748 fi
35749 fi
35750 exit 0
35751 else
35752 \${*}
35753 exit \${?}
35754 fi
35755 EOF
35756 chmod +x bk-deps
35757 fi
35758
35759
35760
35761
35762 RESCOMP=
35763 SETFILE=
35764
35765 case ${BAKEFILE_HOST} in
35766 *-*-cygwin* | *-*-mingw32* )
35767 if test "$build" != "$host" ; then
35768 RESCOMP=$host_alias-windres
35769 else
35770 # Extract the first word of "windres", so it can be a program name with args.
35771 set dummy windres; ac_word=$2
35772 echo "$as_me:$LINENO: checking for $ac_word" >&5
35773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35774 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35775 echo $ECHO_N "(cached) $ECHO_C" >&6
35776 else
35777 if test -n "$RESCOMP"; then
35778 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35779 else
35780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35781 for as_dir in $PATH
35782 do
35783 IFS=$as_save_IFS
35784 test -z "$as_dir" && as_dir=.
35785 for ac_exec_ext in '' $ac_executable_extensions; do
35786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35787 ac_cv_prog_RESCOMP="windres"
35788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35789 break 2
35790 fi
35791 done
35792 done
35793
35794 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35795 fi
35796 fi
35797 RESCOMP=$ac_cv_prog_RESCOMP
35798 if test -n "$RESCOMP"; then
35799 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35800 echo "${ECHO_T}$RESCOMP" >&6
35801 else
35802 echo "$as_me:$LINENO: result: no" >&5
35803 echo "${ECHO_T}no" >&6
35804 fi
35805
35806 fi
35807 ;;
35808
35809 *-*-darwin* )
35810 # Extract the first word of "Rez", so it can be a program name with args.
35811 set dummy Rez; ac_word=$2
35812 echo "$as_me:$LINENO: checking for $ac_word" >&5
35813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35814 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35815 echo $ECHO_N "(cached) $ECHO_C" >&6
35816 else
35817 if test -n "$RESCOMP"; then
35818 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35819 else
35820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35821 for as_dir in $PATH
35822 do
35823 IFS=$as_save_IFS
35824 test -z "$as_dir" && as_dir=.
35825 for ac_exec_ext in '' $ac_executable_extensions; do
35826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35827 ac_cv_prog_RESCOMP="Rez"
35828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35829 break 2
35830 fi
35831 done
35832 done
35833
35834 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35835 fi
35836 fi
35837 RESCOMP=$ac_cv_prog_RESCOMP
35838 if test -n "$RESCOMP"; then
35839 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35840 echo "${ECHO_T}$RESCOMP" >&6
35841 else
35842 echo "$as_me:$LINENO: result: no" >&5
35843 echo "${ECHO_T}no" >&6
35844 fi
35845
35846 # Extract the first word of "SetFile", so it can be a program name with args.
35847 set dummy SetFile; ac_word=$2
35848 echo "$as_me:$LINENO: checking for $ac_word" >&5
35849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35850 if test "${ac_cv_prog_SETFILE+set}" = set; then
35851 echo $ECHO_N "(cached) $ECHO_C" >&6
35852 else
35853 if test -n "$SETFILE"; then
35854 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35855 else
35856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35857 for as_dir in $PATH
35858 do
35859 IFS=$as_save_IFS
35860 test -z "$as_dir" && as_dir=.
35861 for ac_exec_ext in '' $ac_executable_extensions; do
35862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35863 ac_cv_prog_SETFILE="SetFile"
35864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35865 break 2
35866 fi
35867 done
35868 done
35869
35870 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35871 fi
35872 fi
35873 SETFILE=$ac_cv_prog_SETFILE
35874 if test -n "$SETFILE"; then
35875 echo "$as_me:$LINENO: result: $SETFILE" >&5
35876 echo "${ECHO_T}$SETFILE" >&6
35877 else
35878 echo "$as_me:$LINENO: result: no" >&5
35879 echo "${ECHO_T}no" >&6
35880 fi
35881
35882 ;;
35883 esac
35884
35885
35886
35887
35888
35889
35890
35891
35892 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35893 if test "${enable_precomp_headers+set}" = set; then
35894 enableval="$enable_precomp_headers"
35895 bk_use_pch="$enableval"
35896 fi;
35897
35898 GCC_PCH=0
35899
35900 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35901 if test "x$GCC" = "xyes"; then
35902 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35903 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35904 cat >conftest.$ac_ext <<_ACEOF
35905 #line $LINENO "configure"
35906 /* confdefs.h. */
35907 _ACEOF
35908 cat confdefs.h >>conftest.$ac_ext
35909 cat >>conftest.$ac_ext <<_ACEOF
35910 /* end confdefs.h. */
35911
35912 int
35913 main ()
35914 {
35915
35916 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35917 #error "no pch support"
35918 #endif
35919 #if (__GNUC__ < 3)
35920 #error "no pch support"
35921 #endif
35922 #if (__GNUC__ == 3) && \
35923 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35924 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35925 #error "no pch support"
35926 #endif
35927
35928 ;
35929 return 0;
35930 }
35931 _ACEOF
35932 rm -f conftest.$ac_objext
35933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35934 (eval $ac_compile) 2>&5
35935 ac_status=$?
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); } &&
35938 { ac_try='test -s conftest.$ac_objext'
35939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940 (eval $ac_try) 2>&5
35941 ac_status=$?
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); }; }; then
35944
35945 echo "$as_me:$LINENO: result: yes" >&5
35946 echo "${ECHO_T}yes" >&6
35947 CPPFLAGS="-fpch-deps $CPPFLAGS"
35948 GCC_PCH=1
35949
35950 else
35951 echo "$as_me: failed program was:" >&5
35952 sed 's/^/| /' conftest.$ac_ext >&5
35953
35954
35955 echo "$as_me:$LINENO: result: no" >&5
35956 echo "${ECHO_T}no" >&6
35957
35958 fi
35959 rm -f conftest.$ac_objext conftest.$ac_ext
35960 if test $GCC_PCH = 1 ; then
35961 cat <<EOF >bk-make-pch
35962 #!/bin/sh
35963
35964 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35965 # script. It is used to generated precompiled headers.
35966 #
35967 # Permission is given to use this file in any way.
35968
35969 outfile="\${1}"
35970 header="\${2}"
35971 shift
35972 shift
35973
35974 compiler=
35975 headerfile=
35976 while test \${#} -gt 0; do
35977 case "\${1}" in
35978 -I* )
35979 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35980 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35981 headerfile="\${incdir}/\${header}"
35982 fi
35983 ;;
35984 esac
35985 compiler="\${compiler} \${1}"
35986 shift
35987 done
35988
35989 if test "x\${headerfile}" = "x" ; then
35990 echo "error: can't find header \${header} in include paths" >2
35991 else
35992 if test -f \${outfile} ; then
35993 rm -f \${outfile}
35994 else
35995 mkdir -p \`dirname \${outfile}\`
35996 fi
35997 depsfile=".deps/\`basename \${outfile}\`.d"
35998 mkdir -p .deps
35999 # can do this because gcc is >= 3.4:
36000 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
36001 exit \${?}
36002 fi
36003 EOF
36004 chmod +x bk-make-pch
36005 fi
36006 fi
36007 fi
36008
36009
36010
36011
36012
36013 COND_BUILD_DEBUG="#"
36014 if test "x$BUILD" = "xdebug" ; then
36015 COND_BUILD_DEBUG=""
36016 fi
36017
36018 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
36019 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
36020 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
36021 fi
36022
36023 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
36024 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
36025 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
36026 fi
36027
36028 COND_BUILD_DEBUG_UNICODE_0="#"
36029 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
36030 COND_BUILD_DEBUG_UNICODE_0=""
36031 fi
36032
36033 COND_BUILD_DEBUG_UNICODE_1="#"
36034 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
36035 COND_BUILD_DEBUG_UNICODE_1=""
36036 fi
36037
36038 COND_BUILD_RELEASE="#"
36039 if test "x$BUILD" = "xrelease" ; then
36040 COND_BUILD_RELEASE=""
36041 fi
36042
36043 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
36044 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
36045 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
36046 fi
36047
36048 COND_BUILD_RELEASE_UNICODE_0="#"
36049 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
36050 COND_BUILD_RELEASE_UNICODE_0=""
36051 fi
36052
36053 COND_BUILD_RELEASE_UNICODE_1="#"
36054 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
36055 COND_BUILD_RELEASE_UNICODE_1=""
36056 fi
36057
36058 COND_DEBUG_FLAG_1="#"
36059 if test "x$DEBUG_FLAG" = "x1" ; then
36060 COND_DEBUG_FLAG_1=""
36061 fi
36062
36063 COND_DEBUG_INFO_0="#"
36064 if test "x$DEBUG_INFO" = "x0" ; then
36065 COND_DEBUG_INFO_0=""
36066 fi
36067
36068 COND_DEBUG_INFO_1="#"
36069 if test "x$DEBUG_INFO" = "x1" ; then
36070 COND_DEBUG_INFO_1=""
36071 fi
36072
36073 COND_DEPS_TRACKING_0="#"
36074 if test "x$DEPS_TRACKING" = "x0" ; then
36075 COND_DEPS_TRACKING_0=""
36076 fi
36077
36078 COND_DEPS_TRACKING_1="#"
36079 if test "x$DEPS_TRACKING" = "x1" ; then
36080 COND_DEPS_TRACKING_1=""
36081 fi
36082
36083 COND_GCC_PCH_1="#"
36084 if test "x$GCC_PCH" = "x1" ; then
36085 COND_GCC_PCH_1=""
36086 fi
36087
36088 COND_MONOLITHIC_0="#"
36089 if test "x$MONOLITHIC" = "x0" ; then
36090 COND_MONOLITHIC_0=""
36091 fi
36092
36093 COND_MONOLITHIC_0_SHARED_0="#"
36094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
36095 COND_MONOLITHIC_0_SHARED_0=""
36096 fi
36097
36098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
36099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
36100 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
36101 fi
36102
36103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
36104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36105 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
36106 fi
36107
36108 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
36109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
36110 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
36111 fi
36112
36113 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
36114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
36115 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
36116 fi
36117
36118 COND_MONOLITHIC_0_SHARED_1="#"
36119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
36120 COND_MONOLITHIC_0_SHARED_1=""
36121 fi
36122
36123 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
36124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
36125 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
36126 fi
36127
36128 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
36129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
36130 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
36131 fi
36132
36133 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
36134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
36135 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
36136 fi
36137
36138 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
36139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
36140 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
36141 fi
36142
36143 COND_MONOLITHIC_0_USE_ODBC_1="#"
36144 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
36145 COND_MONOLITHIC_0_USE_ODBC_1=""
36146 fi
36147
36148 COND_MONOLITHIC_1="#"
36149 if test "x$MONOLITHIC" = "x1" ; then
36150 COND_MONOLITHIC_1=""
36151 fi
36152
36153 COND_MONOLITHIC_1_SHARED_0="#"
36154 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
36155 COND_MONOLITHIC_1_SHARED_0=""
36156 fi
36157
36158 COND_MONOLITHIC_1_SHARED_1="#"
36159 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
36160 COND_MONOLITHIC_1_SHARED_1=""
36161 fi
36162
36163 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
36164 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
36165 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
36166 fi
36167
36168 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
36169 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
36170 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
36171 fi
36172
36173 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
36174 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
36175 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
36176 fi
36177
36178 COND_PLATFORM_MACOSX_1="#"
36179 if test "x$PLATFORM_MACOSX" = "x1" ; then
36180 COND_PLATFORM_MACOSX_1=""
36181 fi
36182
36183 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
36184 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
36185 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
36186 fi
36187
36188 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
36189 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
36190 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
36191 fi
36192
36193 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
36194 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
36195 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
36196 fi
36197
36198 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
36199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
36200 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
36201 fi
36202
36203 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
36204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
36205 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
36206 fi
36207
36208 COND_PLATFORM_MAC_1="#"
36209 if test "x$PLATFORM_MAC" = "x1" ; then
36210 COND_PLATFORM_MAC_1=""
36211 fi
36212
36213 COND_PLATFORM_OS2_1="#"
36214 if test "x$PLATFORM_OS2" = "x1" ; then
36215 COND_PLATFORM_OS2_1=""
36216 fi
36217
36218 COND_PLATFORM_UNIX_0="#"
36219 if test "x$PLATFORM_UNIX" = "x0" ; then
36220 COND_PLATFORM_UNIX_0=""
36221 fi
36222
36223 COND_PLATFORM_UNIX_1="#"
36224 if test "x$PLATFORM_UNIX" = "x1" ; then
36225 COND_PLATFORM_UNIX_1=""
36226 fi
36227
36228 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
36229 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
36230 COND_PLATFORM_UNIX_1_USE_GUI_1=""
36231 fi
36232
36233 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
36234 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
36235 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
36236 fi
36237
36238 COND_PLATFORM_WIN32_0="#"
36239 if test "x$PLATFORM_WIN32" = "x0" ; then
36240 COND_PLATFORM_WIN32_0=""
36241 fi
36242
36243 COND_PLATFORM_WIN32_1="#"
36244 if test "x$PLATFORM_WIN32" = "x1" ; then
36245 COND_PLATFORM_WIN32_1=""
36246 fi
36247
36248 COND_SHARED_0="#"
36249 if test "x$SHARED" = "x0" ; then
36250 COND_SHARED_0=""
36251 fi
36252
36253 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
36254 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36255 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
36256 fi
36257
36258 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
36259 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36260 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
36261 fi
36262
36263 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
36264 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36265 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
36266 fi
36267
36268 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
36269 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36270 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
36271 fi
36272
36273 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
36274 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
36275 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
36276 fi
36277
36278 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
36279 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
36280 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
36281 fi
36282
36283 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
36284 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
36285 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
36286 fi
36287
36288 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
36289 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
36290 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
36291 fi
36292
36293 COND_SHARED_1="#"
36294 if test "x$SHARED" = "x1" ; then
36295 COND_SHARED_1=""
36296 fi
36297
36298 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
36299 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
36300 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
36301 fi
36302
36303 COND_TOOLKIT_COCOA="#"
36304 if test "x$TOOLKIT" = "xCOCOA" ; then
36305 COND_TOOLKIT_COCOA=""
36306 fi
36307
36308 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
36309 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36310 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
36311 fi
36312
36313 COND_TOOLKIT_GTK="#"
36314 if test "x$TOOLKIT" = "xGTK" ; then
36315 COND_TOOLKIT_GTK=""
36316 fi
36317
36318 COND_TOOLKIT_GTK_USE_GUI_1="#"
36319 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
36320 COND_TOOLKIT_GTK_USE_GUI_1=""
36321 fi
36322
36323 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
36324 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36325 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
36326 fi
36327
36328 COND_TOOLKIT_MAC="#"
36329 if test "x$TOOLKIT" = "xMAC" ; then
36330 COND_TOOLKIT_MAC=""
36331 fi
36332
36333 COND_TOOLKIT_MAC_USE_GUI_1="#"
36334 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
36335 COND_TOOLKIT_MAC_USE_GUI_1=""
36336 fi
36337
36338 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
36339 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36340 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
36341 fi
36342
36343 COND_TOOLKIT_MGL="#"
36344 if test "x$TOOLKIT" = "xMGL" ; then
36345 COND_TOOLKIT_MGL=""
36346 fi
36347
36348 COND_TOOLKIT_MGL_USE_GUI_1="#"
36349 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
36350 COND_TOOLKIT_MGL_USE_GUI_1=""
36351 fi
36352
36353 COND_TOOLKIT_MOTIF="#"
36354 if test "x$TOOLKIT" = "xMOTIF" ; then
36355 COND_TOOLKIT_MOTIF=""
36356 fi
36357
36358 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
36359 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
36360 COND_TOOLKIT_MOTIF_USE_GUI_1=""
36361 fi
36362
36363 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
36364 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36365 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
36366 fi
36367
36368 COND_TOOLKIT_MSW="#"
36369 if test "x$TOOLKIT" = "xMSW" ; then
36370 COND_TOOLKIT_MSW=""
36371 fi
36372
36373 COND_TOOLKIT_MSW_USE_GUI_1="#"
36374 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
36375 COND_TOOLKIT_MSW_USE_GUI_1=""
36376 fi
36377
36378 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
36379 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36380 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
36381 fi
36382
36383 COND_TOOLKIT_PM="#"
36384 if test "x$TOOLKIT" = "xPM" ; then
36385 COND_TOOLKIT_PM=""
36386 fi
36387
36388 COND_TOOLKIT_PM_USE_GUI_1="#"
36389 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
36390 COND_TOOLKIT_PM_USE_GUI_1=""
36391 fi
36392
36393 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
36394 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36395 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
36396 fi
36397
36398 COND_TOOLKIT_X11="#"
36399 if test "x$TOOLKIT" = "xX11" ; then
36400 COND_TOOLKIT_X11=""
36401 fi
36402
36403 COND_TOOLKIT_X11_USE_GUI_1="#"
36404 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
36405 COND_TOOLKIT_X11_USE_GUI_1=""
36406 fi
36407
36408 COND_UNICODE_1="#"
36409 if test "x$UNICODE" = "x1" ; then
36410 COND_UNICODE_1=""
36411 fi
36412
36413 COND_USE_EXCEPTIONS_0="#"
36414 if test "x$USE_EXCEPTIONS" = "x0" ; then
36415 COND_USE_EXCEPTIONS_0=""
36416 fi
36417
36418 COND_USE_EXCEPTIONS_1="#"
36419 if test "x$USE_EXCEPTIONS" = "x1" ; then
36420 COND_USE_EXCEPTIONS_1=""
36421 fi
36422
36423 COND_USE_GUI_0="#"
36424 if test "x$USE_GUI" = "x0" ; then
36425 COND_USE_GUI_0=""
36426 fi
36427
36428 COND_USE_GUI_1="#"
36429 if test "x$USE_GUI" = "x1" ; then
36430 COND_USE_GUI_1=""
36431 fi
36432
36433 COND_USE_GUI_1_WXUNIV_0="#"
36434 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
36435 COND_USE_GUI_1_WXUNIV_0=""
36436 fi
36437
36438 COND_USE_GUI_1_WXUNIV_1="#"
36439 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
36440 COND_USE_GUI_1_WXUNIV_1=""
36441 fi
36442
36443 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
36444 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36445 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
36446 fi
36447
36448 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
36449 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36450 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
36451 fi
36452
36453 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
36454 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36455 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
36456 fi
36457
36458 COND_USE_ODBC_1="#"
36459 if test "x$USE_ODBC" = "x1" ; then
36460 COND_USE_ODBC_1=""
36461 fi
36462
36463 COND_USE_PLUGINS_0="#"
36464 if test "x$USE_PLUGINS" = "x0" ; then
36465 COND_USE_PLUGINS_0=""
36466 fi
36467
36468 COND_USE_SOSYMLINKS_1="#"
36469 if test "x$USE_SOSYMLINKS" = "x1" ; then
36470 COND_USE_SOSYMLINKS_1=""
36471 fi
36472
36473 COND_USE_SOVERLINUX_1="#"
36474 if test "x$USE_SOVERLINUX" = "x1" ; then
36475 COND_USE_SOVERLINUX_1=""
36476 fi
36477
36478 COND_USE_SOVERSION_0="#"
36479 if test "x$USE_SOVERSION" = "x0" ; then
36480 COND_USE_SOVERSION_0=""
36481 fi
36482
36483 COND_USE_SOVERSOLARIS_1="#"
36484 if test "x$USE_SOVERSOLARIS" = "x1" ; then
36485 COND_USE_SOVERSOLARIS_1=""
36486 fi
36487
36488 COND_WITH_PLUGIN_SDL_1="#"
36489 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
36490 COND_WITH_PLUGIN_SDL_1=""
36491 fi
36492
36493 COND_WITH_SDL_1="#"
36494 if test "x$WITH_SDL" = "x1" ; then
36495 COND_WITH_SDL_1=""
36496 fi
36497
36498 COND_WXUNIV_1="#"
36499 if test "x$WXUNIV" = "x1" ; then
36500 COND_WXUNIV_1=""
36501 fi
36502
36503 COND_WXUSE_EXPAT_BUILTIN="#"
36504 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
36505 COND_WXUSE_EXPAT_BUILTIN=""
36506 fi
36507
36508 COND_WXUSE_LIBJPEG_BUILTIN="#"
36509 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
36510 COND_WXUSE_LIBJPEG_BUILTIN=""
36511 fi
36512
36513 COND_WXUSE_LIBPNG_BUILTIN="#"
36514 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
36515 COND_WXUSE_LIBPNG_BUILTIN=""
36516 fi
36517
36518 COND_WXUSE_LIBTIFF_BUILTIN="#"
36519 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
36520 COND_WXUSE_LIBTIFF_BUILTIN=""
36521 fi
36522
36523 COND_WXUSE_ODBC_BUILTIN="#"
36524 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
36525 COND_WXUSE_ODBC_BUILTIN=""
36526 fi
36527
36528 COND_WXUSE_REGEX_BUILTIN="#"
36529 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
36530 COND_WXUSE_REGEX_BUILTIN=""
36531 fi
36532
36533 COND_WXUSE_ZLIB_BUILTIN="#"
36534 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
36535 COND_WXUSE_ZLIB_BUILTIN=""
36536 fi
36537
36538 USE_ZLIB_BUILTIN)
36539
36540
36541
36542
36543 if test $GCC_PCH = 1 ; then
36544 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36545 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
36546 else
36547 case "${host}" in
36548 powerpc-*-darwin* )
36549 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
36550 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
36551 ;;
36552 esac
36553 fi
36554
36555
36556 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36657 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36658 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36659 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36660 echo $ECHO_N "(cached) $ECHO_C" >&6
36661 else
36662 cat >conftest.make <<\_ACEOF
36663 all:
36664 @echo 'ac_maketemp="$(MAKE)"'
36665 _ACEOF
36666 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36667 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36668 if test -n "$ac_maketemp"; then
36669 eval ac_cv_prog_make_${ac_make}_set=yes
36670 else
36671 eval ac_cv_prog_make_${ac_make}_set=no
36672 fi
36673 rm -f conftest.make
36674 fi
36675 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36676 echo "$as_me:$LINENO: result: yes" >&5
36677 echo "${ECHO_T}yes" >&6
36678 SET_MAKE=
36679 else
36680 echo "$as_me:$LINENO: result: no" >&5
36681 echo "${ECHO_T}no" >&6
36682 SET_MAKE="MAKE=${MAKE-make}"
36683 fi
36684
36685
36686 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36687 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36688 fi
36689
36690 ac_config_headers="$ac_config_headers setup.h"
36691
36692
36693 ac_config_files="$ac_config_files wx-config version-script Makefile"
36694
36695
36696 ac_config_commands="$ac_config_commands default"
36697
36698
36699
36700 if test "$wxUSE_GUI" = "yes"; then
36701 SUBDIRS="samples demos utils contrib"
36702 else SUBDIRS="samples utils"
36703 fi
36704
36705 for subdir in `echo $SUBDIRS`; do
36706 if test -d ${srcdir}/${subdir} ; then
36707 if test "$wxUSE_GUI" = "yes"; then
36708 if test ${subdir} = "samples"; then
36709 makefiles="samples/Makefile.in $makefiles"
36710 for sample in `echo $SAMPLES_SUBDIRS`; do
36711 if test -d $srcdir/samples/$sample; then
36712 makefiles="samples/$sample/Makefile.in $makefiles"
36713 fi
36714 done
36715 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36716 fi
36717 else if test ${subdir} = "samples"; then
36718 makefiles="samples/Makefile.in samples/console/Makefile.in"
36719 else makefiles="utils/HelpGen/Makefile.in \
36720 utils/HelpGen/src/Makefile.in \
36721 utils/tex2rtf/Makefile.in \
36722 utils/tex2rtf/src/Makefile.in"
36723 fi
36724 fi
36725
36726 for mkin in $makefiles ; do
36727 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36728 ac_config_files="$ac_config_files $mk"
36729
36730 done
36731 fi
36732 done
36733
36734
36735 cat >confcache <<\_ACEOF
36736 # This file is a shell script that caches the results of configure
36737 # tests run on this system so they can be shared between configure
36738 # scripts and configure runs, see configure's option --config-cache.
36739 # It is not useful on other systems. If it contains results you don't
36740 # want to keep, you may remove or edit it.
36741 #
36742 # config.status only pays attention to the cache file if you give it
36743 # the --recheck option to rerun configure.
36744 #
36745 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36746 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36747 # following values.
36748
36749 _ACEOF
36750
36751 # The following way of writing the cache mishandles newlines in values,
36752 # but we know of no workaround that is simple, portable, and efficient.
36753 # So, don't put newlines in cache variables' values.
36754 # Ultrix sh set writes to stderr and can't be redirected directly,
36755 # and sets the high bit in the cache file unless we assign to the vars.
36756 {
36757 (set) 2>&1 |
36758 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36759 *ac_space=\ *)
36760 # `set' does not quote correctly, so add quotes (double-quote
36761 # substitution turns \\\\ into \\, and sed turns \\ into \).
36762 sed -n \
36763 "s/'/'\\\\''/g;
36764 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36765 ;;
36766 *)
36767 # `set' quotes correctly as required by POSIX, so do not add quotes.
36768 sed -n \
36769 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36770 ;;
36771 esac;
36772 } |
36773 sed '
36774 t clear
36775 : clear
36776 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36777 t end
36778 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36779 : end' >>confcache
36780 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36781 if test -w $cache_file; then
36782 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36783 cat confcache >$cache_file
36784 else
36785 echo "not updating unwritable cache $cache_file"
36786 fi
36787 fi
36788 rm -f confcache
36789
36790 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36791 # Let make expand exec_prefix.
36792 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36793
36794 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36795 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36796 # trailing colons and then remove the whole line if VPATH becomes empty
36797 # (actually we leave an empty line to preserve line numbers).
36798 if test "x$srcdir" = x.; then
36799 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36800 s/:*\$(srcdir):*/:/;
36801 s/:*\${srcdir}:*/:/;
36802 s/:*@srcdir@:*/:/;
36803 s/^\([^=]*=[ ]*\):*/\1/;
36804 s/:*$//;
36805 s/^[^=]*=[ ]*$//;
36806 }'
36807 fi
36808
36809 DEFS=-DHAVE_CONFIG_H
36810
36811 ac_libobjs=
36812 ac_ltlibobjs=
36813 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36814 # 1. Remove the extension, and $U if already installed.
36815 ac_i=`echo "$ac_i" |
36816 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36817 # 2. Add them.
36818 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36819 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36820 done
36821 LIBOBJS=$ac_libobjs
36822
36823 LTLIBOBJS=$ac_ltlibobjs
36824
36825
36826
36827 : ${CONFIG_STATUS=./config.status}
36828 ac_clean_files_save=$ac_clean_files
36829 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36830 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36831 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36832 cat >$CONFIG_STATUS <<_ACEOF
36833 #! $SHELL
36834 # Generated by $as_me.
36835 # Run this file to recreate the current configuration.
36836 # Compiler output produced by configure, useful for debugging
36837 # configure, is in config.log if it exists.
36838
36839 debug=false
36840 ac_cs_recheck=false
36841 ac_cs_silent=false
36842 SHELL=\${CONFIG_SHELL-$SHELL}
36843 _ACEOF
36844
36845 cat >>$CONFIG_STATUS <<\_ACEOF
36846 ## --------------------- ##
36847 ## M4sh Initialization. ##
36848 ## --------------------- ##
36849
36850 # Be Bourne compatible
36851 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36852 emulate sh
36853 NULLCMD=:
36854 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36855 # is contrary to our usage. Disable this feature.
36856 alias -g '${1+"$@"}'='"$@"'
36857 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36858 set -o posix
36859 fi
36860
36861 # Support unset when possible.
36862 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36863 as_unset=unset
36864 else
36865 as_unset=false
36866 fi
36867
36868
36869 # Work around bugs in pre-3.0 UWIN ksh.
36870 $as_unset ENV MAIL MAILPATH
36871 PS1='$ '
36872 PS2='> '
36873 PS4='+ '
36874
36875 # NLS nuisances.
36876 for as_var in \
36877 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36878 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36879 LC_TELEPHONE LC_TIME
36880 do
36881 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36882 eval $as_var=C; export $as_var
36883 else
36884 $as_unset $as_var
36885 fi
36886 done
36887
36888 # Required to use basename.
36889 if expr a : '\(a\)' >/dev/null 2>&1; then
36890 as_expr=expr
36891 else
36892 as_expr=false
36893 fi
36894
36895 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36896 as_basename=basename
36897 else
36898 as_basename=false
36899 fi
36900
36901
36902 # Name of the executable.
36903 as_me=`$as_basename "$0" ||
36904 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36905 X"$0" : 'X\(//\)$' \| \
36906 X"$0" : 'X\(/\)$' \| \
36907 . : '\(.\)' 2>/dev/null ||
36908 echo X/"$0" |
36909 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36910 /^X\/\(\/\/\)$/{ s//\1/; q; }
36911 /^X\/\(\/\).*/{ s//\1/; q; }
36912 s/.*/./; q'`
36913
36914
36915 # PATH needs CR, and LINENO needs CR and PATH.
36916 # Avoid depending upon Character Ranges.
36917 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36918 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36919 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36920 as_cr_digits='0123456789'
36921 as_cr_alnum=$as_cr_Letters$as_cr_digits
36922
36923 # The user is always right.
36924 if test "${PATH_SEPARATOR+set}" != set; then
36925 echo "#! /bin/sh" >conf$$.sh
36926 echo "exit 0" >>conf$$.sh
36927 chmod +x conf$$.sh
36928 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36929 PATH_SEPARATOR=';'
36930 else
36931 PATH_SEPARATOR=:
36932 fi
36933 rm -f conf$$.sh
36934 fi
36935
36936
36937 as_lineno_1=$LINENO
36938 as_lineno_2=$LINENO
36939 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36940 test "x$as_lineno_1" != "x$as_lineno_2" &&
36941 test "x$as_lineno_3" = "x$as_lineno_2" || {
36942 # Find who we are. Look in the path if we contain no path at all
36943 # relative or not.
36944 case $0 in
36945 *[\\/]* ) as_myself=$0 ;;
36946 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36947 for as_dir in $PATH
36948 do
36949 IFS=$as_save_IFS
36950 test -z "$as_dir" && as_dir=.
36951 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36952 done
36953
36954 ;;
36955 esac
36956 # We did not find ourselves, most probably we were run as `sh COMMAND'
36957 # in which case we are not to be found in the path.
36958 if test "x$as_myself" = x; then
36959 as_myself=$0
36960 fi
36961 if test ! -f "$as_myself"; then
36962 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36963 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36964 { (exit 1); exit 1; }; }
36965 fi
36966 case $CONFIG_SHELL in
36967 '')
36968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36969 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36970 do
36971 IFS=$as_save_IFS
36972 test -z "$as_dir" && as_dir=.
36973 for as_base in sh bash ksh sh5; do
36974 case $as_dir in
36975 /*)
36976 if ("$as_dir/$as_base" -c '
36977 as_lineno_1=$LINENO
36978 as_lineno_2=$LINENO
36979 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36980 test "x$as_lineno_1" != "x$as_lineno_2" &&
36981 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36982 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36983 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36984 CONFIG_SHELL=$as_dir/$as_base
36985 export CONFIG_SHELL
36986 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36987 fi;;
36988 esac
36989 done
36990 done
36991 ;;
36992 esac
36993
36994 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36995 # uniformly replaced by the line number. The first 'sed' inserts a
36996 # line-number line before each line; the second 'sed' does the real
36997 # work. The second script uses 'N' to pair each line-number line
36998 # with the numbered line, and appends trailing '-' during
36999 # substitution so that $LINENO is not a special case at line end.
37000 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37001 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37002 sed '=' <$as_myself |
37003 sed '
37004 N
37005 s,$,-,
37006 : loop
37007 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37008 t loop
37009 s,-$,,
37010 s,^['$as_cr_digits']*\n,,
37011 ' >$as_me.lineno &&
37012 chmod +x $as_me.lineno ||
37013 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37014 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37015 { (exit 1); exit 1; }; }
37016
37017 # Don't try to exec as it changes $[0], causing all sort of problems
37018 # (the dirname of $[0] is not the place where we might find the
37019 # original and so on. Autoconf is especially sensible to this).
37020 . ./$as_me.lineno
37021 # Exit status is that of the last command.
37022 exit
37023 }
37024
37025
37026 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37027 *c*,-n*) ECHO_N= ECHO_C='
37028 ' ECHO_T=' ' ;;
37029 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
37030 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
37031 esac
37032
37033 if expr a : '\(a\)' >/dev/null 2>&1; then
37034 as_expr=expr
37035 else
37036 as_expr=false
37037 fi
37038
37039 rm -f conf$$ conf$$.exe conf$$.file
37040 echo >conf$$.file
37041 if ln -s conf$$.file conf$$ 2>/dev/null; then
37042 # We could just check for DJGPP; but this test a) works b) is more generic
37043 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37044 if test -f conf$$.exe; then
37045 # Don't use ln at all; we don't have any links
37046 as_ln_s='cp -p'
37047 else
37048 as_ln_s='ln -s'
37049 fi
37050 elif ln conf$$.file conf$$ 2>/dev/null; then
37051 as_ln_s=ln
37052 else
37053 as_ln_s='cp -p'
37054 fi
37055 rm -f conf$$ conf$$.exe conf$$.file
37056
37057 if mkdir -p . 2>/dev/null; then
37058 as_mkdir_p=:
37059 else
37060 as_mkdir_p=false
37061 fi
37062
37063 as_executable_p="test -f"
37064
37065 # Sed expression to map a string onto a valid CPP name.
37066 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
37067
37068 # Sed expression to map a string onto a valid variable name.
37069 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
37070
37071
37072 # IFS
37073 # We need space, tab and new line, in precisely that order.
37074 as_nl='
37075 '
37076 IFS=" $as_nl"
37077
37078 # CDPATH.
37079 $as_unset CDPATH
37080
37081 exec 6>&1
37082
37083 # Open the log real soon, to keep \$[0] and so on meaningful, and to
37084 # report actual input values of CONFIG_FILES etc. instead of their
37085 # values after options handling. Logging --version etc. is OK.
37086 exec 5>>config.log
37087 {
37088 echo
37089 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37090 ## Running $as_me. ##
37091 _ASBOX
37092 } >&5
37093 cat >&5 <<_CSEOF
37094
37095 This file was extended by wxWindows $as_me 2.5.1, which was
37096 generated by GNU Autoconf 2.57. Invocation command line was
37097
37098 CONFIG_FILES = $CONFIG_FILES
37099 CONFIG_HEADERS = $CONFIG_HEADERS
37100 CONFIG_LINKS = $CONFIG_LINKS
37101 CONFIG_COMMANDS = $CONFIG_COMMANDS
37102 $ $0 $@
37103
37104 _CSEOF
37105 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37106 echo >&5
37107 _ACEOF
37108
37109 # Files that config.status was made for.
37110 if test -n "$ac_config_files"; then
37111 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37112 fi
37113
37114 if test -n "$ac_config_headers"; then
37115 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37116 fi
37117
37118 if test -n "$ac_config_links"; then
37119 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37120 fi
37121
37122 if test -n "$ac_config_commands"; then
37123 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37124 fi
37125
37126 cat >>$CONFIG_STATUS <<\_ACEOF
37127
37128 ac_cs_usage="\
37129 \`$as_me' instantiates files from templates according to the
37130 current configuration.
37131
37132 Usage: $0 [OPTIONS] [FILE]...
37133
37134 -h, --help print this help, then exit
37135 -V, --version print version number, then exit
37136 -q, --quiet do not print progress messages
37137 -d, --debug don't remove temporary files
37138 --recheck update $as_me by reconfiguring in the same conditions
37139 --file=FILE[:TEMPLATE]
37140 instantiate the configuration file FILE
37141 --header=FILE[:TEMPLATE]
37142 instantiate the configuration header FILE
37143
37144 Configuration files:
37145 $config_files
37146
37147 Configuration headers:
37148 $config_headers
37149
37150 Configuration commands:
37151 $config_commands
37152
37153 Report bugs to <bug-autoconf@gnu.org>."
37154 _ACEOF
37155
37156 cat >>$CONFIG_STATUS <<_ACEOF
37157 ac_cs_version="\\
37158 wxWindows config.status 2.5.1
37159 configured by $0, generated by GNU Autoconf 2.57,
37160 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37161
37162 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
37163 Free Software Foundation, Inc.
37164 This config.status script is free software; the Free Software Foundation
37165 gives unlimited permission to copy, distribute and modify it."
37166 srcdir=$srcdir
37167 INSTALL="$INSTALL"
37168 _ACEOF
37169
37170 cat >>$CONFIG_STATUS <<\_ACEOF
37171 # If no file are specified by the user, then we need to provide default
37172 # value. By we need to know if files were specified by the user.
37173 ac_need_defaults=:
37174 while test $# != 0
37175 do
37176 case $1 in
37177 --*=*)
37178 ac_option=`expr "x$1" : 'x\([^=]*\)='`
37179 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
37180 ac_shift=:
37181 ;;
37182 -*)
37183 ac_option=$1
37184 ac_optarg=$2
37185 ac_shift=shift
37186 ;;
37187 *) # This is not an option, so the user has probably given explicit
37188 # arguments.
37189 ac_option=$1
37190 ac_need_defaults=false;;
37191 esac
37192
37193 case $ac_option in
37194 # Handling of the options.
37195 _ACEOF
37196 cat >>$CONFIG_STATUS <<\_ACEOF
37197 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37198 ac_cs_recheck=: ;;
37199 --version | --vers* | -V )
37200 echo "$ac_cs_version"; exit 0 ;;
37201 --he | --h)
37202 # Conflict between --help and --header
37203 { { echo "$as_me:$LINENO: error: ambiguous option: $1
37204 Try \`$0 --help' for more information." >&5
37205 echo "$as_me: error: ambiguous option: $1
37206 Try \`$0 --help' for more information." >&2;}
37207 { (exit 1); exit 1; }; };;
37208 --help | --hel | -h )
37209 echo "$ac_cs_usage"; exit 0 ;;
37210 --debug | --d* | -d )
37211 debug=: ;;
37212 --file | --fil | --fi | --f )
37213 $ac_shift
37214 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
37215 ac_need_defaults=false;;
37216 --header | --heade | --head | --hea )
37217 $ac_shift
37218 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
37219 ac_need_defaults=false;;
37220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37221 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37222 ac_cs_silent=: ;;
37223
37224 # This is an error.
37225 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37226 Try \`$0 --help' for more information." >&5
37227 echo "$as_me: error: unrecognized option: $1
37228 Try \`$0 --help' for more information." >&2;}
37229 { (exit 1); exit 1; }; } ;;
37230
37231 *) ac_config_targets="$ac_config_targets $1" ;;
37232
37233 esac
37234 shift
37235 done
37236
37237 ac_configure_extra_args=
37238
37239 if $ac_cs_silent; then
37240 exec 6>/dev/null
37241 ac_configure_extra_args="$ac_configure_extra_args --silent"
37242 fi
37243
37244 _ACEOF
37245 cat >>$CONFIG_STATUS <<_ACEOF
37246 if \$ac_cs_recheck; then
37247 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37248 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37249 fi
37250
37251 _ACEOF
37252
37253 cat >>$CONFIG_STATUS <<_ACEOF
37254 #
37255 # INIT-COMMANDS section.
37256 #
37257
37258
37259 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
37260 LN_S="${LN_S}"
37261
37262
37263
37264 _ACEOF
37265
37266
37267
37268 cat >>$CONFIG_STATUS <<\_ACEOF
37269 for ac_config_target in $ac_config_targets
37270 do
37271 case "$ac_config_target" in
37272 # Handling of arguments.
37273 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
37274 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
37275 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
37276 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
37277 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
37278 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
37279 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37280 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37281 { (exit 1); exit 1; }; };;
37282 esac
37283 done
37284
37285 # If the user did not use the arguments to specify the items to instantiate,
37286 # then the envvar interface is used. Set only those that are not.
37287 # We use the long form for the default assignment because of an extremely
37288 # bizarre bug on SunOS 4.1.3.
37289 if $ac_need_defaults; then
37290 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
37291 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
37292 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
37293 fi
37294
37295 # Have a temporary directory for convenience. Make it in the build tree
37296 # simply because there is no reason to put it here, and in addition,
37297 # creating and moving files from /tmp can sometimes cause problems.
37298 # Create a temporary directory, and hook for its removal unless debugging.
37299 $debug ||
37300 {
37301 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37302 trap '{ (exit 1); exit 1; }' 1 2 13 15
37303 }
37304
37305 # Create a (secure) tmp directory for tmp files.
37306
37307 {
37308 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37309 test -n "$tmp" && test -d "$tmp"
37310 } ||
37311 {
37312 tmp=./confstat$$-$RANDOM
37313 (umask 077 && mkdir $tmp)
37314 } ||
37315 {
37316 echo "$me: cannot create a temporary directory in ." >&2
37317 { (exit 1); exit 1; }
37318 }
37319
37320 _ACEOF
37321
37322 cat >>$CONFIG_STATUS <<_ACEOF
37323
37324 #
37325 # CONFIG_FILES section.
37326 #
37327
37328 # No need to generate the scripts if there are no CONFIG_FILES.
37329 # This happens for instance when ./config.status config.h
37330 if test -n "\$CONFIG_FILES"; then
37331 # Protect against being on the right side of a sed subst in config.status.
37332 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37333 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37334 s,@SHELL@,$SHELL,;t t
37335 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37336 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37337 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37338 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37339 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37340 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37341 s,@exec_prefix@,$exec_prefix,;t t
37342 s,@prefix@,$prefix,;t t
37343 s,@program_transform_name@,$program_transform_name,;t t
37344 s,@bindir@,$bindir,;t t
37345 s,@sbindir@,$sbindir,;t t
37346 s,@libexecdir@,$libexecdir,;t t
37347 s,@datadir@,$datadir,;t t
37348 s,@sysconfdir@,$sysconfdir,;t t
37349 s,@sharedstatedir@,$sharedstatedir,;t t
37350 s,@localstatedir@,$localstatedir,;t t
37351 s,@libdir@,$libdir,;t t
37352 s,@includedir@,$includedir,;t t
37353 s,@oldincludedir@,$oldincludedir,;t t
37354 s,@infodir@,$infodir,;t t
37355 s,@mandir@,$mandir,;t t
37356 s,@build_alias@,$build_alias,;t t
37357 s,@host_alias@,$host_alias,;t t
37358 s,@target_alias@,$target_alias,;t t
37359 s,@DEFS@,$DEFS,;t t
37360 s,@ECHO_C@,$ECHO_C,;t t
37361 s,@ECHO_N@,$ECHO_N,;t t
37362 s,@ECHO_T@,$ECHO_T,;t t
37363 s,@LIBS@,$LIBS,;t t
37364 s,@build@,$build,;t t
37365 s,@build_cpu@,$build_cpu,;t t
37366 s,@build_vendor@,$build_vendor,;t t
37367 s,@build_os@,$build_os,;t t
37368 s,@host@,$host,;t t
37369 s,@host_cpu@,$host_cpu,;t t
37370 s,@host_vendor@,$host_vendor,;t t
37371 s,@host_os@,$host_os,;t t
37372 s,@target@,$target,;t t
37373 s,@target_cpu@,$target_cpu,;t t
37374 s,@target_vendor@,$target_vendor,;t t
37375 s,@target_os@,$target_os,;t t
37376 s,@CC@,$CC,;t t
37377 s,@CFLAGS@,$CFLAGS,;t t
37378 s,@LDFLAGS@,$LDFLAGS,;t t
37379 s,@CPPFLAGS@,$CPPFLAGS,;t t
37380 s,@ac_ct_CC@,$ac_ct_CC,;t t
37381 s,@EXEEXT@,$EXEEXT,;t t
37382 s,@OBJEXT@,$OBJEXT,;t t
37383 s,@CPP@,$CPP,;t t
37384 s,@EGREP@,$EGREP,;t t
37385 s,@CXX@,$CXX,;t t
37386 s,@CXXFLAGS@,$CXXFLAGS,;t t
37387 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
37388 s,@RANLIB@,$RANLIB,;t t
37389 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37390 s,@AR@,$AR,;t t
37391 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37392 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37393 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37394 s,@STRIP@,$STRIP,;t t
37395 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
37396 s,@LN_S@,$LN_S,;t t
37397 s,@CXXCPP@,$CXXCPP,;t t
37398 s,@subdirs@,$subdirs,;t t
37399 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
37400 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
37401 s,@GTK_LIBS@,$GTK_LIBS,;t t
37402 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
37403 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
37404 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
37405 s,@X_CFLAGS@,$X_CFLAGS,;t t
37406 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
37407 s,@X_LIBS@,$X_LIBS,;t t
37408 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
37409 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
37410 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
37411 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
37412 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
37413 s,@RESCOMP@,$RESCOMP,;t t
37414 s,@DEREZ@,$DEREZ,;t t
37415 s,@SETFILE@,$SETFILE,;t t
37416 s,@LIBICONV@,$LIBICONV,;t t
37417 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
37418 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
37419 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
37420 s,@SDL_LIBS@,$SDL_LIBS,;t t
37421 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
37422 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
37423 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
37424 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
37425 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
37426 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
37427 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
37428 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
37429 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
37430 s,@VENDOR@,$VENDOR,;t t
37431 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
37432 s,@WXUNIV@,$WXUNIV,;t t
37433 s,@MONOLITHIC@,$MONOLITHIC,;t t
37434 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
37435 s,@EXTRALIBS@,$EXTRALIBS,;t t
37436 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
37437 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
37438 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
37439 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
37440 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
37441 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
37442 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
37443 s,@UNICODE@,$UNICODE,;t t
37444 s,@BUILD@,$BUILD,;t t
37445 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
37446 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
37447 s,@SHARED@,$SHARED,;t t
37448 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
37449 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
37450 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
37451 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
37452 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
37453 s,@SET_MAKE@,$SET_MAKE,;t t
37454 s,@MAKE_SET@,$MAKE_SET,;t t
37455 s,@ac_ct_AR@,$ac_ct_AR,;t t
37456 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37457 s,@NM@,$NM,;t t
37458 s,@ac_ct_NM@,$ac_ct_NM,;t t
37459 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
37460 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
37461 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
37462 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
37463 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
37464 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
37465 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
37466 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
37467 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
37468 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
37469 s,@LIBPREFIX@,$LIBPREFIX,;t t
37470 s,@DLLPREFIX@,$DLLPREFIX,;t t
37471 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
37472 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
37473 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
37474 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
37475 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
37476 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
37477 s,@PIC_FLAG@,$PIC_FLAG,;t t
37478 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
37479 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
37480 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
37481 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
37482 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
37483 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
37484 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
37485 s,@GCC_PCH@,$GCC_PCH,;t t
37486 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
37487 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
37488 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
37489 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
37490 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
37491 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
37492 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
37493 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
37494 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
37495 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
37496 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
37497 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
37498 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
37499 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
37500 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
37501 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
37502 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
37503 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
37504 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
37505 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
37506 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
37507 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
37508 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
37509 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
37510 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
37511 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
37512 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
37513 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
37514 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
37515 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
37516 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
37517 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
37518 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
37519 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
37520 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
37521 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
37522 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
37523 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
37524 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
37525 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
37526 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
37527 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
37528 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
37529 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
37530 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
37531 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
37532 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
37533 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
37534 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
37535 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37536 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37537 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37538 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
37539 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
37540 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
37541 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
37542 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
37543 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
37544 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
37545 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
37546 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
37547 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
37548 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
37549 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
37550 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
37551 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
37552 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
37553 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
37554 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
37555 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
37556 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
37557 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
37558 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
37559 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
37560 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
37561 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
37562 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
37563 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
37564 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
37565 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
37566 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
37567 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
37568 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
37569 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
37570 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
37571 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
37572 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
37573 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
37574 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
37575 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
37576 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
37577 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
37578 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
37579 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
37580 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
37581 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
37582 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
37583 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
37584 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
37585 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
37586 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
37587 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
37588 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
37589 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
37590 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
37591 s,@PATH_IFS@,$PATH_IFS,;t t
37592 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
37593 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
37594 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
37595 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
37596 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
37597 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
37598 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
37599 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
37600 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
37601 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
37602 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
37603 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
37604 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
37605 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
37606 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
37607 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
37608 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
37609 s,@WX_ALL@,$WX_ALL,;t t
37610 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
37611 s,@SHARED_LD@,$SHARED_LD,;t t
37612 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
37613 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
37614 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
37615 s,@USE_GUI@,$USE_GUI,;t t
37616 s,@AFMINSTALL@,$AFMINSTALL,;t t
37617 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
37618 s,@TOOLKIT@,$TOOLKIT,;t t
37619 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
37620 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
37621 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
37622 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
37623 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
37624 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
37625 s,@cross_compiling@,$cross_compiling,;t t
37626 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
37627 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
37628 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
37629 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
37630 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
37631 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
37632 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
37633 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
37634 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
37635 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
37636 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
37637 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
37638 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
37639 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
37640 s,@GUIDIST@,$GUIDIST,;t t
37641 s,@PORT_FILES@,$PORT_FILES,;t t
37642 s,@DISTDIR@,$DISTDIR,;t t
37643 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
37644 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
37645 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
37646 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
37647 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
37648 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
37649 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
37650 s,@RESFLAGS@,$RESFLAGS,;t t
37651 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
37652 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
37653 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
37654 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
37655 s,@MACRESCOMP@,$MACRESCOMP,;t t
37656 s,@MACSETFILE@,$MACSETFILE,;t t
37657 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37658 s,@GCC@,$GCC,;t t
37659 s,@DLLTOOL@,$DLLTOOL,;t t
37660 s,@AS@,$AS,;t t
37661 s,@LD@,$LD,;t t
37662 s,@MAKEINFO@,$MAKEINFO,;t t
37663 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37664 s,@LIBOBJS@,$LIBOBJS,;t t
37665 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37666 CEOF
37667
37668 _ACEOF
37669
37670 cat >>$CONFIG_STATUS <<\_ACEOF
37671 # Split the substitutions into bite-sized pieces for seds with
37672 # small command number limits, like on Digital OSF/1 and HP-UX.
37673 ac_max_sed_lines=48
37674 ac_sed_frag=1 # Number of current file.
37675 ac_beg=1 # First line for current file.
37676 ac_end=$ac_max_sed_lines # Line after last line for current file.
37677 ac_more_lines=:
37678 ac_sed_cmds=
37679 while $ac_more_lines; do
37680 if test $ac_beg -gt 1; then
37681 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37682 else
37683 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37684 fi
37685 if test ! -s $tmp/subs.frag; then
37686 ac_more_lines=false
37687 else
37688 # The purpose of the label and of the branching condition is to
37689 # speed up the sed processing (if there are no `@' at all, there
37690 # is no need to browse any of the substitutions).
37691 # These are the two extra sed commands mentioned above.
37692 (echo ':t
37693 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37694 if test -z "$ac_sed_cmds"; then
37695 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37696 else
37697 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37698 fi
37699 ac_sed_frag=`expr $ac_sed_frag + 1`
37700 ac_beg=$ac_end
37701 ac_end=`expr $ac_end + $ac_max_sed_lines`
37702 fi
37703 done
37704 if test -z "$ac_sed_cmds"; then
37705 ac_sed_cmds=cat
37706 fi
37707 fi # test -n "$CONFIG_FILES"
37708
37709 _ACEOF
37710 cat >>$CONFIG_STATUS <<\_ACEOF
37711 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37712 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37713 case $ac_file in
37714 - | *:- | *:-:* ) # input from stdin
37715 cat >$tmp/stdin
37716 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37717 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37718 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37719 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37720 * ) ac_file_in=$ac_file.in ;;
37721 esac
37722
37723 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37724 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37725 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37726 X"$ac_file" : 'X\(//\)[^/]' \| \
37727 X"$ac_file" : 'X\(//\)$' \| \
37728 X"$ac_file" : 'X\(/\)' \| \
37729 . : '\(.\)' 2>/dev/null ||
37730 echo X"$ac_file" |
37731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37733 /^X\(\/\/\)$/{ s//\1/; q; }
37734 /^X\(\/\).*/{ s//\1/; q; }
37735 s/.*/./; q'`
37736 { if $as_mkdir_p; then
37737 mkdir -p "$ac_dir"
37738 else
37739 as_dir="$ac_dir"
37740 as_dirs=
37741 while test ! -d "$as_dir"; do
37742 as_dirs="$as_dir $as_dirs"
37743 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37744 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37745 X"$as_dir" : 'X\(//\)[^/]' \| \
37746 X"$as_dir" : 'X\(//\)$' \| \
37747 X"$as_dir" : 'X\(/\)' \| \
37748 . : '\(.\)' 2>/dev/null ||
37749 echo X"$as_dir" |
37750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37752 /^X\(\/\/\)$/{ s//\1/; q; }
37753 /^X\(\/\).*/{ s//\1/; q; }
37754 s/.*/./; q'`
37755 done
37756 test ! -n "$as_dirs" || mkdir $as_dirs
37757 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37758 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37759 { (exit 1); exit 1; }; }; }
37760
37761 ac_builddir=.
37762
37763 if test "$ac_dir" != .; then
37764 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37765 # A "../" for each directory in $ac_dir_suffix.
37766 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37767 else
37768 ac_dir_suffix= ac_top_builddir=
37769 fi
37770
37771 case $srcdir in
37772 .) # No --srcdir option. We are building in place.
37773 ac_srcdir=.
37774 if test -z "$ac_top_builddir"; then
37775 ac_top_srcdir=.
37776 else
37777 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37778 fi ;;
37779 [\\/]* | ?:[\\/]* ) # Absolute path.
37780 ac_srcdir=$srcdir$ac_dir_suffix;
37781 ac_top_srcdir=$srcdir ;;
37782 *) # Relative path.
37783 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37784 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37785 esac
37786 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37787 # absolute.
37788 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37789 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37790 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37791 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37792
37793
37794 case $INSTALL in
37795 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37796 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37797 esac
37798
37799 if test x"$ac_file" != x-; then
37800 { echo "$as_me:$LINENO: creating $ac_file" >&5
37801 echo "$as_me: creating $ac_file" >&6;}
37802 rm -f "$ac_file"
37803 fi
37804 # Let's still pretend it is `configure' which instantiates (i.e., don't
37805 # use $as_me), people would be surprised to read:
37806 # /* config.h. Generated by config.status. */
37807 if test x"$ac_file" = x-; then
37808 configure_input=
37809 else
37810 configure_input="$ac_file. "
37811 fi
37812 configure_input=$configure_input"Generated from `echo $ac_file_in |
37813 sed 's,.*/,,'` by configure."
37814
37815 # First look for the input files in the build tree, otherwise in the
37816 # src tree.
37817 ac_file_inputs=`IFS=:
37818 for f in $ac_file_in; do
37819 case $f in
37820 -) echo $tmp/stdin ;;
37821 [\\/$]*)
37822 # Absolute (can't be DOS-style, as IFS=:)
37823 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37824 echo "$as_me: error: cannot find input file: $f" >&2;}
37825 { (exit 1); exit 1; }; }
37826 echo $f;;
37827 *) # Relative
37828 if test -f "$f"; then
37829 # Build tree
37830 echo $f
37831 elif test -f "$srcdir/$f"; then
37832 # Source tree
37833 echo $srcdir/$f
37834 else
37835 # /dev/null tree
37836 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37837 echo "$as_me: error: cannot find input file: $f" >&2;}
37838 { (exit 1); exit 1; }; }
37839 fi;;
37840 esac
37841 done` || { (exit 1); exit 1; }
37842 _ACEOF
37843 cat >>$CONFIG_STATUS <<_ACEOF
37844 sed "$ac_vpsub
37845 $extrasub
37846 _ACEOF
37847 cat >>$CONFIG_STATUS <<\_ACEOF
37848 :t
37849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37850 s,@configure_input@,$configure_input,;t t
37851 s,@srcdir@,$ac_srcdir,;t t
37852 s,@abs_srcdir@,$ac_abs_srcdir,;t t
37853 s,@top_srcdir@,$ac_top_srcdir,;t t
37854 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37855 s,@builddir@,$ac_builddir,;t t
37856 s,@abs_builddir@,$ac_abs_builddir,;t t
37857 s,@top_builddir@,$ac_top_builddir,;t t
37858 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37859 s,@INSTALL@,$ac_INSTALL,;t t
37860 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37861 rm -f $tmp/stdin
37862 if test x"$ac_file" != x-; then
37863 mv $tmp/out $ac_file
37864 else
37865 cat $tmp/out
37866 rm -f $tmp/out
37867 fi
37868
37869 done
37870 _ACEOF
37871 cat >>$CONFIG_STATUS <<\_ACEOF
37872
37873 #
37874 # CONFIG_HEADER section.
37875 #
37876
37877 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37878 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37879 #
37880 # ac_d sets the value in "#define NAME VALUE" lines.
37881 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37882 ac_dB='[ ].*$,\1#\2'
37883 ac_dC=' '
37884 ac_dD=',;t'
37885 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37886 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37887 ac_uB='$,\1#\2define\3'
37888 ac_uC=' '
37889 ac_uD=',;t'
37890
37891 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37893 case $ac_file in
37894 - | *:- | *:-:* ) # input from stdin
37895 cat >$tmp/stdin
37896 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37897 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37898 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37899 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37900 * ) ac_file_in=$ac_file.in ;;
37901 esac
37902
37903 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37904 echo "$as_me: creating $ac_file" >&6;}
37905
37906 # First look for the input files in the build tree, otherwise in the
37907 # src tree.
37908 ac_file_inputs=`IFS=:
37909 for f in $ac_file_in; do
37910 case $f in
37911 -) echo $tmp/stdin ;;
37912 [\\/$]*)
37913 # Absolute (can't be DOS-style, as IFS=:)
37914 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37915 echo "$as_me: error: cannot find input file: $f" >&2;}
37916 { (exit 1); exit 1; }; }
37917 echo $f;;
37918 *) # Relative
37919 if test -f "$f"; then
37920 # Build tree
37921 echo $f
37922 elif test -f "$srcdir/$f"; then
37923 # Source tree
37924 echo $srcdir/$f
37925 else
37926 # /dev/null tree
37927 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37928 echo "$as_me: error: cannot find input file: $f" >&2;}
37929 { (exit 1); exit 1; }; }
37930 fi;;
37931 esac
37932 done` || { (exit 1); exit 1; }
37933 # Remove the trailing spaces.
37934 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37935
37936 _ACEOF
37937
37938 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37939 # `conftest.undefs', that substitutes the proper values into
37940 # config.h.in to produce config.h. The first handles `#define'
37941 # templates, and the second `#undef' templates.
37942 # And first: Protect against being on the right side of a sed subst in
37943 # config.status. Protect against being in an unquoted here document
37944 # in config.status.
37945 rm -f conftest.defines conftest.undefs
37946 # Using a here document instead of a string reduces the quoting nightmare.
37947 # Putting comments in sed scripts is not portable.
37948 #
37949 # `end' is used to avoid that the second main sed command (meant for
37950 # 0-ary CPP macros) applies to n-ary macro definitions.
37951 # See the Autoconf documentation for `clear'.
37952 cat >confdef2sed.sed <<\_ACEOF
37953 s/[\\&,]/\\&/g
37954 s,[\\$`],\\&,g
37955 t clear
37956 : clear
37957 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37958 t end
37959 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37960 : end
37961 _ACEOF
37962 # If some macros were called several times there might be several times
37963 # the same #defines, which is useless. Nevertheless, we may not want to
37964 # sort them, since we want the *last* AC-DEFINE to be honored.
37965 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37966 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37967 rm -f confdef2sed.sed
37968
37969 # This sed command replaces #undef with comments. This is necessary, for
37970 # example, in the case of _POSIX_SOURCE, which is predefined and required
37971 # on some systems where configure will not decide to define it.
37972 cat >>conftest.undefs <<\_ACEOF
37973 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37974 _ACEOF
37975
37976 # Break up conftest.defines because some shells have a limit on the size
37977 # of here documents, and old seds have small limits too (100 cmds).
37978 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37979 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37980 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37981 echo ' :' >>$CONFIG_STATUS
37982 rm -f conftest.tail
37983 while grep . conftest.defines >/dev/null
37984 do
37985 # Write a limited-size here document to $tmp/defines.sed.
37986 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37987 # Speed up: don't consider the non `#define' lines.
37988 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37989 # Work around the forget-to-reset-the-flag bug.
37990 echo 't clr' >>$CONFIG_STATUS
37991 echo ': clr' >>$CONFIG_STATUS
37992 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37993 echo 'CEOF
37994 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37995 rm -f $tmp/in
37996 mv $tmp/out $tmp/in
37997 ' >>$CONFIG_STATUS
37998 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37999 rm -f conftest.defines
38000 mv conftest.tail conftest.defines
38001 done
38002 rm -f conftest.defines
38003 echo ' fi # grep' >>$CONFIG_STATUS
38004 echo >>$CONFIG_STATUS
38005
38006 # Break up conftest.undefs because some shells have a limit on the size
38007 # of here documents, and old seds have small limits too (100 cmds).
38008 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38009 rm -f conftest.tail
38010 while grep . conftest.undefs >/dev/null
38011 do
38012 # Write a limited-size here document to $tmp/undefs.sed.
38013 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38014 # Speed up: don't consider the non `#undef'
38015 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38016 # Work around the forget-to-reset-the-flag bug.
38017 echo 't clr' >>$CONFIG_STATUS
38018 echo ': clr' >>$CONFIG_STATUS
38019 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38020 echo 'CEOF
38021 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38022 rm -f $tmp/in
38023 mv $tmp/out $tmp/in
38024 ' >>$CONFIG_STATUS
38025 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38026 rm -f conftest.undefs
38027 mv conftest.tail conftest.undefs
38028 done
38029 rm -f conftest.undefs
38030
38031 cat >>$CONFIG_STATUS <<\_ACEOF
38032 # Let's still pretend it is `configure' which instantiates (i.e., don't
38033 # use $as_me), people would be surprised to read:
38034 # /* config.h. Generated by config.status. */
38035 if test x"$ac_file" = x-; then
38036 echo "/* Generated by configure. */" >$tmp/config.h
38037 else
38038 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38039 fi
38040 cat $tmp/in >>$tmp/config.h
38041 rm -f $tmp/in
38042 if test x"$ac_file" != x-; then
38043 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
38044 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38045 echo "$as_me: $ac_file is unchanged" >&6;}
38046 else
38047 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38048 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38049 X"$ac_file" : 'X\(//\)[^/]' \| \
38050 X"$ac_file" : 'X\(//\)$' \| \
38051 X"$ac_file" : 'X\(/\)' \| \
38052 . : '\(.\)' 2>/dev/null ||
38053 echo X"$ac_file" |
38054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38056 /^X\(\/\/\)$/{ s//\1/; q; }
38057 /^X\(\/\).*/{ s//\1/; q; }
38058 s/.*/./; q'`
38059 { if $as_mkdir_p; then
38060 mkdir -p "$ac_dir"
38061 else
38062 as_dir="$ac_dir"
38063 as_dirs=
38064 while test ! -d "$as_dir"; do
38065 as_dirs="$as_dir $as_dirs"
38066 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38067 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38068 X"$as_dir" : 'X\(//\)[^/]' \| \
38069 X"$as_dir" : 'X\(//\)$' \| \
38070 X"$as_dir" : 'X\(/\)' \| \
38071 . : '\(.\)' 2>/dev/null ||
38072 echo X"$as_dir" |
38073 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38074 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38075 /^X\(\/\/\)$/{ s//\1/; q; }
38076 /^X\(\/\).*/{ s//\1/; q; }
38077 s/.*/./; q'`
38078 done
38079 test ! -n "$as_dirs" || mkdir $as_dirs
38080 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38081 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38082 { (exit 1); exit 1; }; }; }
38083
38084 rm -f $ac_file
38085 mv $tmp/config.h $ac_file
38086 fi
38087 else
38088 cat $tmp/config.h
38089 rm -f $tmp/config.h
38090 fi
38091 done
38092 _ACEOF
38093 cat >>$CONFIG_STATUS <<\_ACEOF
38094
38095 #
38096 # CONFIG_COMMANDS section.
38097 #
38098 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
38099 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
38100 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
38101 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
38102 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38103 X"$ac_dest" : 'X\(//\)[^/]' \| \
38104 X"$ac_dest" : 'X\(//\)$' \| \
38105 X"$ac_dest" : 'X\(/\)' \| \
38106 . : '\(.\)' 2>/dev/null ||
38107 echo X"$ac_dest" |
38108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38110 /^X\(\/\/\)$/{ s//\1/; q; }
38111 /^X\(\/\).*/{ s//\1/; q; }
38112 s/.*/./; q'`
38113 ac_builddir=.
38114
38115 if test "$ac_dir" != .; then
38116 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38117 # A "../" for each directory in $ac_dir_suffix.
38118 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38119 else
38120 ac_dir_suffix= ac_top_builddir=
38121 fi
38122
38123 case $srcdir in
38124 .) # No --srcdir option. We are building in place.
38125 ac_srcdir=.
38126 if test -z "$ac_top_builddir"; then
38127 ac_top_srcdir=.
38128 else
38129 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38130 fi ;;
38131 [\\/]* | ?:[\\/]* ) # Absolute path.
38132 ac_srcdir=$srcdir$ac_dir_suffix;
38133 ac_top_srcdir=$srcdir ;;
38134 *) # Relative path.
38135 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38136 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38137 esac
38138 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38139 # absolute.
38140 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38141 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38142 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38143 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38144
38145
38146 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
38147 echo "$as_me: executing $ac_dest commands" >&6;}
38148 case $ac_dest in
38149 default )
38150 if test ! -h wx-config; then
38151 chmod +x wx-config
38152 mv wx-config wx${TOOLCHAIN_NAME}-config
38153 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
38154 fi
38155
38156 if test ! -d lib; then
38157 mkdir lib
38158 fi
38159 if test ! -d lib/wx; then
38160 mkdir lib/wx
38161 fi
38162 if test ! -d lib/wx/include; then
38163 mkdir lib/wx/include
38164 fi
38165 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
38166 mkdir lib/wx/include/${TOOLCHAIN_NAME}
38167 fi
38168 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
38169 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
38170 fi
38171 if test -f setup.h; then
38172 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
38173 fi
38174 ;;
38175 esac
38176 done
38177 _ACEOF
38178
38179 cat >>$CONFIG_STATUS <<\_ACEOF
38180
38181 { (exit 0); exit 0; }
38182 _ACEOF
38183 chmod +x $CONFIG_STATUS
38184 ac_clean_files=$ac_clean_files_save
38185
38186
38187 # configure is writing to config.log, and then calls config.status.
38188 # config.status does its own redirection, appending to config.log.
38189 # Unfortunately, on DOS this fails, as config.log is still kept open
38190 # by configure, so config.status won't be able to write to it; its
38191 # output is simply discarded. So we exec the FD to /dev/null,
38192 # effectively closing config.log, so it can be properly (re)opened and
38193 # appended to by config.status. When coming back to configure, we
38194 # need to make the FD available again.
38195 if test "$no_create" != yes; then
38196 ac_cs_success=:
38197 ac_config_status_args=
38198 test "$silent" = yes &&
38199 ac_config_status_args="$ac_config_status_args --quiet"
38200 exec 5>/dev/null
38201 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
38202 exec 5>>config.log
38203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
38204 # would make configure fail if this is the last instruction.
38205 $ac_cs_success || { (exit 1); exit 1; }
38206 fi
38207
38208 #
38209 # CONFIG_SUBDIRS section.
38210 #
38211 if test "$no_recursion" != yes; then
38212
38213 # Remove --cache-file and --srcdir arguments so they do not pile up.
38214 ac_sub_configure_args=
38215 ac_prev=
38216 for ac_arg in $ac_configure_args; do
38217 if test -n "$ac_prev"; then
38218 ac_prev=
38219 continue
38220 fi
38221 case $ac_arg in
38222 -cache-file | --cache-file | --cache-fil | --cache-fi \
38223 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38224 ac_prev=cache_file ;;
38225 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38226 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
38227 | --c=*)
38228 ;;
38229 --config-cache | -C)
38230 ;;
38231 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
38232 ac_prev=srcdir ;;
38233 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
38234 ;;
38235 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
38236 ac_prev=prefix ;;
38237 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
38238 ;;
38239 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
38240 esac
38241 done
38242
38243 # Always prepend --prefix to ensure using the same prefix
38244 # in subdir configurations.
38245 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
38246
38247 ac_popdir=`pwd`
38248 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
38249
38250 # Do not complain, so a configure script can configure whichever
38251 # parts of a large source tree are present.
38252 test -d $srcdir/$ac_dir || continue
38253
38254 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
38255 echo "$as_me: configuring in $ac_dir" >&6;}
38256 { if $as_mkdir_p; then
38257 mkdir -p "$ac_dir"
38258 else
38259 as_dir="$ac_dir"
38260 as_dirs=
38261 while test ! -d "$as_dir"; do
38262 as_dirs="$as_dir $as_dirs"
38263 as_dir=`(dirname "$as_dir") 2>/dev/null ||
38264 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38265 X"$as_dir" : 'X\(//\)[^/]' \| \
38266 X"$as_dir" : 'X\(//\)$' \| \
38267 X"$as_dir" : 'X\(/\)' \| \
38268 . : '\(.\)' 2>/dev/null ||
38269 echo X"$as_dir" |
38270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38272 /^X\(\/\/\)$/{ s//\1/; q; }
38273 /^X\(\/\).*/{ s//\1/; q; }
38274 s/.*/./; q'`
38275 done
38276 test ! -n "$as_dirs" || mkdir $as_dirs
38277 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38278 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38279 { (exit 1); exit 1; }; }; }
38280
38281 ac_builddir=.
38282
38283 if test "$ac_dir" != .; then
38284 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38285 # A "../" for each directory in $ac_dir_suffix.
38286 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38287 else
38288 ac_dir_suffix= ac_top_builddir=
38289 fi
38290
38291 case $srcdir in
38292 .) # No --srcdir option. We are building in place.
38293 ac_srcdir=.
38294 if test -z "$ac_top_builddir"; then
38295 ac_top_srcdir=.
38296 else
38297 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38298 fi ;;
38299 [\\/]* | ?:[\\/]* ) # Absolute path.
38300 ac_srcdir=$srcdir$ac_dir_suffix;
38301 ac_top_srcdir=$srcdir ;;
38302 *) # Relative path.
38303 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38304 ac_top_srcdir=$ac_top_builddir$srcdir ;;
38305 esac
38306 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
38307 # absolute.
38308 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
38309 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
38310 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
38311 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
38312
38313
38314 cd $ac_dir
38315
38316 # Check for guested configure; otherwise get Cygnus style configure.
38317 if test -f $ac_srcdir/configure.gnu; then
38318 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
38319 elif test -f $ac_srcdir/configure; then
38320 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
38321 elif test -f $ac_srcdir/configure.in; then
38322 ac_sub_configure=$ac_configure
38323 else
38324 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
38325 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
38326 ac_sub_configure=
38327 fi
38328
38329 # The recursion is here.
38330 if test -n "$ac_sub_configure"; then
38331 # Make the cache file name correct relative to the subdirectory.
38332 case $cache_file in
38333 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
38334 *) # Relative path.
38335 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
38336 esac
38337
38338 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
38339 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
38340 # The eval makes quoting arguments work.
38341 eval $ac_sub_configure $ac_sub_configure_args \
38342 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
38343 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
38344 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
38345 { (exit 1); exit 1; }; }
38346 fi
38347
38348 cd $ac_popdir
38349 done
38350 fi
38351
38352
38353 echo
38354 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
38355 echo ""
38356 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
38357 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
38358
38359 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
38360 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
38361 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
38362
38363 echo " What level of wxWindows compatibility should be enabled?"
38364 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
38365 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
38366
38367 echo " Which libraries should wxWindows use?"
38368 echo " jpeg ${wxUSE_LIBJPEG-none}"
38369 echo " png ${wxUSE_LIBPNG-none}"
38370 echo " regex ${wxUSE_REGEX}"
38371 echo " tiff ${wxUSE_LIBTIFF-none}"
38372 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
38373 echo " xpm ${wxUSE_LIBXPM-none}"
38374 fi
38375 echo " zlib ${wxUSE_ZLIB}"
38376 echo " odbc ${wxUSE_ODBC}"
38377 echo " expat ${wxUSE_EXPAT}"
38378 echo " libmspack ${wxUSE_LIBMSPACK}"
38379 echo " sdl ${wxUSE_LIBSDL}"
38380
38381 echo ""
38382