]> git.saurik.com Git - wxWidgets.git/blob - configure
expose find window method
[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.59 for wxWindows 2.5.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWindows'
272 PACKAGE_TARNAME='wxwindows'
273 PACKAGE_VERSION='2.5.1'
274 PACKAGE_STRING='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 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 CPPUNIT_CFLAGS CPPUNIT_LIBS 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 DLLIMP_SUFFIX LIBPREFIX LIBEXT 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_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_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 GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWindows 2.2 compatibility
893 --disable-compat24 disable wxWindows 2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx-config
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-wxprintfv use wxWindows implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-gzstream use wxGzipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support in wxProtocol
940 --enable-protocol-ftp FTP support in wxProtocol
941 --enable-protocol-file FILE support in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use help subsystem
945 --enable-mshtmlhelp use MS HTML Help (win32)
946 --enable-html use wxHTML sub-library
947 --enable-htmlhelp use wxHTML-based help
948 --enable-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context (default for gtk+)
955 --enable-prologio not available; see contrib
956 --enable-resources not available; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick (Linux only)
1021 --enable-metafiles use wxMetaFile (Windows only)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images (GIF file format)
1027 --enable-pcx use pcx images (PCX file format)
1028 --enable-iff use iff images (IFF file format)
1029 --enable-pnm use pnm images (PNM file format)
1030 --enable-xpm use xpm images (XPM file format)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWindows (win32 DLL only)
1033 --enable-vendor=VENDOR vendor name (win32 DLL only)
1034 --disable-largefile omit support for large files
1035 --disable-gtktest do not try to compile and run a test GTK+ program
1036 --disable-gtktest Do not try to compile and run a test GTK program
1037 --disable-sdltest Do not try to compile and run a test SDL program
1038 --enable-omf use OMF object format (OS/2)
1039 --disable-precomp-headers don't use precompiled headers even if compiler can
1040
1041 Optional Packages:
1042 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1043 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1044 --with-gtk use GTK+
1045 --with-motif use Motif/Lesstif
1046 --with-mac use Mac OS X
1047 --with-cocoa use Cocoa
1048 --with-wine use Wine
1049 --with-msw use MS-Windows
1050 --with-pm use OS/2 Presentation Manager
1051 --with-mgl use SciTech MGL
1052 --with-microwin use MicroWindows
1053 --with-x11 use X11
1054 --with-libpng use libpng (PNG image format)
1055 --with-libjpeg use libjpeg (JPEG file format)
1056 --with-libtiff use libtiff (TIFF file format)
1057 --with-libxpm use libxpm (XPM file format)
1058 --with-libmspack use libmspack (CHM help files loading)
1059 --with-sdl use SDL for audio on Unix
1060 --with-opengl use OpenGL (or Mesa)
1061 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1062 --with-regex enable support for wxRegEx class
1063 --with-zlib use zlib for LZW compression
1064 --with-odbc use the IODBC and wxODBC classes
1065 --with-expat enable XML support using expat parser
1066 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1067 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1068 --with-x use the X Window System
1069 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1070 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1071 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1072 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1073 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1074
1075 Some influential environment variables:
1076 CC C compiler command
1077 CFLAGS C compiler flags
1078 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1079 nonstandard directory <lib dir>
1080 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081 headers in a nonstandard directory <include dir>
1082 CPP C preprocessor
1083 CXX C++ compiler command
1084 CXXFLAGS C++ compiler flags
1085 CXXCPP C++ preprocessor
1086
1087 Use these variables to override the choices made by `configure' or to help
1088 it to find libraries and programs with nonstandard names/locations.
1089
1090 Report bugs to <wx-dev@lists.wxwindows.org>.
1091 _ACEOF
1092 fi
1093
1094 if test "$ac_init_help" = "recursive"; then
1095 # If there are subdirs, report their specific --help.
1096 ac_popdir=`pwd`
1097 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1098 test -d $ac_dir || continue
1099 ac_builddir=.
1100
1101 if test "$ac_dir" != .; then
1102 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1103 # A "../" for each directory in $ac_dir_suffix.
1104 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1105 else
1106 ac_dir_suffix= ac_top_builddir=
1107 fi
1108
1109 case $srcdir in
1110 .) # No --srcdir option. We are building in place.
1111 ac_srcdir=.
1112 if test -z "$ac_top_builddir"; then
1113 ac_top_srcdir=.
1114 else
1115 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1116 fi ;;
1117 [\\/]* | ?:[\\/]* ) # Absolute path.
1118 ac_srcdir=$srcdir$ac_dir_suffix;
1119 ac_top_srcdir=$srcdir ;;
1120 *) # Relative path.
1121 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1122 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1123 esac
1124
1125 # Do not use `cd foo && pwd` to compute absolute paths, because
1126 # the directories may not exist.
1127 case `pwd` in
1128 .) ac_abs_builddir="$ac_dir";;
1129 *)
1130 case "$ac_dir" in
1131 .) ac_abs_builddir=`pwd`;;
1132 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1133 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1134 esac;;
1135 esac
1136 case $ac_abs_builddir in
1137 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1138 *)
1139 case ${ac_top_builddir}. in
1140 .) ac_abs_top_builddir=$ac_abs_builddir;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1142 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1143 esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_srcdir=$ac_srcdir;;
1147 *)
1148 case $ac_srcdir in
1149 .) ac_abs_srcdir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1151 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1152 esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1156 *)
1157 case $ac_top_srcdir in
1158 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1160 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1161 esac;;
1162 esac
1163
1164 cd $ac_dir
1165 # Check for guested configure; otherwise get Cygnus style configure.
1166 if test -f $ac_srcdir/configure.gnu; then
1167 echo
1168 $SHELL $ac_srcdir/configure.gnu --help=recursive
1169 elif test -f $ac_srcdir/configure; then
1170 echo
1171 $SHELL $ac_srcdir/configure --help=recursive
1172 elif test -f $ac_srcdir/configure.ac ||
1173 test -f $ac_srcdir/configure.in; then
1174 echo
1175 $ac_configure --help
1176 else
1177 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1178 fi
1179 cd $ac_popdir
1180 done
1181 fi
1182
1183 test -n "$ac_init_help" && exit 0
1184 if $ac_init_version; then
1185 cat <<\_ACEOF
1186 wxWindows configure 2.5.1
1187 generated by GNU Autoconf 2.59
1188
1189 Copyright (C) 2003 Free Software Foundation, Inc.
1190 This configure script is free software; the Free Software Foundation
1191 gives unlimited permission to copy, distribute and modify it.
1192 _ACEOF
1193 exit 0
1194 fi
1195 exec 5>config.log
1196 cat >&5 <<_ACEOF
1197 This file contains any messages produced by compilers while
1198 running configure, to aid debugging if configure makes a mistake.
1199
1200 It was created by wxWindows $as_me 2.5.1, which was
1201 generated by GNU Autoconf 2.59. Invocation command line was
1202
1203 $ $0 $@
1204
1205 _ACEOF
1206 {
1207 cat <<_ASUNAME
1208 ## --------- ##
1209 ## Platform. ##
1210 ## --------- ##
1211
1212 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1213 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1214 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1215 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1216 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1217
1218 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1219 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1220
1221 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1222 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1223 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1224 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1225 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1226 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1227 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1228
1229 _ASUNAME
1230
1231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1232 for as_dir in $PATH
1233 do
1234 IFS=$as_save_IFS
1235 test -z "$as_dir" && as_dir=.
1236 echo "PATH: $as_dir"
1237 done
1238
1239 } >&5
1240
1241 cat >&5 <<_ACEOF
1242
1243
1244 ## ----------- ##
1245 ## Core tests. ##
1246 ## ----------- ##
1247
1248 _ACEOF
1249
1250
1251 # Keep a trace of the command line.
1252 # Strip out --no-create and --no-recursion so they do not pile up.
1253 # Strip out --silent because we don't want to record it for future runs.
1254 # Also quote any args containing shell meta-characters.
1255 # Make two passes to allow for proper duplicate-argument suppression.
1256 ac_configure_args=
1257 ac_configure_args0=
1258 ac_configure_args1=
1259 ac_sep=
1260 ac_must_keep_next=false
1261 for ac_pass in 1 2
1262 do
1263 for ac_arg
1264 do
1265 case $ac_arg in
1266 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1269 continue ;;
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 esac
1273 case $ac_pass in
1274 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1275 2)
1276 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1277 if test $ac_must_keep_next = true; then
1278 ac_must_keep_next=false # Got value, back to normal.
1279 else
1280 case $ac_arg in
1281 *=* | --config-cache | -C | -disable-* | --disable-* \
1282 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1283 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1284 | -with-* | --with-* | -without-* | --without-* | --x)
1285 case "$ac_configure_args0 " in
1286 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1287 esac
1288 ;;
1289 -* ) ac_must_keep_next=true ;;
1290 esac
1291 fi
1292 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1293 # Get rid of the leading space.
1294 ac_sep=" "
1295 ;;
1296 esac
1297 done
1298 done
1299 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1300 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1301
1302 # When interrupted or exit'd, cleanup temporary files, and complete
1303 # config.log. We remove comments because anyway the quotes in there
1304 # would cause problems or look ugly.
1305 # WARNING: Be sure not to use single quotes in there, as some shells,
1306 # such as our DU 5.0 friend, will then `close' the trap.
1307 trap 'exit_status=$?
1308 # Save into config.log some information that might help in debugging.
1309 {
1310 echo
1311
1312 cat <<\_ASBOX
1313 ## ---------------- ##
1314 ## Cache variables. ##
1315 ## ---------------- ##
1316 _ASBOX
1317 echo
1318 # The following way of writing the cache mishandles newlines in values,
1319 {
1320 (set) 2>&1 |
1321 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1322 *ac_space=\ *)
1323 sed -n \
1324 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1325 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1326 ;;
1327 *)
1328 sed -n \
1329 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1330 ;;
1331 esac;
1332 }
1333 echo
1334
1335 cat <<\_ASBOX
1336 ## ----------------- ##
1337 ## Output variables. ##
1338 ## ----------------- ##
1339 _ASBOX
1340 echo
1341 for ac_var in $ac_subst_vars
1342 do
1343 eval ac_val=$`echo $ac_var`
1344 echo "$ac_var='"'"'$ac_val'"'"'"
1345 done | sort
1346 echo
1347
1348 if test -n "$ac_subst_files"; then
1349 cat <<\_ASBOX
1350 ## ------------- ##
1351 ## Output files. ##
1352 ## ------------- ##
1353 _ASBOX
1354 echo
1355 for ac_var in $ac_subst_files
1356 do
1357 eval ac_val=$`echo $ac_var`
1358 echo "$ac_var='"'"'$ac_val'"'"'"
1359 done | sort
1360 echo
1361 fi
1362
1363 if test -s confdefs.h; then
1364 cat <<\_ASBOX
1365 ## ----------- ##
1366 ## confdefs.h. ##
1367 ## ----------- ##
1368 _ASBOX
1369 echo
1370 sed "/^$/d" confdefs.h | sort
1371 echo
1372 fi
1373 test "$ac_signal" != 0 &&
1374 echo "$as_me: caught signal $ac_signal"
1375 echo "$as_me: exit $exit_status"
1376 } >&5
1377 rm -f core *.core &&
1378 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1379 exit $exit_status
1380 ' 0
1381 for ac_signal in 1 2 13 15; do
1382 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1383 done
1384 ac_signal=0
1385
1386 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1387 rm -rf conftest* confdefs.h
1388 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1389 echo >confdefs.h
1390
1391 # Predefined preprocessor variables.
1392
1393 cat >>confdefs.h <<_ACEOF
1394 #define PACKAGE_NAME "$PACKAGE_NAME"
1395 _ACEOF
1396
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_STRING "$PACKAGE_STRING"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1415 _ACEOF
1416
1417
1418 # Let the site file select an alternate cache file if it wants to.
1419 # Prefer explicitly selected file to automatically selected ones.
1420 if test -z "$CONFIG_SITE"; then
1421 if test "x$prefix" != xNONE; then
1422 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1423 else
1424 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1425 fi
1426 fi
1427 for ac_site_file in $CONFIG_SITE; do
1428 if test -r "$ac_site_file"; then
1429 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1430 echo "$as_me: loading site script $ac_site_file" >&6;}
1431 sed 's/^/| /' "$ac_site_file" >&5
1432 . "$ac_site_file"
1433 fi
1434 done
1435
1436 if test -r "$cache_file"; then
1437 # Some versions of bash will fail to source /dev/null (special
1438 # files actually), so we avoid doing that.
1439 if test -f "$cache_file"; then
1440 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1441 echo "$as_me: loading cache $cache_file" >&6;}
1442 case $cache_file in
1443 [\\/]* | ?:[\\/]* ) . $cache_file;;
1444 *) . ./$cache_file;;
1445 esac
1446 fi
1447 else
1448 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1449 echo "$as_me: creating cache $cache_file" >&6;}
1450 >$cache_file
1451 fi
1452
1453 # Check that the precious variables saved in the cache have kept the same
1454 # value.
1455 ac_cache_corrupted=false
1456 for ac_var in `(set) 2>&1 |
1457 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1458 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1459 eval ac_new_set=\$ac_env_${ac_var}_set
1460 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1461 eval ac_new_val="\$ac_env_${ac_var}_value"
1462 case $ac_old_set,$ac_new_set in
1463 set,)
1464 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1465 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1466 ac_cache_corrupted=: ;;
1467 ,set)
1468 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1469 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1470 ac_cache_corrupted=: ;;
1471 ,);;
1472 *)
1473 if test "x$ac_old_val" != "x$ac_new_val"; then
1474 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1475 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1476 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1477 echo "$as_me: former value: $ac_old_val" >&2;}
1478 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1479 echo "$as_me: current value: $ac_new_val" >&2;}
1480 ac_cache_corrupted=:
1481 fi;;
1482 esac
1483 # Pass precious variables to config.status.
1484 if test "$ac_new_set" = set; then
1485 case $ac_new_val in
1486 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1487 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1488 *) ac_arg=$ac_var=$ac_new_val ;;
1489 esac
1490 case " $ac_configure_args " in
1491 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1492 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1493 esac
1494 fi
1495 done
1496 if $ac_cache_corrupted; then
1497 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1498 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1499 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1500 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1501 { (exit 1); exit 1; }; }
1502 fi
1503
1504 ac_ext=c
1505 ac_cpp='$CPP $CPPFLAGS'
1506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539 ac_aux_dir=
1540 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1541 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c"
1544 break
1545 elif test -f $ac_dir/install.sh; then
1546 ac_aux_dir=$ac_dir
1547 ac_install_sh="$ac_aux_dir/install.sh -c"
1548 break
1549 elif test -f $ac_dir/shtool; then
1550 ac_aux_dir=$ac_dir
1551 ac_install_sh="$ac_aux_dir/shtool install -c"
1552 break
1553 fi
1554 done
1555 if test -z "$ac_aux_dir"; then
1556 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1557 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1558 { (exit 1); exit 1; }; }
1559 fi
1560 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1561 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1562 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1563
1564 # Make sure we can run config.sub.
1565 $ac_config_sub sun4 >/dev/null 2>&1 ||
1566 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1567 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1568 { (exit 1); exit 1; }; }
1569
1570 echo "$as_me:$LINENO: checking build system type" >&5
1571 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1572 if test "${ac_cv_build+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 else
1575 ac_cv_build_alias=$build_alias
1576 test -z "$ac_cv_build_alias" &&
1577 ac_cv_build_alias=`$ac_config_guess`
1578 test -z "$ac_cv_build_alias" &&
1579 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1580 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1581 { (exit 1); exit 1; }; }
1582 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1584 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1586
1587 fi
1588 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1589 echo "${ECHO_T}$ac_cv_build" >&6
1590 build=$ac_cv_build
1591 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1592 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1593 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594
1595
1596 echo "$as_me:$LINENO: checking host system type" >&5
1597 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1598 if test "${ac_cv_host+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 else
1601 ac_cv_host_alias=$host_alias
1602 test -z "$ac_cv_host_alias" &&
1603 ac_cv_host_alias=$ac_cv_build_alias
1604 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1605 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1606 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1607 { (exit 1); exit 1; }; }
1608
1609 fi
1610 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1611 echo "${ECHO_T}$ac_cv_host" >&6
1612 host=$ac_cv_host
1613 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1614 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1615 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1616
1617
1618 echo "$as_me:$LINENO: checking target system type" >&5
1619 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1620 if test "${ac_cv_target+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 else
1623 ac_cv_target_alias=$target_alias
1624 test "x$ac_cv_target_alias" = "x" &&
1625 ac_cv_target_alias=$ac_cv_host_alias
1626 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1627 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1628 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1629 { (exit 1); exit 1; }; }
1630
1631 fi
1632 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1633 echo "${ECHO_T}$ac_cv_target" >&6
1634 target=$ac_cv_target
1635 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1636 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1637 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1638
1639
1640 # The aliases save the names the user supplied, while $host etc.
1641 # will get canonicalized.
1642 test -n "$target_alias" &&
1643 test "$program_prefix$program_suffix$program_transform_name" = \
1644 NONENONEs,x,x, &&
1645 program_prefix=${target_alias}-
1646
1647
1648
1649 WX_MAJOR_VERSION_NUMBER=2
1650 WX_MINOR_VERSION_NUMBER=5
1651 WX_RELEASE_NUMBER=1
1652
1653 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1654 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1655
1656 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1657
1658 WX_CURRENT=1
1659 WX_REVISION=0
1660 WX_AGE=0
1661
1662
1663
1664 USE_UNIX=1
1665 USE_OS2=0
1666 USE_WIN32=0
1667 USE_DOS=0
1668 USE_BEOS=0
1669 USE_MAC=0
1670
1671 USE_AIX=
1672 USE_BSD= USE_DARWIN= USE_FREEBSD=
1673 USE_GNU= USE_HPUX=
1674 USE_LINUX=
1675 USE_NETBSD=
1676 USE_OPENBSD=
1677 USE_OSF= USE_SGI=
1678 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1679 USE_ULTRIX=
1680 USE_UNIXWARE=
1681
1682 USE_ALPHA=
1683
1684 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1685
1686 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1687
1688 DEFAULT_wxUSE_COCOA=0
1689 DEFAULT_wxUSE_GTK=0
1690 DEFAULT_wxUSE_MAC=0
1691 DEFAULT_wxUSE_MGL=0
1692 DEFAULT_wxUSE_MICROWIN=0
1693 DEFAULT_wxUSE_MOTIF=0
1694 DEFAULT_wxUSE_MSW=0
1695 DEFAULT_wxUSE_PM=0
1696 DEFAULT_wxUSE_X11=0
1697
1698 DEFAULT_DEFAULT_wxUSE_COCOA=0
1699 DEFAULT_DEFAULT_wxUSE_GTK=0
1700 DEFAULT_DEFAULT_wxUSE_MAC=0
1701 DEFAULT_DEFAULT_wxUSE_MGL=0
1702 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1703 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1704 DEFAULT_DEFAULT_wxUSE_MSW=0
1705 DEFAULT_DEFAULT_wxUSE_PM=0
1706 DEFAULT_DEFAULT_wxUSE_X11=0
1707
1708 PROGRAM_EXT=
1709 SO_SUFFIX=so
1710 SAMPLES_RPATH_FLAG=
1711 SAMPLES_RPATH_POSTLINK=
1712
1713 case "${host}" in
1714 *-hp-hpux* )
1715 USE_HPUX=1
1716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1717 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1718 SO_SUFFIX=sl
1719 cat >>confdefs.h <<\_ACEOF
1720 #define __HPUX__ 1
1721 _ACEOF
1722
1723 ;;
1724 *-*-linux* )
1725 USE_LINUX=1
1726 cat >>confdefs.h <<\_ACEOF
1727 #define __LINUX__ 1
1728 _ACEOF
1729
1730 TMP=`uname -m`
1731 if test "x$TMP" = "xalpha"; then
1732 USE_ALPHA=1
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __ALPHA__ 1
1735 _ACEOF
1736
1737 fi
1738 DEFAULT_DEFAULT_wxUSE_GTK=1
1739 ;;
1740 *-*-gnu* | *-*-k*bsd*-gnu )
1741 USE_GNU=1
1742 TMP=`uname -m`
1743 if test "x$TMP" = "xalpha"; then
1744 USE_ALPHA=1
1745 cat >>confdefs.h <<\_ACEOF
1746 #define __ALPHA__ 1
1747 _ACEOF
1748
1749 fi
1750 DEFAULT_DEFAULT_wxUSE_GTK=1
1751 ;;
1752 *-*-irix5* | *-*-irix6* )
1753 USE_SGI=1
1754 USE_SVR4=1
1755 cat >>confdefs.h <<\_ACEOF
1756 #define __SGI__ 1
1757 _ACEOF
1758
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __SVR4__ 1
1761 _ACEOF
1762
1763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1764 ;;
1765 *-*-solaris2* )
1766 USE_SUN=1
1767 USE_SOLARIS=1
1768 USE_SVR4=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __SUN__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __SOLARIS__ 1
1775 _ACEOF
1776
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SVR4__ 1
1779 _ACEOF
1780
1781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1782 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1783 ;;
1784 *-*-sunos4* )
1785 USE_SUN=1
1786 USE_SUNOS=1
1787 USE_BSD=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __SUN__ 1
1790 _ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __SUNOS__ 1
1794 _ACEOF
1795
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __BSD__ 1
1798 _ACEOF
1799
1800 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1801 ;;
1802 *-*-freebsd*)
1803 USE_BSD=1
1804 USE_FREEBSD=1
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __FREEBSD__ 1
1807 _ACEOF
1808
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __BSD__ 1
1811 _ACEOF
1812
1813 DEFAULT_DEFAULT_wxUSE_GTK=1
1814 ;;
1815 *-*-openbsd*)
1816 USE_BSD=1
1817 USE_OPENBSD=1
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __OPENBSD__ 1
1820 _ACEOF
1821
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __BSD__ 1
1824 _ACEOF
1825
1826 DEFAULT_DEFAULT_wxUSE_GTK=1
1827 ;;
1828 *-*-netbsd*)
1829 USE_BSD=1
1830 USE_NETBSD=1
1831 cat >>confdefs.h <<\_ACEOF
1832 #define __NETBSD__ 1
1833 _ACEOF
1834
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __BSD__ 1
1837 _ACEOF
1838
1839 DEFAULT_DEFAULT_wxUSE_GTK=1
1840 ;;
1841 *-*-osf* )
1842 USE_ALPHA=1
1843 USE_OSF=1
1844 cat >>confdefs.h <<\_ACEOF
1845 #define __ALPHA__ 1
1846 _ACEOF
1847
1848 cat >>confdefs.h <<\_ACEOF
1849 #define __OSF__ 1
1850 _ACEOF
1851
1852 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1854 ;;
1855 *-*-dgux5* )
1856 USE_ALPHA=1
1857 USE_SVR4=1
1858 cat >>confdefs.h <<\_ACEOF
1859 #define __ALPHA__ 1
1860 _ACEOF
1861
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __SVR4__ 1
1864 _ACEOF
1865
1866 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1867 ;;
1868 *-*-sysv5* )
1869 USE_SYSV=1
1870 USE_SVR4=1
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __SYSV__ 1
1873 _ACEOF
1874
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __SVR4__ 1
1877 _ACEOF
1878
1879 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1880 ;;
1881 *-*-aix* )
1882 USE_AIX=1
1883 USE_SYSV=1
1884 USE_SVR4=1
1885 SO_SUFFIX=a
1886 cat >>confdefs.h <<\_ACEOF
1887 #define __AIX__ 1
1888 _ACEOF
1889
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __SYSV__ 1
1892 _ACEOF
1893
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __SVR4__ 1
1896 _ACEOF
1897
1898 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1899 ;;
1900
1901 *-*-*UnixWare*)
1902 USE_SYSV=1
1903 USE_SVR4=1
1904 USE_UNIXWARE=1
1905 cat >>confdefs.h <<\_ACEOF
1906 #define __UNIXWARE__ 1
1907 _ACEOF
1908
1909 ;;
1910
1911 *-*-cygwin* | *-*-mingw32* )
1912 SO_SUFFIX=dll
1913 PROGRAM_EXT=".exe"
1914 RESCOMP=windres
1915 DEFAULT_DEFAULT_wxUSE_MSW=1
1916 ;;
1917
1918 *-pc-msdosdjgpp )
1919 USE_UNIX=0
1920 USE_DOS=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __DOS__ 1
1923 _ACEOF
1924
1925 PROGRAM_EXT=".exe"
1926 DEFAULT_DEFAULT_wxUSE_MGL=1
1927 LIBS="$LIBS -lstdc++"
1928 ;;
1929
1930 *-pc-os2_emx | *-pc-os2-emx )
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __EMX__ 1
1933 _ACEOF
1934
1935 USE_OS2=1
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __OS2__ 1
1938 _ACEOF
1939
1940 PROGRAM_EXT=".exe"
1941 DEFAULT_DEFAULT_wxUSE_PM=1
1942 CXX=gcc
1943 LDFLAGS="$LDFLAGS -Zcrtdll"
1944 ac_executable_extensions=".exe"
1945 export ac_executable_extensions
1946 ac_save_IFS="$IFS"
1947 IFS='\\'
1948 ac_TEMP_PATH=
1949 for ac_dir in $PATH; do
1950 IFS=$ac_save_IFS
1951 if test -z "$ac_TEMP_PATH"; then
1952 ac_TEMP_PATH="$ac_dir"
1953 else
1954 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1955 fi
1956 done
1957 export PATH="$ac_TEMP_PATH"
1958 unset ac_TEMP_PATH
1959 ;;
1960
1961 powerpc-*-darwin* )
1962 USE_BSD=1
1963 USE_DARWIN=1
1964 SO_SUFFIX=dylib
1965 cat >>confdefs.h <<\_ACEOF
1966 #define __BSD__ 1
1967 _ACEOF
1968
1969 cat >>confdefs.h <<\_ACEOF
1970 #define __DARWIN__ 1
1971 _ACEOF
1972
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __POWERPC__ 1
1975 _ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978 #define TARGET_CARBON 1
1979 _ACEOF
1980
1981 DEFAULT_DEFAULT_wxUSE_MAC=1
1982 ;;
1983
1984 *-*-beos* )
1985 USE_BEOS=1
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __BEOS__ 1
1988 _ACEOF
1989
1990 ;;
1991
1992 *)
1993 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1994 echo "$as_me: error: unknown system type ${host}." >&2;}
1995 { (exit 1); exit 1; }; }
1996 esac
1997
1998
1999
2000
2001 wx_arg_cache_file="configarg.cache"
2002 echo "loading argument cache $wx_arg_cache_file"
2003 rm -f ${wx_arg_cache_file}.tmp
2004 touch ${wx_arg_cache_file}.tmp
2005 touch ${wx_arg_cache_file}
2006
2007
2008 DEBUG_CONFIGURE=0
2009 if test $DEBUG_CONFIGURE = 1; then
2010 DEFAULT_wxUSE_UNIVERSAL=no
2011 DEFAULT_wxUSE_STL=no
2012
2013 DEFAULT_wxUSE_NANOX=no
2014
2015 DEFAULT_wxUSE_THREADS=yes
2016
2017 DEFAULT_wxUSE_SHARED=yes
2018 DEFAULT_wxUSE_OPTIMISE=no
2019 DEFAULT_wxUSE_PROFILE=no
2020 DEFAULT_wxUSE_NO_DEPS=no
2021 DEFAULT_wxUSE_NO_RTTI=no
2022 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2023 DEFAULT_wxUSE_PERMISSIVE=no
2024 DEFAULT_wxUSE_DEBUG_FLAG=yes
2025 DEFAULT_wxUSE_DEBUG_INFO=yes
2026 DEFAULT_wxUSE_DEBUG_GDB=yes
2027 DEFAULT_wxUSE_MEM_TRACING=no
2028 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2029 DEFAULT_wxUSE_DMALLOC=no
2030 DEFAULT_wxUSE_APPLE_IEEE=no
2031
2032 DEFAULT_wxUSE_EXCEPTIONS=no
2033 DEFAULT_wxUSE_LOG=yes
2034 DEFAULT_wxUSE_LOGWINDOW=no
2035 DEFAULT_wxUSE_LOGGUI=no
2036 DEFAULT_wxUSE_LOGDIALOG=no
2037
2038 DEFAULT_wxUSE_GUI=yes
2039 DEFAULT_wxUSE_CONTROLS=no
2040
2041 DEFAULT_wxUSE_REGEX=no
2042 DEFAULT_wxUSE_XML=no
2043 DEFAULT_wxUSE_EXPAT=no
2044 DEFAULT_wxUSE_ZLIB=no
2045 DEFAULT_wxUSE_LIBPNG=no
2046 DEFAULT_wxUSE_LIBJPEG=no
2047 DEFAULT_wxUSE_LIBTIFF=no
2048 DEFAULT_wxUSE_LIBXPM=no
2049 DEFAULT_wxUSE_LIBMSPACK=no
2050 DEFAULT_wxUSE_LIBSDL=no
2051 DEFAULT_wxUSE_ODBC=no
2052 DEFAULT_wxUSE_OPENGL=no
2053
2054 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2055 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2056 DEFAULT_wxUSE_STD_IOSTREAM=no
2057 DEFAULT_wxUSE_CMDLINE_PARSER=no
2058 DEFAULT_wxUSE_DATETIME=no
2059 DEFAULT_wxUSE_TIMER=no
2060 DEFAULT_wxUSE_STOPWATCH=no
2061 DEFAULT_wxUSE_FILE=no
2062 DEFAULT_wxUSE_FFILE=no
2063 DEFAULT_wxUSE_TEXTBUFFER=no
2064 DEFAULT_wxUSE_TEXTFILE=no
2065 DEFAULT_wxUSE_SOUND=no
2066 DEFAULT_wxUSE_INTL=no
2067 DEFAULT_wxUSE_CONFIG=no
2068 DEFAULT_wxUSE_FONTMAP=no
2069 DEFAULT_wxUSE_STREAMS=no
2070 DEFAULT_wxUSE_SOCKETS=no
2071 DEFAULT_wxUSE_OLE=no
2072 DEFAULT_wxUSE_DATAOBJ=no
2073 DEFAULT_wxUSE_DIALUP_MANAGER=no
2074 DEFAULT_wxUSE_JOYSTICK=no
2075 DEFAULT_wxUSE_DYNLIB_CLASS=no
2076 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2077 DEFAULT_wxUSE_LONGLONG=no
2078 DEFAULT_wxUSE_GEOMETRY=no
2079
2080 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2081 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2082 DEFAULT_wxUSE_POSTSCRIPT=no
2083
2084 DEFAULT_wxUSE_CLIPBOARD=no
2085 DEFAULT_wxUSE_TOOLTIPS=no
2086 DEFAULT_wxUSE_DRAG_AND_DROP=no
2087 DEFAULT_wxUSE_DRAGIMAGE=no
2088 DEFAULT_wxUSE_SPLINES=no
2089
2090 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2091 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2092 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2093
2094 DEFAULT_wxUSE_RESOURCES=no
2095 DEFAULT_wxUSE_CONSTRAINTS=no
2096 DEFAULT_wxUSE_IPC=no
2097 DEFAULT_wxUSE_HELP=no
2098 DEFAULT_wxUSE_MS_HTML_HELP=no
2099 DEFAULT_wxUSE_WXHTML_HELP=no
2100 DEFAULT_wxUSE_TREELAYOUT=no
2101 DEFAULT_wxUSE_METAFILE=no
2102 DEFAULT_wxUSE_MIMETYPE=no
2103 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2104 DEFAULT_wxUSE_PROTOCOL=no
2105 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2106 DEFAULT_wxUSE_PROTOCOL_FTP=no
2107 DEFAULT_wxUSE_PROTOCOL_FILE=no
2108 DEFAULT_wxUSE_URL=no
2109
2110 DEFAULT_wxUSE_COMMONDLGS=no
2111 DEFAULT_wxUSE_CHOICEDLG=no
2112 DEFAULT_wxUSE_COLOURDLG=no
2113 DEFAULT_wxUSE_DIRDLG=no
2114 DEFAULT_wxUSE_FILEDLG=no
2115 DEFAULT_wxUSE_FINDREPLDLG=no
2116 DEFAULT_wxUSE_FONTDLG=no
2117 DEFAULT_wxUSE_MSGDLG=no
2118 DEFAULT_wxUSE_NUMBERDLG=no
2119 DEFAULT_wxUSE_TEXTDLG=no
2120 DEFAULT_wxUSE_SPLASH=no
2121 DEFAULT_wxUSE_STARTUP_TIPS=no
2122 DEFAULT_wxUSE_PROGRESSDLG=no
2123 DEFAULT_wxUSE_WIZARDDLG=no
2124
2125 DEFAULT_wxUSE_MENUS=no
2126 DEFAULT_wxUSE_MINIFRAME=no
2127 DEFAULT_wxUSE_HTML=no
2128 DEFAULT_wxUSE_FILESYSTEM=no
2129 DEFAULT_wxUSE_FS_INET=no
2130 DEFAULT_wxUSE_FS_ZIP=no
2131 DEFAULT_wxUSE_BUSYINFO=no
2132 DEFAULT_wxUSE_ZIPSTREAM=no
2133 DEFAULT_wxUSE_GZSTREAM=no
2134 DEFAULT_wxUSE_VALIDATORS=no
2135
2136 DEFAULT_wxUSE_ACCEL=no
2137 DEFAULT_wxUSE_BUTTON=no
2138 DEFAULT_wxUSE_BMPBUTTON=no
2139 DEFAULT_wxUSE_CALCTRL=no
2140 DEFAULT_wxUSE_CARET=no
2141 DEFAULT_wxUSE_CHECKBOX=no
2142 DEFAULT_wxUSE_CHECKLST=no
2143 DEFAULT_wxUSE_CHOICE=no
2144 DEFAULT_wxUSE_COMBOBOX=no
2145 DEFAULT_wxUSE_DISPLAY=no
2146 DEFAULT_wxUSE_GAUGE=no
2147 DEFAULT_wxUSE_GRID=no
2148 DEFAULT_wxUSE_IMAGLIST=no
2149 DEFAULT_wxUSE_LISTBOOK=no
2150 DEFAULT_wxUSE_LISTBOX=no
2151 DEFAULT_wxUSE_LISTCTRL=no
2152 DEFAULT_wxUSE_NOTEBOOK=no
2153 DEFAULT_wxUSE_RADIOBOX=no
2154 DEFAULT_wxUSE_RADIOBTN=no
2155 DEFAULT_wxUSE_SASH=no
2156 DEFAULT_wxUSE_SCROLLBAR=no
2157 DEFAULT_wxUSE_SLIDER=no
2158 DEFAULT_wxUSE_SPINBTN=no
2159 DEFAULT_wxUSE_SPINCTRL=no
2160 DEFAULT_wxUSE_SPLITTER=no
2161 DEFAULT_wxUSE_STATBMP=no
2162 DEFAULT_wxUSE_STATBOX=no
2163 DEFAULT_wxUSE_STATLINE=no
2164 DEFAULT_wxUSE_STATTEXT=no
2165 DEFAULT_wxUSE_STATUSBAR=yes
2166 DEFAULT_wxUSE_TABDIALOG=no
2167 DEFAULT_wxUSE_TEXTCTRL=no
2168 DEFAULT_wxUSE_TOGGLEBTN=no
2169 DEFAULT_wxUSE_TOOLBAR=no
2170 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2171 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2172 DEFAULT_wxUSE_TREECTRL=no
2173 DEFAULT_wxUSE_POPUPWIN=no
2174 DEFAULT_wxUSE_TIPWINDOW=no
2175
2176 DEFAULT_wxUSE_UNICODE=no
2177 DEFAULT_wxUSE_UNICODE_MSLU=no
2178 DEFAULT_wxUSE_WCSRTOMBS=no
2179
2180 DEFAULT_wxUSE_PALETTE=no
2181 DEFAULT_wxUSE_IMAGE=no
2182 DEFAULT_wxUSE_GIF=no
2183 DEFAULT_wxUSE_PCX=no
2184 DEFAULT_wxUSE_PNM=no
2185 DEFAULT_wxUSE_IFF=no
2186 DEFAULT_wxUSE_XPM=no
2187 DEFAULT_wxUSE_ICO_CUR=no
2188 DEFAULT_wxUSE_ACCESSIBILITY=no
2189
2190 DEFAULT_wxUSE_MONOLITHIC=no
2191 DEFAULT_wxUSE_PLUGINS=no
2192 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2193 else
2194 DEFAULT_wxUSE_UNIVERSAL=no
2195 DEFAULT_wxUSE_STL=no
2196
2197 DEFAULT_wxUSE_NANOX=no
2198
2199 DEFAULT_wxUSE_THREADS=yes
2200
2201 DEFAULT_wxUSE_SHARED=yes
2202 DEFAULT_wxUSE_OPTIMISE=yes
2203 DEFAULT_wxUSE_PROFILE=no
2204 DEFAULT_wxUSE_NO_DEPS=no
2205 DEFAULT_wxUSE_NO_RTTI=no
2206 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2207 DEFAULT_wxUSE_PERMISSIVE=no
2208 DEFAULT_wxUSE_DEBUG_FLAG=no
2209 DEFAULT_wxUSE_DEBUG_INFO=no
2210 DEFAULT_wxUSE_DEBUG_GDB=no
2211 DEFAULT_wxUSE_MEM_TRACING=no
2212 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2213 DEFAULT_wxUSE_DMALLOC=no
2214 DEFAULT_wxUSE_APPLE_IEEE=yes
2215
2216 DEFAULT_wxUSE_EXCEPTIONS=yes
2217 DEFAULT_wxUSE_LOG=yes
2218 DEFAULT_wxUSE_LOGWINDOW=yes
2219 DEFAULT_wxUSE_LOGGUI=yes
2220 DEFAULT_wxUSE_LOGDIALOG=yes
2221
2222 DEFAULT_wxUSE_GUI=yes
2223
2224 DEFAULT_wxUSE_REGEX=yes
2225 DEFAULT_wxUSE_XML=yes
2226 DEFAULT_wxUSE_EXPAT=yes
2227 DEFAULT_wxUSE_ZLIB=yes
2228 DEFAULT_wxUSE_LIBPNG=yes
2229 DEFAULT_wxUSE_LIBJPEG=yes
2230 DEFAULT_wxUSE_LIBTIFF=yes
2231 DEFAULT_wxUSE_LIBXPM=yes
2232 DEFAULT_wxUSE_LIBMSPACK=yes
2233 DEFAULT_wxUSE_LIBSDL=no
2234 DEFAULT_wxUSE_ODBC=no
2235 DEFAULT_wxUSE_OPENGL=no
2236
2237 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2238 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2239 DEFAULT_wxUSE_STD_IOSTREAM=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2241 DEFAULT_wxUSE_DATETIME=yes
2242 DEFAULT_wxUSE_TIMER=yes
2243 DEFAULT_wxUSE_STOPWATCH=yes
2244 DEFAULT_wxUSE_FILE=yes
2245 DEFAULT_wxUSE_FFILE=yes
2246 DEFAULT_wxUSE_TEXTBUFFER=yes
2247 DEFAULT_wxUSE_TEXTFILE=yes
2248 DEFAULT_wxUSE_SOUND=yes
2249 DEFAULT_wxUSE_INTL=yes
2250 DEFAULT_wxUSE_CONFIG=yes
2251 DEFAULT_wxUSE_FONTMAP=yes
2252 DEFAULT_wxUSE_STREAMS=yes
2253 DEFAULT_wxUSE_SOCKETS=yes
2254 DEFAULT_wxUSE_OLE=yes
2255 DEFAULT_wxUSE_DATAOBJ=yes
2256 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2257 DEFAULT_wxUSE_JOYSTICK=yes
2258 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2259 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2260 DEFAULT_wxUSE_LONGLONG=yes
2261 DEFAULT_wxUSE_GEOMETRY=yes
2262
2263 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2264 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2265 DEFAULT_wxUSE_POSTSCRIPT=yes
2266
2267 DEFAULT_wxUSE_CLIPBOARD=yes
2268 DEFAULT_wxUSE_TOOLTIPS=yes
2269 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2270 DEFAULT_wxUSE_DRAGIMAGE=yes
2271 DEFAULT_wxUSE_SPLINES=yes
2272
2273 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2274 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2275 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2276
2277 DEFAULT_wxUSE_RESOURCES=no
2278 DEFAULT_wxUSE_CONSTRAINTS=yes
2279 DEFAULT_wxUSE_IPC=yes
2280 DEFAULT_wxUSE_HELP=yes
2281 DEFAULT_wxUSE_MS_HTML_HELP=yes
2282 DEFAULT_wxUSE_WXHTML_HELP=yes
2283 DEFAULT_wxUSE_TREELAYOUT=yes
2284 DEFAULT_wxUSE_METAFILE=yes
2285 DEFAULT_wxUSE_MIMETYPE=yes
2286 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2287 DEFAULT_wxUSE_PROTOCOL=yes
2288 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2289 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2290 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2291 DEFAULT_wxUSE_URL=yes
2292
2293 DEFAULT_wxUSE_COMMONDLGS=yes
2294 DEFAULT_wxUSE_CHOICEDLG=yes
2295 DEFAULT_wxUSE_COLOURDLG=yes
2296 DEFAULT_wxUSE_DIRDLG=yes
2297 DEFAULT_wxUSE_FILEDLG=yes
2298 DEFAULT_wxUSE_FINDREPLDLG=yes
2299 DEFAULT_wxUSE_FONTDLG=yes
2300 DEFAULT_wxUSE_MSGDLG=yes
2301 DEFAULT_wxUSE_NUMBERDLG=yes
2302 DEFAULT_wxUSE_TEXTDLG=yes
2303 DEFAULT_wxUSE_SPLASH=yes
2304 DEFAULT_wxUSE_STARTUP_TIPS=yes
2305 DEFAULT_wxUSE_PROGRESSDLG=yes
2306 DEFAULT_wxUSE_WIZARDDLG=yes
2307
2308 DEFAULT_wxUSE_MENUS=yes
2309 DEFAULT_wxUSE_MINIFRAME=yes
2310 DEFAULT_wxUSE_HTML=yes
2311 DEFAULT_wxUSE_FILESYSTEM=yes
2312 DEFAULT_wxUSE_FS_INET=yes
2313 DEFAULT_wxUSE_FS_ZIP=yes
2314 DEFAULT_wxUSE_BUSYINFO=yes
2315 DEFAULT_wxUSE_ZIPSTREAM=yes
2316 DEFAULT_wxUSE_GZSTREAM=yes
2317 DEFAULT_wxUSE_VALIDATORS=yes
2318
2319 DEFAULT_wxUSE_ACCEL=yes
2320 DEFAULT_wxUSE_BUTTON=yes
2321 DEFAULT_wxUSE_BMPBUTTON=yes
2322 DEFAULT_wxUSE_CALCTRL=yes
2323 DEFAULT_wxUSE_CARET=yes
2324 DEFAULT_wxUSE_CHECKBOX=yes
2325 DEFAULT_wxUSE_CHECKLST=yes
2326 DEFAULT_wxUSE_CHOICE=yes
2327 DEFAULT_wxUSE_COMBOBOX=yes
2328 DEFAULT_wxUSE_DISPLAY=yes
2329 DEFAULT_wxUSE_GAUGE=yes
2330 DEFAULT_wxUSE_GRID=yes
2331 DEFAULT_wxUSE_IMAGLIST=yes
2332 DEFAULT_wxUSE_LISTBOOK=yes
2333 DEFAULT_wxUSE_LISTBOX=yes
2334 DEFAULT_wxUSE_LISTCTRL=yes
2335 DEFAULT_wxUSE_NOTEBOOK=yes
2336 DEFAULT_wxUSE_RADIOBOX=yes
2337 DEFAULT_wxUSE_RADIOBTN=yes
2338 DEFAULT_wxUSE_SASH=yes
2339 DEFAULT_wxUSE_SCROLLBAR=yes
2340 DEFAULT_wxUSE_SLIDER=yes
2341 DEFAULT_wxUSE_SPINBTN=yes
2342 DEFAULT_wxUSE_SPINCTRL=yes
2343 DEFAULT_wxUSE_SPLITTER=yes
2344 DEFAULT_wxUSE_STATBMP=yes
2345 DEFAULT_wxUSE_STATBOX=yes
2346 DEFAULT_wxUSE_STATLINE=yes
2347 DEFAULT_wxUSE_STATTEXT=yes
2348 DEFAULT_wxUSE_STATUSBAR=yes
2349 DEFAULT_wxUSE_TABDIALOG=no
2350 DEFAULT_wxUSE_TEXTCTRL=yes
2351 DEFAULT_wxUSE_TOGGLEBTN=yes
2352 DEFAULT_wxUSE_TOOLBAR=yes
2353 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2354 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2355 DEFAULT_wxUSE_TREECTRL=yes
2356 DEFAULT_wxUSE_POPUPWIN=yes
2357 DEFAULT_wxUSE_TIPWINDOW=yes
2358
2359 DEFAULT_wxUSE_UNICODE=no
2360 DEFAULT_wxUSE_UNICODE_MSLU=yes
2361 DEFAULT_wxUSE_WCSRTOMBS=no
2362
2363 DEFAULT_wxUSE_PALETTE=yes
2364 DEFAULT_wxUSE_IMAGE=yes
2365 DEFAULT_wxUSE_GIF=yes
2366 DEFAULT_wxUSE_PCX=yes
2367 DEFAULT_wxUSE_IFF=no
2368 DEFAULT_wxUSE_PNM=yes
2369 DEFAULT_wxUSE_XPM=yes
2370 DEFAULT_wxUSE_ICO_CUR=yes
2371 DEFAULT_wxUSE_ACCESSIBILITY=no
2372
2373 DEFAULT_wxUSE_MONOLITHIC=no
2374 DEFAULT_wxUSE_PLUGINS=no
2375 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2376 fi
2377
2378
2379
2380 for toolkit in `echo $ALL_TOOLKITS`; do
2381 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2382 if test "x$LINE" != "x" ; then
2383 has_toolkit_in_cache=1
2384 eval "DEFAULT_$LINE"
2385 eval "CACHE_$toolkit=1"
2386 fi
2387 done
2388
2389
2390
2391 enablestring=
2392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2393 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2394 no_cache=0
2395 # Check whether --enable-gui or --disable-gui was given.
2396 if test "${enable_gui+set}" = set; then
2397 enableval="$enable_gui"
2398
2399 if test "$enableval" = yes; then
2400 ac_cv_use_gui='wxUSE_GUI=yes'
2401 else
2402 ac_cv_use_gui='wxUSE_GUI=no'
2403 fi
2404
2405 else
2406
2407 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2408 if test "x$LINE" != x ; then
2409 eval "DEFAULT_$LINE"
2410 else
2411 no_cache=1
2412 fi
2413
2414 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2415
2416 fi;
2417
2418 eval "$ac_cv_use_gui"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2421 fi
2422
2423 if test "$wxUSE_GUI" = yes; then
2424 echo "$as_me:$LINENO: result: yes" >&5
2425 echo "${ECHO_T}yes" >&6
2426 else
2427 echo "$as_me:$LINENO: result: no" >&5
2428 echo "${ECHO_T}no" >&6
2429 fi
2430
2431
2432 enablestring=
2433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2434 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2435 no_cache=0
2436 # Check whether --enable-monolithic or --disable-monolithic was given.
2437 if test "${enable_monolithic+set}" = set; then
2438 enableval="$enable_monolithic"
2439
2440 if test "$enableval" = yes; then
2441 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2442 else
2443 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2444 fi
2445
2446 else
2447
2448 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2449 if test "x$LINE" != x ; then
2450 eval "DEFAULT_$LINE"
2451 else
2452 no_cache=1
2453 fi
2454
2455 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2456
2457 fi;
2458
2459 eval "$ac_cv_use_monolithic"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2462 fi
2463
2464 if test "$wxUSE_MONOLITHIC" = yes; then
2465 echo "$as_me:$LINENO: result: yes" >&5
2466 echo "${ECHO_T}yes" >&6
2467 else
2468 echo "$as_me:$LINENO: result: no" >&5
2469 echo "${ECHO_T}no" >&6
2470 fi
2471
2472
2473 enablestring=
2474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2475 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2476 no_cache=0
2477 # Check whether --enable-plugins or --disable-plugins was given.
2478 if test "${enable_plugins+set}" = set; then
2479 enableval="$enable_plugins"
2480
2481 if test "$enableval" = yes; then
2482 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2483 else
2484 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2485 fi
2486
2487 else
2488
2489 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2490 if test "x$LINE" != x ; then
2491 eval "DEFAULT_$LINE"
2492 else
2493 no_cache=1
2494 fi
2495
2496 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2497
2498 fi;
2499
2500 eval "$ac_cv_use_plugins"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2503 fi
2504
2505 if test "$wxUSE_PLUGINS" = yes; then
2506 echo "$as_me:$LINENO: result: yes" >&5
2507 echo "${ECHO_T}yes" >&6
2508 else
2509 echo "$as_me:$LINENO: result: no" >&5
2510 echo "${ECHO_T}no" >&6
2511 fi
2512
2513
2514 if test "$wxUSE_GUI" = "yes"; then
2515
2516
2517 enablestring=
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2520 no_cache=0
2521 # Check whether --enable-universal or --disable-universal was given.
2522 if test "${enable_universal+set}" = set; then
2523 enableval="$enable_universal"
2524
2525 if test "$enableval" = yes; then
2526 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2527 else
2528 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2529 fi
2530
2531 else
2532
2533 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x ; then
2535 eval "DEFAULT_$LINE"
2536 else
2537 no_cache=1
2538 fi
2539
2540 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2541
2542 fi;
2543
2544 eval "$ac_cv_use_universal"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2547 fi
2548
2549 if test "$wxUSE_UNIVERSAL" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2555 fi
2556
2557
2558 # Check whether --with-gtk or --without-gtk was given.
2559 if test "${with_gtk+set}" = set; then
2560 withval="$with_gtk"
2561 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2562 fi;
2563
2564 # Check whether --with-motif or --without-motif was given.
2565 if test "${with_motif+set}" = set; then
2566 withval="$with_motif"
2567 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2568 fi;
2569
2570 # Check whether --with-mac or --without-mac was given.
2571 if test "${with_mac+set}" = set; then
2572 withval="$with_mac"
2573 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2574 fi;
2575
2576 # Check whether --with-cocoa or --without-cocoa was given.
2577 if test "${with_cocoa+set}" = set; then
2578 withval="$with_cocoa"
2579 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2580 fi;
2581
2582 # Check whether --with-wine or --without-wine was given.
2583 if test "${with_wine+set}" = set; then
2584 withval="$with_wine"
2585 wxUSE_WINE="$withval" CACHE_WINE=1
2586 fi;
2587
2588 # Check whether --with-msw or --without-msw was given.
2589 if test "${with_msw+set}" = set; then
2590 withval="$with_msw"
2591 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2592 fi;
2593
2594 # Check whether --with-pm or --without-pm was given.
2595 if test "${with_pm+set}" = set; then
2596 withval="$with_pm"
2597 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2598 fi;
2599
2600 # Check whether --with-mgl or --without-mgl was given.
2601 if test "${with_mgl+set}" = set; then
2602 withval="$with_mgl"
2603 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2604 fi;
2605
2606 # Check whether --with-microwin or --without-microwin was given.
2607 if test "${with_microwin+set}" = set; then
2608 withval="$with_microwin"
2609 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2610 fi;
2611
2612 # Check whether --with-x11 or --without-x11 was given.
2613 if test "${with_x11+set}" = set; then
2614 withval="$with_x11"
2615 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2616 fi;
2617
2618 enablestring=
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2621 no_cache=0
2622 # Check whether --enable-nanox or --disable-nanox was given.
2623 if test "${enable_nanox+set}" = set; then
2624 enableval="$enable_nanox"
2625
2626 if test "$enableval" = yes; then
2627 ac_cv_use_nanox='wxUSE_NANOX=yes'
2628 else
2629 ac_cv_use_nanox='wxUSE_NANOX=no'
2630 fi
2631
2632 else
2633
2634 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x ; then
2636 eval "DEFAULT_$LINE"
2637 else
2638 no_cache=1
2639 fi
2640
2641 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2642
2643 fi;
2644
2645 eval "$ac_cv_use_nanox"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2648 fi
2649
2650 if test "$wxUSE_NANOX" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2653 else
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2656 fi
2657
2658
2659
2660 enablestring=
2661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2662 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2663 no_cache=0
2664 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2665 if test "${enable_gtk2+set}" = set; then
2666 enableval="$enable_gtk2"
2667
2668 if test "$enableval" = yes; then
2669 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2670 else
2671 ac_cv_use_gtk2='wxUSE_GTK2=no'
2672 fi
2673
2674 else
2675
2676 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x ; then
2678 eval "DEFAULT_$LINE"
2679 else
2680 no_cache=1
2681 fi
2682
2683 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2684
2685 fi;
2686
2687 eval "$ac_cv_use_gtk2"
2688 if test "$no_cache" != 1; then
2689 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2690 fi
2691
2692 if test "$wxUSE_GTK2" = yes; then
2693 echo "$as_me:$LINENO: result: yes" >&5
2694 echo "${ECHO_T}yes" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2698 fi
2699
2700
2701 enablestring=
2702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2703 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2704 no_cache=0
2705 # Check whether --enable-gpe or --disable-gpe was given.
2706 if test "${enable_gpe+set}" = set; then
2707 enableval="$enable_gpe"
2708
2709 if test "$enableval" = yes; then
2710 ac_cv_use_gpe='wxUSE_GPE=yes'
2711 else
2712 ac_cv_use_gpe='wxUSE_GPE=no'
2713 fi
2714
2715 else
2716
2717 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x ; then
2719 eval "DEFAULT_$LINE"
2720 else
2721 no_cache=1
2722 fi
2723
2724 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2725
2726 fi;
2727
2728 eval "$ac_cv_use_gpe"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2731 fi
2732
2733 if test "$wxUSE_GPE" = yes; then
2734 echo "$as_me:$LINENO: result: yes" >&5
2735 echo "${ECHO_T}yes" >&6
2736 else
2737 echo "$as_me:$LINENO: result: no" >&5
2738 echo "${ECHO_T}no" >&6
2739 fi
2740
2741
2742
2743 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2744 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2745 no_cache=0
2746
2747 # Check whether --with-libpng or --without-libpng was given.
2748 if test "${with_libpng+set}" = set; then
2749 withval="$with_libpng"
2750
2751 if test "$withval" = yes; then
2752 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2753 elif test "$withval" = no; then
2754 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2755 elif test "$withval" = sys; then
2756 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2757 elif test "$withval" = builtin; then
2758 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2759 else
2760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2761 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2762 { (exit 1); exit 1; }; }
2763 fi
2764
2765 else
2766
2767 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x ; then
2769 eval "DEFAULT_$LINE"
2770 else
2771 no_cache=1
2772 fi
2773
2774 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2775
2776 fi;
2777
2778 eval "$ac_cv_use_libpng"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2781 fi
2782
2783 if test "$wxUSE_LIBPNG" = yes; then
2784 echo "$as_me:$LINENO: result: yes" >&5
2785 echo "${ECHO_T}yes" >&6
2786 elif test "$wxUSE_LIBPNG" = no; then
2787 echo "$as_me:$LINENO: result: no" >&5
2788 echo "${ECHO_T}no" >&6
2789 elif test "$wxUSE_LIBPNG" = sys; then
2790 echo "$as_me:$LINENO: result: system version" >&5
2791 echo "${ECHO_T}system version" >&6
2792 elif test "$wxUSE_LIBPNG" = builtin; then
2793 echo "$as_me:$LINENO: result: builtin version" >&5
2794 echo "${ECHO_T}builtin version" >&6
2795 else
2796 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2797 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2798 { (exit 1); exit 1; }; }
2799 fi
2800
2801
2802 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2803 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2804 no_cache=0
2805
2806 # Check whether --with-libjpeg or --without-libjpeg was given.
2807 if test "${with_libjpeg+set}" = set; then
2808 withval="$with_libjpeg"
2809
2810 if test "$withval" = yes; then
2811 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2812 elif test "$withval" = no; then
2813 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2814 elif test "$withval" = sys; then
2815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2816 elif test "$withval" = builtin; then
2817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2818 else
2819 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2820 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2821 { (exit 1); exit 1; }; }
2822 fi
2823
2824 else
2825
2826 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x ; then
2828 eval "DEFAULT_$LINE"
2829 else
2830 no_cache=1
2831 fi
2832
2833 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2834
2835 fi;
2836
2837 eval "$ac_cv_use_libjpeg"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2840 fi
2841
2842 if test "$wxUSE_LIBJPEG" = yes; then
2843 echo "$as_me:$LINENO: result: yes" >&5
2844 echo "${ECHO_T}yes" >&6
2845 elif test "$wxUSE_LIBJPEG" = no; then
2846 echo "$as_me:$LINENO: result: no" >&5
2847 echo "${ECHO_T}no" >&6
2848 elif test "$wxUSE_LIBJPEG" = sys; then
2849 echo "$as_me:$LINENO: result: system version" >&5
2850 echo "${ECHO_T}system version" >&6
2851 elif test "$wxUSE_LIBJPEG" = builtin; then
2852 echo "$as_me:$LINENO: result: builtin version" >&5
2853 echo "${ECHO_T}builtin version" >&6
2854 else
2855 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2856 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2857 { (exit 1); exit 1; }; }
2858 fi
2859
2860
2861 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2862 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2863 no_cache=0
2864
2865 # Check whether --with-libtiff or --without-libtiff was given.
2866 if test "${with_libtiff+set}" = set; then
2867 withval="$with_libtiff"
2868
2869 if test "$withval" = yes; then
2870 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2871 elif test "$withval" = no; then
2872 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2873 elif test "$withval" = sys; then
2874 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2875 elif test "$withval" = builtin; then
2876 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2877 else
2878 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2879 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2880 { (exit 1); exit 1; }; }
2881 fi
2882
2883 else
2884
2885 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2886 if test "x$LINE" != x ; then
2887 eval "DEFAULT_$LINE"
2888 else
2889 no_cache=1
2890 fi
2891
2892 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2893
2894 fi;
2895
2896 eval "$ac_cv_use_libtiff"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2899 fi
2900
2901 if test "$wxUSE_LIBTIFF" = yes; then
2902 echo "$as_me:$LINENO: result: yes" >&5
2903 echo "${ECHO_T}yes" >&6
2904 elif test "$wxUSE_LIBTIFF" = no; then
2905 echo "$as_me:$LINENO: result: no" >&5
2906 echo "${ECHO_T}no" >&6
2907 elif test "$wxUSE_LIBTIFF" = sys; then
2908 echo "$as_me:$LINENO: result: system version" >&5
2909 echo "${ECHO_T}system version" >&6
2910 elif test "$wxUSE_LIBTIFF" = builtin; then
2911 echo "$as_me:$LINENO: result: builtin version" >&5
2912 echo "${ECHO_T}builtin version" >&6
2913 else
2914 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2915 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2916 { (exit 1); exit 1; }; }
2917 fi
2918
2919
2920 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2921 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2922 no_cache=0
2923
2924 # Check whether --with-libxpm or --without-libxpm was given.
2925 if test "${with_libxpm+set}" = set; then
2926 withval="$with_libxpm"
2927
2928 if test "$withval" = yes; then
2929 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2930 elif test "$withval" = no; then
2931 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2932 elif test "$withval" = sys; then
2933 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2934 elif test "$withval" = builtin; then
2935 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2936 else
2937 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2938 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2939 { (exit 1); exit 1; }; }
2940 fi
2941
2942 else
2943
2944 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x ; then
2946 eval "DEFAULT_$LINE"
2947 else
2948 no_cache=1
2949 fi
2950
2951 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2952
2953 fi;
2954
2955 eval "$ac_cv_use_libxpm"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2958 fi
2959
2960 if test "$wxUSE_LIBXPM" = yes; then
2961 echo "$as_me:$LINENO: result: yes" >&5
2962 echo "${ECHO_T}yes" >&6
2963 elif test "$wxUSE_LIBXPM" = no; then
2964 echo "$as_me:$LINENO: result: no" >&5
2965 echo "${ECHO_T}no" >&6
2966 elif test "$wxUSE_LIBXPM" = sys; then
2967 echo "$as_me:$LINENO: result: system version" >&5
2968 echo "${ECHO_T}system version" >&6
2969 elif test "$wxUSE_LIBXPM" = builtin; then
2970 echo "$as_me:$LINENO: result: builtin version" >&5
2971 echo "${ECHO_T}builtin version" >&6
2972 else
2973 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2974 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2975 { (exit 1); exit 1; }; }
2976 fi
2977
2978
2979 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2980 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2981 no_cache=0
2982
2983 # Check whether --with-libmspack or --without-libmspack was given.
2984 if test "${with_libmspack+set}" = set; then
2985 withval="$with_libmspack"
2986
2987 if test "$withval" = yes; then
2988 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2989 else
2990 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2991 fi
2992
2993 else
2994
2995 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
2998 else
2999 no_cache=1
3000 fi
3001
3002 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3003
3004 fi;
3005
3006 eval "$ac_cv_use_libmspack"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3009 fi
3010
3011 if test "$wxUSE_LIBMSPACK" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3014 else
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3017 fi
3018
3019
3020 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3021 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3022 no_cache=0
3023
3024 # Check whether --with-sdl or --without-sdl was given.
3025 if test "${with_sdl+set}" = set; then
3026 withval="$with_sdl"
3027
3028 if test "$withval" = yes; then
3029 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3030 else
3031 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3044
3045 fi;
3046
3047 eval "$ac_cv_use_sdl"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBSDL" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 else
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 fi
3059
3060
3061 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3062 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3063 no_cache=0
3064
3065 # Check whether --with-opengl or --without-opengl was given.
3066 if test "${with_opengl+set}" = set; then
3067 withval="$with_opengl"
3068
3069 if test "$withval" = yes; then
3070 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3071 else
3072 ac_cv_use_opengl='wxUSE_OPENGL=no'
3073 fi
3074
3075 else
3076
3077 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x ; then
3079 eval "DEFAULT_$LINE"
3080 else
3081 no_cache=1
3082 fi
3083
3084 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3085
3086 fi;
3087
3088 eval "$ac_cv_use_opengl"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3091 fi
3092
3093 if test "$wxUSE_OPENGL" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095 echo "${ECHO_T}yes" >&6
3096 else
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3099 fi
3100
3101
3102 fi
3103
3104
3105 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3106 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3107 no_cache=0
3108
3109 # Check whether --with-dmalloc or --without-dmalloc was given.
3110 if test "${with_dmalloc+set}" = set; then
3111 withval="$with_dmalloc"
3112
3113 if test "$withval" = yes; then
3114 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3115 else
3116 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3117 fi
3118
3119 else
3120
3121 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3122 if test "x$LINE" != x ; then
3123 eval "DEFAULT_$LINE"
3124 else
3125 no_cache=1
3126 fi
3127
3128 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3129
3130 fi;
3131
3132 eval "$ac_cv_use_dmalloc"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3135 fi
3136
3137 if test "$wxUSE_DMALLOC" = yes; then
3138 echo "$as_me:$LINENO: result: yes" >&5
3139 echo "${ECHO_T}yes" >&6
3140 else
3141 echo "$as_me:$LINENO: result: no" >&5
3142 echo "${ECHO_T}no" >&6
3143 fi
3144
3145
3146 echo "$as_me:$LINENO: checking for --with-regex" >&5
3147 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3148 no_cache=0
3149
3150 # Check whether --with-regex or --without-regex was given.
3151 if test "${with_regex+set}" = set; then
3152 withval="$with_regex"
3153
3154 if test "$withval" = yes; then
3155 ac_cv_use_regex='wxUSE_REGEX=yes'
3156 elif test "$withval" = no; then
3157 ac_cv_use_regex='wxUSE_REGEX=no'
3158 elif test "$withval" = sys; then
3159 ac_cv_use_regex='wxUSE_REGEX=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_regex='wxUSE_REGEX=builtin'
3162 else
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3166 fi
3167
3168 else
3169
3170 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x ; then
3172 eval "DEFAULT_$LINE"
3173 else
3174 no_cache=1
3175 fi
3176
3177 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3178
3179 fi;
3180
3181 eval "$ac_cv_use_regex"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3184 fi
3185
3186 if test "$wxUSE_REGEX" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_REGEX" = no; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_REGEX" = sys; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_REGEX" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3198 else
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3202 fi
3203
3204
3205 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3206 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3207 no_cache=0
3208
3209 # Check whether --with-zlib or --without-zlib was given.
3210 if test "${with_zlib+set}" = set; then
3211 withval="$with_zlib"
3212
3213 if test "$withval" = yes; then
3214 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3215 elif test "$withval" = no; then
3216 ac_cv_use_zlib='wxUSE_ZLIB=no'
3217 elif test "$withval" = sys; then
3218 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3219 elif test "$withval" = builtin; then
3220 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3221 else
3222 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3223 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3224 { (exit 1); exit 1; }; }
3225 fi
3226
3227 else
3228
3229 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x ; then
3231 eval "DEFAULT_$LINE"
3232 else
3233 no_cache=1
3234 fi
3235
3236 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3237
3238 fi;
3239
3240 eval "$ac_cv_use_zlib"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3243 fi
3244
3245 if test "$wxUSE_ZLIB" = yes; then
3246 echo "$as_me:$LINENO: result: yes" >&5
3247 echo "${ECHO_T}yes" >&6
3248 elif test "$wxUSE_ZLIB" = no; then
3249 echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6
3251 elif test "$wxUSE_ZLIB" = sys; then
3252 echo "$as_me:$LINENO: result: system version" >&5
3253 echo "${ECHO_T}system version" >&6
3254 elif test "$wxUSE_ZLIB" = builtin; then
3255 echo "$as_me:$LINENO: result: builtin version" >&5
3256 echo "${ECHO_T}builtin version" >&6
3257 else
3258 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3259 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3260 { (exit 1); exit 1; }; }
3261 fi
3262
3263
3264 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3265 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3266 no_cache=0
3267
3268 # Check whether --with-odbc or --without-odbc was given.
3269 if test "${with_odbc+set}" = set; then
3270 withval="$with_odbc"
3271
3272 if test "$withval" = yes; then
3273 ac_cv_use_odbc='wxUSE_ODBC=yes'
3274 elif test "$withval" = no; then
3275 ac_cv_use_odbc='wxUSE_ODBC=no'
3276 elif test "$withval" = sys; then
3277 ac_cv_use_odbc='wxUSE_ODBC=sys'
3278 elif test "$withval" = builtin; then
3279 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3280 else
3281 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3282 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3283 { (exit 1); exit 1; }; }
3284 fi
3285
3286 else
3287
3288 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x ; then
3290 eval "DEFAULT_$LINE"
3291 else
3292 no_cache=1
3293 fi
3294
3295 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3296
3297 fi;
3298
3299 eval "$ac_cv_use_odbc"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3302 fi
3303
3304 if test "$wxUSE_ODBC" = yes; then
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 elif test "$wxUSE_ODBC" = no; then
3308 echo "$as_me:$LINENO: result: no" >&5
3309 echo "${ECHO_T}no" >&6
3310 elif test "$wxUSE_ODBC" = sys; then
3311 echo "$as_me:$LINENO: result: system version" >&5
3312 echo "${ECHO_T}system version" >&6
3313 elif test "$wxUSE_ODBC" = builtin; then
3314 echo "$as_me:$LINENO: result: builtin version" >&5
3315 echo "${ECHO_T}builtin version" >&6
3316 else
3317 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3318 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3319 { (exit 1); exit 1; }; }
3320 fi
3321
3322
3323 echo "$as_me:$LINENO: checking for --with-expat" >&5
3324 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3325 no_cache=0
3326
3327 # Check whether --with-expat or --without-expat was given.
3328 if test "${with_expat+set}" = set; then
3329 withval="$with_expat"
3330
3331 if test "$withval" = yes; then
3332 ac_cv_use_expat='wxUSE_EXPAT=yes'
3333 elif test "$withval" = no; then
3334 ac_cv_use_expat='wxUSE_EXPAT=no'
3335 elif test "$withval" = sys; then
3336 ac_cv_use_expat='wxUSE_EXPAT=sys'
3337 elif test "$withval" = builtin; then
3338 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3339 else
3340 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3341 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3342 { (exit 1); exit 1; }; }
3343 fi
3344
3345 else
3346
3347 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x ; then
3349 eval "DEFAULT_$LINE"
3350 else
3351 no_cache=1
3352 fi
3353
3354 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3355
3356 fi;
3357
3358 eval "$ac_cv_use_expat"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test "$wxUSE_EXPAT" = yes; then
3364 echo "$as_me:$LINENO: result: yes" >&5
3365 echo "${ECHO_T}yes" >&6
3366 elif test "$wxUSE_EXPAT" = no; then
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3369 elif test "$wxUSE_EXPAT" = sys; then
3370 echo "$as_me:$LINENO: result: system version" >&5
3371 echo "${ECHO_T}system version" >&6
3372 elif test "$wxUSE_EXPAT" = builtin; then
3373 echo "$as_me:$LINENO: result: builtin version" >&5
3374 echo "${ECHO_T}builtin version" >&6
3375 else
3376 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3377 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3378 { (exit 1); exit 1; }; }
3379 fi
3380
3381
3382
3383
3384 enablestring=
3385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3387 no_cache=0
3388 # Check whether --enable-shared or --disable-shared was given.
3389 if test "${enable_shared+set}" = set; then
3390 enableval="$enable_shared"
3391
3392 if test "$enableval" = yes; then
3393 ac_cv_use_shared='wxUSE_SHARED=yes'
3394 else
3395 ac_cv_use_shared='wxUSE_SHARED=no'
3396 fi
3397
3398 else
3399
3400 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x ; then
3402 eval "DEFAULT_$LINE"
3403 else
3404 no_cache=1
3405 fi
3406
3407 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3408
3409 fi;
3410
3411 eval "$ac_cv_use_shared"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_SHARED" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3419 else
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3422 fi
3423
3424
3425 enablestring=
3426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3428 no_cache=0
3429 # Check whether --enable-optimise or --disable-optimise was given.
3430 if test "${enable_optimise+set}" = set; then
3431 enableval="$enable_optimise"
3432
3433 if test "$enableval" = yes; then
3434 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3435 else
3436 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3437 fi
3438
3439 else
3440
3441 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x ; then
3443 eval "DEFAULT_$LINE"
3444 else
3445 no_cache=1
3446 fi
3447
3448 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3449
3450 fi;
3451
3452 eval "$ac_cv_use_optimise"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_OPTIMISE" = yes; then
3458 echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6
3460 else
3461 echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6
3463 fi
3464
3465
3466 enablestring=
3467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3469 no_cache=0
3470 # Check whether --enable-debug or --disable-debug was given.
3471 if test "${enable_debug+set}" = set; then
3472 enableval="$enable_debug"
3473
3474 if test "$enableval" = yes; then
3475 ac_cv_use_debug='wxUSE_DEBUG=yes'
3476 else
3477 ac_cv_use_debug='wxUSE_DEBUG=no'
3478 fi
3479
3480 else
3481
3482 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3483 if test "x$LINE" != x ; then
3484 eval "DEFAULT_$LINE"
3485 else
3486 no_cache=1
3487 fi
3488
3489 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3490
3491 fi;
3492
3493 eval "$ac_cv_use_debug"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_DEBUG" = yes; then
3499 echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6
3501 else
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3504 fi
3505
3506
3507 enablestring=
3508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3509 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3510 no_cache=0
3511 # Check whether --enable-stl or --disable-stl was given.
3512 if test "${enable_stl+set}" = set; then
3513 enableval="$enable_stl"
3514
3515 if test "$enableval" = yes; then
3516 ac_cv_use_stl='wxUSE_STL=yes'
3517 else
3518 ac_cv_use_stl='wxUSE_STL=no'
3519 fi
3520
3521 else
3522
3523 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3531
3532 fi;
3533
3534 eval "$ac_cv_use_stl"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3537 fi
3538
3539 if test "$wxUSE_STL" = yes; then
3540 echo "$as_me:$LINENO: result: yes" >&5
3541 echo "${ECHO_T}yes" >&6
3542 else
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3545 fi
3546
3547 if test "$USE_OS2" = "1"; then
3548
3549 enablestring=
3550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3551 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3552 no_cache=0
3553 # Check whether --enable-omf or --disable-omf was given.
3554 if test "${enable_omf+set}" = set; then
3555 enableval="$enable_omf"
3556
3557 if test "$enableval" = yes; then
3558 ac_cv_use_omf='wxUSE_OMF=yes'
3559 else
3560 ac_cv_use_omf='wxUSE_OMF=no'
3561 fi
3562
3563 else
3564
3565 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3566 if test "x$LINE" != x ; then
3567 eval "DEFAULT_$LINE"
3568 else
3569 no_cache=1
3570 fi
3571
3572 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3573
3574 fi;
3575
3576 eval "$ac_cv_use_omf"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3579 fi
3580
3581 if test "$wxUSE_OMF" = yes; then
3582 echo "$as_me:$LINENO: result: yes" >&5
3583 echo "${ECHO_T}yes" >&6
3584 else
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3587 fi
3588
3589 fi
3590
3591 if test "$wxUSE_DEBUG" = "yes"; then
3592 DEFAULT_wxUSE_DEBUG_FLAG=yes
3593 DEFAULT_wxUSE_DEBUG_INFO=yes
3594 BUILD=debug
3595 elif test "$wxUSE_DEBUG" = "no"; then
3596 DEFAULT_wxUSE_DEBUG_FLAG=no
3597 DEFAULT_wxUSE_DEBUG_INFO=no
3598 BUILD=release
3599 fi
3600
3601
3602 enablestring=
3603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3604 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3605 no_cache=0
3606 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3607 if test "${enable_debug_flag+set}" = set; then
3608 enableval="$enable_debug_flag"
3609
3610 if test "$enableval" = yes; then
3611 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3612 else
3613 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3614 fi
3615
3616 else
3617
3618 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x ; then
3620 eval "DEFAULT_$LINE"
3621 else
3622 no_cache=1
3623 fi
3624
3625 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3626
3627 fi;
3628
3629 eval "$ac_cv_use_debug_flag"
3630 if test "$no_cache" != 1; then
3631 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3632 fi
3633
3634 if test "$wxUSE_DEBUG_FLAG" = yes; then
3635 echo "$as_me:$LINENO: result: yes" >&5
3636 echo "${ECHO_T}yes" >&6
3637 else
3638 echo "$as_me:$LINENO: result: no" >&5
3639 echo "${ECHO_T}no" >&6
3640 fi
3641
3642
3643 enablestring=
3644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3645 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3646 no_cache=0
3647 # Check whether --enable-debug_info or --disable-debug_info was given.
3648 if test "${enable_debug_info+set}" = set; then
3649 enableval="$enable_debug_info"
3650
3651 if test "$enableval" = yes; then
3652 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3653 else
3654 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3655 fi
3656
3657 else
3658
3659 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3660 if test "x$LINE" != x ; then
3661 eval "DEFAULT_$LINE"
3662 else
3663 no_cache=1
3664 fi
3665
3666 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3667
3668 fi;
3669
3670 eval "$ac_cv_use_debug_info"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3673 fi
3674
3675 if test "$wxUSE_DEBUG_INFO" = yes; then
3676 echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6
3678 else
3679 echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6
3681 fi
3682
3683
3684 enablestring=
3685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3687 no_cache=0
3688 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3689 if test "${enable_debug_gdb+set}" = set; then
3690 enableval="$enable_debug_gdb"
3691
3692 if test "$enableval" = yes; then
3693 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3694 else
3695 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3696 fi
3697
3698 else
3699
3700 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3703 else
3704 no_cache=1
3705 fi
3706
3707 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3708
3709 fi;
3710
3711 eval "$ac_cv_use_debug_gdb"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3714 fi
3715
3716 if test "$wxUSE_DEBUG_GDB" = yes; then
3717 echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6
3719 else
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3722 fi
3723
3724
3725 enablestring=
3726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3727 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3728 no_cache=0
3729 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3730 if test "${enable_debug_cntxt+set}" = set; then
3731 enableval="$enable_debug_cntxt"
3732
3733 if test "$enableval" = yes; then
3734 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3735 else
3736 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3737 fi
3738
3739 else
3740
3741 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3744 else
3745 no_cache=1
3746 fi
3747
3748 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3749
3750 fi;
3751
3752 eval "$ac_cv_use_debug_cntxt"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3755 fi
3756
3757 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6
3760 else
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3763 fi
3764
3765
3766 enablestring=
3767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3768 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3769 no_cache=0
3770 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3771 if test "${enable_mem_tracing+set}" = set; then
3772 enableval="$enable_mem_tracing"
3773
3774 if test "$enableval" = yes; then
3775 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3776 else
3777 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3778 fi
3779
3780 else
3781
3782 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3783 if test "x$LINE" != x ; then
3784 eval "DEFAULT_$LINE"
3785 else
3786 no_cache=1
3787 fi
3788
3789 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3790
3791 fi;
3792
3793 eval "$ac_cv_use_mem_tracing"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3796 fi
3797
3798 if test "$wxUSE_MEM_TRACING" = yes; then
3799 echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6
3801 else
3802 echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6
3804 fi
3805
3806
3807 enablestring=
3808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3809 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3810 no_cache=0
3811 # Check whether --enable-profile or --disable-profile was given.
3812 if test "${enable_profile+set}" = set; then
3813 enableval="$enable_profile"
3814
3815 if test "$enableval" = yes; then
3816 ac_cv_use_profile='wxUSE_PROFILE=yes'
3817 else
3818 ac_cv_use_profile='wxUSE_PROFILE=no'
3819 fi
3820
3821 else
3822
3823 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x ; then
3825 eval "DEFAULT_$LINE"
3826 else
3827 no_cache=1
3828 fi
3829
3830 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3831
3832 fi;
3833
3834 eval "$ac_cv_use_profile"
3835 if test "$no_cache" != 1; then
3836 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3837 fi
3838
3839 if test "$wxUSE_PROFILE" = yes; then
3840 echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6
3842 else
3843 echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6
3845 fi
3846
3847
3848 enablestring=
3849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3850 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3851 no_cache=0
3852 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3853 if test "${enable_no_rtti+set}" = set; then
3854 enableval="$enable_no_rtti"
3855
3856 if test "$enableval" = yes; then
3857 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3858 else
3859 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3860 fi
3861
3862 else
3863
3864 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x ; then
3866 eval "DEFAULT_$LINE"
3867 else
3868 no_cache=1
3869 fi
3870
3871 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3872
3873 fi;
3874
3875 eval "$ac_cv_use_no_rtti"
3876 if test "$no_cache" != 1; then
3877 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3878 fi
3879
3880 if test "$wxUSE_NO_RTTI" = yes; then
3881 echo "$as_me:$LINENO: result: yes" >&5
3882 echo "${ECHO_T}yes" >&6
3883 else
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3886 fi
3887
3888
3889 enablestring=
3890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3891 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3892 no_cache=0
3893 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3894 if test "${enable_no_exceptions+set}" = set; then
3895 enableval="$enable_no_exceptions"
3896
3897 if test "$enableval" = yes; then
3898 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3899 else
3900 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3901 fi
3902
3903 else
3904
3905 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3906 if test "x$LINE" != x ; then
3907 eval "DEFAULT_$LINE"
3908 else
3909 no_cache=1
3910 fi
3911
3912 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3913
3914 fi;
3915
3916 eval "$ac_cv_use_no_exceptions"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3919 fi
3920
3921 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3922 echo "$as_me:$LINENO: result: yes" >&5
3923 echo "${ECHO_T}yes" >&6
3924 else
3925 echo "$as_me:$LINENO: result: no" >&5
3926 echo "${ECHO_T}no" >&6
3927 fi
3928
3929
3930 enablestring=
3931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3932 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3933 no_cache=0
3934 # Check whether --enable-permissive or --disable-permissive was given.
3935 if test "${enable_permissive+set}" = set; then
3936 enableval="$enable_permissive"
3937
3938 if test "$enableval" = yes; then
3939 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3940 else
3941 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3942 fi
3943
3944 else
3945
3946 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x ; then
3948 eval "DEFAULT_$LINE"
3949 else
3950 no_cache=1
3951 fi
3952
3953 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3954
3955 fi;
3956
3957 eval "$ac_cv_use_permissive"
3958 if test "$no_cache" != 1; then
3959 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3960 fi
3961
3962 if test "$wxUSE_PERMISSIVE" = yes; then
3963 echo "$as_me:$LINENO: result: yes" >&5
3964 echo "${ECHO_T}yes" >&6
3965 else
3966 echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3968 fi
3969
3970
3971 enablestring=
3972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3973 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3974 no_cache=0
3975 # Check whether --enable-no_deps or --disable-no_deps was given.
3976 if test "${enable_no_deps+set}" = set; then
3977 enableval="$enable_no_deps"
3978
3979 if test "$enableval" = yes; then
3980 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3981 else
3982 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3983 fi
3984
3985 else
3986
3987 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3990 else
3991 no_cache=1
3992 fi
3993
3994 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3995
3996 fi;
3997
3998 eval "$ac_cv_use_no_deps"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4001 fi
4002
4003 if test "$wxUSE_NO_DEPS" = yes; then
4004 echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6
4006 else
4007 echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4009 fi
4010
4011
4012
4013 enablestring=
4014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4015 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4016 no_cache=0
4017 # Check whether --enable-compat22 or --disable-compat22 was given.
4018 if test "${enable_compat22+set}" = set; then
4019 enableval="$enable_compat22"
4020
4021 if test "$enableval" = yes; then
4022 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4023 else
4024 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4037
4038 fi;
4039
4040 eval "$ac_cv_use_compat22"
4041 if test "$no_cache" != 1; then
4042 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4043 fi
4044
4045 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4046 echo "$as_me:$LINENO: result: yes" >&5
4047 echo "${ECHO_T}yes" >&6
4048 else
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4051 fi
4052
4053
4054 enablestring=disable
4055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4056 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4057 no_cache=0
4058 # Check whether --enable-compat24 or --disable-compat24 was given.
4059 if test "${enable_compat24+set}" = set; then
4060 enableval="$enable_compat24"
4061
4062 if test "$enableval" = yes; then
4063 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4064 else
4065 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4066 fi
4067
4068 else
4069
4070 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x ; then
4072 eval "DEFAULT_$LINE"
4073 else
4074 no_cache=1
4075 fi
4076
4077 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4078
4079 fi;
4080
4081 eval "$ac_cv_use_compat24"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4084 fi
4085
4086 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4087 echo "$as_me:$LINENO: result: yes" >&5
4088 echo "${ECHO_T}yes" >&6
4089 else
4090 echo "$as_me:$LINENO: result: no" >&5
4091 echo "${ECHO_T}no" >&6
4092 fi
4093
4094
4095 # Check whether --enable-rpath or --disable-rpath was given.
4096 if test "${enable_rpath+set}" = set; then
4097 enableval="$enable_rpath"
4098 wxRPATH_DIR="$enableval"
4099 fi;
4100
4101 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4102 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4103 fi
4104
4105
4106
4107
4108 enablestring=
4109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4110 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4111 no_cache=0
4112 # Check whether --enable-intl or --disable-intl was given.
4113 if test "${enable_intl+set}" = set; then
4114 enableval="$enable_intl"
4115
4116 if test "$enableval" = yes; then
4117 ac_cv_use_intl='wxUSE_INTL=yes'
4118 else
4119 ac_cv_use_intl='wxUSE_INTL=no'
4120 fi
4121
4122 else
4123
4124 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x ; then
4126 eval "DEFAULT_$LINE"
4127 else
4128 no_cache=1
4129 fi
4130
4131 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4132
4133 fi;
4134
4135 eval "$ac_cv_use_intl"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4138 fi
4139
4140 if test "$wxUSE_INTL" = yes; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142 echo "${ECHO_T}yes" >&6
4143 else
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4146 fi
4147
4148
4149 enablestring=
4150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4151 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4152 no_cache=0
4153 # Check whether --enable-config or --disable-config was given.
4154 if test "${enable_config+set}" = set; then
4155 enableval="$enable_config"
4156
4157 if test "$enableval" = yes; then
4158 ac_cv_use_config='wxUSE_CONFIG=yes'
4159 else
4160 ac_cv_use_config='wxUSE_CONFIG=no'
4161 fi
4162
4163 else
4164
4165 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x ; then
4167 eval "DEFAULT_$LINE"
4168 else
4169 no_cache=1
4170 fi
4171
4172 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4173
4174 fi;
4175
4176 eval "$ac_cv_use_config"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4179 fi
4180
4181 if test "$wxUSE_CONFIG" = yes; then
4182 echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6
4184 else
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4187 fi
4188
4189
4190
4191 enablestring=
4192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4193 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4194 no_cache=0
4195 # Check whether --enable-protocols or --disable-protocols was given.
4196 if test "${enable_protocols+set}" = set; then
4197 enableval="$enable_protocols"
4198
4199 if test "$enableval" = yes; then
4200 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4201 else
4202 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4203 fi
4204
4205 else
4206
4207 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4208 if test "x$LINE" != x ; then
4209 eval "DEFAULT_$LINE"
4210 else
4211 no_cache=1
4212 fi
4213
4214 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4215
4216 fi;
4217
4218 eval "$ac_cv_use_protocols"
4219 if test "$no_cache" != 1; then
4220 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4221 fi
4222
4223 if test "$wxUSE_PROTOCOL" = yes; then
4224 echo "$as_me:$LINENO: result: yes" >&5
4225 echo "${ECHO_T}yes" >&6
4226 else
4227 echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4229 fi
4230
4231
4232 enablestring=
4233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4234 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4235 no_cache=0
4236 # Check whether --enable-ftp or --disable-ftp was given.
4237 if test "${enable_ftp+set}" = set; then
4238 enableval="$enable_ftp"
4239
4240 if test "$enableval" = yes; then
4241 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4242 else
4243 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4244 fi
4245
4246 else
4247
4248 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x ; then
4250 eval "DEFAULT_$LINE"
4251 else
4252 no_cache=1
4253 fi
4254
4255 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4256
4257 fi;
4258
4259 eval "$ac_cv_use_ftp"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4262 fi
4263
4264 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4265 echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6
4267 else
4268 echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
4270 fi
4271
4272
4273 enablestring=
4274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4275 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4276 no_cache=0
4277 # Check whether --enable-http or --disable-http was given.
4278 if test "${enable_http+set}" = set; then
4279 enableval="$enable_http"
4280
4281 if test "$enableval" = yes; then
4282 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4283 else
4284 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4285 fi
4286
4287 else
4288
4289 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x ; then
4291 eval "DEFAULT_$LINE"
4292 else
4293 no_cache=1
4294 fi
4295
4296 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4297
4298 fi;
4299
4300 eval "$ac_cv_use_http"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4303 fi
4304
4305 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4306 echo "$as_me:$LINENO: result: yes" >&5
4307 echo "${ECHO_T}yes" >&6
4308 else
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4311 fi
4312
4313
4314 enablestring=
4315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4316 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4317 no_cache=0
4318 # Check whether --enable-fileproto or --disable-fileproto was given.
4319 if test "${enable_fileproto+set}" = set; then
4320 enableval="$enable_fileproto"
4321
4322 if test "$enableval" = yes; then
4323 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4324 else
4325 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4326 fi
4327
4328 else
4329
4330 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x ; then
4332 eval "DEFAULT_$LINE"
4333 else
4334 no_cache=1
4335 fi
4336
4337 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4338
4339 fi;
4340
4341 eval "$ac_cv_use_fileproto"
4342 if test "$no_cache" != 1; then
4343 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4344 fi
4345
4346 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4347 echo "$as_me:$LINENO: result: yes" >&5
4348 echo "${ECHO_T}yes" >&6
4349 else
4350 echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6
4352 fi
4353
4354
4355 enablestring=
4356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4357 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4358 no_cache=0
4359 # Check whether --enable-sockets or --disable-sockets was given.
4360 if test "${enable_sockets+set}" = set; then
4361 enableval="$enable_sockets"
4362
4363 if test "$enableval" = yes; then
4364 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4365 else
4366 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4367 fi
4368
4369 else
4370
4371 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x ; then
4373 eval "DEFAULT_$LINE"
4374 else
4375 no_cache=1
4376 fi
4377
4378 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4379
4380 fi;
4381
4382 eval "$ac_cv_use_sockets"
4383 if test "$no_cache" != 1; then
4384 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4385 fi
4386
4387 if test "$wxUSE_SOCKETS" = yes; then
4388 echo "$as_me:$LINENO: result: yes" >&5
4389 echo "${ECHO_T}yes" >&6
4390 else
4391 echo "$as_me:$LINENO: result: no" >&5
4392 echo "${ECHO_T}no" >&6
4393 fi
4394
4395
4396 enablestring=
4397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4398 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4399 no_cache=0
4400 # Check whether --enable-ole or --disable-ole was given.
4401 if test "${enable_ole+set}" = set; then
4402 enableval="$enable_ole"
4403
4404 if test "$enableval" = yes; then
4405 ac_cv_use_ole='wxUSE_OLE=yes'
4406 else
4407 ac_cv_use_ole='wxUSE_OLE=no'
4408 fi
4409
4410 else
4411
4412 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4413 if test "x$LINE" != x ; then
4414 eval "DEFAULT_$LINE"
4415 else
4416 no_cache=1
4417 fi
4418
4419 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4420
4421 fi;
4422
4423 eval "$ac_cv_use_ole"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4426 fi
4427
4428 if test "$wxUSE_OLE" = yes; then
4429 echo "$as_me:$LINENO: result: yes" >&5
4430 echo "${ECHO_T}yes" >&6
4431 else
4432 echo "$as_me:$LINENO: result: no" >&5
4433 echo "${ECHO_T}no" >&6
4434 fi
4435
4436
4437 enablestring=
4438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4439 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4440 no_cache=0
4441 # Check whether --enable-dataobj or --disable-dataobj was given.
4442 if test "${enable_dataobj+set}" = set; then
4443 enableval="$enable_dataobj"
4444
4445 if test "$enableval" = yes; then
4446 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4447 else
4448 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4449 fi
4450
4451 else
4452
4453 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4454 if test "x$LINE" != x ; then
4455 eval "DEFAULT_$LINE"
4456 else
4457 no_cache=1
4458 fi
4459
4460 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4461
4462 fi;
4463
4464 eval "$ac_cv_use_dataobj"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4467 fi
4468
4469 if test "$wxUSE_DATAOBJ" = yes; then
4470 echo "$as_me:$LINENO: result: yes" >&5
4471 echo "${ECHO_T}yes" >&6
4472 else
4473 echo "$as_me:$LINENO: result: no" >&5
4474 echo "${ECHO_T}no" >&6
4475 fi
4476
4477
4478
4479 enablestring=
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4482 no_cache=0
4483 # Check whether --enable-ipc or --disable-ipc was given.
4484 if test "${enable_ipc+set}" = set; then
4485 enableval="$enable_ipc"
4486
4487 if test "$enableval" = yes; then
4488 ac_cv_use_ipc='wxUSE_IPC=yes'
4489 else
4490 ac_cv_use_ipc='wxUSE_IPC=no'
4491 fi
4492
4493 else
4494
4495 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x ; then
4497 eval "DEFAULT_$LINE"
4498 else
4499 no_cache=1
4500 fi
4501
4502 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4503
4504 fi;
4505
4506 eval "$ac_cv_use_ipc"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4509 fi
4510
4511 if test "$wxUSE_IPC" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513 echo "${ECHO_T}yes" >&6
4514 else
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4517 fi
4518
4519
4520
4521 enablestring=
4522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4524 no_cache=0
4525 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4526 if test "${enable_apple_ieee+set}" = set; then
4527 enableval="$enable_apple_ieee"
4528
4529 if test "$enableval" = yes; then
4530 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4531 else
4532 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4533 fi
4534
4535 else
4536
4537 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x ; then
4539 eval "DEFAULT_$LINE"
4540 else
4541 no_cache=1
4542 fi
4543
4544 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4545
4546 fi;
4547
4548 eval "$ac_cv_use_apple_ieee"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4551 fi
4552
4553 if test "$wxUSE_APPLE_IEEE" = yes; then
4554 echo "$as_me:$LINENO: result: yes" >&5
4555 echo "${ECHO_T}yes" >&6
4556 else
4557 echo "$as_me:$LINENO: result: no" >&5
4558 echo "${ECHO_T}no" >&6
4559 fi
4560
4561
4562 enablestring=
4563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4564 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4565 no_cache=0
4566 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4567 if test "${enable_catch_segvs+set}" = set; then
4568 enableval="$enable_catch_segvs"
4569
4570 if test "$enableval" = yes; then
4571 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4572 else
4573 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4574 fi
4575
4576 else
4577
4578 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x ; then
4580 eval "DEFAULT_$LINE"
4581 else
4582 no_cache=1
4583 fi
4584
4585 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4586
4587 fi;
4588
4589 eval "$ac_cv_use_catch_segvs"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4592 fi
4593
4594 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4595 echo "$as_me:$LINENO: result: yes" >&5
4596 echo "${ECHO_T}yes" >&6
4597 else
4598 echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6
4600 fi
4601
4602
4603 enablestring=
4604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4605 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4606 no_cache=0
4607 # Check whether --enable-cmdline or --disable-cmdline was given.
4608 if test "${enable_cmdline+set}" = set; then
4609 enableval="$enable_cmdline"
4610
4611 if test "$enableval" = yes; then
4612 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4613 else
4614 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4615 fi
4616
4617 else
4618
4619 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x ; then
4621 eval "DEFAULT_$LINE"
4622 else
4623 no_cache=1
4624 fi
4625
4626 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4627
4628 fi;
4629
4630 eval "$ac_cv_use_cmdline"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4633 fi
4634
4635 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4636 echo "$as_me:$LINENO: result: yes" >&5
4637 echo "${ECHO_T}yes" >&6
4638 else
4639 echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6
4641 fi
4642
4643
4644 enablestring=
4645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4646 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4647 no_cache=0
4648 # Check whether --enable-datetime or --disable-datetime was given.
4649 if test "${enable_datetime+set}" = set; then
4650 enableval="$enable_datetime"
4651
4652 if test "$enableval" = yes; then
4653 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4654 else
4655 ac_cv_use_datetime='wxUSE_DATETIME=no'
4656 fi
4657
4658 else
4659
4660 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x ; then
4662 eval "DEFAULT_$LINE"
4663 else
4664 no_cache=1
4665 fi
4666
4667 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4668
4669 fi;
4670
4671 eval "$ac_cv_use_datetime"
4672 if test "$no_cache" != 1; then
4673 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4674 fi
4675
4676 if test "$wxUSE_DATETIME" = yes; then
4677 echo "$as_me:$LINENO: result: yes" >&5
4678 echo "${ECHO_T}yes" >&6
4679 else
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4682 fi
4683
4684
4685 enablestring=
4686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4687 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4688 no_cache=0
4689 # Check whether --enable-dialupman or --disable-dialupman was given.
4690 if test "${enable_dialupman+set}" = set; then
4691 enableval="$enable_dialupman"
4692
4693 if test "$enableval" = yes; then
4694 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4695 else
4696 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4697 fi
4698
4699 else
4700
4701 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x ; then
4703 eval "DEFAULT_$LINE"
4704 else
4705 no_cache=1
4706 fi
4707
4708 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4709
4710 fi;
4711
4712 eval "$ac_cv_use_dialupman"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4715 fi
4716
4717 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4718 echo "$as_me:$LINENO: result: yes" >&5
4719 echo "${ECHO_T}yes" >&6
4720 else
4721 echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6
4723 fi
4724
4725
4726 enablestring=
4727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4728 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4729 no_cache=0
4730 # Check whether --enable-dynlib or --disable-dynlib was given.
4731 if test "${enable_dynlib+set}" = set; then
4732 enableval="$enable_dynlib"
4733
4734 if test "$enableval" = yes; then
4735 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4736 else
4737 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4738 fi
4739
4740 else
4741
4742 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4743 if test "x$LINE" != x ; then
4744 eval "DEFAULT_$LINE"
4745 else
4746 no_cache=1
4747 fi
4748
4749 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4750
4751 fi;
4752
4753 eval "$ac_cv_use_dynlib"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4756 fi
4757
4758 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4759 echo "$as_me:$LINENO: result: yes" >&5
4760 echo "${ECHO_T}yes" >&6
4761 else
4762 echo "$as_me:$LINENO: result: no" >&5
4763 echo "${ECHO_T}no" >&6
4764 fi
4765
4766
4767 enablestring=
4768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4769 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4770 no_cache=0
4771 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4772 if test "${enable_dynamicloader+set}" = set; then
4773 enableval="$enable_dynamicloader"
4774
4775 if test "$enableval" = yes; then
4776 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4777 else
4778 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4779 fi
4780
4781 else
4782
4783 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x ; then
4785 eval "DEFAULT_$LINE"
4786 else
4787 no_cache=1
4788 fi
4789
4790 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4791
4792 fi;
4793
4794 eval "$ac_cv_use_dynamicloader"
4795 if test "$no_cache" != 1; then
4796 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4797 fi
4798
4799 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4800 echo "$as_me:$LINENO: result: yes" >&5
4801 echo "${ECHO_T}yes" >&6
4802 else
4803 echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6
4805 fi
4806
4807
4808 enablestring=
4809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4810 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4811 no_cache=0
4812 # Check whether --enable-exceptions or --disable-exceptions was given.
4813 if test "${enable_exceptions+set}" = set; then
4814 enableval="$enable_exceptions"
4815
4816 if test "$enableval" = yes; then
4817 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4818 else
4819 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4820 fi
4821
4822 else
4823
4824 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x ; then
4826 eval "DEFAULT_$LINE"
4827 else
4828 no_cache=1
4829 fi
4830
4831 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4832
4833 fi;
4834
4835 eval "$ac_cv_use_exceptions"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4838 fi
4839
4840 if test "$wxUSE_EXCEPTIONS" = yes; then
4841 echo "$as_me:$LINENO: result: yes" >&5
4842 echo "${ECHO_T}yes" >&6
4843 else
4844 echo "$as_me:$LINENO: result: no" >&5
4845 echo "${ECHO_T}no" >&6
4846 fi
4847
4848
4849 enablestring=
4850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4852 no_cache=0
4853 # Check whether --enable-ffile or --disable-ffile was given.
4854 if test "${enable_ffile+set}" = set; then
4855 enableval="$enable_ffile"
4856
4857 if test "$enableval" = yes; then
4858 ac_cv_use_ffile='wxUSE_FFILE=yes'
4859 else
4860 ac_cv_use_ffile='wxUSE_FFILE=no'
4861 fi
4862
4863 else
4864
4865 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x ; then
4867 eval "DEFAULT_$LINE"
4868 else
4869 no_cache=1
4870 fi
4871
4872 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4873
4874 fi;
4875
4876 eval "$ac_cv_use_ffile"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4879 fi
4880
4881 if test "$wxUSE_FFILE" = yes; then
4882 echo "$as_me:$LINENO: result: yes" >&5
4883 echo "${ECHO_T}yes" >&6
4884 else
4885 echo "$as_me:$LINENO: result: no" >&5
4886 echo "${ECHO_T}no" >&6
4887 fi
4888
4889
4890 enablestring=
4891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4892 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4893 no_cache=0
4894 # Check whether --enable-file or --disable-file was given.
4895 if test "${enable_file+set}" = set; then
4896 enableval="$enable_file"
4897
4898 if test "$enableval" = yes; then
4899 ac_cv_use_file='wxUSE_FILE=yes'
4900 else
4901 ac_cv_use_file='wxUSE_FILE=no'
4902 fi
4903
4904 else
4905
4906 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4907 if test "x$LINE" != x ; then
4908 eval "DEFAULT_$LINE"
4909 else
4910 no_cache=1
4911 fi
4912
4913 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4914
4915 fi;
4916
4917 eval "$ac_cv_use_file"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4920 fi
4921
4922 if test "$wxUSE_FILE" = yes; then
4923 echo "$as_me:$LINENO: result: yes" >&5
4924 echo "${ECHO_T}yes" >&6
4925 else
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4928 fi
4929
4930
4931 enablestring=
4932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4934 no_cache=0
4935 # Check whether --enable-filesystem or --disable-filesystem was given.
4936 if test "${enable_filesystem+set}" = set; then
4937 enableval="$enable_filesystem"
4938
4939 if test "$enableval" = yes; then
4940 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4941 else
4942 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4943 fi
4944
4945 else
4946
4947 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x ; then
4949 eval "DEFAULT_$LINE"
4950 else
4951 no_cache=1
4952 fi
4953
4954 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4955
4956 fi;
4957
4958 eval "$ac_cv_use_filesystem"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4961 fi
4962
4963 if test "$wxUSE_FILESYSTEM" = yes; then
4964 echo "$as_me:$LINENO: result: yes" >&5
4965 echo "${ECHO_T}yes" >&6
4966 else
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6
4969 fi
4970
4971
4972 enablestring=
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4975 no_cache=0
4976 # Check whether --enable-fontmap or --disable-fontmap was given.
4977 if test "${enable_fontmap+set}" = set; then
4978 enableval="$enable_fontmap"
4979
4980 if test "$enableval" = yes; then
4981 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4982 else
4983 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4984 fi
4985
4986 else
4987
4988 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x ; then
4990 eval "DEFAULT_$LINE"
4991 else
4992 no_cache=1
4993 fi
4994
4995 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4996
4997 fi;
4998
4999 eval "$ac_cv_use_fontmap"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5002 fi
5003
5004 if test "$wxUSE_FONTMAP" = yes; then
5005 echo "$as_me:$LINENO: result: yes" >&5
5006 echo "${ECHO_T}yes" >&6
5007 else
5008 echo "$as_me:$LINENO: result: no" >&5
5009 echo "${ECHO_T}no" >&6
5010 fi
5011
5012
5013 enablestring=
5014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5016 no_cache=0
5017 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5018 if test "${enable_fs_inet+set}" = set; then
5019 enableval="$enable_fs_inet"
5020
5021 if test "$enableval" = yes; then
5022 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5023 else
5024 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5025 fi
5026
5027 else
5028
5029 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x ; then
5031 eval "DEFAULT_$LINE"
5032 else
5033 no_cache=1
5034 fi
5035
5036 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5037
5038 fi;
5039
5040 eval "$ac_cv_use_fs_inet"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5043 fi
5044
5045 if test "$wxUSE_FS_INET" = yes; then
5046 echo "$as_me:$LINENO: result: yes" >&5
5047 echo "${ECHO_T}yes" >&6
5048 else
5049 echo "$as_me:$LINENO: result: no" >&5
5050 echo "${ECHO_T}no" >&6
5051 fi
5052
5053
5054 enablestring=
5055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5056 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5057 no_cache=0
5058 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5059 if test "${enable_fs_zip+set}" = set; then
5060 enableval="$enable_fs_zip"
5061
5062 if test "$enableval" = yes; then
5063 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5064 else
5065 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5066 fi
5067
5068 else
5069
5070 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5071 if test "x$LINE" != x ; then
5072 eval "DEFAULT_$LINE"
5073 else
5074 no_cache=1
5075 fi
5076
5077 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5078
5079 fi;
5080
5081 eval "$ac_cv_use_fs_zip"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5084 fi
5085
5086 if test "$wxUSE_FS_ZIP" = yes; then
5087 echo "$as_me:$LINENO: result: yes" >&5
5088 echo "${ECHO_T}yes" >&6
5089 else
5090 echo "$as_me:$LINENO: result: no" >&5
5091 echo "${ECHO_T}no" >&6
5092 fi
5093
5094
5095 enablestring=
5096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5097 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5098 no_cache=0
5099 # Check whether --enable-geometry or --disable-geometry was given.
5100 if test "${enable_geometry+set}" = set; then
5101 enableval="$enable_geometry"
5102
5103 if test "$enableval" = yes; then
5104 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5105 else
5106 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5107 fi
5108
5109 else
5110
5111 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x ; then
5113 eval "DEFAULT_$LINE"
5114 else
5115 no_cache=1
5116 fi
5117
5118 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5119
5120 fi;
5121
5122 eval "$ac_cv_use_geometry"
5123 if test "$no_cache" != 1; then
5124 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5125 fi
5126
5127 if test "$wxUSE_GEOMETRY" = yes; then
5128 echo "$as_me:$LINENO: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5130 else
5131 echo "$as_me:$LINENO: result: no" >&5
5132 echo "${ECHO_T}no" >&6
5133 fi
5134
5135
5136 enablestring=
5137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5139 no_cache=0
5140 # Check whether --enable-log or --disable-log was given.
5141 if test "${enable_log+set}" = set; then
5142 enableval="$enable_log"
5143
5144 if test "$enableval" = yes; then
5145 ac_cv_use_log='wxUSE_LOG=yes'
5146 else
5147 ac_cv_use_log='wxUSE_LOG=no'
5148 fi
5149
5150 else
5151
5152 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x ; then
5154 eval "DEFAULT_$LINE"
5155 else
5156 no_cache=1
5157 fi
5158
5159 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5160
5161 fi;
5162
5163 eval "$ac_cv_use_log"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5166 fi
5167
5168 if test "$wxUSE_LOG" = yes; then
5169 echo "$as_me:$LINENO: result: yes" >&5
5170 echo "${ECHO_T}yes" >&6
5171 else
5172 echo "$as_me:$LINENO: result: no" >&5
5173 echo "${ECHO_T}no" >&6
5174 fi
5175
5176
5177 enablestring=
5178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5179 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5180 no_cache=0
5181 # Check whether --enable-longlong or --disable-longlong was given.
5182 if test "${enable_longlong+set}" = set; then
5183 enableval="$enable_longlong"
5184
5185 if test "$enableval" = yes; then
5186 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5187 else
5188 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5189 fi
5190
5191 else
5192
5193 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x ; then
5195 eval "DEFAULT_$LINE"
5196 else
5197 no_cache=1
5198 fi
5199
5200 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5201
5202 fi;
5203
5204 eval "$ac_cv_use_longlong"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5207 fi
5208
5209 if test "$wxUSE_LONGLONG" = yes; then
5210 echo "$as_me:$LINENO: result: yes" >&5
5211 echo "${ECHO_T}yes" >&6
5212 else
5213 echo "$as_me:$LINENO: result: no" >&5
5214 echo "${ECHO_T}no" >&6
5215 fi
5216
5217
5218 enablestring=
5219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5221 no_cache=0
5222 # Check whether --enable-mimetype or --disable-mimetype was given.
5223 if test "${enable_mimetype+set}" = set; then
5224 enableval="$enable_mimetype"
5225
5226 if test "$enableval" = yes; then
5227 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5228 else
5229 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5230 fi
5231
5232 else
5233
5234 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x ; then
5236 eval "DEFAULT_$LINE"
5237 else
5238 no_cache=1
5239 fi
5240
5241 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5242
5243 fi;
5244
5245 eval "$ac_cv_use_mimetype"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5248 fi
5249
5250 if test "$wxUSE_MIMETYPE" = yes; then
5251 echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6
5253 else
5254 echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6
5256 fi
5257
5258
5259 enablestring=
5260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5262 no_cache=0
5263 # Check whether --enable-mslu or --disable-mslu was given.
5264 if test "${enable_mslu+set}" = set; then
5265 enableval="$enable_mslu"
5266
5267 if test "$enableval" = yes; then
5268 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5269 else
5270 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5271 fi
5272
5273 else
5274
5275 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x ; then
5277 eval "DEFAULT_$LINE"
5278 else
5279 no_cache=1
5280 fi
5281
5282 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5283
5284 fi;
5285
5286 eval "$ac_cv_use_mslu"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5289 fi
5290
5291 if test "$wxUSE_UNICODE_MSLU" = yes; then
5292 echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6
5294 else
5295 echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5297 fi
5298
5299
5300 enablestring=
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5303 no_cache=0
5304 # Check whether --enable-snglinst or --disable-snglinst was given.
5305 if test "${enable_snglinst+set}" = set; then
5306 enableval="$enable_snglinst"
5307
5308 if test "$enableval" = yes; then
5309 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5310 else
5311 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5312 fi
5313
5314 else
5315
5316 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5324
5325 fi;
5326
5327 eval "$ac_cv_use_snglinst"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5330 fi
5331
5332 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6
5335 else
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5338 fi
5339
5340
5341 enablestring=
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5344 no_cache=0
5345 # Check whether --enable-streams or --disable-streams was given.
5346 if test "${enable_streams+set}" = set; then
5347 enableval="$enable_streams"
5348
5349 if test "$enableval" = yes; then
5350 ac_cv_use_streams='wxUSE_STREAMS=yes'
5351 else
5352 ac_cv_use_streams='wxUSE_STREAMS=no'
5353 fi
5354
5355 else
5356
5357 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5360 else
5361 no_cache=1
5362 fi
5363
5364 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5365
5366 fi;
5367
5368 eval "$ac_cv_use_streams"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5371 fi
5372
5373 if test "$wxUSE_STREAMS" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5379 fi
5380
5381
5382 enablestring=
5383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5385 no_cache=0
5386 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5387 if test "${enable_std_iostreams+set}" = set; then
5388 enableval="$enable_std_iostreams"
5389
5390 if test "$enableval" = yes; then
5391 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5392 else
5393 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5394 fi
5395
5396 else
5397
5398 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5401 else
5402 no_cache=1
5403 fi
5404
5405 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5406
5407 fi;
5408
5409 eval "$ac_cv_use_std_iostreams"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5412 fi
5413
5414 if test "$wxUSE_STD_IOSTREAM" = yes; then
5415 echo "$as_me:$LINENO: result: yes" >&5
5416 echo "${ECHO_T}yes" >&6
5417 else
5418 echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6
5420 fi
5421
5422
5423 enablestring=
5424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5426 no_cache=0
5427 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5428 if test "${enable_stopwatch+set}" = set; then
5429 enableval="$enable_stopwatch"
5430
5431 if test "$enableval" = yes; then
5432 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5433 else
5434 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5435 fi
5436
5437 else
5438
5439 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x ; then
5441 eval "DEFAULT_$LINE"
5442 else
5443 no_cache=1
5444 fi
5445
5446 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5447
5448 fi;
5449
5450 eval "$ac_cv_use_stopwatch"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5453 fi
5454
5455 if test "$wxUSE_STOPWATCH" = yes; then
5456 echo "$as_me:$LINENO: result: yes" >&5
5457 echo "${ECHO_T}yes" >&6
5458 else
5459 echo "$as_me:$LINENO: result: no" >&5
5460 echo "${ECHO_T}no" >&6
5461 fi
5462
5463
5464 enablestring=
5465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5466 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5467 no_cache=0
5468 # Check whether --enable-system_options or --disable-system_options was given.
5469 if test "${enable_system_options+set}" = set; then
5470 enableval="$enable_system_options"
5471
5472 if test "$enableval" = yes; then
5473 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5474 else
5475 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5476 fi
5477
5478 else
5479
5480 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x ; then
5482 eval "DEFAULT_$LINE"
5483 else
5484 no_cache=1
5485 fi
5486
5487 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5488
5489 fi;
5490
5491 eval "$ac_cv_use_system_options"
5492 if test "$no_cache" != 1; then
5493 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5494 fi
5495
5496 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5497 echo "$as_me:$LINENO: result: yes" >&5
5498 echo "${ECHO_T}yes" >&6
5499 else
5500 echo "$as_me:$LINENO: result: no" >&5
5501 echo "${ECHO_T}no" >&6
5502 fi
5503
5504
5505 enablestring=
5506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5507 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5508 no_cache=0
5509 # Check whether --enable-textbuf or --disable-textbuf was given.
5510 if test "${enable_textbuf+set}" = set; then
5511 enableval="$enable_textbuf"
5512
5513 if test "$enableval" = yes; then
5514 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5515 else
5516 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5517 fi
5518
5519 else
5520
5521 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x ; then
5523 eval "DEFAULT_$LINE"
5524 else
5525 no_cache=1
5526 fi
5527
5528 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5529
5530 fi;
5531
5532 eval "$ac_cv_use_textbuf"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5535 fi
5536
5537 if test "$wxUSE_TEXTBUFFER" = yes; then
5538 echo "$as_me:$LINENO: result: yes" >&5
5539 echo "${ECHO_T}yes" >&6
5540 else
5541 echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6
5543 fi
5544
5545
5546 enablestring=
5547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5549 no_cache=0
5550 # Check whether --enable-textfile or --disable-textfile was given.
5551 if test "${enable_textfile+set}" = set; then
5552 enableval="$enable_textfile"
5553
5554 if test "$enableval" = yes; then
5555 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5556 else
5557 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5558 fi
5559
5560 else
5561
5562 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x ; then
5564 eval "DEFAULT_$LINE"
5565 else
5566 no_cache=1
5567 fi
5568
5569 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5570
5571 fi;
5572
5573 eval "$ac_cv_use_textfile"
5574 if test "$no_cache" != 1; then
5575 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5576 fi
5577
5578 if test "$wxUSE_TEXTFILE" = yes; then
5579 echo "$as_me:$LINENO: result: yes" >&5
5580 echo "${ECHO_T}yes" >&6
5581 else
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5584 fi
5585
5586
5587 enablestring=
5588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5590 no_cache=0
5591 # Check whether --enable-timer or --disable-timer was given.
5592 if test "${enable_timer+set}" = set; then
5593 enableval="$enable_timer"
5594
5595 if test "$enableval" = yes; then
5596 ac_cv_use_timer='wxUSE_TIMER=yes'
5597 else
5598 ac_cv_use_timer='wxUSE_TIMER=no'
5599 fi
5600
5601 else
5602
5603 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5604 if test "x$LINE" != x ; then
5605 eval "DEFAULT_$LINE"
5606 else
5607 no_cache=1
5608 fi
5609
5610 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5611
5612 fi;
5613
5614 eval "$ac_cv_use_timer"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5617 fi
5618
5619 if test "$wxUSE_TIMER" = yes; then
5620 echo "$as_me:$LINENO: result: yes" >&5
5621 echo "${ECHO_T}yes" >&6
5622 else
5623 echo "$as_me:$LINENO: result: no" >&5
5624 echo "${ECHO_T}no" >&6
5625 fi
5626
5627
5628 enablestring=
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5631 no_cache=0
5632 # Check whether --enable-unicode or --disable-unicode was given.
5633 if test "${enable_unicode+set}" = set; then
5634 enableval="$enable_unicode"
5635
5636 if test "$enableval" = yes; then
5637 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5638 else
5639 ac_cv_use_unicode='wxUSE_UNICODE=no'
5640 fi
5641
5642 else
5643
5644 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5647 else
5648 no_cache=1
5649 fi
5650
5651 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5652
5653 fi;
5654
5655 eval "$ac_cv_use_unicode"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5658 fi
5659
5660 if test "$wxUSE_UNICODE" = yes; then
5661 echo "$as_me:$LINENO: result: yes" >&5
5662 echo "${ECHO_T}yes" >&6
5663 else
5664 echo "$as_me:$LINENO: result: no" >&5
5665 echo "${ECHO_T}no" >&6
5666 fi
5667
5668
5669 enablestring=
5670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5671 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5672 no_cache=0
5673 # Check whether --enable-sound or --disable-sound was given.
5674 if test "${enable_sound+set}" = set; then
5675 enableval="$enable_sound"
5676
5677 if test "$enableval" = yes; then
5678 ac_cv_use_sound='wxUSE_SOUND=yes'
5679 else
5680 ac_cv_use_sound='wxUSE_SOUND=no'
5681 fi
5682
5683 else
5684
5685 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x ; then
5687 eval "DEFAULT_$LINE"
5688 else
5689 no_cache=1
5690 fi
5691
5692 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5693
5694 fi;
5695
5696 eval "$ac_cv_use_sound"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5699 fi
5700
5701 if test "$wxUSE_SOUND" = yes; then
5702 echo "$as_me:$LINENO: result: yes" >&5
5703 echo "${ECHO_T}yes" >&6
5704 else
5705 echo "$as_me:$LINENO: result: no" >&5
5706 echo "${ECHO_T}no" >&6
5707 fi
5708
5709
5710 enablestring=
5711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5713 no_cache=0
5714 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5715 if test "${enable_wxprintfv+set}" = set; then
5716 enableval="$enable_wxprintfv"
5717
5718 if test "$enableval" = yes; then
5719 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5720 else
5721 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5722 fi
5723
5724 else
5725
5726 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x ; then
5728 eval "DEFAULT_$LINE"
5729 else
5730 no_cache=1
5731 fi
5732
5733 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5734
5735 fi;
5736
5737 eval "$ac_cv_use_wxprintfv"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5740 fi
5741
5742 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5743 echo "$as_me:$LINENO: result: yes" >&5
5744 echo "${ECHO_T}yes" >&6
5745 else
5746 echo "$as_me:$LINENO: result: no" >&5
5747 echo "${ECHO_T}no" >&6
5748 fi
5749
5750
5751 enablestring=
5752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5753 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5754 no_cache=0
5755 # Check whether --enable-zipstream or --disable-zipstream was given.
5756 if test "${enable_zipstream+set}" = set; then
5757 enableval="$enable_zipstream"
5758
5759 if test "$enableval" = yes; then
5760 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5761 else
5762 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5763 fi
5764
5765 else
5766
5767 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5768 if test "x$LINE" != x ; then
5769 eval "DEFAULT_$LINE"
5770 else
5771 no_cache=1
5772 fi
5773
5774 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5775
5776 fi;
5777
5778 eval "$ac_cv_use_zipstream"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5781 fi
5782
5783 if test "$wxUSE_ZIPSTREAM" = yes; then
5784 echo "$as_me:$LINENO: result: yes" >&5
5785 echo "${ECHO_T}yes" >&6
5786 else
5787 echo "$as_me:$LINENO: result: no" >&5
5788 echo "${ECHO_T}no" >&6
5789 fi
5790
5791
5792 enablestring=
5793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5794 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5795 no_cache=0
5796 # Check whether --enable-gzstream or --disable-gzstream was given.
5797 if test "${enable_gzstream+set}" = set; then
5798 enableval="$enable_gzstream"
5799
5800 if test "$enableval" = yes; then
5801 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5802 else
5803 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5804 fi
5805
5806 else
5807
5808 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5809 if test "x$LINE" != x ; then
5810 eval "DEFAULT_$LINE"
5811 else
5812 no_cache=1
5813 fi
5814
5815 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5816
5817 fi;
5818
5819 eval "$ac_cv_use_gzstream"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5822 fi
5823
5824 if test "$wxUSE_GZSTREAM" = yes; then
5825 echo "$as_me:$LINENO: result: yes" >&5
5826 echo "${ECHO_T}yes" >&6
5827 else
5828 echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6
5830 fi
5831
5832
5833
5834 enablestring=
5835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5837 no_cache=0
5838 # Check whether --enable-url or --disable-url was given.
5839 if test "${enable_url+set}" = set; then
5840 enableval="$enable_url"
5841
5842 if test "$enableval" = yes; then
5843 ac_cv_use_url='wxUSE_URL=yes'
5844 else
5845 ac_cv_use_url='wxUSE_URL=no'
5846 fi
5847
5848 else
5849
5850 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x ; then
5852 eval "DEFAULT_$LINE"
5853 else
5854 no_cache=1
5855 fi
5856
5857 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5858
5859 fi;
5860
5861 eval "$ac_cv_use_url"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test "$wxUSE_URL" = yes; then
5867 echo "$as_me:$LINENO: result: yes" >&5
5868 echo "${ECHO_T}yes" >&6
5869 else
5870 echo "$as_me:$LINENO: result: no" >&5
5871 echo "${ECHO_T}no" >&6
5872 fi
5873
5874
5875 enablestring=
5876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5878 no_cache=0
5879 # Check whether --enable-protocol or --disable-protocol was given.
5880 if test "${enable_protocol+set}" = set; then
5881 enableval="$enable_protocol"
5882
5883 if test "$enableval" = yes; then
5884 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5885 else
5886 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5887 fi
5888
5889 else
5890
5891 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5894 else
5895 no_cache=1
5896 fi
5897
5898 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5899
5900 fi;
5901
5902 eval "$ac_cv_use_protocol"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5905 fi
5906
5907 if test "$wxUSE_PROTOCOL" = yes; then
5908 echo "$as_me:$LINENO: result: yes" >&5
5909 echo "${ECHO_T}yes" >&6
5910 else
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5913 fi
5914
5915
5916 enablestring=
5917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5918 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5919 no_cache=0
5920 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5921 if test "${enable_protocol_http+set}" = set; then
5922 enableval="$enable_protocol_http"
5923
5924 if test "$enableval" = yes; then
5925 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5926 else
5927 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5928 fi
5929
5930 else
5931
5932 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x ; then
5934 eval "DEFAULT_$LINE"
5935 else
5936 no_cache=1
5937 fi
5938
5939 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5940
5941 fi;
5942
5943 eval "$ac_cv_use_protocol_http"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5946 fi
5947
5948 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5949 echo "$as_me:$LINENO: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6
5951 else
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5954 fi
5955
5956
5957 enablestring=
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5960 no_cache=0
5961 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5962 if test "${enable_protocol_ftp+set}" = set; then
5963 enableval="$enable_protocol_ftp"
5964
5965 if test "$enableval" = yes; then
5966 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5967 else
5968 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5969 fi
5970
5971 else
5972
5973 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x ; then
5975 eval "DEFAULT_$LINE"
5976 else
5977 no_cache=1
5978 fi
5979
5980 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5981
5982 fi;
5983
5984 eval "$ac_cv_use_protocol_ftp"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5987 fi
5988
5989 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5992 else
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
5995 fi
5996
5997
5998 enablestring=
5999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6000 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6001 no_cache=0
6002 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6003 if test "${enable_protocol_file+set}" = set; then
6004 enableval="$enable_protocol_file"
6005
6006 if test "$enableval" = yes; then
6007 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6008 else
6009 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6010 fi
6011
6012 else
6013
6014 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x ; then
6016 eval "DEFAULT_$LINE"
6017 else
6018 no_cache=1
6019 fi
6020
6021 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6022
6023 fi;
6024
6025 eval "$ac_cv_use_protocol_file"
6026 if test "$no_cache" != 1; then
6027 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6028 fi
6029
6030 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6031 echo "$as_me:$LINENO: result: yes" >&5
6032 echo "${ECHO_T}yes" >&6
6033 else
6034 echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6
6036 fi
6037
6038
6039
6040
6041
6042 enablestring=
6043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6045 no_cache=0
6046 # Check whether --enable-threads or --disable-threads was given.
6047 if test "${enable_threads+set}" = set; then
6048 enableval="$enable_threads"
6049
6050 if test "$enableval" = yes; then
6051 ac_cv_use_threads='wxUSE_THREADS=yes'
6052 else
6053 ac_cv_use_threads='wxUSE_THREADS=no'
6054 fi
6055
6056 else
6057
6058 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6059 if test "x$LINE" != x ; then
6060 eval "DEFAULT_$LINE"
6061 else
6062 no_cache=1
6063 fi
6064
6065 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6066
6067 fi;
6068
6069 eval "$ac_cv_use_threads"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test "$wxUSE_THREADS" = yes; then
6075 echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6
6077 else
6078 echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6
6080 fi
6081
6082
6083 if test "$wxUSE_GUI" = "yes"; then
6084
6085
6086
6087 enablestring=
6088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6089 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6090 no_cache=0
6091 # Check whether --enable-docview or --disable-docview was given.
6092 if test "${enable_docview+set}" = set; then
6093 enableval="$enable_docview"
6094
6095 if test "$enableval" = yes; then
6096 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6097 else
6098 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6099 fi
6100
6101 else
6102
6103 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6104 if test "x$LINE" != x ; then
6105 eval "DEFAULT_$LINE"
6106 else
6107 no_cache=1
6108 fi
6109
6110 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6111
6112 fi;
6113
6114 eval "$ac_cv_use_docview"
6115 if test "$no_cache" != 1; then
6116 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6117 fi
6118
6119 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6120 echo "$as_me:$LINENO: result: yes" >&5
6121 echo "${ECHO_T}yes" >&6
6122 else
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6125 fi
6126
6127
6128 enablestring=
6129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6130 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6131 no_cache=0
6132 # Check whether --enable-help or --disable-help was given.
6133 if test "${enable_help+set}" = set; then
6134 enableval="$enable_help"
6135
6136 if test "$enableval" = yes; then
6137 ac_cv_use_help='wxUSE_HELP=yes'
6138 else
6139 ac_cv_use_help='wxUSE_HELP=no'
6140 fi
6141
6142 else
6143
6144 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x ; then
6146 eval "DEFAULT_$LINE"
6147 else
6148 no_cache=1
6149 fi
6150
6151 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6152
6153 fi;
6154
6155 eval "$ac_cv_use_help"
6156 if test "$no_cache" != 1; then
6157 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6158 fi
6159
6160 if test "$wxUSE_HELP" = yes; then
6161 echo "$as_me:$LINENO: result: yes" >&5
6162 echo "${ECHO_T}yes" >&6
6163 else
6164 echo "$as_me:$LINENO: result: no" >&5
6165 echo "${ECHO_T}no" >&6
6166 fi
6167
6168
6169 enablestring=
6170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6171 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6172 no_cache=0
6173 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6174 if test "${enable_mshtmlhelp+set}" = set; then
6175 enableval="$enable_mshtmlhelp"
6176
6177 if test "$enableval" = yes; then
6178 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6179 else
6180 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6181 fi
6182
6183 else
6184
6185 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6186 if test "x$LINE" != x ; then
6187 eval "DEFAULT_$LINE"
6188 else
6189 no_cache=1
6190 fi
6191
6192 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6193
6194 fi;
6195
6196 eval "$ac_cv_use_mshtmlhelp"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6199 fi
6200
6201 if test "$wxUSE_MS_HTML_HELP" = yes; then
6202 echo "$as_me:$LINENO: result: yes" >&5
6203 echo "${ECHO_T}yes" >&6
6204 else
6205 echo "$as_me:$LINENO: result: no" >&5
6206 echo "${ECHO_T}no" >&6
6207 fi
6208
6209
6210 enablestring=
6211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6212 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6213 no_cache=0
6214 # Check whether --enable-html or --disable-html was given.
6215 if test "${enable_html+set}" = set; then
6216 enableval="$enable_html"
6217
6218 if test "$enableval" = yes; then
6219 ac_cv_use_html='wxUSE_HTML=yes'
6220 else
6221 ac_cv_use_html='wxUSE_HTML=no'
6222 fi
6223
6224 else
6225
6226 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6227 if test "x$LINE" != x ; then
6228 eval "DEFAULT_$LINE"
6229 else
6230 no_cache=1
6231 fi
6232
6233 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6234
6235 fi;
6236
6237 eval "$ac_cv_use_html"
6238 if test "$no_cache" != 1; then
6239 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6240 fi
6241
6242 if test "$wxUSE_HTML" = yes; then
6243 echo "$as_me:$LINENO: result: yes" >&5
6244 echo "${ECHO_T}yes" >&6
6245 else
6246 echo "$as_me:$LINENO: result: no" >&5
6247 echo "${ECHO_T}no" >&6
6248 fi
6249
6250
6251 enablestring=
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6254 no_cache=0
6255 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6256 if test "${enable_htmlhelp+set}" = set; then
6257 enableval="$enable_htmlhelp"
6258
6259 if test "$enableval" = yes; then
6260 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6261 else
6262 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6263 fi
6264
6265 else
6266
6267 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x ; then
6269 eval "DEFAULT_$LINE"
6270 else
6271 no_cache=1
6272 fi
6273
6274 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6275
6276 fi;
6277
6278 eval "$ac_cv_use_htmlhelp"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6281 fi
6282
6283 if test "$wxUSE_WXHTML_HELP" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285 echo "${ECHO_T}yes" >&6
6286 else
6287 echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6
6289 fi
6290
6291
6292 enablestring=
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6295 no_cache=0
6296 # Check whether --enable-constraints or --disable-constraints was given.
6297 if test "${enable_constraints+set}" = set; then
6298 enableval="$enable_constraints"
6299
6300 if test "$enableval" = yes; then
6301 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6302 else
6303 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6304 fi
6305
6306 else
6307
6308 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x ; then
6310 eval "DEFAULT_$LINE"
6311 else
6312 no_cache=1
6313 fi
6314
6315 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6316
6317 fi;
6318
6319 eval "$ac_cv_use_constraints"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6322 fi
6323
6324 if test "$wxUSE_CONSTRAINTS" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326 echo "${ECHO_T}yes" >&6
6327 else
6328 echo "$as_me:$LINENO: result: no" >&5
6329 echo "${ECHO_T}no" >&6
6330 fi
6331
6332
6333 enablestring=
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6336 no_cache=0
6337 # Check whether --enable-printarch or --disable-printarch was given.
6338 if test "${enable_printarch+set}" = set; then
6339 enableval="$enable_printarch"
6340
6341 if test "$enableval" = yes; then
6342 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6343 else
6344 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6345 fi
6346
6347 else
6348
6349 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6352 else
6353 no_cache=1
6354 fi
6355
6356 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6357
6358 fi;
6359
6360 eval "$ac_cv_use_printarch"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6363 fi
6364
6365 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367 echo "${ECHO_T}yes" >&6
6368 else
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6371 fi
6372
6373
6374 enablestring=
6375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6377 no_cache=0
6378 # Check whether --enable-mdi or --disable-mdi was given.
6379 if test "${enable_mdi+set}" = set; then
6380 enableval="$enable_mdi"
6381
6382 if test "$enableval" = yes; then
6383 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6384 else
6385 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6386 fi
6387
6388 else
6389
6390 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6391 if test "x$LINE" != x ; then
6392 eval "DEFAULT_$LINE"
6393 else
6394 no_cache=1
6395 fi
6396
6397 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6398
6399 fi;
6400
6401 eval "$ac_cv_use_mdi"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6404 fi
6405
6406 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6407 echo "$as_me:$LINENO: result: yes" >&5
6408 echo "${ECHO_T}yes" >&6
6409 else
6410 echo "$as_me:$LINENO: result: no" >&5
6411 echo "${ECHO_T}no" >&6
6412 fi
6413
6414
6415 enablestring=
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6418 no_cache=0
6419 # Check whether --enable-loggui or --disable-loggui was given.
6420 if test "${enable_loggui+set}" = set; then
6421 enableval="$enable_loggui"
6422
6423 if test "$enableval" = yes; then
6424 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6425 else
6426 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6427 fi
6428
6429 else
6430
6431 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x ; then
6433 eval "DEFAULT_$LINE"
6434 else
6435 no_cache=1
6436 fi
6437
6438 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6439
6440 fi;
6441
6442 eval "$ac_cv_use_loggui"
6443 if test "$no_cache" != 1; then
6444 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6445 fi
6446
6447 if test "$wxUSE_LOGGUI" = yes; then
6448 echo "$as_me:$LINENO: result: yes" >&5
6449 echo "${ECHO_T}yes" >&6
6450 else
6451 echo "$as_me:$LINENO: result: no" >&5
6452 echo "${ECHO_T}no" >&6
6453 fi
6454
6455
6456 enablestring=
6457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6458 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6459 no_cache=0
6460 # Check whether --enable-logwin or --disable-logwin was given.
6461 if test "${enable_logwin+set}" = set; then
6462 enableval="$enable_logwin"
6463
6464 if test "$enableval" = yes; then
6465 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6466 else
6467 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6468 fi
6469
6470 else
6471
6472 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x ; then
6474 eval "DEFAULT_$LINE"
6475 else
6476 no_cache=1
6477 fi
6478
6479 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6480
6481 fi;
6482
6483 eval "$ac_cv_use_logwin"
6484 if test "$no_cache" != 1; then
6485 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6486 fi
6487
6488 if test "$wxUSE_LOGWINDOW" = yes; then
6489 echo "$as_me:$LINENO: result: yes" >&5
6490 echo "${ECHO_T}yes" >&6
6491 else
6492 echo "$as_me:$LINENO: result: no" >&5
6493 echo "${ECHO_T}no" >&6
6494 fi
6495
6496
6497 enablestring=
6498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6500 no_cache=0
6501 # Check whether --enable-logdialog or --disable-logdialog was given.
6502 if test "${enable_logdialog+set}" = set; then
6503 enableval="$enable_logdialog"
6504
6505 if test "$enableval" = yes; then
6506 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6507 else
6508 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6509 fi
6510
6511 else
6512
6513 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x ; then
6515 eval "DEFAULT_$LINE"
6516 else
6517 no_cache=1
6518 fi
6519
6520 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6521
6522 fi;
6523
6524 eval "$ac_cv_use_logdialog"
6525 if test "$no_cache" != 1; then
6526 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6527 fi
6528
6529 if test "$wxUSE_LOGDIALOG" = yes; then
6530 echo "$as_me:$LINENO: result: yes" >&5
6531 echo "${ECHO_T}yes" >&6
6532 else
6533 echo "$as_me:$LINENO: result: no" >&5
6534 echo "${ECHO_T}no" >&6
6535 fi
6536
6537
6538
6539 enablestring=
6540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6541 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6542 no_cache=0
6543 # Check whether --enable-postscript or --disable-postscript was given.
6544 if test "${enable_postscript+set}" = set; then
6545 enableval="$enable_postscript"
6546
6547 if test "$enableval" = yes; then
6548 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6549 else
6550 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6551 fi
6552
6553 else
6554
6555 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x ; then
6557 eval "DEFAULT_$LINE"
6558 else
6559 no_cache=1
6560 fi
6561
6562 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6563
6564 fi;
6565
6566 eval "$ac_cv_use_postscript"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6569 fi
6570
6571 if test "$wxUSE_POSTSCRIPT" = yes; then
6572 echo "$as_me:$LINENO: result: yes" >&5
6573 echo "${ECHO_T}yes" >&6
6574 else
6575 echo "$as_me:$LINENO: result: no" >&5
6576 echo "${ECHO_T}no" >&6
6577 fi
6578
6579
6580
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-prologio or --disable-prologio was given.
6588 if test "${enable_prologio+set}" = set; then
6589 enableval="$enable_prologio"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6593 else
6594 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6607
6608 fi;
6609
6610 eval "$ac_cv_use_prologio"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_PROLOGIO" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624 enablestring=
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6627 no_cache=0
6628 # Check whether --enable-resources or --disable-resources was given.
6629 if test "${enable_resources+set}" = set; then
6630 enableval="$enable_resources"
6631
6632 if test "$enableval" = yes; then
6633 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6634 else
6635 ac_cv_use_resources='wxUSE_RESOURCES=no'
6636 fi
6637
6638 else
6639
6640 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6643 else
6644 no_cache=1
6645 fi
6646
6647 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6648
6649 fi;
6650
6651 eval "$ac_cv_use_resources"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6654 fi
6655
6656 if test "$wxUSE_RESOURCES" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6659 else
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6662 fi
6663
6664
6665
6666
6667 enablestring=
6668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6669 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6670 no_cache=0
6671 # Check whether --enable-clipboard or --disable-clipboard was given.
6672 if test "${enable_clipboard+set}" = set; then
6673 enableval="$enable_clipboard"
6674
6675 if test "$enableval" = yes; then
6676 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6677 else
6678 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6679 fi
6680
6681 else
6682
6683 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6684 if test "x$LINE" != x ; then
6685 eval "DEFAULT_$LINE"
6686 else
6687 no_cache=1
6688 fi
6689
6690 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6691
6692 fi;
6693
6694 eval "$ac_cv_use_clipboard"
6695 if test "$no_cache" != 1; then
6696 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6697 fi
6698
6699 if test "$wxUSE_CLIPBOARD" = yes; then
6700 echo "$as_me:$LINENO: result: yes" >&5
6701 echo "${ECHO_T}yes" >&6
6702 else
6703 echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6
6705 fi
6706
6707
6708 enablestring=
6709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6711 no_cache=0
6712 # Check whether --enable-dnd or --disable-dnd was given.
6713 if test "${enable_dnd+set}" = set; then
6714 enableval="$enable_dnd"
6715
6716 if test "$enableval" = yes; then
6717 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6718 else
6719 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6720 fi
6721
6722 else
6723
6724 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6725 if test "x$LINE" != x ; then
6726 eval "DEFAULT_$LINE"
6727 else
6728 no_cache=1
6729 fi
6730
6731 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6732
6733 fi;
6734
6735 eval "$ac_cv_use_dnd"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6738 fi
6739
6740 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6741 echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6
6743 else
6744 echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6
6746 fi
6747
6748
6749 enablestring=
6750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6752 no_cache=0
6753 # Check whether --enable-metafile or --disable-metafile was given.
6754 if test "${enable_metafile+set}" = set; then
6755 enableval="$enable_metafile"
6756
6757 if test "$enableval" = yes; then
6758 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6759 else
6760 ac_cv_use_metafile='wxUSE_METAFILE=no'
6761 fi
6762
6763 else
6764
6765 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x ; then
6767 eval "DEFAULT_$LINE"
6768 else
6769 no_cache=1
6770 fi
6771
6772 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6773
6774 fi;
6775
6776 eval "$ac_cv_use_metafile"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6779 fi
6780
6781 if test "$wxUSE_METAFILE" = yes; then
6782 echo "$as_me:$LINENO: result: yes" >&5
6783 echo "${ECHO_T}yes" >&6
6784 else
6785 echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6
6787 fi
6788
6789
6790
6791
6792
6793 enablestring=
6794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6795 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6796 no_cache=0
6797 # Check whether --enable-controls or --disable-controls was given.
6798 if test "${enable_controls+set}" = set; then
6799 enableval="$enable_controls"
6800
6801 if test "$enableval" = yes; then
6802 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6803 else
6804 ac_cv_use_controls='wxUSE_CONTROLS=no'
6805 fi
6806
6807 else
6808
6809 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6810 if test "x$LINE" != x ; then
6811 eval "DEFAULT_$LINE"
6812 else
6813 no_cache=1
6814 fi
6815
6816 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6817
6818 fi;
6819
6820 eval "$ac_cv_use_controls"
6821 if test "$no_cache" != 1; then
6822 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6823 fi
6824
6825 if test "$wxUSE_CONTROLS" = yes; then
6826 echo "$as_me:$LINENO: result: yes" >&5
6827 echo "${ECHO_T}yes" >&6
6828 else
6829 echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6
6831 fi
6832
6833
6834 if test "$wxUSE_CONTROLS" = "yes"; then
6835 DEFAULT_wxUSE_ACCEL=yes
6836 DEFAULT_wxUSE_BMPBUTTON=yes
6837 DEFAULT_wxUSE_BUTTON=yes
6838 DEFAULT_wxUSE_CALCTRL=no
6839 DEFAULT_wxUSE_CARET=yes
6840 DEFAULT_wxUSE_COMBOBOX=yes
6841 DEFAULT_wxUSE_CHECKBOX=yes
6842 DEFAULT_wxUSE_CHECKLISTBOX=yes
6843 DEFAULT_wxUSE_CHOICE=yes
6844 DEFAULT_wxUSE_GAUGE=yes
6845 DEFAULT_wxUSE_GRID=yes
6846 DEFAULT_wxUSE_IMAGLIST=yes
6847 DEFAULT_wxUSE_LISTBOOK=yes
6848 DEFAULT_wxUSE_LISTBOX=yes
6849 DEFAULT_wxUSE_LISTCTRL=yes
6850 DEFAULT_wxUSE_NOTEBOOK=yes
6851 DEFAULT_wxUSE_RADIOBOX=yes
6852 DEFAULT_wxUSE_RADIOBTN=yes
6853 DEFAULT_wxUSE_SASH=yes
6854 DEFAULT_wxUSE_SCROLLBAR=yes
6855 DEFAULT_wxUSE_SLIDER=yes
6856 DEFAULT_wxUSE_SPINBTN=yes
6857 DEFAULT_wxUSE_SPINCTRL=yes
6858 DEFAULT_wxUSE_SPLITTER=yes
6859 DEFAULT_wxUSE_STATBMP=yes
6860 DEFAULT_wxUSE_STATBOX=yes
6861 DEFAULT_wxUSE_STATLINE=yes
6862 DEFAULT_wxUSE_STATUSBAR=yes
6863 DEFAULT_wxUSE_TAB_DIALOG=yes
6864 DEFAULT_wxUSE_TOGGLEBTN=yes
6865 DEFAULT_wxUSE_TOOLBAR=yes
6866 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6867 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6868 DEFAULT_wxUSE_TOOLTIPS=yes
6869 DEFAULT_wxUSE_TREECTRL=yes
6870 DEFAULT_wxUSE_POPUPWIN=yes
6871 DEFAULT_wxUSE_TIPWINDOW=yes
6872 elif test "$wxUSE_CONTROLS" = "no"; then
6873 DEFAULT_wxUSE_ACCEL=no
6874 DEFAULT_wxUSE_BMPBUTTON=no
6875 DEFAULT_wxUSE_BUTTON=no
6876 DEFAULT_wxUSE_CALCTRL=no
6877 DEFAULT_wxUSE_CARET=no
6878 DEFAULT_wxUSE_COMBOBOX=no
6879 DEFAULT_wxUSE_CHECKBOX=no
6880 DEFAULT_wxUSE_CHECKLISTBOX=no
6881 DEFAULT_wxUSE_CHOICE=no
6882 DEFAULT_wxUSE_GAUGE=no
6883 DEFAULT_wxUSE_GRID=no
6884 DEFAULT_wxUSE_IMAGLIST=no
6885 DEFAULT_wxUSE_LISTBOOK=no
6886 DEFAULT_wxUSE_LISTBOX=no
6887 DEFAULT_wxUSE_LISTCTRL=no
6888 DEFAULT_wxUSE_NOTEBOOK=no
6889 DEFAULT_wxUSE_RADIOBOX=no
6890 DEFAULT_wxUSE_RADIOBTN=no
6891 DEFAULT_wxUSE_SASH=no
6892 DEFAULT_wxUSE_SCROLLBAR=no
6893 DEFAULT_wxUSE_SLIDER=no
6894 DEFAULT_wxUSE_SPINBTN=no
6895 DEFAULT_wxUSE_SPINCTRL=no
6896 DEFAULT_wxUSE_SPLITTER=no
6897 DEFAULT_wxUSE_STATBMP=no
6898 DEFAULT_wxUSE_STATBOX=no
6899 DEFAULT_wxUSE_STATLINE=no
6900 DEFAULT_wxUSE_STATUSBAR=no
6901 DEFAULT_wxUSE_TAB_DIALOG=no
6902 DEFAULT_wxUSE_TOGGLEBTN=no
6903 DEFAULT_wxUSE_TOOLBAR=no
6904 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6905 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6906 DEFAULT_wxUSE_TOOLTIPS=no
6907 DEFAULT_wxUSE_TREECTRL=no
6908 DEFAULT_wxUSE_POPUPWIN=no
6909 DEFAULT_wxUSE_TIPWINDOW=no
6910 fi
6911
6912 ## FIXME: This is a blatant hack
6913 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6914 wxUSE_PRINTING_ARCHITECTURE=no
6915 wxUSE_DRAG_AND_DROP=no
6916 # Generic notebook requires tab dialog
6917 DEFAULT_wxUSE_TABDIALOG=yes
6918 DEFAULT_wxUSE_SCROLLBAR=no
6919 DEFAULT_wxUSE_TOOLTIPS=no
6920 DEFAULT_wxUSE_DRAGIMAGE=no
6921 fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-accel or --disable-accel was given.
6929 if test "${enable_accel+set}" = set; then
6930 enableval="$enable_accel"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_accel='wxUSE_ACCEL=yes'
6934 else
6935 ac_cv_use_accel='wxUSE_ACCEL=no'
6936 fi
6937
6938 else
6939
6940 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6948
6949 fi;
6950
6951 eval "$ac_cv_use_accel"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_ACCEL" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-button or --disable-button was given.
6970 if test "${enable_button+set}" = set; then
6971 enableval="$enable_button"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_button='wxUSE_BUTTON=yes'
6975 else
6976 ac_cv_use_button='wxUSE_BUTTON=no'
6977 fi
6978
6979 else
6980
6981 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6989
6990 fi;
6991
6992 eval "$ac_cv_use_button"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_BUTTON" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7011 if test "${enable_bmpbutton+set}" = set; then
7012 enableval="$enable_bmpbutton"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7016 else
7017 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7030
7031 fi;
7032
7033 eval "$ac_cv_use_bmpbutton"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_BMPBUTTON" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-calendar or --disable-calendar was given.
7052 if test "${enable_calendar+set}" = set; then
7053 enableval="$enable_calendar"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7057 else
7058 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7071
7072 fi;
7073
7074 eval "$ac_cv_use_calendar"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_CALCTRL" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-caret or --disable-caret was given.
7093 if test "${enable_caret+set}" = set; then
7094 enableval="$enable_caret"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_caret='wxUSE_CARET=yes'
7098 else
7099 ac_cv_use_caret='wxUSE_CARET=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7112
7113 fi;
7114
7115 eval "$ac_cv_use_caret"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_CARET" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-checkbox or --disable-checkbox was given.
7134 if test "${enable_checkbox+set}" = set; then
7135 enableval="$enable_checkbox"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7139 else
7140 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7153
7154 fi;
7155
7156 eval "$ac_cv_use_checkbox"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_CHECKBOX" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-checklst or --disable-checklst was given.
7175 if test "${enable_checklst+set}" = set; then
7176 enableval="$enable_checklst"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7180 else
7181 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7194
7195 fi;
7196
7197 eval "$ac_cv_use_checklst"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_CHECKLST" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211 enablestring=
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7214 no_cache=0
7215 # Check whether --enable-choice or --disable-choice was given.
7216 if test "${enable_choice+set}" = set; then
7217 enableval="$enable_choice"
7218
7219 if test "$enableval" = yes; then
7220 ac_cv_use_choice='wxUSE_CHOICE=yes'
7221 else
7222 ac_cv_use_choice='wxUSE_CHOICE=no'
7223 fi
7224
7225 else
7226
7227 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7230 else
7231 no_cache=1
7232 fi
7233
7234 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7235
7236 fi;
7237
7238 eval "$ac_cv_use_choice"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7241 fi
7242
7243 if test "$wxUSE_CHOICE" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7246 else
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7249 fi
7250
7251
7252 enablestring=
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7255 no_cache=0
7256 # Check whether --enable-combobox or --disable-combobox was given.
7257 if test "${enable_combobox+set}" = set; then
7258 enableval="$enable_combobox"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7262 else
7263 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7264 fi
7265
7266 else
7267
7268 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7276
7277 fi;
7278
7279 eval "$ac_cv_use_combobox"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7282 fi
7283
7284 if test "$wxUSE_COMBOBOX" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7287 else
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7290 fi
7291
7292
7293 enablestring=
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7296 no_cache=0
7297 # Check whether --enable-display or --disable-display was given.
7298 if test "${enable_display+set}" = set; then
7299 enableval="$enable_display"
7300
7301 if test "$enableval" = yes; then
7302 ac_cv_use_display='wxUSE_DISPLAY=yes'
7303 else
7304 ac_cv_use_display='wxUSE_DISPLAY=no'
7305 fi
7306
7307 else
7308
7309 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7312 else
7313 no_cache=1
7314 fi
7315
7316 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7317
7318 fi;
7319
7320 eval "$ac_cv_use_display"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test "$wxUSE_DISPLAY" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7328 else
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7331 fi
7332
7333
7334 enablestring=
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7337 no_cache=0
7338 # Check whether --enable-gauge or --disable-gauge was given.
7339 if test "${enable_gauge+set}" = set; then
7340 enableval="$enable_gauge"
7341
7342 if test "$enableval" = yes; then
7343 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7344 else
7345 ac_cv_use_gauge='wxUSE_GAUGE=no'
7346 fi
7347
7348 else
7349
7350 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 else
7354 no_cache=1
7355 fi
7356
7357 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7358
7359 fi;
7360
7361 eval "$ac_cv_use_gauge"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test "$wxUSE_GAUGE" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7369 else
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7372 fi
7373
7374
7375 enablestring=
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7378 no_cache=0
7379 # Check whether --enable-grid or --disable-grid was given.
7380 if test "${enable_grid+set}" = set; then
7381 enableval="$enable_grid"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_grid='wxUSE_GRID=yes'
7385 else
7386 ac_cv_use_grid='wxUSE_GRID=no'
7387 fi
7388
7389 else
7390
7391 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7399
7400 fi;
7401
7402 eval "$ac_cv_use_grid"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7405 fi
7406
7407 if test "$wxUSE_GRID" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7410 else
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7413 fi
7414
7415
7416 enablestring=
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7419 no_cache=0
7420 # Check whether --enable-imaglist or --disable-imaglist was given.
7421 if test "${enable_imaglist+set}" = set; then
7422 enableval="$enable_imaglist"
7423
7424 if test "$enableval" = yes; then
7425 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7426 else
7427 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7428 fi
7429
7430 else
7431
7432 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 else
7436 no_cache=1
7437 fi
7438
7439 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7440
7441 fi;
7442
7443 eval "$ac_cv_use_imaglist"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_IMAGLIST" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7451 else
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7454 fi
7455
7456
7457 enablestring=
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7460 no_cache=0
7461 # Check whether --enable-listbook or --disable-listbook was given.
7462 if test "${enable_listbook+set}" = set; then
7463 enableval="$enable_listbook"
7464
7465 if test "$enableval" = yes; then
7466 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7467 else
7468 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7469 fi
7470
7471 else
7472
7473 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 else
7477 no_cache=1
7478 fi
7479
7480 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7481
7482 fi;
7483
7484 eval "$ac_cv_use_listbook"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7487 fi
7488
7489 if test "$wxUSE_LISTBOOK" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7492 else
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7495 fi
7496
7497
7498 enablestring=
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7501 no_cache=0
7502 # Check whether --enable-listbox or --disable-listbox was given.
7503 if test "${enable_listbox+set}" = set; then
7504 enableval="$enable_listbox"
7505
7506 if test "$enableval" = yes; then
7507 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7508 else
7509 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7510 fi
7511
7512 else
7513
7514 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x ; then
7516 eval "DEFAULT_$LINE"
7517 else
7518 no_cache=1
7519 fi
7520
7521 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7522
7523 fi;
7524
7525 eval "$ac_cv_use_listbox"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7528 fi
7529
7530 if test "$wxUSE_LISTBOX" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7533 else
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7536 fi
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-listctrl or --disable-listctrl was given.
7544 if test "${enable_listctrl+set}" = set; then
7545 enableval="$enable_listctrl"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7549 else
7550 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7551 fi
7552
7553 else
7554
7555 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7563
7564 fi;
7565
7566 eval "$ac_cv_use_listctrl"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_LISTCTRL" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-notebook or --disable-notebook was given.
7585 if test "${enable_notebook+set}" = set; then
7586 enableval="$enable_notebook"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7590 else
7591 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7592 fi
7593
7594 else
7595
7596 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7604
7605 fi;
7606
7607 eval "$ac_cv_use_notebook"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_NOTEBOOK" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-radiobox or --disable-radiobox was given.
7626 if test "${enable_radiobox+set}" = set; then
7627 enableval="$enable_radiobox"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7631 else
7632 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7633 fi
7634
7635 else
7636
7637 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7645
7646 fi;
7647
7648 eval "$ac_cv_use_radiobox"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_RADIOBOX" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662 enablestring=
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7664 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7665 no_cache=0
7666 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7667 if test "${enable_radiobtn+set}" = set; then
7668 enableval="$enable_radiobtn"
7669
7670 if test "$enableval" = yes; then
7671 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7672 else
7673 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7674 fi
7675
7676 else
7677
7678 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x ; then
7680 eval "DEFAULT_$LINE"
7681 else
7682 no_cache=1
7683 fi
7684
7685 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7686
7687 fi;
7688
7689 eval "$ac_cv_use_radiobtn"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7692 fi
7693
7694 if test "$wxUSE_RADIOBTN" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696 echo "${ECHO_T}yes" >&6
7697 else
7698 echo "$as_me:$LINENO: result: no" >&5
7699 echo "${ECHO_T}no" >&6
7700 fi
7701
7702
7703 enablestring=
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7706 no_cache=0
7707 # Check whether --enable-sash or --disable-sash was given.
7708 if test "${enable_sash+set}" = set; then
7709 enableval="$enable_sash"
7710
7711 if test "$enableval" = yes; then
7712 ac_cv_use_sash='wxUSE_SASH=yes'
7713 else
7714 ac_cv_use_sash='wxUSE_SASH=no'
7715 fi
7716
7717 else
7718
7719 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7722 else
7723 no_cache=1
7724 fi
7725
7726 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7727
7728 fi;
7729
7730 eval "$ac_cv_use_sash"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7733 fi
7734
7735 if test "$wxUSE_SASH" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7738 else
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7741 fi
7742
7743
7744 enablestring=
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7747 no_cache=0
7748 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7749 if test "${enable_scrollbar+set}" = set; then
7750 enableval="$enable_scrollbar"
7751
7752 if test "$enableval" = yes; then
7753 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7754 else
7755 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7756 fi
7757
7758 else
7759
7760 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x ; then
7762 eval "DEFAULT_$LINE"
7763 else
7764 no_cache=1
7765 fi
7766
7767 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7768
7769 fi;
7770
7771 eval "$ac_cv_use_scrollbar"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7774 fi
7775
7776 if test "$wxUSE_SCROLLBAR" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7782 fi
7783
7784
7785 enablestring=
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7788 no_cache=0
7789 # Check whether --enable-slider or --disable-slider was given.
7790 if test "${enable_slider+set}" = set; then
7791 enableval="$enable_slider"
7792
7793 if test "$enableval" = yes; then
7794 ac_cv_use_slider='wxUSE_SLIDER=yes'
7795 else
7796 ac_cv_use_slider='wxUSE_SLIDER=no'
7797 fi
7798
7799 else
7800
7801 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x ; then
7803 eval "DEFAULT_$LINE"
7804 else
7805 no_cache=1
7806 fi
7807
7808 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7809
7810 fi;
7811
7812 eval "$ac_cv_use_slider"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7815 fi
7816
7817 if test "$wxUSE_SLIDER" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7820 else
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7823 fi
7824
7825
7826 enablestring=
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7829 no_cache=0
7830 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7831 if test "${enable_spinbtn+set}" = set; then
7832 enableval="$enable_spinbtn"
7833
7834 if test "$enableval" = yes; then
7835 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7836 else
7837 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7838 fi
7839
7840 else
7841
7842 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x ; then
7844 eval "DEFAULT_$LINE"
7845 else
7846 no_cache=1
7847 fi
7848
7849 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7850
7851 fi;
7852
7853 eval "$ac_cv_use_spinbtn"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7856 fi
7857
7858 if test "$wxUSE_SPINBTN" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860 echo "${ECHO_T}yes" >&6
7861 else
7862 echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6
7864 fi
7865
7866
7867 enablestring=
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7870 no_cache=0
7871 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7872 if test "${enable_spinctrl+set}" = set; then
7873 enableval="$enable_spinctrl"
7874
7875 if test "$enableval" = yes; then
7876 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7877 else
7878 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7879 fi
7880
7881 else
7882
7883 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7886 else
7887 no_cache=1
7888 fi
7889
7890 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7891
7892 fi;
7893
7894 eval "$ac_cv_use_spinctrl"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7897 fi
7898
7899 if test "$wxUSE_SPINCTRL" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901 echo "${ECHO_T}yes" >&6
7902 else
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7905 fi
7906
7907
7908 enablestring=
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7911 no_cache=0
7912 # Check whether --enable-splitter or --disable-splitter was given.
7913 if test "${enable_splitter+set}" = set; then
7914 enableval="$enable_splitter"
7915
7916 if test "$enableval" = yes; then
7917 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7918 else
7919 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7920 fi
7921
7922 else
7923
7924 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x ; then
7926 eval "DEFAULT_$LINE"
7927 else
7928 no_cache=1
7929 fi
7930
7931 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7932
7933 fi;
7934
7935 eval "$ac_cv_use_splitter"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7938 fi
7939
7940 if test "$wxUSE_SPLITTER" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7943 else
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7946 fi
7947
7948
7949 enablestring=
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7952 no_cache=0
7953 # Check whether --enable-statbmp or --disable-statbmp was given.
7954 if test "${enable_statbmp+set}" = set; then
7955 enableval="$enable_statbmp"
7956
7957 if test "$enableval" = yes; then
7958 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7959 else
7960 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7961 fi
7962
7963 else
7964
7965 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x ; then
7967 eval "DEFAULT_$LINE"
7968 else
7969 no_cache=1
7970 fi
7971
7972 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7973
7974 fi;
7975
7976 eval "$ac_cv_use_statbmp"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7979 fi
7980
7981 if test "$wxUSE_STATBMP" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7984 else
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7987 fi
7988
7989
7990 enablestring=
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7993 no_cache=0
7994 # Check whether --enable-statbox or --disable-statbox was given.
7995 if test "${enable_statbox+set}" = set; then
7996 enableval="$enable_statbox"
7997
7998 if test "$enableval" = yes; then
7999 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8000 else
8001 ac_cv_use_statbox='wxUSE_STATBOX=no'
8002 fi
8003
8004 else
8005
8006 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x ; then
8008 eval "DEFAULT_$LINE"
8009 else
8010 no_cache=1
8011 fi
8012
8013 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8014
8015 fi;
8016
8017 eval "$ac_cv_use_statbox"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8020 fi
8021
8022 if test "$wxUSE_STATBOX" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8025 else
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8028 fi
8029
8030
8031 enablestring=
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8034 no_cache=0
8035 # Check whether --enable-statline or --disable-statline was given.
8036 if test "${enable_statline+set}" = set; then
8037 enableval="$enable_statline"
8038
8039 if test "$enableval" = yes; then
8040 ac_cv_use_statline='wxUSE_STATLINE=yes'
8041 else
8042 ac_cv_use_statline='wxUSE_STATLINE=no'
8043 fi
8044
8045 else
8046
8047 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x ; then
8049 eval "DEFAULT_$LINE"
8050 else
8051 no_cache=1
8052 fi
8053
8054 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8055
8056 fi;
8057
8058 eval "$ac_cv_use_statline"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8061 fi
8062
8063 if test "$wxUSE_STATLINE" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8066 else
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8069 fi
8070
8071
8072 enablestring=
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8075 no_cache=0
8076 # Check whether --enable-stattext or --disable-stattext was given.
8077 if test "${enable_stattext+set}" = set; then
8078 enableval="$enable_stattext"
8079
8080 if test "$enableval" = yes; then
8081 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8082 else
8083 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8084 fi
8085
8086 else
8087
8088 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x ; then
8090 eval "DEFAULT_$LINE"
8091 else
8092 no_cache=1
8093 fi
8094
8095 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8096
8097 fi;
8098
8099 eval "$ac_cv_use_stattext"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8102 fi
8103
8104 if test "$wxUSE_STATTEXT" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8107 else
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8110 fi
8111
8112
8113 enablestring=
8114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8115 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8116 no_cache=0
8117 # Check whether --enable-statusbar or --disable-statusbar was given.
8118 if test "${enable_statusbar+set}" = set; then
8119 enableval="$enable_statusbar"
8120
8121 if test "$enableval" = yes; then
8122 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8123 else
8124 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8125 fi
8126
8127 else
8128
8129 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8130 if test "x$LINE" != x ; then
8131 eval "DEFAULT_$LINE"
8132 else
8133 no_cache=1
8134 fi
8135
8136 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8137
8138 fi;
8139
8140 eval "$ac_cv_use_statusbar"
8141 if test "$no_cache" != 1; then
8142 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8143 fi
8144
8145 if test "$wxUSE_STATUSBAR" = yes; then
8146 echo "$as_me:$LINENO: result: yes" >&5
8147 echo "${ECHO_T}yes" >&6
8148 else
8149 echo "$as_me:$LINENO: result: no" >&5
8150 echo "${ECHO_T}no" >&6
8151 fi
8152
8153
8154 enablestring=
8155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8156 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8157 no_cache=0
8158 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8159 if test "${enable_tabdialog+set}" = set; then
8160 enableval="$enable_tabdialog"
8161
8162 if test "$enableval" = yes; then
8163 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8164 else
8165 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8166 fi
8167
8168 else
8169
8170 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8171 if test "x$LINE" != x ; then
8172 eval "DEFAULT_$LINE"
8173 else
8174 no_cache=1
8175 fi
8176
8177 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8178
8179 fi;
8180
8181 eval "$ac_cv_use_tabdialog"
8182 if test "$no_cache" != 1; then
8183 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8184 fi
8185
8186 if test "$wxUSE_TABDIALOG" = yes; then
8187 echo "$as_me:$LINENO: result: yes" >&5
8188 echo "${ECHO_T}yes" >&6
8189 else
8190 echo "$as_me:$LINENO: result: no" >&5
8191 echo "${ECHO_T}no" >&6
8192 fi
8193
8194
8195 enablestring=
8196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8198 no_cache=0
8199 # Check whether --enable-textctrl or --disable-textctrl was given.
8200 if test "${enable_textctrl+set}" = set; then
8201 enableval="$enable_textctrl"
8202
8203 if test "$enableval" = yes; then
8204 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8205 else
8206 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8207 fi
8208
8209 else
8210
8211 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x ; then
8213 eval "DEFAULT_$LINE"
8214 else
8215 no_cache=1
8216 fi
8217
8218 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8219
8220 fi;
8221
8222 eval "$ac_cv_use_textctrl"
8223 if test "$no_cache" != 1; then
8224 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8225 fi
8226
8227 if test "$wxUSE_TEXTCTRL" = yes; then
8228 echo "$as_me:$LINENO: result: yes" >&5
8229 echo "${ECHO_T}yes" >&6
8230 else
8231 echo "$as_me:$LINENO: result: no" >&5
8232 echo "${ECHO_T}no" >&6
8233 fi
8234
8235
8236 enablestring=
8237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8239 no_cache=0
8240 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8241 if test "${enable_togglebtn+set}" = set; then
8242 enableval="$enable_togglebtn"
8243
8244 if test "$enableval" = yes; then
8245 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8246 else
8247 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8248 fi
8249
8250 else
8251
8252 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x ; then
8254 eval "DEFAULT_$LINE"
8255 else
8256 no_cache=1
8257 fi
8258
8259 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8260
8261 fi;
8262
8263 eval "$ac_cv_use_togglebtn"
8264 if test "$no_cache" != 1; then
8265 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8266 fi
8267
8268 if test "$wxUSE_TOGGLEBTN" = yes; then
8269 echo "$as_me:$LINENO: result: yes" >&5
8270 echo "${ECHO_T}yes" >&6
8271 else
8272 echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6
8274 fi
8275
8276
8277 enablestring=
8278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8279 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8280 no_cache=0
8281 # Check whether --enable-toolbar or --disable-toolbar was given.
8282 if test "${enable_toolbar+set}" = set; then
8283 enableval="$enable_toolbar"
8284
8285 if test "$enableval" = yes; then
8286 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8287 else
8288 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8289 fi
8290
8291 else
8292
8293 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8294 if test "x$LINE" != x ; then
8295 eval "DEFAULT_$LINE"
8296 else
8297 no_cache=1
8298 fi
8299
8300 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8301
8302 fi;
8303
8304 eval "$ac_cv_use_toolbar"
8305 if test "$no_cache" != 1; then
8306 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8307 fi
8308
8309 if test "$wxUSE_TOOLBAR" = yes; then
8310 echo "$as_me:$LINENO: result: yes" >&5
8311 echo "${ECHO_T}yes" >&6
8312 else
8313 echo "$as_me:$LINENO: result: no" >&5
8314 echo "${ECHO_T}no" >&6
8315 fi
8316
8317
8318 enablestring=
8319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8320 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8321 no_cache=0
8322 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8323 if test "${enable_tbarnative+set}" = set; then
8324 enableval="$enable_tbarnative"
8325
8326 if test "$enableval" = yes; then
8327 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8328 else
8329 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8330 fi
8331
8332 else
8333
8334 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8335 if test "x$LINE" != x ; then
8336 eval "DEFAULT_$LINE"
8337 else
8338 no_cache=1
8339 fi
8340
8341 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8342
8343 fi;
8344
8345 eval "$ac_cv_use_tbarnative"
8346 if test "$no_cache" != 1; then
8347 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8348 fi
8349
8350 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8353 else
8354 echo "$as_me:$LINENO: result: no" >&5
8355 echo "${ECHO_T}no" >&6
8356 fi
8357
8358
8359 enablestring=
8360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8361 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8362 no_cache=0
8363 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8364 if test "${enable_tbarsmpl+set}" = set; then
8365 enableval="$enable_tbarsmpl"
8366
8367 if test "$enableval" = yes; then
8368 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8369 else
8370 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8371 fi
8372
8373 else
8374
8375 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8376 if test "x$LINE" != x ; then
8377 eval "DEFAULT_$LINE"
8378 else
8379 no_cache=1
8380 fi
8381
8382 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8383
8384 fi;
8385
8386 eval "$ac_cv_use_tbarsmpl"
8387 if test "$no_cache" != 1; then
8388 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8389 fi
8390
8391 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8392 echo "$as_me:$LINENO: result: yes" >&5
8393 echo "${ECHO_T}yes" >&6
8394 else
8395 echo "$as_me:$LINENO: result: no" >&5
8396 echo "${ECHO_T}no" >&6
8397 fi
8398
8399
8400 enablestring=
8401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8403 no_cache=0
8404 # Check whether --enable-treectrl or --disable-treectrl was given.
8405 if test "${enable_treectrl+set}" = set; then
8406 enableval="$enable_treectrl"
8407
8408 if test "$enableval" = yes; then
8409 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8410 else
8411 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8412 fi
8413
8414 else
8415
8416 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8417 if test "x$LINE" != x ; then
8418 eval "DEFAULT_$LINE"
8419 else
8420 no_cache=1
8421 fi
8422
8423 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8424
8425 fi;
8426
8427 eval "$ac_cv_use_treectrl"
8428 if test "$no_cache" != 1; then
8429 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8430 fi
8431
8432 if test "$wxUSE_TREECTRL" = yes; then
8433 echo "$as_me:$LINENO: result: yes" >&5
8434 echo "${ECHO_T}yes" >&6
8435 else
8436 echo "$as_me:$LINENO: result: no" >&5
8437 echo "${ECHO_T}no" >&6
8438 fi
8439
8440
8441 enablestring=
8442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8443 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8444 no_cache=0
8445 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8446 if test "${enable_tipwindow+set}" = set; then
8447 enableval="$enable_tipwindow"
8448
8449 if test "$enableval" = yes; then
8450 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8451 else
8452 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8453 fi
8454
8455 else
8456
8457 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8458 if test "x$LINE" != x ; then
8459 eval "DEFAULT_$LINE"
8460 else
8461 no_cache=1
8462 fi
8463
8464 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8465
8466 fi;
8467
8468 eval "$ac_cv_use_tipwindow"
8469 if test "$no_cache" != 1; then
8470 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8471 fi
8472
8473 if test "$wxUSE_TIPWINDOW" = yes; then
8474 echo "$as_me:$LINENO: result: yes" >&5
8475 echo "${ECHO_T}yes" >&6
8476 else
8477 echo "$as_me:$LINENO: result: no" >&5
8478 echo "${ECHO_T}no" >&6
8479 fi
8480
8481
8482 enablestring=
8483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8484 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8485 no_cache=0
8486 # Check whether --enable-popupwin or --disable-popupwin was given.
8487 if test "${enable_popupwin+set}" = set; then
8488 enableval="$enable_popupwin"
8489
8490 if test "$enableval" = yes; then
8491 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8492 else
8493 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8494 fi
8495
8496 else
8497
8498 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8499 if test "x$LINE" != x ; then
8500 eval "DEFAULT_$LINE"
8501 else
8502 no_cache=1
8503 fi
8504
8505 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8506
8507 fi;
8508
8509 eval "$ac_cv_use_popupwin"
8510 if test "$no_cache" != 1; then
8511 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8512 fi
8513
8514 if test "$wxUSE_POPUPWIN" = yes; then
8515 echo "$as_me:$LINENO: result: yes" >&5
8516 echo "${ECHO_T}yes" >&6
8517 else
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8520 fi
8521
8522
8523
8524
8525 enablestring=
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8528 no_cache=0
8529 # Check whether --enable-commondlg or --disable-commondlg was given.
8530 if test "${enable_commondlg+set}" = set; then
8531 enableval="$enable_commondlg"
8532
8533 if test "$enableval" = yes; then
8534 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8535 else
8536 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8537 fi
8538
8539 else
8540
8541 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x ; then
8543 eval "DEFAULT_$LINE"
8544 else
8545 no_cache=1
8546 fi
8547
8548 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8549
8550 fi;
8551
8552 eval "$ac_cv_use_commondlg"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test "$wxUSE_COMMONDLGS" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8560 else
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8563 fi
8564
8565
8566 enablestring=
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8569 no_cache=0
8570 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8571 if test "${enable_choicedlg+set}" = set; then
8572 enableval="$enable_choicedlg"
8573
8574 if test "$enableval" = yes; then
8575 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8576 else
8577 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8578 fi
8579
8580 else
8581
8582 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x ; then
8584 eval "DEFAULT_$LINE"
8585 else
8586 no_cache=1
8587 fi
8588
8589 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8590
8591 fi;
8592
8593 eval "$ac_cv_use_choicedlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8596 fi
8597
8598 if test "$wxUSE_CHOICEDLG" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8601 else
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8604 fi
8605
8606
8607 enablestring=
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8610 no_cache=0
8611 # Check whether --enable-coldlg or --disable-coldlg was given.
8612 if test "${enable_coldlg+set}" = set; then
8613 enableval="$enable_coldlg"
8614
8615 if test "$enableval" = yes; then
8616 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8617 else
8618 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8619 fi
8620
8621 else
8622
8623 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8626 else
8627 no_cache=1
8628 fi
8629
8630 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8631
8632 fi;
8633
8634 eval "$ac_cv_use_coldlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8637 fi
8638
8639 if test "$wxUSE_COLOURDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8642 else
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8645 fi
8646
8647
8648 enablestring=
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8651 no_cache=0
8652 # Check whether --enable-filedlg or --disable-filedlg was given.
8653 if test "${enable_filedlg+set}" = set; then
8654 enableval="$enable_filedlg"
8655
8656 if test "$enableval" = yes; then
8657 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8658 else
8659 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8660 fi
8661
8662 else
8663
8664 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x ; then
8666 eval "DEFAULT_$LINE"
8667 else
8668 no_cache=1
8669 fi
8670
8671 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8672
8673 fi;
8674
8675 eval "$ac_cv_use_filedlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8678 fi
8679
8680 if test "$wxUSE_FILEDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8683 else
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8686 fi
8687
8688
8689 enablestring=
8690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8691 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8692 no_cache=0
8693 # Check whether --enable-finddlg or --disable-finddlg was given.
8694 if test "${enable_finddlg+set}" = set; then
8695 enableval="$enable_finddlg"
8696
8697 if test "$enableval" = yes; then
8698 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8699 else
8700 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8701 fi
8702
8703 else
8704
8705 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8706 if test "x$LINE" != x ; then
8707 eval "DEFAULT_$LINE"
8708 else
8709 no_cache=1
8710 fi
8711
8712 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8713
8714 fi;
8715
8716 eval "$ac_cv_use_finddlg"
8717 if test "$no_cache" != 1; then
8718 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8719 fi
8720
8721 if test "$wxUSE_FINDREPLDLG" = yes; then
8722 echo "$as_me:$LINENO: result: yes" >&5
8723 echo "${ECHO_T}yes" >&6
8724 else
8725 echo "$as_me:$LINENO: result: no" >&5
8726 echo "${ECHO_T}no" >&6
8727 fi
8728
8729
8730 enablestring=
8731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8732 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8733 no_cache=0
8734 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8735 if test "${enable_fontdlg+set}" = set; then
8736 enableval="$enable_fontdlg"
8737
8738 if test "$enableval" = yes; then
8739 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8740 else
8741 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8742 fi
8743
8744 else
8745
8746 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8747 if test "x$LINE" != x ; then
8748 eval "DEFAULT_$LINE"
8749 else
8750 no_cache=1
8751 fi
8752
8753 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8754
8755 fi;
8756
8757 eval "$ac_cv_use_fontdlg"
8758 if test "$no_cache" != 1; then
8759 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8760 fi
8761
8762 if test "$wxUSE_FONTDLG" = yes; then
8763 echo "$as_me:$LINENO: result: yes" >&5
8764 echo "${ECHO_T}yes" >&6
8765 else
8766 echo "$as_me:$LINENO: result: no" >&5
8767 echo "${ECHO_T}no" >&6
8768 fi
8769
8770
8771 enablestring=
8772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8774 no_cache=0
8775 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8776 if test "${enable_dirdlg+set}" = set; then
8777 enableval="$enable_dirdlg"
8778
8779 if test "$enableval" = yes; then
8780 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8781 else
8782 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8783 fi
8784
8785 else
8786
8787 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8788 if test "x$LINE" != x ; then
8789 eval "DEFAULT_$LINE"
8790 else
8791 no_cache=1
8792 fi
8793
8794 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8795
8796 fi;
8797
8798 eval "$ac_cv_use_dirdlg"
8799 if test "$no_cache" != 1; then
8800 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8801 fi
8802
8803 if test "$wxUSE_DIRDLG" = yes; then
8804 echo "$as_me:$LINENO: result: yes" >&5
8805 echo "${ECHO_T}yes" >&6
8806 else
8807 echo "$as_me:$LINENO: result: no" >&5
8808 echo "${ECHO_T}no" >&6
8809 fi
8810
8811
8812 enablestring=
8813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8815 no_cache=0
8816 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8817 if test "${enable_msgdlg+set}" = set; then
8818 enableval="$enable_msgdlg"
8819
8820 if test "$enableval" = yes; then
8821 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8822 else
8823 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8824 fi
8825
8826 else
8827
8828 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8829 if test "x$LINE" != x ; then
8830 eval "DEFAULT_$LINE"
8831 else
8832 no_cache=1
8833 fi
8834
8835 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8836
8837 fi;
8838
8839 eval "$ac_cv_use_msgdlg"
8840 if test "$no_cache" != 1; then
8841 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8842 fi
8843
8844 if test "$wxUSE_MSGDLG" = yes; then
8845 echo "$as_me:$LINENO: result: yes" >&5
8846 echo "${ECHO_T}yes" >&6
8847 else
8848 echo "$as_me:$LINENO: result: no" >&5
8849 echo "${ECHO_T}no" >&6
8850 fi
8851
8852
8853 enablestring=
8854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8856 no_cache=0
8857 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8858 if test "${enable_numberdlg+set}" = set; then
8859 enableval="$enable_numberdlg"
8860
8861 if test "$enableval" = yes; then
8862 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8863 else
8864 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8865 fi
8866
8867 else
8868
8869 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8870 if test "x$LINE" != x ; then
8871 eval "DEFAULT_$LINE"
8872 else
8873 no_cache=1
8874 fi
8875
8876 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8877
8878 fi;
8879
8880 eval "$ac_cv_use_numberdlg"
8881 if test "$no_cache" != 1; then
8882 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8883 fi
8884
8885 if test "$wxUSE_NUMBERDLG" = yes; then
8886 echo "$as_me:$LINENO: result: yes" >&5
8887 echo "${ECHO_T}yes" >&6
8888 else
8889 echo "$as_me:$LINENO: result: no" >&5
8890 echo "${ECHO_T}no" >&6
8891 fi
8892
8893
8894 enablestring=
8895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8896 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8897 no_cache=0
8898 # Check whether --enable-splash or --disable-splash was given.
8899 if test "${enable_splash+set}" = set; then
8900 enableval="$enable_splash"
8901
8902 if test "$enableval" = yes; then
8903 ac_cv_use_splash='wxUSE_SPLASH=yes'
8904 else
8905 ac_cv_use_splash='wxUSE_SPLASH=no'
8906 fi
8907
8908 else
8909
8910 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8911 if test "x$LINE" != x ; then
8912 eval "DEFAULT_$LINE"
8913 else
8914 no_cache=1
8915 fi
8916
8917 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8918
8919 fi;
8920
8921 eval "$ac_cv_use_splash"
8922 if test "$no_cache" != 1; then
8923 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8924 fi
8925
8926 if test "$wxUSE_SPLASH" = yes; then
8927 echo "$as_me:$LINENO: result: yes" >&5
8928 echo "${ECHO_T}yes" >&6
8929 else
8930 echo "$as_me:$LINENO: result: no" >&5
8931 echo "${ECHO_T}no" >&6
8932 fi
8933
8934
8935 enablestring=
8936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8937 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8938 no_cache=0
8939 # Check whether --enable-textdlg or --disable-textdlg was given.
8940 if test "${enable_textdlg+set}" = set; then
8941 enableval="$enable_textdlg"
8942
8943 if test "$enableval" = yes; then
8944 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8945 else
8946 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8947 fi
8948
8949 else
8950
8951 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8952 if test "x$LINE" != x ; then
8953 eval "DEFAULT_$LINE"
8954 else
8955 no_cache=1
8956 fi
8957
8958 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8959
8960 fi;
8961
8962 eval "$ac_cv_use_textdlg"
8963 if test "$no_cache" != 1; then
8964 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8965 fi
8966
8967 if test "$wxUSE_TEXTDLG" = yes; then
8968 echo "$as_me:$LINENO: result: yes" >&5
8969 echo "${ECHO_T}yes" >&6
8970 else
8971 echo "$as_me:$LINENO: result: no" >&5
8972 echo "${ECHO_T}no" >&6
8973 fi
8974
8975
8976 enablestring=
8977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8979 no_cache=0
8980 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8981 if test "${enable_tipdlg+set}" = set; then
8982 enableval="$enable_tipdlg"
8983
8984 if test "$enableval" = yes; then
8985 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8986 else
8987 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8988 fi
8989
8990 else
8991
8992 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8993 if test "x$LINE" != x ; then
8994 eval "DEFAULT_$LINE"
8995 else
8996 no_cache=1
8997 fi
8998
8999 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9000
9001 fi;
9002
9003 eval "$ac_cv_use_tipdlg"
9004 if test "$no_cache" != 1; then
9005 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9006 fi
9007
9008 if test "$wxUSE_STARTUP_TIPS" = yes; then
9009 echo "$as_me:$LINENO: result: yes" >&5
9010 echo "${ECHO_T}yes" >&6
9011 else
9012 echo "$as_me:$LINENO: result: no" >&5
9013 echo "${ECHO_T}no" >&6
9014 fi
9015
9016
9017 enablestring=
9018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9019 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9020 no_cache=0
9021 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9022 if test "${enable_progressdlg+set}" = set; then
9023 enableval="$enable_progressdlg"
9024
9025 if test "$enableval" = yes; then
9026 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9027 else
9028 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9029 fi
9030
9031 else
9032
9033 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9034 if test "x$LINE" != x ; then
9035 eval "DEFAULT_$LINE"
9036 else
9037 no_cache=1
9038 fi
9039
9040 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9041
9042 fi;
9043
9044 eval "$ac_cv_use_progressdlg"
9045 if test "$no_cache" != 1; then
9046 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9047 fi
9048
9049 if test "$wxUSE_PROGRESSDLG" = yes; then
9050 echo "$as_me:$LINENO: result: yes" >&5
9051 echo "${ECHO_T}yes" >&6
9052 else
9053 echo "$as_me:$LINENO: result: no" >&5
9054 echo "${ECHO_T}no" >&6
9055 fi
9056
9057
9058 enablestring=
9059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9060 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9061 no_cache=0
9062 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9063 if test "${enable_wizarddlg+set}" = set; then
9064 enableval="$enable_wizarddlg"
9065
9066 if test "$enableval" = yes; then
9067 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9068 else
9069 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9070 fi
9071
9072 else
9073
9074 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9075 if test "x$LINE" != x ; then
9076 eval "DEFAULT_$LINE"
9077 else
9078 no_cache=1
9079 fi
9080
9081 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9082
9083 fi;
9084
9085 eval "$ac_cv_use_wizarddlg"
9086 if test "$no_cache" != 1; then
9087 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9088 fi
9089
9090 if test "$wxUSE_WIZARDDLG" = yes; then
9091 echo "$as_me:$LINENO: result: yes" >&5
9092 echo "${ECHO_T}yes" >&6
9093 else
9094 echo "$as_me:$LINENO: result: no" >&5
9095 echo "${ECHO_T}no" >&6
9096 fi
9097
9098
9099
9100
9101 enablestring=
9102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9104 no_cache=0
9105 # Check whether --enable-menus or --disable-menus was given.
9106 if test "${enable_menus+set}" = set; then
9107 enableval="$enable_menus"
9108
9109 if test "$enableval" = yes; then
9110 ac_cv_use_menus='wxUSE_MENUS=yes'
9111 else
9112 ac_cv_use_menus='wxUSE_MENUS=no'
9113 fi
9114
9115 else
9116
9117 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9118 if test "x$LINE" != x ; then
9119 eval "DEFAULT_$LINE"
9120 else
9121 no_cache=1
9122 fi
9123
9124 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9125
9126 fi;
9127
9128 eval "$ac_cv_use_menus"
9129 if test "$no_cache" != 1; then
9130 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9131 fi
9132
9133 if test "$wxUSE_MENUS" = yes; then
9134 echo "$as_me:$LINENO: result: yes" >&5
9135 echo "${ECHO_T}yes" >&6
9136 else
9137 echo "$as_me:$LINENO: result: no" >&5
9138 echo "${ECHO_T}no" >&6
9139 fi
9140
9141
9142 enablestring=
9143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9144 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9145 no_cache=0
9146 # Check whether --enable-miniframe or --disable-miniframe was given.
9147 if test "${enable_miniframe+set}" = set; then
9148 enableval="$enable_miniframe"
9149
9150 if test "$enableval" = yes; then
9151 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9152 else
9153 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9154 fi
9155
9156 else
9157
9158 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9159 if test "x$LINE" != x ; then
9160 eval "DEFAULT_$LINE"
9161 else
9162 no_cache=1
9163 fi
9164
9165 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9166
9167 fi;
9168
9169 eval "$ac_cv_use_miniframe"
9170 if test "$no_cache" != 1; then
9171 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9172 fi
9173
9174 if test "$wxUSE_MINIFRAME" = yes; then
9175 echo "$as_me:$LINENO: result: yes" >&5
9176 echo "${ECHO_T}yes" >&6
9177 else
9178 echo "$as_me:$LINENO: result: no" >&5
9179 echo "${ECHO_T}no" >&6
9180 fi
9181
9182
9183 enablestring=
9184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9185 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9186 no_cache=0
9187 # Check whether --enable-tooltips or --disable-tooltips was given.
9188 if test "${enable_tooltips+set}" = set; then
9189 enableval="$enable_tooltips"
9190
9191 if test "$enableval" = yes; then
9192 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9193 else
9194 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9195 fi
9196
9197 else
9198
9199 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9200 if test "x$LINE" != x ; then
9201 eval "DEFAULT_$LINE"
9202 else
9203 no_cache=1
9204 fi
9205
9206 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9207
9208 fi;
9209
9210 eval "$ac_cv_use_tooltips"
9211 if test "$no_cache" != 1; then
9212 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9213 fi
9214
9215 if test "$wxUSE_TOOLTIPS" = yes; then
9216 echo "$as_me:$LINENO: result: yes" >&5
9217 echo "${ECHO_T}yes" >&6
9218 else
9219 echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6
9221 fi
9222
9223
9224 enablestring=
9225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9226 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9227 no_cache=0
9228 # Check whether --enable-splines or --disable-splines was given.
9229 if test "${enable_splines+set}" = set; then
9230 enableval="$enable_splines"
9231
9232 if test "$enableval" = yes; then
9233 ac_cv_use_splines='wxUSE_SPLINES=yes'
9234 else
9235 ac_cv_use_splines='wxUSE_SPLINES=no'
9236 fi
9237
9238 else
9239
9240 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9241 if test "x$LINE" != x ; then
9242 eval "DEFAULT_$LINE"
9243 else
9244 no_cache=1
9245 fi
9246
9247 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9248
9249 fi;
9250
9251 eval "$ac_cv_use_splines"
9252 if test "$no_cache" != 1; then
9253 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9254 fi
9255
9256 if test "$wxUSE_SPLINES" = yes; then
9257 echo "$as_me:$LINENO: result: yes" >&5
9258 echo "${ECHO_T}yes" >&6
9259 else
9260 echo "$as_me:$LINENO: result: no" >&5
9261 echo "${ECHO_T}no" >&6
9262 fi
9263
9264
9265 enablestring=
9266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9267 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9268 no_cache=0
9269 # Check whether --enable-validators or --disable-validators was given.
9270 if test "${enable_validators+set}" = set; then
9271 enableval="$enable_validators"
9272
9273 if test "$enableval" = yes; then
9274 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9275 else
9276 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9277 fi
9278
9279 else
9280
9281 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9282 if test "x$LINE" != x ; then
9283 eval "DEFAULT_$LINE"
9284 else
9285 no_cache=1
9286 fi
9287
9288 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9289
9290 fi;
9291
9292 eval "$ac_cv_use_validators"
9293 if test "$no_cache" != 1; then
9294 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9295 fi
9296
9297 if test "$wxUSE_VALIDATORS" = yes; then
9298 echo "$as_me:$LINENO: result: yes" >&5
9299 echo "${ECHO_T}yes" >&6
9300 else
9301 echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6
9303 fi
9304
9305
9306 enablestring=
9307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9308 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9309 no_cache=0
9310 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9311 if test "${enable_busyinfo+set}" = set; then
9312 enableval="$enable_busyinfo"
9313
9314 if test "$enableval" = yes; then
9315 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9316 else
9317 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9318 fi
9319
9320 else
9321
9322 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9323 if test "x$LINE" != x ; then
9324 eval "DEFAULT_$LINE"
9325 else
9326 no_cache=1
9327 fi
9328
9329 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9330
9331 fi;
9332
9333 eval "$ac_cv_use_busyinfo"
9334 if test "$no_cache" != 1; then
9335 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9336 fi
9337
9338 if test "$wxUSE_BUSYINFO" = yes; then
9339 echo "$as_me:$LINENO: result: yes" >&5
9340 echo "${ECHO_T}yes" >&6
9341 else
9342 echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6
9344 fi
9345
9346
9347 enablestring=
9348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9349 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9350 no_cache=0
9351 # Check whether --enable-joystick or --disable-joystick was given.
9352 if test "${enable_joystick+set}" = set; then
9353 enableval="$enable_joystick"
9354
9355 if test "$enableval" = yes; then
9356 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9357 else
9358 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9359 fi
9360
9361 else
9362
9363 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9364 if test "x$LINE" != x ; then
9365 eval "DEFAULT_$LINE"
9366 else
9367 no_cache=1
9368 fi
9369
9370 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9371
9372 fi;
9373
9374 eval "$ac_cv_use_joystick"
9375 if test "$no_cache" != 1; then
9376 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9377 fi
9378
9379 if test "$wxUSE_JOYSTICK" = yes; then
9380 echo "$as_me:$LINENO: result: yes" >&5
9381 echo "${ECHO_T}yes" >&6
9382 else
9383 echo "$as_me:$LINENO: result: no" >&5
9384 echo "${ECHO_T}no" >&6
9385 fi
9386
9387
9388 enablestring=
9389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9390 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9391 no_cache=0
9392 # Check whether --enable-metafile or --disable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval="$enable_metafile"
9395
9396 if test "$enableval" = yes; then
9397 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9398 else
9399 ac_cv_use_metafile='wxUSE_METAFILE=no'
9400 fi
9401
9402 else
9403
9404 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9405 if test "x$LINE" != x ; then
9406 eval "DEFAULT_$LINE"
9407 else
9408 no_cache=1
9409 fi
9410
9411 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9412
9413 fi;
9414
9415 eval "$ac_cv_use_metafile"
9416 if test "$no_cache" != 1; then
9417 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9418 fi
9419
9420 if test "$wxUSE_METAFILE" = yes; then
9421 echo "$as_me:$LINENO: result: yes" >&5
9422 echo "${ECHO_T}yes" >&6
9423 else
9424 echo "$as_me:$LINENO: result: no" >&5
9425 echo "${ECHO_T}no" >&6
9426 fi
9427
9428
9429 enablestring=
9430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9432 no_cache=0
9433 # Check whether --enable-dragimage or --disable-dragimage was given.
9434 if test "${enable_dragimage+set}" = set; then
9435 enableval="$enable_dragimage"
9436
9437 if test "$enableval" = yes; then
9438 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9439 else
9440 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9441 fi
9442
9443 else
9444
9445 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9446 if test "x$LINE" != x ; then
9447 eval "DEFAULT_$LINE"
9448 else
9449 no_cache=1
9450 fi
9451
9452 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9453
9454 fi;
9455
9456 eval "$ac_cv_use_dragimage"
9457 if test "$no_cache" != 1; then
9458 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9459 fi
9460
9461 if test "$wxUSE_DRAGIMAGE" = yes; then
9462 echo "$as_me:$LINENO: result: yes" >&5
9463 echo "${ECHO_T}yes" >&6
9464 else
9465 echo "$as_me:$LINENO: result: no" >&5
9466 echo "${ECHO_T}no" >&6
9467 fi
9468
9469
9470 enablestring=
9471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9472 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9473 no_cache=0
9474 # Check whether --enable-accessibility or --disable-accessibility was given.
9475 if test "${enable_accessibility+set}" = set; then
9476 enableval="$enable_accessibility"
9477
9478 if test "$enableval" = yes; then
9479 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9480 else
9481 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9482 fi
9483
9484 else
9485
9486 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9487 if test "x$LINE" != x ; then
9488 eval "DEFAULT_$LINE"
9489 else
9490 no_cache=1
9491 fi
9492
9493 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9494
9495 fi;
9496
9497 eval "$ac_cv_use_accessibility"
9498 if test "$no_cache" != 1; then
9499 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9500 fi
9501
9502 if test "$wxUSE_ACCESSIBILITY" = yes; then
9503 echo "$as_me:$LINENO: result: yes" >&5
9504 echo "${ECHO_T}yes" >&6
9505 else
9506 echo "$as_me:$LINENO: result: no" >&5
9507 echo "${ECHO_T}no" >&6
9508 fi
9509
9510
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-palette or --disable-palette was given.
9518 if test "${enable_palette+set}" = set; then
9519 enableval="$enable_palette"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_palette='wxUSE_PALETTE=yes'
9523 else
9524 ac_cv_use_palette='wxUSE_PALETTE=no'
9525 fi
9526
9527 else
9528
9529 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 else
9533 no_cache=1
9534 fi
9535
9536 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9537
9538 fi;
9539
9540 eval "$ac_cv_use_palette"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_PALETTE" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554 enablestring=
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9557 no_cache=0
9558 # Check whether --enable-image or --disable-image was given.
9559 if test "${enable_image+set}" = set; then
9560 enableval="$enable_image"
9561
9562 if test "$enableval" = yes; then
9563 ac_cv_use_image='wxUSE_IMAGE=yes'
9564 else
9565 ac_cv_use_image='wxUSE_IMAGE=no'
9566 fi
9567
9568 else
9569
9570 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 else
9574 no_cache=1
9575 fi
9576
9577 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9578
9579 fi;
9580
9581 eval "$ac_cv_use_image"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9584 fi
9585
9586 if test "$wxUSE_IMAGE" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9589 else
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9592 fi
9593
9594
9595 enablestring=
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9598 no_cache=0
9599 # Check whether --enable-gif or --disable-gif was given.
9600 if test "${enable_gif+set}" = set; then
9601 enableval="$enable_gif"
9602
9603 if test "$enableval" = yes; then
9604 ac_cv_use_gif='wxUSE_GIF=yes'
9605 else
9606 ac_cv_use_gif='wxUSE_GIF=no'
9607 fi
9608
9609 else
9610
9611 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x ; then
9613 eval "DEFAULT_$LINE"
9614 else
9615 no_cache=1
9616 fi
9617
9618 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9619
9620 fi;
9621
9622 eval "$ac_cv_use_gif"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9625 fi
9626
9627 if test "$wxUSE_GIF" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9630 else
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9633 fi
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-pcx or --disable-pcx was given.
9641 if test "${enable_pcx+set}" = set; then
9642 enableval="$enable_pcx"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_pcx='wxUSE_PCX=yes'
9646 else
9647 ac_cv_use_pcx='wxUSE_PCX=no'
9648 fi
9649
9650 else
9651
9652 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9660
9661 fi;
9662
9663 eval "$ac_cv_use_pcx"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_PCX" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9674 fi
9675
9676
9677 enablestring=
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9680 no_cache=0
9681 # Check whether --enable-iff or --disable-iff was given.
9682 if test "${enable_iff+set}" = set; then
9683 enableval="$enable_iff"
9684
9685 if test "$enableval" = yes; then
9686 ac_cv_use_iff='wxUSE_IFF=yes'
9687 else
9688 ac_cv_use_iff='wxUSE_IFF=no'
9689 fi
9690
9691 else
9692
9693 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x ; then
9695 eval "DEFAULT_$LINE"
9696 else
9697 no_cache=1
9698 fi
9699
9700 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9701
9702 fi;
9703
9704 eval "$ac_cv_use_iff"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9707 fi
9708
9709 if test "$wxUSE_IFF" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9712 else
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9715 fi
9716
9717
9718 enablestring=
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9721 no_cache=0
9722 # Check whether --enable-pnm or --disable-pnm was given.
9723 if test "${enable_pnm+set}" = set; then
9724 enableval="$enable_pnm"
9725
9726 if test "$enableval" = yes; then
9727 ac_cv_use_pnm='wxUSE_PNM=yes'
9728 else
9729 ac_cv_use_pnm='wxUSE_PNM=no'
9730 fi
9731
9732 else
9733
9734 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x ; then
9736 eval "DEFAULT_$LINE"
9737 else
9738 no_cache=1
9739 fi
9740
9741 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9742
9743 fi;
9744
9745 eval "$ac_cv_use_pnm"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9748 fi
9749
9750 if test "$wxUSE_PNM" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9753 else
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9756 fi
9757
9758
9759 enablestring=
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9762 no_cache=0
9763 # Check whether --enable-xpm or --disable-xpm was given.
9764 if test "${enable_xpm+set}" = set; then
9765 enableval="$enable_xpm"
9766
9767 if test "$enableval" = yes; then
9768 ac_cv_use_xpm='wxUSE_XPM=yes'
9769 else
9770 ac_cv_use_xpm='wxUSE_XPM=no'
9771 fi
9772
9773 else
9774
9775 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x ; then
9777 eval "DEFAULT_$LINE"
9778 else
9779 no_cache=1
9780 fi
9781
9782 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9783
9784 fi;
9785
9786 eval "$ac_cv_use_xpm"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9789 fi
9790
9791 if test "$wxUSE_XPM" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9794 else
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9797 fi
9798
9799
9800 enablestring=
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9803 no_cache=0
9804 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9805 if test "${enable_ico_cur+set}" = set; then
9806 enableval="$enable_ico_cur"
9807
9808 if test "$enableval" = yes; then
9809 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9810 else
9811 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9812 fi
9813
9814 else
9815
9816 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x ; then
9818 eval "DEFAULT_$LINE"
9819 else
9820 no_cache=1
9821 fi
9822
9823 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9824
9825 fi;
9826
9827 eval "$ac_cv_use_ico_cur"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9830 fi
9831
9832 if test "$wxUSE_ICO_CUR" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9835 else
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9838 fi
9839
9840
9841 fi
9842
9843
9844
9845 enablestring=
9846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9847 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9848 no_cache=0
9849 # Check whether --enable-official_build or --disable-official_build was given.
9850 if test "${enable_official_build+set}" = set; then
9851 enableval="$enable_official_build"
9852
9853 if test "$enableval" = yes; then
9854 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9855 else
9856 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9857 fi
9858
9859 else
9860
9861 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9862 if test "x$LINE" != x ; then
9863 eval "DEFAULT_$LINE"
9864 else
9865 no_cache=1
9866 fi
9867
9868 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9869
9870 fi;
9871
9872 eval "$ac_cv_use_official_build"
9873 if test "$no_cache" != 1; then
9874 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9875 fi
9876
9877 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9878 echo "$as_me:$LINENO: result: yes" >&5
9879 echo "${ECHO_T}yes" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9883 fi
9884
9885 # Check whether --enable-vendor or --disable-vendor was given.
9886 if test "${enable_vendor+set}" = set; then
9887 enableval="$enable_vendor"
9888 VENDOR="$enableval"
9889 fi;
9890 if test "x$VENDOR" = "x"; then
9891 VENDOR="custom"
9892 fi
9893
9894 case "${host}" in
9895 *-pc-os2_emx | *-pc-os2-emx )
9896 PATH_IFS=';'
9897 ;;
9898 *)
9899 PATH_IFS=':'
9900 ;;
9901 esac
9902
9903
9904
9905 echo "saving argument cache $wx_arg_cache_file"
9906 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9907
9908
9909
9910 echo "$as_me:$LINENO: checking for toolkit" >&5
9911 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9912
9913 # In Wine, we need to default to MSW, not GTK or MOTIF
9914 if test "$wxUSE_WINE" = "yes"; then
9915 DEFAULT_DEFAULT_wxUSE_GTK=0
9916 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9917 DEFAULT_DEFAULT_wxUSE_MSW=1
9918 wxUSE_SHARED=no
9919 fi
9920
9921 if test "$wxUSE_GUI" = "yes"; then
9922
9923 if test "$USE_BEOS" = 1; then
9924 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9925 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9926 { (exit 1); exit 1; }; }
9927 fi
9928
9929 if test "$TOOLKIT_GIVEN" = 1; then
9930 for toolkit in `echo $ALL_TOOLKITS`; do
9931 var=wxUSE_$toolkit
9932 eval "value=\$${var}"
9933 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9934 done
9935 else
9936 for toolkit in `echo $ALL_TOOLKITS`; do
9937 if test "$has_toolkit_in_cache" != 1; then
9938 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9939 else
9940 var=DEFAULT_wxUSE_$toolkit
9941 fi
9942 eval "wxUSE_$toolkit=\$${var}"
9943 done
9944 fi
9945
9946 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9947 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9948 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9949
9950 case "${host}" in
9951 *-pc-os2_emx | *-pc-os2-emx )
9952 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9953 esac
9954
9955 case "$NUM_TOOLKITS" in
9956 1)
9957 ;;
9958 0)
9959 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9960 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9961 { (exit 1); exit 1; }; }
9962 ;;
9963 *)
9964 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9965 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9966 { (exit 1); exit 1; }; }
9967 esac
9968
9969 for toolkit in `echo $ALL_TOOLKITS`; do
9970 var=wxUSE_$toolkit
9971 eval "value=\$${var}"
9972 if test "x$value" != x; then
9973 cache_var=CACHE_$toolkit
9974 eval "cache=\$${cache_var}"
9975 if test "$cache" = 1; then
9976 echo "$var=$value" >> ${wx_arg_cache_file}
9977 fi
9978 if test "$value" = 1; then
9979 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9980 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9981 echo "${ECHO_T}$toolkit_echo" >&6
9982 fi
9983 fi
9984 done
9985 else
9986 if test "x$host_alias" != "x"; then
9987 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9988 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9989 else
9990 echo "$as_me:$LINENO: result: base only" >&5
9991 echo "${ECHO_T}base only" >&6
9992 fi
9993 fi
9994
9995 wants_win32=0
9996 doesnt_want_win32=0
9997 case "${host}" in
9998 *-*-cygwin*)
9999 if test "$wxUSE_MSW" = 1 ; then
10000 wants_win32=1
10001 else
10002 doesnt_want_win32=1
10003 fi
10004 ;;
10005 *-*-mingw*)
10006 wants_win32=1
10007 ;;
10008 esac
10009
10010 if test "$wxUSE_WINE" = "yes"; then
10011 wants_win32=1
10012 CC=winegcc
10013 CXX=wineg++
10014 RESCOMP=wrc
10015 LDFLAGS_GUI="-mwindows"
10016 fi
10017
10018 if test "$wants_win32" = 1 ; then
10019 USE_UNIX=0
10020 USE_WIN32=1
10021 cat >>confdefs.h <<\_ACEOF
10022 #define __WIN32__ 1
10023 _ACEOF
10024
10025 cat >>confdefs.h <<\_ACEOF
10026 #define __WIN95__ 1
10027 _ACEOF
10028
10029 cat >>confdefs.h <<\_ACEOF
10030 #define __WINDOWS__ 1
10031 _ACEOF
10032
10033 cat >>confdefs.h <<\_ACEOF
10034 #define __GNUWIN32__ 1
10035 _ACEOF
10036
10037 cat >>confdefs.h <<\_ACEOF
10038 #define STRICT 1
10039 _ACEOF
10040
10041 cat >>confdefs.h <<\_ACEOF
10042 #define WINVER 0x0400
10043 _ACEOF
10044
10045 fi
10046 if test "$doesnt_want_win32" = 1 ; then
10047 USE_UNIX=1
10048 USE_WIN32=0
10049 fi
10050
10051 if test "$USE_UNIX" = 1 ; then
10052 wxUSE_UNIX=yes
10053 cat >>confdefs.h <<\_ACEOF
10054 #define __UNIX__ 1
10055 _ACEOF
10056
10057 fi
10058
10059
10060 cat >confcache <<\_ACEOF
10061 # This file is a shell script that caches the results of configure
10062 # tests run on this system so they can be shared between configure
10063 # scripts and configure runs, see configure's option --config-cache.
10064 # It is not useful on other systems. If it contains results you don't
10065 # want to keep, you may remove or edit it.
10066 #
10067 # config.status only pays attention to the cache file if you give it
10068 # the --recheck option to rerun configure.
10069 #
10070 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10071 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10072 # following values.
10073
10074 _ACEOF
10075
10076 # The following way of writing the cache mishandles newlines in values,
10077 # but we know of no workaround that is simple, portable, and efficient.
10078 # So, don't put newlines in cache variables' values.
10079 # Ultrix sh set writes to stderr and can't be redirected directly,
10080 # and sets the high bit in the cache file unless we assign to the vars.
10081 {
10082 (set) 2>&1 |
10083 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10084 *ac_space=\ *)
10085 # `set' does not quote correctly, so add quotes (double-quote
10086 # substitution turns \\\\ into \\, and sed turns \\ into \).
10087 sed -n \
10088 "s/'/'\\\\''/g;
10089 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10090 ;;
10091 *)
10092 # `set' quotes correctly as required by POSIX, so do not add quotes.
10093 sed -n \
10094 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10095 ;;
10096 esac;
10097 } |
10098 sed '
10099 t clear
10100 : clear
10101 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10102 t end
10103 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10104 : end' >>confcache
10105 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10106 if test -w $cache_file; then
10107 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10108 cat confcache >$cache_file
10109 else
10110 echo "not updating unwritable cache $cache_file"
10111 fi
10112 fi
10113 rm -f confcache
10114
10115 if test "$build" != "$host" ; then
10116 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10117 CC=$host_alias-gcc
10118 CXX=$host_alias-c++
10119 AR=$host_alias-ar
10120 RANLIB=$host_alias-ranlib
10121 DLLTOOL=$host_alias-dlltool
10122 RESCOMP=$host_alias-windres
10123 LD=$host_alias-ld
10124 NM=$host_alias-nm
10125 STRIP=$host_alias-strip
10126 else
10127 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10128 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10129 { (exit 1); exit 1; }; }
10130 fi
10131 fi
10132
10133 CFLAGS=${CFLAGS:=}
10134 ac_ext=c
10135 ac_cpp='$CPP $CPPFLAGS'
10136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10139 if test -n "$ac_tool_prefix"; then
10140 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10141 set dummy ${ac_tool_prefix}gcc; 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_CC+set}" = set; then
10145 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 else
10147 if test -n "$CC"; then
10148 ac_cv_prog_CC="$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_CC="${ac_tool_prefix}gcc"
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 CC=$ac_cv_prog_CC
10167 if test -n "$CC"; then
10168 echo "$as_me:$LINENO: result: $CC" >&5
10169 echo "${ECHO_T}$CC" >&6
10170 else
10171 echo "$as_me:$LINENO: result: no" >&5
10172 echo "${ECHO_T}no" >&6
10173 fi
10174
10175 fi
10176 if test -z "$ac_cv_prog_CC"; then
10177 ac_ct_CC=$CC
10178 # Extract the first word of "gcc", so it can be a program name with args.
10179 set dummy gcc; ac_word=$2
10180 echo "$as_me:$LINENO: checking for $ac_word" >&5
10181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10182 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10183 echo $ECHO_N "(cached) $ECHO_C" >&6
10184 else
10185 if test -n "$ac_ct_CC"; then
10186 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10187 else
10188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10189 for as_dir in $PATH
10190 do
10191 IFS=$as_save_IFS
10192 test -z "$as_dir" && as_dir=.
10193 for ac_exec_ext in '' $ac_executable_extensions; do
10194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10195 ac_cv_prog_ac_ct_CC="gcc"
10196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10197 break 2
10198 fi
10199 done
10200 done
10201
10202 fi
10203 fi
10204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10205 if test -n "$ac_ct_CC"; then
10206 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10207 echo "${ECHO_T}$ac_ct_CC" >&6
10208 else
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10211 fi
10212
10213 CC=$ac_ct_CC
10214 else
10215 CC="$ac_cv_prog_CC"
10216 fi
10217
10218 if test -z "$CC"; then
10219 if test -n "$ac_tool_prefix"; then
10220 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10221 set dummy ${ac_tool_prefix}cc; ac_word=$2
10222 echo "$as_me:$LINENO: checking for $ac_word" >&5
10223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10224 if test "${ac_cv_prog_CC+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 else
10227 if test -n "$CC"; then
10228 ac_cv_prog_CC="$CC" # Let the user override the test.
10229 else
10230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10231 for as_dir in $PATH
10232 do
10233 IFS=$as_save_IFS
10234 test -z "$as_dir" && as_dir=.
10235 for ac_exec_ext in '' $ac_executable_extensions; do
10236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10237 ac_cv_prog_CC="${ac_tool_prefix}cc"
10238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10239 break 2
10240 fi
10241 done
10242 done
10243
10244 fi
10245 fi
10246 CC=$ac_cv_prog_CC
10247 if test -n "$CC"; then
10248 echo "$as_me:$LINENO: result: $CC" >&5
10249 echo "${ECHO_T}$CC" >&6
10250 else
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10253 fi
10254
10255 fi
10256 if test -z "$ac_cv_prog_CC"; then
10257 ac_ct_CC=$CC
10258 # Extract the first word of "cc", so it can be a program name with args.
10259 set dummy cc; ac_word=$2
10260 echo "$as_me:$LINENO: checking for $ac_word" >&5
10261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 else
10265 if test -n "$ac_ct_CC"; then
10266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10267 else
10268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10269 for as_dir in $PATH
10270 do
10271 IFS=$as_save_IFS
10272 test -z "$as_dir" && as_dir=.
10273 for ac_exec_ext in '' $ac_executable_extensions; do
10274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10275 ac_cv_prog_ac_ct_CC="cc"
10276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10277 break 2
10278 fi
10279 done
10280 done
10281
10282 fi
10283 fi
10284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10285 if test -n "$ac_ct_CC"; then
10286 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10287 echo "${ECHO_T}$ac_ct_CC" >&6
10288 else
10289 echo "$as_me:$LINENO: result: no" >&5
10290 echo "${ECHO_T}no" >&6
10291 fi
10292
10293 CC=$ac_ct_CC
10294 else
10295 CC="$ac_cv_prog_CC"
10296 fi
10297
10298 fi
10299 if test -z "$CC"; then
10300 # Extract the first word of "cc", so it can be a program name with args.
10301 set dummy cc; ac_word=$2
10302 echo "$as_me:$LINENO: checking for $ac_word" >&5
10303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10304 if test "${ac_cv_prog_CC+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 else
10307 if test -n "$CC"; then
10308 ac_cv_prog_CC="$CC" # Let the user override the test.
10309 else
10310 ac_prog_rejected=no
10311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10312 for as_dir in $PATH
10313 do
10314 IFS=$as_save_IFS
10315 test -z "$as_dir" && as_dir=.
10316 for ac_exec_ext in '' $ac_executable_extensions; do
10317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10318 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10319 ac_prog_rejected=yes
10320 continue
10321 fi
10322 ac_cv_prog_CC="cc"
10323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10324 break 2
10325 fi
10326 done
10327 done
10328
10329 if test $ac_prog_rejected = yes; then
10330 # We found a bogon in the path, so make sure we never use it.
10331 set dummy $ac_cv_prog_CC
10332 shift
10333 if test $# != 0; then
10334 # We chose a different compiler from the bogus one.
10335 # However, it has the same basename, so the bogon will be chosen
10336 # first if we set CC to just the basename; use the full file name.
10337 shift
10338 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10339 fi
10340 fi
10341 fi
10342 fi
10343 CC=$ac_cv_prog_CC
10344 if test -n "$CC"; then
10345 echo "$as_me:$LINENO: result: $CC" >&5
10346 echo "${ECHO_T}$CC" >&6
10347 else
10348 echo "$as_me:$LINENO: result: no" >&5
10349 echo "${ECHO_T}no" >&6
10350 fi
10351
10352 fi
10353 if test -z "$CC"; then
10354 if test -n "$ac_tool_prefix"; then
10355 for ac_prog in cl
10356 do
10357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10359 echo "$as_me:$LINENO: checking for $ac_word" >&5
10360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10361 if test "${ac_cv_prog_CC+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 else
10364 if test -n "$CC"; then
10365 ac_cv_prog_CC="$CC" # Let the user override the test.
10366 else
10367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10368 for as_dir in $PATH
10369 do
10370 IFS=$as_save_IFS
10371 test -z "$as_dir" && as_dir=.
10372 for ac_exec_ext in '' $ac_executable_extensions; do
10373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10374 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10376 break 2
10377 fi
10378 done
10379 done
10380
10381 fi
10382 fi
10383 CC=$ac_cv_prog_CC
10384 if test -n "$CC"; then
10385 echo "$as_me:$LINENO: result: $CC" >&5
10386 echo "${ECHO_T}$CC" >&6
10387 else
10388 echo "$as_me:$LINENO: result: no" >&5
10389 echo "${ECHO_T}no" >&6
10390 fi
10391
10392 test -n "$CC" && break
10393 done
10394 fi
10395 if test -z "$CC"; then
10396 ac_ct_CC=$CC
10397 for ac_prog in cl
10398 do
10399 # Extract the first word of "$ac_prog", so it can be a program name with args.
10400 set dummy $ac_prog; ac_word=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 else
10406 if test -n "$ac_ct_CC"; then
10407 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10408 else
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10411 do
10412 IFS=$as_save_IFS
10413 test -z "$as_dir" && as_dir=.
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_ac_ct_CC="$ac_prog"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10418 break 2
10419 fi
10420 done
10421 done
10422
10423 fi
10424 fi
10425 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10426 if test -n "$ac_ct_CC"; then
10427 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10428 echo "${ECHO_T}$ac_ct_CC" >&6
10429 else
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10432 fi
10433
10434 test -n "$ac_ct_CC" && break
10435 done
10436
10437 CC=$ac_ct_CC
10438 fi
10439
10440 fi
10441
10442
10443 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10444 See \`config.log' for more details." >&5
10445 echo "$as_me: error: no acceptable C compiler found in \$PATH
10446 See \`config.log' for more details." >&2;}
10447 { (exit 1); exit 1; }; }
10448
10449 # Provide some information about the compiler.
10450 echo "$as_me:$LINENO:" \
10451 "checking for C compiler version" >&5
10452 ac_compiler=`set X $ac_compile; echo $2`
10453 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10454 (eval $ac_compiler --version </dev/null >&5) 2>&5
10455 ac_status=$?
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }
10458 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10459 (eval $ac_compiler -v </dev/null >&5) 2>&5
10460 ac_status=$?
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); }
10463 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10464 (eval $ac_compiler -V </dev/null >&5) 2>&5
10465 ac_status=$?
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }
10468
10469 cat >conftest.$ac_ext <<_ACEOF
10470 /* confdefs.h. */
10471 _ACEOF
10472 cat confdefs.h >>conftest.$ac_ext
10473 cat >>conftest.$ac_ext <<_ACEOF
10474 /* end confdefs.h. */
10475
10476 int
10477 main ()
10478 {
10479
10480 ;
10481 return 0;
10482 }
10483 _ACEOF
10484 ac_clean_files_save=$ac_clean_files
10485 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10486 # Try to create an executable without -o first, disregard a.out.
10487 # It will help us diagnose broken compilers, and finding out an intuition
10488 # of exeext.
10489 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10490 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10491 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10492 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10493 (eval $ac_link_default) 2>&5
10494 ac_status=$?
10495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10496 (exit $ac_status); }; then
10497 # Find the output, starting from the most likely. This scheme is
10498 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10499 # resort.
10500
10501 # Be careful to initialize this variable, since it used to be cached.
10502 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10503 ac_cv_exeext=
10504 # b.out is created by i960 compilers.
10505 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10506 do
10507 test -f "$ac_file" || continue
10508 case $ac_file in
10509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10510 ;;
10511 conftest.$ac_ext )
10512 # This is the source file.
10513 ;;
10514 [ab].out )
10515 # We found the default executable, but exeext='' is most
10516 # certainly right.
10517 break;;
10518 *.* )
10519 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10520 # FIXME: I believe we export ac_cv_exeext for Libtool,
10521 # but it would be cool to find out if it's true. Does anybody
10522 # maintain Libtool? --akim.
10523 export ac_cv_exeext
10524 break;;
10525 * )
10526 break;;
10527 esac
10528 done
10529 else
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.$ac_ext >&5
10532
10533 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10534 See \`config.log' for more details." >&5
10535 echo "$as_me: error: C compiler cannot create executables
10536 See \`config.log' for more details." >&2;}
10537 { (exit 77); exit 77; }; }
10538 fi
10539
10540 ac_exeext=$ac_cv_exeext
10541 echo "$as_me:$LINENO: result: $ac_file" >&5
10542 echo "${ECHO_T}$ac_file" >&6
10543
10544 # Check the compiler produces executables we can run. If not, either
10545 # the compiler is broken, or we cross compile.
10546 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10547 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10548 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10549 # If not cross compiling, check that we can run a simple program.
10550 if test "$cross_compiling" != yes; then
10551 if { ac_try='./$ac_file'
10552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553 (eval $ac_try) 2>&5
10554 ac_status=$?
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); }; }; then
10557 cross_compiling=no
10558 else
10559 if test "$cross_compiling" = maybe; then
10560 cross_compiling=yes
10561 else
10562 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10563 If you meant to cross compile, use \`--host'.
10564 See \`config.log' for more details." >&5
10565 echo "$as_me: error: cannot run C compiled programs.
10566 If you meant to cross compile, use \`--host'.
10567 See \`config.log' for more details." >&2;}
10568 { (exit 1); exit 1; }; }
10569 fi
10570 fi
10571 fi
10572 echo "$as_me:$LINENO: result: yes" >&5
10573 echo "${ECHO_T}yes" >&6
10574
10575 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10576 ac_clean_files=$ac_clean_files_save
10577 # Check the compiler produces executables we can run. If not, either
10578 # the compiler is broken, or we cross compile.
10579 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10580 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10581 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10582 echo "${ECHO_T}$cross_compiling" >&6
10583
10584 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10585 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>&5
10588 ac_status=$?
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); }; then
10591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10593 # work properly (i.e., refer to `conftest.exe'), while it won't with
10594 # `rm'.
10595 for ac_file in conftest.exe conftest conftest.*; do
10596 test -f "$ac_file" || continue
10597 case $ac_file in
10598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10600 export ac_cv_exeext
10601 break;;
10602 * ) break;;
10603 esac
10604 done
10605 else
10606 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10607 See \`config.log' for more details." >&5
10608 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10609 See \`config.log' for more details." >&2;}
10610 { (exit 1); exit 1; }; }
10611 fi
10612
10613 rm -f conftest$ac_cv_exeext
10614 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10615 echo "${ECHO_T}$ac_cv_exeext" >&6
10616
10617 rm -f conftest.$ac_ext
10618 EXEEXT=$ac_cv_exeext
10619 ac_exeext=$EXEEXT
10620 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10621 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10622 if test "${ac_cv_objext+set}" = set; then
10623 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 else
10625 cat >conftest.$ac_ext <<_ACEOF
10626 /* confdefs.h. */
10627 _ACEOF
10628 cat confdefs.h >>conftest.$ac_ext
10629 cat >>conftest.$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10631
10632 int
10633 main ()
10634 {
10635
10636 ;
10637 return 0;
10638 }
10639 _ACEOF
10640 rm -f conftest.o conftest.obj
10641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10642 (eval $ac_compile) 2>&5
10643 ac_status=$?
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }; then
10646 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10647 case $ac_file in
10648 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10649 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10650 break;;
10651 esac
10652 done
10653 else
10654 echo "$as_me: failed program was:" >&5
10655 sed 's/^/| /' conftest.$ac_ext >&5
10656
10657 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10658 See \`config.log' for more details." >&5
10659 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10660 See \`config.log' for more details." >&2;}
10661 { (exit 1); exit 1; }; }
10662 fi
10663
10664 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10665 fi
10666 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10667 echo "${ECHO_T}$ac_cv_objext" >&6
10668 OBJEXT=$ac_cv_objext
10669 ac_objext=$OBJEXT
10670 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10671 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10672 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10674 else
10675 cat >conftest.$ac_ext <<_ACEOF
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681
10682 int
10683 main ()
10684 {
10685 #ifndef __GNUC__
10686 choke me
10687 #endif
10688
10689 ;
10690 return 0;
10691 }
10692 _ACEOF
10693 rm -f conftest.$ac_objext
10694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10695 (eval $ac_compile) 2>conftest.er1
10696 ac_status=$?
10697 grep -v '^ *+' conftest.er1 >conftest.err
10698 rm -f conftest.er1
10699 cat conftest.err >&5
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); } &&
10702 { ac_try='test -z "$ac_c_werror_flag"
10703 || test ! -s conftest.err'
10704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705 (eval $ac_try) 2>&5
10706 ac_status=$?
10707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); }; } &&
10709 { ac_try='test -s conftest.$ac_objext'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10712 ac_status=$?
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; }; then
10715 ac_compiler_gnu=yes
10716 else
10717 echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.$ac_ext >&5
10719
10720 ac_compiler_gnu=no
10721 fi
10722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10723 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10724
10725 fi
10726 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10727 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10728 GCC=`test $ac_compiler_gnu = yes && echo yes`
10729 ac_test_CFLAGS=${CFLAGS+set}
10730 ac_save_CFLAGS=$CFLAGS
10731 CFLAGS="-g"
10732 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10733 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10734 if test "${ac_cv_prog_cc_g+set}" = set; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 else
10737 cat >conftest.$ac_ext <<_ACEOF
10738 /* confdefs.h. */
10739 _ACEOF
10740 cat confdefs.h >>conftest.$ac_ext
10741 cat >>conftest.$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10743
10744 int
10745 main ()
10746 {
10747
10748 ;
10749 return 0;
10750 }
10751 _ACEOF
10752 rm -f conftest.$ac_objext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10754 (eval $ac_compile) 2>conftest.er1
10755 ac_status=$?
10756 grep -v '^ *+' conftest.er1 >conftest.err
10757 rm -f conftest.er1
10758 cat conftest.err >&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } &&
10761 { ac_try='test -z "$ac_c_werror_flag"
10762 || test ! -s conftest.err'
10763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10764 (eval $ac_try) 2>&5
10765 ac_status=$?
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); }; } &&
10768 { ac_try='test -s conftest.$ac_objext'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10771 ac_status=$?
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; }; then
10774 ac_cv_prog_cc_g=yes
10775 else
10776 echo "$as_me: failed program was:" >&5
10777 sed 's/^/| /' conftest.$ac_ext >&5
10778
10779 ac_cv_prog_cc_g=no
10780 fi
10781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10782 fi
10783 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10784 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10785 if test "$ac_test_CFLAGS" = set; then
10786 CFLAGS=$ac_save_CFLAGS
10787 elif test $ac_cv_prog_cc_g = yes; then
10788 if test "$GCC" = yes; then
10789 CFLAGS="-g -O2"
10790 else
10791 CFLAGS="-g"
10792 fi
10793 else
10794 if test "$GCC" = yes; then
10795 CFLAGS="-O2"
10796 else
10797 CFLAGS=
10798 fi
10799 fi
10800 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10801 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10802 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10803 echo $ECHO_N "(cached) $ECHO_C" >&6
10804 else
10805 ac_cv_prog_cc_stdc=no
10806 ac_save_CC=$CC
10807 cat >conftest.$ac_ext <<_ACEOF
10808 /* confdefs.h. */
10809 _ACEOF
10810 cat confdefs.h >>conftest.$ac_ext
10811 cat >>conftest.$ac_ext <<_ACEOF
10812 /* end confdefs.h. */
10813 #include <stdarg.h>
10814 #include <stdio.h>
10815 #include <sys/types.h>
10816 #include <sys/stat.h>
10817 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10818 struct buf { int x; };
10819 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10820 static char *e (p, i)
10821 char **p;
10822 int i;
10823 {
10824 return p[i];
10825 }
10826 static char *f (char * (*g) (char **, int), char **p, ...)
10827 {
10828 char *s;
10829 va_list v;
10830 va_start (v,p);
10831 s = g (p, va_arg (v,int));
10832 va_end (v);
10833 return s;
10834 }
10835
10836 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10837 function prototypes and stuff, but not '\xHH' hex character constants.
10838 These don't provoke an error unfortunately, instead are silently treated
10839 as 'x'. The following induces an error, until -std1 is added to get
10840 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10841 array size at least. It's necessary to write '\x00'==0 to get something
10842 that's true only with -std1. */
10843 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10844
10845 int test (int i, double x);
10846 struct s1 {int (*f) (int a);};
10847 struct s2 {int (*f) (double a);};
10848 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10849 int argc;
10850 char **argv;
10851 int
10852 main ()
10853 {
10854 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10855 ;
10856 return 0;
10857 }
10858 _ACEOF
10859 # Don't try gcc -ansi; that turns off useful extensions and
10860 # breaks some systems' header files.
10861 # AIX -qlanglvl=ansi
10862 # Ultrix and OSF/1 -std1
10863 # HP-UX 10.20 and later -Ae
10864 # HP-UX older versions -Aa -D_HPUX_SOURCE
10865 # SVR4 -Xc -D__EXTENSIONS__
10866 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10867 do
10868 CC="$ac_save_CC $ac_arg"
10869 rm -f conftest.$ac_objext
10870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10871 (eval $ac_compile) 2>conftest.er1
10872 ac_status=$?
10873 grep -v '^ *+' conftest.er1 >conftest.err
10874 rm -f conftest.er1
10875 cat conftest.err >&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); } &&
10878 { ac_try='test -z "$ac_c_werror_flag"
10879 || test ! -s conftest.err'
10880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10881 (eval $ac_try) 2>&5
10882 ac_status=$?
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); }; } &&
10885 { ac_try='test -s conftest.$ac_objext'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10888 ac_status=$?
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; }; then
10891 ac_cv_prog_cc_stdc=$ac_arg
10892 break
10893 else
10894 echo "$as_me: failed program was:" >&5
10895 sed 's/^/| /' conftest.$ac_ext >&5
10896
10897 fi
10898 rm -f conftest.err conftest.$ac_objext
10899 done
10900 rm -f conftest.$ac_ext conftest.$ac_objext
10901 CC=$ac_save_CC
10902
10903 fi
10904
10905 case "x$ac_cv_prog_cc_stdc" in
10906 x|xno)
10907 echo "$as_me:$LINENO: result: none needed" >&5
10908 echo "${ECHO_T}none needed" >&6 ;;
10909 *)
10910 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10911 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10912 CC="$CC $ac_cv_prog_cc_stdc" ;;
10913 esac
10914
10915 # Some people use a C++ compiler to compile C. Since we use `exit',
10916 # in C++ we need to declare it. In case someone uses the same compiler
10917 # for both compiling C and C++ we need to have the C++ compiler decide
10918 # the declaration of exit, since it's the most demanding environment.
10919 cat >conftest.$ac_ext <<_ACEOF
10920 #ifndef __cplusplus
10921 choke me
10922 #endif
10923 _ACEOF
10924 rm -f conftest.$ac_objext
10925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10926 (eval $ac_compile) 2>conftest.er1
10927 ac_status=$?
10928 grep -v '^ *+' conftest.er1 >conftest.err
10929 rm -f conftest.er1
10930 cat conftest.err >&5
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); } &&
10933 { ac_try='test -z "$ac_c_werror_flag"
10934 || test ! -s conftest.err'
10935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10936 (eval $ac_try) 2>&5
10937 ac_status=$?
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); }; } &&
10940 { ac_try='test -s conftest.$ac_objext'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; }; then
10946 for ac_declaration in \
10947 '' \
10948 'extern "C" void std::exit (int) throw (); using std::exit;' \
10949 'extern "C" void std::exit (int); using std::exit;' \
10950 'extern "C" void exit (int) throw ();' \
10951 'extern "C" void exit (int);' \
10952 'void exit (int);'
10953 do
10954 cat >conftest.$ac_ext <<_ACEOF
10955 /* confdefs.h. */
10956 _ACEOF
10957 cat confdefs.h >>conftest.$ac_ext
10958 cat >>conftest.$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10960 $ac_declaration
10961 #include <stdlib.h>
10962 int
10963 main ()
10964 {
10965 exit (42);
10966 ;
10967 return 0;
10968 }
10969 _ACEOF
10970 rm -f conftest.$ac_objext
10971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10972 (eval $ac_compile) 2>conftest.er1
10973 ac_status=$?
10974 grep -v '^ *+' conftest.er1 >conftest.err
10975 rm -f conftest.er1
10976 cat conftest.err >&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); } &&
10979 { ac_try='test -z "$ac_c_werror_flag"
10980 || test ! -s conftest.err'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10983 ac_status=$?
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; } &&
10986 { ac_try='test -s conftest.$ac_objext'
10987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10988 (eval $ac_try) 2>&5
10989 ac_status=$?
10990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10991 (exit $ac_status); }; }; then
10992 :
10993 else
10994 echo "$as_me: failed program was:" >&5
10995 sed 's/^/| /' conftest.$ac_ext >&5
10996
10997 continue
10998 fi
10999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11000 cat >conftest.$ac_ext <<_ACEOF
11001 /* confdefs.h. */
11002 _ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 $ac_declaration
11007 int
11008 main ()
11009 {
11010 exit (42);
11011 ;
11012 return 0;
11013 }
11014 _ACEOF
11015 rm -f conftest.$ac_objext
11016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11017 (eval $ac_compile) 2>conftest.er1
11018 ac_status=$?
11019 grep -v '^ *+' conftest.er1 >conftest.err
11020 rm -f conftest.er1
11021 cat conftest.err >&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } &&
11024 { ac_try='test -z "$ac_c_werror_flag"
11025 || test ! -s conftest.err'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11028 ac_status=$?
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; } &&
11031 { ac_try='test -s conftest.$ac_objext'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11034 ac_status=$?
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11037 break
11038 else
11039 echo "$as_me: failed program was:" >&5
11040 sed 's/^/| /' conftest.$ac_ext >&5
11041
11042 fi
11043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11044 done
11045 rm -f conftest*
11046 if test -n "$ac_declaration"; then
11047 echo '#ifdef __cplusplus' >>confdefs.h
11048 echo $ac_declaration >>confdefs.h
11049 echo '#endif' >>confdefs.h
11050 fi
11051
11052 else
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11055
11056 fi
11057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11058 ac_ext=c
11059 ac_cpp='$CPP $CPPFLAGS'
11060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11063
11064
11065
11066 ac_ext=c
11067 ac_cpp='$CPP $CPPFLAGS'
11068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11071 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11072 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11073 # On Suns, sometimes $CPP names a directory.
11074 if test -n "$CPP" && test -d "$CPP"; then
11075 CPP=
11076 fi
11077 if test -z "$CPP"; then
11078 if test "${ac_cv_prog_CPP+set}" = set; then
11079 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 else
11081 # Double quotes because CPP needs to be expanded
11082 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11083 do
11084 ac_preproc_ok=false
11085 for ac_c_preproc_warn_flag in '' yes
11086 do
11087 # Use a header file that comes with gcc, so configuring glibc
11088 # with a fresh cross-compiler works.
11089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11090 # <limits.h> exists even on freestanding compilers.
11091 # On the NeXT, cc -E runs the code through the compiler's parser,
11092 # not just through cpp. "Syntax error" is here to catch this case.
11093 cat >conftest.$ac_ext <<_ACEOF
11094 /* confdefs.h. */
11095 _ACEOF
11096 cat confdefs.h >>conftest.$ac_ext
11097 cat >>conftest.$ac_ext <<_ACEOF
11098 /* end confdefs.h. */
11099 #ifdef __STDC__
11100 # include <limits.h>
11101 #else
11102 # include <assert.h>
11103 #endif
11104 Syntax error
11105 _ACEOF
11106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11108 ac_status=$?
11109 grep -v '^ *+' conftest.er1 >conftest.err
11110 rm -f conftest.er1
11111 cat conftest.err >&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } >/dev/null; then
11114 if test -s conftest.err; then
11115 ac_cpp_err=$ac_c_preproc_warn_flag
11116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11117 else
11118 ac_cpp_err=
11119 fi
11120 else
11121 ac_cpp_err=yes
11122 fi
11123 if test -z "$ac_cpp_err"; then
11124 :
11125 else
11126 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.$ac_ext >&5
11128
11129 # Broken: fails on valid input.
11130 continue
11131 fi
11132 rm -f conftest.err conftest.$ac_ext
11133
11134 # OK, works on sane cases. Now check whether non-existent headers
11135 # can be detected and how.
11136 cat >conftest.$ac_ext <<_ACEOF
11137 /* confdefs.h. */
11138 _ACEOF
11139 cat confdefs.h >>conftest.$ac_ext
11140 cat >>conftest.$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 #include <ac_nonexistent.h>
11143 _ACEOF
11144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11146 ac_status=$?
11147 grep -v '^ *+' conftest.er1 >conftest.err
11148 rm -f conftest.er1
11149 cat conftest.err >&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } >/dev/null; then
11152 if test -s conftest.err; then
11153 ac_cpp_err=$ac_c_preproc_warn_flag
11154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11155 else
11156 ac_cpp_err=
11157 fi
11158 else
11159 ac_cpp_err=yes
11160 fi
11161 if test -z "$ac_cpp_err"; then
11162 # Broken: success on invalid input.
11163 continue
11164 else
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.$ac_ext >&5
11167
11168 # Passes both tests.
11169 ac_preproc_ok=:
11170 break
11171 fi
11172 rm -f conftest.err conftest.$ac_ext
11173
11174 done
11175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11176 rm -f conftest.err conftest.$ac_ext
11177 if $ac_preproc_ok; then
11178 break
11179 fi
11180
11181 done
11182 ac_cv_prog_CPP=$CPP
11183
11184 fi
11185 CPP=$ac_cv_prog_CPP
11186 else
11187 ac_cv_prog_CPP=$CPP
11188 fi
11189 echo "$as_me:$LINENO: result: $CPP" >&5
11190 echo "${ECHO_T}$CPP" >&6
11191 ac_preproc_ok=false
11192 for ac_c_preproc_warn_flag in '' yes
11193 do
11194 # Use a header file that comes with gcc, so configuring glibc
11195 # with a fresh cross-compiler works.
11196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11197 # <limits.h> exists even on freestanding compilers.
11198 # On the NeXT, cc -E runs the code through the compiler's parser,
11199 # not just through cpp. "Syntax error" is here to catch this case.
11200 cat >conftest.$ac_ext <<_ACEOF
11201 /* confdefs.h. */
11202 _ACEOF
11203 cat confdefs.h >>conftest.$ac_ext
11204 cat >>conftest.$ac_ext <<_ACEOF
11205 /* end confdefs.h. */
11206 #ifdef __STDC__
11207 # include <limits.h>
11208 #else
11209 # include <assert.h>
11210 #endif
11211 Syntax error
11212 _ACEOF
11213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11215 ac_status=$?
11216 grep -v '^ *+' conftest.er1 >conftest.err
11217 rm -f conftest.er1
11218 cat conftest.err >&5
11219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 (exit $ac_status); } >/dev/null; then
11221 if test -s conftest.err; then
11222 ac_cpp_err=$ac_c_preproc_warn_flag
11223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11224 else
11225 ac_cpp_err=
11226 fi
11227 else
11228 ac_cpp_err=yes
11229 fi
11230 if test -z "$ac_cpp_err"; then
11231 :
11232 else
11233 echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11235
11236 # Broken: fails on valid input.
11237 continue
11238 fi
11239 rm -f conftest.err conftest.$ac_ext
11240
11241 # OK, works on sane cases. Now check whether non-existent headers
11242 # can be detected and how.
11243 cat >conftest.$ac_ext <<_ACEOF
11244 /* confdefs.h. */
11245 _ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h. */
11249 #include <ac_nonexistent.h>
11250 _ACEOF
11251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11253 ac_status=$?
11254 grep -v '^ *+' conftest.er1 >conftest.err
11255 rm -f conftest.er1
11256 cat conftest.err >&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } >/dev/null; then
11259 if test -s conftest.err; then
11260 ac_cpp_err=$ac_c_preproc_warn_flag
11261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11262 else
11263 ac_cpp_err=
11264 fi
11265 else
11266 ac_cpp_err=yes
11267 fi
11268 if test -z "$ac_cpp_err"; then
11269 # Broken: success on invalid input.
11270 continue
11271 else
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11274
11275 # Passes both tests.
11276 ac_preproc_ok=:
11277 break
11278 fi
11279 rm -f conftest.err conftest.$ac_ext
11280
11281 done
11282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11283 rm -f conftest.err conftest.$ac_ext
11284 if $ac_preproc_ok; then
11285 :
11286 else
11287 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11288 See \`config.log' for more details." >&5
11289 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11290 See \`config.log' for more details." >&2;}
11291 { (exit 1); exit 1; }; }
11292 fi
11293
11294 ac_ext=c
11295 ac_cpp='$CPP $CPPFLAGS'
11296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11299
11300
11301 echo "$as_me:$LINENO: checking for egrep" >&5
11302 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11303 if test "${ac_cv_prog_egrep+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11307 then ac_cv_prog_egrep='grep -E'
11308 else ac_cv_prog_egrep='egrep'
11309 fi
11310 fi
11311 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11312 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11313 EGREP=$ac_cv_prog_egrep
11314
11315
11316 if test $ac_cv_c_compiler_gnu = yes; then
11317 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11318 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11319 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11321 else
11322 ac_pattern="Autoconf.*'x'"
11323 cat >conftest.$ac_ext <<_ACEOF
11324 /* confdefs.h. */
11325 _ACEOF
11326 cat confdefs.h >>conftest.$ac_ext
11327 cat >>conftest.$ac_ext <<_ACEOF
11328 /* end confdefs.h. */
11329 #include <sgtty.h>
11330 Autoconf TIOCGETP
11331 _ACEOF
11332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11333 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11334 ac_cv_prog_gcc_traditional=yes
11335 else
11336 ac_cv_prog_gcc_traditional=no
11337 fi
11338 rm -f conftest*
11339
11340
11341 if test $ac_cv_prog_gcc_traditional = no; then
11342 cat >conftest.$ac_ext <<_ACEOF
11343 /* confdefs.h. */
11344 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 #include <termio.h>
11349 Autoconf TCGETA
11350 _ACEOF
11351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11352 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11353 ac_cv_prog_gcc_traditional=yes
11354 fi
11355 rm -f conftest*
11356
11357 fi
11358 fi
11359 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11360 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11361 if test $ac_cv_prog_gcc_traditional = yes; then
11362 CC="$CC -traditional"
11363 fi
11364 fi
11365
11366
11367
11368
11369 ac_ext=cc
11370 ac_cpp='$CXXCPP $CPPFLAGS'
11371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11374
11375
11376 CXXFLAGS=${CXXFLAGS:=}
11377 ac_ext=cc
11378 ac_cpp='$CXXCPP $CPPFLAGS'
11379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11382 if test -n "$ac_tool_prefix"; then
11383 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11384 do
11385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11387 echo "$as_me:$LINENO: checking for $ac_word" >&5
11388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11389 if test "${ac_cv_prog_CXX+set}" = set; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392 if test -n "$CXX"; then
11393 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11394 else
11395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11396 for as_dir in $PATH
11397 do
11398 IFS=$as_save_IFS
11399 test -z "$as_dir" && as_dir=.
11400 for ac_exec_ext in '' $ac_executable_extensions; do
11401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11402 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11404 break 2
11405 fi
11406 done
11407 done
11408
11409 fi
11410 fi
11411 CXX=$ac_cv_prog_CXX
11412 if test -n "$CXX"; then
11413 echo "$as_me:$LINENO: result: $CXX" >&5
11414 echo "${ECHO_T}$CXX" >&6
11415 else
11416 echo "$as_me:$LINENO: result: no" >&5
11417 echo "${ECHO_T}no" >&6
11418 fi
11419
11420 test -n "$CXX" && break
11421 done
11422 fi
11423 if test -z "$CXX"; then
11424 ac_ct_CXX=$CXX
11425 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11426 do
11427 # Extract the first word of "$ac_prog", so it can be a program name with args.
11428 set dummy $ac_prog; ac_word=$2
11429 echo "$as_me:$LINENO: checking for $ac_word" >&5
11430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11431 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11433 else
11434 if test -n "$ac_ct_CXX"; then
11435 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11436 else
11437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11438 for as_dir in $PATH
11439 do
11440 IFS=$as_save_IFS
11441 test -z "$as_dir" && as_dir=.
11442 for ac_exec_ext in '' $ac_executable_extensions; do
11443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11444 ac_cv_prog_ac_ct_CXX="$ac_prog"
11445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11446 break 2
11447 fi
11448 done
11449 done
11450
11451 fi
11452 fi
11453 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11454 if test -n "$ac_ct_CXX"; then
11455 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11456 echo "${ECHO_T}$ac_ct_CXX" >&6
11457 else
11458 echo "$as_me:$LINENO: result: no" >&5
11459 echo "${ECHO_T}no" >&6
11460 fi
11461
11462 test -n "$ac_ct_CXX" && break
11463 done
11464 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11465
11466 CXX=$ac_ct_CXX
11467 fi
11468
11469
11470 # Provide some information about the compiler.
11471 echo "$as_me:$LINENO:" \
11472 "checking for C++ compiler version" >&5
11473 ac_compiler=`set X $ac_compile; echo $2`
11474 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11475 (eval $ac_compiler --version </dev/null >&5) 2>&5
11476 ac_status=$?
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }
11479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11480 (eval $ac_compiler -v </dev/null >&5) 2>&5
11481 ac_status=$?
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }
11484 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11485 (eval $ac_compiler -V </dev/null >&5) 2>&5
11486 ac_status=$?
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); }
11489
11490 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11491 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11492 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 else
11495 cat >conftest.$ac_ext <<_ACEOF
11496 /* confdefs.h. */
11497 _ACEOF
11498 cat confdefs.h >>conftest.$ac_ext
11499 cat >>conftest.$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11501
11502 int
11503 main ()
11504 {
11505 #ifndef __GNUC__
11506 choke me
11507 #endif
11508
11509 ;
11510 return 0;
11511 }
11512 _ACEOF
11513 rm -f conftest.$ac_objext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11515 (eval $ac_compile) 2>conftest.er1
11516 ac_status=$?
11517 grep -v '^ *+' conftest.er1 >conftest.err
11518 rm -f conftest.er1
11519 cat conftest.err >&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } &&
11522 { ac_try='test -z "$ac_cxx_werror_flag"
11523 || test ! -s conftest.err'
11524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11525 (eval $ac_try) 2>&5
11526 ac_status=$?
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); }; } &&
11529 { ac_try='test -s conftest.$ac_objext'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11532 ac_status=$?
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; }; then
11535 ac_compiler_gnu=yes
11536 else
11537 echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.$ac_ext >&5
11539
11540 ac_compiler_gnu=no
11541 fi
11542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11543 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11544
11545 fi
11546 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11547 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11548 GXX=`test $ac_compiler_gnu = yes && echo yes`
11549 ac_test_CXXFLAGS=${CXXFLAGS+set}
11550 ac_save_CXXFLAGS=$CXXFLAGS
11551 CXXFLAGS="-g"
11552 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11553 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11554 if test "${ac_cv_prog_cxx_g+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11556 else
11557 cat >conftest.$ac_ext <<_ACEOF
11558 /* confdefs.h. */
11559 _ACEOF
11560 cat confdefs.h >>conftest.$ac_ext
11561 cat >>conftest.$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11563
11564 int
11565 main ()
11566 {
11567
11568 ;
11569 return 0;
11570 }
11571 _ACEOF
11572 rm -f conftest.$ac_objext
11573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11574 (eval $ac_compile) 2>conftest.er1
11575 ac_status=$?
11576 grep -v '^ *+' conftest.er1 >conftest.err
11577 rm -f conftest.er1
11578 cat conftest.err >&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } &&
11581 { ac_try='test -z "$ac_cxx_werror_flag"
11582 || test ! -s conftest.err'
11583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11584 (eval $ac_try) 2>&5
11585 ac_status=$?
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; } &&
11588 { ac_try='test -s conftest.$ac_objext'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11591 ac_status=$?
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11594 ac_cv_prog_cxx_g=yes
11595 else
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11598
11599 ac_cv_prog_cxx_g=no
11600 fi
11601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11602 fi
11603 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11604 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11605 if test "$ac_test_CXXFLAGS" = set; then
11606 CXXFLAGS=$ac_save_CXXFLAGS
11607 elif test $ac_cv_prog_cxx_g = yes; then
11608 if test "$GXX" = yes; then
11609 CXXFLAGS="-g -O2"
11610 else
11611 CXXFLAGS="-g"
11612 fi
11613 else
11614 if test "$GXX" = yes; then
11615 CXXFLAGS="-O2"
11616 else
11617 CXXFLAGS=
11618 fi
11619 fi
11620 for ac_declaration in \
11621 '' \
11622 'extern "C" void std::exit (int) throw (); using std::exit;' \
11623 'extern "C" void std::exit (int); using std::exit;' \
11624 'extern "C" void exit (int) throw ();' \
11625 'extern "C" void exit (int);' \
11626 'void exit (int);'
11627 do
11628 cat >conftest.$ac_ext <<_ACEOF
11629 /* confdefs.h. */
11630 _ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11634 $ac_declaration
11635 #include <stdlib.h>
11636 int
11637 main ()
11638 {
11639 exit (42);
11640 ;
11641 return 0;
11642 }
11643 _ACEOF
11644 rm -f conftest.$ac_objext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>conftest.er1
11647 ac_status=$?
11648 grep -v '^ *+' conftest.er1 >conftest.err
11649 rm -f conftest.er1
11650 cat conftest.err >&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try='test -z "$ac_cxx_werror_flag"
11654 || test ! -s conftest.err'
11655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11656 (eval $ac_try) 2>&5
11657 ac_status=$?
11658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11659 (exit $ac_status); }; } &&
11660 { ac_try='test -s conftest.$ac_objext'
11661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11662 (eval $ac_try) 2>&5
11663 ac_status=$?
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11666 :
11667 else
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.$ac_ext >&5
11670
11671 continue
11672 fi
11673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11674 cat >conftest.$ac_ext <<_ACEOF
11675 /* confdefs.h. */
11676 _ACEOF
11677 cat confdefs.h >>conftest.$ac_ext
11678 cat >>conftest.$ac_ext <<_ACEOF
11679 /* end confdefs.h. */
11680 $ac_declaration
11681 int
11682 main ()
11683 {
11684 exit (42);
11685 ;
11686 return 0;
11687 }
11688 _ACEOF
11689 rm -f conftest.$ac_objext
11690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11691 (eval $ac_compile) 2>conftest.er1
11692 ac_status=$?
11693 grep -v '^ *+' conftest.er1 >conftest.err
11694 rm -f conftest.er1
11695 cat conftest.err >&5
11696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 (exit $ac_status); } &&
11698 { ac_try='test -z "$ac_cxx_werror_flag"
11699 || test ! -s conftest.err'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11702 ac_status=$?
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; } &&
11705 { ac_try='test -s conftest.$ac_objext'
11706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11707 (eval $ac_try) 2>&5
11708 ac_status=$?
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); }; }; then
11711 break
11712 else
11713 echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.$ac_ext >&5
11715
11716 fi
11717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11718 done
11719 rm -f conftest*
11720 if test -n "$ac_declaration"; then
11721 echo '#ifdef __cplusplus' >>confdefs.h
11722 echo $ac_declaration >>confdefs.h
11723 echo '#endif' >>confdefs.h
11724 fi
11725
11726 ac_ext=cc
11727 ac_cpp='$CXXCPP $CPPFLAGS'
11728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11731
11732
11733 ac_ext=c
11734 ac_cpp='$CPP $CPPFLAGS'
11735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11738
11739
11740 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11741 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11742 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11743 if test "$GCC" = "yes" ; then
11744 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11745 sed -n '1,/End of search list\./p' | \
11746 grep '^ */usr/local/include$' 2>&1 /dev/null \
11747 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11748 fi
11749 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11750 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11751
11752 if test -n "$ac_tool_prefix"; then
11753 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11754 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11755 echo "$as_me:$LINENO: checking for $ac_word" >&5
11756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11757 if test "${ac_cv_prog_RANLIB+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 else
11760 if test -n "$RANLIB"; then
11761 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11762 else
11763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11764 for as_dir in $PATH
11765 do
11766 IFS=$as_save_IFS
11767 test -z "$as_dir" && as_dir=.
11768 for ac_exec_ext in '' $ac_executable_extensions; do
11769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11770 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11772 break 2
11773 fi
11774 done
11775 done
11776
11777 fi
11778 fi
11779 RANLIB=$ac_cv_prog_RANLIB
11780 if test -n "$RANLIB"; then
11781 echo "$as_me:$LINENO: result: $RANLIB" >&5
11782 echo "${ECHO_T}$RANLIB" >&6
11783 else
11784 echo "$as_me:$LINENO: result: no" >&5
11785 echo "${ECHO_T}no" >&6
11786 fi
11787
11788 fi
11789 if test -z "$ac_cv_prog_RANLIB"; then
11790 ac_ct_RANLIB=$RANLIB
11791 # Extract the first word of "ranlib", so it can be a program name with args.
11792 set dummy ranlib; ac_word=$2
11793 echo "$as_me:$LINENO: checking for $ac_word" >&5
11794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11795 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 else
11798 if test -n "$ac_ct_RANLIB"; then
11799 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11800 else
11801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11802 for as_dir in $PATH
11803 do
11804 IFS=$as_save_IFS
11805 test -z "$as_dir" && as_dir=.
11806 for ac_exec_ext in '' $ac_executable_extensions; do
11807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11808 ac_cv_prog_ac_ct_RANLIB="ranlib"
11809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11810 break 2
11811 fi
11812 done
11813 done
11814
11815 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11816 fi
11817 fi
11818 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11819 if test -n "$ac_ct_RANLIB"; then
11820 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11821 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11822 else
11823 echo "$as_me:$LINENO: result: no" >&5
11824 echo "${ECHO_T}no" >&6
11825 fi
11826
11827 RANLIB=$ac_ct_RANLIB
11828 else
11829 RANLIB="$ac_cv_prog_RANLIB"
11830 fi
11831
11832
11833 # Extract the first word of "ar", so it can be a program name with args.
11834 set dummy ar; ac_word=$2
11835 echo "$as_me:$LINENO: checking for $ac_word" >&5
11836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11837 if test "${ac_cv_prog_AR+set}" = set; then
11838 echo $ECHO_N "(cached) $ECHO_C" >&6
11839 else
11840 if test -n "$AR"; then
11841 ac_cv_prog_AR="$AR" # Let the user override the test.
11842 else
11843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11844 for as_dir in $PATH
11845 do
11846 IFS=$as_save_IFS
11847 test -z "$as_dir" && as_dir=.
11848 for ac_exec_ext in '' $ac_executable_extensions; do
11849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11850 ac_cv_prog_AR="ar"
11851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11852 break 2
11853 fi
11854 done
11855 done
11856
11857 fi
11858 fi
11859 AR=$ac_cv_prog_AR
11860 if test -n "$AR"; then
11861 echo "$as_me:$LINENO: result: $AR" >&5
11862 echo "${ECHO_T}$AR" >&6
11863 else
11864 echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6
11866 fi
11867
11868 if test "x$AR" = "x" ; then
11869 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11870 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11871 { (exit 1); exit 1; }; }
11872 fi
11873
11874 # Find a good install program. We prefer a C program (faster),
11875 # so one script is as good as another. But avoid the broken or
11876 # incompatible versions:
11877 # SysV /etc/install, /usr/sbin/install
11878 # SunOS /usr/etc/install
11879 # IRIX /sbin/install
11880 # AIX /bin/install
11881 # AmigaOS /C/install, which installs bootblocks on floppy discs
11882 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11883 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11884 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11885 # OS/2's system install, which has a completely different semantic
11886 # ./install, which can be erroneously created by make from ./install.sh.
11887 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11888 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11889 if test -z "$INSTALL"; then
11890 if test "${ac_cv_path_install+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 else
11893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11894 for as_dir in $PATH
11895 do
11896 IFS=$as_save_IFS
11897 test -z "$as_dir" && as_dir=.
11898 # Account for people who put trailing slashes in PATH elements.
11899 case $as_dir/ in
11900 ./ | .// | /cC/* | \
11901 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11902 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11903 /usr/ucb/* ) ;;
11904 *)
11905 # OSF1 and SCO ODT 3.0 have their own names for install.
11906 # Don't use installbsd from OSF since it installs stuff as root
11907 # by default.
11908 for ac_prog in ginstall scoinst install; do
11909 for ac_exec_ext in '' $ac_executable_extensions; do
11910 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11911 if test $ac_prog = install &&
11912 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11913 # AIX install. It has an incompatible calling convention.
11914 :
11915 elif test $ac_prog = install &&
11916 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11917 # program-specific install script used by HP pwplus--don't use.
11918 :
11919 else
11920 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11921 break 3
11922 fi
11923 fi
11924 done
11925 done
11926 ;;
11927 esac
11928 done
11929
11930
11931 fi
11932 if test "${ac_cv_path_install+set}" = set; then
11933 INSTALL=$ac_cv_path_install
11934 else
11935 # As a last resort, use the slow shell script. We don't cache a
11936 # path for INSTALL within a source directory, because that will
11937 # break other packages using the cache if that directory is
11938 # removed, or if the path is relative.
11939 INSTALL=$ac_install_sh
11940 fi
11941 fi
11942 echo "$as_me:$LINENO: result: $INSTALL" >&5
11943 echo "${ECHO_T}$INSTALL" >&6
11944
11945 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11946 # It thinks the first close brace ends the variable substitution.
11947 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11948
11949 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11950
11951 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11952
11953
11954 case ${INSTALL} in
11955 /* ) # Absolute
11956 ;;
11957 ?:* ) # Drive letter, considered as absolute.
11958 ;;
11959 *)
11960 INSTALL=`pwd`/${INSTALL} ;;
11961 esac
11962
11963 case ${host} in
11964 *-hp-hpux* )
11965 INSTALL_DIR="mkdir"
11966 ;;
11967
11968 *) INSTALL_DIR="$INSTALL -d"
11969 ;;
11970 esac
11971
11972
11973 case "${host}" in
11974
11975 powerpc-*-darwin* )
11976 INSTALL_PROGRAM="cp -fp"
11977 INSTALL_DATA="cp -fp"
11978 ;;
11979 *)
11980 ;;
11981 esac
11982
11983 # Extract the first word of "strip", so it can be a program name with args.
11984 set dummy strip; ac_word=$2
11985 echo "$as_me:$LINENO: checking for $ac_word" >&5
11986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11987 if test "${ac_cv_prog_STRIP+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 else
11990 if test -n "$STRIP"; then
11991 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11992 else
11993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11994 for as_dir in $PATH
11995 do
11996 IFS=$as_save_IFS
11997 test -z "$as_dir" && as_dir=.
11998 for ac_exec_ext in '' $ac_executable_extensions; do
11999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_prog_STRIP="strip"
12001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12002 break 2
12003 fi
12004 done
12005 done
12006
12007 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12008 fi
12009 fi
12010 STRIP=$ac_cv_prog_STRIP
12011 if test -n "$STRIP"; then
12012 echo "$as_me:$LINENO: result: $STRIP" >&5
12013 echo "${ECHO_T}$STRIP" >&6
12014 else
12015 echo "$as_me:$LINENO: result: no" >&5
12016 echo "${ECHO_T}no" >&6
12017 fi
12018
12019
12020 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12021 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12022 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 else
12025
12026 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12027 egrep -s GNU > /dev/null); then
12028 wx_cv_prog_makeisgnu="yes"
12029 else
12030 wx_cv_prog_makeisgnu="no"
12031 fi
12032
12033 fi
12034 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12035 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12036
12037 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12038 IF_GNU_MAKE=""
12039 else
12040 IF_GNU_MAKE="#"
12041 fi
12042
12043
12044
12045 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12046 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12047 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12048 if test "${wx_cv_prog_makevpath+set}" = set; then
12049 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 else
12051
12052 cat - << EOF > confMake
12053 check : file
12054 cp \$? \$@
12055 cp \$? final_file
12056 EOF
12057
12058 if test ! -d sub ; then
12059 mkdir sub
12060 fi
12061 echo dummy > sub/file
12062 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12063 RESULT=$?
12064 rm -f sub/file check final_file confMake
12065 rmdir sub
12066 if test "$RESULT" = 0; then
12067 wx_cv_prog_makevpath="yes"
12068 else
12069 wx_cv_prog_makevpath="no"
12070 fi
12071
12072 fi
12073 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12074 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12075
12076 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12077 { { echo "$as_me:$LINENO: error:
12078 You need a make-utility that is able to use the variable
12079 VPATH correctly.
12080 If your version of make does not support VPATH correctly,
12081 please install GNU-make (possibly as gmake), and start
12082 configure with the following command:
12083 export MAKE=gmake; ./configure for sh-type shells
12084 setenv MAKE gmake; ./configure for csh-type shells
12085 Also please do remember to use gmake in this case every time
12086 you are trying to compile.
12087 " >&5
12088 echo "$as_me: error:
12089 You need a make-utility that is able to use the variable
12090 VPATH correctly.
12091 If your version of make does not support VPATH correctly,
12092 please install GNU-make (possibly as gmake), and start
12093 configure with the following command:
12094 export MAKE=gmake; ./configure for sh-type shells
12095 setenv MAKE gmake; ./configure for csh-type shells
12096 Also please do remember to use gmake in this case every time
12097 you are trying to compile.
12098 " >&2;}
12099 { (exit 1); exit 1; }; }
12100 fi fi
12101 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12102 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12103 LN_S=$as_ln_s
12104 if test "$LN_S" = "ln -s"; then
12105 echo "$as_me:$LINENO: result: yes" >&5
12106 echo "${ECHO_T}yes" >&6
12107 else
12108 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12109 echo "${ECHO_T}no, using $LN_S" >&6
12110 fi
12111
12112
12113
12114 case "${host}" in
12115 *-pc-os2_emx | *-pc-os2-emx )
12116 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12117 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12118 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12119 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12120 echo $ECHO_N "(cached) $ECHO_C" >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lcExt $LIBS"
12124 cat >conftest.$ac_ext <<_ACEOF
12125 /* confdefs.h. */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h. */
12130
12131 /* Override any gcc2 internal prototype to avoid an error. */
12132 #ifdef __cplusplus
12133 extern "C"
12134 #endif
12135 /* We use char because int might match the return type of a gcc2
12136 builtin and then its argument prototype would still apply. */
12137 char drand48 ();
12138 int
12139 main ()
12140 {
12141 drand48 ();
12142 ;
12143 return 0;
12144 }
12145 _ACEOF
12146 rm -f conftest.$ac_objext conftest$ac_exeext
12147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12148 (eval $ac_link) 2>conftest.er1
12149 ac_status=$?
12150 grep -v '^ *+' conftest.er1 >conftest.err
12151 rm -f conftest.er1
12152 cat conftest.err >&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); } &&
12155 { ac_try='test -z "$ac_c_werror_flag"
12156 || test ! -s conftest.err'
12157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12158 (eval $ac_try) 2>&5
12159 ac_status=$?
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); }; } &&
12162 { ac_try='test -s conftest$ac_exeext'
12163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12164 (eval $ac_try) 2>&5
12165 ac_status=$?
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); }; }; then
12168 ac_cv_lib_cExt_drand48=yes
12169 else
12170 echo "$as_me: failed program was:" >&5
12171 sed 's/^/| /' conftest.$ac_ext >&5
12172
12173 ac_cv_lib_cExt_drand48=no
12174 fi
12175 rm -f conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12178 fi
12179 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12180 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12181 if test $ac_cv_lib_cExt_drand48 = yes; then
12182 LIBS="$LIBS -lcExt"
12183 fi
12184
12185 else
12186 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12187 fi
12188 echo "$as_me:$LINENO: checking for gcc version" >&5
12189 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12190 if test "${wx_cv_gccversion+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 else
12193
12194 cat >conftest.$ac_ext <<_ACEOF
12195 /* confdefs.h. */
12196 _ACEOF
12197 cat confdefs.h >>conftest.$ac_ext
12198 cat >>conftest.$ac_ext <<_ACEOF
12199 /* end confdefs.h. */
12200
12201 int
12202 main ()
12203 {
12204
12205 #if (__GNUC__ < 3)
12206 #error old gcc
12207 #endif
12208
12209 ;
12210 return 0;
12211 }
12212 _ACEOF
12213 rm -f conftest.$ac_objext
12214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12215 (eval $ac_compile) 2>conftest.er1
12216 ac_status=$?
12217 grep -v '^ *+' conftest.er1 >conftest.err
12218 rm -f conftest.er1
12219 cat conftest.err >&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); } &&
12222 { ac_try='test -z "$ac_c_werror_flag"
12223 || test ! -s conftest.err'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; } &&
12229 { ac_try='test -s conftest.$ac_objext'
12230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12231 (eval $ac_try) 2>&5
12232 ac_status=$?
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); }; }; then
12235
12236 cat >conftest.$ac_ext <<_ACEOF
12237 /* confdefs.h. */
12238 _ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242
12243 int
12244 main ()
12245 {
12246
12247 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12248 #error intermediate gcc
12249 #endif
12250
12251 ;
12252 return 0;
12253 }
12254 _ACEOF
12255 rm -f conftest.$ac_objext
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>conftest.er1
12258 ac_status=$?
12259 grep -v '^ *+' conftest.er1 >conftest.err
12260 rm -f conftest.er1
12261 cat conftest.err >&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try='test -z "$ac_c_werror_flag"
12265 || test ! -s conftest.err'
12266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12267 (eval $ac_try) 2>&5
12268 ac_status=$?
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); }; } &&
12271 { ac_try='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12274 ac_status=$?
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277
12278 wx_cv_gccversion=Innotek
12279
12280 else
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.$ac_ext >&5
12283
12284
12285 wx_cv_gccversion=3
12286
12287
12288 fi
12289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12290
12291 else
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.$ac_ext >&5
12294
12295
12296 wx_cv_gccversion=2
12297
12298
12299 fi
12300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12301
12302 fi
12303 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12304 echo "${ECHO_T}$wx_cv_gccversion" >&6
12305 if test "$wx_cv_gccversion" = "2"; then
12306 LIBS="$LIBS -lstdcpp"
12307 LDFLAGS="$LDFLAGS -Zsysv-signals"
12308 else
12309 if test "$wx_cv_gccversion" = "3"; then
12310 LIBS="$LIBS -lstdcxx"
12311 LDFLAGS="$LDFLAGS -Zsysv-signals"
12312 else
12313 LIBS="$LIBS -lstdc++"
12314 fi
12315 fi
12316 if test "$wxUSE_OMF" = "yes"; then
12317 LDFLAGS="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12318 fi
12319 ;;
12320 *)
12321
12322
12323
12324 ac_ext=cc
12325 ac_cpp='$CXXCPP $CPPFLAGS'
12326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12329
12330
12331
12332 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12333 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12334 if test "${ac_cv_string_strcasecmp+set}" = set; then
12335 echo $ECHO_N "(cached) $ECHO_C" >&6
12336 else
12337
12338 cat >conftest.$ac_ext <<_ACEOF
12339 /* confdefs.h. */
12340 _ACEOF
12341 cat confdefs.h >>conftest.$ac_ext
12342 cat >>conftest.$ac_ext <<_ACEOF
12343 /* end confdefs.h. */
12344
12345 #include <string.h>
12346
12347 int
12348 main ()
12349 {
12350
12351 strcasecmp("foo", "bar");
12352
12353 ;
12354 return 0;
12355 }
12356 _ACEOF
12357 rm -f conftest.$ac_objext conftest$ac_exeext
12358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12359 (eval $ac_link) 2>conftest.er1
12360 ac_status=$?
12361 grep -v '^ *+' conftest.er1 >conftest.err
12362 rm -f conftest.er1
12363 cat conftest.err >&5
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); } &&
12366 { ac_try='test -z "$ac_cxx_werror_flag"
12367 || test ! -s conftest.err'
12368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369 (eval $ac_try) 2>&5
12370 ac_status=$?
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; } &&
12373 { ac_try='test -s conftest$ac_exeext'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12376 ac_status=$?
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; }; then
12379 ac_cv_string_strcasecmp=yes
12380 else
12381 echo "$as_me: failed program was:" >&5
12382 sed 's/^/| /' conftest.$ac_ext >&5
12383
12384 ac_cv_string_strcasecmp=no
12385
12386 fi
12387 rm -f conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389
12390 fi
12391 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12392 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12393
12394 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12395 cat >>confdefs.h <<\_ACEOF
12396 #define HAVE_STRCASECMP_IN_STRING_H 1
12397 _ACEOF
12398
12399 else
12400 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12401 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12402 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 else
12405
12406 cat >conftest.$ac_ext <<_ACEOF
12407 /* confdefs.h. */
12408 _ACEOF
12409 cat confdefs.h >>conftest.$ac_ext
12410 cat >>conftest.$ac_ext <<_ACEOF
12411 /* end confdefs.h. */
12412
12413 #include <strings.h>
12414
12415 int
12416 main ()
12417 {
12418
12419 strcasecmp("foo", "bar");
12420
12421 ;
12422 return 0;
12423 }
12424 _ACEOF
12425 rm -f conftest.$ac_objext conftest$ac_exeext
12426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12427 (eval $ac_link) 2>conftest.er1
12428 ac_status=$?
12429 grep -v '^ *+' conftest.er1 >conftest.err
12430 rm -f conftest.er1
12431 cat conftest.err >&5
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); } &&
12434 { ac_try='test -z "$ac_cxx_werror_flag"
12435 || test ! -s conftest.err'
12436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12437 (eval $ac_try) 2>&5
12438 ac_status=$?
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); }; } &&
12441 { ac_try='test -s conftest$ac_exeext'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; }; then
12447 ac_cv_strings_strcasecmp=yes
12448 else
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.$ac_ext >&5
12451
12452 ac_cv_strings_strcasecmp=no
12453
12454 fi
12455 rm -f conftest.err conftest.$ac_objext \
12456 conftest$ac_exeext conftest.$ac_ext
12457
12458 fi
12459 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12460 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12461
12462 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12463 cat >>confdefs.h <<\_ACEOF
12464 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12465 _ACEOF
12466
12467 else
12468 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12469 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12470 { (exit 1); exit 1; }; }
12471 fi
12472 fi
12473
12474 ac_ext=c
12475 ac_cpp='$CPP $CPPFLAGS'
12476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12479
12480 ;;
12481 esac
12482
12483
12484 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12485 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12486 if test "${ac_cv_header_stdc+set}" = set; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12488 else
12489 cat >conftest.$ac_ext <<_ACEOF
12490 /* confdefs.h. */
12491 _ACEOF
12492 cat confdefs.h >>conftest.$ac_ext
12493 cat >>conftest.$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12495 #include <stdlib.h>
12496 #include <stdarg.h>
12497 #include <string.h>
12498 #include <float.h>
12499
12500 int
12501 main ()
12502 {
12503
12504 ;
12505 return 0;
12506 }
12507 _ACEOF
12508 rm -f conftest.$ac_objext
12509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12510 (eval $ac_compile) 2>conftest.er1
12511 ac_status=$?
12512 grep -v '^ *+' conftest.er1 >conftest.err
12513 rm -f conftest.er1
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } &&
12517 { ac_try='test -z "$ac_c_werror_flag"
12518 || test ! -s conftest.err'
12519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5
12521 ac_status=$?
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; } &&
12524 { ac_try='test -s conftest.$ac_objext'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12527 ac_status=$?
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; }; then
12530 ac_cv_header_stdc=yes
12531 else
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.$ac_ext >&5
12534
12535 ac_cv_header_stdc=no
12536 fi
12537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12538
12539 if test $ac_cv_header_stdc = yes; then
12540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12541 cat >conftest.$ac_ext <<_ACEOF
12542 /* confdefs.h. */
12543 _ACEOF
12544 cat confdefs.h >>conftest.$ac_ext
12545 cat >>conftest.$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12547 #include <string.h>
12548
12549 _ACEOF
12550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12551 $EGREP "memchr" >/dev/null 2>&1; then
12552 :
12553 else
12554 ac_cv_header_stdc=no
12555 fi
12556 rm -f conftest*
12557
12558 fi
12559
12560 if test $ac_cv_header_stdc = yes; then
12561 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12562 cat >conftest.$ac_ext <<_ACEOF
12563 /* confdefs.h. */
12564 _ACEOF
12565 cat confdefs.h >>conftest.$ac_ext
12566 cat >>conftest.$ac_ext <<_ACEOF
12567 /* end confdefs.h. */
12568 #include <stdlib.h>
12569
12570 _ACEOF
12571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12572 $EGREP "free" >/dev/null 2>&1; then
12573 :
12574 else
12575 ac_cv_header_stdc=no
12576 fi
12577 rm -f conftest*
12578
12579 fi
12580
12581 if test $ac_cv_header_stdc = yes; then
12582 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12583 if test "$cross_compiling" = yes; then
12584 :
12585 else
12586 cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h. */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12592 #include <ctype.h>
12593 #if ((' ' & 0x0FF) == 0x020)
12594 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12595 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12596 #else
12597 # define ISLOWER(c) \
12598 (('a' <= (c) && (c) <= 'i') \
12599 || ('j' <= (c) && (c) <= 'r') \
12600 || ('s' <= (c) && (c) <= 'z'))
12601 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12602 #endif
12603
12604 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12605 int
12606 main ()
12607 {
12608 int i;
12609 for (i = 0; i < 256; i++)
12610 if (XOR (islower (i), ISLOWER (i))
12611 || toupper (i) != TOUPPER (i))
12612 exit(2);
12613 exit (0);
12614 }
12615 _ACEOF
12616 rm -f conftest$ac_exeext
12617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12618 (eval $ac_link) 2>&5
12619 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12624 ac_status=$?
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 :
12628 else
12629 echo "$as_me: program exited with status $ac_status" >&5
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.$ac_ext >&5
12632
12633 ( exit $ac_status )
12634 ac_cv_header_stdc=no
12635 fi
12636 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12637 fi
12638 fi
12639 fi
12640 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12641 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12642 if test $ac_cv_header_stdc = yes; then
12643
12644 cat >>confdefs.h <<\_ACEOF
12645 #define STDC_HEADERS 1
12646 _ACEOF
12647
12648 fi
12649
12650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12661 inttypes.h stdint.h unistd.h
12662 do
12663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12664 echo "$as_me:$LINENO: checking for $ac_header" >&5
12665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12667 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 else
12669 cat >conftest.$ac_ext <<_ACEOF
12670 /* confdefs.h. */
12671 _ACEOF
12672 cat confdefs.h >>conftest.$ac_ext
12673 cat >>conftest.$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12675 $ac_includes_default
12676
12677 #include <$ac_header>
12678 _ACEOF
12679 rm -f conftest.$ac_objext
12680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12681 (eval $ac_compile) 2>conftest.er1
12682 ac_status=$?
12683 grep -v '^ *+' conftest.er1 >conftest.err
12684 rm -f conftest.er1
12685 cat conftest.err >&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } &&
12688 { ac_try='test -z "$ac_c_werror_flag"
12689 || test ! -s conftest.err'
12690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691 (eval $ac_try) 2>&5
12692 ac_status=$?
12693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694 (exit $ac_status); }; } &&
12695 { ac_try='test -s conftest.$ac_objext'
12696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697 (eval $ac_try) 2>&5
12698 ac_status=$?
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); }; }; then
12701 eval "$as_ac_Header=yes"
12702 else
12703 echo "$as_me: failed program was:" >&5
12704 sed 's/^/| /' conftest.$ac_ext >&5
12705
12706 eval "$as_ac_Header=no"
12707 fi
12708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12709 fi
12710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12713 cat >>confdefs.h <<_ACEOF
12714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12715 _ACEOF
12716
12717 fi
12718
12719 done
12720
12721
12722
12723 for ac_header in stdlib.h
12724 do
12725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12727 echo "$as_me:$LINENO: checking for $ac_header" >&5
12728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12731 fi
12732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12734 else
12735 # Is the header compilable?
12736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12738 cat >conftest.$ac_ext <<_ACEOF
12739 /* confdefs.h. */
12740 _ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744 $ac_includes_default
12745 #include <$ac_header>
12746 _ACEOF
12747 rm -f conftest.$ac_objext
12748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12749 (eval $ac_compile) 2>conftest.er1
12750 ac_status=$?
12751 grep -v '^ *+' conftest.er1 >conftest.err
12752 rm -f conftest.er1
12753 cat conftest.err >&5
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); } &&
12756 { ac_try='test -z "$ac_c_werror_flag"
12757 || test ! -s conftest.err'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12760 ac_status=$?
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; } &&
12763 { ac_try='test -s conftest.$ac_objext'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; }; then
12769 ac_header_compiler=yes
12770 else
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.$ac_ext >&5
12773
12774 ac_header_compiler=no
12775 fi
12776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12778 echo "${ECHO_T}$ac_header_compiler" >&6
12779
12780 # Is the header present?
12781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 #include <$ac_header>
12790 _ACEOF
12791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12793 ac_status=$?
12794 grep -v '^ *+' conftest.er1 >conftest.err
12795 rm -f conftest.er1
12796 cat conftest.err >&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } >/dev/null; then
12799 if test -s conftest.err; then
12800 ac_cpp_err=$ac_c_preproc_warn_flag
12801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12802 else
12803 ac_cpp_err=
12804 fi
12805 else
12806 ac_cpp_err=yes
12807 fi
12808 if test -z "$ac_cpp_err"; then
12809 ac_header_preproc=yes
12810 else
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12813
12814 ac_header_preproc=no
12815 fi
12816 rm -f conftest.err conftest.$ac_ext
12817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12818 echo "${ECHO_T}$ac_header_preproc" >&6
12819
12820 # So? What about this header?
12821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12822 yes:no: )
12823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12827 ac_header_preproc=yes
12828 ;;
12829 no:yes:* )
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12842 (
12843 cat <<\_ASBOX
12844 ## ----------------------------------------- ##
12845 ## Report this to wx-dev@lists.wxwindows.org ##
12846 ## ----------------------------------------- ##
12847 _ASBOX
12848 ) |
12849 sed "s/^/$as_me: WARNING: /" >&2
12850 ;;
12851 esac
12852 echo "$as_me:$LINENO: checking for $ac_header" >&5
12853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else
12857 eval "$as_ac_Header=\$ac_header_preproc"
12858 fi
12859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12861
12862 fi
12863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12864 cat >>confdefs.h <<_ACEOF
12865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12866 _ACEOF
12867
12868 fi
12869
12870 done
12871
12872
12873 for ac_header in malloc.h
12874 do
12875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12877 echo "$as_me:$LINENO: checking for $ac_header" >&5
12878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12880 echo $ECHO_N "(cached) $ECHO_C" >&6
12881 fi
12882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12884 else
12885 # Is the header compilable?
12886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12888 cat >conftest.$ac_ext <<_ACEOF
12889 /* confdefs.h. */
12890 _ACEOF
12891 cat confdefs.h >>conftest.$ac_ext
12892 cat >>conftest.$ac_ext <<_ACEOF
12893 /* end confdefs.h. */
12894 $ac_includes_default
12895 #include <$ac_header>
12896 _ACEOF
12897 rm -f conftest.$ac_objext
12898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12899 (eval $ac_compile) 2>conftest.er1
12900 ac_status=$?
12901 grep -v '^ *+' conftest.er1 >conftest.err
12902 rm -f conftest.er1
12903 cat conftest.err >&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); } &&
12906 { ac_try='test -z "$ac_c_werror_flag"
12907 || test ! -s conftest.err'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12910 ac_status=$?
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; } &&
12913 { ac_try='test -s conftest.$ac_objext'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12916 ac_status=$?
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; }; then
12919 ac_header_compiler=yes
12920 else
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12923
12924 ac_header_compiler=no
12925 fi
12926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12928 echo "${ECHO_T}$ac_header_compiler" >&6
12929
12930 # Is the header present?
12931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12933 cat >conftest.$ac_ext <<_ACEOF
12934 /* confdefs.h. */
12935 _ACEOF
12936 cat confdefs.h >>conftest.$ac_ext
12937 cat >>conftest.$ac_ext <<_ACEOF
12938 /* end confdefs.h. */
12939 #include <$ac_header>
12940 _ACEOF
12941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12943 ac_status=$?
12944 grep -v '^ *+' conftest.er1 >conftest.err
12945 rm -f conftest.er1
12946 cat conftest.err >&5
12947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12948 (exit $ac_status); } >/dev/null; then
12949 if test -s conftest.err; then
12950 ac_cpp_err=$ac_c_preproc_warn_flag
12951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12952 else
12953 ac_cpp_err=
12954 fi
12955 else
12956 ac_cpp_err=yes
12957 fi
12958 if test -z "$ac_cpp_err"; then
12959 ac_header_preproc=yes
12960 else
12961 echo "$as_me: failed program was:" >&5
12962 sed 's/^/| /' conftest.$ac_ext >&5
12963
12964 ac_header_preproc=no
12965 fi
12966 rm -f conftest.err conftest.$ac_ext
12967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12968 echo "${ECHO_T}$ac_header_preproc" >&6
12969
12970 # So? What about this header?
12971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12972 yes:no: )
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12977 ac_header_preproc=yes
12978 ;;
12979 no:yes:* )
12980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12992 (
12993 cat <<\_ASBOX
12994 ## ----------------------------------------- ##
12995 ## Report this to wx-dev@lists.wxwindows.org ##
12996 ## ----------------------------------------- ##
12997 _ASBOX
12998 ) |
12999 sed "s/^/$as_me: WARNING: /" >&2
13000 ;;
13001 esac
13002 echo "$as_me:$LINENO: checking for $ac_header" >&5
13003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13005 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 else
13007 eval "$as_ac_Header=\$ac_header_preproc"
13008 fi
13009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13011
13012 fi
13013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13014 cat >>confdefs.h <<_ACEOF
13015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13016 _ACEOF
13017
13018 fi
13019
13020 done
13021
13022
13023 for ac_header in unistd.h
13024 do
13025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13027 echo "$as_me:$LINENO: checking for $ac_header" >&5
13028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13030 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 fi
13032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13034 else
13035 # Is the header compilable?
13036 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13037 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13038 cat >conftest.$ac_ext <<_ACEOF
13039 /* confdefs.h. */
13040 _ACEOF
13041 cat confdefs.h >>conftest.$ac_ext
13042 cat >>conftest.$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13044 $ac_includes_default
13045 #include <$ac_header>
13046 _ACEOF
13047 rm -f conftest.$ac_objext
13048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13049 (eval $ac_compile) 2>conftest.er1
13050 ac_status=$?
13051 grep -v '^ *+' conftest.er1 >conftest.err
13052 rm -f conftest.er1
13053 cat conftest.err >&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } &&
13056 { ac_try='test -z "$ac_c_werror_flag"
13057 || test ! -s conftest.err'
13058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13059 (eval $ac_try) 2>&5
13060 ac_status=$?
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); }; } &&
13063 { ac_try='test -s conftest.$ac_objext'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13066 ac_status=$?
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; }; then
13069 ac_header_compiler=yes
13070 else
13071 echo "$as_me: failed program was:" >&5
13072 sed 's/^/| /' conftest.$ac_ext >&5
13073
13074 ac_header_compiler=no
13075 fi
13076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13078 echo "${ECHO_T}$ac_header_compiler" >&6
13079
13080 # Is the header present?
13081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13083 cat >conftest.$ac_ext <<_ACEOF
13084 /* confdefs.h. */
13085 _ACEOF
13086 cat confdefs.h >>conftest.$ac_ext
13087 cat >>conftest.$ac_ext <<_ACEOF
13088 /* end confdefs.h. */
13089 #include <$ac_header>
13090 _ACEOF
13091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13093 ac_status=$?
13094 grep -v '^ *+' conftest.er1 >conftest.err
13095 rm -f conftest.er1
13096 cat conftest.err >&5
13097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13098 (exit $ac_status); } >/dev/null; then
13099 if test -s conftest.err; then
13100 ac_cpp_err=$ac_c_preproc_warn_flag
13101 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13102 else
13103 ac_cpp_err=
13104 fi
13105 else
13106 ac_cpp_err=yes
13107 fi
13108 if test -z "$ac_cpp_err"; then
13109 ac_header_preproc=yes
13110 else
13111 echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.$ac_ext >&5
13113
13114 ac_header_preproc=no
13115 fi
13116 rm -f conftest.err conftest.$ac_ext
13117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13118 echo "${ECHO_T}$ac_header_preproc" >&6
13119
13120 # So? What about this header?
13121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13122 yes:no: )
13123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13127 ac_header_preproc=yes
13128 ;;
13129 no:yes:* )
13130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13142 (
13143 cat <<\_ASBOX
13144 ## ----------------------------------------- ##
13145 ## Report this to wx-dev@lists.wxwindows.org ##
13146 ## ----------------------------------------- ##
13147 _ASBOX
13148 ) |
13149 sed "s/^/$as_me: WARNING: /" >&2
13150 ;;
13151 esac
13152 echo "$as_me:$LINENO: checking for $ac_header" >&5
13153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13155 echo $ECHO_N "(cached) $ECHO_C" >&6
13156 else
13157 eval "$as_ac_Header=\$ac_header_preproc"
13158 fi
13159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13161
13162 fi
13163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13164 cat >>confdefs.h <<_ACEOF
13165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13166 _ACEOF
13167
13168 fi
13169
13170 done
13171
13172
13173 for ac_header in wchar.h
13174 do
13175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13177 echo "$as_me:$LINENO: checking for $ac_header" >&5
13178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 fi
13182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13184 else
13185 # Is the header compilable?
13186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13188 cat >conftest.$ac_ext <<_ACEOF
13189 /* confdefs.h. */
13190 _ACEOF
13191 cat confdefs.h >>conftest.$ac_ext
13192 cat >>conftest.$ac_ext <<_ACEOF
13193 /* end confdefs.h. */
13194 $ac_includes_default
13195 #include <$ac_header>
13196 _ACEOF
13197 rm -f conftest.$ac_objext
13198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13199 (eval $ac_compile) 2>conftest.er1
13200 ac_status=$?
13201 grep -v '^ *+' conftest.er1 >conftest.err
13202 rm -f conftest.er1
13203 cat conftest.err >&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); } &&
13206 { ac_try='test -z "$ac_c_werror_flag"
13207 || test ! -s conftest.err'
13208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13209 (eval $ac_try) 2>&5
13210 ac_status=$?
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); }; } &&
13213 { ac_try='test -s conftest.$ac_objext'
13214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13215 (eval $ac_try) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); }; }; then
13219 ac_header_compiler=yes
13220 else
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.$ac_ext >&5
13223
13224 ac_header_compiler=no
13225 fi
13226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13228 echo "${ECHO_T}$ac_header_compiler" >&6
13229
13230 # Is the header present?
13231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13233 cat >conftest.$ac_ext <<_ACEOF
13234 /* confdefs.h. */
13235 _ACEOF
13236 cat confdefs.h >>conftest.$ac_ext
13237 cat >>conftest.$ac_ext <<_ACEOF
13238 /* end confdefs.h. */
13239 #include <$ac_header>
13240 _ACEOF
13241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13243 ac_status=$?
13244 grep -v '^ *+' conftest.er1 >conftest.err
13245 rm -f conftest.er1
13246 cat conftest.err >&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } >/dev/null; then
13249 if test -s conftest.err; then
13250 ac_cpp_err=$ac_c_preproc_warn_flag
13251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13252 else
13253 ac_cpp_err=
13254 fi
13255 else
13256 ac_cpp_err=yes
13257 fi
13258 if test -z "$ac_cpp_err"; then
13259 ac_header_preproc=yes
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13263
13264 ac_header_preproc=no
13265 fi
13266 rm -f conftest.err conftest.$ac_ext
13267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13268 echo "${ECHO_T}$ac_header_preproc" >&6
13269
13270 # So? What about this header?
13271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13272 yes:no: )
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13277 ac_header_preproc=yes
13278 ;;
13279 no:yes:* )
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13292 (
13293 cat <<\_ASBOX
13294 ## ----------------------------------------- ##
13295 ## Report this to wx-dev@lists.wxwindows.org ##
13296 ## ----------------------------------------- ##
13297 _ASBOX
13298 ) |
13299 sed "s/^/$as_me: WARNING: /" >&2
13300 ;;
13301 esac
13302 echo "$as_me:$LINENO: checking for $ac_header" >&5
13303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 else
13307 eval "$as_ac_Header=\$ac_header_preproc"
13308 fi
13309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13311
13312 fi
13313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13314 cat >>confdefs.h <<_ACEOF
13315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13316 _ACEOF
13317
13318 fi
13319
13320 done
13321
13322
13323 if test "$ac_cv_header_wchar_h" != "yes"; then
13324
13325 for ac_header in wcstr.h
13326 do
13327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13329 echo "$as_me:$LINENO: checking for $ac_header" >&5
13330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 fi
13334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13336 else
13337 # Is the header compilable?
13338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13340 cat >conftest.$ac_ext <<_ACEOF
13341 /* confdefs.h. */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 $ac_includes_default
13347 #include <$ac_header>
13348 _ACEOF
13349 rm -f conftest.$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>conftest.er1
13352 ac_status=$?
13353 grep -v '^ *+' conftest.er1 >conftest.err
13354 rm -f conftest.er1
13355 cat conftest.err >&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } &&
13358 { ac_try='test -z "$ac_c_werror_flag"
13359 || test ! -s conftest.err'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13362 ac_status=$?
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; } &&
13365 { ac_try='test -s conftest.$ac_objext'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13368 ac_status=$?
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; }; then
13371 ac_header_compiler=yes
13372 else
13373 echo "$as_me: failed program was:" >&5
13374 sed 's/^/| /' conftest.$ac_ext >&5
13375
13376 ac_header_compiler=no
13377 fi
13378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13380 echo "${ECHO_T}$ac_header_compiler" >&6
13381
13382 # Is the header present?
13383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13385 cat >conftest.$ac_ext <<_ACEOF
13386 /* confdefs.h. */
13387 _ACEOF
13388 cat confdefs.h >>conftest.$ac_ext
13389 cat >>conftest.$ac_ext <<_ACEOF
13390 /* end confdefs.h. */
13391 #include <$ac_header>
13392 _ACEOF
13393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13394 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13395 ac_status=$?
13396 grep -v '^ *+' conftest.er1 >conftest.err
13397 rm -f conftest.er1
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } >/dev/null; then
13401 if test -s conftest.err; then
13402 ac_cpp_err=$ac_c_preproc_warn_flag
13403 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13404 else
13405 ac_cpp_err=
13406 fi
13407 else
13408 ac_cpp_err=yes
13409 fi
13410 if test -z "$ac_cpp_err"; then
13411 ac_header_preproc=yes
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 ac_header_preproc=no
13417 fi
13418 rm -f conftest.err conftest.$ac_ext
13419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13420 echo "${ECHO_T}$ac_header_preproc" >&6
13421
13422 # So? What about this header?
13423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13424 yes:no: )
13425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13429 ac_header_preproc=yes
13430 ;;
13431 no:yes:* )
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13444 (
13445 cat <<\_ASBOX
13446 ## ----------------------------------------- ##
13447 ## Report this to wx-dev@lists.wxwindows.org ##
13448 ## ----------------------------------------- ##
13449 _ASBOX
13450 ) |
13451 sed "s/^/$as_me: WARNING: /" >&2
13452 ;;
13453 esac
13454 echo "$as_me:$LINENO: checking for $ac_header" >&5
13455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 else
13459 eval "$as_ac_Header=\$ac_header_preproc"
13460 fi
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13463
13464 fi
13465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13466 cat >>confdefs.h <<_ACEOF
13467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13468 _ACEOF
13469
13470 fi
13471
13472 done
13473
13474 fi
13475
13476
13477 for ac_header in fnmatch.h
13478 do
13479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13481 echo "$as_me:$LINENO: checking for $ac_header" >&5
13482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 fi
13486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13488 else
13489 # Is the header compilable?
13490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498 $ac_includes_default
13499 #include <$ac_header>
13500 _ACEOF
13501 rm -f conftest.$ac_objext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13503 (eval $ac_compile) 2>conftest.er1
13504 ac_status=$?
13505 grep -v '^ *+' conftest.er1 >conftest.err
13506 rm -f conftest.er1
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } &&
13510 { ac_try='test -z "$ac_c_werror_flag"
13511 || test ! -s conftest.err'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13514 ac_status=$?
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; } &&
13517 { ac_try='test -s conftest.$ac_objext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13520 ac_status=$?
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 ac_header_compiler=yes
13524 else
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.$ac_ext >&5
13527
13528 ac_header_compiler=no
13529 fi
13530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13532 echo "${ECHO_T}$ac_header_compiler" >&6
13533
13534 # Is the header present?
13535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13537 cat >conftest.$ac_ext <<_ACEOF
13538 /* confdefs.h. */
13539 _ACEOF
13540 cat confdefs.h >>conftest.$ac_ext
13541 cat >>conftest.$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13543 #include <$ac_header>
13544 _ACEOF
13545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13547 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } >/dev/null; then
13553 if test -s conftest.err; then
13554 ac_cpp_err=$ac_c_preproc_warn_flag
13555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13556 else
13557 ac_cpp_err=
13558 fi
13559 else
13560 ac_cpp_err=yes
13561 fi
13562 if test -z "$ac_cpp_err"; then
13563 ac_header_preproc=yes
13564 else
13565 echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13567
13568 ac_header_preproc=no
13569 fi
13570 rm -f conftest.err conftest.$ac_ext
13571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13572 echo "${ECHO_T}$ac_header_preproc" >&6
13573
13574 # So? What about this header?
13575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13576 yes:no: )
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13581 ac_header_preproc=yes
13582 ;;
13583 no:yes:* )
13584 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13586 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13587 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13588 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13590 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13591 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13594 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13596 (
13597 cat <<\_ASBOX
13598 ## ----------------------------------------- ##
13599 ## Report this to wx-dev@lists.wxwindows.org ##
13600 ## ----------------------------------------- ##
13601 _ASBOX
13602 ) |
13603 sed "s/^/$as_me: WARNING: /" >&2
13604 ;;
13605 esac
13606 echo "$as_me:$LINENO: checking for $ac_header" >&5
13607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13609 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 else
13611 eval "$as_ac_Header=\$ac_header_preproc"
13612 fi
13613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13615
13616 fi
13617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13618 cat >>confdefs.h <<_ACEOF
13619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13620 _ACEOF
13621
13622 fi
13623
13624 done
13625
13626
13627 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13628
13629 for ac_func in fnmatch
13630 do
13631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13632 echo "$as_me:$LINENO: checking for $ac_func" >&5
13633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13634 if eval "test \"\${$as_ac_var+set}\" = set"; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 else
13637 cat >conftest.$ac_ext <<_ACEOF
13638 /* confdefs.h. */
13639 _ACEOF
13640 cat confdefs.h >>conftest.$ac_ext
13641 cat >>conftest.$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13645 #define $ac_func innocuous_$ac_func
13646
13647 /* System header to define __stub macros and hopefully few prototypes,
13648 which can conflict with char $ac_func (); below.
13649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13650 <limits.h> exists even on freestanding compilers. */
13651
13652 #ifdef __STDC__
13653 # include <limits.h>
13654 #else
13655 # include <assert.h>
13656 #endif
13657
13658 #undef $ac_func
13659
13660 /* Override any gcc2 internal prototype to avoid an error. */
13661 #ifdef __cplusplus
13662 extern "C"
13663 {
13664 #endif
13665 /* We use char because int might match the return type of a gcc2
13666 builtin and then its argument prototype would still apply. */
13667 char $ac_func ();
13668 /* The GNU C library defines this for functions which it implements
13669 to always fail with ENOSYS. Some functions are actually named
13670 something starting with __ and the normal name is an alias. */
13671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13672 choke me
13673 #else
13674 char (*f) () = $ac_func;
13675 #endif
13676 #ifdef __cplusplus
13677 }
13678 #endif
13679
13680 int
13681 main ()
13682 {
13683 return f != $ac_func;
13684 ;
13685 return 0;
13686 }
13687 _ACEOF
13688 rm -f conftest.$ac_objext conftest$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>conftest.er1
13691 ac_status=$?
13692 grep -v '^ *+' conftest.er1 >conftest.err
13693 rm -f conftest.er1
13694 cat conftest.err >&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); } &&
13697 { ac_try='test -z "$ac_c_werror_flag"
13698 || test ! -s conftest.err'
13699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13700 (eval $ac_try) 2>&5
13701 ac_status=$?
13702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13703 (exit $ac_status); }; } &&
13704 { ac_try='test -s conftest$ac_exeext'
13705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13706 (eval $ac_try) 2>&5
13707 ac_status=$?
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13710 eval "$as_ac_var=yes"
13711 else
13712 echo "$as_me: failed program was:" >&5
13713 sed 's/^/| /' conftest.$ac_ext >&5
13714
13715 eval "$as_ac_var=no"
13716 fi
13717 rm -f conftest.err conftest.$ac_objext \
13718 conftest$ac_exeext conftest.$ac_ext
13719 fi
13720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13722 if test `eval echo '${'$as_ac_var'}'` = yes; then
13723 cat >>confdefs.h <<_ACEOF
13724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13725 _ACEOF
13726
13727 fi
13728 done
13729
13730 fi
13731
13732
13733 for ac_header in langinfo.h
13734 do
13735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13737 echo "$as_me:$LINENO: checking for $ac_header" >&5
13738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13740 echo $ECHO_N "(cached) $ECHO_C" >&6
13741 fi
13742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13744 else
13745 # Is the header compilable?
13746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13748 cat >conftest.$ac_ext <<_ACEOF
13749 /* confdefs.h. */
13750 _ACEOF
13751 cat confdefs.h >>conftest.$ac_ext
13752 cat >>conftest.$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 $ac_includes_default
13755 #include <$ac_header>
13756 _ACEOF
13757 rm -f conftest.$ac_objext
13758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13759 (eval $ac_compile) 2>conftest.er1
13760 ac_status=$?
13761 grep -v '^ *+' conftest.er1 >conftest.err
13762 rm -f conftest.er1
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 (exit $ac_status); } &&
13766 { ac_try='test -z "$ac_c_werror_flag"
13767 || test ! -s conftest.err'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; } &&
13773 { ac_try='test -s conftest.$ac_objext'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13776 ac_status=$?
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 ac_header_compiler=yes
13780 else
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.$ac_ext >&5
13783
13784 ac_header_compiler=no
13785 fi
13786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13787 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13788 echo "${ECHO_T}$ac_header_compiler" >&6
13789
13790 # Is the header present?
13791 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13792 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13793 cat >conftest.$ac_ext <<_ACEOF
13794 /* confdefs.h. */
13795 _ACEOF
13796 cat confdefs.h >>conftest.$ac_ext
13797 cat >>conftest.$ac_ext <<_ACEOF
13798 /* end confdefs.h. */
13799 #include <$ac_header>
13800 _ACEOF
13801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } >/dev/null; then
13809 if test -s conftest.err; then
13810 ac_cpp_err=$ac_c_preproc_warn_flag
13811 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13812 else
13813 ac_cpp_err=
13814 fi
13815 else
13816 ac_cpp_err=yes
13817 fi
13818 if test -z "$ac_cpp_err"; then
13819 ac_header_preproc=yes
13820 else
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.$ac_ext >&5
13823
13824 ac_header_preproc=no
13825 fi
13826 rm -f conftest.err conftest.$ac_ext
13827 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13828 echo "${ECHO_T}$ac_header_preproc" >&6
13829
13830 # So? What about this header?
13831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13832 yes:no: )
13833 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13834 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13836 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13837 ac_header_preproc=yes
13838 ;;
13839 no:yes:* )
13840 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13841 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13842 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13843 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13844 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13845 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13846 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13847 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13849 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13850 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13851 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13852 (
13853 cat <<\_ASBOX
13854 ## ----------------------------------------- ##
13855 ## Report this to wx-dev@lists.wxwindows.org ##
13856 ## ----------------------------------------- ##
13857 _ASBOX
13858 ) |
13859 sed "s/^/$as_me: WARNING: /" >&2
13860 ;;
13861 esac
13862 echo "$as_me:$LINENO: checking for $ac_header" >&5
13863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13866 else
13867 eval "$as_ac_Header=\$ac_header_preproc"
13868 fi
13869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13871
13872 fi
13873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13874 cat >>confdefs.h <<_ACEOF
13875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13876 _ACEOF
13877
13878 fi
13879
13880 done
13881
13882
13883 case "${host}" in
13884 *-pc-os2_emx | *-pc-os2-emx )
13885 if test $ac_cv_header_langinfo_h = "yes"; then
13886 LIBS="$LIBS -lintl"
13887 fi
13888 ;;
13889 esac
13890
13891 if test "$wxUSE_GUI" = "yes"; then
13892 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13893
13894 for ac_header in X11/Xlib.h
13895 do
13896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13898 echo "$as_me:$LINENO: checking for $ac_header" >&5
13899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13901 echo $ECHO_N "(cached) $ECHO_C" >&6
13902 fi
13903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13905 else
13906 # Is the header compilable?
13907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13909 cat >conftest.$ac_ext <<_ACEOF
13910 /* confdefs.h. */
13911 _ACEOF
13912 cat confdefs.h >>conftest.$ac_ext
13913 cat >>conftest.$ac_ext <<_ACEOF
13914 /* end confdefs.h. */
13915 $ac_includes_default
13916 #include <$ac_header>
13917 _ACEOF
13918 rm -f conftest.$ac_objext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13920 (eval $ac_compile) 2>conftest.er1
13921 ac_status=$?
13922 grep -v '^ *+' conftest.er1 >conftest.err
13923 rm -f conftest.er1
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try='test -z "$ac_c_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13931 ac_status=$?
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try='test -s conftest.$ac_objext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13937 ac_status=$?
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13940 ac_header_compiler=yes
13941 else
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.$ac_ext >&5
13944
13945 ac_header_compiler=no
13946 fi
13947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13949 echo "${ECHO_T}$ac_header_compiler" >&6
13950
13951 # Is the header present?
13952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13954 cat >conftest.$ac_ext <<_ACEOF
13955 /* confdefs.h. */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 #include <$ac_header>
13961 _ACEOF
13962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13964 ac_status=$?
13965 grep -v '^ *+' conftest.er1 >conftest.err
13966 rm -f conftest.er1
13967 cat conftest.err >&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); } >/dev/null; then
13970 if test -s conftest.err; then
13971 ac_cpp_err=$ac_c_preproc_warn_flag
13972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13973 else
13974 ac_cpp_err=
13975 fi
13976 else
13977 ac_cpp_err=yes
13978 fi
13979 if test -z "$ac_cpp_err"; then
13980 ac_header_preproc=yes
13981 else
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.$ac_ext >&5
13984
13985 ac_header_preproc=no
13986 fi
13987 rm -f conftest.err conftest.$ac_ext
13988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13989 echo "${ECHO_T}$ac_header_preproc" >&6
13990
13991 # So? What about this header?
13992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13993 yes:no: )
13994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13998 ac_header_preproc=yes
13999 ;;
14000 no:yes:* )
14001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14004 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14008 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14013 (
14014 cat <<\_ASBOX
14015 ## ----------------------------------------- ##
14016 ## Report this to wx-dev@lists.wxwindows.org ##
14017 ## ----------------------------------------- ##
14018 _ASBOX
14019 ) |
14020 sed "s/^/$as_me: WARNING: /" >&2
14021 ;;
14022 esac
14023 echo "$as_me:$LINENO: checking for $ac_header" >&5
14024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14026 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 else
14028 eval "$as_ac_Header=\$ac_header_preproc"
14029 fi
14030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14032
14033 fi
14034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14035 cat >>confdefs.h <<_ACEOF
14036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14037 _ACEOF
14038
14039 fi
14040
14041 done
14042
14043
14044 for ac_header in X11/XKBlib.h
14045 do
14046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14047 echo "$as_me:$LINENO: checking for $ac_header" >&5
14048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 else
14052 cat >conftest.$ac_ext <<_ACEOF
14053 /* confdefs.h. */
14054 _ACEOF
14055 cat confdefs.h >>conftest.$ac_ext
14056 cat >>conftest.$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14058
14059 #if HAVE_X11_XLIB_H
14060 #include <X11/Xlib.h>
14061 #endif
14062
14063
14064 #include <$ac_header>
14065 _ACEOF
14066 rm -f conftest.$ac_objext
14067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14068 (eval $ac_compile) 2>conftest.er1
14069 ac_status=$?
14070 grep -v '^ *+' conftest.er1 >conftest.err
14071 rm -f conftest.er1
14072 cat conftest.err >&5
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); } &&
14075 { ac_try='test -z "$ac_c_werror_flag"
14076 || test ! -s conftest.err'
14077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14078 (eval $ac_try) 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; } &&
14082 { ac_try='test -s conftest.$ac_objext'
14083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14084 (eval $ac_try) 2>&5
14085 ac_status=$?
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); }; }; then
14088 eval "$as_ac_Header=yes"
14089 else
14090 echo "$as_me: failed program was:" >&5
14091 sed 's/^/| /' conftest.$ac_ext >&5
14092
14093 eval "$as_ac_Header=no"
14094 fi
14095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14096 fi
14097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14100 cat >>confdefs.h <<_ACEOF
14101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14102 _ACEOF
14103
14104 fi
14105
14106 done
14107
14108 fi
14109 fi
14110
14111
14112 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14113 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14114 if test "${ac_cv_c_const+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 else
14117 cat >conftest.$ac_ext <<_ACEOF
14118 /* confdefs.h. */
14119 _ACEOF
14120 cat confdefs.h >>conftest.$ac_ext
14121 cat >>conftest.$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14123
14124 int
14125 main ()
14126 {
14127 /* FIXME: Include the comments suggested by Paul. */
14128 #ifndef __cplusplus
14129 /* Ultrix mips cc rejects this. */
14130 typedef int charset[2];
14131 const charset x;
14132 /* SunOS 4.1.1 cc rejects this. */
14133 char const *const *ccp;
14134 char **p;
14135 /* NEC SVR4.0.2 mips cc rejects this. */
14136 struct point {int x, y;};
14137 static struct point const zero = {0,0};
14138 /* AIX XL C 1.02.0.0 rejects this.
14139 It does not let you subtract one const X* pointer from another in
14140 an arm of an if-expression whose if-part is not a constant
14141 expression */
14142 const char *g = "string";
14143 ccp = &g + (g ? g-g : 0);
14144 /* HPUX 7.0 cc rejects these. */
14145 ++ccp;
14146 p = (char**) ccp;
14147 ccp = (char const *const *) p;
14148 { /* SCO 3.2v4 cc rejects this. */
14149 char *t;
14150 char const *s = 0 ? (char *) 0 : (char const *) 0;
14151
14152 *t++ = 0;
14153 }
14154 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14155 int x[] = {25, 17};
14156 const int *foo = &x[0];
14157 ++foo;
14158 }
14159 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14160 typedef const int *iptr;
14161 iptr p = 0;
14162 ++p;
14163 }
14164 { /* AIX XL C 1.02.0.0 rejects this saying
14165 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14166 struct s { int j; const int *ap[3]; };
14167 struct s *b; b->j = 5;
14168 }
14169 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14170 const int foo = 10;
14171 }
14172 #endif
14173
14174 ;
14175 return 0;
14176 }
14177 _ACEOF
14178 rm -f conftest.$ac_objext
14179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14180 (eval $ac_compile) 2>conftest.er1
14181 ac_status=$?
14182 grep -v '^ *+' conftest.er1 >conftest.err
14183 rm -f conftest.er1
14184 cat conftest.err >&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } &&
14187 { ac_try='test -z "$ac_c_werror_flag"
14188 || test ! -s conftest.err'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; } &&
14194 { ac_try='test -s conftest.$ac_objext'
14195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14196 (eval $ac_try) 2>&5
14197 ac_status=$?
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); }; }; then
14200 ac_cv_c_const=yes
14201 else
14202 echo "$as_me: failed program was:" >&5
14203 sed 's/^/| /' conftest.$ac_ext >&5
14204
14205 ac_cv_c_const=no
14206 fi
14207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14208 fi
14209 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14210 echo "${ECHO_T}$ac_cv_c_const" >&6
14211 if test $ac_cv_c_const = no; then
14212
14213 cat >>confdefs.h <<\_ACEOF
14214 #define const
14215 _ACEOF
14216
14217 fi
14218
14219 echo "$as_me:$LINENO: checking for inline" >&5
14220 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14221 if test "${ac_cv_c_inline+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14223 else
14224 ac_cv_c_inline=no
14225 for ac_kw in inline __inline__ __inline; do
14226 cat >conftest.$ac_ext <<_ACEOF
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 #ifndef __cplusplus
14233 typedef int foo_t;
14234 static $ac_kw foo_t static_foo () {return 0; }
14235 $ac_kw foo_t foo () {return 0; }
14236 #endif
14237
14238 _ACEOF
14239 rm -f conftest.$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>conftest.er1
14242 ac_status=$?
14243 grep -v '^ *+' conftest.er1 >conftest.err
14244 rm -f conftest.er1
14245 cat conftest.err >&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); } &&
14248 { ac_try='test -z "$ac_c_werror_flag"
14249 || test ! -s conftest.err'
14250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14251 (eval $ac_try) 2>&5
14252 ac_status=$?
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }; } &&
14255 { ac_try='test -s conftest.$ac_objext'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14258 ac_status=$?
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; }; then
14261 ac_cv_c_inline=$ac_kw; break
14262 else
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.$ac_ext >&5
14265
14266 fi
14267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14268 done
14269
14270 fi
14271 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14272 echo "${ECHO_T}$ac_cv_c_inline" >&6
14273
14274
14275 case $ac_cv_c_inline in
14276 inline | yes) ;;
14277 *)
14278 case $ac_cv_c_inline in
14279 no) ac_val=;;
14280 *) ac_val=$ac_cv_c_inline;;
14281 esac
14282 cat >>confdefs.h <<_ACEOF
14283 #ifndef __cplusplus
14284 #define inline $ac_val
14285 #endif
14286 _ACEOF
14287 ;;
14288 esac
14289
14290
14291 echo "$as_me:$LINENO: checking for char" >&5
14292 echo $ECHO_N "checking for char... $ECHO_C" >&6
14293 if test "${ac_cv_type_char+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 else
14296 cat >conftest.$ac_ext <<_ACEOF
14297 /* confdefs.h. */
14298 _ACEOF
14299 cat confdefs.h >>conftest.$ac_ext
14300 cat >>conftest.$ac_ext <<_ACEOF
14301 /* end confdefs.h. */
14302 $ac_includes_default
14303 int
14304 main ()
14305 {
14306 if ((char *) 0)
14307 return 0;
14308 if (sizeof (char))
14309 return 0;
14310 ;
14311 return 0;
14312 }
14313 _ACEOF
14314 rm -f conftest.$ac_objext
14315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14316 (eval $ac_compile) 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } &&
14323 { ac_try='test -z "$ac_c_werror_flag"
14324 || test ! -s conftest.err'
14325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5
14327 ac_status=$?
14328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; } &&
14330 { ac_try='test -s conftest.$ac_objext'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14333 ac_status=$?
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; }; then
14336 ac_cv_type_char=yes
14337 else
14338 echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.$ac_ext >&5
14340
14341 ac_cv_type_char=no
14342 fi
14343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14344 fi
14345 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14346 echo "${ECHO_T}$ac_cv_type_char" >&6
14347
14348 echo "$as_me:$LINENO: checking size of char" >&5
14349 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14350 if test "${ac_cv_sizeof_char+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test "$ac_cv_type_char" = yes; then
14354 # The cast to unsigned long works around a bug in the HP C Compiler
14355 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14356 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14357 # This bug is HP SR number 8606223364.
14358 if test "$cross_compiling" = yes; then
14359 # Depending upon the size, compute the lo and hi bounds.
14360 cat >conftest.$ac_ext <<_ACEOF
14361 /* confdefs.h. */
14362 _ACEOF
14363 cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14366 $ac_includes_default
14367 int
14368 main ()
14369 {
14370 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14371 test_array [0] = 0
14372
14373 ;
14374 return 0;
14375 }
14376 _ACEOF
14377 rm -f conftest.$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>conftest.er1
14380 ac_status=$?
14381 grep -v '^ *+' conftest.er1 >conftest.err
14382 rm -f conftest.er1
14383 cat conftest.err >&5
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try='test -z "$ac_c_werror_flag"
14387 || test ! -s conftest.err'
14388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14389 (eval $ac_try) 2>&5
14390 ac_status=$?
14391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14392 (exit $ac_status); }; } &&
14393 { ac_try='test -s conftest.$ac_objext'
14394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14395 (eval $ac_try) 2>&5
14396 ac_status=$?
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }; }; then
14399 ac_lo=0 ac_mid=0
14400 while :; do
14401 cat >conftest.$ac_ext <<_ACEOF
14402 /* confdefs.h. */
14403 _ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 $ac_includes_default
14408 int
14409 main ()
14410 {
14411 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14412 test_array [0] = 0
14413
14414 ;
14415 return 0;
14416 }
14417 _ACEOF
14418 rm -f conftest.$ac_objext
14419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14420 (eval $ac_compile) 2>conftest.er1
14421 ac_status=$?
14422 grep -v '^ *+' conftest.er1 >conftest.err
14423 rm -f conftest.er1
14424 cat conftest.err >&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } &&
14427 { ac_try='test -z "$ac_c_werror_flag"
14428 || test ! -s conftest.err'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14431 ac_status=$?
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; } &&
14434 { ac_try='test -s conftest.$ac_objext'
14435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14436 (eval $ac_try) 2>&5
14437 ac_status=$?
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); }; }; then
14440 ac_hi=$ac_mid; break
14441 else
14442 echo "$as_me: failed program was:" >&5
14443 sed 's/^/| /' conftest.$ac_ext >&5
14444
14445 ac_lo=`expr $ac_mid + 1`
14446 if test $ac_lo -le $ac_mid; then
14447 ac_lo= ac_hi=
14448 break
14449 fi
14450 ac_mid=`expr 2 '*' $ac_mid + 1`
14451 fi
14452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14453 done
14454 else
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14457
14458 cat >conftest.$ac_ext <<_ACEOF
14459 /* confdefs.h. */
14460 _ACEOF
14461 cat confdefs.h >>conftest.$ac_ext
14462 cat >>conftest.$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464 $ac_includes_default
14465 int
14466 main ()
14467 {
14468 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14469 test_array [0] = 0
14470
14471 ;
14472 return 0;
14473 }
14474 _ACEOF
14475 rm -f conftest.$ac_objext
14476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14477 (eval $ac_compile) 2>conftest.er1
14478 ac_status=$?
14479 grep -v '^ *+' conftest.er1 >conftest.err
14480 rm -f conftest.er1
14481 cat conftest.err >&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); } &&
14484 { ac_try='test -z "$ac_c_werror_flag"
14485 || test ! -s conftest.err'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; } &&
14491 { ac_try='test -s conftest.$ac_objext'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14497 ac_hi=-1 ac_mid=-1
14498 while :; do
14499 cat >conftest.$ac_ext <<_ACEOF
14500 /* confdefs.h. */
14501 _ACEOF
14502 cat confdefs.h >>conftest.$ac_ext
14503 cat >>conftest.$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14505 $ac_includes_default
14506 int
14507 main ()
14508 {
14509 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14510 test_array [0] = 0
14511
14512 ;
14513 return 0;
14514 }
14515 _ACEOF
14516 rm -f conftest.$ac_objext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14518 (eval $ac_compile) 2>conftest.er1
14519 ac_status=$?
14520 grep -v '^ *+' conftest.er1 >conftest.err
14521 rm -f conftest.er1
14522 cat conftest.err >&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try='test -z "$ac_c_werror_flag"
14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14529 ac_status=$?
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try='test -s conftest.$ac_objext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14535 ac_status=$?
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14538 ac_lo=$ac_mid; break
14539 else
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.$ac_ext >&5
14542
14543 ac_hi=`expr '(' $ac_mid ')' - 1`
14544 if test $ac_mid -le $ac_hi; then
14545 ac_lo= ac_hi=
14546 break
14547 fi
14548 ac_mid=`expr 2 '*' $ac_mid`
14549 fi
14550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14551 done
14552 else
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14555
14556 ac_lo= ac_hi=
14557 fi
14558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14559 fi
14560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14561 # Binary search between lo and hi bounds.
14562 while test "x$ac_lo" != "x$ac_hi"; do
14563 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14564 cat >conftest.$ac_ext <<_ACEOF
14565 /* confdefs.h. */
14566 _ACEOF
14567 cat confdefs.h >>conftest.$ac_ext
14568 cat >>conftest.$ac_ext <<_ACEOF
14569 /* end confdefs.h. */
14570 $ac_includes_default
14571 int
14572 main ()
14573 {
14574 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14575 test_array [0] = 0
14576
14577 ;
14578 return 0;
14579 }
14580 _ACEOF
14581 rm -f conftest.$ac_objext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 (eval $ac_compile) 2>conftest.er1
14584 ac_status=$?
14585 grep -v '^ *+' conftest.er1 >conftest.err
14586 rm -f conftest.er1
14587 cat conftest.err >&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try='test -z "$ac_c_werror_flag"
14591 || test ! -s conftest.err'
14592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14593 (eval $ac_try) 2>&5
14594 ac_status=$?
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; } &&
14597 { ac_try='test -s conftest.$ac_objext'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14600 ac_status=$?
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; }; then
14603 ac_hi=$ac_mid
14604 else
14605 echo "$as_me: failed program was:" >&5
14606 sed 's/^/| /' conftest.$ac_ext >&5
14607
14608 ac_lo=`expr '(' $ac_mid ')' + 1`
14609 fi
14610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14611 done
14612 case $ac_lo in
14613 ?*) ac_cv_sizeof_char=$ac_lo;;
14614 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14615 See \`config.log' for more details." >&5
14616 echo "$as_me: error: cannot compute sizeof (char), 77
14617 See \`config.log' for more details." >&2;}
14618 { (exit 1); exit 1; }; } ;;
14619 esac
14620 else
14621 if test "$cross_compiling" = yes; then
14622 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14623 See \`config.log' for more details." >&5
14624 echo "$as_me: error: cannot run test program while cross compiling
14625 See \`config.log' for more details." >&2;}
14626 { (exit 1); exit 1; }; }
14627 else
14628 cat >conftest.$ac_ext <<_ACEOF
14629 /* confdefs.h. */
14630 _ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 $ac_includes_default
14635 long longval () { return (long) (sizeof (char)); }
14636 unsigned long ulongval () { return (long) (sizeof (char)); }
14637 #include <stdio.h>
14638 #include <stdlib.h>
14639 int
14640 main ()
14641 {
14642
14643 FILE *f = fopen ("conftest.val", "w");
14644 if (! f)
14645 exit (1);
14646 if (((long) (sizeof (char))) < 0)
14647 {
14648 long i = longval ();
14649 if (i != ((long) (sizeof (char))))
14650 exit (1);
14651 fprintf (f, "%ld\n", i);
14652 }
14653 else
14654 {
14655 unsigned long i = ulongval ();
14656 if (i != ((long) (sizeof (char))))
14657 exit (1);
14658 fprintf (f, "%lu\n", i);
14659 }
14660 exit (ferror (f) || fclose (f) != 0);
14661
14662 ;
14663 return 0;
14664 }
14665 _ACEOF
14666 rm -f conftest$ac_exeext
14667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14668 (eval $ac_link) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14677 ac_cv_sizeof_char=`cat conftest.val`
14678 else
14679 echo "$as_me: program exited with status $ac_status" >&5
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 ( exit $ac_status )
14684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14685 See \`config.log' for more details." >&5
14686 echo "$as_me: error: cannot compute sizeof (char), 77
14687 See \`config.log' for more details." >&2;}
14688 { (exit 1); exit 1; }; }
14689 fi
14690 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14691 fi
14692 fi
14693 rm -f conftest.val
14694 else
14695 ac_cv_sizeof_char=0
14696 fi
14697 fi
14698 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14699 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14700 cat >>confdefs.h <<_ACEOF
14701 #define SIZEOF_CHAR $ac_cv_sizeof_char
14702 _ACEOF
14703
14704
14705 echo "$as_me:$LINENO: checking for short" >&5
14706 echo $ECHO_N "checking for short... $ECHO_C" >&6
14707 if test "${ac_cv_type_short+set}" = set; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 else
14710 cat >conftest.$ac_ext <<_ACEOF
14711 /* confdefs.h. */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 $ac_includes_default
14717 int
14718 main ()
14719 {
14720 if ((short *) 0)
14721 return 0;
14722 if (sizeof (short))
14723 return 0;
14724 ;
14725 return 0;
14726 }
14727 _ACEOF
14728 rm -f conftest.$ac_objext
14729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14730 (eval $ac_compile) 2>conftest.er1
14731 ac_status=$?
14732 grep -v '^ *+' conftest.er1 >conftest.err
14733 rm -f conftest.er1
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -z "$ac_c_werror_flag"
14738 || test ! -s conftest.err'
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); }; } &&
14744 { ac_try='test -s conftest.$ac_objext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14747 ac_status=$?
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 ac_cv_type_short=yes
14751 else
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14754
14755 ac_cv_type_short=no
14756 fi
14757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14758 fi
14759 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14760 echo "${ECHO_T}$ac_cv_type_short" >&6
14761
14762 echo "$as_me:$LINENO: checking size of short" >&5
14763 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14764 if test "${ac_cv_sizeof_short+set}" = set; then
14765 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 else
14767 if test "$ac_cv_type_short" = yes; then
14768 # The cast to unsigned long works around a bug in the HP C Compiler
14769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14771 # This bug is HP SR number 8606223364.
14772 if test "$cross_compiling" = yes; then
14773 # Depending upon the size, compute the lo and hi bounds.
14774 cat >conftest.$ac_ext <<_ACEOF
14775 /* confdefs.h. */
14776 _ACEOF
14777 cat confdefs.h >>conftest.$ac_ext
14778 cat >>conftest.$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14780 $ac_includes_default
14781 int
14782 main ()
14783 {
14784 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14785 test_array [0] = 0
14786
14787 ;
14788 return 0;
14789 }
14790 _ACEOF
14791 rm -f conftest.$ac_objext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14793 (eval $ac_compile) 2>conftest.er1
14794 ac_status=$?
14795 grep -v '^ *+' conftest.er1 >conftest.err
14796 rm -f conftest.er1
14797 cat conftest.err >&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14810 ac_status=$?
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 ac_lo=0 ac_mid=0
14814 while :; do
14815 cat >conftest.$ac_ext <<_ACEOF
14816 /* confdefs.h. */
14817 _ACEOF
14818 cat confdefs.h >>conftest.$ac_ext
14819 cat >>conftest.$ac_ext <<_ACEOF
14820 /* end confdefs.h. */
14821 $ac_includes_default
14822 int
14823 main ()
14824 {
14825 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14826 test_array [0] = 0
14827
14828 ;
14829 return 0;
14830 }
14831 _ACEOF
14832 rm -f conftest.$ac_objext
14833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>conftest.er1
14835 ac_status=$?
14836 grep -v '^ *+' conftest.er1 >conftest.err
14837 rm -f conftest.er1
14838 cat conftest.err >&5
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); } &&
14841 { ac_try='test -z "$ac_c_werror_flag"
14842 || test ! -s conftest.err'
14843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14844 (eval $ac_try) 2>&5
14845 ac_status=$?
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); }; } &&
14848 { ac_try='test -s conftest.$ac_objext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14851 ac_status=$?
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 ac_hi=$ac_mid; break
14855 else
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14858
14859 ac_lo=`expr $ac_mid + 1`
14860 if test $ac_lo -le $ac_mid; then
14861 ac_lo= ac_hi=
14862 break
14863 fi
14864 ac_mid=`expr 2 '*' $ac_mid + 1`
14865 fi
14866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14867 done
14868 else
14869 echo "$as_me: failed program was:" >&5
14870 sed 's/^/| /' conftest.$ac_ext >&5
14871
14872 cat >conftest.$ac_ext <<_ACEOF
14873 /* confdefs.h. */
14874 _ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 $ac_includes_default
14879 int
14880 main ()
14881 {
14882 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14883 test_array [0] = 0
14884
14885 ;
14886 return 0;
14887 }
14888 _ACEOF
14889 rm -f conftest.$ac_objext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>conftest.er1
14892 ac_status=$?
14893 grep -v '^ *+' conftest.er1 >conftest.err
14894 rm -f conftest.er1
14895 cat conftest.err >&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try='test -z "$ac_c_werror_flag"
14899 || test ! -s conftest.err'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14902 ac_status=$?
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; } &&
14905 { ac_try='test -s conftest.$ac_objext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14911 ac_hi=-1 ac_mid=-1
14912 while :; do
14913 cat >conftest.$ac_ext <<_ACEOF
14914 /* confdefs.h. */
14915 _ACEOF
14916 cat confdefs.h >>conftest.$ac_ext
14917 cat >>conftest.$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14919 $ac_includes_default
14920 int
14921 main ()
14922 {
14923 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14924 test_array [0] = 0
14925
14926 ;
14927 return 0;
14928 }
14929 _ACEOF
14930 rm -f conftest.$ac_objext
14931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14932 (eval $ac_compile) 2>conftest.er1
14933 ac_status=$?
14934 grep -v '^ *+' conftest.er1 >conftest.err
14935 rm -f conftest.er1
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -z "$ac_c_werror_flag"
14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14943 ac_status=$?
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; }; then
14952 ac_lo=$ac_mid; break
14953 else
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14956
14957 ac_hi=`expr '(' $ac_mid ')' - 1`
14958 if test $ac_mid -le $ac_hi; then
14959 ac_lo= ac_hi=
14960 break
14961 fi
14962 ac_mid=`expr 2 '*' $ac_mid`
14963 fi
14964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14965 done
14966 else
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.$ac_ext >&5
14969
14970 ac_lo= ac_hi=
14971 fi
14972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14973 fi
14974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14975 # Binary search between lo and hi bounds.
14976 while test "x$ac_lo" != "x$ac_hi"; do
14977 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14978 cat >conftest.$ac_ext <<_ACEOF
14979 /* confdefs.h. */
14980 _ACEOF
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14984 $ac_includes_default
14985 int
14986 main ()
14987 {
14988 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14989 test_array [0] = 0
14990
14991 ;
14992 return 0;
14993 }
14994 _ACEOF
14995 rm -f conftest.$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997 (eval $ac_compile) 2>conftest.er1
14998 ac_status=$?
14999 grep -v '^ *+' conftest.er1 >conftest.err
15000 rm -f conftest.er1
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } &&
15004 { ac_try='test -z "$ac_c_werror_flag"
15005 || test ! -s conftest.err'
15006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15007 (eval $ac_try) 2>&5
15008 ac_status=$?
15009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15010 (exit $ac_status); }; } &&
15011 { ac_try='test -s conftest.$ac_objext'
15012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15013 (eval $ac_try) 2>&5
15014 ac_status=$?
15015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); }; }; then
15017 ac_hi=$ac_mid
15018 else
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.$ac_ext >&5
15021
15022 ac_lo=`expr '(' $ac_mid ')' + 1`
15023 fi
15024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15025 done
15026 case $ac_lo in
15027 ?*) ac_cv_sizeof_short=$ac_lo;;
15028 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15029 See \`config.log' for more details." >&5
15030 echo "$as_me: error: cannot compute sizeof (short), 77
15031 See \`config.log' for more details." >&2;}
15032 { (exit 1); exit 1; }; } ;;
15033 esac
15034 else
15035 if test "$cross_compiling" = yes; then
15036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15037 See \`config.log' for more details." >&5
15038 echo "$as_me: error: cannot run test program while cross compiling
15039 See \`config.log' for more details." >&2;}
15040 { (exit 1); exit 1; }; }
15041 else
15042 cat >conftest.$ac_ext <<_ACEOF
15043 /* confdefs.h. */
15044 _ACEOF
15045 cat confdefs.h >>conftest.$ac_ext
15046 cat >>conftest.$ac_ext <<_ACEOF
15047 /* end confdefs.h. */
15048 $ac_includes_default
15049 long longval () { return (long) (sizeof (short)); }
15050 unsigned long ulongval () { return (long) (sizeof (short)); }
15051 #include <stdio.h>
15052 #include <stdlib.h>
15053 int
15054 main ()
15055 {
15056
15057 FILE *f = fopen ("conftest.val", "w");
15058 if (! f)
15059 exit (1);
15060 if (((long) (sizeof (short))) < 0)
15061 {
15062 long i = longval ();
15063 if (i != ((long) (sizeof (short))))
15064 exit (1);
15065 fprintf (f, "%ld\n", i);
15066 }
15067 else
15068 {
15069 unsigned long i = ulongval ();
15070 if (i != ((long) (sizeof (short))))
15071 exit (1);
15072 fprintf (f, "%lu\n", i);
15073 }
15074 exit (ferror (f) || fclose (f) != 0);
15075
15076 ;
15077 return 0;
15078 }
15079 _ACEOF
15080 rm -f conftest$ac_exeext
15081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15082 (eval $ac_link) 2>&5
15083 ac_status=$?
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15088 ac_status=$?
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_cv_sizeof_short=`cat conftest.val`
15092 else
15093 echo "$as_me: program exited with status $ac_status" >&5
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15096
15097 ( exit $ac_status )
15098 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15099 See \`config.log' for more details." >&5
15100 echo "$as_me: error: cannot compute sizeof (short), 77
15101 See \`config.log' for more details." >&2;}
15102 { (exit 1); exit 1; }; }
15103 fi
15104 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15105 fi
15106 fi
15107 rm -f conftest.val
15108 else
15109 ac_cv_sizeof_short=0
15110 fi
15111 fi
15112 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15113 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15114 cat >>confdefs.h <<_ACEOF
15115 #define SIZEOF_SHORT $ac_cv_sizeof_short
15116 _ACEOF
15117
15118
15119 echo "$as_me:$LINENO: checking for void *" >&5
15120 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15121 if test "${ac_cv_type_void_p+set}" = set; then
15122 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 else
15124 cat >conftest.$ac_ext <<_ACEOF
15125 /* confdefs.h. */
15126 _ACEOF
15127 cat confdefs.h >>conftest.$ac_ext
15128 cat >>conftest.$ac_ext <<_ACEOF
15129 /* end confdefs.h. */
15130 $ac_includes_default
15131 int
15132 main ()
15133 {
15134 if ((void * *) 0)
15135 return 0;
15136 if (sizeof (void *))
15137 return 0;
15138 ;
15139 return 0;
15140 }
15141 _ACEOF
15142 rm -f conftest.$ac_objext
15143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15144 (eval $ac_compile) 2>conftest.er1
15145 ac_status=$?
15146 grep -v '^ *+' conftest.er1 >conftest.err
15147 rm -f conftest.er1
15148 cat conftest.err >&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } &&
15151 { ac_try='test -z "$ac_c_werror_flag"
15152 || test ! -s conftest.err'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15155 ac_status=$?
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; } &&
15158 { ac_try='test -s conftest.$ac_objext'
15159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15160 (eval $ac_try) 2>&5
15161 ac_status=$?
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); }; }; then
15164 ac_cv_type_void_p=yes
15165 else
15166 echo "$as_me: failed program was:" >&5
15167 sed 's/^/| /' conftest.$ac_ext >&5
15168
15169 ac_cv_type_void_p=no
15170 fi
15171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15172 fi
15173 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15174 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15175
15176 echo "$as_me:$LINENO: checking size of void *" >&5
15177 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15178 if test "${ac_cv_sizeof_void_p+set}" = set; then
15179 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 else
15181 if test "$ac_cv_type_void_p" = yes; then
15182 # The cast to unsigned long works around a bug in the HP C Compiler
15183 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15184 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15185 # This bug is HP SR number 8606223364.
15186 if test "$cross_compiling" = yes; then
15187 # Depending upon the size, compute the lo and hi bounds.
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 $ac_includes_default
15195 int
15196 main ()
15197 {
15198 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15199 test_array [0] = 0
15200
15201 ;
15202 return 0;
15203 }
15204 _ACEOF
15205 rm -f conftest.$ac_objext
15206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15207 (eval $ac_compile) 2>conftest.er1
15208 ac_status=$?
15209 grep -v '^ *+' conftest.er1 >conftest.err
15210 rm -f conftest.er1
15211 cat conftest.err >&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); } &&
15214 { ac_try='test -z "$ac_c_werror_flag"
15215 || test ! -s conftest.err'
15216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15217 (eval $ac_try) 2>&5
15218 ac_status=$?
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }; } &&
15221 { ac_try='test -s conftest.$ac_objext'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15224 ac_status=$?
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; }; then
15227 ac_lo=0 ac_mid=0
15228 while :; do
15229 cat >conftest.$ac_ext <<_ACEOF
15230 /* confdefs.h. */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235 $ac_includes_default
15236 int
15237 main ()
15238 {
15239 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15240 test_array [0] = 0
15241
15242 ;
15243 return 0;
15244 }
15245 _ACEOF
15246 rm -f conftest.$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>conftest.er1
15249 ac_status=$?
15250 grep -v '^ *+' conftest.er1 >conftest.err
15251 rm -f conftest.er1
15252 cat conftest.err >&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); } &&
15255 { ac_try='test -z "$ac_c_werror_flag"
15256 || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try='test -s conftest.$ac_objext'
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_hi=$ac_mid; break
15269 else
15270 echo "$as_me: failed program was:" >&5
15271 sed 's/^/| /' conftest.$ac_ext >&5
15272
15273 ac_lo=`expr $ac_mid + 1`
15274 if test $ac_lo -le $ac_mid; then
15275 ac_lo= ac_hi=
15276 break
15277 fi
15278 ac_mid=`expr 2 '*' $ac_mid + 1`
15279 fi
15280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15281 done
15282 else
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15285
15286 cat >conftest.$ac_ext <<_ACEOF
15287 /* confdefs.h. */
15288 _ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15292 $ac_includes_default
15293 int
15294 main ()
15295 {
15296 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15297 test_array [0] = 0
15298
15299 ;
15300 return 0;
15301 }
15302 _ACEOF
15303 rm -f conftest.$ac_objext
15304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15305 (eval $ac_compile) 2>conftest.er1
15306 ac_status=$?
15307 grep -v '^ *+' conftest.er1 >conftest.err
15308 rm -f conftest.er1
15309 cat conftest.err >&5
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); } &&
15312 { ac_try='test -z "$ac_c_werror_flag"
15313 || test ! -s conftest.err'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15316 ac_status=$?
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; } &&
15319 { ac_try='test -s conftest.$ac_objext'
15320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15321 (eval $ac_try) 2>&5
15322 ac_status=$?
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); }; }; then
15325 ac_hi=-1 ac_mid=-1
15326 while :; do
15327 cat >conftest.$ac_ext <<_ACEOF
15328 /* confdefs.h. */
15329 _ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333 $ac_includes_default
15334 int
15335 main ()
15336 {
15337 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15338 test_array [0] = 0
15339
15340 ;
15341 return 0;
15342 }
15343 _ACEOF
15344 rm -f conftest.$ac_objext
15345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15346 (eval $ac_compile) 2>conftest.er1
15347 ac_status=$?
15348 grep -v '^ *+' conftest.er1 >conftest.err
15349 rm -f conftest.er1
15350 cat conftest.err >&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15352 (exit $ac_status); } &&
15353 { ac_try='test -z "$ac_c_werror_flag"
15354 || test ! -s conftest.err'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15357 ac_status=$?
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; } &&
15360 { ac_try='test -s conftest.$ac_objext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15362 (eval $ac_try) 2>&5
15363 ac_status=$?
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); }; }; then
15366 ac_lo=$ac_mid; break
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 ac_hi=`expr '(' $ac_mid ')' - 1`
15372 if test $ac_mid -le $ac_hi; then
15373 ac_lo= ac_hi=
15374 break
15375 fi
15376 ac_mid=`expr 2 '*' $ac_mid`
15377 fi
15378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15379 done
15380 else
15381 echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.$ac_ext >&5
15383
15384 ac_lo= ac_hi=
15385 fi
15386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15387 fi
15388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15389 # Binary search between lo and hi bounds.
15390 while test "x$ac_lo" != "x$ac_hi"; do
15391 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15392 cat >conftest.$ac_ext <<_ACEOF
15393 /* confdefs.h. */
15394 _ACEOF
15395 cat confdefs.h >>conftest.$ac_ext
15396 cat >>conftest.$ac_ext <<_ACEOF
15397 /* end confdefs.h. */
15398 $ac_includes_default
15399 int
15400 main ()
15401 {
15402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15403 test_array [0] = 0
15404
15405 ;
15406 return 0;
15407 }
15408 _ACEOF
15409 rm -f conftest.$ac_objext
15410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15411 (eval $ac_compile) 2>conftest.er1
15412 ac_status=$?
15413 grep -v '^ *+' conftest.er1 >conftest.err
15414 rm -f conftest.er1
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } &&
15418 { ac_try='test -z "$ac_c_werror_flag"
15419 || test ! -s conftest.err'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15422 ac_status=$?
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; } &&
15425 { ac_try='test -s conftest.$ac_objext'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15428 ac_status=$?
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; }; then
15431 ac_hi=$ac_mid
15432 else
15433 echo "$as_me: failed program was:" >&5
15434 sed 's/^/| /' conftest.$ac_ext >&5
15435
15436 ac_lo=`expr '(' $ac_mid ')' + 1`
15437 fi
15438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15439 done
15440 case $ac_lo in
15441 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15442 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15443 See \`config.log' for more details." >&5
15444 echo "$as_me: error: cannot compute sizeof (void *), 77
15445 See \`config.log' for more details." >&2;}
15446 { (exit 1); exit 1; }; } ;;
15447 esac
15448 else
15449 if test "$cross_compiling" = yes; then
15450 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15451 See \`config.log' for more details." >&5
15452 echo "$as_me: error: cannot run test program while cross compiling
15453 See \`config.log' for more details." >&2;}
15454 { (exit 1); exit 1; }; }
15455 else
15456 cat >conftest.$ac_ext <<_ACEOF
15457 /* confdefs.h. */
15458 _ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15462 $ac_includes_default
15463 long longval () { return (long) (sizeof (void *)); }
15464 unsigned long ulongval () { return (long) (sizeof (void *)); }
15465 #include <stdio.h>
15466 #include <stdlib.h>
15467 int
15468 main ()
15469 {
15470
15471 FILE *f = fopen ("conftest.val", "w");
15472 if (! f)
15473 exit (1);
15474 if (((long) (sizeof (void *))) < 0)
15475 {
15476 long i = longval ();
15477 if (i != ((long) (sizeof (void *))))
15478 exit (1);
15479 fprintf (f, "%ld\n", i);
15480 }
15481 else
15482 {
15483 unsigned long i = ulongval ();
15484 if (i != ((long) (sizeof (void *))))
15485 exit (1);
15486 fprintf (f, "%lu\n", i);
15487 }
15488 exit (ferror (f) || fclose (f) != 0);
15489
15490 ;
15491 return 0;
15492 }
15493 _ACEOF
15494 rm -f conftest$ac_exeext
15495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15496 (eval $ac_link) 2>&5
15497 ac_status=$?
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15502 ac_status=$?
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15505 ac_cv_sizeof_void_p=`cat conftest.val`
15506 else
15507 echo "$as_me: program exited with status $ac_status" >&5
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15510
15511 ( exit $ac_status )
15512 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15513 See \`config.log' for more details." >&5
15514 echo "$as_me: error: cannot compute sizeof (void *), 77
15515 See \`config.log' for more details." >&2;}
15516 { (exit 1); exit 1; }; }
15517 fi
15518 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15519 fi
15520 fi
15521 rm -f conftest.val
15522 else
15523 ac_cv_sizeof_void_p=0
15524 fi
15525 fi
15526 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15527 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15528 cat >>confdefs.h <<_ACEOF
15529 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15530 _ACEOF
15531
15532
15533 echo "$as_me:$LINENO: checking for int" >&5
15534 echo $ECHO_N "checking for int... $ECHO_C" >&6
15535 if test "${ac_cv_type_int+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 else
15538 cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h. */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544 $ac_includes_default
15545 int
15546 main ()
15547 {
15548 if ((int *) 0)
15549 return 0;
15550 if (sizeof (int))
15551 return 0;
15552 ;
15553 return 0;
15554 }
15555 _ACEOF
15556 rm -f conftest.$ac_objext
15557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15558 (eval $ac_compile) 2>conftest.er1
15559 ac_status=$?
15560 grep -v '^ *+' conftest.er1 >conftest.err
15561 rm -f conftest.er1
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } &&
15565 { ac_try='test -z "$ac_c_werror_flag"
15566 || test ! -s conftest.err'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15569 ac_status=$?
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; } &&
15572 { ac_try='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 ac_cv_type_int=yes
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 ac_cv_type_int=no
15584 fi
15585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15586 fi
15587 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15588 echo "${ECHO_T}$ac_cv_type_int" >&6
15589
15590 echo "$as_me:$LINENO: checking size of int" >&5
15591 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15592 if test "${ac_cv_sizeof_int+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 else
15595 if test "$ac_cv_type_int" = yes; then
15596 # The cast to unsigned long works around a bug in the HP C Compiler
15597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15599 # This bug is HP SR number 8606223364.
15600 if test "$cross_compiling" = yes; then
15601 # Depending upon the size, compute the lo and hi bounds.
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15609 int
15610 main ()
15611 {
15612 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15613 test_array [0] = 0
15614
15615 ;
15616 return 0;
15617 }
15618 _ACEOF
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15622 ac_status=$?
15623 grep -v '^ *+' conftest.er1 >conftest.err
15624 rm -f conftest.er1
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_c_werror_flag"
15629 || test ! -s conftest.err'
15630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631 (eval $ac_try) 2>&5
15632 ac_status=$?
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); }; } &&
15635 { ac_try='test -s conftest.$ac_objext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15638 ac_status=$?
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 ac_lo=0 ac_mid=0
15642 while :; do
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649 $ac_includes_default
15650 int
15651 main ()
15652 {
15653 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15654 test_array [0] = 0
15655
15656 ;
15657 return 0;
15658 }
15659 _ACEOF
15660 rm -f conftest.$ac_objext
15661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15662 (eval $ac_compile) 2>conftest.er1
15663 ac_status=$?
15664 grep -v '^ *+' conftest.er1 >conftest.err
15665 rm -f conftest.er1
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } &&
15669 { ac_try='test -z "$ac_c_werror_flag"
15670 || test ! -s conftest.err'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15673 ac_status=$?
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; } &&
15676 { ac_try='test -s conftest.$ac_objext'
15677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15678 (eval $ac_try) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); }; }; then
15682 ac_hi=$ac_mid; break
15683 else
15684 echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.$ac_ext >&5
15686
15687 ac_lo=`expr $ac_mid + 1`
15688 if test $ac_lo -le $ac_mid; then
15689 ac_lo= ac_hi=
15690 break
15691 fi
15692 ac_mid=`expr 2 '*' $ac_mid + 1`
15693 fi
15694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15695 done
15696 else
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15699
15700 cat >conftest.$ac_ext <<_ACEOF
15701 /* confdefs.h. */
15702 _ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15706 $ac_includes_default
15707 int
15708 main ()
15709 {
15710 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15711 test_array [0] = 0
15712
15713 ;
15714 return 0;
15715 }
15716 _ACEOF
15717 rm -f conftest.$ac_objext
15718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15719 (eval $ac_compile) 2>conftest.er1
15720 ac_status=$?
15721 grep -v '^ *+' conftest.er1 >conftest.err
15722 rm -f conftest.er1
15723 cat conftest.err >&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } &&
15726 { ac_try='test -z "$ac_c_werror_flag"
15727 || test ! -s conftest.err'
15728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729 (eval $ac_try) 2>&5
15730 ac_status=$?
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; } &&
15733 { ac_try='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15736 ac_status=$?
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 ac_hi=-1 ac_mid=-1
15740 while :; do
15741 cat >conftest.$ac_ext <<_ACEOF
15742 /* confdefs.h. */
15743 _ACEOF
15744 cat confdefs.h >>conftest.$ac_ext
15745 cat >>conftest.$ac_ext <<_ACEOF
15746 /* end confdefs.h. */
15747 $ac_includes_default
15748 int
15749 main ()
15750 {
15751 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15752 test_array [0] = 0
15753
15754 ;
15755 return 0;
15756 }
15757 _ACEOF
15758 rm -f conftest.$ac_objext
15759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15760 (eval $ac_compile) 2>conftest.er1
15761 ac_status=$?
15762 grep -v '^ *+' conftest.er1 >conftest.err
15763 rm -f conftest.er1
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } &&
15767 { ac_try='test -z "$ac_c_werror_flag"
15768 || test ! -s conftest.err'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15771 ac_status=$?
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; } &&
15774 { ac_try='test -s conftest.$ac_objext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15776 (eval $ac_try) 2>&5
15777 ac_status=$?
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); }; }; then
15780 ac_lo=$ac_mid; break
15781 else
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.$ac_ext >&5
15784
15785 ac_hi=`expr '(' $ac_mid ')' - 1`
15786 if test $ac_mid -le $ac_hi; then
15787 ac_lo= ac_hi=
15788 break
15789 fi
15790 ac_mid=`expr 2 '*' $ac_mid`
15791 fi
15792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15793 done
15794 else
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15797
15798 ac_lo= ac_hi=
15799 fi
15800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15801 fi
15802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15803 # Binary search between lo and hi bounds.
15804 while test "x$ac_lo" != "x$ac_hi"; do
15805 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15806 cat >conftest.$ac_ext <<_ACEOF
15807 /* confdefs.h. */
15808 _ACEOF
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812 $ac_includes_default
15813 int
15814 main ()
15815 {
15816 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15817 test_array [0] = 0
15818
15819 ;
15820 return 0;
15821 }
15822 _ACEOF
15823 rm -f conftest.$ac_objext
15824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15825 (eval $ac_compile) 2>conftest.er1
15826 ac_status=$?
15827 grep -v '^ *+' conftest.er1 >conftest.err
15828 rm -f conftest.er1
15829 cat conftest.err >&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } &&
15832 { ac_try='test -z "$ac_c_werror_flag"
15833 || test ! -s conftest.err'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15836 ac_status=$?
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; } &&
15839 { ac_try='test -s conftest.$ac_objext'
15840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15841 (eval $ac_try) 2>&5
15842 ac_status=$?
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); }; }; then
15845 ac_hi=$ac_mid
15846 else
15847 echo "$as_me: failed program was:" >&5
15848 sed 's/^/| /' conftest.$ac_ext >&5
15849
15850 ac_lo=`expr '(' $ac_mid ')' + 1`
15851 fi
15852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15853 done
15854 case $ac_lo in
15855 ?*) ac_cv_sizeof_int=$ac_lo;;
15856 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15857 See \`config.log' for more details." >&5
15858 echo "$as_me: error: cannot compute sizeof (int), 77
15859 See \`config.log' for more details." >&2;}
15860 { (exit 1); exit 1; }; } ;;
15861 esac
15862 else
15863 if test "$cross_compiling" = yes; then
15864 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15865 See \`config.log' for more details." >&5
15866 echo "$as_me: error: cannot run test program while cross compiling
15867 See \`config.log' for more details." >&2;}
15868 { (exit 1); exit 1; }; }
15869 else
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 $ac_includes_default
15877 long longval () { return (long) (sizeof (int)); }
15878 unsigned long ulongval () { return (long) (sizeof (int)); }
15879 #include <stdio.h>
15880 #include <stdlib.h>
15881 int
15882 main ()
15883 {
15884
15885 FILE *f = fopen ("conftest.val", "w");
15886 if (! f)
15887 exit (1);
15888 if (((long) (sizeof (int))) < 0)
15889 {
15890 long i = longval ();
15891 if (i != ((long) (sizeof (int))))
15892 exit (1);
15893 fprintf (f, "%ld\n", i);
15894 }
15895 else
15896 {
15897 unsigned long i = ulongval ();
15898 if (i != ((long) (sizeof (int))))
15899 exit (1);
15900 fprintf (f, "%lu\n", i);
15901 }
15902 exit (ferror (f) || fclose (f) != 0);
15903
15904 ;
15905 return 0;
15906 }
15907 _ACEOF
15908 rm -f conftest$ac_exeext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15910 (eval $ac_link) 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15916 ac_status=$?
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 ac_cv_sizeof_int=`cat conftest.val`
15920 else
15921 echo "$as_me: program exited with status $ac_status" >&5
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15924
15925 ( exit $ac_status )
15926 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15927 See \`config.log' for more details." >&5
15928 echo "$as_me: error: cannot compute sizeof (int), 77
15929 See \`config.log' for more details." >&2;}
15930 { (exit 1); exit 1; }; }
15931 fi
15932 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15933 fi
15934 fi
15935 rm -f conftest.val
15936 else
15937 ac_cv_sizeof_int=0
15938 fi
15939 fi
15940 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15941 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15942 cat >>confdefs.h <<_ACEOF
15943 #define SIZEOF_INT $ac_cv_sizeof_int
15944 _ACEOF
15945
15946
15947 echo "$as_me:$LINENO: checking for long" >&5
15948 echo $ECHO_N "checking for long... $ECHO_C" >&6
15949 if test "${ac_cv_type_long+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15952 cat >conftest.$ac_ext <<_ACEOF
15953 /* confdefs.h. */
15954 _ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958 $ac_includes_default
15959 int
15960 main ()
15961 {
15962 if ((long *) 0)
15963 return 0;
15964 if (sizeof (long))
15965 return 0;
15966 ;
15967 return 0;
15968 }
15969 _ACEOF
15970 rm -f conftest.$ac_objext
15971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15972 (eval $ac_compile) 2>conftest.er1
15973 ac_status=$?
15974 grep -v '^ *+' conftest.er1 >conftest.err
15975 rm -f conftest.er1
15976 cat conftest.err >&5
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try='test -z "$ac_c_werror_flag"
15980 || test ! -s conftest.err'
15981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15982 (eval $ac_try) 2>&5
15983 ac_status=$?
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); }; } &&
15986 { ac_try='test -s conftest.$ac_objext'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15989 ac_status=$?
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_cv_type_long=yes
15993 else
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15996
15997 ac_cv_type_long=no
15998 fi
15999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16000 fi
16001 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16002 echo "${ECHO_T}$ac_cv_type_long" >&6
16003
16004 echo "$as_me:$LINENO: checking size of long" >&5
16005 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16006 if test "${ac_cv_sizeof_long+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 if test "$ac_cv_type_long" = yes; then
16010 # The cast to unsigned long works around a bug in the HP C Compiler
16011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16013 # This bug is HP SR number 8606223364.
16014 if test "$cross_compiling" = yes; then
16015 # Depending upon the size, compute the lo and hi bounds.
16016 cat >conftest.$ac_ext <<_ACEOF
16017 /* confdefs.h. */
16018 _ACEOF
16019 cat confdefs.h >>conftest.$ac_ext
16020 cat >>conftest.$ac_ext <<_ACEOF
16021 /* end confdefs.h. */
16022 $ac_includes_default
16023 int
16024 main ()
16025 {
16026 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16027 test_array [0] = 0
16028
16029 ;
16030 return 0;
16031 }
16032 _ACEOF
16033 rm -f conftest.$ac_objext
16034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16035 (eval $ac_compile) 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try='test -z "$ac_c_werror_flag"
16043 || test ! -s conftest.err'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; } &&
16049 { ac_try='test -s conftest.$ac_objext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16055 ac_lo=0 ac_mid=0
16056 while :; do
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 $ac_includes_default
16064 int
16065 main ()
16066 {
16067 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16068 test_array [0] = 0
16069
16070 ;
16071 return 0;
16072 }
16073 _ACEOF
16074 rm -f conftest.$ac_objext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16076 (eval $ac_compile) 2>conftest.er1
16077 ac_status=$?
16078 grep -v '^ *+' conftest.er1 >conftest.err
16079 rm -f conftest.er1
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_hi=$ac_mid; break
16097 else
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16100
16101 ac_lo=`expr $ac_mid + 1`
16102 if test $ac_lo -le $ac_mid; then
16103 ac_lo= ac_hi=
16104 break
16105 fi
16106 ac_mid=`expr 2 '*' $ac_mid + 1`
16107 fi
16108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16109 done
16110 else
16111 echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.$ac_ext >&5
16113
16114 cat >conftest.$ac_ext <<_ACEOF
16115 /* confdefs.h. */
16116 _ACEOF
16117 cat confdefs.h >>conftest.$ac_ext
16118 cat >>conftest.$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120 $ac_includes_default
16121 int
16122 main ()
16123 {
16124 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16125 test_array [0] = 0
16126
16127 ;
16128 return 0;
16129 }
16130 _ACEOF
16131 rm -f conftest.$ac_objext
16132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16133 (eval $ac_compile) 2>conftest.er1
16134 ac_status=$?
16135 grep -v '^ *+' conftest.er1 >conftest.err
16136 rm -f conftest.er1
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } &&
16140 { ac_try='test -z "$ac_c_werror_flag"
16141 || test ! -s conftest.err'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16144 ac_status=$?
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; } &&
16147 { ac_try='test -s conftest.$ac_objext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_hi=-1 ac_mid=-1
16154 while :; do
16155 cat >conftest.$ac_ext <<_ACEOF
16156 /* confdefs.h. */
16157 _ACEOF
16158 cat confdefs.h >>conftest.$ac_ext
16159 cat >>conftest.$ac_ext <<_ACEOF
16160 /* end confdefs.h. */
16161 $ac_includes_default
16162 int
16163 main ()
16164 {
16165 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16166 test_array [0] = 0
16167
16168 ;
16169 return 0;
16170 }
16171 _ACEOF
16172 rm -f conftest.$ac_objext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16174 (eval $ac_compile) 2>conftest.er1
16175 ac_status=$?
16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try='test -z "$ac_c_werror_flag"
16182 || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try='test -s conftest.$ac_objext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190 (eval $ac_try) 2>&5
16191 ac_status=$?
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); }; }; then
16194 ac_lo=$ac_mid; break
16195 else
16196 echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.$ac_ext >&5
16198
16199 ac_hi=`expr '(' $ac_mid ')' - 1`
16200 if test $ac_mid -le $ac_hi; then
16201 ac_lo= ac_hi=
16202 break
16203 fi
16204 ac_mid=`expr 2 '*' $ac_mid`
16205 fi
16206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16207 done
16208 else
16209 echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.$ac_ext >&5
16211
16212 ac_lo= ac_hi=
16213 fi
16214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16215 fi
16216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16217 # Binary search between lo and hi bounds.
16218 while test "x$ac_lo" != "x$ac_hi"; do
16219 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16220 cat >conftest.$ac_ext <<_ACEOF
16221 /* confdefs.h. */
16222 _ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 $ac_includes_default
16227 int
16228 main ()
16229 {
16230 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16231 test_array [0] = 0
16232
16233 ;
16234 return 0;
16235 }
16236 _ACEOF
16237 rm -f conftest.$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try='test -z "$ac_c_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259 ac_hi=$ac_mid
16260 else
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16263
16264 ac_lo=`expr '(' $ac_mid ')' + 1`
16265 fi
16266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16267 done
16268 case $ac_lo in
16269 ?*) ac_cv_sizeof_long=$ac_lo;;
16270 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16271 See \`config.log' for more details." >&5
16272 echo "$as_me: error: cannot compute sizeof (long), 77
16273 See \`config.log' for more details." >&2;}
16274 { (exit 1); exit 1; }; } ;;
16275 esac
16276 else
16277 if test "$cross_compiling" = yes; then
16278 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16279 See \`config.log' for more details." >&5
16280 echo "$as_me: error: cannot run test program while cross compiling
16281 See \`config.log' for more details." >&2;}
16282 { (exit 1); exit 1; }; }
16283 else
16284 cat >conftest.$ac_ext <<_ACEOF
16285 /* confdefs.h. */
16286 _ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16290 $ac_includes_default
16291 long longval () { return (long) (sizeof (long)); }
16292 unsigned long ulongval () { return (long) (sizeof (long)); }
16293 #include <stdio.h>
16294 #include <stdlib.h>
16295 int
16296 main ()
16297 {
16298
16299 FILE *f = fopen ("conftest.val", "w");
16300 if (! f)
16301 exit (1);
16302 if (((long) (sizeof (long))) < 0)
16303 {
16304 long i = longval ();
16305 if (i != ((long) (sizeof (long))))
16306 exit (1);
16307 fprintf (f, "%ld\n", i);
16308 }
16309 else
16310 {
16311 unsigned long i = ulongval ();
16312 if (i != ((long) (sizeof (long))))
16313 exit (1);
16314 fprintf (f, "%lu\n", i);
16315 }
16316 exit (ferror (f) || fclose (f) != 0);
16317
16318 ;
16319 return 0;
16320 }
16321 _ACEOF
16322 rm -f conftest$ac_exeext
16323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16324 (eval $ac_link) 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16333 ac_cv_sizeof_long=`cat conftest.val`
16334 else
16335 echo "$as_me: program exited with status $ac_status" >&5
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 ( exit $ac_status )
16340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16341 See \`config.log' for more details." >&5
16342 echo "$as_me: error: cannot compute sizeof (long), 77
16343 See \`config.log' for more details." >&2;}
16344 { (exit 1); exit 1; }; }
16345 fi
16346 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16347 fi
16348 fi
16349 rm -f conftest.val
16350 else
16351 ac_cv_sizeof_long=0
16352 fi
16353 fi
16354 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16355 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16356 cat >>confdefs.h <<_ACEOF
16357 #define SIZEOF_LONG $ac_cv_sizeof_long
16358 _ACEOF
16359
16360
16361 echo "$as_me:$LINENO: checking for size_t" >&5
16362 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16363 if test "${ac_cv_type_size_t+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16365 else
16366 cat >conftest.$ac_ext <<_ACEOF
16367 /* confdefs.h. */
16368 _ACEOF
16369 cat confdefs.h >>conftest.$ac_ext
16370 cat >>conftest.$ac_ext <<_ACEOF
16371 /* end confdefs.h. */
16372 $ac_includes_default
16373 int
16374 main ()
16375 {
16376 if ((size_t *) 0)
16377 return 0;
16378 if (sizeof (size_t))
16379 return 0;
16380 ;
16381 return 0;
16382 }
16383 _ACEOF
16384 rm -f conftest.$ac_objext
16385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16386 (eval $ac_compile) 2>conftest.er1
16387 ac_status=$?
16388 grep -v '^ *+' conftest.er1 >conftest.err
16389 rm -f conftest.er1
16390 cat conftest.err >&5
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } &&
16393 { ac_try='test -z "$ac_c_werror_flag"
16394 || test ! -s conftest.err'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; } &&
16400 { ac_try='test -s conftest.$ac_objext'
16401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16402 (eval $ac_try) 2>&5
16403 ac_status=$?
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; }; then
16406 ac_cv_type_size_t=yes
16407 else
16408 echo "$as_me: failed program was:" >&5
16409 sed 's/^/| /' conftest.$ac_ext >&5
16410
16411 ac_cv_type_size_t=no
16412 fi
16413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16414 fi
16415 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16416 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16417
16418 echo "$as_me:$LINENO: checking size of size_t" >&5
16419 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16420 if test "${ac_cv_sizeof_size_t+set}" = set; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16422 else
16423 if test "$ac_cv_type_size_t" = yes; then
16424 # The cast to unsigned long works around a bug in the HP C Compiler
16425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16427 # This bug is HP SR number 8606223364.
16428 if test "$cross_compiling" = yes; then
16429 # Depending upon the size, compute the lo and hi bounds.
16430 cat >conftest.$ac_ext <<_ACEOF
16431 /* confdefs.h. */
16432 _ACEOF
16433 cat confdefs.h >>conftest.$ac_ext
16434 cat >>conftest.$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 $ac_includes_default
16437 int
16438 main ()
16439 {
16440 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16441 test_array [0] = 0
16442
16443 ;
16444 return 0;
16445 }
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>conftest.er1
16450 ac_status=$?
16451 grep -v '^ *+' conftest.er1 >conftest.err
16452 rm -f conftest.er1
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } &&
16456 { ac_try='test -z "$ac_c_werror_flag"
16457 || test ! -s conftest.err'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; } &&
16463 { ac_try='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16469 ac_lo=0 ac_mid=0
16470 while :; do
16471 cat >conftest.$ac_ext <<_ACEOF
16472 /* confdefs.h. */
16473 _ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 $ac_includes_default
16478 int
16479 main ()
16480 {
16481 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16482 test_array [0] = 0
16483
16484 ;
16485 return 0;
16486 }
16487 _ACEOF
16488 rm -f conftest.$ac_objext
16489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16490 (eval $ac_compile) 2>conftest.er1
16491 ac_status=$?
16492 grep -v '^ *+' conftest.er1 >conftest.err
16493 rm -f conftest.er1
16494 cat conftest.err >&5
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } &&
16497 { ac_try='test -z "$ac_c_werror_flag"
16498 || test ! -s conftest.err'
16499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16500 (eval $ac_try) 2>&5
16501 ac_status=$?
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); }; } &&
16504 { ac_try='test -s conftest.$ac_objext'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16507 ac_status=$?
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; }; then
16510 ac_hi=$ac_mid; break
16511 else
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16514
16515 ac_lo=`expr $ac_mid + 1`
16516 if test $ac_lo -le $ac_mid; then
16517 ac_lo= ac_hi=
16518 break
16519 fi
16520 ac_mid=`expr 2 '*' $ac_mid + 1`
16521 fi
16522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16523 done
16524 else
16525 echo "$as_me: failed program was:" >&5
16526 sed 's/^/| /' conftest.$ac_ext >&5
16527
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534 $ac_includes_default
16535 int
16536 main ()
16537 {
16538 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16539 test_array [0] = 0
16540
16541 ;
16542 return 0;
16543 }
16544 _ACEOF
16545 rm -f conftest.$ac_objext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16547 (eval $ac_compile) 2>conftest.er1
16548 ac_status=$?
16549 grep -v '^ *+' conftest.er1 >conftest.err
16550 rm -f conftest.er1
16551 cat conftest.err >&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try='test -z "$ac_c_werror_flag"
16555 || test ! -s conftest.err'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try='test -s conftest.$ac_objext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 ac_hi=-1 ac_mid=-1
16568 while :; do
16569 cat >conftest.$ac_ext <<_ACEOF
16570 /* confdefs.h. */
16571 _ACEOF
16572 cat confdefs.h >>conftest.$ac_ext
16573 cat >>conftest.$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16575 $ac_includes_default
16576 int
16577 main ()
16578 {
16579 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16580 test_array [0] = 0
16581
16582 ;
16583 return 0;
16584 }
16585 _ACEOF
16586 rm -f conftest.$ac_objext
16587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16588 (eval $ac_compile) 2>conftest.er1
16589 ac_status=$?
16590 grep -v '^ *+' conftest.er1 >conftest.err
16591 rm -f conftest.er1
16592 cat conftest.err >&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } &&
16595 { ac_try='test -z "$ac_c_werror_flag"
16596 || test ! -s conftest.err'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16599 ac_status=$?
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try='test -s conftest.$ac_objext'
16603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16604 (eval $ac_try) 2>&5
16605 ac_status=$?
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); }; }; then
16608 ac_lo=$ac_mid; break
16609 else
16610 echo "$as_me: failed program was:" >&5
16611 sed 's/^/| /' conftest.$ac_ext >&5
16612
16613 ac_hi=`expr '(' $ac_mid ')' - 1`
16614 if test $ac_mid -le $ac_hi; then
16615 ac_lo= ac_hi=
16616 break
16617 fi
16618 ac_mid=`expr 2 '*' $ac_mid`
16619 fi
16620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16621 done
16622 else
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.$ac_ext >&5
16625
16626 ac_lo= ac_hi=
16627 fi
16628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16629 fi
16630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16631 # Binary search between lo and hi bounds.
16632 while test "x$ac_lo" != "x$ac_hi"; do
16633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16634 cat >conftest.$ac_ext <<_ACEOF
16635 /* confdefs.h. */
16636 _ACEOF
16637 cat confdefs.h >>conftest.$ac_ext
16638 cat >>conftest.$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16640 $ac_includes_default
16641 int
16642 main ()
16643 {
16644 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16645 test_array [0] = 0
16646
16647 ;
16648 return 0;
16649 }
16650 _ACEOF
16651 rm -f conftest.$ac_objext
16652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16653 (eval $ac_compile) 2>conftest.er1
16654 ac_status=$?
16655 grep -v '^ *+' conftest.er1 >conftest.err
16656 rm -f conftest.er1
16657 cat conftest.err >&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } &&
16660 { ac_try='test -z "$ac_c_werror_flag"
16661 || test ! -s conftest.err'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16664 ac_status=$?
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; } &&
16667 { ac_try='test -s conftest.$ac_objext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16670 ac_status=$?
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 ac_hi=$ac_mid
16674 else
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16677
16678 ac_lo=`expr '(' $ac_mid ')' + 1`
16679 fi
16680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16681 done
16682 case $ac_lo in
16683 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16684 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16685 See \`config.log' for more details." >&5
16686 echo "$as_me: error: cannot compute sizeof (size_t), 77
16687 See \`config.log' for more details." >&2;}
16688 { (exit 1); exit 1; }; } ;;
16689 esac
16690 else
16691 if test "$cross_compiling" = yes; then
16692 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16693 See \`config.log' for more details." >&5
16694 echo "$as_me: error: cannot run test program while cross compiling
16695 See \`config.log' for more details." >&2;}
16696 { (exit 1); exit 1; }; }
16697 else
16698 cat >conftest.$ac_ext <<_ACEOF
16699 /* confdefs.h. */
16700 _ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 $ac_includes_default
16705 long longval () { return (long) (sizeof (size_t)); }
16706 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16707 #include <stdio.h>
16708 #include <stdlib.h>
16709 int
16710 main ()
16711 {
16712
16713 FILE *f = fopen ("conftest.val", "w");
16714 if (! f)
16715 exit (1);
16716 if (((long) (sizeof (size_t))) < 0)
16717 {
16718 long i = longval ();
16719 if (i != ((long) (sizeof (size_t))))
16720 exit (1);
16721 fprintf (f, "%ld\n", i);
16722 }
16723 else
16724 {
16725 unsigned long i = ulongval ();
16726 if (i != ((long) (sizeof (size_t))))
16727 exit (1);
16728 fprintf (f, "%lu\n", i);
16729 }
16730 exit (ferror (f) || fclose (f) != 0);
16731
16732 ;
16733 return 0;
16734 }
16735 _ACEOF
16736 rm -f conftest$ac_exeext
16737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16738 (eval $ac_link) 2>&5
16739 ac_status=$?
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16744 ac_status=$?
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; }; then
16747 ac_cv_sizeof_size_t=`cat conftest.val`
16748 else
16749 echo "$as_me: program exited with status $ac_status" >&5
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.$ac_ext >&5
16752
16753 ( exit $ac_status )
16754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16755 See \`config.log' for more details." >&5
16756 echo "$as_me: error: cannot compute sizeof (size_t), 77
16757 See \`config.log' for more details." >&2;}
16758 { (exit 1); exit 1; }; }
16759 fi
16760 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16761 fi
16762 fi
16763 rm -f conftest.val
16764 else
16765 ac_cv_sizeof_size_t=0
16766 fi
16767 fi
16768 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16769 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16770 cat >>confdefs.h <<_ACEOF
16771 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16772 _ACEOF
16773
16774
16775
16776 case "${host}" in
16777 arm-*-linux* )
16778 echo "$as_me:$LINENO: checking for long long" >&5
16779 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16780 if test "${ac_cv_type_long_long+set}" = set; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 else
16783 cat >conftest.$ac_ext <<_ACEOF
16784 /* confdefs.h. */
16785 _ACEOF
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789 $ac_includes_default
16790 int
16791 main ()
16792 {
16793 if ((long long *) 0)
16794 return 0;
16795 if (sizeof (long long))
16796 return 0;
16797 ;
16798 return 0;
16799 }
16800 _ACEOF
16801 rm -f conftest.$ac_objext
16802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16803 (eval $ac_compile) 2>conftest.er1
16804 ac_status=$?
16805 grep -v '^ *+' conftest.er1 >conftest.err
16806 rm -f conftest.er1
16807 cat conftest.err >&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); } &&
16810 { ac_try='test -z "$ac_c_werror_flag"
16811 || test ! -s conftest.err'
16812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16813 (eval $ac_try) 2>&5
16814 ac_status=$?
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); }; } &&
16817 { ac_try='test -s conftest.$ac_objext'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16820 ac_status=$?
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; }; then
16823 ac_cv_type_long_long=yes
16824 else
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.$ac_ext >&5
16827
16828 ac_cv_type_long_long=no
16829 fi
16830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16831 fi
16832 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16833 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16834
16835 echo "$as_me:$LINENO: checking size of long long" >&5
16836 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16837 if test "${ac_cv_sizeof_long_long+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 else
16840 if test "$ac_cv_type_long_long" = yes; then
16841 # The cast to unsigned long works around a bug in the HP C Compiler
16842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16844 # This bug is HP SR number 8606223364.
16845 if test "$cross_compiling" = yes; then
16846 # Depending upon the size, compute the lo and hi bounds.
16847 cat >conftest.$ac_ext <<_ACEOF
16848 /* confdefs.h. */
16849 _ACEOF
16850 cat confdefs.h >>conftest.$ac_ext
16851 cat >>conftest.$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 $ac_includes_default
16854 int
16855 main ()
16856 {
16857 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16858 test_array [0] = 0
16859
16860 ;
16861 return 0;
16862 }
16863 _ACEOF
16864 rm -f conftest.$ac_objext
16865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16866 (eval $ac_compile) 2>conftest.er1
16867 ac_status=$?
16868 grep -v '^ *+' conftest.er1 >conftest.err
16869 rm -f conftest.er1
16870 cat conftest.err >&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } &&
16873 { ac_try='test -z "$ac_c_werror_flag"
16874 || test ! -s conftest.err'
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); }; } &&
16880 { ac_try='test -s conftest.$ac_objext'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16883 ac_status=$?
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; }; then
16886 ac_lo=0 ac_mid=0
16887 while :; do
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16895 int
16896 main ()
16897 {
16898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16899 test_array [0] = 0
16900
16901 ;
16902 return 0;
16903 }
16904 _ACEOF
16905 rm -f conftest.$ac_objext
16906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16907 (eval $ac_compile) 2>conftest.er1
16908 ac_status=$?
16909 grep -v '^ *+' conftest.er1 >conftest.err
16910 rm -f conftest.er1
16911 cat conftest.err >&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } &&
16914 { ac_try='test -z "$ac_c_werror_flag"
16915 || test ! -s conftest.err'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16918 ac_status=$?
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; } &&
16921 { ac_try='test -s conftest.$ac_objext'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; }; then
16927 ac_hi=$ac_mid; break
16928 else
16929 echo "$as_me: failed program was:" >&5
16930 sed 's/^/| /' conftest.$ac_ext >&5
16931
16932 ac_lo=`expr $ac_mid + 1`
16933 if test $ac_lo -le $ac_mid; then
16934 ac_lo= ac_hi=
16935 break
16936 fi
16937 ac_mid=`expr 2 '*' $ac_mid + 1`
16938 fi
16939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16940 done
16941 else
16942 echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.$ac_ext >&5
16944
16945 cat >conftest.$ac_ext <<_ACEOF
16946 /* confdefs.h. */
16947 _ACEOF
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 $ac_includes_default
16952 int
16953 main ()
16954 {
16955 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16956 test_array [0] = 0
16957
16958 ;
16959 return 0;
16960 }
16961 _ACEOF
16962 rm -f conftest.$ac_objext
16963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16964 (eval $ac_compile) 2>conftest.er1
16965 ac_status=$?
16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try='test -z "$ac_c_werror_flag"
16972 || test ! -s conftest.err'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16974 (eval $ac_try) 2>&5
16975 ac_status=$?
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; } &&
16978 { ac_try='test -s conftest.$ac_objext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16981 ac_status=$?
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16983 (exit $ac_status); }; }; then
16984 ac_hi=-1 ac_mid=-1
16985 while :; do
16986 cat >conftest.$ac_ext <<_ACEOF
16987 /* confdefs.h. */
16988 _ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 int
16994 main ()
16995 {
16996 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16997 test_array [0] = 0
16998
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest.$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17006 ac_status=$?
17007 grep -v '^ *+' conftest.er1 >conftest.err
17008 rm -f conftest.er1
17009 cat conftest.err >&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try='test -s conftest.$ac_objext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 ac_lo=$ac_mid; break
17026 else
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.$ac_ext >&5
17029
17030 ac_hi=`expr '(' $ac_mid ')' - 1`
17031 if test $ac_mid -le $ac_hi; then
17032 ac_lo= ac_hi=
17033 break
17034 fi
17035 ac_mid=`expr 2 '*' $ac_mid`
17036 fi
17037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17038 done
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17042
17043 ac_lo= ac_hi=
17044 fi
17045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17046 fi
17047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17048 # Binary search between lo and hi bounds.
17049 while test "x$ac_lo" != "x$ac_hi"; do
17050 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17051 cat >conftest.$ac_ext <<_ACEOF
17052 /* confdefs.h. */
17053 _ACEOF
17054 cat confdefs.h >>conftest.$ac_ext
17055 cat >>conftest.$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 $ac_includes_default
17058 int
17059 main ()
17060 {
17061 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17062 test_array [0] = 0
17063
17064 ;
17065 return 0;
17066 }
17067 _ACEOF
17068 rm -f conftest.$ac_objext
17069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17070 (eval $ac_compile) 2>conftest.er1
17071 ac_status=$?
17072 grep -v '^ *+' conftest.er1 >conftest.err
17073 rm -f conftest.er1
17074 cat conftest.err >&5
17075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17076 (exit $ac_status); } &&
17077 { ac_try='test -z "$ac_c_werror_flag"
17078 || test ! -s conftest.err'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17081 ac_status=$?
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; } &&
17084 { ac_try='test -s conftest.$ac_objext'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; }; then
17090 ac_hi=$ac_mid
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17094
17095 ac_lo=`expr '(' $ac_mid ')' + 1`
17096 fi
17097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17098 done
17099 case $ac_lo in
17100 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17101 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17102 See \`config.log' for more details." >&5
17103 echo "$as_me: error: cannot compute sizeof (long long), 77
17104 See \`config.log' for more details." >&2;}
17105 { (exit 1); exit 1; }; } ;;
17106 esac
17107 else
17108 if test "$cross_compiling" = yes; then
17109 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17110 See \`config.log' for more details." >&5
17111 echo "$as_me: error: cannot run test program while cross compiling
17112 See \`config.log' for more details." >&2;}
17113 { (exit 1); exit 1; }; }
17114 else
17115 cat >conftest.$ac_ext <<_ACEOF
17116 /* confdefs.h. */
17117 _ACEOF
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17121 $ac_includes_default
17122 long longval () { return (long) (sizeof (long long)); }
17123 unsigned long ulongval () { return (long) (sizeof (long long)); }
17124 #include <stdio.h>
17125 #include <stdlib.h>
17126 int
17127 main ()
17128 {
17129
17130 FILE *f = fopen ("conftest.val", "w");
17131 if (! f)
17132 exit (1);
17133 if (((long) (sizeof (long long))) < 0)
17134 {
17135 long i = longval ();
17136 if (i != ((long) (sizeof (long long))))
17137 exit (1);
17138 fprintf (f, "%ld\n", i);
17139 }
17140 else
17141 {
17142 unsigned long i = ulongval ();
17143 if (i != ((long) (sizeof (long long))))
17144 exit (1);
17145 fprintf (f, "%lu\n", i);
17146 }
17147 exit (ferror (f) || fclose (f) != 0);
17148
17149 ;
17150 return 0;
17151 }
17152 _ACEOF
17153 rm -f conftest$ac_exeext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17155 (eval $ac_link) 2>&5
17156 ac_status=$?
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17161 ac_status=$?
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17164 ac_cv_sizeof_long_long=`cat conftest.val`
17165 else
17166 echo "$as_me: program exited with status $ac_status" >&5
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17169
17170 ( exit $ac_status )
17171 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17172 See \`config.log' for more details." >&5
17173 echo "$as_me: error: cannot compute sizeof (long long), 77
17174 See \`config.log' for more details." >&2;}
17175 { (exit 1); exit 1; }; }
17176 fi
17177 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17178 fi
17179 fi
17180 rm -f conftest.val
17181 else
17182 ac_cv_sizeof_long_long=0
17183 fi
17184 fi
17185 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17186 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17187 cat >>confdefs.h <<_ACEOF
17188 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17189 _ACEOF
17190
17191
17192 ;;
17193 *-hp-hpux* )
17194 echo "$as_me:$LINENO: checking for long long" >&5
17195 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17196 if test "${ac_cv_type_long_long+set}" = set; then
17197 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 else
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h. */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17206 int
17207 main ()
17208 {
17209 if ((long long *) 0)
17210 return 0;
17211 if (sizeof (long long))
17212 return 0;
17213 ;
17214 return 0;
17215 }
17216 _ACEOF
17217 rm -f conftest.$ac_objext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17219 (eval $ac_compile) 2>conftest.er1
17220 ac_status=$?
17221 grep -v '^ *+' conftest.er1 >conftest.err
17222 rm -f conftest.er1
17223 cat conftest.err >&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try='test -z "$ac_c_werror_flag"
17227 || test ! -s conftest.err'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17230 ac_status=$?
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; } &&
17233 { ac_try='test -s conftest.$ac_objext'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17236 ac_status=$?
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; }; then
17239 ac_cv_type_long_long=yes
17240 else
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17243
17244 ac_cv_type_long_long=no
17245 fi
17246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17247 fi
17248 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17249 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17250
17251 echo "$as_me:$LINENO: checking size of long long" >&5
17252 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17253 if test "${ac_cv_sizeof_long_long+set}" = set; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 else
17256 if test "$ac_cv_type_long_long" = yes; then
17257 # The cast to unsigned long works around a bug in the HP C Compiler
17258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17260 # This bug is HP SR number 8606223364.
17261 if test "$cross_compiling" = yes; then
17262 # Depending upon the size, compute the lo and hi bounds.
17263 cat >conftest.$ac_ext <<_ACEOF
17264 /* confdefs.h. */
17265 _ACEOF
17266 cat confdefs.h >>conftest.$ac_ext
17267 cat >>conftest.$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 $ac_includes_default
17270 int
17271 main ()
17272 {
17273 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17274 test_array [0] = 0
17275
17276 ;
17277 return 0;
17278 }
17279 _ACEOF
17280 rm -f conftest.$ac_objext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17282 (eval $ac_compile) 2>conftest.er1
17283 ac_status=$?
17284 grep -v '^ *+' conftest.er1 >conftest.err
17285 rm -f conftest.er1
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } &&
17289 { ac_try='test -z "$ac_c_werror_flag"
17290 || test ! -s conftest.err'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17293 ac_status=$?
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try='test -s conftest.$ac_objext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17302 ac_lo=0 ac_mid=0
17303 while :; do
17304 cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h. */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 $ac_includes_default
17311 int
17312 main ()
17313 {
17314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17315 test_array [0] = 0
17316
17317 ;
17318 return 0;
17319 }
17320 _ACEOF
17321 rm -f conftest.$ac_objext
17322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17323 (eval $ac_compile) 2>conftest.er1
17324 ac_status=$?
17325 grep -v '^ *+' conftest.er1 >conftest.err
17326 rm -f conftest.er1
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } &&
17330 { ac_try='test -z "$ac_c_werror_flag"
17331 || test ! -s conftest.err'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17334 ac_status=$?
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; } &&
17337 { ac_try='test -s conftest.$ac_objext'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17340 ac_status=$?
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17343 ac_hi=$ac_mid; break
17344 else
17345 echo "$as_me: failed program was:" >&5
17346 sed 's/^/| /' conftest.$ac_ext >&5
17347
17348 ac_lo=`expr $ac_mid + 1`
17349 if test $ac_lo -le $ac_mid; then
17350 ac_lo= ac_hi=
17351 break
17352 fi
17353 ac_mid=`expr 2 '*' $ac_mid + 1`
17354 fi
17355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17356 done
17357 else
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17360
17361 cat >conftest.$ac_ext <<_ACEOF
17362 /* confdefs.h. */
17363 _ACEOF
17364 cat confdefs.h >>conftest.$ac_ext
17365 cat >>conftest.$ac_ext <<_ACEOF
17366 /* end confdefs.h. */
17367 $ac_includes_default
17368 int
17369 main ()
17370 {
17371 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17372 test_array [0] = 0
17373
17374 ;
17375 return 0;
17376 }
17377 _ACEOF
17378 rm -f conftest.$ac_objext
17379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17380 (eval $ac_compile) 2>conftest.er1
17381 ac_status=$?
17382 grep -v '^ *+' conftest.er1 >conftest.err
17383 rm -f conftest.er1
17384 cat conftest.err >&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); } &&
17387 { ac_try='test -z "$ac_c_werror_flag"
17388 || test ! -s conftest.err'
17389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17390 (eval $ac_try) 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }; } &&
17394 { ac_try='test -s conftest.$ac_objext'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17397 ac_status=$?
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 ac_hi=-1 ac_mid=-1
17401 while :; do
17402 cat >conftest.$ac_ext <<_ACEOF
17403 /* confdefs.h. */
17404 _ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408 $ac_includes_default
17409 int
17410 main ()
17411 {
17412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17413 test_array [0] = 0
17414
17415 ;
17416 return 0;
17417 }
17418 _ACEOF
17419 rm -f conftest.$ac_objext
17420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17421 (eval $ac_compile) 2>conftest.er1
17422 ac_status=$?
17423 grep -v '^ *+' conftest.er1 >conftest.err
17424 rm -f conftest.er1
17425 cat conftest.err >&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } &&
17428 { ac_try='test -z "$ac_c_werror_flag"
17429 || test ! -s conftest.err'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17432 ac_status=$?
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; } &&
17435 { ac_try='test -s conftest.$ac_objext'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17438 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; }; then
17441 ac_lo=$ac_mid; break
17442 else
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17445
17446 ac_hi=`expr '(' $ac_mid ')' - 1`
17447 if test $ac_mid -le $ac_hi; then
17448 ac_lo= ac_hi=
17449 break
17450 fi
17451 ac_mid=`expr 2 '*' $ac_mid`
17452 fi
17453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17454 done
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17458
17459 ac_lo= ac_hi=
17460 fi
17461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17462 fi
17463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17464 # Binary search between lo and hi bounds.
17465 while test "x$ac_lo" != "x$ac_hi"; do
17466 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17467 cat >conftest.$ac_ext <<_ACEOF
17468 /* confdefs.h. */
17469 _ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17473 $ac_includes_default
17474 int
17475 main ()
17476 {
17477 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17478 test_array [0] = 0
17479
17480 ;
17481 return 0;
17482 }
17483 _ACEOF
17484 rm -f conftest.$ac_objext
17485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17486 (eval $ac_compile) 2>conftest.er1
17487 ac_status=$?
17488 grep -v '^ *+' conftest.er1 >conftest.err
17489 rm -f conftest.er1
17490 cat conftest.err >&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } &&
17493 { ac_try='test -z "$ac_c_werror_flag"
17494 || test ! -s conftest.err'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17497 ac_status=$?
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; } &&
17500 { ac_try='test -s conftest.$ac_objext'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17503 ac_status=$?
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; }; then
17506 ac_hi=$ac_mid
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 ac_lo=`expr '(' $ac_mid ')' + 1`
17512 fi
17513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17514 done
17515 case $ac_lo in
17516 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17517 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17518 See \`config.log' for more details." >&5
17519 echo "$as_me: error: cannot compute sizeof (long long), 77
17520 See \`config.log' for more details." >&2;}
17521 { (exit 1); exit 1; }; } ;;
17522 esac
17523 else
17524 if test "$cross_compiling" = yes; then
17525 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17526 See \`config.log' for more details." >&5
17527 echo "$as_me: error: cannot run test program while cross compiling
17528 See \`config.log' for more details." >&2;}
17529 { (exit 1); exit 1; }; }
17530 else
17531 cat >conftest.$ac_ext <<_ACEOF
17532 /* confdefs.h. */
17533 _ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17537 $ac_includes_default
17538 long longval () { return (long) (sizeof (long long)); }
17539 unsigned long ulongval () { return (long) (sizeof (long long)); }
17540 #include <stdio.h>
17541 #include <stdlib.h>
17542 int
17543 main ()
17544 {
17545
17546 FILE *f = fopen ("conftest.val", "w");
17547 if (! f)
17548 exit (1);
17549 if (((long) (sizeof (long long))) < 0)
17550 {
17551 long i = longval ();
17552 if (i != ((long) (sizeof (long long))))
17553 exit (1);
17554 fprintf (f, "%ld\n", i);
17555 }
17556 else
17557 {
17558 unsigned long i = ulongval ();
17559 if (i != ((long) (sizeof (long long))))
17560 exit (1);
17561 fprintf (f, "%lu\n", i);
17562 }
17563 exit (ferror (f) || fclose (f) != 0);
17564
17565 ;
17566 return 0;
17567 }
17568 _ACEOF
17569 rm -f conftest$ac_exeext
17570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17571 (eval $ac_link) 2>&5
17572 ac_status=$?
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17580 ac_cv_sizeof_long_long=`cat conftest.val`
17581 else
17582 echo "$as_me: program exited with status $ac_status" >&5
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17585
17586 ( exit $ac_status )
17587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17588 See \`config.log' for more details." >&5
17589 echo "$as_me: error: cannot compute sizeof (long long), 77
17590 See \`config.log' for more details." >&2;}
17591 { (exit 1); exit 1; }; }
17592 fi
17593 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17594 fi
17595 fi
17596 rm -f conftest.val
17597 else
17598 ac_cv_sizeof_long_long=0
17599 fi
17600 fi
17601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17602 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17603 cat >>confdefs.h <<_ACEOF
17604 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17605 _ACEOF
17606
17607
17608 if test "$ac_cv_sizeof_long_long" != "0"; then
17609 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17610 fi
17611 ;;
17612 * )
17613 echo "$as_me:$LINENO: checking for long long" >&5
17614 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17615 if test "${ac_cv_type_long_long+set}" = set; then
17616 echo $ECHO_N "(cached) $ECHO_C" >&6
17617 else
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624 $ac_includes_default
17625 int
17626 main ()
17627 {
17628 if ((long long *) 0)
17629 return 0;
17630 if (sizeof (long long))
17631 return 0;
17632 ;
17633 return 0;
17634 }
17635 _ACEOF
17636 rm -f conftest.$ac_objext
17637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17638 (eval $ac_compile) 2>conftest.er1
17639 ac_status=$?
17640 grep -v '^ *+' conftest.er1 >conftest.err
17641 rm -f conftest.er1
17642 cat conftest.err >&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } &&
17645 { ac_try='test -z "$ac_c_werror_flag"
17646 || test ! -s conftest.err'
17647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17648 (eval $ac_try) 2>&5
17649 ac_status=$?
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); }; } &&
17652 { ac_try='test -s conftest.$ac_objext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_cv_type_long_long=yes
17659 else
17660 echo "$as_me: failed program was:" >&5
17661 sed 's/^/| /' conftest.$ac_ext >&5
17662
17663 ac_cv_type_long_long=no
17664 fi
17665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17666 fi
17667 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17668 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17669
17670 echo "$as_me:$LINENO: checking size of long long" >&5
17671 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17672 if test "${ac_cv_sizeof_long_long+set}" = set; then
17673 echo $ECHO_N "(cached) $ECHO_C" >&6
17674 else
17675 if test "$ac_cv_type_long_long" = yes; then
17676 # The cast to unsigned long works around a bug in the HP C Compiler
17677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17679 # This bug is HP SR number 8606223364.
17680 if test "$cross_compiling" = yes; then
17681 # Depending upon the size, compute the lo and hi bounds.
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688 $ac_includes_default
17689 int
17690 main ()
17691 {
17692 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17693 test_array [0] = 0
17694
17695 ;
17696 return 0;
17697 }
17698 _ACEOF
17699 rm -f conftest.$ac_objext
17700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17701 (eval $ac_compile) 2>conftest.er1
17702 ac_status=$?
17703 grep -v '^ *+' conftest.er1 >conftest.err
17704 rm -f conftest.er1
17705 cat conftest.err >&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); } &&
17708 { ac_try='test -z "$ac_c_werror_flag"
17709 || test ! -s conftest.err'
17710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17711 (eval $ac_try) 2>&5
17712 ac_status=$?
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; } &&
17715 { ac_try='test -s conftest.$ac_objext'
17716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717 (eval $ac_try) 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 ac_lo=0 ac_mid=0
17722 while :; do
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17730 int
17731 main ()
17732 {
17733 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17734 test_array [0] = 0
17735
17736 ;
17737 return 0;
17738 }
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17743 ac_status=$?
17744 grep -v '^ *+' conftest.er1 >conftest.err
17745 rm -f conftest.er1
17746 cat conftest.err >&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try='test -z "$ac_c_werror_flag"
17750 || test ! -s conftest.err'
17751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17752 (eval $ac_try) 2>&5
17753 ac_status=$?
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); }; } &&
17756 { ac_try='test -s conftest.$ac_objext'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; }; then
17762 ac_hi=$ac_mid; break
17763 else
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.$ac_ext >&5
17766
17767 ac_lo=`expr $ac_mid + 1`
17768 if test $ac_lo -le $ac_mid; then
17769 ac_lo= ac_hi=
17770 break
17771 fi
17772 ac_mid=`expr 2 '*' $ac_mid + 1`
17773 fi
17774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17775 done
17776 else
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.$ac_ext >&5
17779
17780 cat >conftest.$ac_ext <<_ACEOF
17781 /* confdefs.h. */
17782 _ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 $ac_includes_default
17787 int
17788 main ()
17789 {
17790 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17791 test_array [0] = 0
17792
17793 ;
17794 return 0;
17795 }
17796 _ACEOF
17797 rm -f conftest.$ac_objext
17798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17799 (eval $ac_compile) 2>conftest.er1
17800 ac_status=$?
17801 grep -v '^ *+' conftest.er1 >conftest.err
17802 rm -f conftest.er1
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } &&
17806 { ac_try='test -z "$ac_c_werror_flag"
17807 || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17819 ac_hi=-1 ac_mid=-1
17820 while :; do
17821 cat >conftest.$ac_ext <<_ACEOF
17822 /* confdefs.h. */
17823 _ACEOF
17824 cat confdefs.h >>conftest.$ac_ext
17825 cat >>conftest.$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 $ac_includes_default
17828 int
17829 main ()
17830 {
17831 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17832 test_array [0] = 0
17833
17834 ;
17835 return 0;
17836 }
17837 _ACEOF
17838 rm -f conftest.$ac_objext
17839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17840 (eval $ac_compile) 2>conftest.er1
17841 ac_status=$?
17842 grep -v '^ *+' conftest.er1 >conftest.err
17843 rm -f conftest.er1
17844 cat conftest.err >&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); } &&
17847 { ac_try='test -z "$ac_c_werror_flag"
17848 || test ! -s conftest.err'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 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 ac_lo=$ac_mid; break
17861 else
17862 echo "$as_me: failed program was:" >&5
17863 sed 's/^/| /' conftest.$ac_ext >&5
17864
17865 ac_hi=`expr '(' $ac_mid ')' - 1`
17866 if test $ac_mid -le $ac_hi; then
17867 ac_lo= ac_hi=
17868 break
17869 fi
17870 ac_mid=`expr 2 '*' $ac_mid`
17871 fi
17872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17873 done
17874 else
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17877
17878 ac_lo= ac_hi=
17879 fi
17880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17881 fi
17882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17883 # Binary search between lo and hi bounds.
17884 while test "x$ac_lo" != "x$ac_hi"; do
17885 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17886 cat >conftest.$ac_ext <<_ACEOF
17887 /* confdefs.h. */
17888 _ACEOF
17889 cat confdefs.h >>conftest.$ac_ext
17890 cat >>conftest.$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17893 int
17894 main ()
17895 {
17896 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17897 test_array [0] = 0
17898
17899 ;
17900 return 0;
17901 }
17902 _ACEOF
17903 rm -f conftest.$ac_objext
17904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17905 (eval $ac_compile) 2>conftest.er1
17906 ac_status=$?
17907 grep -v '^ *+' conftest.er1 >conftest.err
17908 rm -f conftest.er1
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } &&
17912 { ac_try='test -z "$ac_c_werror_flag"
17913 || test ! -s conftest.err'
17914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17915 (eval $ac_try) 2>&5
17916 ac_status=$?
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); }; } &&
17919 { ac_try='test -s conftest.$ac_objext'
17920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17921 (eval $ac_try) 2>&5
17922 ac_status=$?
17923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924 (exit $ac_status); }; }; then
17925 ac_hi=$ac_mid
17926 else
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17929
17930 ac_lo=`expr '(' $ac_mid ')' + 1`
17931 fi
17932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17933 done
17934 case $ac_lo in
17935 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17936 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17937 See \`config.log' for more details." >&5
17938 echo "$as_me: error: cannot compute sizeof (long long), 77
17939 See \`config.log' for more details." >&2;}
17940 { (exit 1); exit 1; }; } ;;
17941 esac
17942 else
17943 if test "$cross_compiling" = yes; then
17944 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17945 See \`config.log' for more details." >&5
17946 echo "$as_me: error: cannot run test program while cross compiling
17947 See \`config.log' for more details." >&2;}
17948 { (exit 1); exit 1; }; }
17949 else
17950 cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h. */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17957 long longval () { return (long) (sizeof (long long)); }
17958 unsigned long ulongval () { return (long) (sizeof (long long)); }
17959 #include <stdio.h>
17960 #include <stdlib.h>
17961 int
17962 main ()
17963 {
17964
17965 FILE *f = fopen ("conftest.val", "w");
17966 if (! f)
17967 exit (1);
17968 if (((long) (sizeof (long long))) < 0)
17969 {
17970 long i = longval ();
17971 if (i != ((long) (sizeof (long long))))
17972 exit (1);
17973 fprintf (f, "%ld\n", i);
17974 }
17975 else
17976 {
17977 unsigned long i = ulongval ();
17978 if (i != ((long) (sizeof (long long))))
17979 exit (1);
17980 fprintf (f, "%lu\n", i);
17981 }
17982 exit (ferror (f) || fclose (f) != 0);
17983
17984 ;
17985 return 0;
17986 }
17987 _ACEOF
17988 rm -f conftest$ac_exeext
17989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17990 (eval $ac_link) 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17995 (eval $ac_try) 2>&5
17996 ac_status=$?
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); }; }; then
17999 ac_cv_sizeof_long_long=`cat conftest.val`
18000 else
18001 echo "$as_me: program exited with status $ac_status" >&5
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 ( exit $ac_status )
18006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18007 See \`config.log' for more details." >&5
18008 echo "$as_me: error: cannot compute sizeof (long long), 77
18009 See \`config.log' for more details." >&2;}
18010 { (exit 1); exit 1; }; }
18011 fi
18012 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18013 fi
18014 fi
18015 rm -f conftest.val
18016 else
18017 ac_cv_sizeof_long_long=0
18018 fi
18019 fi
18020 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18021 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18022 cat >>confdefs.h <<_ACEOF
18023 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18024 _ACEOF
18025
18026
18027 esac
18028
18029 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18030 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18031 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18032 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 else
18034
18035 if test "$cross_compiling" = yes; then
18036
18037 case "${host}" in
18038 *-pc-msdosdjgpp )
18039 wx_cv_sizeof_wchar_t=0
18040 ;;
18041 * )
18042 wx_cv_sizeof_wchar_t=4
18043 ;;
18044 esac
18045
18046
18047 else
18048 cat >conftest.$ac_ext <<_ACEOF
18049 /* confdefs.h. */
18050 _ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054
18055 /* DJGPP only has fake wchar_t: */
18056 #ifdef __DJGPP__
18057 # error "fake wchar_t"
18058 #endif
18059 #ifdef HAVE_WCHAR_H
18060 # ifdef __CYGWIN__
18061 # include <stddef.h>
18062 # endif
18063 # include <wchar.h>
18064 #endif
18065 #ifdef HAVE_STDLIB_H
18066 # include <stdlib.h>
18067 #endif
18068 #include <stdio.h>
18069 int main()
18070 {
18071 FILE *f=fopen("conftestval", "w");
18072 if (!f) exit(1);
18073 fprintf(f, "%i", sizeof(wchar_t));
18074 exit(0);
18075 }
18076
18077 _ACEOF
18078 rm -f conftest$ac_exeext
18079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18080 (eval $ac_link) 2>&5
18081 ac_status=$?
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18086 ac_status=$?
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; }; then
18089 wx_cv_sizeof_wchar_t=`cat conftestval`
18090 else
18091 echo "$as_me: program exited with status $ac_status" >&5
18092 echo "$as_me: failed program was:" >&5
18093 sed 's/^/| /' conftest.$ac_ext >&5
18094
18095 ( exit $ac_status )
18096 wx_cv_sizeof_wchar_t=0
18097 fi
18098 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18099 fi
18100
18101 fi
18102 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18103 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18104
18105 cat >>confdefs.h <<_ACEOF
18106 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18107 _ACEOF
18108
18109
18110 # Check whether --enable-largefile or --disable-largefile was given.
18111 if test "${enable_largefile+set}" = set; then
18112 enableval="$enable_largefile"
18113
18114 fi;
18115 if test "$enable_largefile" != no; then
18116 wx_largefile=no
18117
18118 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18119 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18120 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18122 else
18123
18124 cat >conftest.$ac_ext <<_ACEOF
18125 /* confdefs.h. */
18126 _ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130 #define _FILE_OFFSET_BITS 64
18131 #include <sys/types.h>
18132 int
18133 main ()
18134 {
18135 typedef struct {
18136 unsigned int field: sizeof(off_t) == 8;
18137 } wxlf;
18138
18139 ;
18140 return 0;
18141 }
18142 _ACEOF
18143 rm -f conftest.$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>conftest.er1
18146 ac_status=$?
18147 grep -v '^ *+' conftest.er1 >conftest.err
18148 rm -f conftest.er1
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } &&
18152 { ac_try='test -z "$ac_c_werror_flag"
18153 || test ! -s conftest.err'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18156 ac_status=$?
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; } &&
18159 { ac_try='test -s conftest.$ac_objext'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18162 ac_status=$?
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; }; then
18165 ac_cv_sys_file_offset_bits=64
18166 else
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.$ac_ext >&5
18169
18170 ac_cv_sys_file_offset_bits=no
18171 fi
18172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18173
18174
18175 fi
18176 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18177 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18178
18179 if test "$ac_cv_sys_file_offset_bits" != no; then
18180 wx_largefile=yes
18181 cat >>confdefs.h <<_ACEOF
18182 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18183 _ACEOF
18184
18185 fi
18186
18187 if test "x$wx_largefile" != "xyes"; then
18188
18189 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18190 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18191 if test "${ac_cv_sys_large_files+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 else
18194
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 #define _LARGE_FILES 1
18202 #include <sys/types.h>
18203 int
18204 main ()
18205 {
18206 typedef struct {
18207 unsigned int field: sizeof(off_t) == 8;
18208 } wxlf;
18209
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18216 (eval $ac_compile) 2>conftest.er1
18217 ac_status=$?
18218 grep -v '^ *+' conftest.er1 >conftest.err
18219 rm -f conftest.er1
18220 cat conftest.err >&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } &&
18223 { ac_try='test -z "$ac_c_werror_flag"
18224 || test ! -s conftest.err'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; } &&
18230 { ac_try='test -s conftest.$ac_objext'
18231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18232 (eval $ac_try) 2>&5
18233 ac_status=$?
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); }; }; then
18236 ac_cv_sys_large_files=1
18237 else
18238 echo "$as_me: failed program was:" >&5
18239 sed 's/^/| /' conftest.$ac_ext >&5
18240
18241 ac_cv_sys_large_files=no
18242 fi
18243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244
18245
18246 fi
18247 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18248 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18249
18250 if test "$ac_cv_sys_large_files" != no; then
18251 wx_largefile=yes
18252 cat >>confdefs.h <<_ACEOF
18253 #define _LARGE_FILES $ac_cv_sys_large_files
18254 _ACEOF
18255
18256 fi
18257
18258 fi
18259
18260 echo "$as_me:$LINENO: checking if large file support is available" >&5
18261 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18262 if test "x$wx_largefile" = "xyes"; then
18263 cat >>confdefs.h <<\_ACEOF
18264 #define HAVE_LARGEFILE_SUPPORT 1
18265 _ACEOF
18266
18267 fi
18268 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18269 echo "${ECHO_T}$wx_largefile" >&6
18270 fi
18271
18272
18273 if test "x$wx_largefile" = "xyes"; then
18274 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18275 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18276 else
18277 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18278 fi
18279 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18280 fi
18281
18282 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18283 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18284 if test "${ac_cv_c_bigendian+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 else
18287 ac_cv_c_bigendian=unknown
18288 # See if sys/param.h defines the BYTE_ORDER macro.
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 #include <sys/types.h>
18296 #include <sys/param.h>
18297 int
18298 main ()
18299 {
18300
18301 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18302 bogus endian macros
18303 #endif
18304 ;
18305 return 0;
18306 }
18307 _ACEOF
18308 rm -f conftest.$ac_objext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18310 (eval $ac_compile) 2>conftest.er1
18311 ac_status=$?
18312 grep -v '^ *+' conftest.er1 >conftest.err
18313 rm -f conftest.er1
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest.$ac_objext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18327 ac_status=$?
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 # It does; now see whether it defined to BIG_ENDIAN or not.
18331 cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h. */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h. */
18337 #include <sys/types.h>
18338 #include <sys/param.h>
18339 int
18340 main ()
18341 {
18342
18343 #if BYTE_ORDER != BIG_ENDIAN
18344 not big endian
18345 #endif
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18352 (eval $ac_compile) 2>conftest.er1
18353 ac_status=$?
18354 grep -v '^ *+' conftest.er1 >conftest.err
18355 rm -f conftest.er1
18356 cat conftest.err >&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try='test -z "$ac_c_werror_flag"
18360 || test ! -s conftest.err'
18361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18362 (eval $ac_try) 2>&5
18363 ac_status=$?
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); }; } &&
18366 { ac_try='test -s conftest.$ac_objext'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; }; then
18372 ac_cv_c_bigendian=yes
18373 else
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18376
18377 ac_cv_c_bigendian=no
18378 fi
18379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18380 else
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.$ac_ext >&5
18383
18384 fi
18385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18386 if test $ac_cv_c_bigendian = unknown; then
18387 if test "$cross_compiling" = yes; then
18388 ac_cv_c_bigendian=unknown
18389 else
18390 cat >conftest.$ac_ext <<_ACEOF
18391 /* confdefs.h. */
18392 _ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18396 main () {
18397 /* Are we little or big endian? From Harbison&Steele. */
18398 union
18399 {
18400 long l;
18401 char c[sizeof (long)];
18402 } u;
18403 u.l = 1;
18404 exit (u.c[sizeof (long) - 1] == 1);
18405 }
18406 _ACEOF
18407 rm -f conftest$ac_exeext
18408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18409 (eval $ac_link) 2>&5
18410 ac_status=$?
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_cv_c_bigendian=no
18419 else
18420 echo "$as_me: program exited with status $ac_status" >&5
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18423
18424 ( exit $ac_status )
18425 ac_cv_c_bigendian=yes
18426 fi
18427 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18428 fi
18429 fi
18430 fi
18431 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18432 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18433 if test $ac_cv_c_bigendian = unknown; then
18434 { 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
18435 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;}
18436 fi
18437 if test $ac_cv_c_bigendian = yes; then
18438 cat >>confdefs.h <<\_ACEOF
18439 #define WORDS_BIGENDIAN 1
18440 _ACEOF
18441
18442 fi
18443
18444
18445 ac_ext=cc
18446 ac_cpp='$CXXCPP $CPPFLAGS'
18447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18450 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18451 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18452 if test -z "$CXXCPP"; then
18453 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 else
18456 # Double quotes because CXXCPP needs to be expanded
18457 for CXXCPP in "$CXX -E" "/lib/cpp"
18458 do
18459 ac_preproc_ok=false
18460 for ac_cxx_preproc_warn_flag in '' yes
18461 do
18462 # Use a header file that comes with gcc, so configuring glibc
18463 # with a fresh cross-compiler works.
18464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18465 # <limits.h> exists even on freestanding compilers.
18466 # On the NeXT, cc -E runs the code through the compiler's parser,
18467 # not just through cpp. "Syntax error" is here to catch this case.
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 #ifdef __STDC__
18475 # include <limits.h>
18476 #else
18477 # include <assert.h>
18478 #endif
18479 Syntax error
18480 _ACEOF
18481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } >/dev/null; then
18489 if test -s conftest.err; then
18490 ac_cpp_err=$ac_cxx_preproc_warn_flag
18491 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18492 else
18493 ac_cpp_err=
18494 fi
18495 else
18496 ac_cpp_err=yes
18497 fi
18498 if test -z "$ac_cpp_err"; then
18499 :
18500 else
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18503
18504 # Broken: fails on valid input.
18505 continue
18506 fi
18507 rm -f conftest.err conftest.$ac_ext
18508
18509 # OK, works on sane cases. Now check whether non-existent headers
18510 # can be detected and how.
18511 cat >conftest.$ac_ext <<_ACEOF
18512 /* confdefs.h. */
18513 _ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 #include <ac_nonexistent.h>
18518 _ACEOF
18519 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18520 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18521 ac_status=$?
18522 grep -v '^ *+' conftest.er1 >conftest.err
18523 rm -f conftest.er1
18524 cat conftest.err >&5
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } >/dev/null; then
18527 if test -s conftest.err; then
18528 ac_cpp_err=$ac_cxx_preproc_warn_flag
18529 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18530 else
18531 ac_cpp_err=
18532 fi
18533 else
18534 ac_cpp_err=yes
18535 fi
18536 if test -z "$ac_cpp_err"; then
18537 # Broken: success on invalid input.
18538 continue
18539 else
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18542
18543 # Passes both tests.
18544 ac_preproc_ok=:
18545 break
18546 fi
18547 rm -f conftest.err conftest.$ac_ext
18548
18549 done
18550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18551 rm -f conftest.err conftest.$ac_ext
18552 if $ac_preproc_ok; then
18553 break
18554 fi
18555
18556 done
18557 ac_cv_prog_CXXCPP=$CXXCPP
18558
18559 fi
18560 CXXCPP=$ac_cv_prog_CXXCPP
18561 else
18562 ac_cv_prog_CXXCPP=$CXXCPP
18563 fi
18564 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18565 echo "${ECHO_T}$CXXCPP" >&6
18566 ac_preproc_ok=false
18567 for ac_cxx_preproc_warn_flag in '' yes
18568 do
18569 # Use a header file that comes with gcc, so configuring glibc
18570 # with a fresh cross-compiler works.
18571 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18572 # <limits.h> exists even on freestanding compilers.
18573 # On the NeXT, cc -E runs the code through the compiler's parser,
18574 # not just through cpp. "Syntax error" is here to catch this case.
18575 cat >conftest.$ac_ext <<_ACEOF
18576 /* confdefs.h. */
18577 _ACEOF
18578 cat confdefs.h >>conftest.$ac_ext
18579 cat >>conftest.$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18581 #ifdef __STDC__
18582 # include <limits.h>
18583 #else
18584 # include <assert.h>
18585 #endif
18586 Syntax error
18587 _ACEOF
18588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18590 ac_status=$?
18591 grep -v '^ *+' conftest.er1 >conftest.err
18592 rm -f conftest.er1
18593 cat conftest.err >&5
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } >/dev/null; then
18596 if test -s conftest.err; then
18597 ac_cpp_err=$ac_cxx_preproc_warn_flag
18598 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18599 else
18600 ac_cpp_err=
18601 fi
18602 else
18603 ac_cpp_err=yes
18604 fi
18605 if test -z "$ac_cpp_err"; then
18606 :
18607 else
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18610
18611 # Broken: fails on valid input.
18612 continue
18613 fi
18614 rm -f conftest.err conftest.$ac_ext
18615
18616 # OK, works on sane cases. Now check whether non-existent headers
18617 # can be detected and how.
18618 cat >conftest.$ac_ext <<_ACEOF
18619 /* confdefs.h. */
18620 _ACEOF
18621 cat confdefs.h >>conftest.$ac_ext
18622 cat >>conftest.$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 #include <ac_nonexistent.h>
18625 _ACEOF
18626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18628 ac_status=$?
18629 grep -v '^ *+' conftest.er1 >conftest.err
18630 rm -f conftest.er1
18631 cat conftest.err >&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } >/dev/null; then
18634 if test -s conftest.err; then
18635 ac_cpp_err=$ac_cxx_preproc_warn_flag
18636 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18637 else
18638 ac_cpp_err=
18639 fi
18640 else
18641 ac_cpp_err=yes
18642 fi
18643 if test -z "$ac_cpp_err"; then
18644 # Broken: success on invalid input.
18645 continue
18646 else
18647 echo "$as_me: failed program was:" >&5
18648 sed 's/^/| /' conftest.$ac_ext >&5
18649
18650 # Passes both tests.
18651 ac_preproc_ok=:
18652 break
18653 fi
18654 rm -f conftest.err conftest.$ac_ext
18655
18656 done
18657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18658 rm -f conftest.err conftest.$ac_ext
18659 if $ac_preproc_ok; then
18660 :
18661 else
18662 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18663 See \`config.log' for more details." >&5
18664 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18665 See \`config.log' for more details." >&2;}
18666 { (exit 1); exit 1; }; }
18667 fi
18668
18669 ac_ext=cc
18670 ac_cpp='$CXXCPP $CPPFLAGS'
18671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18674
18675
18676
18677 if test "$cross_compiling" = "yes"; then
18678 cat >>confdefs.h <<\_ACEOF
18679 #define wxUSE_IOSTREAMH 1
18680 _ACEOF
18681
18682 else
18683
18684
18685 ac_ext=cc
18686 ac_cpp='$CXXCPP $CPPFLAGS'
18687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18690
18691
18692
18693 for ac_header in iostream
18694 do
18695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18697 echo "$as_me:$LINENO: checking for $ac_header" >&5
18698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18700 echo $ECHO_N "(cached) $ECHO_C" >&6
18701 fi
18702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18704 else
18705 # Is the header compilable?
18706 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 #include <$ac_header>
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_cxx_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 ac_header_compiler=yes
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18743
18744 ac_header_compiler=no
18745 fi
18746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18748 echo "${ECHO_T}$ac_header_compiler" >&6
18749
18750 # Is the header present?
18751 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18752 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18753 cat >conftest.$ac_ext <<_ACEOF
18754 /* confdefs.h. */
18755 _ACEOF
18756 cat confdefs.h >>conftest.$ac_ext
18757 cat >>conftest.$ac_ext <<_ACEOF
18758 /* end confdefs.h. */
18759 #include <$ac_header>
18760 _ACEOF
18761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18763 ac_status=$?
18764 grep -v '^ *+' conftest.er1 >conftest.err
18765 rm -f conftest.er1
18766 cat conftest.err >&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } >/dev/null; then
18769 if test -s conftest.err; then
18770 ac_cpp_err=$ac_cxx_preproc_warn_flag
18771 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18772 else
18773 ac_cpp_err=
18774 fi
18775 else
18776 ac_cpp_err=yes
18777 fi
18778 if test -z "$ac_cpp_err"; then
18779 ac_header_preproc=yes
18780 else
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18783
18784 ac_header_preproc=no
18785 fi
18786 rm -f conftest.err conftest.$ac_ext
18787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18788 echo "${ECHO_T}$ac_header_preproc" >&6
18789
18790 # So? What about this header?
18791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18792 yes:no: )
18793 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18794 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18796 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18797 ac_header_preproc=yes
18798 ;;
18799 no:yes:* )
18800 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18801 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18802 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18803 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18804 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18805 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18806 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18807 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18810 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18811 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18812 (
18813 cat <<\_ASBOX
18814 ## ----------------------------------------- ##
18815 ## Report this to wx-dev@lists.wxwindows.org ##
18816 ## ----------------------------------------- ##
18817 _ASBOX
18818 ) |
18819 sed "s/^/$as_me: WARNING: /" >&2
18820 ;;
18821 esac
18822 echo "$as_me:$LINENO: checking for $ac_header" >&5
18823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 else
18827 eval "$as_ac_Header=\$ac_header_preproc"
18828 fi
18829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18831
18832 fi
18833 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18834 cat >>confdefs.h <<_ACEOF
18835 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18836 _ACEOF
18837
18838 fi
18839
18840 done
18841
18842
18843 if test "$ac_cv_header_iostream" = "yes" ; then
18844 :
18845 else
18846 cat >>confdefs.h <<\_ACEOF
18847 #define wxUSE_IOSTREAMH 1
18848 _ACEOF
18849
18850 fi
18851
18852 ac_ext=c
18853 ac_cpp='$CPP $CPPFLAGS'
18854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18857
18858 fi
18859
18860
18861
18862 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18863 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18864 if test "${wx_cv_cpp_bool+set}" = set; then
18865 echo $ECHO_N "(cached) $ECHO_C" >&6
18866 else
18867
18868
18869
18870 ac_ext=cc
18871 ac_cpp='$CXXCPP $CPPFLAGS'
18872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18875
18876
18877 cat >conftest.$ac_ext <<_ACEOF
18878 /* confdefs.h. */
18879 _ACEOF
18880 cat confdefs.h >>conftest.$ac_ext
18881 cat >>conftest.$ac_ext <<_ACEOF
18882 /* end confdefs.h. */
18883
18884
18885 int
18886 main ()
18887 {
18888
18889 bool b = true;
18890
18891 return 0;
18892
18893 ;
18894 return 0;
18895 }
18896 _ACEOF
18897 rm -f conftest.$ac_objext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18900 ac_status=$?
18901 grep -v '^ *+' conftest.er1 >conftest.err
18902 rm -f conftest.er1
18903 cat conftest.err >&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try='test -z "$ac_cxx_werror_flag"
18907 || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18910 ac_status=$?
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try='test -s conftest.$ac_objext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18916 ac_status=$?
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18919
18920 wx_cv_cpp_bool=yes
18921
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18925
18926
18927 wx_cv_cpp_bool=no
18928
18929
18930 fi
18931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18932
18933 ac_ext=c
18934 ac_cpp='$CPP $CPPFLAGS'
18935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18938
18939
18940 fi
18941 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18942 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18943
18944 if test "$wx_cv_cpp_bool" = "yes"; then
18945 cat >>confdefs.h <<\_ACEOF
18946 #define HAVE_BOOL 1
18947 _ACEOF
18948
18949 fi
18950
18951
18952
18953 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18954 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18955 if test "${wx_cv_explicit+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958
18959
18960
18961 ac_ext=cc
18962 ac_cpp='$CXXCPP $CPPFLAGS'
18963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18966
18967
18968 cat >conftest.$ac_ext <<_ACEOF
18969 /* confdefs.h. */
18970 _ACEOF
18971 cat confdefs.h >>conftest.$ac_ext
18972 cat >>conftest.$ac_ext <<_ACEOF
18973 /* end confdefs.h. */
18974
18975 class Foo { public: explicit Foo(int) {} };
18976
18977 int
18978 main ()
18979 {
18980
18981 return 0;
18982
18983 ;
18984 return 0;
18985 }
18986 _ACEOF
18987 rm -f conftest.$ac_objext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18989 (eval $ac_compile) 2>conftest.er1
18990 ac_status=$?
18991 grep -v '^ *+' conftest.er1 >conftest.err
18992 rm -f conftest.er1
18993 cat conftest.err >&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try='test -z "$ac_cxx_werror_flag"
18997 || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016
19017 class Foo { public: explicit Foo(int) {} };
19018 static void TakeFoo(const Foo& foo) { }
19019
19020 int
19021 main ()
19022 {
19023
19024 TakeFoo(17);
19025 return 0;
19026
19027 ;
19028 return 0;
19029 }
19030 _ACEOF
19031 rm -f conftest.$ac_objext
19032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19033 (eval $ac_compile) 2>conftest.er1
19034 ac_status=$?
19035 grep -v '^ *+' conftest.er1 >conftest.err
19036 rm -f conftest.er1
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } &&
19040 { ac_try='test -z "$ac_cxx_werror_flag"
19041 || test ! -s conftest.err'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19044 ac_status=$?
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; } &&
19047 { ac_try='test -s conftest.$ac_objext'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19050 ac_status=$?
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; }; then
19053 wx_cv_explicit=no
19054 else
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 wx_cv_explicit=yes
19059
19060 fi
19061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19062
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19066
19067 wx_cv_explicit=no
19068
19069 fi
19070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19071
19072 ac_ext=c
19073 ac_cpp='$CPP $CPPFLAGS'
19074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19077
19078
19079 fi
19080 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19081 echo "${ECHO_T}$wx_cv_explicit" >&6
19082
19083 if test "$wx_cv_explicit" = "yes"; then
19084 cat >>confdefs.h <<\_ACEOF
19085 #define HAVE_EXPLICIT 1
19086 _ACEOF
19087
19088 fi
19089
19090
19091 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19092 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19093 if test "${ac_cv_cxx_const_cast+set}" = set; then
19094 echo $ECHO_N "(cached) $ECHO_C" >&6
19095 else
19096
19097
19098 ac_ext=cc
19099 ac_cpp='$CXXCPP $CPPFLAGS'
19100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19103
19104 cat >conftest.$ac_ext <<_ACEOF
19105 /* confdefs.h. */
19106 _ACEOF
19107 cat confdefs.h >>conftest.$ac_ext
19108 cat >>conftest.$ac_ext <<_ACEOF
19109 /* end confdefs.h. */
19110
19111 int
19112 main ()
19113 {
19114 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19115 ;
19116 return 0;
19117 }
19118 _ACEOF
19119 rm -f conftest.$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try='test -z "$ac_cxx_werror_flag"
19129 || test ! -s conftest.err'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19132 ac_status=$?
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; } &&
19135 { ac_try='test -s conftest.$ac_objext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19138 ac_status=$?
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19141 ac_cv_cxx_const_cast=yes
19142 else
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19145
19146 ac_cv_cxx_const_cast=no
19147 fi
19148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19149 ac_ext=c
19150 ac_cpp='$CPP $CPPFLAGS'
19151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19154
19155
19156 fi
19157 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19158 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19159 if test "$ac_cv_cxx_const_cast" = yes; then
19160
19161 cat >>confdefs.h <<\_ACEOF
19162 #define HAVE_CONST_CAST
19163 _ACEOF
19164
19165 fi
19166
19167 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19168 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19169 if test "${ac_cv_cxx_static_cast+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 else
19172
19173
19174 ac_ext=cc
19175 ac_cpp='$CXXCPP $CPPFLAGS'
19176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19179
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 #include <typeinfo>
19187 class Base { public : Base () {} virtual void f () = 0; };
19188 class Derived : public Base { public : Derived () {} virtual void f () {} };
19189 int g (Derived&) { return 0; }
19190 int
19191 main ()
19192 {
19193
19194 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 rm -f conftest.$ac_objext
19200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19201 (eval $ac_compile) 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -z "$ac_cxx_werror_flag"
19209 || test ! -s conftest.err'
19210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19211 (eval $ac_try) 2>&5
19212 ac_status=$?
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); }; } &&
19215 { ac_try='test -s conftest.$ac_objext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_cxx_static_cast=yes
19222 else
19223 echo "$as_me: failed program was:" >&5
19224 sed 's/^/| /' conftest.$ac_ext >&5
19225
19226 ac_cv_cxx_static_cast=no
19227 fi
19228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19229 ac_ext=c
19230 ac_cpp='$CPP $CPPFLAGS'
19231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19234
19235
19236 fi
19237 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19238 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19239 if test "$ac_cv_cxx_static_cast" = yes; then
19240
19241 cat >>confdefs.h <<\_ACEOF
19242 #define HAVE_STATIC_CAST
19243 _ACEOF
19244
19245 fi
19246
19247
19248 if test "$wxUSE_STL" = "yes"; then
19249 ac_ext=cc
19250 ac_cpp='$CXXCPP $CPPFLAGS'
19251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19254
19255
19256 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19257 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19258 cat >conftest.$ac_ext <<_ACEOF
19259 /* confdefs.h. */
19260 _ACEOF
19261 cat confdefs.h >>conftest.$ac_ext
19262 cat >>conftest.$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19264 #include <string>
19265 #include <functional>
19266 #include <algorithm>
19267 #include <vector>
19268 #include <list>
19269 int
19270 main ()
19271 {
19272 std::vector<int> moo;
19273 std::list<int> foo;
19274 std::vector<int>::iterator it =
19275 std::find_if(moo.begin(), moo.end(),
19276 std::bind2nd(std::less<int>(), 3));
19277 ;
19278 return 0;
19279 }
19280 _ACEOF
19281 rm -f conftest.$ac_objext
19282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19283 (eval $ac_compile) 2>conftest.er1
19284 ac_status=$?
19285 grep -v '^ *+' conftest.er1 >conftest.err
19286 rm -f conftest.er1
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19289 (exit $ac_status); } &&
19290 { ac_try='test -z "$ac_cxx_werror_flag"
19291 || test ! -s conftest.err'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; } &&
19297 { ac_try='test -s conftest.$ac_objext'
19298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19299 (eval $ac_try) 2>&5
19300 ac_status=$?
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); }; }; then
19303 echo "$as_me:$LINENO: result: yes" >&5
19304 echo "${ECHO_T}yes" >&6
19305 else
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19308
19309 echo "$as_me:$LINENO: result: no" >&5
19310 echo "${ECHO_T}no" >&6
19311 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19312 echo "$as_me: error: Basic STL functionality missing" >&2;}
19313 { (exit 1); exit 1; }; }
19314 fi
19315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19316
19317 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19318 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19319 cat >conftest.$ac_ext <<_ACEOF
19320 /* confdefs.h. */
19321 _ACEOF
19322 cat confdefs.h >>conftest.$ac_ext
19323 cat >>conftest.$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 #include <string>
19326 int
19327 main ()
19328 {
19329 std::wstring foo;
19330 ;
19331 return 0;
19332 }
19333 _ACEOF
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try='test -z "$ac_cxx_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19347 ac_status=$?
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 echo "$as_me:$LINENO: result: yes" >&5
19357 echo "${ECHO_T}yes" >&6
19358 cat >>confdefs.h <<\_ACEOF
19359 #define HAVE_STD_WSTRING 1
19360 _ACEOF
19361
19362 else
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19365
19366 echo "$as_me:$LINENO: result: no" >&5
19367 echo "${ECHO_T}no" >&6
19368 fi
19369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19370
19371 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19372 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19373 cat >conftest.$ac_ext <<_ACEOF
19374 /* confdefs.h. */
19375 _ACEOF
19376 cat confdefs.h >>conftest.$ac_ext
19377 cat >>conftest.$ac_ext <<_ACEOF
19378 /* end confdefs.h. */
19379 #include <string>
19380 int
19381 main ()
19382 {
19383 std::string foo, bar;
19384 foo.compare(bar);
19385 foo.compare(1, 1, bar);
19386 foo.compare(1, 1, bar, 1, 1);
19387 foo.compare("");
19388 foo.compare(1, 1, "");
19389 foo.compare(1, 1, "", 2);
19390 ;
19391 return 0;
19392 }
19393 _ACEOF
19394 rm -f conftest.$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_cxx_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19407 ac_status=$?
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19413 ac_status=$?
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 echo "$as_me:$LINENO: result: yes" >&5
19417 echo "${ECHO_T}yes" >&6
19418 cat >>confdefs.h <<\_ACEOF
19419 #define HAVE_STD_STRING_COMPARE 1
19420 _ACEOF
19421
19422 else
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.$ac_ext >&5
19425
19426 echo "$as_me:$LINENO: result: no" >&5
19427 echo "${ECHO_T}no" >&6
19428 fi
19429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19430
19431 ac_ext=c
19432 ac_cpp='$CPP $CPPFLAGS'
19433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19436
19437 fi
19438
19439
19440 SEARCH_INCLUDE="\
19441 /usr/local/include \
19442 \
19443 /usr/Motif-2.1/include \
19444 /usr/Motif-1.2/include \
19445 /usr/include/Motif1.2 \
19446 /opt/xpm/include/X11 \
19447 /opt/GBxpm/include/ \
19448 /opt/GBxpm/X11/include/ \
19449 \
19450 /usr/dt/include \
19451 /usr/openwin/include \
19452 \
19453 /usr/include/Xm \
19454 \
19455 /usr/X11R6/include \
19456 /usr/X11R6.4/include \
19457 /usr/X11R5/include \
19458 /usr/X11R4/include \
19459 \
19460 /usr/include/X11R6 \
19461 /usr/include/X11R5 \
19462 /usr/include/X11R4 \
19463 \
19464 /usr/local/X11R6/include \
19465 /usr/local/X11R5/include \
19466 /usr/local/X11R4/include \
19467 \
19468 /usr/local/include/X11R6 \
19469 /usr/local/include/X11R5 \
19470 /usr/local/include/X11R4 \
19471 \
19472 /usr/X11/include \
19473 /usr/include/X11 \
19474 /usr/local/X11/include \
19475 /usr/local/include/X11 \
19476 \
19477 /usr/X386/include \
19478 /usr/x386/include \
19479 /usr/XFree86/include/X11 \
19480 \
19481 X:/XFree86/include \
19482 X:/XFree86/include/X11 \
19483 \
19484 /usr/include/gtk \
19485 /usr/local/include/gtk \
19486 /usr/include/glib \
19487 /usr/local/include/glib \
19488 \
19489 /usr/include/qt \
19490 /usr/local/include/qt \
19491 \
19492 /usr/local/arm/3.3.2/include \
19493 \
19494 /usr/include/windows \
19495 /usr/include/wine \
19496 /usr/local/include/wine \
19497 \
19498 /usr/unsupported/include \
19499 /usr/athena/include \
19500 /usr/local/x11r5/include \
19501 /usr/lpp/Xamples/include \
19502 \
19503 /usr/openwin/share/include"
19504
19505 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19506
19507
19508 cat >confcache <<\_ACEOF
19509 # This file is a shell script that caches the results of configure
19510 # tests run on this system so they can be shared between configure
19511 # scripts and configure runs, see configure's option --config-cache.
19512 # It is not useful on other systems. If it contains results you don't
19513 # want to keep, you may remove or edit it.
19514 #
19515 # config.status only pays attention to the cache file if you give it
19516 # the --recheck option to rerun configure.
19517 #
19518 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19519 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19520 # following values.
19521
19522 _ACEOF
19523
19524 # The following way of writing the cache mishandles newlines in values,
19525 # but we know of no workaround that is simple, portable, and efficient.
19526 # So, don't put newlines in cache variables' values.
19527 # Ultrix sh set writes to stderr and can't be redirected directly,
19528 # and sets the high bit in the cache file unless we assign to the vars.
19529 {
19530 (set) 2>&1 |
19531 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19532 *ac_space=\ *)
19533 # `set' does not quote correctly, so add quotes (double-quote
19534 # substitution turns \\\\ into \\, and sed turns \\ into \).
19535 sed -n \
19536 "s/'/'\\\\''/g;
19537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19538 ;;
19539 *)
19540 # `set' quotes correctly as required by POSIX, so do not add quotes.
19541 sed -n \
19542 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19543 ;;
19544 esac;
19545 } |
19546 sed '
19547 t clear
19548 : clear
19549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19550 t end
19551 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19552 : end' >>confcache
19553 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19554 if test -w $cache_file; then
19555 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19556 cat confcache >$cache_file
19557 else
19558 echo "not updating unwritable cache $cache_file"
19559 fi
19560 fi
19561 rm -f confcache
19562
19563 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19564 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19565 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19566 if test "${wx_cv_lib_glibc21+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 else
19569
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 #include <features.h>
19577 int
19578 main ()
19579 {
19580
19581 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19582 #error not glibc2.1
19583 #endif
19584
19585 ;
19586 return 0;
19587 }
19588 _ACEOF
19589 rm -f conftest.$ac_objext
19590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>conftest.er1
19592 ac_status=$?
19593 grep -v '^ *+' conftest.er1 >conftest.err
19594 rm -f conftest.er1
19595 cat conftest.err >&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try='test -z "$ac_c_werror_flag"
19599 || test ! -s conftest.err'
19600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 (eval $ac_try) 2>&5
19602 ac_status=$?
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); }; } &&
19605 { ac_try='test -s conftest.$ac_objext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19611
19612 wx_cv_lib_glibc21=yes
19613
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618
19619 wx_cv_lib_glibc21=no
19620
19621
19622 fi
19623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19624
19625 fi
19626 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19627 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19628 if test "$wx_cv_lib_glibc21" = "yes"; then
19629 cat >>confdefs.h <<\_ACEOF
19630 #define wxHAVE_GLIBC2 1
19631 _ACEOF
19632
19633 fi
19634 fi
19635
19636 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19637 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19638 cat >>confdefs.h <<\_ACEOF
19639 #define _GNU_SOURCE 1
19640 _ACEOF
19641
19642 fi
19643 fi
19644
19645
19646
19647 if test "$wxUSE_REGEX" != "no"; then
19648 cat >>confdefs.h <<\_ACEOF
19649 #define wxUSE_REGEX 1
19650 _ACEOF
19651
19652
19653 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19654 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19655 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19656 wxUSE_REGEX=builtin
19657 fi
19658
19659 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19660 if test "${ac_cv_header_regex_h+set}" = set; then
19661 echo "$as_me:$LINENO: checking for regex.h" >&5
19662 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19663 if test "${ac_cv_header_regex_h+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 fi
19666 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19667 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19668 else
19669 # Is the header compilable?
19670 echo "$as_me:$LINENO: checking regex.h usability" >&5
19671 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19672 cat >conftest.$ac_ext <<_ACEOF
19673 /* confdefs.h. */
19674 _ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19679 #include <regex.h>
19680 _ACEOF
19681 rm -f conftest.$ac_objext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19683 (eval $ac_compile) 2>conftest.er1
19684 ac_status=$?
19685 grep -v '^ *+' conftest.er1 >conftest.err
19686 rm -f conftest.er1
19687 cat conftest.err >&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } &&
19690 { ac_try='test -z "$ac_c_werror_flag"
19691 || test ! -s conftest.err'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19693 (eval $ac_try) 2>&5
19694 ac_status=$?
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); }; } &&
19697 { ac_try='test -s conftest.$ac_objext'
19698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19699 (eval $ac_try) 2>&5
19700 ac_status=$?
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); }; }; then
19703 ac_header_compiler=yes
19704 else
19705 echo "$as_me: failed program was:" >&5
19706 sed 's/^/| /' conftest.$ac_ext >&5
19707
19708 ac_header_compiler=no
19709 fi
19710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19712 echo "${ECHO_T}$ac_header_compiler" >&6
19713
19714 # Is the header present?
19715 echo "$as_me:$LINENO: checking regex.h presence" >&5
19716 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #include <regex.h>
19724 _ACEOF
19725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19727 ac_status=$?
19728 grep -v '^ *+' conftest.er1 >conftest.err
19729 rm -f conftest.er1
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } >/dev/null; then
19733 if test -s conftest.err; then
19734 ac_cpp_err=$ac_c_preproc_warn_flag
19735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19736 else
19737 ac_cpp_err=
19738 fi
19739 else
19740 ac_cpp_err=yes
19741 fi
19742 if test -z "$ac_cpp_err"; then
19743 ac_header_preproc=yes
19744 else
19745 echo "$as_me: failed program was:" >&5
19746 sed 's/^/| /' conftest.$ac_ext >&5
19747
19748 ac_header_preproc=no
19749 fi
19750 rm -f conftest.err conftest.$ac_ext
19751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19752 echo "${ECHO_T}$ac_header_preproc" >&6
19753
19754 # So? What about this header?
19755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19756 yes:no: )
19757 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19758 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19759 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19760 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19761 ac_header_preproc=yes
19762 ;;
19763 no:yes:* )
19764 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19765 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19766 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19767 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19768 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19769 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19770 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19771 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19772 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19773 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19774 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19775 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19776 (
19777 cat <<\_ASBOX
19778 ## ----------------------------------------- ##
19779 ## Report this to wx-dev@lists.wxwindows.org ##
19780 ## ----------------------------------------- ##
19781 _ASBOX
19782 ) |
19783 sed "s/^/$as_me: WARNING: /" >&2
19784 ;;
19785 esac
19786 echo "$as_me:$LINENO: checking for regex.h" >&5
19787 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19788 if test "${ac_cv_header_regex_h+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 else
19791 ac_cv_header_regex_h=$ac_header_preproc
19792 fi
19793 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19794 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19795
19796 fi
19797 if test $ac_cv_header_regex_h = yes; then
19798
19799 for ac_func in regcomp
19800 do
19801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19802 echo "$as_me:$LINENO: checking for $ac_func" >&5
19803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19804 if eval "test \"\${$as_ac_var+set}\" = set"; then
19805 echo $ECHO_N "(cached) $ECHO_C" >&6
19806 else
19807 cat >conftest.$ac_ext <<_ACEOF
19808 /* confdefs.h. */
19809 _ACEOF
19810 cat confdefs.h >>conftest.$ac_ext
19811 cat >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19815 #define $ac_func innocuous_$ac_func
19816
19817 /* System header to define __stub macros and hopefully few prototypes,
19818 which can conflict with char $ac_func (); below.
19819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19820 <limits.h> exists even on freestanding compilers. */
19821
19822 #ifdef __STDC__
19823 # include <limits.h>
19824 #else
19825 # include <assert.h>
19826 #endif
19827
19828 #undef $ac_func
19829
19830 /* Override any gcc2 internal prototype to avoid an error. */
19831 #ifdef __cplusplus
19832 extern "C"
19833 {
19834 #endif
19835 /* We use char because int might match the return type of a gcc2
19836 builtin and then its argument prototype would still apply. */
19837 char $ac_func ();
19838 /* The GNU C library defines this for functions which it implements
19839 to always fail with ENOSYS. Some functions are actually named
19840 something starting with __ and the normal name is an alias. */
19841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19842 choke me
19843 #else
19844 char (*f) () = $ac_func;
19845 #endif
19846 #ifdef __cplusplus
19847 }
19848 #endif
19849
19850 int
19851 main ()
19852 {
19853 return f != $ac_func;
19854 ;
19855 return 0;
19856 }
19857 _ACEOF
19858 rm -f conftest.$ac_objext conftest$ac_exeext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19860 (eval $ac_link) 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try='test -z "$ac_c_werror_flag"
19868 || test ! -s conftest.err'
19869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19870 (eval $ac_try) 2>&5
19871 ac_status=$?
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest$ac_exeext'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19877 ac_status=$?
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; }; then
19880 eval "$as_ac_var=yes"
19881 else
19882 echo "$as_me: failed program was:" >&5
19883 sed 's/^/| /' conftest.$ac_ext >&5
19884
19885 eval "$as_ac_var=no"
19886 fi
19887 rm -f conftest.err conftest.$ac_objext \
19888 conftest$ac_exeext conftest.$ac_ext
19889 fi
19890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19892 if test `eval echo '${'$as_ac_var'}'` = yes; then
19893 cat >>confdefs.h <<_ACEOF
19894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19895 _ACEOF
19896
19897 fi
19898 done
19899
19900 fi
19901
19902
19903
19904 if test "x$ac_cv_func_regcomp" != "xyes"; then
19905 if test "$wxUSE_REGEX" = "sys" ; then
19906 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19907 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19908 { (exit 1); exit 1; }; }
19909 else
19910 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19911 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19912 wxUSE_REGEX=builtin
19913 fi
19914 else
19915 wxUSE_REGEX=sys
19916 cat >>confdefs.h <<\_ACEOF
19917 #define WX_NO_REGEX_ADVANCED 1
19918 _ACEOF
19919
19920 fi
19921 fi
19922 fi
19923
19924
19925 ZLIB_LINK=
19926 if test "$wxUSE_ZLIB" != "no" ; then
19927 cat >>confdefs.h <<\_ACEOF
19928 #define wxUSE_ZLIB 1
19929 _ACEOF
19930
19931
19932 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19933 if test "$USE_DARWIN" = 1; then
19934 system_zlib_h_ok="yes"
19935 else
19936 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19937 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19938 if test "${ac_cv_header_zlib_h+set}" = set; then
19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 else
19941 if test "$cross_compiling" = yes; then
19942 unset ac_cv_header_zlib_h
19943
19944 else
19945 cat >conftest.$ac_ext <<_ACEOF
19946 /* confdefs.h. */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951
19952 #include <zlib.h>
19953 #include <stdio.h>
19954
19955 int main()
19956 {
19957 FILE *f=fopen("conftestval", "w");
19958 if (!f) exit(1);
19959 fprintf(f, "%s",
19960 ZLIB_VERSION[0] == '1' &&
19961 (ZLIB_VERSION[2] > '1' ||
19962 (ZLIB_VERSION[2] == '1' &&
19963 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19964 exit(0);
19965 }
19966
19967 _ACEOF
19968 rm -f conftest$ac_exeext
19969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19970 (eval $ac_link) 2>&5
19971 ac_status=$?
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_cv_header_zlib_h=`cat conftestval`
19980 else
19981 echo "$as_me: program exited with status $ac_status" >&5
19982 echo "$as_me: failed program was:" >&5
19983 sed 's/^/| /' conftest.$ac_ext >&5
19984
19985 ( exit $ac_status )
19986 ac_cv_header_zlib_h=no
19987 fi
19988 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19989 fi
19990
19991 fi
19992 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19993 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19994 if test "${ac_cv_header_zlib_h+set}" = set; then
19995 echo "$as_me:$LINENO: checking for zlib.h" >&5
19996 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19997 if test "${ac_cv_header_zlib_h+set}" = set; then
19998 echo $ECHO_N "(cached) $ECHO_C" >&6
19999 fi
20000 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20001 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20002 else
20003 # Is the header compilable?
20004 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20005 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20006 cat >conftest.$ac_ext <<_ACEOF
20007 /* confdefs.h. */
20008 _ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012 $ac_includes_default
20013 #include <zlib.h>
20014 _ACEOF
20015 rm -f conftest.$ac_objext
20016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20017 (eval $ac_compile) 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } &&
20024 { ac_try='test -z "$ac_c_werror_flag"
20025 || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20034 ac_status=$?
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 ac_header_compiler=yes
20038 else
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20041
20042 ac_header_compiler=no
20043 fi
20044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20046 echo "${ECHO_T}$ac_header_compiler" >&6
20047
20048 # Is the header present?
20049 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20050 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h. */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 #include <zlib.h>
20058 _ACEOF
20059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20061 ac_status=$?
20062 grep -v '^ *+' conftest.er1 >conftest.err
20063 rm -f conftest.er1
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } >/dev/null; then
20067 if test -s conftest.err; then
20068 ac_cpp_err=$ac_c_preproc_warn_flag
20069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20070 else
20071 ac_cpp_err=
20072 fi
20073 else
20074 ac_cpp_err=yes
20075 fi
20076 if test -z "$ac_cpp_err"; then
20077 ac_header_preproc=yes
20078 else
20079 echo "$as_me: failed program was:" >&5
20080 sed 's/^/| /' conftest.$ac_ext >&5
20081
20082 ac_header_preproc=no
20083 fi
20084 rm -f conftest.err conftest.$ac_ext
20085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20086 echo "${ECHO_T}$ac_header_preproc" >&6
20087
20088 # So? What about this header?
20089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20090 yes:no: )
20091 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20092 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20093 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20094 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20095 ac_header_preproc=yes
20096 ;;
20097 no:yes:* )
20098 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20099 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20100 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20101 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20102 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20103 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20104 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20105 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20106 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20107 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20108 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20109 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20110 (
20111 cat <<\_ASBOX
20112 ## ----------------------------------------- ##
20113 ## Report this to wx-dev@lists.wxwindows.org ##
20114 ## ----------------------------------------- ##
20115 _ASBOX
20116 ) |
20117 sed "s/^/$as_me: WARNING: /" >&2
20118 ;;
20119 esac
20120 echo "$as_me:$LINENO: checking for zlib.h" >&5
20121 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20122 if test "${ac_cv_header_zlib_h+set}" = set; then
20123 echo $ECHO_N "(cached) $ECHO_C" >&6
20124 else
20125 ac_cv_header_zlib_h=$ac_header_preproc
20126 fi
20127 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20128 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20129
20130 fi
20131
20132
20133
20134 system_zlib_h_ok=$ac_cv_header_zlib_h
20135 fi
20136
20137 if test "$system_zlib_h_ok" = "yes"; then
20138 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20139 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20140 if test "${ac_cv_lib_z_deflate+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20143 ac_check_lib_save_LIBS=$LIBS
20144 LIBS="-lz $LIBS"
20145 cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h. */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151
20152 /* Override any gcc2 internal prototype to avoid an error. */
20153 #ifdef __cplusplus
20154 extern "C"
20155 #endif
20156 /* We use char because int might match the return type of a gcc2
20157 builtin and then its argument prototype would still apply. */
20158 char deflate ();
20159 int
20160 main ()
20161 {
20162 deflate ();
20163 ;
20164 return 0;
20165 }
20166 _ACEOF
20167 rm -f conftest.$ac_objext conftest$ac_exeext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20169 (eval $ac_link) 2>conftest.er1
20170 ac_status=$?
20171 grep -v '^ *+' conftest.er1 >conftest.err
20172 rm -f conftest.er1
20173 cat conftest.err >&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try='test -z "$ac_c_werror_flag"
20177 || test ! -s conftest.err'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20180 ac_status=$?
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; } &&
20183 { ac_try='test -s conftest$ac_exeext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20189 ac_cv_lib_z_deflate=yes
20190 else
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20193
20194 ac_cv_lib_z_deflate=no
20195 fi
20196 rm -f conftest.err conftest.$ac_objext \
20197 conftest$ac_exeext conftest.$ac_ext
20198 LIBS=$ac_check_lib_save_LIBS
20199 fi
20200 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20201 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20202 if test $ac_cv_lib_z_deflate = yes; then
20203 ZLIB_LINK=" -lz"
20204 fi
20205
20206 fi
20207
20208 if test "x$ZLIB_LINK" = "x" ; then
20209 if test "$wxUSE_ZLIB" = "sys" ; then
20210 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20211 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20212 { (exit 1); exit 1; }; }
20213 else
20214 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20215 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20216 wxUSE_ZLIB=builtin
20217 fi
20218 else
20219 wxUSE_ZLIB=sys
20220 fi
20221 fi
20222 fi
20223
20224
20225 PNG_LINK=
20226 if test "$wxUSE_LIBPNG" != "no" ; then
20227 cat >>confdefs.h <<\_ACEOF
20228 #define wxUSE_LIBPNG 1
20229 _ACEOF
20230
20231
20232 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20233 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20234 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20235 wxUSE_LIBPNG=sys
20236 fi
20237
20238 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20239 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20240 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20241 wxUSE_LIBPNG=builtin
20242 fi
20243
20244 if test "$wxUSE_MGL" != 1 ; then
20245 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20246 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20247 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20248 if test "${ac_cv_header_png_h+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 else
20251 if test "$cross_compiling" = yes; then
20252 unset ac_cv_header_png_h
20253
20254 else
20255 cat >conftest.$ac_ext <<_ACEOF
20256 /* confdefs.h. */
20257 _ACEOF
20258 cat confdefs.h >>conftest.$ac_ext
20259 cat >>conftest.$ac_ext <<_ACEOF
20260 /* end confdefs.h. */
20261
20262 #include <png.h>
20263 #include <stdio.h>
20264
20265 int main()
20266 {
20267 FILE *f=fopen("conftestval", "w");
20268 if (!f) exit(1);
20269 fprintf(f, "%s",
20270 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20271 exit(0);
20272 }
20273
20274 _ACEOF
20275 rm -f conftest$ac_exeext
20276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20277 (eval $ac_link) 2>&5
20278 ac_status=$?
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; }; then
20286 ac_cv_header_png_h=`cat conftestval`
20287 else
20288 echo "$as_me: program exited with status $ac_status" >&5
20289 echo "$as_me: failed program was:" >&5
20290 sed 's/^/| /' conftest.$ac_ext >&5
20291
20292 ( exit $ac_status )
20293 ac_cv_header_png_h=no
20294 fi
20295 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20296 fi
20297
20298 fi
20299 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20300 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20301 if test "${ac_cv_header_png_h+set}" = set; then
20302 echo "$as_me:$LINENO: checking for png.h" >&5
20303 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20304 if test "${ac_cv_header_png_h+set}" = set; then
20305 echo $ECHO_N "(cached) $ECHO_C" >&6
20306 fi
20307 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20308 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20309 else
20310 # Is the header compilable?
20311 echo "$as_me:$LINENO: checking png.h usability" >&5
20312 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 $ac_includes_default
20320 #include <png.h>
20321 _ACEOF
20322 rm -f conftest.$ac_objext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20324 (eval $ac_compile) 2>conftest.er1
20325 ac_status=$?
20326 grep -v '^ *+' conftest.er1 >conftest.err
20327 rm -f conftest.er1
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } &&
20331 { ac_try='test -z "$ac_c_werror_flag"
20332 || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try='test -s conftest.$ac_objext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20341 ac_status=$?
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_header_compiler=yes
20345 else
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.$ac_ext >&5
20348
20349 ac_header_compiler=no
20350 fi
20351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20353 echo "${ECHO_T}$ac_header_compiler" >&6
20354
20355 # Is the header present?
20356 echo "$as_me:$LINENO: checking png.h presence" >&5
20357 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20358 cat >conftest.$ac_ext <<_ACEOF
20359 /* confdefs.h. */
20360 _ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 #include <png.h>
20365 _ACEOF
20366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20368 ac_status=$?
20369 grep -v '^ *+' conftest.er1 >conftest.err
20370 rm -f conftest.er1
20371 cat conftest.err >&5
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); } >/dev/null; then
20374 if test -s conftest.err; then
20375 ac_cpp_err=$ac_c_preproc_warn_flag
20376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20377 else
20378 ac_cpp_err=
20379 fi
20380 else
20381 ac_cpp_err=yes
20382 fi
20383 if test -z "$ac_cpp_err"; then
20384 ac_header_preproc=yes
20385 else
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20388
20389 ac_header_preproc=no
20390 fi
20391 rm -f conftest.err conftest.$ac_ext
20392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20393 echo "${ECHO_T}$ac_header_preproc" >&6
20394
20395 # So? What about this header?
20396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20397 yes:no: )
20398 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20399 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20400 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20401 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20402 ac_header_preproc=yes
20403 ;;
20404 no:yes:* )
20405 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20406 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20407 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20408 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20409 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20410 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20411 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20412 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20413 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20414 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20415 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20416 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20417 (
20418 cat <<\_ASBOX
20419 ## ----------------------------------------- ##
20420 ## Report this to wx-dev@lists.wxwindows.org ##
20421 ## ----------------------------------------- ##
20422 _ASBOX
20423 ) |
20424 sed "s/^/$as_me: WARNING: /" >&2
20425 ;;
20426 esac
20427 echo "$as_me:$LINENO: checking for png.h" >&5
20428 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20429 if test "${ac_cv_header_png_h+set}" = set; then
20430 echo $ECHO_N "(cached) $ECHO_C" >&6
20431 else
20432 ac_cv_header_png_h=$ac_header_preproc
20433 fi
20434 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20435 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20436
20437 fi
20438
20439
20440
20441 if test "$ac_cv_header_png_h" = "yes"; then
20442 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20443 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20444 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 else
20447 ac_check_lib_save_LIBS=$LIBS
20448 LIBS="-lpng -lz -lm $LIBS"
20449 cat >conftest.$ac_ext <<_ACEOF
20450 /* confdefs.h. */
20451 _ACEOF
20452 cat confdefs.h >>conftest.$ac_ext
20453 cat >>conftest.$ac_ext <<_ACEOF
20454 /* end confdefs.h. */
20455
20456 /* Override any gcc2 internal prototype to avoid an error. */
20457 #ifdef __cplusplus
20458 extern "C"
20459 #endif
20460 /* We use char because int might match the return type of a gcc2
20461 builtin and then its argument prototype would still apply. */
20462 char png_check_sig ();
20463 int
20464 main ()
20465 {
20466 png_check_sig ();
20467 ;
20468 return 0;
20469 }
20470 _ACEOF
20471 rm -f conftest.$ac_objext conftest$ac_exeext
20472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20473 (eval $ac_link) 2>conftest.er1
20474 ac_status=$?
20475 grep -v '^ *+' conftest.er1 >conftest.err
20476 rm -f conftest.er1
20477 cat conftest.err >&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); } &&
20480 { ac_try='test -z "$ac_c_werror_flag"
20481 || test ! -s conftest.err'
20482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20483 (eval $ac_try) 2>&5
20484 ac_status=$?
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); }; } &&
20487 { ac_try='test -s conftest$ac_exeext'
20488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20489 (eval $ac_try) 2>&5
20490 ac_status=$?
20491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20492 (exit $ac_status); }; }; then
20493 ac_cv_lib_png_png_check_sig=yes
20494 else
20495 echo "$as_me: failed program was:" >&5
20496 sed 's/^/| /' conftest.$ac_ext >&5
20497
20498 ac_cv_lib_png_png_check_sig=no
20499 fi
20500 rm -f conftest.err conftest.$ac_objext \
20501 conftest$ac_exeext conftest.$ac_ext
20502 LIBS=$ac_check_lib_save_LIBS
20503 fi
20504 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20505 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20506 if test $ac_cv_lib_png_png_check_sig = yes; then
20507 PNG_LINK=" -lpng -lz"
20508 fi
20509
20510 fi
20511
20512 if test "x$PNG_LINK" = "x" ; then
20513 if test "$wxUSE_LIBPNG" = "sys" ; then
20514 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20515 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20516 { (exit 1); exit 1; }; }
20517 else
20518 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20519 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20520 wxUSE_LIBPNG=builtin
20521 fi
20522 else
20523 wxUSE_LIBPNG=sys
20524 fi
20525 fi
20526 fi
20527
20528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20529 fi
20530
20531
20532 JPEG_LINK=
20533 if test "$wxUSE_LIBJPEG" != "no" ; then
20534 cat >>confdefs.h <<\_ACEOF
20535 #define wxUSE_LIBJPEG 1
20536 _ACEOF
20537
20538
20539 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20540 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20541 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20542 wxUSE_LIBJPEG=sys
20543 fi
20544
20545 if test "$wxUSE_MGL" != 1 ; then
20546 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20547 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20548 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20549 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20550 echo $ECHO_N "(cached) $ECHO_C" >&6
20551 else
20552 cat >conftest.$ac_ext <<_ACEOF
20553 /* confdefs.h. */
20554 _ACEOF
20555 cat confdefs.h >>conftest.$ac_ext
20556 cat >>conftest.$ac_ext <<_ACEOF
20557 /* end confdefs.h. */
20558
20559 #undef HAVE_STDLIB_H
20560 #include <stdio.h>
20561 #include <jpeglib.h>
20562
20563 int
20564 main ()
20565 {
20566
20567
20568 ;
20569 return 0;
20570 }
20571 _ACEOF
20572 rm -f conftest.$ac_objext
20573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20574 (eval $ac_compile) 2>conftest.er1
20575 ac_status=$?
20576 grep -v '^ *+' conftest.er1 >conftest.err
20577 rm -f conftest.er1
20578 cat conftest.err >&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); } &&
20581 { ac_try='test -z "$ac_c_werror_flag"
20582 || test ! -s conftest.err'
20583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584 (eval $ac_try) 2>&5
20585 ac_status=$?
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); }; } &&
20588 { ac_try='test -s conftest.$ac_objext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_header_jpeglib_h=yes
20595 else
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.$ac_ext >&5
20598
20599 ac_cv_header_jpeglib_h=no
20600
20601 fi
20602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20603
20604 fi
20605
20606 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20607 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20608
20609 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20610 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20611 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20612 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20613 echo $ECHO_N "(cached) $ECHO_C" >&6
20614 else
20615 ac_check_lib_save_LIBS=$LIBS
20616 LIBS="-ljpeg $LIBS"
20617 cat >conftest.$ac_ext <<_ACEOF
20618 /* confdefs.h. */
20619 _ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623
20624 /* Override any gcc2 internal prototype to avoid an error. */
20625 #ifdef __cplusplus
20626 extern "C"
20627 #endif
20628 /* We use char because int might match the return type of a gcc2
20629 builtin and then its argument prototype would still apply. */
20630 char jpeg_read_header ();
20631 int
20632 main ()
20633 {
20634 jpeg_read_header ();
20635 ;
20636 return 0;
20637 }
20638 _ACEOF
20639 rm -f conftest.$ac_objext conftest$ac_exeext
20640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20641 (eval $ac_link) 2>conftest.er1
20642 ac_status=$?
20643 grep -v '^ *+' conftest.er1 >conftest.err
20644 rm -f conftest.er1
20645 cat conftest.err >&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); } &&
20648 { ac_try='test -z "$ac_c_werror_flag"
20649 || test ! -s conftest.err'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20652 ac_status=$?
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try='test -s conftest$ac_exeext'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20658 ac_status=$?
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; }; then
20661 ac_cv_lib_jpeg_jpeg_read_header=yes
20662 else
20663 echo "$as_me: failed program was:" >&5
20664 sed 's/^/| /' conftest.$ac_ext >&5
20665
20666 ac_cv_lib_jpeg_jpeg_read_header=no
20667 fi
20668 rm -f conftest.err conftest.$ac_objext \
20669 conftest$ac_exeext conftest.$ac_ext
20670 LIBS=$ac_check_lib_save_LIBS
20671 fi
20672 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20673 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20674 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20675 JPEG_LINK=" -ljpeg"
20676 fi
20677
20678 fi
20679
20680 if test "x$JPEG_LINK" = "x" ; then
20681 if test "$wxUSE_LIBJPEG" = "sys" ; then
20682 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20683 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20684 { (exit 1); exit 1; }; }
20685 else
20686 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20687 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20688 wxUSE_LIBJPEG=builtin
20689 fi
20690 else
20691 wxUSE_LIBJPEG=sys
20692 fi
20693 fi
20694 fi
20695 fi
20696
20697
20698 TIFF_LINK=
20699 TIFF_PREREQ_LINKS=-lm
20700 if test "$wxUSE_LIBTIFF" != "no" ; then
20701 cat >>confdefs.h <<\_ACEOF
20702 #define wxUSE_LIBTIFF 1
20703 _ACEOF
20704
20705
20706 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20707 if test "$wxUSE_LIBJPEG" = "sys"; then
20708 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20709 fi
20710 if test "$wxUSE_ZLIB" = "sys"; then
20711 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20712 fi
20713 if test "${ac_cv_header_tiffio_h+set}" = set; then
20714 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20715 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20716 if test "${ac_cv_header_tiffio_h+set}" = set; then
20717 echo $ECHO_N "(cached) $ECHO_C" >&6
20718 fi
20719 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20720 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20721 else
20722 # Is the header compilable?
20723 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20724 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20725 cat >conftest.$ac_ext <<_ACEOF
20726 /* confdefs.h. */
20727 _ACEOF
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 $ac_includes_default
20732 #include <tiffio.h>
20733 _ACEOF
20734 rm -f conftest.$ac_objext
20735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20736 (eval $ac_compile) 2>conftest.er1
20737 ac_status=$?
20738 grep -v '^ *+' conftest.er1 >conftest.err
20739 rm -f conftest.er1
20740 cat conftest.err >&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } &&
20743 { ac_try='test -z "$ac_c_werror_flag"
20744 || test ! -s conftest.err'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20747 ac_status=$?
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; } &&
20750 { ac_try='test -s conftest.$ac_objext'
20751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20752 (eval $ac_try) 2>&5
20753 ac_status=$?
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; }; then
20756 ac_header_compiler=yes
20757 else
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20760
20761 ac_header_compiler=no
20762 fi
20763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20765 echo "${ECHO_T}$ac_header_compiler" >&6
20766
20767 # Is the header present?
20768 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20769 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20770 cat >conftest.$ac_ext <<_ACEOF
20771 /* confdefs.h. */
20772 _ACEOF
20773 cat confdefs.h >>conftest.$ac_ext
20774 cat >>conftest.$ac_ext <<_ACEOF
20775 /* end confdefs.h. */
20776 #include <tiffio.h>
20777 _ACEOF
20778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } >/dev/null; then
20786 if test -s conftest.err; then
20787 ac_cpp_err=$ac_c_preproc_warn_flag
20788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20789 else
20790 ac_cpp_err=
20791 fi
20792 else
20793 ac_cpp_err=yes
20794 fi
20795 if test -z "$ac_cpp_err"; then
20796 ac_header_preproc=yes
20797 else
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20800
20801 ac_header_preproc=no
20802 fi
20803 rm -f conftest.err conftest.$ac_ext
20804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20805 echo "${ECHO_T}$ac_header_preproc" >&6
20806
20807 # So? What about this header?
20808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20809 yes:no: )
20810 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20811 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20812 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20813 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20814 ac_header_preproc=yes
20815 ;;
20816 no:yes:* )
20817 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20818 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20819 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20820 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20821 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20822 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20823 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20824 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20825 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20826 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20827 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20828 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20829 (
20830 cat <<\_ASBOX
20831 ## ----------------------------------------- ##
20832 ## Report this to wx-dev@lists.wxwindows.org ##
20833 ## ----------------------------------------- ##
20834 _ASBOX
20835 ) |
20836 sed "s/^/$as_me: WARNING: /" >&2
20837 ;;
20838 esac
20839 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20840 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20841 if test "${ac_cv_header_tiffio_h+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 else
20844 ac_cv_header_tiffio_h=$ac_header_preproc
20845 fi
20846 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20847 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20848
20849 fi
20850 if test $ac_cv_header_tiffio_h = yes; then
20851
20852 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20853 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20854 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 else
20857 ac_check_lib_save_LIBS=$LIBS
20858 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20859 cat >conftest.$ac_ext <<_ACEOF
20860 /* confdefs.h. */
20861 _ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865
20866 /* Override any gcc2 internal prototype to avoid an error. */
20867 #ifdef __cplusplus
20868 extern "C"
20869 #endif
20870 /* We use char because int might match the return type of a gcc2
20871 builtin and then its argument prototype would still apply. */
20872 char TIFFError ();
20873 int
20874 main ()
20875 {
20876 TIFFError ();
20877 ;
20878 return 0;
20879 }
20880 _ACEOF
20881 rm -f conftest.$ac_objext conftest$ac_exeext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20883 (eval $ac_link) 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try='test -z "$ac_c_werror_flag"
20891 || test ! -s conftest.err'
20892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20893 (eval $ac_try) 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; } &&
20897 { ac_try='test -s conftest$ac_exeext'
20898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20899 (eval $ac_try) 2>&5
20900 ac_status=$?
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); }; }; then
20903 ac_cv_lib_tiff_TIFFError=yes
20904 else
20905 echo "$as_me: failed program was:" >&5
20906 sed 's/^/| /' conftest.$ac_ext >&5
20907
20908 ac_cv_lib_tiff_TIFFError=no
20909 fi
20910 rm -f conftest.err conftest.$ac_objext \
20911 conftest$ac_exeext conftest.$ac_ext
20912 LIBS=$ac_check_lib_save_LIBS
20913 fi
20914 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20915 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20916 if test $ac_cv_lib_tiff_TIFFError = yes; then
20917 TIFF_LINK=" -ltiff"
20918 fi
20919
20920
20921
20922 fi
20923
20924
20925
20926 if test "x$TIFF_LINK" = "x" ; then
20927 if test "$wxUSE_LIBTIFF" = "sys" ; then
20928 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20929 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20930 { (exit 1); exit 1; }; }
20931 else
20932 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20933 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20934 wxUSE_LIBTIFF=builtin
20935 fi
20936 else
20937 wxUSE_LIBTIFF=sys
20938 fi
20939 fi
20940 fi
20941
20942
20943 if test "$wxUSE_EXPAT" != "no"; then
20944 wxUSE_XML=yes
20945 cat >>confdefs.h <<\_ACEOF
20946 #define wxUSE_EXPAT 1
20947 _ACEOF
20948
20949 cat >>confdefs.h <<\_ACEOF
20950 #define wxUSE_XML 1
20951 _ACEOF
20952
20953
20954 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20955 if test "${ac_cv_header_expat_h+set}" = set; then
20956 echo "$as_me:$LINENO: checking for expat.h" >&5
20957 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20958 if test "${ac_cv_header_expat_h+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 fi
20961 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20962 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20963 else
20964 # Is the header compilable?
20965 echo "$as_me:$LINENO: checking expat.h usability" >&5
20966 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20967 cat >conftest.$ac_ext <<_ACEOF
20968 /* confdefs.h. */
20969 _ACEOF
20970 cat confdefs.h >>conftest.$ac_ext
20971 cat >>conftest.$ac_ext <<_ACEOF
20972 /* end confdefs.h. */
20973 $ac_includes_default
20974 #include <expat.h>
20975 _ACEOF
20976 rm -f conftest.$ac_objext
20977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20978 (eval $ac_compile) 2>conftest.er1
20979 ac_status=$?
20980 grep -v '^ *+' conftest.er1 >conftest.err
20981 rm -f conftest.er1
20982 cat conftest.err >&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try='test -z "$ac_c_werror_flag"
20986 || test ! -s conftest.err'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; } &&
20992 { ac_try='test -s conftest.$ac_objext'
20993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994 (eval $ac_try) 2>&5
20995 ac_status=$?
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); }; }; then
20998 ac_header_compiler=yes
20999 else
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.$ac_ext >&5
21002
21003 ac_header_compiler=no
21004 fi
21005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21007 echo "${ECHO_T}$ac_header_compiler" >&6
21008
21009 # Is the header present?
21010 echo "$as_me:$LINENO: checking expat.h presence" >&5
21011 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 #include <expat.h>
21019 _ACEOF
21020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21022 ac_status=$?
21023 grep -v '^ *+' conftest.er1 >conftest.err
21024 rm -f conftest.er1
21025 cat conftest.err >&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } >/dev/null; then
21028 if test -s conftest.err; then
21029 ac_cpp_err=$ac_c_preproc_warn_flag
21030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21031 else
21032 ac_cpp_err=
21033 fi
21034 else
21035 ac_cpp_err=yes
21036 fi
21037 if test -z "$ac_cpp_err"; then
21038 ac_header_preproc=yes
21039 else
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21042
21043 ac_header_preproc=no
21044 fi
21045 rm -f conftest.err conftest.$ac_ext
21046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21047 echo "${ECHO_T}$ac_header_preproc" >&6
21048
21049 # So? What about this header?
21050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21051 yes:no: )
21052 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21053 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21054 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21055 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21056 ac_header_preproc=yes
21057 ;;
21058 no:yes:* )
21059 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21060 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21061 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21062 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21063 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21064 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21065 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21066 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21067 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21068 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21069 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21070 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21071 (
21072 cat <<\_ASBOX
21073 ## ----------------------------------------- ##
21074 ## Report this to wx-dev@lists.wxwindows.org ##
21075 ## ----------------------------------------- ##
21076 _ASBOX
21077 ) |
21078 sed "s/^/$as_me: WARNING: /" >&2
21079 ;;
21080 esac
21081 echo "$as_me:$LINENO: checking for expat.h" >&5
21082 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21083 if test "${ac_cv_header_expat_h+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21085 else
21086 ac_cv_header_expat_h=$ac_header_preproc
21087 fi
21088 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21089 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21090
21091 fi
21092 if test $ac_cv_header_expat_h = yes; then
21093 found_expat_h=1
21094 fi
21095
21096
21097 if test "x$found_expat_h" = "x1"; then
21098 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21099 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21100 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 else
21103
21104
21105
21106 ac_ext=cc
21107 ac_cpp='$CXXCPP $CPPFLAGS'
21108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21111
21112 cat >conftest.$ac_ext <<_ACEOF
21113 /* confdefs.h. */
21114 _ACEOF
21115 cat confdefs.h >>conftest.$ac_ext
21116 cat >>conftest.$ac_ext <<_ACEOF
21117 /* end confdefs.h. */
21118 #include <expat.h>
21119 int
21120 main ()
21121 {
21122
21123 ;
21124 return 0;
21125 }
21126 _ACEOF
21127 rm -f conftest.$ac_objext
21128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21129 (eval $ac_compile) 2>conftest.er1
21130 ac_status=$?
21131 grep -v '^ *+' conftest.er1 >conftest.err
21132 rm -f conftest.er1
21133 cat conftest.err >&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } &&
21136 { ac_try='test -z "$ac_cxx_werror_flag"
21137 || test ! -s conftest.err'
21138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21139 (eval $ac_try) 2>&5
21140 ac_status=$?
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; } &&
21143 { ac_try='test -s conftest.$ac_objext'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; }; then
21149 wx_cv_expat_is_not_broken=yes
21150 else
21151 echo "$as_me: failed program was:" >&5
21152 sed 's/^/| /' conftest.$ac_ext >&5
21153
21154 wx_cv_expat_is_not_broken=no
21155
21156 fi
21157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21158 ac_ext=c
21159 ac_cpp='$CPP $CPPFLAGS'
21160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21163
21164
21165
21166 fi
21167 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21168 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21169 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21170 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21171 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21172 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 else
21175 ac_check_lib_save_LIBS=$LIBS
21176 LIBS="-lexpat $LIBS"
21177 cat >conftest.$ac_ext <<_ACEOF
21178 /* confdefs.h. */
21179 _ACEOF
21180 cat confdefs.h >>conftest.$ac_ext
21181 cat >>conftest.$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183
21184 /* Override any gcc2 internal prototype to avoid an error. */
21185 #ifdef __cplusplus
21186 extern "C"
21187 #endif
21188 /* We use char because int might match the return type of a gcc2
21189 builtin and then its argument prototype would still apply. */
21190 char XML_ParserCreate ();
21191 int
21192 main ()
21193 {
21194 XML_ParserCreate ();
21195 ;
21196 return 0;
21197 }
21198 _ACEOF
21199 rm -f conftest.$ac_objext conftest$ac_exeext
21200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21201 (eval $ac_link) 2>conftest.er1
21202 ac_status=$?
21203 grep -v '^ *+' conftest.er1 >conftest.err
21204 rm -f conftest.er1
21205 cat conftest.err >&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); } &&
21208 { ac_try='test -z "$ac_c_werror_flag"
21209 || test ! -s conftest.err'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21212 ac_status=$?
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; } &&
21215 { ac_try='test -s conftest$ac_exeext'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21218 ac_status=$?
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; }; then
21221 ac_cv_lib_expat_XML_ParserCreate=yes
21222 else
21223 echo "$as_me: failed program was:" >&5
21224 sed 's/^/| /' conftest.$ac_ext >&5
21225
21226 ac_cv_lib_expat_XML_ParserCreate=no
21227 fi
21228 rm -f conftest.err conftest.$ac_objext \
21229 conftest$ac_exeext conftest.$ac_ext
21230 LIBS=$ac_check_lib_save_LIBS
21231 fi
21232 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21233 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21234 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21235 EXPAT_LINK=" -lexpat"
21236 fi
21237
21238 fi
21239 fi
21240 if test "x$EXPAT_LINK" = "x" ; then
21241 if test "$wxUSE_EXPAT" = "sys" ; then
21242 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21243 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21244 { (exit 1); exit 1; }; }
21245 else
21246 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21247 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21248 wxUSE_EXPAT=builtin
21249 fi
21250 else
21251 wxUSE_EXPAT=sys
21252 fi
21253 fi
21254 if test "$wxUSE_EXPAT" = "builtin" ; then
21255
21256
21257 subdirs="$subdirs src/expat"
21258
21259 fi
21260 fi
21261
21262
21263
21264 if test "$wxUSE_LIBMSPACK" != "no"; then
21265
21266 if test "${ac_cv_header_mspack_h+set}" = set; then
21267 echo "$as_me:$LINENO: checking for mspack.h" >&5
21268 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21269 if test "${ac_cv_header_mspack_h+set}" = set; then
21270 echo $ECHO_N "(cached) $ECHO_C" >&6
21271 fi
21272 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21273 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21274 else
21275 # Is the header compilable?
21276 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21277 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21278 cat >conftest.$ac_ext <<_ACEOF
21279 /* confdefs.h. */
21280 _ACEOF
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 $ac_includes_default
21285 #include <mspack.h>
21286 _ACEOF
21287 rm -f conftest.$ac_objext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try='test -z "$ac_c_werror_flag"
21297 || test ! -s conftest.err'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21300 ac_status=$?
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; } &&
21303 { ac_try='test -s conftest.$ac_objext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21306 ac_status=$?
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_header_compiler=yes
21310 else
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21313
21314 ac_header_compiler=no
21315 fi
21316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21318 echo "${ECHO_T}$ac_header_compiler" >&6
21319
21320 # Is the header present?
21321 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21322 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21323 cat >conftest.$ac_ext <<_ACEOF
21324 /* confdefs.h. */
21325 _ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 #include <mspack.h>
21330 _ACEOF
21331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21333 ac_status=$?
21334 grep -v '^ *+' conftest.er1 >conftest.err
21335 rm -f conftest.er1
21336 cat conftest.err >&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } >/dev/null; then
21339 if test -s conftest.err; then
21340 ac_cpp_err=$ac_c_preproc_warn_flag
21341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21342 else
21343 ac_cpp_err=
21344 fi
21345 else
21346 ac_cpp_err=yes
21347 fi
21348 if test -z "$ac_cpp_err"; then
21349 ac_header_preproc=yes
21350 else
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21353
21354 ac_header_preproc=no
21355 fi
21356 rm -f conftest.err conftest.$ac_ext
21357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21358 echo "${ECHO_T}$ac_header_preproc" >&6
21359
21360 # So? What about this header?
21361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21362 yes:no: )
21363 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21364 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21365 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21366 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21367 ac_header_preproc=yes
21368 ;;
21369 no:yes:* )
21370 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21371 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21372 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21373 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21374 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21375 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21376 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21377 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21378 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21379 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21380 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21381 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21382 (
21383 cat <<\_ASBOX
21384 ## ----------------------------------------- ##
21385 ## Report this to wx-dev@lists.wxwindows.org ##
21386 ## ----------------------------------------- ##
21387 _ASBOX
21388 ) |
21389 sed "s/^/$as_me: WARNING: /" >&2
21390 ;;
21391 esac
21392 echo "$as_me:$LINENO: checking for mspack.h" >&5
21393 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21394 if test "${ac_cv_header_mspack_h+set}" = set; then
21395 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 else
21397 ac_cv_header_mspack_h=$ac_header_preproc
21398 fi
21399 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21400 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21401
21402 fi
21403 if test $ac_cv_header_mspack_h = yes; then
21404 found_mspack_h=1
21405 fi
21406
21407
21408 if test "x$found_mspack_h" = "x1"; then
21409 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21410 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21411 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 else
21414 ac_check_lib_save_LIBS=$LIBS
21415 LIBS="-lmspack $LIBS"
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422
21423 /* Override any gcc2 internal prototype to avoid an error. */
21424 #ifdef __cplusplus
21425 extern "C"
21426 #endif
21427 /* We use char because int might match the return type of a gcc2
21428 builtin and then its argument prototype would still apply. */
21429 char mspack_create_chm_decompressor ();
21430 int
21431 main ()
21432 {
21433 mspack_create_chm_decompressor ();
21434 ;
21435 return 0;
21436 }
21437 _ACEOF
21438 rm -f conftest.$ac_objext conftest$ac_exeext
21439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21440 (eval $ac_link) 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } &&
21447 { ac_try='test -z "$ac_c_werror_flag"
21448 || test ! -s conftest.err'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; } &&
21454 { ac_try='test -s conftest$ac_exeext'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21457 ac_status=$?
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; }; then
21460 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21461 else
21462 echo "$as_me: failed program was:" >&5
21463 sed 's/^/| /' conftest.$ac_ext >&5
21464
21465 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21466 fi
21467 rm -f conftest.err conftest.$ac_objext \
21468 conftest$ac_exeext conftest.$ac_ext
21469 LIBS=$ac_check_lib_save_LIBS
21470 fi
21471 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21472 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21473 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21474 MSPACK_LINK=" -lmspack"
21475 fi
21476
21477 fi
21478 if test "x$MSPACK_LINK" = "x" ; then
21479 wxUSE_LIBMSPACK=no
21480 else
21481 cat >>confdefs.h <<\_ACEOF
21482 #define wxUSE_LIBMSPACK 1
21483 _ACEOF
21484
21485 fi
21486 fi
21487
21488
21489
21490 AFMINSTALL=
21491 WIN32INSTALL=
21492
21493 TOOLKIT=
21494 TOOLKIT_INCLUDE=
21495 WIDGET_SET=
21496
21497 if test "$USE_WIN32" = 1 ; then
21498
21499 for ac_header in w32api.h
21500 do
21501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21503 echo "$as_me:$LINENO: checking for $ac_header" >&5
21504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21506 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 fi
21508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21510 else
21511 # Is the header compilable?
21512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h. */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 #include <$ac_header>
21522 _ACEOF
21523 rm -f conftest.$ac_objext
21524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21525 (eval $ac_compile) 2>conftest.er1
21526 ac_status=$?
21527 grep -v '^ *+' conftest.er1 >conftest.err
21528 rm -f conftest.er1
21529 cat conftest.err >&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } &&
21532 { ac_try='test -z "$ac_c_werror_flag"
21533 || test ! -s conftest.err'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21536 ac_status=$?
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; } &&
21539 { ac_try='test -s conftest.$ac_objext'
21540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21541 (eval $ac_try) 2>&5
21542 ac_status=$?
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); }; }; then
21545 ac_header_compiler=yes
21546 else
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.$ac_ext >&5
21549
21550 ac_header_compiler=no
21551 fi
21552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21553 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21554 echo "${ECHO_T}$ac_header_compiler" >&6
21555
21556 # Is the header present?
21557 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21558 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21559 cat >conftest.$ac_ext <<_ACEOF
21560 /* confdefs.h. */
21561 _ACEOF
21562 cat confdefs.h >>conftest.$ac_ext
21563 cat >>conftest.$ac_ext <<_ACEOF
21564 /* end confdefs.h. */
21565 #include <$ac_header>
21566 _ACEOF
21567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21569 ac_status=$?
21570 grep -v '^ *+' conftest.er1 >conftest.err
21571 rm -f conftest.er1
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } >/dev/null; then
21575 if test -s conftest.err; then
21576 ac_cpp_err=$ac_c_preproc_warn_flag
21577 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21578 else
21579 ac_cpp_err=
21580 fi
21581 else
21582 ac_cpp_err=yes
21583 fi
21584 if test -z "$ac_cpp_err"; then
21585 ac_header_preproc=yes
21586 else
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 ac_header_preproc=no
21591 fi
21592 rm -f conftest.err conftest.$ac_ext
21593 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21594 echo "${ECHO_T}$ac_header_preproc" >&6
21595
21596 # So? What about this header?
21597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21598 yes:no: )
21599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21603 ac_header_preproc=yes
21604 ;;
21605 no:yes:* )
21606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21618 (
21619 cat <<\_ASBOX
21620 ## ----------------------------------------- ##
21621 ## Report this to wx-dev@lists.wxwindows.org ##
21622 ## ----------------------------------------- ##
21623 _ASBOX
21624 ) |
21625 sed "s/^/$as_me: WARNING: /" >&2
21626 ;;
21627 esac
21628 echo "$as_me:$LINENO: checking for $ac_header" >&5
21629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 else
21633 eval "$as_ac_Header=\$ac_header_preproc"
21634 fi
21635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21636 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21637
21638 fi
21639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21640 cat >>confdefs.h <<_ACEOF
21641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21642 _ACEOF
21643
21644 fi
21645
21646 done
21647
21648 if test "${ac_cv_header_windows_h+set}" = set; then
21649 echo "$as_me:$LINENO: checking for windows.h" >&5
21650 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21651 if test "${ac_cv_header_windows_h+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 fi
21654 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21655 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21656 else
21657 # Is the header compilable?
21658 echo "$as_me:$LINENO: checking windows.h usability" >&5
21659 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21660 cat >conftest.$ac_ext <<_ACEOF
21661 /* confdefs.h. */
21662 _ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 $ac_includes_default
21667 #include <windows.h>
21668 _ACEOF
21669 rm -f conftest.$ac_objext
21670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21671 (eval $ac_compile) 2>conftest.er1
21672 ac_status=$?
21673 grep -v '^ *+' conftest.er1 >conftest.err
21674 rm -f conftest.er1
21675 cat conftest.err >&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } &&
21678 { ac_try='test -z "$ac_c_werror_flag"
21679 || test ! -s conftest.err'
21680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21681 (eval $ac_try) 2>&5
21682 ac_status=$?
21683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21684 (exit $ac_status); }; } &&
21685 { ac_try='test -s conftest.$ac_objext'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21688 ac_status=$?
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; }; then
21691 ac_header_compiler=yes
21692 else
21693 echo "$as_me: failed program was:" >&5
21694 sed 's/^/| /' conftest.$ac_ext >&5
21695
21696 ac_header_compiler=no
21697 fi
21698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21699 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21700 echo "${ECHO_T}$ac_header_compiler" >&6
21701
21702 # Is the header present?
21703 echo "$as_me:$LINENO: checking windows.h presence" >&5
21704 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 #include <windows.h>
21712 _ACEOF
21713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21715 ac_status=$?
21716 grep -v '^ *+' conftest.er1 >conftest.err
21717 rm -f conftest.er1
21718 cat conftest.err >&5
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); } >/dev/null; then
21721 if test -s conftest.err; then
21722 ac_cpp_err=$ac_c_preproc_warn_flag
21723 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21724 else
21725 ac_cpp_err=
21726 fi
21727 else
21728 ac_cpp_err=yes
21729 fi
21730 if test -z "$ac_cpp_err"; then
21731 ac_header_preproc=yes
21732 else
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.$ac_ext >&5
21735
21736 ac_header_preproc=no
21737 fi
21738 rm -f conftest.err conftest.$ac_ext
21739 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21740 echo "${ECHO_T}$ac_header_preproc" >&6
21741
21742 # So? What about this header?
21743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21744 yes:no: )
21745 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21746 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21747 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21748 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21749 ac_header_preproc=yes
21750 ;;
21751 no:yes:* )
21752 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21753 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21754 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21755 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21756 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21757 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21758 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21759 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21760 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21761 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21762 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21763 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21764 (
21765 cat <<\_ASBOX
21766 ## ----------------------------------------- ##
21767 ## Report this to wx-dev@lists.wxwindows.org ##
21768 ## ----------------------------------------- ##
21769 _ASBOX
21770 ) |
21771 sed "s/^/$as_me: WARNING: /" >&2
21772 ;;
21773 esac
21774 echo "$as_me:$LINENO: checking for windows.h" >&5
21775 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21776 if test "${ac_cv_header_windows_h+set}" = set; then
21777 echo $ECHO_N "(cached) $ECHO_C" >&6
21778 else
21779 ac_cv_header_windows_h=$ac_header_preproc
21780 fi
21781 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21782 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21783
21784 fi
21785 if test $ac_cv_header_windows_h = yes; then
21786 :
21787 else
21788
21789 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21790 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21791 { (exit 1); exit 1; }; }
21792
21793 fi
21794
21795
21796
21797 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21798
21799 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21800 LIBS="$LIBS -loleacc"
21801 fi
21802
21803 case "${host}" in
21804 *-*-cygwin* )
21805 LIBS="$LIBS -lkernel32 -luser32"
21806 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21807 esac
21808
21809 if test "$wxUSE_ODBC" = "sys" ; then
21810 wxUSE_ODBC = "yes"
21811 fi
21812 if test "$wxUSE_ODBC" = "yes" ; then
21813 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21814 cat >>confdefs.h <<\_ACEOF
21815 #define wxUSE_ODBC 1
21816 _ACEOF
21817
21818 fi
21819
21820 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21821 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21822
21823 WIN32INSTALL=win32install
21824 fi
21825
21826 if test "$wxUSE_GUI" = "yes"; then
21827 USE_GUI=1
21828
21829 GUI_TK_LIBRARY=
21830
21831 WXGTK12=
21832 WXGTK127=
21833 WXGTK20=
21834 WXGPE=
21835
21836 if test "$wxUSE_MSW" = 1 ; then
21837 TOOLKIT=MSW
21838 GUIDIST=MSW_DIST
21839
21840 case "${host}" in
21841 *-*-mingw32* )
21842 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21843 esac
21844 fi
21845
21846 if test "$wxUSE_GTK" = 1; then
21847 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21848 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21849
21850 gtk_version_cached=1
21851 if test "${wx_cv_lib_gtk+set}" = set; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6
21853 else
21854
21855 gtk_version_cached=0
21856 echo "$as_me:$LINENO: result: " >&5
21857 echo "${ECHO_T}" >&6
21858
21859 GTK_MODULES=
21860 if test "$wxUSE_THREADS" = "yes"; then
21861 GTK_MODULES=gthread
21862 fi
21863
21864 wx_cv_lib_gtk=
21865 if test "x$wxUSE_GTK2" = "xyes"; then
21866 # Check whether --enable-gtktest or --disable-gtktest was given.
21867 if test "${enable_gtktest+set}" = set; then
21868 enableval="$enable_gtktest"
21869
21870 else
21871 enable_gtktest=yes
21872 fi;
21873
21874 pkg_config_args=gtk+-2.0
21875 for module in . $GTK_MODULES
21876 do
21877 case "$module" in
21878 gthread)
21879 pkg_config_args="$pkg_config_args gthread-2.0"
21880 ;;
21881 esac
21882 done
21883
21884 no_gtk=""
21885
21886 # Extract the first word of "pkg-config", so it can be a program name with args.
21887 set dummy pkg-config; ac_word=$2
21888 echo "$as_me:$LINENO: checking for $ac_word" >&5
21889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21890 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893 case $PKG_CONFIG in
21894 [\\/]* | ?:[\\/]*)
21895 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21896 ;;
21897 *)
21898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21899 for as_dir in $PATH
21900 do
21901 IFS=$as_save_IFS
21902 test -z "$as_dir" && as_dir=.
21903 for ac_exec_ext in '' $ac_executable_extensions; do
21904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21905 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21907 break 2
21908 fi
21909 done
21910 done
21911
21912 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21913 ;;
21914 esac
21915 fi
21916 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21917
21918 if test -n "$PKG_CONFIG"; then
21919 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21920 echo "${ECHO_T}$PKG_CONFIG" >&6
21921 else
21922 echo "$as_me:$LINENO: result: no" >&5
21923 echo "${ECHO_T}no" >&6
21924 fi
21925
21926
21927 if test x$PKG_CONFIG != xno ; then
21928 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21929 :
21930 else
21931 echo *** pkg-config too old; version 0.7 or better required.
21932 no_gtk=yes
21933 PKG_CONFIG=no
21934 fi
21935 else
21936 no_gtk=yes
21937 fi
21938
21939 min_gtk_version=2.0.0
21940 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21941 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21942
21943 if test x$PKG_CONFIG != xno ; then
21944 ## don't try to run the test against uninstalled libtool libs
21945 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21946 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21947 enable_gtktest=no
21948 fi
21949
21950 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21951 :
21952 else
21953 no_gtk=yes
21954 fi
21955 fi
21956
21957 if test x"$no_gtk" = x ; then
21958 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21959 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21960 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21962 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21964 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21966 if test "x$enable_gtktest" = "xyes" ; then
21967 ac_save_CFLAGS="$CFLAGS"
21968 ac_save_LIBS="$LIBS"
21969 CFLAGS="$CFLAGS $GTK_CFLAGS"
21970 LIBS="$GTK_LIBS $LIBS"
21971 rm -f conf.gtktest
21972 if test "$cross_compiling" = yes; then
21973 echo $ac_n "cross compiling; assumed OK... $ac_c"
21974 else
21975 cat >conftest.$ac_ext <<_ACEOF
21976 /* confdefs.h. */
21977 _ACEOF
21978 cat confdefs.h >>conftest.$ac_ext
21979 cat >>conftest.$ac_ext <<_ACEOF
21980 /* end confdefs.h. */
21981
21982 #include <gtk/gtk.h>
21983 #include <stdio.h>
21984 #include <stdlib.h>
21985
21986 int
21987 main ()
21988 {
21989 int major, minor, micro;
21990 char *tmp_version;
21991
21992 system ("touch conf.gtktest");
21993
21994 /* HP/UX 9 (%@#!) writes to sscanf strings */
21995 tmp_version = g_strdup("$min_gtk_version");
21996 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21997 printf("%s, bad version string\n", "$min_gtk_version");
21998 exit(1);
21999 }
22000
22001 if ((gtk_major_version != $gtk_config_major_version) ||
22002 (gtk_minor_version != $gtk_config_minor_version) ||
22003 (gtk_micro_version != $gtk_config_micro_version))
22004 {
22005 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22006 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22007 gtk_major_version, gtk_minor_version, gtk_micro_version);
22008 printf ("*** was found! If pkg-config was correct, then it is best\n");
22009 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22010 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22011 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22012 printf("*** required on your system.\n");
22013 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22014 printf("*** to point to the correct configuration files\n");
22015 }
22016 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22017 (gtk_minor_version != GTK_MINOR_VERSION) ||
22018 (gtk_micro_version != GTK_MICRO_VERSION))
22019 {
22020 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22021 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22022 printf("*** library (version %d.%d.%d)\n",
22023 gtk_major_version, gtk_minor_version, gtk_micro_version);
22024 }
22025 else
22026 {
22027 if ((gtk_major_version > major) ||
22028 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22029 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22030 {
22031 return 0;
22032 }
22033 else
22034 {
22035 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22036 gtk_major_version, gtk_minor_version, gtk_micro_version);
22037 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22038 major, minor, micro);
22039 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22040 printf("***\n");
22041 printf("*** If you have already installed a sufficiently new version, this error\n");
22042 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22043 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22044 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22045 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22046 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22047 printf("*** so that the correct libraries are found at run-time))\n");
22048 }
22049 }
22050 return 1;
22051 }
22052
22053 _ACEOF
22054 rm -f conftest$ac_exeext
22055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22056 (eval $ac_link) 2>&5
22057 ac_status=$?
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22065 :
22066 else
22067 echo "$as_me: program exited with status $ac_status" >&5
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22070
22071 ( exit $ac_status )
22072 no_gtk=yes
22073 fi
22074 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22075 fi
22076 CFLAGS="$ac_save_CFLAGS"
22077 LIBS="$ac_save_LIBS"
22078 fi
22079 fi
22080 if test "x$no_gtk" = x ; then
22081 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22082 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22083 wx_cv_lib_gtk=2.0
22084 else
22085 echo "$as_me:$LINENO: result: no" >&5
22086 echo "${ECHO_T}no" >&6
22087 if test "$PKG_CONFIG" = "no" ; then
22088 echo "*** A new enough version of pkg-config was not found."
22089 echo "*** See http://pkgconfig.sourceforge.net"
22090 else
22091 if test -f conf.gtktest ; then
22092 :
22093 else
22094 echo "*** Could not run GTK+ test program, checking why..."
22095 ac_save_CFLAGS="$CFLAGS"
22096 ac_save_LIBS="$LIBS"
22097 CFLAGS="$CFLAGS $GTK_CFLAGS"
22098 LIBS="$LIBS $GTK_LIBS"
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105
22106 #include <gtk/gtk.h>
22107 #include <stdio.h>
22108
22109 int
22110 main ()
22111 {
22112 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22113 ;
22114 return 0;
22115 }
22116 _ACEOF
22117 rm -f conftest.$ac_objext conftest$ac_exeext
22118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22119 (eval $ac_link) 2>conftest.er1
22120 ac_status=$?
22121 grep -v '^ *+' conftest.er1 >conftest.err
22122 rm -f conftest.er1
22123 cat conftest.err >&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } &&
22126 { ac_try='test -z "$ac_c_werror_flag"
22127 || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try='test -s conftest$ac_exeext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 echo "*** The test program compiled, but did not run. This usually means"
22140 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22141 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22142 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22143 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22144 echo "*** is required on your system"
22145 echo "***"
22146 echo "*** If you have an old version installed, it is best to remove it, although"
22147 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22148 else
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 echo "*** The test program failed to compile or link. See the file config.log for the"
22153 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22154 fi
22155 rm -f conftest.err conftest.$ac_objext \
22156 conftest$ac_exeext conftest.$ac_ext
22157 CFLAGS="$ac_save_CFLAGS"
22158 LIBS="$ac_save_LIBS"
22159 fi
22160 fi
22161 GTK_CFLAGS=""
22162 GTK_LIBS=""
22163 :
22164 fi
22165
22166
22167 rm -f conf.gtktest
22168
22169 else
22170
22171 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22172 if test "${with_gtk_prefix+set}" = set; then
22173 withval="$with_gtk_prefix"
22174 gtk_config_prefix="$withval"
22175 else
22176 gtk_config_prefix=""
22177 fi;
22178
22179 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22180 if test "${with_gtk_exec_prefix+set}" = set; then
22181 withval="$with_gtk_exec_prefix"
22182 gtk_config_exec_prefix="$withval"
22183 else
22184 gtk_config_exec_prefix=""
22185 fi;
22186 # Check whether --enable-gtktest or --disable-gtktest was given.
22187 if test "${enable_gtktest+set}" = set; then
22188 enableval="$enable_gtktest"
22189
22190 else
22191 enable_gtktest=yes
22192 fi;
22193
22194 for module in . $GTK_MODULES
22195 do
22196 case "$module" in
22197 gthread)
22198 gtk_config_args="$gtk_config_args gthread"
22199 ;;
22200 esac
22201 done
22202
22203 if test x$gtk_config_exec_prefix != x ; then
22204 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22205 if test x${GTK_CONFIG+set} != xset ; then
22206 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22207 fi
22208 fi
22209 if test x$gtk_config_prefix != x ; then
22210 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22211 if test x${GTK_CONFIG+set} != xset ; then
22212 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22213 fi
22214 fi
22215
22216 # Extract the first word of "gtk-config", so it can be a program name with args.
22217 set dummy gtk-config; ac_word=$2
22218 echo "$as_me:$LINENO: checking for $ac_word" >&5
22219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22220 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 else
22223 case $GTK_CONFIG in
22224 [\\/]* | ?:[\\/]*)
22225 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22226 ;;
22227 *)
22228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22229 for as_dir in $PATH
22230 do
22231 IFS=$as_save_IFS
22232 test -z "$as_dir" && as_dir=.
22233 for ac_exec_ext in '' $ac_executable_extensions; do
22234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22235 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22237 break 2
22238 fi
22239 done
22240 done
22241
22242 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22243 ;;
22244 esac
22245 fi
22246 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22247
22248 if test -n "$GTK_CONFIG"; then
22249 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22250 echo "${ECHO_T}$GTK_CONFIG" >&6
22251 else
22252 echo "$as_me:$LINENO: result: no" >&5
22253 echo "${ECHO_T}no" >&6
22254 fi
22255
22256 min_gtk_version=1.2.7
22257 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22258 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22259 no_gtk=""
22260 if test "$GTK_CONFIG" = "no" ; then
22261 no_gtk=yes
22262 else
22263 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22264 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22265 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22266 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22267 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22268 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22269 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22270 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22271 if test "x$enable_gtktest" = "xyes" ; then
22272 ac_save_CFLAGS="$CFLAGS"
22273 ac_save_LIBS="$LIBS"
22274 CFLAGS="$CFLAGS $GTK_CFLAGS"
22275 LIBS="$GTK_LIBS $LIBS"
22276 rm -f conf.gtktest
22277 if test "$cross_compiling" = yes; then
22278 echo $ac_n "cross compiling; assumed OK... $ac_c"
22279 else
22280 cat >conftest.$ac_ext <<_ACEOF
22281 /* confdefs.h. */
22282 _ACEOF
22283 cat confdefs.h >>conftest.$ac_ext
22284 cat >>conftest.$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22286
22287 #include <gtk/gtk.h>
22288 #include <stdio.h>
22289 #include <stdlib.h>
22290
22291 int
22292 main ()
22293 {
22294 int major, minor, micro;
22295 char *tmp_version;
22296
22297 system ("touch conf.gtktest");
22298
22299 /* HP/UX 9 (%@#!) writes to sscanf strings */
22300 tmp_version = g_strdup("$min_gtk_version");
22301 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22302 printf("%s, bad version string\n", "$min_gtk_version");
22303 exit(1);
22304 }
22305
22306 if ((gtk_major_version != $gtk_config_major_version) ||
22307 (gtk_minor_version != $gtk_config_minor_version) ||
22308 (gtk_micro_version != $gtk_config_micro_version))
22309 {
22310 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22311 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22312 gtk_major_version, gtk_minor_version, gtk_micro_version);
22313 printf ("*** was found! If gtk-config was correct, then it is best\n");
22314 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22315 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22316 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22317 printf("*** required on your system.\n");
22318 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22319 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22320 printf("*** before re-running configure\n");
22321 }
22322 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22323 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22324 (gtk_minor_version != GTK_MINOR_VERSION) ||
22325 (gtk_micro_version != GTK_MICRO_VERSION))
22326 {
22327 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22328 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22329 printf("*** library (version %d.%d.%d)\n",
22330 gtk_major_version, gtk_minor_version, gtk_micro_version);
22331 }
22332 #endif /* defined (GTK_MAJOR_VERSION) ... */
22333 else
22334 {
22335 if ((gtk_major_version > major) ||
22336 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22337 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22338 {
22339 return 0;
22340 }
22341 else
22342 {
22343 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22344 gtk_major_version, gtk_minor_version, gtk_micro_version);
22345 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22346 major, minor, micro);
22347 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22348 printf("***\n");
22349 printf("*** If you have already installed a sufficiently new version, this error\n");
22350 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22351 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22352 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22353 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22354 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22355 printf("*** so that the correct libraries are found at run-time))\n");
22356 }
22357 }
22358 return 1;
22359 }
22360
22361 _ACEOF
22362 rm -f conftest$ac_exeext
22363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22364 (eval $ac_link) 2>&5
22365 ac_status=$?
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22369 (eval $ac_try) 2>&5
22370 ac_status=$?
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); }; }; then
22373 :
22374 else
22375 echo "$as_me: program exited with status $ac_status" >&5
22376 echo "$as_me: failed program was:" >&5
22377 sed 's/^/| /' conftest.$ac_ext >&5
22378
22379 ( exit $ac_status )
22380 no_gtk=yes
22381 fi
22382 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22383 fi
22384 CFLAGS="$ac_save_CFLAGS"
22385 LIBS="$ac_save_LIBS"
22386 fi
22387 fi
22388 if test "x$no_gtk" = x ; then
22389 echo "$as_me:$LINENO: result: yes" >&5
22390 echo "${ECHO_T}yes" >&6
22391 wx_cv_lib_gtk=1.2.7
22392 else
22393 echo "$as_me:$LINENO: result: no" >&5
22394 echo "${ECHO_T}no" >&6
22395 if test "$GTK_CONFIG" = "no" ; then
22396 echo "*** The gtk-config script installed by GTK could not be found"
22397 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22398 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22399 echo "*** full path to gtk-config."
22400 else
22401 if test -f conf.gtktest ; then
22402 :
22403 else
22404 echo "*** Could not run GTK test program, checking why..."
22405 CFLAGS="$CFLAGS $GTK_CFLAGS"
22406 LIBS="$LIBS $GTK_LIBS"
22407 cat >conftest.$ac_ext <<_ACEOF
22408 /* confdefs.h. */
22409 _ACEOF
22410 cat confdefs.h >>conftest.$ac_ext
22411 cat >>conftest.$ac_ext <<_ACEOF
22412 /* end confdefs.h. */
22413
22414 #include <gtk/gtk.h>
22415 #include <stdio.h>
22416
22417 int
22418 main ()
22419 {
22420 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22421 ;
22422 return 0;
22423 }
22424 _ACEOF
22425 rm -f conftest.$ac_objext conftest$ac_exeext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22427 (eval $ac_link) 2>conftest.er1
22428 ac_status=$?
22429 grep -v '^ *+' conftest.er1 >conftest.err
22430 rm -f conftest.er1
22431 cat conftest.err >&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try='test -z "$ac_c_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try='test -s conftest$ac_exeext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22444 ac_status=$?
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 echo "*** The test program compiled, but did not run. This usually means"
22448 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22449 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22450 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22451 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22452 echo "*** is required on your system"
22453 echo "***"
22454 echo "*** If you have an old version installed, it is best to remove it, although"
22455 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22456 echo "***"
22457 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22458 echo "*** came with the system with the command"
22459 echo "***"
22460 echo "*** rpm --erase --nodeps gtk gtk-devel"
22461 else
22462 echo "$as_me: failed program was:" >&5
22463 sed 's/^/| /' conftest.$ac_ext >&5
22464
22465 echo "*** The test program failed to compile or link. See the file config.log for the"
22466 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22467 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22468 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22469 fi
22470 rm -f conftest.err conftest.$ac_objext \
22471 conftest$ac_exeext conftest.$ac_ext
22472 CFLAGS="$ac_save_CFLAGS"
22473 LIBS="$ac_save_LIBS"
22474 fi
22475 fi
22476 GTK_CFLAGS=""
22477 GTK_LIBS=""
22478 :
22479 fi
22480
22481
22482 rm -f conf.gtktest
22483
22484
22485 if test -z "$wx_cv_lib_gtk"; then
22486
22487 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22488 if test "${with_gtk_prefix+set}" = set; then
22489 withval="$with_gtk_prefix"
22490 gtk_config_prefix="$withval"
22491 else
22492 gtk_config_prefix=""
22493 fi;
22494
22495 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22496 if test "${with_gtk_exec_prefix+set}" = set; then
22497 withval="$with_gtk_exec_prefix"
22498 gtk_config_exec_prefix="$withval"
22499 else
22500 gtk_config_exec_prefix=""
22501 fi;
22502 # Check whether --enable-gtktest or --disable-gtktest was given.
22503 if test "${enable_gtktest+set}" = set; then
22504 enableval="$enable_gtktest"
22505
22506 else
22507 enable_gtktest=yes
22508 fi;
22509
22510 for module in . $GTK_MODULES
22511 do
22512 case "$module" in
22513 gthread)
22514 gtk_config_args="$gtk_config_args gthread"
22515 ;;
22516 esac
22517 done
22518
22519 if test x$gtk_config_exec_prefix != x ; then
22520 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22521 if test x${GTK_CONFIG+set} != xset ; then
22522 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22523 fi
22524 fi
22525 if test x$gtk_config_prefix != x ; then
22526 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22527 if test x${GTK_CONFIG+set} != xset ; then
22528 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22529 fi
22530 fi
22531
22532 # Extract the first word of "gtk-config", so it can be a program name with args.
22533 set dummy gtk-config; ac_word=$2
22534 echo "$as_me:$LINENO: checking for $ac_word" >&5
22535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22536 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22537 echo $ECHO_N "(cached) $ECHO_C" >&6
22538 else
22539 case $GTK_CONFIG in
22540 [\\/]* | ?:[\\/]*)
22541 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22542 ;;
22543 *)
22544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22545 for as_dir in $PATH
22546 do
22547 IFS=$as_save_IFS
22548 test -z "$as_dir" && as_dir=.
22549 for ac_exec_ext in '' $ac_executable_extensions; do
22550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22551 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22553 break 2
22554 fi
22555 done
22556 done
22557
22558 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22559 ;;
22560 esac
22561 fi
22562 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22563
22564 if test -n "$GTK_CONFIG"; then
22565 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22566 echo "${ECHO_T}$GTK_CONFIG" >&6
22567 else
22568 echo "$as_me:$LINENO: result: no" >&5
22569 echo "${ECHO_T}no" >&6
22570 fi
22571
22572 min_gtk_version=1.2.3
22573 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22574 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22575 no_gtk=""
22576 if test "$GTK_CONFIG" = "no" ; then
22577 no_gtk=yes
22578 else
22579 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22580 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22581 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22582 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22583 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22585 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22587 if test "x$enable_gtktest" = "xyes" ; then
22588 ac_save_CFLAGS="$CFLAGS"
22589 ac_save_LIBS="$LIBS"
22590 CFLAGS="$CFLAGS $GTK_CFLAGS"
22591 LIBS="$GTK_LIBS $LIBS"
22592 rm -f conf.gtktest
22593 if test "$cross_compiling" = yes; then
22594 echo $ac_n "cross compiling; assumed OK... $ac_c"
22595 else
22596 cat >conftest.$ac_ext <<_ACEOF
22597 /* confdefs.h. */
22598 _ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602
22603 #include <gtk/gtk.h>
22604 #include <stdio.h>
22605 #include <stdlib.h>
22606
22607 int
22608 main ()
22609 {
22610 int major, minor, micro;
22611 char *tmp_version;
22612
22613 system ("touch conf.gtktest");
22614
22615 /* HP/UX 9 (%@#!) writes to sscanf strings */
22616 tmp_version = g_strdup("$min_gtk_version");
22617 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22618 printf("%s, bad version string\n", "$min_gtk_version");
22619 exit(1);
22620 }
22621
22622 if ((gtk_major_version != $gtk_config_major_version) ||
22623 (gtk_minor_version != $gtk_config_minor_version) ||
22624 (gtk_micro_version != $gtk_config_micro_version))
22625 {
22626 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22627 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22628 gtk_major_version, gtk_minor_version, gtk_micro_version);
22629 printf ("*** was found! If gtk-config was correct, then it is best\n");
22630 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22631 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22632 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22633 printf("*** required on your system.\n");
22634 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22635 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22636 printf("*** before re-running configure\n");
22637 }
22638 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22639 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22640 (gtk_minor_version != GTK_MINOR_VERSION) ||
22641 (gtk_micro_version != GTK_MICRO_VERSION))
22642 {
22643 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22644 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22645 printf("*** library (version %d.%d.%d)\n",
22646 gtk_major_version, gtk_minor_version, gtk_micro_version);
22647 }
22648 #endif /* defined (GTK_MAJOR_VERSION) ... */
22649 else
22650 {
22651 if ((gtk_major_version > major) ||
22652 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22653 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22654 {
22655 return 0;
22656 }
22657 else
22658 {
22659 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22660 gtk_major_version, gtk_minor_version, gtk_micro_version);
22661 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22662 major, minor, micro);
22663 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22664 printf("***\n");
22665 printf("*** If you have already installed a sufficiently new version, this error\n");
22666 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22667 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22668 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22669 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22670 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22671 printf("*** so that the correct libraries are found at run-time))\n");
22672 }
22673 }
22674 return 1;
22675 }
22676
22677 _ACEOF
22678 rm -f conftest$ac_exeext
22679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22680 (eval $ac_link) 2>&5
22681 ac_status=$?
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22685 (eval $ac_try) 2>&5
22686 ac_status=$?
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; }; then
22689 :
22690 else
22691 echo "$as_me: program exited with status $ac_status" >&5
22692 echo "$as_me: failed program was:" >&5
22693 sed 's/^/| /' conftest.$ac_ext >&5
22694
22695 ( exit $ac_status )
22696 no_gtk=yes
22697 fi
22698 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22699 fi
22700 CFLAGS="$ac_save_CFLAGS"
22701 LIBS="$ac_save_LIBS"
22702 fi
22703 fi
22704 if test "x$no_gtk" = x ; then
22705 echo "$as_me:$LINENO: result: yes" >&5
22706 echo "${ECHO_T}yes" >&6
22707 wx_cv_lib_gtk=1.2.3
22708 else
22709 echo "$as_me:$LINENO: result: no" >&5
22710 echo "${ECHO_T}no" >&6
22711 if test "$GTK_CONFIG" = "no" ; then
22712 echo "*** The gtk-config script installed by GTK could not be found"
22713 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22714 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22715 echo "*** full path to gtk-config."
22716 else
22717 if test -f conf.gtktest ; then
22718 :
22719 else
22720 echo "*** Could not run GTK test program, checking why..."
22721 CFLAGS="$CFLAGS $GTK_CFLAGS"
22722 LIBS="$LIBS $GTK_LIBS"
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729
22730 #include <gtk/gtk.h>
22731 #include <stdio.h>
22732
22733 int
22734 main ()
22735 {
22736 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22737 ;
22738 return 0;
22739 }
22740 _ACEOF
22741 rm -f conftest.$ac_objext conftest$ac_exeext
22742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22743 (eval $ac_link) 2>conftest.er1
22744 ac_status=$?
22745 grep -v '^ *+' conftest.er1 >conftest.err
22746 rm -f conftest.er1
22747 cat conftest.err >&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); } &&
22750 { ac_try='test -z "$ac_c_werror_flag"
22751 || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 echo "*** The test program compiled, but did not run. This usually means"
22764 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22765 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22766 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22767 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22768 echo "*** is required on your system"
22769 echo "***"
22770 echo "*** If you have an old version installed, it is best to remove it, although"
22771 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22772 echo "***"
22773 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22774 echo "*** came with the system with the command"
22775 echo "***"
22776 echo "*** rpm --erase --nodeps gtk gtk-devel"
22777 else
22778 echo "$as_me: failed program was:" >&5
22779 sed 's/^/| /' conftest.$ac_ext >&5
22780
22781 echo "*** The test program failed to compile or link. See the file config.log for the"
22782 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22783 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22784 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22785 fi
22786 rm -f conftest.err conftest.$ac_objext \
22787 conftest$ac_exeext conftest.$ac_ext
22788 CFLAGS="$ac_save_CFLAGS"
22789 LIBS="$ac_save_LIBS"
22790 fi
22791 fi
22792 GTK_CFLAGS=""
22793 GTK_LIBS=""
22794 :
22795 fi
22796
22797
22798 rm -f conf.gtktest
22799
22800 fi
22801 fi
22802
22803 if test -z "$wx_cv_lib_gtk"; then
22804 wx_cv_lib_gtk=none
22805 else
22806 wx_cv_cflags_gtk=$GTK_CFLAGS
22807 wx_cv_libs_gtk=$GTK_LIBS
22808 fi
22809
22810
22811 fi
22812
22813
22814 if test "$gtk_version_cached" = 1; then
22815 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22816 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22817 fi
22818
22819 case "$wx_cv_lib_gtk" in
22820 2.0) WXGTK20=1
22821 TOOLKIT_VERSION=2
22822 ;;
22823 1.2.7) WXGTK127=1
22824 WXGTK12=1
22825 ;;
22826 1.2.3) WXGTK12=1
22827 ;;
22828 *) { { echo "$as_me:$LINENO: error:
22829 Please check that gtk-config is in path, the directory
22830 where GTK+ libraries are installed (returned by
22831 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22832 equivalent variable and GTK+ is version 1.2.3 or above.
22833 " >&5
22834 echo "$as_me: error:
22835 Please check that gtk-config is in path, the directory
22836 where GTK+ libraries are installed (returned by
22837 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22838 equivalent variable and GTK+ is version 1.2.3 or above.
22839 " >&2;}
22840 { (exit 1); exit 1; }; }
22841 ;;
22842 esac
22843
22844 if test "$WXGTK20" = 1; then
22845 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22846
22847 succeeded=no
22848
22849 if test -z "$PKG_CONFIG"; then
22850 # Extract the first word of "pkg-config", so it can be a program name with args.
22851 set dummy pkg-config; ac_word=$2
22852 echo "$as_me:$LINENO: checking for $ac_word" >&5
22853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22854 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22856 else
22857 case $PKG_CONFIG in
22858 [\\/]* | ?:[\\/]*)
22859 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22860 ;;
22861 *)
22862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22863 for as_dir in $PATH
22864 do
22865 IFS=$as_save_IFS
22866 test -z "$as_dir" && as_dir=.
22867 for ac_exec_ext in '' $ac_executable_extensions; do
22868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22869 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22871 break 2
22872 fi
22873 done
22874 done
22875
22876 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22877 ;;
22878 esac
22879 fi
22880 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22881
22882 if test -n "$PKG_CONFIG"; then
22883 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22884 echo "${ECHO_T}$PKG_CONFIG" >&6
22885 else
22886 echo "$as_me:$LINENO: result: no" >&5
22887 echo "${ECHO_T}no" >&6
22888 fi
22889
22890 fi
22891
22892 if test "$PKG_CONFIG" = "no" ; then
22893 echo "*** The pkg-config script could not be found. Make sure it is"
22894 echo "*** in your path, or set the PKG_CONFIG environment variable"
22895 echo "*** to the full path to pkg-config."
22896 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22897 else
22898 PKG_CONFIG_MIN_VERSION=0.9.0
22899 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22900 echo "$as_me:$LINENO: checking for pangoft2" >&5
22901 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22902
22903 if $PKG_CONFIG --exists "pangoft2" ; then
22904 echo "$as_me:$LINENO: result: yes" >&5
22905 echo "${ECHO_T}yes" >&6
22906 succeeded=yes
22907
22908 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22909 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22910 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22911 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22912 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22913
22914 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22915 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22916 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22917 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22918 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22919 else
22920 PANGOFT2_CFLAGS=""
22921 PANGOFT2_LIBS=""
22922 ## If we have a custom action on failure, don't print errors, but
22923 ## do set a variable so people can do so.
22924 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22925
22926 fi
22927
22928
22929
22930 else
22931 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22932 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22933 fi
22934 fi
22935
22936 if test $succeeded = yes; then
22937
22938 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22939 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22940
22941 else
22942
22943 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22944 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22945 wxUSE_PRINTING_ARCHITECTURE="no"
22946
22947
22948 fi
22949
22950 fi
22951 else
22952 if test "$wxUSE_UNICODE" = "yes"; then
22953 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22954 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22955 wxUSE_UNICODE=no
22956 fi
22957 fi
22958
22959 if test "$USE_DARWIN" != 1; then
22960
22961 for ac_func in poll
22962 do
22963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22964 echo "$as_me:$LINENO: checking for $ac_func" >&5
22965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22966 if eval "test \"\${$as_ac_var+set}\" = set"; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22968 else
22969 cat >conftest.$ac_ext <<_ACEOF
22970 /* confdefs.h. */
22971 _ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22977 #define $ac_func innocuous_$ac_func
22978
22979 /* System header to define __stub macros and hopefully few prototypes,
22980 which can conflict with char $ac_func (); below.
22981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982 <limits.h> exists even on freestanding compilers. */
22983
22984 #ifdef __STDC__
22985 # include <limits.h>
22986 #else
22987 # include <assert.h>
22988 #endif
22989
22990 #undef $ac_func
22991
22992 /* Override any gcc2 internal prototype to avoid an error. */
22993 #ifdef __cplusplus
22994 extern "C"
22995 {
22996 #endif
22997 /* We use char because int might match the return type of a gcc2
22998 builtin and then its argument prototype would still apply. */
22999 char $ac_func ();
23000 /* The GNU C library defines this for functions which it implements
23001 to always fail with ENOSYS. Some functions are actually named
23002 something starting with __ and the normal name is an alias. */
23003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23004 choke me
23005 #else
23006 char (*f) () = $ac_func;
23007 #endif
23008 #ifdef __cplusplus
23009 }
23010 #endif
23011
23012 int
23013 main ()
23014 {
23015 return f != $ac_func;
23016 ;
23017 return 0;
23018 }
23019 _ACEOF
23020 rm -f conftest.$ac_objext conftest$ac_exeext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23022 (eval $ac_link) 2>conftest.er1
23023 ac_status=$?
23024 grep -v '^ *+' conftest.er1 >conftest.err
23025 rm -f conftest.er1
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -z "$ac_c_werror_flag"
23030 || test ! -s conftest.err'
23031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23032 (eval $ac_try) 2>&5
23033 ac_status=$?
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); }; } &&
23036 { ac_try='test -s conftest$ac_exeext'
23037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23038 (eval $ac_try) 2>&5
23039 ac_status=$?
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); }; }; then
23042 eval "$as_ac_var=yes"
23043 else
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.$ac_ext >&5
23046
23047 eval "$as_ac_var=no"
23048 fi
23049 rm -f conftest.err conftest.$ac_objext \
23050 conftest$ac_exeext conftest.$ac_ext
23051 fi
23052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23054 if test `eval echo '${'$as_ac_var'}'` = yes; then
23055 cat >>confdefs.h <<_ACEOF
23056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23057 _ACEOF
23058
23059 fi
23060 done
23061
23062 fi
23063
23064 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23065 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23066
23067 AFMINSTALL=afminstall
23068 TOOLKIT=GTK
23069 GUIDIST=GTK_DIST
23070
23071 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
23072 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
23073 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
23074 echo $ECHO_N "(cached) $ECHO_C" >&6
23075 else
23076 ac_check_lib_save_LIBS=$LIBS
23077 LIBS="-lgdk $LIBS"
23078 cat >conftest.$ac_ext <<_ACEOF
23079 /* confdefs.h. */
23080 _ACEOF
23081 cat confdefs.h >>conftest.$ac_ext
23082 cat >>conftest.$ac_ext <<_ACEOF
23083 /* end confdefs.h. */
23084
23085 /* Override any gcc2 internal prototype to avoid an error. */
23086 #ifdef __cplusplus
23087 extern "C"
23088 #endif
23089 /* We use char because int might match the return type of a gcc2
23090 builtin and then its argument prototype would still apply. */
23091 char gdk_im_open ();
23092 int
23093 main ()
23094 {
23095 gdk_im_open ();
23096 ;
23097 return 0;
23098 }
23099 _ACEOF
23100 rm -f conftest.$ac_objext conftest$ac_exeext
23101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23102 (eval $ac_link) 2>conftest.er1
23103 ac_status=$?
23104 grep -v '^ *+' conftest.er1 >conftest.err
23105 rm -f conftest.er1
23106 cat conftest.err >&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); } &&
23109 { ac_try='test -z "$ac_c_werror_flag"
23110 || test ! -s conftest.err'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; } &&
23116 { ac_try='test -s conftest$ac_exeext'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23119 ac_status=$?
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122 ac_cv_lib_gdk_gdk_im_open=yes
23123 else
23124 echo "$as_me: failed program was:" >&5
23125 sed 's/^/| /' conftest.$ac_ext >&5
23126
23127 ac_cv_lib_gdk_gdk_im_open=no
23128 fi
23129 rm -f conftest.err conftest.$ac_objext \
23130 conftest$ac_exeext conftest.$ac_ext
23131 LIBS=$ac_check_lib_save_LIBS
23132 fi
23133 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23134 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23135 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23136 cat >>confdefs.h <<\_ACEOF
23137 #define HAVE_XIM 1
23138 _ACEOF
23139
23140 fi
23141
23142
23143
23144 if test "$wxUSE_GPE" = "yes"; then
23145 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23146 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23147
23148 ac_find_libraries=
23149 for ac_dir in $SEARCH_LIB /usr/lib;
23150 do
23151 for ac_extension in a so sl dylib; do
23152 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23153 ac_find_libraries=$ac_dir
23154 break 2
23155 fi
23156 done
23157 done
23158
23159 if test "$ac_find_libraries" != "" ; then
23160
23161 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23162 result=$?
23163 if test $result = 0; then
23164 ac_path_to_link=""
23165 else
23166 ac_path_to_link=" -L$ac_find_libraries"
23167 fi
23168
23169 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23170 WXGPE=1
23171 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23172 echo "${ECHO_T}found at $ac_find_libraries" >&6
23173 else
23174 echo "$as_me:$LINENO: result: not found" >&5
23175 echo "${ECHO_T}not found" >&6
23176 fi
23177
23178 fi
23179 fi
23180
23181 if test "$wxUSE_MGL" = 1; then
23182 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23183 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23184 if test "x$MGL_ROOT" = x ; then
23185 echo "$as_me:$LINENO: result: not found" >&5
23186 echo "${ECHO_T}not found" >&6
23187 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23188 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23189 { (exit 1); exit 1; }; }
23190 else
23191 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23192 echo "${ECHO_T}$MGL_ROOT" >&6
23193 fi
23194
23195 echo "$as_me:$LINENO: checking for libmgl location" >&5
23196 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23197 case "${host}" in
23198 *-*-linux* )
23199 if test "x$wxUSE_SHARED" = xyes ; then
23200 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23201 else
23202 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23203 fi
23204 ;;
23205 *-pc-msdosdjgpp )
23206 mgl_os_candidates="dos32/dj2"
23207 ;;
23208 *)
23209 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23210 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23211 { (exit 1); exit 1; }; }
23212 esac
23213
23214 mgl_lib_type=""
23215 mgl_os=""
23216
23217 for mgl_os_i in $mgl_os_candidates ; do
23218 if test "x$mgl_os" = x ; then
23219 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23220 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23221 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23222 mgl_lib_type=debug
23223 mgl_os=$mgl_os_i
23224 fi
23225 fi
23226 if test "x$mgl_lib_type" = x ; then
23227 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23228 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23229 mgl_lib_type=release
23230 mgl_os=$mgl_os_i
23231 fi
23232 fi
23233 fi
23234 done
23235
23236 if test "x$mgl_os" = x ; then
23237 echo "$as_me:$LINENO: result: not found" >&5
23238 echo "${ECHO_T}not found" >&6
23239 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23240 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23241 { (exit 1); exit 1; }; }
23242 fi
23243 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23244 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23245
23246 wxUSE_UNIVERSAL="yes"
23247
23248 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23249 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23250
23251 AFMINSTALL=afminstall
23252 TOOLKIT=MGL
23253 GUIDIST=MGL_DIST
23254 fi
23255
23256 if test "$wxUSE_MICROWIN" = 1; then
23257 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23258 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23259 if test "x$MICROWINDOWS" = x ; then
23260 echo "$as_me:$LINENO: result: not found" >&5
23261 echo "${ECHO_T}not found" >&6
23262 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23263 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23264 { (exit 1); exit 1; }; }
23265 else
23266 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23267 echo "${ECHO_T}$MICROWINDOWS" >&6
23268 fi
23269
23270 if test -f $MICROWINDOWS/lib/libmwin.a; then
23271 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23272 echo "${ECHO_T}MicroWindows' libraries found." >&6
23273 else
23274 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23275 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23276 { (exit 1); exit 1; }; }
23277 fi
23278
23279 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23280 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23281
23282 wxUSE_UNIVERSAL="yes"
23283
23284 AFMINSTALL=afminstall
23285 TOOLKIT=MICROWIN
23286 GUIDIST=MICROWIN_DIST
23287
23288 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23289 fi
23290
23291 if test "$wxUSE_X11" = 1; then
23292 echo "$as_me:$LINENO: checking for X" >&5
23293 echo $ECHO_N "checking for X... $ECHO_C" >&6
23294
23295
23296 # Check whether --with-x or --without-x was given.
23297 if test "${with_x+set}" = set; then
23298 withval="$with_x"
23299
23300 fi;
23301 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23302 if test "x$with_x" = xno; then
23303 # The user explicitly disabled X.
23304 have_x=disabled
23305 else
23306 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23307 # Both variables are already set.
23308 have_x=yes
23309 else
23310 if test "${ac_cv_have_x+set}" = set; then
23311 echo $ECHO_N "(cached) $ECHO_C" >&6
23312 else
23313 # One or both of the vars are not set, and there is no cached value.
23314 ac_x_includes=no ac_x_libraries=no
23315 rm -fr conftest.dir
23316 if mkdir conftest.dir; then
23317 cd conftest.dir
23318 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23319 cat >Imakefile <<'_ACEOF'
23320 acfindx:
23321 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23322 _ACEOF
23323 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23324 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23325 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23326 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23327 for ac_extension in a so sl; do
23328 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23329 test -f $ac_im_libdir/libX11.$ac_extension; then
23330 ac_im_usrlibdir=$ac_im_libdir; break
23331 fi
23332 done
23333 # Screen out bogus values from the imake configuration. They are
23334 # bogus both because they are the default anyway, and because
23335 # using them would break gcc on systems where it needs fixed includes.
23336 case $ac_im_incroot in
23337 /usr/include) ;;
23338 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23339 esac
23340 case $ac_im_usrlibdir in
23341 /usr/lib | /lib) ;;
23342 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23343 esac
23344 fi
23345 cd ..
23346 rm -fr conftest.dir
23347 fi
23348
23349 # Standard set of common directories for X headers.
23350 # Check X11 before X11Rn because it is often a symlink to the current release.
23351 ac_x_header_dirs='
23352 /usr/X11/include
23353 /usr/X11R6/include
23354 /usr/X11R5/include
23355 /usr/X11R4/include
23356
23357 /usr/include/X11
23358 /usr/include/X11R6
23359 /usr/include/X11R5
23360 /usr/include/X11R4
23361
23362 /usr/local/X11/include
23363 /usr/local/X11R6/include
23364 /usr/local/X11R5/include
23365 /usr/local/X11R4/include
23366
23367 /usr/local/include/X11
23368 /usr/local/include/X11R6
23369 /usr/local/include/X11R5
23370 /usr/local/include/X11R4
23371
23372 /usr/X386/include
23373 /usr/x386/include
23374 /usr/XFree86/include/X11
23375
23376 /usr/include
23377 /usr/local/include
23378 /usr/unsupported/include
23379 /usr/athena/include
23380 /usr/local/x11r5/include
23381 /usr/lpp/Xamples/include
23382
23383 /usr/openwin/include
23384 /usr/openwin/share/include'
23385
23386 if test "$ac_x_includes" = no; then
23387 # Guess where to find include files, by looking for Intrinsic.h.
23388 # First, try using that file with no special directory specified.
23389 cat >conftest.$ac_ext <<_ACEOF
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 #include <X11/Intrinsic.h>
23396 _ACEOF
23397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } >/dev/null; then
23405 if test -s conftest.err; then
23406 ac_cpp_err=$ac_c_preproc_warn_flag
23407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23408 else
23409 ac_cpp_err=
23410 fi
23411 else
23412 ac_cpp_err=yes
23413 fi
23414 if test -z "$ac_cpp_err"; then
23415 # We can compile using X headers with no special include directory.
23416 ac_x_includes=
23417 else
23418 echo "$as_me: failed program was:" >&5
23419 sed 's/^/| /' conftest.$ac_ext >&5
23420
23421 for ac_dir in $ac_x_header_dirs; do
23422 if test -r "$ac_dir/X11/Intrinsic.h"; then
23423 ac_x_includes=$ac_dir
23424 break
23425 fi
23426 done
23427 fi
23428 rm -f conftest.err conftest.$ac_ext
23429 fi # $ac_x_includes = no
23430
23431 if test "$ac_x_libraries" = no; then
23432 # Check for the libraries.
23433 # See if we find them without any special options.
23434 # Don't add to $LIBS permanently.
23435 ac_save_LIBS=$LIBS
23436 LIBS="-lXt $LIBS"
23437 cat >conftest.$ac_ext <<_ACEOF
23438 /* confdefs.h. */
23439 _ACEOF
23440 cat confdefs.h >>conftest.$ac_ext
23441 cat >>conftest.$ac_ext <<_ACEOF
23442 /* end confdefs.h. */
23443 #include <X11/Intrinsic.h>
23444 int
23445 main ()
23446 {
23447 XtMalloc (0)
23448 ;
23449 return 0;
23450 }
23451 _ACEOF
23452 rm -f conftest.$ac_objext conftest$ac_exeext
23453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23454 (eval $ac_link) 2>conftest.er1
23455 ac_status=$?
23456 grep -v '^ *+' conftest.er1 >conftest.err
23457 rm -f conftest.er1
23458 cat conftest.err >&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try='test -z "$ac_c_werror_flag"
23462 || test ! -s conftest.err'
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23465 ac_status=$?
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; } &&
23468 { ac_try='test -s conftest$ac_exeext'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23471 ac_status=$?
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; }; then
23474 LIBS=$ac_save_LIBS
23475 # We can link X programs with no special library path.
23476 ac_x_libraries=
23477 else
23478 echo "$as_me: failed program was:" >&5
23479 sed 's/^/| /' conftest.$ac_ext >&5
23480
23481 LIBS=$ac_save_LIBS
23482 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23483 do
23484 # Don't even attempt the hair of trying to link an X program!
23485 for ac_extension in a so sl; do
23486 if test -r $ac_dir/libXt.$ac_extension; then
23487 ac_x_libraries=$ac_dir
23488 break 2
23489 fi
23490 done
23491 done
23492 fi
23493 rm -f conftest.err conftest.$ac_objext \
23494 conftest$ac_exeext conftest.$ac_ext
23495 fi # $ac_x_libraries = no
23496
23497 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23498 # Didn't find X anywhere. Cache the known absence of X.
23499 ac_cv_have_x="have_x=no"
23500 else
23501 # Record where we found X for the cache.
23502 ac_cv_have_x="have_x=yes \
23503 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23504 fi
23505 fi
23506
23507 fi
23508 eval "$ac_cv_have_x"
23509 fi # $with_x != no
23510
23511 if test "$have_x" != yes; then
23512 echo "$as_me:$LINENO: result: $have_x" >&5
23513 echo "${ECHO_T}$have_x" >&6
23514 no_x=yes
23515 else
23516 # If each of the values was on the command line, it overrides each guess.
23517 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23518 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23519 # Update the cache value to reflect the command line values.
23520 ac_cv_have_x="have_x=yes \
23521 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23522 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23523 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23524 fi
23525
23526 if test "$no_x" = yes; then
23527 # Not all programs may use this symbol, but it does not hurt to define it.
23528
23529 cat >>confdefs.h <<\_ACEOF
23530 #define X_DISPLAY_MISSING 1
23531 _ACEOF
23532
23533 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23534 else
23535 if test -n "$x_includes"; then
23536 X_CFLAGS="$X_CFLAGS -I$x_includes"
23537 fi
23538
23539 # It would also be nice to do this for all -L options, not just this one.
23540 if test -n "$x_libraries"; then
23541 X_LIBS="$X_LIBS -L$x_libraries"
23542 # For Solaris; some versions of Sun CC require a space after -R and
23543 # others require no space. Words are not sufficient . . . .
23544 case `(uname -sr) 2>/dev/null` in
23545 "SunOS 5"*)
23546 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23547 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23548 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23549 cat >conftest.$ac_ext <<_ACEOF
23550 /* confdefs.h. */
23551 _ACEOF
23552 cat confdefs.h >>conftest.$ac_ext
23553 cat >>conftest.$ac_ext <<_ACEOF
23554 /* end confdefs.h. */
23555
23556 int
23557 main ()
23558 {
23559
23560 ;
23561 return 0;
23562 }
23563 _ACEOF
23564 rm -f conftest.$ac_objext conftest$ac_exeext
23565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23566 (eval $ac_link) 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } &&
23573 { ac_try='test -z "$ac_c_werror_flag"
23574 || test ! -s conftest.err'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; } &&
23580 { ac_try='test -s conftest$ac_exeext'
23581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23582 (eval $ac_try) 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); }; }; then
23586 ac_R_nospace=yes
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591 ac_R_nospace=no
23592 fi
23593 rm -f conftest.err conftest.$ac_objext \
23594 conftest$ac_exeext conftest.$ac_ext
23595 if test $ac_R_nospace = yes; then
23596 echo "$as_me:$LINENO: result: no" >&5
23597 echo "${ECHO_T}no" >&6
23598 X_LIBS="$X_LIBS -R$x_libraries"
23599 else
23600 LIBS="$ac_xsave_LIBS -R $x_libraries"
23601 cat >conftest.$ac_ext <<_ACEOF
23602 /* confdefs.h. */
23603 _ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607
23608 int
23609 main ()
23610 {
23611
23612 ;
23613 return 0;
23614 }
23615 _ACEOF
23616 rm -f conftest.$ac_objext conftest$ac_exeext
23617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23618 (eval $ac_link) 2>conftest.er1
23619 ac_status=$?
23620 grep -v '^ *+' conftest.er1 >conftest.err
23621 rm -f conftest.er1
23622 cat conftest.err >&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try='test -z "$ac_c_werror_flag"
23626 || test ! -s conftest.err'
23627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23628 (eval $ac_try) 2>&5
23629 ac_status=$?
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); }; } &&
23632 { ac_try='test -s conftest$ac_exeext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23635 ac_status=$?
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 ac_R_space=yes
23639 else
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.$ac_ext >&5
23642
23643 ac_R_space=no
23644 fi
23645 rm -f conftest.err conftest.$ac_objext \
23646 conftest$ac_exeext conftest.$ac_ext
23647 if test $ac_R_space = yes; then
23648 echo "$as_me:$LINENO: result: yes" >&5
23649 echo "${ECHO_T}yes" >&6
23650 X_LIBS="$X_LIBS -R $x_libraries"
23651 else
23652 echo "$as_me:$LINENO: result: neither works" >&5
23653 echo "${ECHO_T}neither works" >&6
23654 fi
23655 fi
23656 LIBS=$ac_xsave_LIBS
23657 esac
23658 fi
23659
23660 # Check for system-dependent libraries X programs must link with.
23661 # Do this before checking for the system-independent R6 libraries
23662 # (-lICE), since we may need -lsocket or whatever for X linking.
23663
23664 if test "$ISC" = yes; then
23665 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23666 else
23667 # Martyn Johnson says this is needed for Ultrix, if the X
23668 # libraries were built with DECnet support. And Karl Berry says
23669 # the Alpha needs dnet_stub (dnet does not exist).
23670 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23671 cat >conftest.$ac_ext <<_ACEOF
23672 /* confdefs.h. */
23673 _ACEOF
23674 cat confdefs.h >>conftest.$ac_ext
23675 cat >>conftest.$ac_ext <<_ACEOF
23676 /* end confdefs.h. */
23677
23678 /* Override any gcc2 internal prototype to avoid an error. */
23679 #ifdef __cplusplus
23680 extern "C"
23681 #endif
23682 /* We use char because int might match the return type of a gcc2
23683 builtin and then its argument prototype would still apply. */
23684 char XOpenDisplay ();
23685 int
23686 main ()
23687 {
23688 XOpenDisplay ();
23689 ;
23690 return 0;
23691 }
23692 _ACEOF
23693 rm -f conftest.$ac_objext conftest$ac_exeext
23694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23695 (eval $ac_link) 2>conftest.er1
23696 ac_status=$?
23697 grep -v '^ *+' conftest.er1 >conftest.err
23698 rm -f conftest.er1
23699 cat conftest.err >&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } &&
23702 { ac_try='test -z "$ac_c_werror_flag"
23703 || test ! -s conftest.err'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23706 ac_status=$?
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; } &&
23709 { ac_try='test -s conftest$ac_exeext'
23710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23711 (eval $ac_try) 2>&5
23712 ac_status=$?
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); }; }; then
23715 :
23716 else
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.$ac_ext >&5
23719
23720 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23721 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23722 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 else
23725 ac_check_lib_save_LIBS=$LIBS
23726 LIBS="-ldnet $LIBS"
23727 cat >conftest.$ac_ext <<_ACEOF
23728 /* confdefs.h. */
23729 _ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23733
23734 /* Override any gcc2 internal prototype to avoid an error. */
23735 #ifdef __cplusplus
23736 extern "C"
23737 #endif
23738 /* We use char because int might match the return type of a gcc2
23739 builtin and then its argument prototype would still apply. */
23740 char dnet_ntoa ();
23741 int
23742 main ()
23743 {
23744 dnet_ntoa ();
23745 ;
23746 return 0;
23747 }
23748 _ACEOF
23749 rm -f conftest.$ac_objext conftest$ac_exeext
23750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23751 (eval $ac_link) 2>conftest.er1
23752 ac_status=$?
23753 grep -v '^ *+' conftest.er1 >conftest.err
23754 rm -f conftest.er1
23755 cat conftest.err >&5
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); } &&
23758 { ac_try='test -z "$ac_c_werror_flag"
23759 || test ! -s conftest.err'
23760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23761 (eval $ac_try) 2>&5
23762 ac_status=$?
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); }; } &&
23765 { ac_try='test -s conftest$ac_exeext'
23766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23767 (eval $ac_try) 2>&5
23768 ac_status=$?
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); }; }; then
23771 ac_cv_lib_dnet_dnet_ntoa=yes
23772 else
23773 echo "$as_me: failed program was:" >&5
23774 sed 's/^/| /' conftest.$ac_ext >&5
23775
23776 ac_cv_lib_dnet_dnet_ntoa=no
23777 fi
23778 rm -f conftest.err conftest.$ac_objext \
23779 conftest$ac_exeext conftest.$ac_ext
23780 LIBS=$ac_check_lib_save_LIBS
23781 fi
23782 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23783 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23784 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23785 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23786 fi
23787
23788 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23789 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23790 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23791 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 else
23794 ac_check_lib_save_LIBS=$LIBS
23795 LIBS="-ldnet_stub $LIBS"
23796 cat >conftest.$ac_ext <<_ACEOF
23797 /* confdefs.h. */
23798 _ACEOF
23799 cat confdefs.h >>conftest.$ac_ext
23800 cat >>conftest.$ac_ext <<_ACEOF
23801 /* end confdefs.h. */
23802
23803 /* Override any gcc2 internal prototype to avoid an error. */
23804 #ifdef __cplusplus
23805 extern "C"
23806 #endif
23807 /* We use char because int might match the return type of a gcc2
23808 builtin and then its argument prototype would still apply. */
23809 char dnet_ntoa ();
23810 int
23811 main ()
23812 {
23813 dnet_ntoa ();
23814 ;
23815 return 0;
23816 }
23817 _ACEOF
23818 rm -f conftest.$ac_objext conftest$ac_exeext
23819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23820 (eval $ac_link) 2>conftest.er1
23821 ac_status=$?
23822 grep -v '^ *+' conftest.er1 >conftest.err
23823 rm -f conftest.er1
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } &&
23827 { ac_try='test -z "$ac_c_werror_flag"
23828 || test ! -s conftest.err'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23831 ac_status=$?
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; } &&
23834 { ac_try='test -s conftest$ac_exeext'
23835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23836 (eval $ac_try) 2>&5
23837 ac_status=$?
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); }; }; then
23840 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23841 else
23842 echo "$as_me: failed program was:" >&5
23843 sed 's/^/| /' conftest.$ac_ext >&5
23844
23845 ac_cv_lib_dnet_stub_dnet_ntoa=no
23846 fi
23847 rm -f conftest.err conftest.$ac_objext \
23848 conftest$ac_exeext conftest.$ac_ext
23849 LIBS=$ac_check_lib_save_LIBS
23850 fi
23851 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23852 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23853 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23854 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23855 fi
23856
23857 fi
23858 fi
23859 rm -f conftest.err conftest.$ac_objext \
23860 conftest$ac_exeext conftest.$ac_ext
23861 LIBS="$ac_xsave_LIBS"
23862
23863 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23864 # to get the SysV transport functions.
23865 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23866 # needs -lnsl.
23867 # The nsl library prevents programs from opening the X display
23868 # on Irix 5.2, according to T.E. Dickey.
23869 # The functions gethostbyname, getservbyname, and inet_addr are
23870 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23871 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23872 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23873 if test "${ac_cv_func_gethostbyname+set}" = set; then
23874 echo $ECHO_N "(cached) $ECHO_C" >&6
23875 else
23876 cat >conftest.$ac_ext <<_ACEOF
23877 /* confdefs.h. */
23878 _ACEOF
23879 cat confdefs.h >>conftest.$ac_ext
23880 cat >>conftest.$ac_ext <<_ACEOF
23881 /* end confdefs.h. */
23882 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23884 #define gethostbyname innocuous_gethostbyname
23885
23886 /* System header to define __stub macros and hopefully few prototypes,
23887 which can conflict with char gethostbyname (); below.
23888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23889 <limits.h> exists even on freestanding compilers. */
23890
23891 #ifdef __STDC__
23892 # include <limits.h>
23893 #else
23894 # include <assert.h>
23895 #endif
23896
23897 #undef gethostbyname
23898
23899 /* Override any gcc2 internal prototype to avoid an error. */
23900 #ifdef __cplusplus
23901 extern "C"
23902 {
23903 #endif
23904 /* We use char because int might match the return type of a gcc2
23905 builtin and then its argument prototype would still apply. */
23906 char gethostbyname ();
23907 /* The GNU C library defines this for functions which it implements
23908 to always fail with ENOSYS. Some functions are actually named
23909 something starting with __ and the normal name is an alias. */
23910 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23911 choke me
23912 #else
23913 char (*f) () = gethostbyname;
23914 #endif
23915 #ifdef __cplusplus
23916 }
23917 #endif
23918
23919 int
23920 main ()
23921 {
23922 return f != gethostbyname;
23923 ;
23924 return 0;
23925 }
23926 _ACEOF
23927 rm -f conftest.$ac_objext conftest$ac_exeext
23928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23929 (eval $ac_link) 2>conftest.er1
23930 ac_status=$?
23931 grep -v '^ *+' conftest.er1 >conftest.err
23932 rm -f conftest.er1
23933 cat conftest.err >&5
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); } &&
23936 { ac_try='test -z "$ac_c_werror_flag"
23937 || test ! -s conftest.err'
23938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23939 (eval $ac_try) 2>&5
23940 ac_status=$?
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); }; } &&
23943 { ac_try='test -s conftest$ac_exeext'
23944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23945 (eval $ac_try) 2>&5
23946 ac_status=$?
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); }; }; then
23949 ac_cv_func_gethostbyname=yes
23950 else
23951 echo "$as_me: failed program was:" >&5
23952 sed 's/^/| /' conftest.$ac_ext >&5
23953
23954 ac_cv_func_gethostbyname=no
23955 fi
23956 rm -f conftest.err conftest.$ac_objext \
23957 conftest$ac_exeext conftest.$ac_ext
23958 fi
23959 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23960 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23961
23962 if test $ac_cv_func_gethostbyname = no; then
23963 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23964 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23965 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 else
23968 ac_check_lib_save_LIBS=$LIBS
23969 LIBS="-lnsl $LIBS"
23970 cat >conftest.$ac_ext <<_ACEOF
23971 /* confdefs.h. */
23972 _ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976
23977 /* Override any gcc2 internal prototype to avoid an error. */
23978 #ifdef __cplusplus
23979 extern "C"
23980 #endif
23981 /* We use char because int might match the return type of a gcc2
23982 builtin and then its argument prototype would still apply. */
23983 char gethostbyname ();
23984 int
23985 main ()
23986 {
23987 gethostbyname ();
23988 ;
23989 return 0;
23990 }
23991 _ACEOF
23992 rm -f conftest.$ac_objext conftest$ac_exeext
23993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23994 (eval $ac_link) 2>conftest.er1
23995 ac_status=$?
23996 grep -v '^ *+' conftest.er1 >conftest.err
23997 rm -f conftest.er1
23998 cat conftest.err >&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } &&
24001 { ac_try='test -z "$ac_c_werror_flag"
24002 || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try='test -s conftest$ac_exeext'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; }; then
24014 ac_cv_lib_nsl_gethostbyname=yes
24015 else
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24018
24019 ac_cv_lib_nsl_gethostbyname=no
24020 fi
24021 rm -f conftest.err conftest.$ac_objext \
24022 conftest$ac_exeext conftest.$ac_ext
24023 LIBS=$ac_check_lib_save_LIBS
24024 fi
24025 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24026 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24027 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24029 fi
24030
24031 if test $ac_cv_lib_nsl_gethostbyname = no; then
24032 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24033 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24034 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24035 echo $ECHO_N "(cached) $ECHO_C" >&6
24036 else
24037 ac_check_lib_save_LIBS=$LIBS
24038 LIBS="-lbsd $LIBS"
24039 cat >conftest.$ac_ext <<_ACEOF
24040 /* confdefs.h. */
24041 _ACEOF
24042 cat confdefs.h >>conftest.$ac_ext
24043 cat >>conftest.$ac_ext <<_ACEOF
24044 /* end confdefs.h. */
24045
24046 /* Override any gcc2 internal prototype to avoid an error. */
24047 #ifdef __cplusplus
24048 extern "C"
24049 #endif
24050 /* We use char because int might match the return type of a gcc2
24051 builtin and then its argument prototype would still apply. */
24052 char gethostbyname ();
24053 int
24054 main ()
24055 {
24056 gethostbyname ();
24057 ;
24058 return 0;
24059 }
24060 _ACEOF
24061 rm -f conftest.$ac_objext conftest$ac_exeext
24062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24063 (eval $ac_link) 2>conftest.er1
24064 ac_status=$?
24065 grep -v '^ *+' conftest.er1 >conftest.err
24066 rm -f conftest.er1
24067 cat conftest.err >&5
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); } &&
24070 { ac_try='test -z "$ac_c_werror_flag"
24071 || test ! -s conftest.err'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24074 ac_status=$?
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; } &&
24077 { ac_try='test -s conftest$ac_exeext'
24078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079 (eval $ac_try) 2>&5
24080 ac_status=$?
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); }; }; then
24083 ac_cv_lib_bsd_gethostbyname=yes
24084 else
24085 echo "$as_me: failed program was:" >&5
24086 sed 's/^/| /' conftest.$ac_ext >&5
24087
24088 ac_cv_lib_bsd_gethostbyname=no
24089 fi
24090 rm -f conftest.err conftest.$ac_objext \
24091 conftest$ac_exeext conftest.$ac_ext
24092 LIBS=$ac_check_lib_save_LIBS
24093 fi
24094 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24095 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24096 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24098 fi
24099
24100 fi
24101 fi
24102
24103 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24104 # socket/setsockopt and other routines are undefined under SCO ODT
24105 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24106 # on later versions), says Simon Leinen: it contains gethostby*
24107 # variants that don't use the name server (or something). -lsocket
24108 # must be given before -lnsl if both are needed. We assume that
24109 # if connect needs -lnsl, so does gethostbyname.
24110 echo "$as_me:$LINENO: checking for connect" >&5
24111 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24112 if test "${ac_cv_func_connect+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 else
24115 cat >conftest.$ac_ext <<_ACEOF
24116 /* confdefs.h. */
24117 _ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24123 #define connect innocuous_connect
24124
24125 /* System header to define __stub macros and hopefully few prototypes,
24126 which can conflict with char connect (); below.
24127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24128 <limits.h> exists even on freestanding compilers. */
24129
24130 #ifdef __STDC__
24131 # include <limits.h>
24132 #else
24133 # include <assert.h>
24134 #endif
24135
24136 #undef connect
24137
24138 /* Override any gcc2 internal prototype to avoid an error. */
24139 #ifdef __cplusplus
24140 extern "C"
24141 {
24142 #endif
24143 /* We use char because int might match the return type of a gcc2
24144 builtin and then its argument prototype would still apply. */
24145 char connect ();
24146 /* The GNU C library defines this for functions which it implements
24147 to always fail with ENOSYS. Some functions are actually named
24148 something starting with __ and the normal name is an alias. */
24149 #if defined (__stub_connect) || defined (__stub___connect)
24150 choke me
24151 #else
24152 char (*f) () = connect;
24153 #endif
24154 #ifdef __cplusplus
24155 }
24156 #endif
24157
24158 int
24159 main ()
24160 {
24161 return f != connect;
24162 ;
24163 return 0;
24164 }
24165 _ACEOF
24166 rm -f conftest.$ac_objext conftest$ac_exeext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_c_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try='test -s conftest$ac_exeext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 ac_cv_func_connect=yes
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24192
24193 ac_cv_func_connect=no
24194 fi
24195 rm -f conftest.err conftest.$ac_objext \
24196 conftest$ac_exeext conftest.$ac_ext
24197 fi
24198 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24199 echo "${ECHO_T}$ac_cv_func_connect" >&6
24200
24201 if test $ac_cv_func_connect = no; then
24202 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24203 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24204 if test "${ac_cv_lib_socket_connect+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 else
24207 ac_check_lib_save_LIBS=$LIBS
24208 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24209 cat >conftest.$ac_ext <<_ACEOF
24210 /* confdefs.h. */
24211 _ACEOF
24212 cat confdefs.h >>conftest.$ac_ext
24213 cat >>conftest.$ac_ext <<_ACEOF
24214 /* end confdefs.h. */
24215
24216 /* Override any gcc2 internal prototype to avoid an error. */
24217 #ifdef __cplusplus
24218 extern "C"
24219 #endif
24220 /* We use char because int might match the return type of a gcc2
24221 builtin and then its argument prototype would still apply. */
24222 char connect ();
24223 int
24224 main ()
24225 {
24226 connect ();
24227 ;
24228 return 0;
24229 }
24230 _ACEOF
24231 rm -f conftest.$ac_objext conftest$ac_exeext
24232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24233 (eval $ac_link) 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try='test -z "$ac_c_werror_flag"
24241 || test ! -s conftest.err'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24244 ac_status=$?
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; } &&
24247 { ac_try='test -s conftest$ac_exeext'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24250 ac_status=$?
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; }; then
24253 ac_cv_lib_socket_connect=yes
24254 else
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24257
24258 ac_cv_lib_socket_connect=no
24259 fi
24260 rm -f conftest.err conftest.$ac_objext \
24261 conftest$ac_exeext conftest.$ac_ext
24262 LIBS=$ac_check_lib_save_LIBS
24263 fi
24264 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24265 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24266 if test $ac_cv_lib_socket_connect = yes; then
24267 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24268 fi
24269
24270 fi
24271
24272 # Guillermo Gomez says -lposix is necessary on A/UX.
24273 echo "$as_me:$LINENO: checking for remove" >&5
24274 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24275 if test "${ac_cv_func_remove+set}" = set; then
24276 echo $ECHO_N "(cached) $ECHO_C" >&6
24277 else
24278 cat >conftest.$ac_ext <<_ACEOF
24279 /* confdefs.h. */
24280 _ACEOF
24281 cat confdefs.h >>conftest.$ac_ext
24282 cat >>conftest.$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24284 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24286 #define remove innocuous_remove
24287
24288 /* System header to define __stub macros and hopefully few prototypes,
24289 which can conflict with char remove (); below.
24290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24291 <limits.h> exists even on freestanding compilers. */
24292
24293 #ifdef __STDC__
24294 # include <limits.h>
24295 #else
24296 # include <assert.h>
24297 #endif
24298
24299 #undef remove
24300
24301 /* Override any gcc2 internal prototype to avoid an error. */
24302 #ifdef __cplusplus
24303 extern "C"
24304 {
24305 #endif
24306 /* We use char because int might match the return type of a gcc2
24307 builtin and then its argument prototype would still apply. */
24308 char remove ();
24309 /* The GNU C library defines this for functions which it implements
24310 to always fail with ENOSYS. Some functions are actually named
24311 something starting with __ and the normal name is an alias. */
24312 #if defined (__stub_remove) || defined (__stub___remove)
24313 choke me
24314 #else
24315 char (*f) () = remove;
24316 #endif
24317 #ifdef __cplusplus
24318 }
24319 #endif
24320
24321 int
24322 main ()
24323 {
24324 return f != remove;
24325 ;
24326 return 0;
24327 }
24328 _ACEOF
24329 rm -f conftest.$ac_objext conftest$ac_exeext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24331 (eval $ac_link) 2>conftest.er1
24332 ac_status=$?
24333 grep -v '^ *+' conftest.er1 >conftest.err
24334 rm -f conftest.er1
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } &&
24338 { ac_try='test -z "$ac_c_werror_flag"
24339 || test ! -s conftest.err'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24342 ac_status=$?
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; } &&
24345 { ac_try='test -s conftest$ac_exeext'
24346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24347 (eval $ac_try) 2>&5
24348 ac_status=$?
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); }; }; then
24351 ac_cv_func_remove=yes
24352 else
24353 echo "$as_me: failed program was:" >&5
24354 sed 's/^/| /' conftest.$ac_ext >&5
24355
24356 ac_cv_func_remove=no
24357 fi
24358 rm -f conftest.err conftest.$ac_objext \
24359 conftest$ac_exeext conftest.$ac_ext
24360 fi
24361 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24362 echo "${ECHO_T}$ac_cv_func_remove" >&6
24363
24364 if test $ac_cv_func_remove = no; then
24365 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24366 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24367 if test "${ac_cv_lib_posix_remove+set}" = set; then
24368 echo $ECHO_N "(cached) $ECHO_C" >&6
24369 else
24370 ac_check_lib_save_LIBS=$LIBS
24371 LIBS="-lposix $LIBS"
24372 cat >conftest.$ac_ext <<_ACEOF
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378
24379 /* Override any gcc2 internal prototype to avoid an error. */
24380 #ifdef __cplusplus
24381 extern "C"
24382 #endif
24383 /* We use char because int might match the return type of a gcc2
24384 builtin and then its argument prototype would still apply. */
24385 char remove ();
24386 int
24387 main ()
24388 {
24389 remove ();
24390 ;
24391 return 0;
24392 }
24393 _ACEOF
24394 rm -f conftest.$ac_objext conftest$ac_exeext
24395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24396 (eval $ac_link) 2>conftest.er1
24397 ac_status=$?
24398 grep -v '^ *+' conftest.er1 >conftest.err
24399 rm -f conftest.er1
24400 cat conftest.err >&5
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); } &&
24403 { ac_try='test -z "$ac_c_werror_flag"
24404 || test ! -s conftest.err'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24407 ac_status=$?
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; } &&
24410 { ac_try='test -s conftest$ac_exeext'
24411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 (eval $ac_try) 2>&5
24413 ac_status=$?
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); }; }; then
24416 ac_cv_lib_posix_remove=yes
24417 else
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.$ac_ext >&5
24420
24421 ac_cv_lib_posix_remove=no
24422 fi
24423 rm -f conftest.err conftest.$ac_objext \
24424 conftest$ac_exeext conftest.$ac_ext
24425 LIBS=$ac_check_lib_save_LIBS
24426 fi
24427 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24428 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24429 if test $ac_cv_lib_posix_remove = yes; then
24430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24431 fi
24432
24433 fi
24434
24435 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24436 echo "$as_me:$LINENO: checking for shmat" >&5
24437 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24438 if test "${ac_cv_func_shmat+set}" = set; then
24439 echo $ECHO_N "(cached) $ECHO_C" >&6
24440 else
24441 cat >conftest.$ac_ext <<_ACEOF
24442 /* confdefs.h. */
24443 _ACEOF
24444 cat confdefs.h >>conftest.$ac_ext
24445 cat >>conftest.$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24447 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24449 #define shmat innocuous_shmat
24450
24451 /* System header to define __stub macros and hopefully few prototypes,
24452 which can conflict with char shmat (); below.
24453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24454 <limits.h> exists even on freestanding compilers. */
24455
24456 #ifdef __STDC__
24457 # include <limits.h>
24458 #else
24459 # include <assert.h>
24460 #endif
24461
24462 #undef shmat
24463
24464 /* Override any gcc2 internal prototype to avoid an error. */
24465 #ifdef __cplusplus
24466 extern "C"
24467 {
24468 #endif
24469 /* We use char because int might match the return type of a gcc2
24470 builtin and then its argument prototype would still apply. */
24471 char shmat ();
24472 /* The GNU C library defines this for functions which it implements
24473 to always fail with ENOSYS. Some functions are actually named
24474 something starting with __ and the normal name is an alias. */
24475 #if defined (__stub_shmat) || defined (__stub___shmat)
24476 choke me
24477 #else
24478 char (*f) () = shmat;
24479 #endif
24480 #ifdef __cplusplus
24481 }
24482 #endif
24483
24484 int
24485 main ()
24486 {
24487 return f != shmat;
24488 ;
24489 return 0;
24490 }
24491 _ACEOF
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>conftest.er1
24495 ac_status=$?
24496 grep -v '^ *+' conftest.er1 >conftest.err
24497 rm -f conftest.er1
24498 cat conftest.err >&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); } &&
24501 { ac_try='test -z "$ac_c_werror_flag"
24502 || test ! -s conftest.err'
24503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504 (eval $ac_try) 2>&5
24505 ac_status=$?
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); }; } &&
24508 { ac_try='test -s conftest$ac_exeext'
24509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510 (eval $ac_try) 2>&5
24511 ac_status=$?
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); }; }; then
24514 ac_cv_func_shmat=yes
24515 else
24516 echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.$ac_ext >&5
24518
24519 ac_cv_func_shmat=no
24520 fi
24521 rm -f conftest.err conftest.$ac_objext \
24522 conftest$ac_exeext conftest.$ac_ext
24523 fi
24524 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24525 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24526
24527 if test $ac_cv_func_shmat = no; then
24528 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24529 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24530 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24531 echo $ECHO_N "(cached) $ECHO_C" >&6
24532 else
24533 ac_check_lib_save_LIBS=$LIBS
24534 LIBS="-lipc $LIBS"
24535 cat >conftest.$ac_ext <<_ACEOF
24536 /* confdefs.h. */
24537 _ACEOF
24538 cat confdefs.h >>conftest.$ac_ext
24539 cat >>conftest.$ac_ext <<_ACEOF
24540 /* end confdefs.h. */
24541
24542 /* Override any gcc2 internal prototype to avoid an error. */
24543 #ifdef __cplusplus
24544 extern "C"
24545 #endif
24546 /* We use char because int might match the return type of a gcc2
24547 builtin and then its argument prototype would still apply. */
24548 char shmat ();
24549 int
24550 main ()
24551 {
24552 shmat ();
24553 ;
24554 return 0;
24555 }
24556 _ACEOF
24557 rm -f conftest.$ac_objext conftest$ac_exeext
24558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24559 (eval $ac_link) 2>conftest.er1
24560 ac_status=$?
24561 grep -v '^ *+' conftest.er1 >conftest.err
24562 rm -f conftest.er1
24563 cat conftest.err >&5
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); } &&
24566 { ac_try='test -z "$ac_c_werror_flag"
24567 || test ! -s conftest.err'
24568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24569 (eval $ac_try) 2>&5
24570 ac_status=$?
24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572 (exit $ac_status); }; } &&
24573 { ac_try='test -s conftest$ac_exeext'
24574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24575 (eval $ac_try) 2>&5
24576 ac_status=$?
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); }; }; then
24579 ac_cv_lib_ipc_shmat=yes
24580 else
24581 echo "$as_me: failed program was:" >&5
24582 sed 's/^/| /' conftest.$ac_ext >&5
24583
24584 ac_cv_lib_ipc_shmat=no
24585 fi
24586 rm -f conftest.err conftest.$ac_objext \
24587 conftest$ac_exeext conftest.$ac_ext
24588 LIBS=$ac_check_lib_save_LIBS
24589 fi
24590 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24591 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24592 if test $ac_cv_lib_ipc_shmat = yes; then
24593 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24594 fi
24595
24596 fi
24597 fi
24598
24599 # Check for libraries that X11R6 Xt/Xaw programs need.
24600 ac_save_LDFLAGS=$LDFLAGS
24601 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24602 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24603 # check for ICE first), but we must link in the order -lSM -lICE or
24604 # we get undefined symbols. So assume we have SM if we have ICE.
24605 # These have to be linked with before -lX11, unlike the other
24606 # libraries we check for below, so use a different variable.
24607 # John Interrante, Karl Berry
24608 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24609 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24610 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24611 echo $ECHO_N "(cached) $ECHO_C" >&6
24612 else
24613 ac_check_lib_save_LIBS=$LIBS
24614 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24615 cat >conftest.$ac_ext <<_ACEOF
24616 /* confdefs.h. */
24617 _ACEOF
24618 cat confdefs.h >>conftest.$ac_ext
24619 cat >>conftest.$ac_ext <<_ACEOF
24620 /* end confdefs.h. */
24621
24622 /* Override any gcc2 internal prototype to avoid an error. */
24623 #ifdef __cplusplus
24624 extern "C"
24625 #endif
24626 /* We use char because int might match the return type of a gcc2
24627 builtin and then its argument prototype would still apply. */
24628 char IceConnectionNumber ();
24629 int
24630 main ()
24631 {
24632 IceConnectionNumber ();
24633 ;
24634 return 0;
24635 }
24636 _ACEOF
24637 rm -f conftest.$ac_objext conftest$ac_exeext
24638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24639 (eval $ac_link) 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try='test -z "$ac_c_werror_flag"
24647 || test ! -s conftest.err'
24648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24649 (eval $ac_try) 2>&5
24650 ac_status=$?
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); }; } &&
24653 { ac_try='test -s conftest$ac_exeext'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; }; then
24659 ac_cv_lib_ICE_IceConnectionNumber=yes
24660 else
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24663
24664 ac_cv_lib_ICE_IceConnectionNumber=no
24665 fi
24666 rm -f conftest.err conftest.$ac_objext \
24667 conftest$ac_exeext conftest.$ac_ext
24668 LIBS=$ac_check_lib_save_LIBS
24669 fi
24670 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24671 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24672 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24673 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24674 fi
24675
24676 LDFLAGS=$ac_save_LDFLAGS
24677
24678 fi
24679
24680
24681 if test "$no_x" = "yes"; then
24682 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24683 echo "$as_me: error: X11 not found" >&2;}
24684 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24685 fi
24686
24687 GUI_TK_LIBRARY="$X_LIBS"
24688 TOOLKIT_INCLUDE="$X_CFLAGS"
24689 AFMINSTALL=afminstall
24690 COMPILED_X_PROGRAM=0
24691
24692 if test "$wxUSE_NANOX" = "yes"; then
24693 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24694 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24695 if test "x$MICROWIN" = x ; then
24696 echo "$as_me:$LINENO: result: not found" >&5
24697 echo "${ECHO_T}not found" >&6
24698 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24699 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24700 { (exit 1); exit 1; }; }
24701 else
24702 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24703 echo "${ECHO_T}$MICROWIN" >&6
24704 cat >>confdefs.h <<\_ACEOF
24705 #define wxUSE_NANOX 1
24706 _ACEOF
24707
24708 fi
24709 fi
24710
24711 if test "$wxUSE_UNICODE" = "yes"; then
24712
24713 succeeded=no
24714
24715 if test -z "$PKG_CONFIG"; then
24716 # Extract the first word of "pkg-config", so it can be a program name with args.
24717 set dummy pkg-config; ac_word=$2
24718 echo "$as_me:$LINENO: checking for $ac_word" >&5
24719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24720 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24721 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 else
24723 case $PKG_CONFIG in
24724 [\\/]* | ?:[\\/]*)
24725 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24726 ;;
24727 *)
24728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24729 for as_dir in $PATH
24730 do
24731 IFS=$as_save_IFS
24732 test -z "$as_dir" && as_dir=.
24733 for ac_exec_ext in '' $ac_executable_extensions; do
24734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24735 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24737 break 2
24738 fi
24739 done
24740 done
24741
24742 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24743 ;;
24744 esac
24745 fi
24746 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24747
24748 if test -n "$PKG_CONFIG"; then
24749 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24750 echo "${ECHO_T}$PKG_CONFIG" >&6
24751 else
24752 echo "$as_me:$LINENO: result: no" >&5
24753 echo "${ECHO_T}no" >&6
24754 fi
24755
24756 fi
24757
24758 if test "$PKG_CONFIG" = "no" ; then
24759 echo "*** The pkg-config script could not be found. Make sure it is"
24760 echo "*** in your path, or set the PKG_CONFIG environment variable"
24761 echo "*** to the full path to pkg-config."
24762 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24763 else
24764 PKG_CONFIG_MIN_VERSION=0.9.0
24765 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24766 echo "$as_me:$LINENO: checking for pangox" >&5
24767 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24768
24769 if $PKG_CONFIG --exists "pangox" ; then
24770 echo "$as_me:$LINENO: result: yes" >&5
24771 echo "${ECHO_T}yes" >&6
24772 succeeded=yes
24773
24774 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24775 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24776 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24777 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24778 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24779
24780 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24781 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24782 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24783 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24784 echo "${ECHO_T}$PANGOX_LIBS" >&6
24785 else
24786 PANGOX_CFLAGS=""
24787 PANGOX_LIBS=""
24788 ## If we have a custom action on failure, don't print errors, but
24789 ## do set a variable so people can do so.
24790 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24791
24792 fi
24793
24794
24795
24796 else
24797 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24798 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24799 fi
24800 fi
24801
24802 if test $succeeded = yes; then
24803
24804 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24805 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24806
24807 else
24808
24809 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24810 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24811 { (exit 1); exit 1; }; }
24812
24813
24814 fi
24815
24816
24817 succeeded=no
24818
24819 if test -z "$PKG_CONFIG"; then
24820 # Extract the first word of "pkg-config", so it can be a program name with args.
24821 set dummy pkg-config; ac_word=$2
24822 echo "$as_me:$LINENO: checking for $ac_word" >&5
24823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24824 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24826 else
24827 case $PKG_CONFIG in
24828 [\\/]* | ?:[\\/]*)
24829 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24830 ;;
24831 *)
24832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24833 for as_dir in $PATH
24834 do
24835 IFS=$as_save_IFS
24836 test -z "$as_dir" && as_dir=.
24837 for ac_exec_ext in '' $ac_executable_extensions; do
24838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24839 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24841 break 2
24842 fi
24843 done
24844 done
24845
24846 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24847 ;;
24848 esac
24849 fi
24850 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24851
24852 if test -n "$PKG_CONFIG"; then
24853 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24854 echo "${ECHO_T}$PKG_CONFIG" >&6
24855 else
24856 echo "$as_me:$LINENO: result: no" >&5
24857 echo "${ECHO_T}no" >&6
24858 fi
24859
24860 fi
24861
24862 if test "$PKG_CONFIG" = "no" ; then
24863 echo "*** The pkg-config script could not be found. Make sure it is"
24864 echo "*** in your path, or set the PKG_CONFIG environment variable"
24865 echo "*** to the full path to pkg-config."
24866 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24867 else
24868 PKG_CONFIG_MIN_VERSION=0.9.0
24869 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24870 echo "$as_me:$LINENO: checking for pangoft2" >&5
24871 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24872
24873 if $PKG_CONFIG --exists "pangoft2" ; then
24874 echo "$as_me:$LINENO: result: yes" >&5
24875 echo "${ECHO_T}yes" >&6
24876 succeeded=yes
24877
24878 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24879 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24880 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24881 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24882 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24883
24884 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24885 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24886 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24887 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24888 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24889 else
24890 PANGOFT2_CFLAGS=""
24891 PANGOFT2_LIBS=""
24892 ## If we have a custom action on failure, don't print errors, but
24893 ## do set a variable so people can do so.
24894 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24895
24896 fi
24897
24898
24899
24900 else
24901 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24902 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24903 fi
24904 fi
24905
24906 if test $succeeded = yes; then
24907
24908 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24910
24911 else
24912
24913 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24914 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24915 wxUSE_PRINTING_ARCHITECTURE="no"
24916
24917
24918 fi
24919
24920
24921 succeeded=no
24922
24923 if test -z "$PKG_CONFIG"; then
24924 # Extract the first word of "pkg-config", so it can be a program name with args.
24925 set dummy pkg-config; ac_word=$2
24926 echo "$as_me:$LINENO: checking for $ac_word" >&5
24927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24928 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24929 echo $ECHO_N "(cached) $ECHO_C" >&6
24930 else
24931 case $PKG_CONFIG in
24932 [\\/]* | ?:[\\/]*)
24933 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24934 ;;
24935 *)
24936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24937 for as_dir in $PATH
24938 do
24939 IFS=$as_save_IFS
24940 test -z "$as_dir" && as_dir=.
24941 for ac_exec_ext in '' $ac_executable_extensions; do
24942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24943 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24945 break 2
24946 fi
24947 done
24948 done
24949
24950 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24951 ;;
24952 esac
24953 fi
24954 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24955
24956 if test -n "$PKG_CONFIG"; then
24957 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24958 echo "${ECHO_T}$PKG_CONFIG" >&6
24959 else
24960 echo "$as_me:$LINENO: result: no" >&5
24961 echo "${ECHO_T}no" >&6
24962 fi
24963
24964 fi
24965
24966 if test "$PKG_CONFIG" = "no" ; then
24967 echo "*** The pkg-config script could not be found. Make sure it is"
24968 echo "*** in your path, or set the PKG_CONFIG environment variable"
24969 echo "*** to the full path to pkg-config."
24970 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24971 else
24972 PKG_CONFIG_MIN_VERSION=0.9.0
24973 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24974 echo "$as_me:$LINENO: checking for pangoxft" >&5
24975 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24976
24977 if $PKG_CONFIG --exists "pangoxft" ; then
24978 echo "$as_me:$LINENO: result: yes" >&5
24979 echo "${ECHO_T}yes" >&6
24980 succeeded=yes
24981
24982 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24983 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24984 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24985 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24986 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24987
24988 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24989 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24990 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24991 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24992 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24993 else
24994 PANGOXFT_CFLAGS=""
24995 PANGOXFT_LIBS=""
24996 ## If we have a custom action on failure, don't print errors, but
24997 ## do set a variable so people can do so.
24998 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24999
25000 fi
25001
25002
25003
25004 else
25005 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25006 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25007 fi
25008 fi
25009
25010 if test $succeeded = yes; then
25011
25012 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25013 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25014
25015 else
25016
25017 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25018 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25019
25020
25021 fi
25022
25023 fi
25024
25025 wxUSE_UNIVERSAL="yes"
25026
25027 if test "$wxUSE_NANOX" = "yes"; then
25028 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25029 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"
25030 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25031 else
25032 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25033 fi
25034
25035 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
25036 TOOLKIT=X11
25037 GUIDIST=X11_DIST
25038 fi
25039
25040 if test "$wxUSE_MOTIF" = 1; then
25041 if test "$no_x" = yes; then
25042 # Not all programs may use this symbol, but it does not hurt to define it.
25043
25044 cat >>confdefs.h <<\_ACEOF
25045 #define X_DISPLAY_MISSING 1
25046 _ACEOF
25047
25048 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25049 else
25050 if test -n "$x_includes"; then
25051 X_CFLAGS="$X_CFLAGS -I$x_includes"
25052 fi
25053
25054 # It would also be nice to do this for all -L options, not just this one.
25055 if test -n "$x_libraries"; then
25056 X_LIBS="$X_LIBS -L$x_libraries"
25057 # For Solaris; some versions of Sun CC require a space after -R and
25058 # others require no space. Words are not sufficient . . . .
25059 case `(uname -sr) 2>/dev/null` in
25060 "SunOS 5"*)
25061 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
25062 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
25063 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25064 cat >conftest.$ac_ext <<_ACEOF
25065 /* confdefs.h. */
25066 _ACEOF
25067 cat confdefs.h >>conftest.$ac_ext
25068 cat >>conftest.$ac_ext <<_ACEOF
25069 /* end confdefs.h. */
25070
25071 int
25072 main ()
25073 {
25074
25075 ;
25076 return 0;
25077 }
25078 _ACEOF
25079 rm -f conftest.$ac_objext conftest$ac_exeext
25080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25081 (eval $ac_link) 2>conftest.er1
25082 ac_status=$?
25083 grep -v '^ *+' conftest.er1 >conftest.err
25084 rm -f conftest.er1
25085 cat conftest.err >&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } &&
25088 { ac_try='test -z "$ac_c_werror_flag"
25089 || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25092 ac_status=$?
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try='test -s conftest$ac_exeext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25098 ac_status=$?
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 ac_R_nospace=yes
25102 else
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.$ac_ext >&5
25105
25106 ac_R_nospace=no
25107 fi
25108 rm -f conftest.err conftest.$ac_objext \
25109 conftest$ac_exeext conftest.$ac_ext
25110 if test $ac_R_nospace = yes; then
25111 echo "$as_me:$LINENO: result: no" >&5
25112 echo "${ECHO_T}no" >&6
25113 X_LIBS="$X_LIBS -R$x_libraries"
25114 else
25115 LIBS="$ac_xsave_LIBS -R $x_libraries"
25116 cat >conftest.$ac_ext <<_ACEOF
25117 /* confdefs.h. */
25118 _ACEOF
25119 cat confdefs.h >>conftest.$ac_ext
25120 cat >>conftest.$ac_ext <<_ACEOF
25121 /* end confdefs.h. */
25122
25123 int
25124 main ()
25125 {
25126
25127 ;
25128 return 0;
25129 }
25130 _ACEOF
25131 rm -f conftest.$ac_objext conftest$ac_exeext
25132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25133 (eval $ac_link) 2>conftest.er1
25134 ac_status=$?
25135 grep -v '^ *+' conftest.er1 >conftest.err
25136 rm -f conftest.er1
25137 cat conftest.err >&5
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); } &&
25140 { ac_try='test -z "$ac_c_werror_flag"
25141 || test ! -s conftest.err'
25142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25143 (eval $ac_try) 2>&5
25144 ac_status=$?
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); }; } &&
25147 { ac_try='test -s conftest$ac_exeext'
25148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25149 (eval $ac_try) 2>&5
25150 ac_status=$?
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); }; }; then
25153 ac_R_space=yes
25154 else
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.$ac_ext >&5
25157
25158 ac_R_space=no
25159 fi
25160 rm -f conftest.err conftest.$ac_objext \
25161 conftest$ac_exeext conftest.$ac_ext
25162 if test $ac_R_space = yes; then
25163 echo "$as_me:$LINENO: result: yes" >&5
25164 echo "${ECHO_T}yes" >&6
25165 X_LIBS="$X_LIBS -R $x_libraries"
25166 else
25167 echo "$as_me:$LINENO: result: neither works" >&5
25168 echo "${ECHO_T}neither works" >&6
25169 fi
25170 fi
25171 LIBS=$ac_xsave_LIBS
25172 esac
25173 fi
25174
25175 # Check for system-dependent libraries X programs must link with.
25176 # Do this before checking for the system-independent R6 libraries
25177 # (-lICE), since we may need -lsocket or whatever for X linking.
25178
25179 if test "$ISC" = yes; then
25180 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25181 else
25182 # Martyn Johnson says this is needed for Ultrix, if the X
25183 # libraries were built with DECnet support. And Karl Berry says
25184 # the Alpha needs dnet_stub (dnet does not exist).
25185 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25186 cat >conftest.$ac_ext <<_ACEOF
25187 /* confdefs.h. */
25188 _ACEOF
25189 cat confdefs.h >>conftest.$ac_ext
25190 cat >>conftest.$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25192
25193 /* Override any gcc2 internal prototype to avoid an error. */
25194 #ifdef __cplusplus
25195 extern "C"
25196 #endif
25197 /* We use char because int might match the return type of a gcc2
25198 builtin and then its argument prototype would still apply. */
25199 char XOpenDisplay ();
25200 int
25201 main ()
25202 {
25203 XOpenDisplay ();
25204 ;
25205 return 0;
25206 }
25207 _ACEOF
25208 rm -f conftest.$ac_objext conftest$ac_exeext
25209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25210 (eval $ac_link) 2>conftest.er1
25211 ac_status=$?
25212 grep -v '^ *+' conftest.er1 >conftest.err
25213 rm -f conftest.er1
25214 cat conftest.err >&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); } &&
25217 { ac_try='test -z "$ac_c_werror_flag"
25218 || test ! -s conftest.err'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25221 ac_status=$?
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; } &&
25224 { ac_try='test -s conftest$ac_exeext'
25225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25226 (eval $ac_try) 2>&5
25227 ac_status=$?
25228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25229 (exit $ac_status); }; }; then
25230 :
25231 else
25232 echo "$as_me: failed program was:" >&5
25233 sed 's/^/| /' conftest.$ac_ext >&5
25234
25235 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25236 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25237 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25240 ac_check_lib_save_LIBS=$LIBS
25241 LIBS="-ldnet $LIBS"
25242 cat >conftest.$ac_ext <<_ACEOF
25243 /* confdefs.h. */
25244 _ACEOF
25245 cat confdefs.h >>conftest.$ac_ext
25246 cat >>conftest.$ac_ext <<_ACEOF
25247 /* end confdefs.h. */
25248
25249 /* Override any gcc2 internal prototype to avoid an error. */
25250 #ifdef __cplusplus
25251 extern "C"
25252 #endif
25253 /* We use char because int might match the return type of a gcc2
25254 builtin and then its argument prototype would still apply. */
25255 char dnet_ntoa ();
25256 int
25257 main ()
25258 {
25259 dnet_ntoa ();
25260 ;
25261 return 0;
25262 }
25263 _ACEOF
25264 rm -f conftest.$ac_objext conftest$ac_exeext
25265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25266 (eval $ac_link) 2>conftest.er1
25267 ac_status=$?
25268 grep -v '^ *+' conftest.er1 >conftest.err
25269 rm -f conftest.er1
25270 cat conftest.err >&5
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); } &&
25273 { ac_try='test -z "$ac_c_werror_flag"
25274 || test ! -s conftest.err'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25277 ac_status=$?
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; } &&
25280 { ac_try='test -s conftest$ac_exeext'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25283 ac_status=$?
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; }; then
25286 ac_cv_lib_dnet_dnet_ntoa=yes
25287 else
25288 echo "$as_me: failed program was:" >&5
25289 sed 's/^/| /' conftest.$ac_ext >&5
25290
25291 ac_cv_lib_dnet_dnet_ntoa=no
25292 fi
25293 rm -f conftest.err conftest.$ac_objext \
25294 conftest$ac_exeext conftest.$ac_ext
25295 LIBS=$ac_check_lib_save_LIBS
25296 fi
25297 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25298 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25299 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25300 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25301 fi
25302
25303 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25304 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25305 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25306 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 else
25309 ac_check_lib_save_LIBS=$LIBS
25310 LIBS="-ldnet_stub $LIBS"
25311 cat >conftest.$ac_ext <<_ACEOF
25312 /* confdefs.h. */
25313 _ACEOF
25314 cat confdefs.h >>conftest.$ac_ext
25315 cat >>conftest.$ac_ext <<_ACEOF
25316 /* end confdefs.h. */
25317
25318 /* Override any gcc2 internal prototype to avoid an error. */
25319 #ifdef __cplusplus
25320 extern "C"
25321 #endif
25322 /* We use char because int might match the return type of a gcc2
25323 builtin and then its argument prototype would still apply. */
25324 char dnet_ntoa ();
25325 int
25326 main ()
25327 {
25328 dnet_ntoa ();
25329 ;
25330 return 0;
25331 }
25332 _ACEOF
25333 rm -f conftest.$ac_objext conftest$ac_exeext
25334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25335 (eval $ac_link) 2>conftest.er1
25336 ac_status=$?
25337 grep -v '^ *+' conftest.er1 >conftest.err
25338 rm -f conftest.er1
25339 cat conftest.err >&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } &&
25342 { ac_try='test -z "$ac_c_werror_flag"
25343 || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25356 else
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.$ac_ext >&5
25359
25360 ac_cv_lib_dnet_stub_dnet_ntoa=no
25361 fi
25362 rm -f conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25364 LIBS=$ac_check_lib_save_LIBS
25365 fi
25366 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25367 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25368 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25369 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25370 fi
25371
25372 fi
25373 fi
25374 rm -f conftest.err conftest.$ac_objext \
25375 conftest$ac_exeext conftest.$ac_ext
25376 LIBS="$ac_xsave_LIBS"
25377
25378 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25379 # to get the SysV transport functions.
25380 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25381 # needs -lnsl.
25382 # The nsl library prevents programs from opening the X display
25383 # on Irix 5.2, according to T.E. Dickey.
25384 # The functions gethostbyname, getservbyname, and inet_addr are
25385 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25386 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25387 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25388 if test "${ac_cv_func_gethostbyname+set}" = set; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 else
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25399 #define gethostbyname innocuous_gethostbyname
25400
25401 /* System header to define __stub macros and hopefully few prototypes,
25402 which can conflict with char gethostbyname (); below.
25403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25404 <limits.h> exists even on freestanding compilers. */
25405
25406 #ifdef __STDC__
25407 # include <limits.h>
25408 #else
25409 # include <assert.h>
25410 #endif
25411
25412 #undef gethostbyname
25413
25414 /* Override any gcc2 internal prototype to avoid an error. */
25415 #ifdef __cplusplus
25416 extern "C"
25417 {
25418 #endif
25419 /* We use char because int might match the return type of a gcc2
25420 builtin and then its argument prototype would still apply. */
25421 char gethostbyname ();
25422 /* The GNU C library defines this for functions which it implements
25423 to always fail with ENOSYS. Some functions are actually named
25424 something starting with __ and the normal name is an alias. */
25425 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25426 choke me
25427 #else
25428 char (*f) () = gethostbyname;
25429 #endif
25430 #ifdef __cplusplus
25431 }
25432 #endif
25433
25434 int
25435 main ()
25436 {
25437 return f != gethostbyname;
25438 ;
25439 return 0;
25440 }
25441 _ACEOF
25442 rm -f conftest.$ac_objext conftest$ac_exeext
25443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25444 (eval $ac_link) 2>conftest.er1
25445 ac_status=$?
25446 grep -v '^ *+' conftest.er1 >conftest.err
25447 rm -f conftest.er1
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } &&
25451 { ac_try='test -z "$ac_c_werror_flag"
25452 || test ! -s conftest.err'
25453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25454 (eval $ac_try) 2>&5
25455 ac_status=$?
25456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25457 (exit $ac_status); }; } &&
25458 { ac_try='test -s conftest$ac_exeext'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25461 ac_status=$?
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; }; then
25464 ac_cv_func_gethostbyname=yes
25465 else
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25468
25469 ac_cv_func_gethostbyname=no
25470 fi
25471 rm -f conftest.err conftest.$ac_objext \
25472 conftest$ac_exeext conftest.$ac_ext
25473 fi
25474 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25475 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25476
25477 if test $ac_cv_func_gethostbyname = no; then
25478 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25479 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25480 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 else
25483 ac_check_lib_save_LIBS=$LIBS
25484 LIBS="-lnsl $LIBS"
25485 cat >conftest.$ac_ext <<_ACEOF
25486 /* confdefs.h. */
25487 _ACEOF
25488 cat confdefs.h >>conftest.$ac_ext
25489 cat >>conftest.$ac_ext <<_ACEOF
25490 /* end confdefs.h. */
25491
25492 /* Override any gcc2 internal prototype to avoid an error. */
25493 #ifdef __cplusplus
25494 extern "C"
25495 #endif
25496 /* We use char because int might match the return type of a gcc2
25497 builtin and then its argument prototype would still apply. */
25498 char gethostbyname ();
25499 int
25500 main ()
25501 {
25502 gethostbyname ();
25503 ;
25504 return 0;
25505 }
25506 _ACEOF
25507 rm -f conftest.$ac_objext conftest$ac_exeext
25508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25509 (eval $ac_link) 2>conftest.er1
25510 ac_status=$?
25511 grep -v '^ *+' conftest.er1 >conftest.err
25512 rm -f conftest.er1
25513 cat conftest.err >&5
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); } &&
25516 { ac_try='test -z "$ac_c_werror_flag"
25517 || test ! -s conftest.err'
25518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25519 (eval $ac_try) 2>&5
25520 ac_status=$?
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); }; } &&
25523 { ac_try='test -s conftest$ac_exeext'
25524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25525 (eval $ac_try) 2>&5
25526 ac_status=$?
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); }; }; then
25529 ac_cv_lib_nsl_gethostbyname=yes
25530 else
25531 echo "$as_me: failed program was:" >&5
25532 sed 's/^/| /' conftest.$ac_ext >&5
25533
25534 ac_cv_lib_nsl_gethostbyname=no
25535 fi
25536 rm -f conftest.err conftest.$ac_objext \
25537 conftest$ac_exeext conftest.$ac_ext
25538 LIBS=$ac_check_lib_save_LIBS
25539 fi
25540 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25541 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25542 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25543 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25544 fi
25545
25546 if test $ac_cv_lib_nsl_gethostbyname = no; then
25547 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25548 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25549 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25550 echo $ECHO_N "(cached) $ECHO_C" >&6
25551 else
25552 ac_check_lib_save_LIBS=$LIBS
25553 LIBS="-lbsd $LIBS"
25554 cat >conftest.$ac_ext <<_ACEOF
25555 /* confdefs.h. */
25556 _ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25560
25561 /* Override any gcc2 internal prototype to avoid an error. */
25562 #ifdef __cplusplus
25563 extern "C"
25564 #endif
25565 /* We use char because int might match the return type of a gcc2
25566 builtin and then its argument prototype would still apply. */
25567 char gethostbyname ();
25568 int
25569 main ()
25570 {
25571 gethostbyname ();
25572 ;
25573 return 0;
25574 }
25575 _ACEOF
25576 rm -f conftest.$ac_objext conftest$ac_exeext
25577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25578 (eval $ac_link) 2>conftest.er1
25579 ac_status=$?
25580 grep -v '^ *+' conftest.er1 >conftest.err
25581 rm -f conftest.er1
25582 cat conftest.err >&5
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); } &&
25585 { ac_try='test -z "$ac_c_werror_flag"
25586 || test ! -s conftest.err'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; } &&
25592 { ac_try='test -s conftest$ac_exeext'
25593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25594 (eval $ac_try) 2>&5
25595 ac_status=$?
25596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25597 (exit $ac_status); }; }; then
25598 ac_cv_lib_bsd_gethostbyname=yes
25599 else
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.$ac_ext >&5
25602
25603 ac_cv_lib_bsd_gethostbyname=no
25604 fi
25605 rm -f conftest.err conftest.$ac_objext \
25606 conftest$ac_exeext conftest.$ac_ext
25607 LIBS=$ac_check_lib_save_LIBS
25608 fi
25609 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25610 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25611 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25613 fi
25614
25615 fi
25616 fi
25617
25618 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25619 # socket/setsockopt and other routines are undefined under SCO ODT
25620 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25621 # on later versions), says Simon Leinen: it contains gethostby*
25622 # variants that don't use the name server (or something). -lsocket
25623 # must be given before -lnsl if both are needed. We assume that
25624 # if connect needs -lnsl, so does gethostbyname.
25625 echo "$as_me:$LINENO: checking for connect" >&5
25626 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25627 if test "${ac_cv_func_connect+set}" = set; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25629 else
25630 cat >conftest.$ac_ext <<_ACEOF
25631 /* confdefs.h. */
25632 _ACEOF
25633 cat confdefs.h >>conftest.$ac_ext
25634 cat >>conftest.$ac_ext <<_ACEOF
25635 /* end confdefs.h. */
25636 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25638 #define connect innocuous_connect
25639
25640 /* System header to define __stub macros and hopefully few prototypes,
25641 which can conflict with char connect (); below.
25642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25643 <limits.h> exists even on freestanding compilers. */
25644
25645 #ifdef __STDC__
25646 # include <limits.h>
25647 #else
25648 # include <assert.h>
25649 #endif
25650
25651 #undef connect
25652
25653 /* Override any gcc2 internal prototype to avoid an error. */
25654 #ifdef __cplusplus
25655 extern "C"
25656 {
25657 #endif
25658 /* We use char because int might match the return type of a gcc2
25659 builtin and then its argument prototype would still apply. */
25660 char connect ();
25661 /* The GNU C library defines this for functions which it implements
25662 to always fail with ENOSYS. Some functions are actually named
25663 something starting with __ and the normal name is an alias. */
25664 #if defined (__stub_connect) || defined (__stub___connect)
25665 choke me
25666 #else
25667 char (*f) () = connect;
25668 #endif
25669 #ifdef __cplusplus
25670 }
25671 #endif
25672
25673 int
25674 main ()
25675 {
25676 return f != connect;
25677 ;
25678 return 0;
25679 }
25680 _ACEOF
25681 rm -f conftest.$ac_objext conftest$ac_exeext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25683 (eval $ac_link) 2>conftest.er1
25684 ac_status=$?
25685 grep -v '^ *+' conftest.er1 >conftest.err
25686 rm -f conftest.er1
25687 cat conftest.err >&5
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); } &&
25690 { ac_try='test -z "$ac_c_werror_flag"
25691 || test ! -s conftest.err'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25694 ac_status=$?
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; } &&
25697 { ac_try='test -s conftest$ac_exeext'
25698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25699 (eval $ac_try) 2>&5
25700 ac_status=$?
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); }; }; then
25703 ac_cv_func_connect=yes
25704 else
25705 echo "$as_me: failed program was:" >&5
25706 sed 's/^/| /' conftest.$ac_ext >&5
25707
25708 ac_cv_func_connect=no
25709 fi
25710 rm -f conftest.err conftest.$ac_objext \
25711 conftest$ac_exeext conftest.$ac_ext
25712 fi
25713 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25714 echo "${ECHO_T}$ac_cv_func_connect" >&6
25715
25716 if test $ac_cv_func_connect = no; then
25717 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25718 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25719 if test "${ac_cv_lib_socket_connect+set}" = set; then
25720 echo $ECHO_N "(cached) $ECHO_C" >&6
25721 else
25722 ac_check_lib_save_LIBS=$LIBS
25723 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25724 cat >conftest.$ac_ext <<_ACEOF
25725 /* confdefs.h. */
25726 _ACEOF
25727 cat confdefs.h >>conftest.$ac_ext
25728 cat >>conftest.$ac_ext <<_ACEOF
25729 /* end confdefs.h. */
25730
25731 /* Override any gcc2 internal prototype to avoid an error. */
25732 #ifdef __cplusplus
25733 extern "C"
25734 #endif
25735 /* We use char because int might match the return type of a gcc2
25736 builtin and then its argument prototype would still apply. */
25737 char connect ();
25738 int
25739 main ()
25740 {
25741 connect ();
25742 ;
25743 return 0;
25744 }
25745 _ACEOF
25746 rm -f conftest.$ac_objext conftest$ac_exeext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25748 (eval $ac_link) 2>conftest.er1
25749 ac_status=$?
25750 grep -v '^ *+' conftest.er1 >conftest.err
25751 rm -f conftest.er1
25752 cat conftest.err >&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } &&
25755 { ac_try='test -z "$ac_c_werror_flag"
25756 || test ! -s conftest.err'
25757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25758 (eval $ac_try) 2>&5
25759 ac_status=$?
25760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25761 (exit $ac_status); }; } &&
25762 { ac_try='test -s conftest$ac_exeext'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; }; then
25768 ac_cv_lib_socket_connect=yes
25769 else
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.$ac_ext >&5
25772
25773 ac_cv_lib_socket_connect=no
25774 fi
25775 rm -f conftest.err conftest.$ac_objext \
25776 conftest$ac_exeext conftest.$ac_ext
25777 LIBS=$ac_check_lib_save_LIBS
25778 fi
25779 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25780 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25781 if test $ac_cv_lib_socket_connect = yes; then
25782 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25783 fi
25784
25785 fi
25786
25787 # Guillermo Gomez says -lposix is necessary on A/UX.
25788 echo "$as_me:$LINENO: checking for remove" >&5
25789 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25790 if test "${ac_cv_func_remove+set}" = set; then
25791 echo $ECHO_N "(cached) $ECHO_C" >&6
25792 else
25793 cat >conftest.$ac_ext <<_ACEOF
25794 /* confdefs.h. */
25795 _ACEOF
25796 cat confdefs.h >>conftest.$ac_ext
25797 cat >>conftest.$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25801 #define remove innocuous_remove
25802
25803 /* System header to define __stub macros and hopefully few prototypes,
25804 which can conflict with char remove (); below.
25805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25806 <limits.h> exists even on freestanding compilers. */
25807
25808 #ifdef __STDC__
25809 # include <limits.h>
25810 #else
25811 # include <assert.h>
25812 #endif
25813
25814 #undef remove
25815
25816 /* Override any gcc2 internal prototype to avoid an error. */
25817 #ifdef __cplusplus
25818 extern "C"
25819 {
25820 #endif
25821 /* We use char because int might match the return type of a gcc2
25822 builtin and then its argument prototype would still apply. */
25823 char remove ();
25824 /* The GNU C library defines this for functions which it implements
25825 to always fail with ENOSYS. Some functions are actually named
25826 something starting with __ and the normal name is an alias. */
25827 #if defined (__stub_remove) || defined (__stub___remove)
25828 choke me
25829 #else
25830 char (*f) () = remove;
25831 #endif
25832 #ifdef __cplusplus
25833 }
25834 #endif
25835
25836 int
25837 main ()
25838 {
25839 return f != remove;
25840 ;
25841 return 0;
25842 }
25843 _ACEOF
25844 rm -f conftest.$ac_objext conftest$ac_exeext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25846 (eval $ac_link) 2>conftest.er1
25847 ac_status=$?
25848 grep -v '^ *+' conftest.er1 >conftest.err
25849 rm -f conftest.er1
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -z "$ac_c_werror_flag"
25854 || test ! -s conftest.err'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25857 ac_status=$?
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; } &&
25860 { ac_try='test -s conftest$ac_exeext'
25861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25862 (eval $ac_try) 2>&5
25863 ac_status=$?
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); }; }; then
25866 ac_cv_func_remove=yes
25867 else
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.$ac_ext >&5
25870
25871 ac_cv_func_remove=no
25872 fi
25873 rm -f conftest.err conftest.$ac_objext \
25874 conftest$ac_exeext conftest.$ac_ext
25875 fi
25876 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25877 echo "${ECHO_T}$ac_cv_func_remove" >&6
25878
25879 if test $ac_cv_func_remove = no; then
25880 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25881 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25882 if test "${ac_cv_lib_posix_remove+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25884 else
25885 ac_check_lib_save_LIBS=$LIBS
25886 LIBS="-lposix $LIBS"
25887 cat >conftest.$ac_ext <<_ACEOF
25888 /* confdefs.h. */
25889 _ACEOF
25890 cat confdefs.h >>conftest.$ac_ext
25891 cat >>conftest.$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25893
25894 /* Override any gcc2 internal prototype to avoid an error. */
25895 #ifdef __cplusplus
25896 extern "C"
25897 #endif
25898 /* We use char because int might match the return type of a gcc2
25899 builtin and then its argument prototype would still apply. */
25900 char remove ();
25901 int
25902 main ()
25903 {
25904 remove ();
25905 ;
25906 return 0;
25907 }
25908 _ACEOF
25909 rm -f conftest.$ac_objext conftest$ac_exeext
25910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25911 (eval $ac_link) 2>conftest.er1
25912 ac_status=$?
25913 grep -v '^ *+' conftest.er1 >conftest.err
25914 rm -f conftest.er1
25915 cat conftest.err >&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } &&
25918 { ac_try='test -z "$ac_c_werror_flag"
25919 || test ! -s conftest.err'
25920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921 (eval $ac_try) 2>&5
25922 ac_status=$?
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); }; } &&
25925 { ac_try='test -s conftest$ac_exeext'
25926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927 (eval $ac_try) 2>&5
25928 ac_status=$?
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); }; }; then
25931 ac_cv_lib_posix_remove=yes
25932 else
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.$ac_ext >&5
25935
25936 ac_cv_lib_posix_remove=no
25937 fi
25938 rm -f conftest.err conftest.$ac_objext \
25939 conftest$ac_exeext conftest.$ac_ext
25940 LIBS=$ac_check_lib_save_LIBS
25941 fi
25942 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25943 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25944 if test $ac_cv_lib_posix_remove = yes; then
25945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25946 fi
25947
25948 fi
25949
25950 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25951 echo "$as_me:$LINENO: checking for shmat" >&5
25952 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25953 if test "${ac_cv_func_shmat+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 else
25956 cat >conftest.$ac_ext <<_ACEOF
25957 /* confdefs.h. */
25958 _ACEOF
25959 cat confdefs.h >>conftest.$ac_ext
25960 cat >>conftest.$ac_ext <<_ACEOF
25961 /* end confdefs.h. */
25962 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25964 #define shmat innocuous_shmat
25965
25966 /* System header to define __stub macros and hopefully few prototypes,
25967 which can conflict with char shmat (); below.
25968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25969 <limits.h> exists even on freestanding compilers. */
25970
25971 #ifdef __STDC__
25972 # include <limits.h>
25973 #else
25974 # include <assert.h>
25975 #endif
25976
25977 #undef shmat
25978
25979 /* Override any gcc2 internal prototype to avoid an error. */
25980 #ifdef __cplusplus
25981 extern "C"
25982 {
25983 #endif
25984 /* We use char because int might match the return type of a gcc2
25985 builtin and then its argument prototype would still apply. */
25986 char shmat ();
25987 /* The GNU C library defines this for functions which it implements
25988 to always fail with ENOSYS. Some functions are actually named
25989 something starting with __ and the normal name is an alias. */
25990 #if defined (__stub_shmat) || defined (__stub___shmat)
25991 choke me
25992 #else
25993 char (*f) () = shmat;
25994 #endif
25995 #ifdef __cplusplus
25996 }
25997 #endif
25998
25999 int
26000 main ()
26001 {
26002 return f != shmat;
26003 ;
26004 return 0;
26005 }
26006 _ACEOF
26007 rm -f conftest.$ac_objext conftest$ac_exeext
26008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26009 (eval $ac_link) 2>conftest.er1
26010 ac_status=$?
26011 grep -v '^ *+' conftest.er1 >conftest.err
26012 rm -f conftest.er1
26013 cat conftest.err >&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } &&
26016 { ac_try='test -z "$ac_c_werror_flag"
26017 || test ! -s conftest.err'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; } &&
26023 { ac_try='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26026 ac_status=$?
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 ac_cv_func_shmat=yes
26030 else
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26033
26034 ac_cv_func_shmat=no
26035 fi
26036 rm -f conftest.err conftest.$ac_objext \
26037 conftest$ac_exeext conftest.$ac_ext
26038 fi
26039 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
26040 echo "${ECHO_T}$ac_cv_func_shmat" >&6
26041
26042 if test $ac_cv_func_shmat = no; then
26043 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
26044 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
26045 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 else
26048 ac_check_lib_save_LIBS=$LIBS
26049 LIBS="-lipc $LIBS"
26050 cat >conftest.$ac_ext <<_ACEOF
26051 /* confdefs.h. */
26052 _ACEOF
26053 cat confdefs.h >>conftest.$ac_ext
26054 cat >>conftest.$ac_ext <<_ACEOF
26055 /* end confdefs.h. */
26056
26057 /* Override any gcc2 internal prototype to avoid an error. */
26058 #ifdef __cplusplus
26059 extern "C"
26060 #endif
26061 /* We use char because int might match the return type of a gcc2
26062 builtin and then its argument prototype would still apply. */
26063 char shmat ();
26064 int
26065 main ()
26066 {
26067 shmat ();
26068 ;
26069 return 0;
26070 }
26071 _ACEOF
26072 rm -f conftest.$ac_objext conftest$ac_exeext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26074 (eval $ac_link) 2>conftest.er1
26075 ac_status=$?
26076 grep -v '^ *+' conftest.er1 >conftest.err
26077 rm -f conftest.er1
26078 cat conftest.err >&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try='test -z "$ac_c_werror_flag"
26082 || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try='test -s conftest$ac_exeext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26091 ac_status=$?
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 ac_cv_lib_ipc_shmat=yes
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26098
26099 ac_cv_lib_ipc_shmat=no
26100 fi
26101 rm -f conftest.err conftest.$ac_objext \
26102 conftest$ac_exeext conftest.$ac_ext
26103 LIBS=$ac_check_lib_save_LIBS
26104 fi
26105 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
26106 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
26107 if test $ac_cv_lib_ipc_shmat = yes; then
26108 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26109 fi
26110
26111 fi
26112 fi
26113
26114 # Check for libraries that X11R6 Xt/Xaw programs need.
26115 ac_save_LDFLAGS=$LDFLAGS
26116 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26117 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26118 # check for ICE first), but we must link in the order -lSM -lICE or
26119 # we get undefined symbols. So assume we have SM if we have ICE.
26120 # These have to be linked with before -lX11, unlike the other
26121 # libraries we check for below, so use a different variable.
26122 # John Interrante, Karl Berry
26123 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
26124 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
26125 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
26126 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 else
26128 ac_check_lib_save_LIBS=$LIBS
26129 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26130 cat >conftest.$ac_ext <<_ACEOF
26131 /* confdefs.h. */
26132 _ACEOF
26133 cat confdefs.h >>conftest.$ac_ext
26134 cat >>conftest.$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26136
26137 /* Override any gcc2 internal prototype to avoid an error. */
26138 #ifdef __cplusplus
26139 extern "C"
26140 #endif
26141 /* We use char because int might match the return type of a gcc2
26142 builtin and then its argument prototype would still apply. */
26143 char IceConnectionNumber ();
26144 int
26145 main ()
26146 {
26147 IceConnectionNumber ();
26148 ;
26149 return 0;
26150 }
26151 _ACEOF
26152 rm -f conftest.$ac_objext conftest$ac_exeext
26153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26154 (eval $ac_link) 2>conftest.er1
26155 ac_status=$?
26156 grep -v '^ *+' conftest.er1 >conftest.err
26157 rm -f conftest.er1
26158 cat conftest.err >&5
26159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26160 (exit $ac_status); } &&
26161 { ac_try='test -z "$ac_c_werror_flag"
26162 || test ! -s conftest.err'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26165 ac_status=$?
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; } &&
26168 { ac_try='test -s conftest$ac_exeext'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; }; then
26174 ac_cv_lib_ICE_IceConnectionNumber=yes
26175 else
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26178
26179 ac_cv_lib_ICE_IceConnectionNumber=no
26180 fi
26181 rm -f conftest.err conftest.$ac_objext \
26182 conftest$ac_exeext conftest.$ac_ext
26183 LIBS=$ac_check_lib_save_LIBS
26184 fi
26185 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26186 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26187 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26188 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26189 fi
26190
26191 LDFLAGS=$ac_save_LDFLAGS
26192
26193 fi
26194
26195
26196 if test "$no_x" = "yes"; then
26197 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26198 echo "$as_me: error: X11 not found" >&2;}
26199 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26200 fi
26201
26202 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
26203 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26204 AFMINSTALL=afminstall
26205 COMPILED_X_PROGRAM=0
26206
26207 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26208 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26209
26210 ac_find_includes=
26211 for ac_dir in $SEARCH_INCLUDE /usr/include;
26212 do
26213 if test -f "$ac_dir/Xm/Xm.h"; then
26214 ac_find_includes=$ac_dir
26215 break
26216 fi
26217 done
26218
26219 if test "$ac_find_includes" != "" ; then
26220 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26221 echo "${ECHO_T}found in $ac_find_includes" >&6
26222
26223 if test "x$ac_find_includes" = "x/usr/include"; then
26224 ac_path_to_include=""
26225 else
26226 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26227 result=$?
26228 if test $result = 0; then
26229 ac_path_to_include=""
26230 else
26231 ac_path_to_include=" -I$ac_find_includes"
26232 fi
26233 fi
26234
26235 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26236 else
26237 cat >conftest.$ac_ext <<_ACEOF
26238 /* confdefs.h. */
26239 _ACEOF
26240 cat confdefs.h >>conftest.$ac_ext
26241 cat >>conftest.$ac_ext <<_ACEOF
26242 /* end confdefs.h. */
26243
26244 #include <Xm/Xm.h>
26245
26246 int
26247 main ()
26248 {
26249
26250 int version;
26251 version = xmUseVersion;
26252
26253 ;
26254 return 0;
26255 }
26256 _ACEOF
26257 rm -f conftest.$ac_objext
26258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26259 (eval $ac_compile) 2>conftest.er1
26260 ac_status=$?
26261 grep -v '^ *+' conftest.er1 >conftest.err
26262 rm -f conftest.er1
26263 cat conftest.err >&5
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); } &&
26266 { ac_try='test -z "$ac_c_werror_flag"
26267 || test ! -s conftest.err'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; } &&
26273 { ac_try='test -s conftest.$ac_objext'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26276 ac_status=$?
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; }; then
26279
26280 echo "$as_me:$LINENO: result: found in default search path" >&5
26281 echo "${ECHO_T}found in default search path" >&6
26282 COMPILED_X_PROGRAM=1
26283
26284 else
26285 echo "$as_me: failed program was:" >&5
26286 sed 's/^/| /' conftest.$ac_ext >&5
26287
26288
26289 echo "$as_me:$LINENO: result: no" >&5
26290 echo "${ECHO_T}no" >&6
26291 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26292 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26293 { (exit 1); exit 1; }; }
26294
26295
26296 fi
26297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26298 fi
26299
26300 if test "$COMPILED_X_PROGRAM" = 0; then
26301 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26302 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26303
26304 ac_find_libraries=
26305 for ac_dir in $SEARCH_LIB /usr/lib;
26306 do
26307 for ac_extension in a so sl dylib; do
26308 if test -f "$ac_dir/libXm.$ac_extension"; then
26309 ac_find_libraries=$ac_dir
26310 break 2
26311 fi
26312 done
26313 done
26314
26315 if test "$ac_find_libraries" != "" ; then
26316 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26317 echo "${ECHO_T}found at $ac_find_libraries" >&6
26318
26319
26320 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26321 result=$?
26322 if test $result = 0; then
26323 ac_path_to_link=""
26324 else
26325 ac_path_to_link=" -L$ac_find_libraries"
26326 fi
26327
26328 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26329 else
26330 save_CFLAGS=$CFLAGS
26331 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26332
26333 cat >conftest.$ac_ext <<_ACEOF
26334 /* confdefs.h. */
26335 _ACEOF
26336 cat confdefs.h >>conftest.$ac_ext
26337 cat >>conftest.$ac_ext <<_ACEOF
26338 /* end confdefs.h. */
26339
26340 #include <Xm/Xm.h>
26341
26342 int
26343 main ()
26344 {
26345
26346 int version;
26347 version = xmUseVersion;
26348
26349 ;
26350 return 0;
26351 }
26352 _ACEOF
26353 rm -f conftest.$ac_objext
26354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26355 (eval $ac_compile) 2>conftest.er1
26356 ac_status=$?
26357 grep -v '^ *+' conftest.er1 >conftest.err
26358 rm -f conftest.er1
26359 cat conftest.err >&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try='test -z "$ac_c_werror_flag"
26363 || test ! -s conftest.err'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26366 ac_status=$?
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; } &&
26369 { ac_try='test -s conftest.$ac_objext'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26372 ac_status=$?
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; }; then
26375
26376 echo "$as_me:$LINENO: result: found in default search path" >&5
26377 echo "${ECHO_T}found in default search path" >&6
26378 COMPILED_X_PROGRAM=1
26379
26380 else
26381 echo "$as_me: failed program was:" >&5
26382 sed 's/^/| /' conftest.$ac_ext >&5
26383
26384
26385 echo "$as_me:$LINENO: result: no" >&5
26386 echo "${ECHO_T}no" >&6
26387 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26388 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26389 { (exit 1); exit 1; }; }
26390
26391
26392 fi
26393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26394
26395 CFLAGS=$save_CFLAGS
26396 fi
26397 fi
26398
26399 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26400 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26401 libp_link=""
26402 libsm_ice_link=""
26403 libs_found=0
26404 for libp in "" " -lXp"; do
26405 if test "$libs_found" = "0"; then
26406 for libsm_ice in "" " -lSM -lICE"; do
26407 if test "$libs_found" = "0"; then
26408 save_LIBS="$LIBS"
26409 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26410 save_CFLAGS=$CFLAGS
26411 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26412
26413 cat >conftest.$ac_ext <<_ACEOF
26414 /* confdefs.h. */
26415 _ACEOF
26416 cat confdefs.h >>conftest.$ac_ext
26417 cat >>conftest.$ac_ext <<_ACEOF
26418 /* end confdefs.h. */
26419
26420 #include <Xm/Xm.h>
26421 #include <Xm/List.h>
26422
26423 int
26424 main ()
26425 {
26426
26427 XmString string = NULL;
26428 Widget w = NULL;
26429 int position = 0;
26430 XmListAddItem(w, string, position);
26431
26432 ;
26433 return 0;
26434 }
26435 _ACEOF
26436 rm -f conftest.$ac_objext conftest$ac_exeext
26437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26438 (eval $ac_link) 2>conftest.er1
26439 ac_status=$?
26440 grep -v '^ *+' conftest.er1 >conftest.err
26441 rm -f conftest.er1
26442 cat conftest.err >&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } &&
26445 { ac_try='test -z "$ac_c_werror_flag"
26446 || test ! -s conftest.err'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26449 ac_status=$?
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; } &&
26452 { ac_try='test -s conftest$ac_exeext'
26453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454 (eval $ac_try) 2>&5
26455 ac_status=$?
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); }; }; then
26458
26459 libp_link="$libp"
26460 libsm_ice_link="$libsm_ice"
26461 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26462 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26463 libs_found=1
26464
26465 else
26466 echo "$as_me: failed program was:" >&5
26467 sed 's/^/| /' conftest.$ac_ext >&5
26468
26469
26470
26471 fi
26472 rm -f conftest.err conftest.$ac_objext \
26473 conftest$ac_exeext conftest.$ac_ext
26474
26475 LIBS="$save_LIBS"
26476 CFLAGS=$save_CFLAGS
26477 fi
26478 done
26479 fi
26480 done
26481
26482 if test "$libs_found" = "0"; then
26483 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26484 echo "${ECHO_T}can't find the right libraries" >&6
26485 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26486 echo "$as_me: error: can't link a simple motif program" >&2;}
26487 { (exit 1); exit 1; }; }
26488 fi
26489
26490 save_CFLAGS=$CFLAGS
26491 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26492 echo "$as_me:$LINENO: checking for Motif 2" >&5
26493 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26494 cat >conftest.$ac_ext <<_ACEOF
26495 /* confdefs.h. */
26496 _ACEOF
26497 cat confdefs.h >>conftest.$ac_ext
26498 cat >>conftest.$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500
26501 #include <Xm/Xm.h>
26502
26503 int
26504 main ()
26505 {
26506
26507 #if XmVersion < 2000
26508 #error "Not Motif 2"
26509 #endif
26510
26511 ;
26512 return 0;
26513 }
26514 _ACEOF
26515 rm -f conftest.$ac_objext
26516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26517 (eval $ac_compile) 2>conftest.er1
26518 ac_status=$?
26519 grep -v '^ *+' conftest.er1 >conftest.err
26520 rm -f conftest.er1
26521 cat conftest.err >&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } &&
26524 { ac_try='test -z "$ac_c_werror_flag"
26525 || test ! -s conftest.err'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; } &&
26531 { ac_try='test -s conftest.$ac_objext'
26532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26533 (eval $ac_try) 2>&5
26534 ac_status=$?
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); }; }; then
26537
26538 cat >>confdefs.h <<\_ACEOF
26539 #define __WXMOTIF20__ 1
26540 _ACEOF
26541
26542 echo "$as_me:$LINENO: result: found" >&5
26543 echo "${ECHO_T}found" >&6
26544
26545 else
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.$ac_ext >&5
26548
26549
26550 cat >>confdefs.h <<\_ACEOF
26551 #define __WXMOTIF20__ 0
26552 _ACEOF
26553
26554 echo "$as_me:$LINENO: result: not found" >&5
26555 echo "${ECHO_T}not found" >&6
26556
26557 fi
26558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26559 CFLAGS=$save_CFLAGS
26560
26561 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26562 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26563 TOOLKIT=MOTIF
26564 GUIDIST=MOTIF_DIST
26565 fi
26566
26567 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26568 if test "$wxUSE_LIBXPM" = "sys"; then
26569 echo "$as_me:$LINENO: checking for Xpm library" >&5
26570 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26571
26572 ac_find_libraries=
26573 for ac_dir in $SEARCH_LIB /usr/lib;
26574 do
26575 for ac_extension in a so sl dylib; do
26576 if test -f "$ac_dir/libXpm.$ac_extension"; then
26577 ac_find_libraries=$ac_dir
26578 break 2
26579 fi
26580 done
26581 done
26582
26583 if test "$ac_find_libraries" != "" ; then
26584
26585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26586 result=$?
26587 if test $result = 0; then
26588 ac_path_to_link=""
26589 else
26590 ac_path_to_link=" -L$ac_find_libraries"
26591 fi
26592
26593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26594 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26595 echo "${ECHO_T}found at $ac_find_libraries" >&6
26596
26597 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26598 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26599 if test "${wx_cv_x11_xpm_h+set}" = set; then
26600 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 else
26602
26603 save_CFLAGS=$CFLAGS
26604 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26605
26606 cat >conftest.$ac_ext <<_ACEOF
26607 /* confdefs.h. */
26608 _ACEOF
26609 cat confdefs.h >>conftest.$ac_ext
26610 cat >>conftest.$ac_ext <<_ACEOF
26611 /* end confdefs.h. */
26612
26613 #include <X11/xpm.h>
26614
26615 int
26616 main ()
26617 {
26618
26619 int version;
26620 version = XpmLibraryVersion();
26621
26622 ;
26623 return 0;
26624 }
26625 _ACEOF
26626 rm -f conftest.$ac_objext
26627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26628 (eval $ac_compile) 2>conftest.er1
26629 ac_status=$?
26630 grep -v '^ *+' conftest.er1 >conftest.err
26631 rm -f conftest.er1
26632 cat conftest.err >&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } &&
26635 { ac_try='test -z "$ac_c_werror_flag"
26636 || test ! -s conftest.err'
26637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26638 (eval $ac_try) 2>&5
26639 ac_status=$?
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); }; } &&
26642 { ac_try='test -s conftest.$ac_objext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 wx_cv_x11_xpm_h=yes
26649 else
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.$ac_ext >&5
26652
26653 wx_cv_x11_xpm_h=no
26654
26655 fi
26656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26657
26658 CFLAGS=$save_CFLAGS
26659
26660
26661 fi
26662 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26663 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26664
26665 if test $wx_cv_x11_xpm_h = "yes"; then
26666 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26667 cat >>confdefs.h <<\_ACEOF
26668 #define wxHAVE_LIB_XPM 1
26669 _ACEOF
26670
26671 else
26672 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26673 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26674 fi
26675 fi
26676
26677 fi
26678
26679 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26680 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26681 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26683 else
26684 ac_check_lib_save_LIBS=$LIBS
26685 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26686 cat >conftest.$ac_ext <<_ACEOF
26687 /* confdefs.h. */
26688 _ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26692
26693 /* Override any gcc2 internal prototype to avoid an error. */
26694 #ifdef __cplusplus
26695 extern "C"
26696 #endif
26697 /* We use char because int might match the return type of a gcc2
26698 builtin and then its argument prototype would still apply. */
26699 char XShapeQueryExtension ();
26700 int
26701 main ()
26702 {
26703 XShapeQueryExtension ();
26704 ;
26705 return 0;
26706 }
26707 _ACEOF
26708 rm -f conftest.$ac_objext conftest$ac_exeext
26709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26710 (eval $ac_link) 2>conftest.er1
26711 ac_status=$?
26712 grep -v '^ *+' conftest.er1 >conftest.err
26713 rm -f conftest.er1
26714 cat conftest.err >&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); } &&
26717 { ac_try='test -z "$ac_c_werror_flag"
26718 || test ! -s conftest.err'
26719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26720 (eval $ac_try) 2>&5
26721 ac_status=$?
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); }; } &&
26724 { ac_try='test -s conftest$ac_exeext'
26725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26726 (eval $ac_try) 2>&5
26727 ac_status=$?
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); }; }; then
26730 ac_cv_lib_Xext_XShapeQueryExtension=yes
26731 else
26732 echo "$as_me: failed program was:" >&5
26733 sed 's/^/| /' conftest.$ac_ext >&5
26734
26735 ac_cv_lib_Xext_XShapeQueryExtension=no
26736 fi
26737 rm -f conftest.err conftest.$ac_objext \
26738 conftest$ac_exeext conftest.$ac_ext
26739 LIBS=$ac_check_lib_save_LIBS
26740 fi
26741 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26742 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26743 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26744
26745 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26746 wxHAVE_XEXT_LIB=1
26747
26748 fi
26749
26750
26751 if test "$wxHAVE_XEXT_LIB" = 1; then
26752 save_CFLAGS="$CFLAGS"
26753 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26754
26755 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26756 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26757 cat >conftest.$ac_ext <<_ACEOF
26758 /* confdefs.h. */
26759 _ACEOF
26760 cat confdefs.h >>conftest.$ac_ext
26761 cat >>conftest.$ac_ext <<_ACEOF
26762 /* end confdefs.h. */
26763
26764 #include <X11/Xlib.h>
26765 #include <X11/extensions/shape.h>
26766
26767 int
26768 main ()
26769 {
26770
26771 int dummy1, dummy2;
26772 XShapeQueryExtension((Display*)NULL,
26773 (int*)NULL, (int*)NULL);
26774
26775 ;
26776 return 0;
26777 }
26778 _ACEOF
26779 rm -f conftest.$ac_objext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26781 (eval $ac_compile) 2>conftest.er1
26782 ac_status=$?
26783 grep -v '^ *+' conftest.er1 >conftest.err
26784 rm -f conftest.er1
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26792 ac_status=$?
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try='test -s conftest.$ac_objext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26798 ac_status=$?
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26801
26802 cat >>confdefs.h <<\_ACEOF
26803 #define HAVE_XSHAPE 1
26804 _ACEOF
26805
26806 echo "$as_me:$LINENO: result: found" >&5
26807 echo "${ECHO_T}found" >&6
26808
26809 else
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.$ac_ext >&5
26812
26813
26814 echo "$as_me:$LINENO: result: not found" >&5
26815 echo "${ECHO_T}not found" >&6
26816
26817 fi
26818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26819 CFLAGS="$save_CFLAGS"
26820
26821 fi
26822 fi
26823
26824 if test "$wxUSE_MAC" = 1; then
26825 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26826 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26827 if test "$GCC" = yes; then
26828 echo "$as_me:$LINENO: result: gcc" >&5
26829 echo "${ECHO_T}gcc" >&6
26830 CPPFLAGS_PASCAL="-fpascal-strings"
26831 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26832 echo "$as_me:$LINENO: result: xlc" >&5
26833 echo "${ECHO_T}xlc" >&6
26834 CPPFLAGS_PASCAL="-qmacpstr"
26835 else
26836 echo "$as_me:$LINENO: result: none" >&5
26837 echo "${ECHO_T}none" >&6
26838 fi
26839
26840 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26841
26842 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26843 TOOLKIT=MAC
26844 GUIDIST=MACX_DIST
26845 WXBASEPORT="_carbon"
26846 fi
26847
26848 if test "$wxUSE_COCOA" = 1; then
26849 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26850 TOOLKIT=COCOA
26851 GUIDIST=COCOA_DIST
26852 fi
26853
26854 if test "$wxUSE_PM" = 1; then
26855 TOOLKIT=PM
26856 GUIDIST=GTK_DIST
26857 fi
26858
26859 if test "$TOOLKIT" = "PM" ; then
26860 TOOLKIT_DIR="os2"
26861 else
26862 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26863 fi
26864
26865 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26866
26867 if test "$wxUSE_UNIVERSAL" = "yes"; then
26868 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26869
26870 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26871 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26872
26873 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26874 if test "$wxUSE_X11" = 1; then
26875 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26876 else
26877 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26878 fi
26879 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26880 WIDGET_SET=univ
26881 else
26882 ALL_OBJECTS="\$(GUIOBJS)"
26883 ALL_SOURCES="\$(ALL_SOURCES)"
26884 ALL_HEADERS="\$(ALL_HEADERS)"
26885 fi
26886
26887 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26888
26889 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26890 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26891 fi
26892
26893 if test "$wxUSE_HTML" = "yes"; then
26894 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26895 fi
26896
26897 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26898 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26899 fi
26900 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26901 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26902 fi
26903 if test "$wxUSE_LIBPNG" = "builtin" ; then
26904 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26905 fi
26906
26907 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26908 DISTDIR="wx\$(TOOLKIT)"
26909 else
26910 USE_GUI=0
26911
26912 TOOLKIT_DIR="base"
26913
26914 if test "$USE_WIN32" = 1 ; then
26915 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26916 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26917
26918 TOOLKIT="MSW"
26919 else
26920 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26921 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26922 fi
26923
26924 ALL_SOURCES="\$(ALL_SOURCES)"
26925 ALL_HEADERS="\$(ALL_HEADERS)"
26926
26927 PORT_FILES="\${top_srcdir}/src/files.lst"
26928
26929 GUIDIST="BASE_DIST"
26930 DISTDIR="wxBase"
26931 fi
26932
26933
26934
26935
26936 IODBC_C_SRC=""
26937
26938
26939 if test "$TOOLKIT" != "MSW" ; then
26940
26941 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26942
26943 if test "${ac_cv_header_sql_h+set}" = set; then
26944 echo "$as_me:$LINENO: checking for sql.h" >&5
26945 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26946 if test "${ac_cv_header_sql_h+set}" = set; then
26947 echo $ECHO_N "(cached) $ECHO_C" >&6
26948 fi
26949 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26950 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26951 else
26952 # Is the header compilable?
26953 echo "$as_me:$LINENO: checking sql.h usability" >&5
26954 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26955 cat >conftest.$ac_ext <<_ACEOF
26956 /* confdefs.h. */
26957 _ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961 $ac_includes_default
26962 #include <sql.h>
26963 _ACEOF
26964 rm -f conftest.$ac_objext
26965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26966 (eval $ac_compile) 2>conftest.er1
26967 ac_status=$?
26968 grep -v '^ *+' conftest.er1 >conftest.err
26969 rm -f conftest.er1
26970 cat conftest.err >&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try='test -z "$ac_c_werror_flag"
26974 || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26977 ac_status=$?
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26983 ac_status=$?
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_header_compiler=yes
26987 else
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.$ac_ext >&5
26990
26991 ac_header_compiler=no
26992 fi
26993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26995 echo "${ECHO_T}$ac_header_compiler" >&6
26996
26997 # Is the header present?
26998 echo "$as_me:$LINENO: checking sql.h presence" >&5
26999 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
27000 cat >conftest.$ac_ext <<_ACEOF
27001 /* confdefs.h. */
27002 _ACEOF
27003 cat confdefs.h >>conftest.$ac_ext
27004 cat >>conftest.$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27006 #include <sql.h>
27007 _ACEOF
27008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27010 ac_status=$?
27011 grep -v '^ *+' conftest.er1 >conftest.err
27012 rm -f conftest.er1
27013 cat conftest.err >&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } >/dev/null; then
27016 if test -s conftest.err; then
27017 ac_cpp_err=$ac_c_preproc_warn_flag
27018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27019 else
27020 ac_cpp_err=
27021 fi
27022 else
27023 ac_cpp_err=yes
27024 fi
27025 if test -z "$ac_cpp_err"; then
27026 ac_header_preproc=yes
27027 else
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.$ac_ext >&5
27030
27031 ac_header_preproc=no
27032 fi
27033 rm -f conftest.err conftest.$ac_ext
27034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27035 echo "${ECHO_T}$ac_header_preproc" >&6
27036
27037 # So? What about this header?
27038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27039 yes:no: )
27040 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
27041 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
27043 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
27044 ac_header_preproc=yes
27045 ;;
27046 no:yes:* )
27047 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
27048 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
27050 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
27051 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
27052 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
27053 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
27054 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
27055 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
27056 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
27058 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
27059 (
27060 cat <<\_ASBOX
27061 ## ----------------------------------------- ##
27062 ## Report this to wx-dev@lists.wxwindows.org ##
27063 ## ----------------------------------------- ##
27064 _ASBOX
27065 ) |
27066 sed "s/^/$as_me: WARNING: /" >&2
27067 ;;
27068 esac
27069 echo "$as_me:$LINENO: checking for sql.h" >&5
27070 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
27071 if test "${ac_cv_header_sql_h+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 else
27074 ac_cv_header_sql_h=$ac_header_preproc
27075 fi
27076 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
27077 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
27078
27079 fi
27080 if test $ac_cv_header_sql_h = yes; then
27081 found_sql_h=1
27082 fi
27083
27084
27085 if test "x$found_sql_h" = "x1" ; then
27086 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
27087 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
27088 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 else
27091 ac_check_lib_save_LIBS=$LIBS
27092 LIBS="-liodbc $LIBS"
27093 cat >conftest.$ac_ext <<_ACEOF
27094 /* confdefs.h. */
27095 _ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099
27100 /* Override any gcc2 internal prototype to avoid an error. */
27101 #ifdef __cplusplus
27102 extern "C"
27103 #endif
27104 /* We use char because int might match the return type of a gcc2
27105 builtin and then its argument prototype would still apply. */
27106 char SQLAllocEnv ();
27107 int
27108 main ()
27109 {
27110 SQLAllocEnv ();
27111 ;
27112 return 0;
27113 }
27114 _ACEOF
27115 rm -f conftest.$ac_objext conftest$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27118 ac_status=$?
27119 grep -v '^ *+' conftest.er1 >conftest.err
27120 rm -f conftest.er1
27121 cat conftest.err >&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try='test -z "$ac_c_werror_flag"
27125 || test ! -s conftest.err'
27126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27127 (eval $ac_try) 2>&5
27128 ac_status=$?
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); }; } &&
27131 { ac_try='test -s conftest$ac_exeext'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27134 ac_status=$?
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; }; then
27137 ac_cv_lib_iodbc_SQLAllocEnv=yes
27138 else
27139 echo "$as_me: failed program was:" >&5
27140 sed 's/^/| /' conftest.$ac_ext >&5
27141
27142 ac_cv_lib_iodbc_SQLAllocEnv=no
27143 fi
27144 rm -f conftest.err conftest.$ac_objext \
27145 conftest$ac_exeext conftest.$ac_ext
27146 LIBS=$ac_check_lib_save_LIBS
27147 fi
27148 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27149 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27150 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27151 ODBC_LINK=" -liodbc"
27152 else
27153
27154 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27155 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27156 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 else
27159 ac_check_lib_save_LIBS=$LIBS
27160 LIBS="-lunixodbc $LIBS"
27161 cat >conftest.$ac_ext <<_ACEOF
27162 /* confdefs.h. */
27163 _ACEOF
27164 cat confdefs.h >>conftest.$ac_ext
27165 cat >>conftest.$ac_ext <<_ACEOF
27166 /* end confdefs.h. */
27167
27168 /* Override any gcc2 internal prototype to avoid an error. */
27169 #ifdef __cplusplus
27170 extern "C"
27171 #endif
27172 /* We use char because int might match the return type of a gcc2
27173 builtin and then its argument prototype would still apply. */
27174 char SQLAllocEnv ();
27175 int
27176 main ()
27177 {
27178 SQLAllocEnv ();
27179 ;
27180 return 0;
27181 }
27182 _ACEOF
27183 rm -f conftest.$ac_objext conftest$ac_exeext
27184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27185 (eval $ac_link) 2>conftest.er1
27186 ac_status=$?
27187 grep -v '^ *+' conftest.er1 >conftest.err
27188 rm -f conftest.er1
27189 cat conftest.err >&5
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); } &&
27192 { ac_try='test -z "$ac_c_werror_flag"
27193 || test ! -s conftest.err'
27194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195 (eval $ac_try) 2>&5
27196 ac_status=$?
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); }; } &&
27199 { ac_try='test -s conftest$ac_exeext'
27200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201 (eval $ac_try) 2>&5
27202 ac_status=$?
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); }; }; then
27205 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27206 else
27207 echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.$ac_ext >&5
27209
27210 ac_cv_lib_unixodbc_SQLAllocEnv=no
27211 fi
27212 rm -f conftest.err conftest.$ac_objext \
27213 conftest$ac_exeext conftest.$ac_ext
27214 LIBS=$ac_check_lib_save_LIBS
27215 fi
27216 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27217 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27218 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27219 ODBC_LINK=" -lunixodbc"
27220 else
27221
27222 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27223 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27224 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27225 echo $ECHO_N "(cached) $ECHO_C" >&6
27226 else
27227 ac_check_lib_save_LIBS=$LIBS
27228 LIBS="-lodbc $LIBS"
27229 cat >conftest.$ac_ext <<_ACEOF
27230 /* confdefs.h. */
27231 _ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27235
27236 /* Override any gcc2 internal prototype to avoid an error. */
27237 #ifdef __cplusplus
27238 extern "C"
27239 #endif
27240 /* We use char because int might match the return type of a gcc2
27241 builtin and then its argument prototype would still apply. */
27242 char SQLAllocEnv ();
27243 int
27244 main ()
27245 {
27246 SQLAllocEnv ();
27247 ;
27248 return 0;
27249 }
27250 _ACEOF
27251 rm -f conftest.$ac_objext conftest$ac_exeext
27252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27253 (eval $ac_link) 2>conftest.er1
27254 ac_status=$?
27255 grep -v '^ *+' conftest.er1 >conftest.err
27256 rm -f conftest.er1
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } &&
27260 { ac_try='test -z "$ac_c_werror_flag"
27261 || test ! -s conftest.err'
27262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27263 (eval $ac_try) 2>&5
27264 ac_status=$?
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); }; } &&
27267 { ac_try='test -s conftest$ac_exeext'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27270 ac_status=$?
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; }; then
27273 ac_cv_lib_odbc_SQLAllocEnv=yes
27274 else
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.$ac_ext >&5
27277
27278 ac_cv_lib_odbc_SQLAllocEnv=no
27279 fi
27280 rm -f conftest.err conftest.$ac_objext \
27281 conftest$ac_exeext conftest.$ac_ext
27282 LIBS=$ac_check_lib_save_LIBS
27283 fi
27284 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27285 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27286 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27287 ODBC_LINK=" -lodbc"
27288 fi
27289
27290
27291 fi
27292
27293
27294 fi
27295
27296 fi
27297 if test "x$ODBC_LINK" = "x" ; then
27298 if test "$wxUSE_ODBC" = "sys" ; then
27299 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27300 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27301 { (exit 1); exit 1; }; }
27302 else
27303 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27304 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27305 wxUSE_ODBC=builtin
27306 fi
27307 else
27308 wxUSE_ODBC=sys
27309 fi
27310 fi
27311 if test "$wxUSE_ODBC" != "no" ; then
27312 cat >>confdefs.h <<\_ACEOF
27313 #define wxUSE_ODBC 1
27314 _ACEOF
27315
27316 if test "$wxUSE_ODBC" = "builtin" ; then
27317 cat >>confdefs.h <<\_ACEOF
27318 #define wxUSE_BUILTIN_IODBC 1
27319 _ACEOF
27320
27321 fi
27322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27323
27324 WXODBCFLAG="-D_IODBC_"
27325 fi
27326 fi
27327
27328 if test "$wxUSE_REGEX" = "builtin" ; then
27329 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
27330 fi
27331 if test "$wxUSE_ZLIB" = "builtin" ; then
27332 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
27333 fi
27334
27335 if test "$wxUSE_DISPLAY" = "yes"; then
27336 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27337 echo "$as_me:$LINENO: checking for Xinerama" >&5
27338 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27339
27340 ac_find_libraries=
27341 for ac_dir in $SEARCH_LIB /usr/lib;
27342 do
27343 for ac_extension in a so sl dylib; do
27344 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27345 ac_find_libraries=$ac_dir
27346 break 2
27347 fi
27348 done
27349 done
27350
27351 if test "$ac_find_libraries" != "" ; then
27352
27353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27354 result=$?
27355 if test $result = 0; then
27356 ac_path_to_link=""
27357 else
27358 ac_path_to_link=" -L$ac_find_libraries"
27359 fi
27360
27361 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27362 LDFLAGS="$LDFLAGS $ac_path_to_link"
27363 fi
27364 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27365 echo "$as_me:$LINENO: result: yes" >&5
27366 echo "${ECHO_T}yes" >&6
27367
27368 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27369 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27370
27371 ac_find_libraries=
27372 for ac_dir in $SEARCH_LIB /usr/lib;
27373 do
27374 for ac_extension in a so sl dylib; do
27375 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27376 ac_find_libraries=$ac_dir
27377 break 2
27378 fi
27379 done
27380 done
27381
27382 if test "$ac_find_libraries" != "" ; then
27383 echo "$as_me:$LINENO: result: yes" >&5
27384 echo "${ECHO_T}yes" >&6
27385
27386 for ac_header in X11/extensions/xf86vmode.h
27387 do
27388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27389 echo "$as_me:$LINENO: checking for $ac_header" >&5
27390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27392 echo $ECHO_N "(cached) $ECHO_C" >&6
27393 else
27394 cat >conftest.$ac_ext <<_ACEOF
27395 /* confdefs.h. */
27396 _ACEOF
27397 cat confdefs.h >>conftest.$ac_ext
27398 cat >>conftest.$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27400
27401 #if HAVE_X11_XLIB_H
27402 #include <X11/Xlib.h>
27403 #endif
27404
27405
27406 #include <$ac_header>
27407 _ACEOF
27408 rm -f conftest.$ac_objext
27409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27410 (eval $ac_compile) 2>conftest.er1
27411 ac_status=$?
27412 grep -v '^ *+' conftest.er1 >conftest.err
27413 rm -f conftest.er1
27414 cat conftest.err >&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } &&
27417 { ac_try='test -z "$ac_c_werror_flag"
27418 || test ! -s conftest.err'
27419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27420 (eval $ac_try) 2>&5
27421 ac_status=$?
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); }; } &&
27424 { ac_try='test -s conftest.$ac_objext'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; }; then
27430 eval "$as_ac_Header=yes"
27431 else
27432 echo "$as_me: failed program was:" >&5
27433 sed 's/^/| /' conftest.$ac_ext >&5
27434
27435 eval "$as_ac_Header=no"
27436 fi
27437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27438 fi
27439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27441 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27442 cat >>confdefs.h <<_ACEOF
27443 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27444 _ACEOF
27445
27446 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27447
27448 fi
27449
27450 done
27451
27452 else
27453 echo "$as_me:$LINENO: result: no" >&5
27454 echo "${ECHO_T}no" >&6
27455 fi
27456
27457 else
27458 echo "$as_me:$LINENO: result: no" >&5
27459 echo "${ECHO_T}no" >&6
27460 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27461 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27462 wxUSE_DISPLAY="no"
27463 fi
27464 fi
27465 fi
27466
27467
27468 USE_OPENGL=0
27469 if test "$wxUSE_OPENGL" = "yes"; then
27470 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27471 OPENGL_LIBS="-framework OpenGL -framework AGL"
27472 elif test "$wxUSE_MSW" = 1; then
27473 OPENGL_LIBS="-lopengl32 -lglu32"
27474 else
27475
27476
27477 ac_find_includes=
27478 for ac_dir in $SEARCH_INCLUDE /usr/include;
27479 do
27480 if test -f "$ac_dir/GL/gl.h"; then
27481 ac_find_includes=$ac_dir
27482 break
27483 fi
27484 done
27485
27486 if test "$ac_find_includes" != "" ; then
27487 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27488 echo "${ECHO_T}found in $ac_find_includes" >&6
27489
27490 if test "x$ac_find_includes" = "x/usr/include"; then
27491 ac_path_to_include=""
27492 else
27493 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27494 result=$?
27495 if test $result = 0; then
27496 ac_path_to_include=""
27497 else
27498 ac_path_to_include=" -I$ac_find_includes"
27499 fi
27500 fi
27501
27502 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27503 fi
27504
27505 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27506 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27507 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27508 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27509 echo $ECHO_N "(cached) $ECHO_C" >&6
27510 fi
27511 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27512 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27513 else
27514 # Is the header compilable?
27515 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27516 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27517 cat >conftest.$ac_ext <<_ACEOF
27518 /* confdefs.h. */
27519 _ACEOF
27520 cat confdefs.h >>conftest.$ac_ext
27521 cat >>conftest.$ac_ext <<_ACEOF
27522 /* end confdefs.h. */
27523 $ac_includes_default
27524 #include <GL/gl.h>
27525 _ACEOF
27526 rm -f conftest.$ac_objext
27527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27528 (eval $ac_compile) 2>conftest.er1
27529 ac_status=$?
27530 grep -v '^ *+' conftest.er1 >conftest.err
27531 rm -f conftest.er1
27532 cat conftest.err >&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } &&
27535 { ac_try='test -z "$ac_c_werror_flag"
27536 || test ! -s conftest.err'
27537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27538 (eval $ac_try) 2>&5
27539 ac_status=$?
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); }; } &&
27542 { ac_try='test -s conftest.$ac_objext'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27545 ac_status=$?
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; }; then
27548 ac_header_compiler=yes
27549 else
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.$ac_ext >&5
27552
27553 ac_header_compiler=no
27554 fi
27555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27557 echo "${ECHO_T}$ac_header_compiler" >&6
27558
27559 # Is the header present?
27560 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27561 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27562 cat >conftest.$ac_ext <<_ACEOF
27563 /* confdefs.h. */
27564 _ACEOF
27565 cat confdefs.h >>conftest.$ac_ext
27566 cat >>conftest.$ac_ext <<_ACEOF
27567 /* end confdefs.h. */
27568 #include <GL/gl.h>
27569 _ACEOF
27570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27572 ac_status=$?
27573 grep -v '^ *+' conftest.er1 >conftest.err
27574 rm -f conftest.er1
27575 cat conftest.err >&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); } >/dev/null; then
27578 if test -s conftest.err; then
27579 ac_cpp_err=$ac_c_preproc_warn_flag
27580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27581 else
27582 ac_cpp_err=
27583 fi
27584 else
27585 ac_cpp_err=yes
27586 fi
27587 if test -z "$ac_cpp_err"; then
27588 ac_header_preproc=yes
27589 else
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.$ac_ext >&5
27592
27593 ac_header_preproc=no
27594 fi
27595 rm -f conftest.err conftest.$ac_ext
27596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27597 echo "${ECHO_T}$ac_header_preproc" >&6
27598
27599 # So? What about this header?
27600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27601 yes:no: )
27602 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27603 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27604 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27605 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27606 ac_header_preproc=yes
27607 ;;
27608 no:yes:* )
27609 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27610 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27611 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27612 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27613 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27614 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27615 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27616 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27617 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27618 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27619 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27620 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27621 (
27622 cat <<\_ASBOX
27623 ## ----------------------------------------- ##
27624 ## Report this to wx-dev@lists.wxwindows.org ##
27625 ## ----------------------------------------- ##
27626 _ASBOX
27627 ) |
27628 sed "s/^/$as_me: WARNING: /" >&2
27629 ;;
27630 esac
27631 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27632 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27633 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27634 echo $ECHO_N "(cached) $ECHO_C" >&6
27635 else
27636 ac_cv_header_GL_gl_h=$ac_header_preproc
27637 fi
27638 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27639 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27640
27641 fi
27642 if test $ac_cv_header_GL_gl_h = yes; then
27643
27644 found_gl=0
27645
27646 echo "$as_me:$LINENO: checking for -lGL" >&5
27647 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27648
27649 ac_find_libraries=
27650 for ac_dir in $SEARCH_LIB /usr/lib;
27651 do
27652 for ac_extension in a so sl dylib; do
27653 if test -f "$ac_dir/libGL.$ac_extension"; then
27654 ac_find_libraries=$ac_dir
27655 break 2
27656 fi
27657 done
27658 done
27659
27660 if test "$ac_find_libraries" != "" ; then
27661
27662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27663 result=$?
27664 if test $result = 0; then
27665 ac_path_to_link=""
27666 else
27667 ac_path_to_link=" -L$ac_find_libraries"
27668 fi
27669
27670 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27671 LDFLAGS_GL="$ac_path_to_link"
27672 fi
27673
27674
27675 ac_find_libraries=
27676 for ac_dir in $SEARCH_LIB /usr/lib;
27677 do
27678 for ac_extension in a so sl dylib; do
27679 if test -f "$ac_dir/libGLU.$ac_extension"; then
27680 ac_find_libraries=$ac_dir
27681 break 2
27682 fi
27683 done
27684 done
27685
27686 if test "$ac_find_libraries" != "" ; then
27687
27688 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27689 result=$?
27690 if test $result = 0; then
27691 ac_path_to_link=""
27692 else
27693 ac_path_to_link=" -L$ac_find_libraries"
27694 fi
27695
27696 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27697 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27698 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27699 fi
27700
27701 found_gl=1
27702 OPENGL_LIBS="-lGL -lGLU"
27703 echo "$as_me:$LINENO: result: yes" >&5
27704 echo "${ECHO_T}yes" >&6
27705 fi
27706 fi
27707
27708 if test "$found_gl" != 1; then
27709 echo "$as_me:$LINENO: result: no" >&5
27710 echo "${ECHO_T}no" >&6
27711 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27712 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27713
27714 ac_find_libraries=
27715 for ac_dir in $SEARCH_LIB /usr/lib;
27716 do
27717 for ac_extension in a so sl dylib; do
27718 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27719 ac_find_libraries=$ac_dir
27720 break 2
27721 fi
27722 done
27723 done
27724
27725 if test "$ac_find_libraries" != "" ; then
27726
27727 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27728 result=$?
27729 if test $result = 0; then
27730 ac_path_to_link=""
27731 else
27732 ac_path_to_link=" -L$ac_find_libraries"
27733 fi
27734
27735 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27736 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27737 echo "$as_me:$LINENO: result: yes" >&5
27738 echo "${ECHO_T}yes" >&6
27739 else
27740 echo "$as_me:$LINENO: result: no" >&5
27741 echo "${ECHO_T}no" >&6
27742 fi
27743 fi
27744
27745 fi
27746
27747
27748
27749 if test "x$OPENGL_LIBS" = "x"; then
27750 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27751 echo "$as_me: error: OpenGL libraries not available" >&2;}
27752 { (exit 1); exit 1; }; }
27753 fi
27754 fi
27755
27756 if test "$wxUSE_OPENGL" = "yes"; then
27757 USE_OPENGL=1
27758 cat >>confdefs.h <<\_ACEOF
27759 #define wxUSE_OPENGL 1
27760 _ACEOF
27761
27762 cat >>confdefs.h <<\_ACEOF
27763 #define wxUSE_GLCANVAS 1
27764 _ACEOF
27765
27766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27767 fi
27768 fi
27769
27770 if test -z "$TOOLKIT_VPATH" ; then
27771 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27772 fi
27773
27774 if test -n "$TOOLKIT" ; then
27775 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27776 fi
27777
27778 UNICODE=0
27779 lib_unicode_suffix=
27780 if test "$wxUSE_UNICODE" = "yes"; then
27781 lib_unicode_suffix=u
27782 UNICODE=1
27783 fi
27784
27785 lib_debug_suffix=
27786 DEBUG_FLAG=0
27787 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27788 lib_debug_suffix=d
27789 DEBUG_FLAG=1
27790 fi
27791
27792 DEBUG_INFO=0
27793 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27794 DEBUG_INFO=1
27795 fi
27796
27797 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27798
27799 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27800 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27801
27802 if test "$cross_compiling" = "yes"; then
27803 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27804 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27805 HOST_SUFFIX="-${host_alias}"
27806 fi
27807
27808 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27809 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27810 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27811 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27812
27813 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27814 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27815
27816 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27817 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27818 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27819 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27820
27821 case "${host}" in
27822 *-*-cygwin* | *-*-mingw32* )
27823 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27824 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27825 ;;
27826
27827 *-*-darwin* )
27828
27829 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27830 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27831
27832 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27833 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27834 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27835 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27836
27837 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27838 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27839 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27840 fi
27841 ;;
27842 esac
27843
27844 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27845 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27846
27847 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27848 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27849
27850 if test "$wxUSE_OPENGL" = "yes"; then
27851 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27852 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27853 fi
27854
27855
27856
27857 if test "$wxUSE_SHARED" = "yes"; then
27858 case "${host}" in
27859 *-pc-msdosdjgpp )
27860 wxUSE_SHARED=no
27861 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27862 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27863 ;;
27864 esac
27865 fi
27866
27867 SHARED=0
27868 if test "$wxUSE_SHARED" = "yes"; then
27869 SHARED=1
27870
27871
27872 found_versioning=no
27873
27874
27875 if test $found_versioning = no ; then
27876 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27877 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27878 if test "${wx_cv_version_script+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27880 else
27881
27882 echo "VER_1 { *; };" >conftest.sym
27883 echo "int main() { return 0; }" >conftest.cpp
27884
27885 if { ac_try='
27886 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27887 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27889 (eval $ac_try) 2>&5
27890 ac_status=$?
27891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27892 (exit $ac_status); }; } ; then
27893 if test -s conftest.stderr ; then
27894 wx_cv_version_script=no
27895 else
27896 wx_cv_version_script=yes
27897 fi
27898 else
27899 wx_cv_version_script=no
27900 fi
27901 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27902
27903 fi
27904 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27905 echo "${ECHO_T}$wx_cv_version_script" >&6
27906 if test $wx_cv_version_script = yes ; then
27907 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27908 fi
27909 fi
27910
27911
27912 case "${host}" in
27913 *-*-linux* | *-*-gnu* )
27914 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27915 ;;
27916
27917 *-*-solaris2* )
27918 if test "$GCC" = yes ; then
27919 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27920
27921 saveLdflags="$LDFLAGS"
27922 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27923 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27924 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27925 cat >conftest.$ac_ext <<_ACEOF
27926 /* confdefs.h. */
27927 _ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27931
27932 int
27933 main ()
27934 {
27935
27936 ;
27937 return 0;
27938 }
27939 _ACEOF
27940 rm -f conftest.$ac_objext conftest$ac_exeext
27941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27942 (eval $ac_link) 2>conftest.er1
27943 ac_status=$?
27944 grep -v '^ *+' conftest.er1 >conftest.err
27945 rm -f conftest.er1
27946 cat conftest.err >&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try='test -z "$ac_c_werror_flag"
27950 || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27953 ac_status=$?
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try='test -s conftest$ac_exeext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27959 ac_status=$?
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27962
27963 echo "$as_me:$LINENO: result: yes" >&5
27964 echo "${ECHO_T}yes" >&6
27965 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27966
27967 else
27968 echo "$as_me: failed program was:" >&5
27969 sed 's/^/| /' conftest.$ac_ext >&5
27970
27971
27972 echo "$as_me:$LINENO: result: no" >&5
27973 echo "${ECHO_T}no" >&6
27974 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27975 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27976 LDFLAGS="$saveLdflags -Wl,-R,/"
27977 cat >conftest.$ac_ext <<_ACEOF
27978 /* confdefs.h. */
27979 _ACEOF
27980 cat confdefs.h >>conftest.$ac_ext
27981 cat >>conftest.$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27983
27984 int
27985 main ()
27986 {
27987
27988 ;
27989 return 0;
27990 }
27991 _ACEOF
27992 rm -f conftest.$ac_objext conftest$ac_exeext
27993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27994 (eval $ac_link) 2>conftest.er1
27995 ac_status=$?
27996 grep -v '^ *+' conftest.er1 >conftest.err
27997 rm -f conftest.er1
27998 cat conftest.err >&5
27999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28000 (exit $ac_status); } &&
28001 { ac_try='test -z "$ac_c_werror_flag"
28002 || test ! -s conftest.err'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28005 ac_status=$?
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; } &&
28008 { ac_try='test -s conftest$ac_exeext'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28011 ac_status=$?
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; }; then
28014
28015 echo "$as_me:$LINENO: result: yes" >&5
28016 echo "${ECHO_T}yes" >&6
28017 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28018 else
28019 echo "$as_me: failed program was:" >&5
28020 sed 's/^/| /' conftest.$ac_ext >&5
28021
28022
28023 echo "$as_me:$LINENO: result: no" >&5
28024 echo "${ECHO_T}no" >&6
28025
28026 fi
28027 rm -f conftest.err conftest.$ac_objext \
28028 conftest$ac_exeext conftest.$ac_ext
28029
28030 fi
28031 rm -f conftest.err conftest.$ac_objext \
28032 conftest$ac_exeext conftest.$ac_ext
28033 LDFLAGS="$saveLdflags"
28034 else
28035 SHARED_LD="${CXX} -G -o"
28036 PIC_FLAG="-KPIC"
28037 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28038 fi
28039 ;;
28040
28041 powerpc-*-darwin* )
28042 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28043 cat <<EOF >change-install-names
28044 #!/bin/sh
28045 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28046 inst_cmd="install_name_tool "
28047 for i in \${libnames} ; do
28048 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28049 done
28050 \${inst_cmd} \${3}
28051 EOF
28052 chmod +x change-install-names
28053 ;;
28054
28055 *-*-cygwin* | *-*-mingw32* )
28056 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28057 ;;
28058
28059 esac
28060
28061 if test "x$WX_TARGET_LIBRARY" = "x"; then
28062 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
28063 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
28064 fi
28065
28066 WX_TARGET_LIBRARY_TYPE="so"
28067 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
28068 fi
28069
28070 if test "$wxUSE_SHARED" = "no"; then
28071
28072 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28073 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28074 fi
28075
28076 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28077 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28078 fi
28079
28080 if test "$wxUSE_OPENGL" = "yes"; then
28081 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
28082 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28083 else
28084 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28085 fi
28086
28087 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
28088 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
28089
28090 WX_TARGET_LIBRARY_TYPE="a"
28091 INSTALL_LIBRARY='$(INSTALL_DATA)'
28092
28093 STATIC_FLAG="yes"
28094 else
28095 STATIC_FLAG="no"
28096 fi
28097
28098 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28099 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28100 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
28101 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
28102
28103 # Extract the first word of "Rez", so it can be a program name with args.
28104 set dummy Rez; ac_word=$2
28105 echo "$as_me:$LINENO: checking for $ac_word" >&5
28106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28107 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28108 echo $ECHO_N "(cached) $ECHO_C" >&6
28109 else
28110 if test -n "$RESCOMP"; then
28111 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28112 else
28113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28114 for as_dir in $PATH
28115 do
28116 IFS=$as_save_IFS
28117 test -z "$as_dir" && as_dir=.
28118 for ac_exec_ext in '' $ac_executable_extensions; do
28119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28120 ac_cv_prog_RESCOMP="Rez"
28121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28122 break 2
28123 fi
28124 done
28125 done
28126
28127 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28128 fi
28129 fi
28130 RESCOMP=$ac_cv_prog_RESCOMP
28131 if test -n "$RESCOMP"; then
28132 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28133 echo "${ECHO_T}$RESCOMP" >&6
28134 else
28135 echo "$as_me:$LINENO: result: no" >&5
28136 echo "${ECHO_T}no" >&6
28137 fi
28138
28139 # Extract the first word of "DeRez", so it can be a program name with args.
28140 set dummy DeRez; ac_word=$2
28141 echo "$as_me:$LINENO: checking for $ac_word" >&5
28142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28143 if test "${ac_cv_prog_DEREZ+set}" = set; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28145 else
28146 if test -n "$DEREZ"; then
28147 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28148 else
28149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28150 for as_dir in $PATH
28151 do
28152 IFS=$as_save_IFS
28153 test -z "$as_dir" && as_dir=.
28154 for ac_exec_ext in '' $ac_executable_extensions; do
28155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28156 ac_cv_prog_DEREZ="DeRez"
28157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28158 break 2
28159 fi
28160 done
28161 done
28162
28163 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28164 fi
28165 fi
28166 DEREZ=$ac_cv_prog_DEREZ
28167 if test -n "$DEREZ"; then
28168 echo "$as_me:$LINENO: result: $DEREZ" >&5
28169 echo "${ECHO_T}$DEREZ" >&6
28170 else
28171 echo "$as_me:$LINENO: result: no" >&5
28172 echo "${ECHO_T}no" >&6
28173 fi
28174
28175 # Extract the first word of "SetFile", so it can be a program name with args.
28176 set dummy SetFile; ac_word=$2
28177 echo "$as_me:$LINENO: checking for $ac_word" >&5
28178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28179 if test "${ac_cv_prog_SETFILE+set}" = set; then
28180 echo $ECHO_N "(cached) $ECHO_C" >&6
28181 else
28182 if test -n "$SETFILE"; then
28183 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28184 else
28185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28186 for as_dir in $PATH
28187 do
28188 IFS=$as_save_IFS
28189 test -z "$as_dir" && as_dir=.
28190 for ac_exec_ext in '' $ac_executable_extensions; do
28191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28192 ac_cv_prog_SETFILE="SetFile"
28193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28194 break 2
28195 fi
28196 done
28197 done
28198
28199 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28200 fi
28201 fi
28202 SETFILE=$ac_cv_prog_SETFILE
28203 if test -n "$SETFILE"; then
28204 echo "$as_me:$LINENO: result: $SETFILE" >&5
28205 echo "${ECHO_T}$SETFILE" >&6
28206 else
28207 echo "$as_me:$LINENO: result: no" >&5
28208 echo "${ECHO_T}no" >&6
28209 fi
28210
28211
28212 MACSETFILE="\$(SETFILE)"
28213
28214 if test "$wxUSE_MAC" = 1; then
28215 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28216
28217 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28218 else
28219 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28220 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28221 fi
28222 else
28223 MACSETFILE="@#"
28224 MACRESWXCONFIG="#"
28225
28226 if test "$wxUSE_PM" = 1; then
28227 MACRESCOMP="emxbind -ep"
28228 else
28229 MACRESCOMP="@#"
28230 fi
28231 fi
28232
28233
28234
28235 echo "$as_me:$LINENO: checking for mode_t" >&5
28236 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28237 if test "${ac_cv_type_mode_t+set}" = set; then
28238 echo $ECHO_N "(cached) $ECHO_C" >&6
28239 else
28240 cat >conftest.$ac_ext <<_ACEOF
28241 /* confdefs.h. */
28242 _ACEOF
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246 $ac_includes_default
28247 int
28248 main ()
28249 {
28250 if ((mode_t *) 0)
28251 return 0;
28252 if (sizeof (mode_t))
28253 return 0;
28254 ;
28255 return 0;
28256 }
28257 _ACEOF
28258 rm -f conftest.$ac_objext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28260 (eval $ac_compile) 2>conftest.er1
28261 ac_status=$?
28262 grep -v '^ *+' conftest.er1 >conftest.err
28263 rm -f conftest.er1
28264 cat conftest.err >&5
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); } &&
28267 { ac_try='test -z "$ac_c_werror_flag"
28268 || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_type_mode_t=yes
28281 else
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.$ac_ext >&5
28284
28285 ac_cv_type_mode_t=no
28286 fi
28287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28288 fi
28289 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28290 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28291 if test $ac_cv_type_mode_t = yes; then
28292 :
28293 else
28294
28295 cat >>confdefs.h <<_ACEOF
28296 #define mode_t int
28297 _ACEOF
28298
28299 fi
28300
28301 echo "$as_me:$LINENO: checking for off_t" >&5
28302 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28303 if test "${ac_cv_type_off_t+set}" = set; then
28304 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 else
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28313 int
28314 main ()
28315 {
28316 if ((off_t *) 0)
28317 return 0;
28318 if (sizeof (off_t))
28319 return 0;
28320 ;
28321 return 0;
28322 }
28323 _ACEOF
28324 rm -f conftest.$ac_objext
28325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28326 (eval $ac_compile) 2>conftest.er1
28327 ac_status=$?
28328 grep -v '^ *+' conftest.er1 >conftest.err
28329 rm -f conftest.er1
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try='test -z "$ac_c_werror_flag"
28334 || test ! -s conftest.err'
28335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28336 (eval $ac_try) 2>&5
28337 ac_status=$?
28338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28339 (exit $ac_status); }; } &&
28340 { ac_try='test -s conftest.$ac_objext'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28343 ac_status=$?
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; }; then
28346 ac_cv_type_off_t=yes
28347 else
28348 echo "$as_me: failed program was:" >&5
28349 sed 's/^/| /' conftest.$ac_ext >&5
28350
28351 ac_cv_type_off_t=no
28352 fi
28353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28354 fi
28355 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28356 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28357 if test $ac_cv_type_off_t = yes; then
28358 :
28359 else
28360
28361 cat >>confdefs.h <<_ACEOF
28362 #define off_t long
28363 _ACEOF
28364
28365 fi
28366
28367 echo "$as_me:$LINENO: checking for pid_t" >&5
28368 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28369 if test "${ac_cv_type_pid_t+set}" = set; then
28370 echo $ECHO_N "(cached) $ECHO_C" >&6
28371 else
28372 cat >conftest.$ac_ext <<_ACEOF
28373 /* confdefs.h. */
28374 _ACEOF
28375 cat confdefs.h >>conftest.$ac_ext
28376 cat >>conftest.$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28378 $ac_includes_default
28379 int
28380 main ()
28381 {
28382 if ((pid_t *) 0)
28383 return 0;
28384 if (sizeof (pid_t))
28385 return 0;
28386 ;
28387 return 0;
28388 }
28389 _ACEOF
28390 rm -f conftest.$ac_objext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28392 (eval $ac_compile) 2>conftest.er1
28393 ac_status=$?
28394 grep -v '^ *+' conftest.er1 >conftest.err
28395 rm -f conftest.er1
28396 cat conftest.err >&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try='test -z "$ac_c_werror_flag"
28400 || test ! -s conftest.err'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; } &&
28406 { ac_try='test -s conftest.$ac_objext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 ac_cv_type_pid_t=yes
28413 else
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.$ac_ext >&5
28416
28417 ac_cv_type_pid_t=no
28418 fi
28419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28420 fi
28421 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28422 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28423 if test $ac_cv_type_pid_t = yes; then
28424 :
28425 else
28426
28427 cat >>confdefs.h <<_ACEOF
28428 #define pid_t int
28429 _ACEOF
28430
28431 fi
28432
28433 echo "$as_me:$LINENO: checking for size_t" >&5
28434 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28435 if test "${ac_cv_type_size_t+set}" = set; then
28436 echo $ECHO_N "(cached) $ECHO_C" >&6
28437 else
28438 cat >conftest.$ac_ext <<_ACEOF
28439 /* confdefs.h. */
28440 _ACEOF
28441 cat confdefs.h >>conftest.$ac_ext
28442 cat >>conftest.$ac_ext <<_ACEOF
28443 /* end confdefs.h. */
28444 $ac_includes_default
28445 int
28446 main ()
28447 {
28448 if ((size_t *) 0)
28449 return 0;
28450 if (sizeof (size_t))
28451 return 0;
28452 ;
28453 return 0;
28454 }
28455 _ACEOF
28456 rm -f conftest.$ac_objext
28457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28458 (eval $ac_compile) 2>conftest.er1
28459 ac_status=$?
28460 grep -v '^ *+' conftest.er1 >conftest.err
28461 rm -f conftest.er1
28462 cat conftest.err >&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } &&
28465 { ac_try='test -z "$ac_c_werror_flag"
28466 || test ! -s conftest.err'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28469 ac_status=$?
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; } &&
28472 { ac_try='test -s conftest.$ac_objext'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28475 ac_status=$?
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; }; then
28478 ac_cv_type_size_t=yes
28479 else
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.$ac_ext >&5
28482
28483 ac_cv_type_size_t=no
28484 fi
28485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28486 fi
28487 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28488 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28489 if test $ac_cv_type_size_t = yes; then
28490 :
28491 else
28492
28493 cat >>confdefs.h <<_ACEOF
28494 #define size_t unsigned
28495 _ACEOF
28496
28497 fi
28498
28499 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28500 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28501 if test "${ac_cv_type_uid_t+set}" = set; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 else
28504 cat >conftest.$ac_ext <<_ACEOF
28505 /* confdefs.h. */
28506 _ACEOF
28507 cat confdefs.h >>conftest.$ac_ext
28508 cat >>conftest.$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510 #include <sys/types.h>
28511
28512 _ACEOF
28513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28514 $EGREP "uid_t" >/dev/null 2>&1; then
28515 ac_cv_type_uid_t=yes
28516 else
28517 ac_cv_type_uid_t=no
28518 fi
28519 rm -f conftest*
28520
28521 fi
28522 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28523 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28524 if test $ac_cv_type_uid_t = no; then
28525
28526 cat >>confdefs.h <<\_ACEOF
28527 #define uid_t int
28528 _ACEOF
28529
28530
28531 cat >>confdefs.h <<\_ACEOF
28532 #define gid_t int
28533 _ACEOF
28534
28535 fi
28536
28537
28538
28539
28540 ac_ext=cc
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545
28546 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28547 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28548 if test "${wx_cv_size_t_is_uint+set}" = set; then
28549 echo $ECHO_N "(cached) $ECHO_C" >&6
28550 else
28551
28552 cat >conftest.$ac_ext <<_ACEOF
28553 /* confdefs.h. */
28554 _ACEOF
28555 cat confdefs.h >>conftest.$ac_ext
28556 cat >>conftest.$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28558 #include <stddef.h>
28559 int
28560 main ()
28561 {
28562
28563 return 0; }
28564
28565 struct Foo { void foo(size_t); void foo(unsigned int); };
28566
28567 int bar() {
28568
28569 ;
28570 return 0;
28571 }
28572 _ACEOF
28573 rm -f conftest.$ac_objext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28576 ac_status=$?
28577 grep -v '^ *+' conftest.er1 >conftest.err
28578 rm -f conftest.er1
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try='test -z "$ac_cxx_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try='test -s conftest.$ac_objext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 wx_cv_size_t_is_uint=no
28596 else
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28599
28600 wx_cv_size_t_is_uint=yes
28601
28602 fi
28603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28604
28605
28606 fi
28607 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28608 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28609
28610 if test "$wx_cv_size_t_is_uint" = "yes"; then
28611 cat >>confdefs.h <<\_ACEOF
28612 #define wxSIZE_T_IS_UINT 1
28613 _ACEOF
28614
28615 else
28616 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28617 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28618 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28620 else
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h. */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 #include <stddef.h>
28628 int
28629 main ()
28630 {
28631
28632 return 0; }
28633
28634 struct Foo { void foo(size_t); void foo(unsigned long); };
28635
28636 int bar() {
28637
28638 ;
28639 return 0;
28640 }
28641 _ACEOF
28642 rm -f conftest.$ac_objext
28643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28644 (eval $ac_compile) 2>conftest.er1
28645 ac_status=$?
28646 grep -v '^ *+' conftest.er1 >conftest.err
28647 rm -f conftest.er1
28648 cat conftest.err >&5
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); } &&
28651 { ac_try='test -z "$ac_cxx_werror_flag"
28652 || test ! -s conftest.err'
28653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28654 (eval $ac_try) 2>&5
28655 ac_status=$?
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); }; } &&
28658 { ac_try='test -s conftest.$ac_objext'
28659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28660 (eval $ac_try) 2>&5
28661 ac_status=$?
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); }; }; then
28664 wx_cv_size_t_is_ulong=no
28665 else
28666 echo "$as_me: failed program was:" >&5
28667 sed 's/^/| /' conftest.$ac_ext >&5
28668
28669 wx_cv_size_t_is_ulong=yes
28670
28671 fi
28672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28673
28674 fi
28675 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28676 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28677
28678 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28679 cat >>confdefs.h <<\_ACEOF
28680 #define wxSIZE_T_IS_ULONG 1
28681 _ACEOF
28682
28683 fi
28684 fi
28685
28686 ac_ext=c
28687 ac_cpp='$CPP $CPPFLAGS'
28688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28691
28692
28693
28694 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28695 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28696 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28697 echo $ECHO_N "(cached) $ECHO_C" >&6
28698 else
28699
28700 cat >conftest.$ac_ext <<_ACEOF
28701 /* confdefs.h. */
28702 _ACEOF
28703 cat confdefs.h >>conftest.$ac_ext
28704 cat >>conftest.$ac_ext <<_ACEOF
28705 /* end confdefs.h. */
28706 #include <pwd.h>
28707 int
28708 main ()
28709 {
28710
28711 char *p;
28712 struct passwd *pw;
28713 p = pw->pw_gecos;
28714
28715 ;
28716 return 0;
28717 }
28718 _ACEOF
28719 rm -f conftest.$ac_objext
28720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28721 (eval $ac_compile) 2>conftest.er1
28722 ac_status=$?
28723 grep -v '^ *+' conftest.er1 >conftest.err
28724 rm -f conftest.er1
28725 cat conftest.err >&5
28726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 (exit $ac_status); } &&
28728 { ac_try='test -z "$ac_c_werror_flag"
28729 || test ! -s conftest.err'
28730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28731 (eval $ac_try) 2>&5
28732 ac_status=$?
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); }; } &&
28735 { ac_try='test -s conftest.$ac_objext'
28736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28737 (eval $ac_try) 2>&5
28738 ac_status=$?
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); }; }; then
28741
28742 wx_cv_struct_pw_gecos=yes
28743
28744 else
28745 echo "$as_me: failed program was:" >&5
28746 sed 's/^/| /' conftest.$ac_ext >&5
28747
28748
28749 wx_cv_struct_pw_gecos=no
28750
28751
28752 fi
28753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28754
28755
28756 fi
28757 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28758 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28759
28760 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28761 cat >>confdefs.h <<\_ACEOF
28762 #define HAVE_PW_GECOS 1
28763 _ACEOF
28764
28765 fi
28766
28767
28768 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28769 cat >>confdefs.h <<\_ACEOF
28770 #define wxUSE_WCHAR_T 1
28771 _ACEOF
28772
28773
28774 WCSLEN_FOUND=0
28775 WCHAR_LINK=
28776
28777 for ac_func in wcslen
28778 do
28779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28780 echo "$as_me:$LINENO: checking for $ac_func" >&5
28781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28782 if eval "test \"\${$as_ac_var+set}\" = set"; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 else
28785 cat >conftest.$ac_ext <<_ACEOF
28786 /* confdefs.h. */
28787 _ACEOF
28788 cat confdefs.h >>conftest.$ac_ext
28789 cat >>conftest.$ac_ext <<_ACEOF
28790 /* end confdefs.h. */
28791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28793 #define $ac_func innocuous_$ac_func
28794
28795 /* System header to define __stub macros and hopefully few prototypes,
28796 which can conflict with char $ac_func (); below.
28797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28798 <limits.h> exists even on freestanding compilers. */
28799
28800 #ifdef __STDC__
28801 # include <limits.h>
28802 #else
28803 # include <assert.h>
28804 #endif
28805
28806 #undef $ac_func
28807
28808 /* Override any gcc2 internal prototype to avoid an error. */
28809 #ifdef __cplusplus
28810 extern "C"
28811 {
28812 #endif
28813 /* We use char because int might match the return type of a gcc2
28814 builtin and then its argument prototype would still apply. */
28815 char $ac_func ();
28816 /* The GNU C library defines this for functions which it implements
28817 to always fail with ENOSYS. Some functions are actually named
28818 something starting with __ and the normal name is an alias. */
28819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28820 choke me
28821 #else
28822 char (*f) () = $ac_func;
28823 #endif
28824 #ifdef __cplusplus
28825 }
28826 #endif
28827
28828 int
28829 main ()
28830 {
28831 return f != $ac_func;
28832 ;
28833 return 0;
28834 }
28835 _ACEOF
28836 rm -f conftest.$ac_objext conftest$ac_exeext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28838 (eval $ac_link) 2>conftest.er1
28839 ac_status=$?
28840 grep -v '^ *+' conftest.er1 >conftest.err
28841 rm -f conftest.er1
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -z "$ac_c_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28849 ac_status=$?
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try='test -s conftest$ac_exeext'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28855 ac_status=$?
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; }; then
28858 eval "$as_ac_var=yes"
28859 else
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28862
28863 eval "$as_ac_var=no"
28864 fi
28865 rm -f conftest.err conftest.$ac_objext \
28866 conftest$ac_exeext conftest.$ac_ext
28867 fi
28868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28870 if test `eval echo '${'$as_ac_var'}'` = yes; then
28871 cat >>confdefs.h <<_ACEOF
28872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28873 _ACEOF
28874 WCSLEN_FOUND=1
28875 fi
28876 done
28877
28878
28879 if test "$WCSLEN_FOUND" = 0; then
28880 if test "$TOOLKIT" = "MSW"; then
28881 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28882 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28883 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28885 else
28886 ac_check_lib_save_LIBS=$LIBS
28887 LIBS="-lmsvcrt $LIBS"
28888 cat >conftest.$ac_ext <<_ACEOF
28889 /* confdefs.h. */
28890 _ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28894
28895 /* Override any gcc2 internal prototype to avoid an error. */
28896 #ifdef __cplusplus
28897 extern "C"
28898 #endif
28899 /* We use char because int might match the return type of a gcc2
28900 builtin and then its argument prototype would still apply. */
28901 char wcslen ();
28902 int
28903 main ()
28904 {
28905 wcslen ();
28906 ;
28907 return 0;
28908 }
28909 _ACEOF
28910 rm -f conftest.$ac_objext conftest$ac_exeext
28911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28912 (eval $ac_link) 2>conftest.er1
28913 ac_status=$?
28914 grep -v '^ *+' conftest.er1 >conftest.err
28915 rm -f conftest.er1
28916 cat conftest.err >&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } &&
28919 { ac_try='test -z "$ac_c_werror_flag"
28920 || test ! -s conftest.err'
28921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28922 (eval $ac_try) 2>&5
28923 ac_status=$?
28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925 (exit $ac_status); }; } &&
28926 { ac_try='test -s conftest$ac_exeext'
28927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28928 (eval $ac_try) 2>&5
28929 ac_status=$?
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); }; }; then
28932 ac_cv_lib_msvcrt_wcslen=yes
28933 else
28934 echo "$as_me: failed program was:" >&5
28935 sed 's/^/| /' conftest.$ac_ext >&5
28936
28937 ac_cv_lib_msvcrt_wcslen=no
28938 fi
28939 rm -f conftest.err conftest.$ac_objext \
28940 conftest$ac_exeext conftest.$ac_ext
28941 LIBS=$ac_check_lib_save_LIBS
28942 fi
28943 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28944 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28945 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28946 WCHAR_OK=1
28947 fi
28948
28949 else
28950 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28951 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28952 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28953 echo $ECHO_N "(cached) $ECHO_C" >&6
28954 else
28955 ac_check_lib_save_LIBS=$LIBS
28956 LIBS="-lw $LIBS"
28957 cat >conftest.$ac_ext <<_ACEOF
28958 /* confdefs.h. */
28959 _ACEOF
28960 cat confdefs.h >>conftest.$ac_ext
28961 cat >>conftest.$ac_ext <<_ACEOF
28962 /* end confdefs.h. */
28963
28964 /* Override any gcc2 internal prototype to avoid an error. */
28965 #ifdef __cplusplus
28966 extern "C"
28967 #endif
28968 /* We use char because int might match the return type of a gcc2
28969 builtin and then its argument prototype would still apply. */
28970 char wcslen ();
28971 int
28972 main ()
28973 {
28974 wcslen ();
28975 ;
28976 return 0;
28977 }
28978 _ACEOF
28979 rm -f conftest.$ac_objext conftest$ac_exeext
28980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28981 (eval $ac_link) 2>conftest.er1
28982 ac_status=$?
28983 grep -v '^ *+' conftest.er1 >conftest.err
28984 rm -f conftest.er1
28985 cat conftest.err >&5
28986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28987 (exit $ac_status); } &&
28988 { ac_try='test -z "$ac_c_werror_flag"
28989 || test ! -s conftest.err'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28992 ac_status=$?
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; } &&
28995 { ac_try='test -s conftest$ac_exeext'
28996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28997 (eval $ac_try) 2>&5
28998 ac_status=$?
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); }; }; then
29001 ac_cv_lib_w_wcslen=yes
29002 else
29003 echo "$as_me: failed program was:" >&5
29004 sed 's/^/| /' conftest.$ac_ext >&5
29005
29006 ac_cv_lib_w_wcslen=no
29007 fi
29008 rm -f conftest.err conftest.$ac_objext \
29009 conftest$ac_exeext conftest.$ac_ext
29010 LIBS=$ac_check_lib_save_LIBS
29011 fi
29012 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29013 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29014 if test $ac_cv_lib_w_wcslen = yes; then
29015
29016 WCHAR_LINK=" -lw"
29017 WCSLEN_FOUND=1
29018
29019 fi
29020
29021 fi
29022 fi
29023
29024 if test "$WCSLEN_FOUND" = 1; then
29025 cat >>confdefs.h <<\_ACEOF
29026 #define HAVE_WCSLEN 1
29027 _ACEOF
29028
29029 fi
29030
29031 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29032 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29033 fi
29034
29035
29036 for ac_func in wcsrtombs
29037 do
29038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29039 echo "$as_me:$LINENO: checking for $ac_func" >&5
29040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29041 if eval "test \"\${$as_ac_var+set}\" = set"; then
29042 echo $ECHO_N "(cached) $ECHO_C" >&6
29043 else
29044 cat >conftest.$ac_ext <<_ACEOF
29045 /* confdefs.h. */
29046 _ACEOF
29047 cat confdefs.h >>conftest.$ac_ext
29048 cat >>conftest.$ac_ext <<_ACEOF
29049 /* end confdefs.h. */
29050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29052 #define $ac_func innocuous_$ac_func
29053
29054 /* System header to define __stub macros and hopefully few prototypes,
29055 which can conflict with char $ac_func (); below.
29056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29057 <limits.h> exists even on freestanding compilers. */
29058
29059 #ifdef __STDC__
29060 # include <limits.h>
29061 #else
29062 # include <assert.h>
29063 #endif
29064
29065 #undef $ac_func
29066
29067 /* Override any gcc2 internal prototype to avoid an error. */
29068 #ifdef __cplusplus
29069 extern "C"
29070 {
29071 #endif
29072 /* We use char because int might match the return type of a gcc2
29073 builtin and then its argument prototype would still apply. */
29074 char $ac_func ();
29075 /* The GNU C library defines this for functions which it implements
29076 to always fail with ENOSYS. Some functions are actually named
29077 something starting with __ and the normal name is an alias. */
29078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29079 choke me
29080 #else
29081 char (*f) () = $ac_func;
29082 #endif
29083 #ifdef __cplusplus
29084 }
29085 #endif
29086
29087 int
29088 main ()
29089 {
29090 return f != $ac_func;
29091 ;
29092 return 0;
29093 }
29094 _ACEOF
29095 rm -f conftest.$ac_objext conftest$ac_exeext
29096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29097 (eval $ac_link) 2>conftest.er1
29098 ac_status=$?
29099 grep -v '^ *+' conftest.er1 >conftest.err
29100 rm -f conftest.er1
29101 cat conftest.err >&5
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); } &&
29104 { ac_try='test -z "$ac_c_werror_flag"
29105 || test ! -s conftest.err'
29106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29107 (eval $ac_try) 2>&5
29108 ac_status=$?
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); }; } &&
29111 { ac_try='test -s conftest$ac_exeext'
29112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29113 (eval $ac_try) 2>&5
29114 ac_status=$?
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); }; }; then
29117 eval "$as_ac_var=yes"
29118 else
29119 echo "$as_me: failed program was:" >&5
29120 sed 's/^/| /' conftest.$ac_ext >&5
29121
29122 eval "$as_ac_var=no"
29123 fi
29124 rm -f conftest.err conftest.$ac_objext \
29125 conftest$ac_exeext conftest.$ac_ext
29126 fi
29127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29129 if test `eval echo '${'$as_ac_var'}'` = yes; then
29130 cat >>confdefs.h <<_ACEOF
29131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29132 _ACEOF
29133
29134 fi
29135 done
29136
29137 else
29138 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29139 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29140 fi
29141
29142
29143
29144 ac_ext=cc
29145 ac_cpp='$CXXCPP $CPPFLAGS'
29146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29149
29150
29151
29152 for ac_func in vsnprintf
29153 do
29154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29155 echo "$as_me:$LINENO: checking for $ac_func" >&5
29156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29157 if eval "test \"\${$as_ac_var+set}\" = set"; then
29158 echo $ECHO_N "(cached) $ECHO_C" >&6
29159 else
29160 cat >conftest.$ac_ext <<_ACEOF
29161 /* confdefs.h. */
29162 _ACEOF
29163 cat confdefs.h >>conftest.$ac_ext
29164 cat >>conftest.$ac_ext <<_ACEOF
29165 /* end confdefs.h. */
29166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29168 #define $ac_func innocuous_$ac_func
29169
29170 /* System header to define __stub macros and hopefully few prototypes,
29171 which can conflict with char $ac_func (); below.
29172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29173 <limits.h> exists even on freestanding compilers. */
29174
29175 #ifdef __STDC__
29176 # include <limits.h>
29177 #else
29178 # include <assert.h>
29179 #endif
29180
29181 #undef $ac_func
29182
29183 /* Override any gcc2 internal prototype to avoid an error. */
29184 #ifdef __cplusplus
29185 extern "C"
29186 {
29187 #endif
29188 /* We use char because int might match the return type of a gcc2
29189 builtin and then its argument prototype would still apply. */
29190 char $ac_func ();
29191 /* The GNU C library defines this for functions which it implements
29192 to always fail with ENOSYS. Some functions are actually named
29193 something starting with __ and the normal name is an alias. */
29194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29195 choke me
29196 #else
29197 char (*f) () = $ac_func;
29198 #endif
29199 #ifdef __cplusplus
29200 }
29201 #endif
29202
29203 int
29204 main ()
29205 {
29206 return f != $ac_func;
29207 ;
29208 return 0;
29209 }
29210 _ACEOF
29211 rm -f conftest.$ac_objext conftest$ac_exeext
29212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29213 (eval $ac_link) 2>conftest.er1
29214 ac_status=$?
29215 grep -v '^ *+' conftest.er1 >conftest.err
29216 rm -f conftest.er1
29217 cat conftest.err >&5
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); } &&
29220 { ac_try='test -z "$ac_cxx_werror_flag"
29221 || test ! -s conftest.err'
29222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29223 (eval $ac_try) 2>&5
29224 ac_status=$?
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); }; } &&
29227 { ac_try='test -s conftest$ac_exeext'
29228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29229 (eval $ac_try) 2>&5
29230 ac_status=$?
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); }; }; then
29233 eval "$as_ac_var=yes"
29234 else
29235 echo "$as_me: failed program was:" >&5
29236 sed 's/^/| /' conftest.$ac_ext >&5
29237
29238 eval "$as_ac_var=no"
29239 fi
29240 rm -f conftest.err conftest.$ac_objext \
29241 conftest$ac_exeext conftest.$ac_ext
29242 fi
29243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29245 if test `eval echo '${'$as_ac_var'}'` = yes; then
29246 cat >>confdefs.h <<_ACEOF
29247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29248 _ACEOF
29249
29250 fi
29251 done
29252
29253
29254 if test "$ac_cv_func_vsnprintf" = "yes"; then
29255 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29256 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29257 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 else
29260
29261 cat >conftest.$ac_ext <<_ACEOF
29262 /* confdefs.h. */
29263 _ACEOF
29264 cat confdefs.h >>conftest.$ac_ext
29265 cat >>conftest.$ac_ext <<_ACEOF
29266 /* end confdefs.h. */
29267
29268 #include <stdio.h>
29269 #include <stdarg.h>
29270
29271 int
29272 main ()
29273 {
29274
29275 char *buf;
29276 va_list ap;
29277 vsnprintf(buf, 10u, "%s", ap);
29278
29279 ;
29280 return 0;
29281 }
29282 _ACEOF
29283 rm -f conftest.$ac_objext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29285 (eval $ac_compile) 2>conftest.er1
29286 ac_status=$?
29287 grep -v '^ *+' conftest.er1 >conftest.err
29288 rm -f conftest.er1
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try='test -z "$ac_cxx_werror_flag"
29293 || test ! -s conftest.err'
29294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 (eval $ac_try) 2>&5
29296 ac_status=$?
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); }; } &&
29299 { ac_try='test -s conftest.$ac_objext'
29300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29301 (eval $ac_try) 2>&5
29302 ac_status=$?
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); }; }; then
29305 wx_cv_func_vsnprintf_decl=yes
29306 else
29307 echo "$as_me: failed program was:" >&5
29308 sed 's/^/| /' conftest.$ac_ext >&5
29309
29310 wx_cv_func_vsnprintf_decl=no
29311
29312 fi
29313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29314
29315
29316 fi
29317 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29318 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29319
29320 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29321 cat >>confdefs.h <<\_ACEOF
29322 #define HAVE_VSNPRINTF_DECL 1
29323 _ACEOF
29324
29325 fi
29326 fi
29327
29328 if test "$wxUSE_UNICODE" = yes; then
29329
29330
29331
29332 for ac_func in fputwc wprintf vswprintf
29333 do
29334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29335 echo "$as_me:$LINENO: checking for $ac_func" >&5
29336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29337 if eval "test \"\${$as_ac_var+set}\" = set"; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 else
29340 cat >conftest.$ac_ext <<_ACEOF
29341 /* confdefs.h. */
29342 _ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29348 #define $ac_func innocuous_$ac_func
29349
29350 /* System header to define __stub macros and hopefully few prototypes,
29351 which can conflict with char $ac_func (); below.
29352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29353 <limits.h> exists even on freestanding compilers. */
29354
29355 #ifdef __STDC__
29356 # include <limits.h>
29357 #else
29358 # include <assert.h>
29359 #endif
29360
29361 #undef $ac_func
29362
29363 /* Override any gcc2 internal prototype to avoid an error. */
29364 #ifdef __cplusplus
29365 extern "C"
29366 {
29367 #endif
29368 /* We use char because int might match the return type of a gcc2
29369 builtin and then its argument prototype would still apply. */
29370 char $ac_func ();
29371 /* The GNU C library defines this for functions which it implements
29372 to always fail with ENOSYS. Some functions are actually named
29373 something starting with __ and the normal name is an alias. */
29374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29375 choke me
29376 #else
29377 char (*f) () = $ac_func;
29378 #endif
29379 #ifdef __cplusplus
29380 }
29381 #endif
29382
29383 int
29384 main ()
29385 {
29386 return f != $ac_func;
29387 ;
29388 return 0;
29389 }
29390 _ACEOF
29391 rm -f conftest.$ac_objext conftest$ac_exeext
29392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29393 (eval $ac_link) 2>conftest.er1
29394 ac_status=$?
29395 grep -v '^ *+' conftest.er1 >conftest.err
29396 rm -f conftest.er1
29397 cat conftest.err >&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } &&
29400 { ac_try='test -z "$ac_cxx_werror_flag"
29401 || test ! -s conftest.err'
29402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29403 (eval $ac_try) 2>&5
29404 ac_status=$?
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); }; } &&
29407 { ac_try='test -s conftest$ac_exeext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29410 ac_status=$?
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 eval "$as_ac_var=yes"
29414 else
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.$ac_ext >&5
29417
29418 eval "$as_ac_var=no"
29419 fi
29420 rm -f conftest.err conftest.$ac_objext \
29421 conftest$ac_exeext conftest.$ac_ext
29422 fi
29423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29425 if test `eval echo '${'$as_ac_var'}'` = yes; then
29426 cat >>confdefs.h <<_ACEOF
29427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29428 _ACEOF
29429
29430 fi
29431 done
29432
29433
29434 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29435 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29436 cat >conftest.$ac_ext <<_ACEOF
29437 /* confdefs.h. */
29438 _ACEOF
29439 cat confdefs.h >>conftest.$ac_ext
29440 cat >>conftest.$ac_ext <<_ACEOF
29441 /* end confdefs.h. */
29442 #include <wchar.h>
29443 int
29444 main ()
29445 {
29446 &_vsnwprintf;
29447 ;
29448 return 0;
29449 }
29450 _ACEOF
29451 rm -f conftest.$ac_objext
29452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29453 (eval $ac_compile) 2>conftest.er1
29454 ac_status=$?
29455 grep -v '^ *+' conftest.er1 >conftest.err
29456 rm -f conftest.er1
29457 cat conftest.err >&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); } &&
29460 { ac_try='test -z "$ac_cxx_werror_flag"
29461 || test ! -s conftest.err'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29464 ac_status=$?
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; } &&
29467 { ac_try='test -s conftest.$ac_objext'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29470 ac_status=$?
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; }; then
29473 echo "$as_me:$LINENO: result: yes" >&5
29474 echo "${ECHO_T}yes" >&6
29475 cat >>confdefs.h <<\_ACEOF
29476 #define HAVE__VSNWPRINTF 1
29477 _ACEOF
29478
29479 else
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.$ac_ext >&5
29482
29483 echo "$as_me:$LINENO: result: no" >&5
29484 echo "${ECHO_T}no" >&6
29485 fi
29486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29487 fi
29488
29489 ac_ext=c
29490 ac_cpp='$CPP $CPPFLAGS'
29491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29494
29495
29496
29497
29498 if test "$TOOLKIT" != "MSW"; then
29499
29500
29501
29502
29503 ac_ext=cc
29504 ac_cpp='$CXXCPP $CPPFLAGS'
29505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29508
29509
29510
29511
29512 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29513 if test "${with_libiconv_prefix+set}" = set; then
29514 withval="$with_libiconv_prefix"
29515
29516 for dir in `echo "$withval" | tr : ' '`; do
29517 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29518 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29519 done
29520
29521 fi;
29522
29523 echo "$as_me:$LINENO: checking for iconv" >&5
29524 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29525 if test "${am_cv_func_iconv+set}" = set; then
29526 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 else
29528
29529 am_cv_func_iconv="no, consider installing GNU libiconv"
29530 am_cv_lib_iconv=no
29531 cat >conftest.$ac_ext <<_ACEOF
29532 /* confdefs.h. */
29533 _ACEOF
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29537 #include <stdlib.h>
29538 #include <iconv.h>
29539 int
29540 main ()
29541 {
29542 iconv_t cd = iconv_open("","");
29543 iconv(cd,NULL,NULL,NULL,NULL);
29544 iconv_close(cd);
29545 ;
29546 return 0;
29547 }
29548 _ACEOF
29549 rm -f conftest.$ac_objext conftest$ac_exeext
29550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29551 (eval $ac_link) 2>conftest.er1
29552 ac_status=$?
29553 grep -v '^ *+' conftest.er1 >conftest.err
29554 rm -f conftest.er1
29555 cat conftest.err >&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); } &&
29558 { ac_try='test -z "$ac_cxx_werror_flag"
29559 || test ! -s conftest.err'
29560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561 (eval $ac_try) 2>&5
29562 ac_status=$?
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); }; } &&
29565 { ac_try='test -s conftest$ac_exeext'
29566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29567 (eval $ac_try) 2>&5
29568 ac_status=$?
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; }; then
29571 am_cv_func_iconv=yes
29572 else
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29575
29576 fi
29577 rm -f conftest.err conftest.$ac_objext \
29578 conftest$ac_exeext conftest.$ac_ext
29579 if test "$am_cv_func_iconv" != yes; then
29580 am_save_LIBS="$LIBS"
29581 LIBS="$LIBS -liconv"
29582 cat >conftest.$ac_ext <<_ACEOF
29583 /* confdefs.h. */
29584 _ACEOF
29585 cat confdefs.h >>conftest.$ac_ext
29586 cat >>conftest.$ac_ext <<_ACEOF
29587 /* end confdefs.h. */
29588 #include <stdlib.h>
29589 #include <iconv.h>
29590 int
29591 main ()
29592 {
29593 iconv_t cd = iconv_open("","");
29594 iconv(cd,NULL,NULL,NULL,NULL);
29595 iconv_close(cd);
29596 ;
29597 return 0;
29598 }
29599 _ACEOF
29600 rm -f conftest.$ac_objext conftest$ac_exeext
29601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29602 (eval $ac_link) 2>conftest.er1
29603 ac_status=$?
29604 grep -v '^ *+' conftest.er1 >conftest.err
29605 rm -f conftest.er1
29606 cat conftest.err >&5
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); } &&
29609 { ac_try='test -z "$ac_cxx_werror_flag"
29610 || test ! -s conftest.err'
29611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29612 (eval $ac_try) 2>&5
29613 ac_status=$?
29614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29615 (exit $ac_status); }; } &&
29616 { ac_try='test -s conftest$ac_exeext'
29617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29618 (eval $ac_try) 2>&5
29619 ac_status=$?
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); }; }; then
29622 am_cv_lib_iconv=yes
29623 am_cv_func_iconv=yes
29624 else
29625 echo "$as_me: failed program was:" >&5
29626 sed 's/^/| /' conftest.$ac_ext >&5
29627
29628 fi
29629 rm -f conftest.err conftest.$ac_objext \
29630 conftest$ac_exeext conftest.$ac_ext
29631 LIBS="$am_save_LIBS"
29632 fi
29633
29634 fi
29635 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29636 echo "${ECHO_T}$am_cv_func_iconv" >&6
29637 if test "$am_cv_func_iconv" = yes; then
29638
29639 cat >>confdefs.h <<\_ACEOF
29640 #define HAVE_ICONV 1
29641 _ACEOF
29642
29643 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29644 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29645 if test "${wx_cv_func_iconv_const+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 else
29648 cat >conftest.$ac_ext <<_ACEOF
29649 /* confdefs.h. */
29650 _ACEOF
29651 cat confdefs.h >>conftest.$ac_ext
29652 cat >>conftest.$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654
29655 #include <stdlib.h>
29656 #include <iconv.h>
29657 extern
29658 #ifdef __cplusplus
29659 "C"
29660 #endif
29661 #if defined(__STDC__) || defined(__cplusplus)
29662 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29663 #else
29664 size_t iconv();
29665 #endif
29666
29667 int
29668 main ()
29669 {
29670
29671 ;
29672 return 0;
29673 }
29674 _ACEOF
29675 rm -f conftest.$ac_objext
29676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29677 (eval $ac_compile) 2>conftest.er1
29678 ac_status=$?
29679 grep -v '^ *+' conftest.er1 >conftest.err
29680 rm -f conftest.er1
29681 cat conftest.err >&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); } &&
29684 { ac_try='test -z "$ac_cxx_werror_flag"
29685 || test ! -s conftest.err'
29686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29687 (eval $ac_try) 2>&5
29688 ac_status=$?
29689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29690 (exit $ac_status); }; } &&
29691 { ac_try='test -s conftest.$ac_objext'
29692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29693 (eval $ac_try) 2>&5
29694 ac_status=$?
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); }; }; then
29697 wx_cv_func_iconv_const="no"
29698 else
29699 echo "$as_me: failed program was:" >&5
29700 sed 's/^/| /' conftest.$ac_ext >&5
29701
29702 wx_cv_func_iconv_const="yes"
29703
29704 fi
29705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29706
29707 fi
29708 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29709 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29710
29711 iconv_const=
29712 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29713 iconv_const="const"
29714 fi
29715
29716
29717 cat >>confdefs.h <<_ACEOF
29718 #define ICONV_CONST $iconv_const
29719 _ACEOF
29720
29721 fi
29722 LIBICONV=
29723 if test "$am_cv_lib_iconv" = yes; then
29724 LIBICONV="-liconv"
29725 fi
29726
29727
29728 LIBS="$LIBICONV $LIBS"
29729 ac_ext=c
29730 ac_cpp='$CPP $CPPFLAGS'
29731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29734
29735
29736 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29737
29738 for ac_func in sigaction
29739 do
29740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29741 echo "$as_me:$LINENO: checking for $ac_func" >&5
29742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29743 if eval "test \"\${$as_ac_var+set}\" = set"; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29746 cat >conftest.$ac_ext <<_ACEOF
29747 /* confdefs.h. */
29748 _ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h. */
29752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29754 #define $ac_func innocuous_$ac_func
29755
29756 /* System header to define __stub macros and hopefully few prototypes,
29757 which can conflict with char $ac_func (); below.
29758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29759 <limits.h> exists even on freestanding compilers. */
29760
29761 #ifdef __STDC__
29762 # include <limits.h>
29763 #else
29764 # include <assert.h>
29765 #endif
29766
29767 #undef $ac_func
29768
29769 /* Override any gcc2 internal prototype to avoid an error. */
29770 #ifdef __cplusplus
29771 extern "C"
29772 {
29773 #endif
29774 /* We use char because int might match the return type of a gcc2
29775 builtin and then its argument prototype would still apply. */
29776 char $ac_func ();
29777 /* The GNU C library defines this for functions which it implements
29778 to always fail with ENOSYS. Some functions are actually named
29779 something starting with __ and the normal name is an alias. */
29780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29781 choke me
29782 #else
29783 char (*f) () = $ac_func;
29784 #endif
29785 #ifdef __cplusplus
29786 }
29787 #endif
29788
29789 int
29790 main ()
29791 {
29792 return f != $ac_func;
29793 ;
29794 return 0;
29795 }
29796 _ACEOF
29797 rm -f conftest.$ac_objext conftest$ac_exeext
29798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29799 (eval $ac_link) 2>conftest.er1
29800 ac_status=$?
29801 grep -v '^ *+' conftest.er1 >conftest.err
29802 rm -f conftest.er1
29803 cat conftest.err >&5
29804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805 (exit $ac_status); } &&
29806 { ac_try='test -z "$ac_c_werror_flag"
29807 || test ! -s conftest.err'
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); }; } &&
29813 { ac_try='test -s conftest$ac_exeext'
29814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29815 (eval $ac_try) 2>&5
29816 ac_status=$?
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); }; }; then
29819 eval "$as_ac_var=yes"
29820 else
29821 echo "$as_me: failed program was:" >&5
29822 sed 's/^/| /' conftest.$ac_ext >&5
29823
29824 eval "$as_ac_var=no"
29825 fi
29826 rm -f conftest.err conftest.$ac_objext \
29827 conftest$ac_exeext conftest.$ac_ext
29828 fi
29829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29831 if test `eval echo '${'$as_ac_var'}'` = yes; then
29832 cat >>confdefs.h <<_ACEOF
29833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29834 _ACEOF
29835
29836 fi
29837 done
29838
29839
29840 if test "$ac_cv_func_sigaction" = "no"; then
29841 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29842 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29843 wxUSE_ON_FATAL_EXCEPTION=no
29844 fi
29845
29846 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29847
29848
29849 ac_ext=cc
29850 ac_cpp='$CXXCPP $CPPFLAGS'
29851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29854
29855
29856 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29857 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29858 if test "${wx_cv_type_sa_handler+set}" = set; then
29859 echo $ECHO_N "(cached) $ECHO_C" >&6
29860 else
29861
29862 cat >conftest.$ac_ext <<_ACEOF
29863 /* confdefs.h. */
29864 _ACEOF
29865 cat confdefs.h >>conftest.$ac_ext
29866 cat >>conftest.$ac_ext <<_ACEOF
29867 /* end confdefs.h. */
29868 #include <signal.h>
29869 int
29870 main ()
29871 {
29872
29873 extern void testSigHandler(int);
29874
29875 struct sigaction sa;
29876 sa.sa_handler = testSigHandler;
29877
29878 ;
29879 return 0;
29880 }
29881 _ACEOF
29882 rm -f conftest.$ac_objext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29884 (eval $ac_compile) 2>conftest.er1
29885 ac_status=$?
29886 grep -v '^ *+' conftest.er1 >conftest.err
29887 rm -f conftest.er1
29888 cat conftest.err >&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try='test -z "$ac_cxx_werror_flag"
29892 || test ! -s conftest.err'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; } &&
29898 { ac_try='test -s conftest.$ac_objext'
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
29905 wx_cv_type_sa_handler=int
29906
29907 else
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.$ac_ext >&5
29910
29911
29912 wx_cv_type_sa_handler=void
29913
29914 fi
29915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29916
29917 fi
29918 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29919 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29920
29921 ac_ext=c
29922 ac_cpp='$CPP $CPPFLAGS'
29923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29926
29927
29928 cat >>confdefs.h <<_ACEOF
29929 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29930 _ACEOF
29931
29932 fi
29933 fi
29934
29935
29936
29937 for ac_func in mkstemp mktemp
29938 do
29939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29940 echo "$as_me:$LINENO: checking for $ac_func" >&5
29941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29942 if eval "test \"\${$as_ac_var+set}\" = set"; then
29943 echo $ECHO_N "(cached) $ECHO_C" >&6
29944 else
29945 cat >conftest.$ac_ext <<_ACEOF
29946 /* confdefs.h. */
29947 _ACEOF
29948 cat confdefs.h >>conftest.$ac_ext
29949 cat >>conftest.$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29953 #define $ac_func innocuous_$ac_func
29954
29955 /* System header to define __stub macros and hopefully few prototypes,
29956 which can conflict with char $ac_func (); below.
29957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29958 <limits.h> exists even on freestanding compilers. */
29959
29960 #ifdef __STDC__
29961 # include <limits.h>
29962 #else
29963 # include <assert.h>
29964 #endif
29965
29966 #undef $ac_func
29967
29968 /* Override any gcc2 internal prototype to avoid an error. */
29969 #ifdef __cplusplus
29970 extern "C"
29971 {
29972 #endif
29973 /* We use char because int might match the return type of a gcc2
29974 builtin and then its argument prototype would still apply. */
29975 char $ac_func ();
29976 /* The GNU C library defines this for functions which it implements
29977 to always fail with ENOSYS. Some functions are actually named
29978 something starting with __ and the normal name is an alias. */
29979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29980 choke me
29981 #else
29982 char (*f) () = $ac_func;
29983 #endif
29984 #ifdef __cplusplus
29985 }
29986 #endif
29987
29988 int
29989 main ()
29990 {
29991 return f != $ac_func;
29992 ;
29993 return 0;
29994 }
29995 _ACEOF
29996 rm -f conftest.$ac_objext conftest$ac_exeext
29997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29998 (eval $ac_link) 2>conftest.er1
29999 ac_status=$?
30000 grep -v '^ *+' conftest.er1 >conftest.err
30001 rm -f conftest.er1
30002 cat conftest.err >&5
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); } &&
30005 { ac_try='test -z "$ac_c_werror_flag"
30006 || test ! -s conftest.err'
30007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30008 (eval $ac_try) 2>&5
30009 ac_status=$?
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); }; } &&
30012 { ac_try='test -s conftest$ac_exeext'
30013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30014 (eval $ac_try) 2>&5
30015 ac_status=$?
30016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30017 (exit $ac_status); }; }; then
30018 eval "$as_ac_var=yes"
30019 else
30020 echo "$as_me: failed program was:" >&5
30021 sed 's/^/| /' conftest.$ac_ext >&5
30022
30023 eval "$as_ac_var=no"
30024 fi
30025 rm -f conftest.err conftest.$ac_objext \
30026 conftest$ac_exeext conftest.$ac_ext
30027 fi
30028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30030 if test `eval echo '${'$as_ac_var'}'` = yes; then
30031 cat >>confdefs.h <<_ACEOF
30032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30033 _ACEOF
30034 break
30035 fi
30036 done
30037
30038
30039 echo "$as_me:$LINENO: checking for statfs" >&5
30040 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30041 if test "${wx_cv_func_statfs+set}" = set; then
30042 echo $ECHO_N "(cached) $ECHO_C" >&6
30043 else
30044 cat >conftest.$ac_ext <<_ACEOF
30045 /* confdefs.h. */
30046 _ACEOF
30047 cat confdefs.h >>conftest.$ac_ext
30048 cat >>conftest.$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30050
30051 #if defined(__BSD__)
30052 #include <sys/param.h>
30053 #include <sys/mount.h>
30054 #else
30055 #include <sys/vfs.h>
30056 #endif
30057
30058 int
30059 main ()
30060 {
30061
30062 long l;
30063 struct statfs fs;
30064 statfs("/", &fs);
30065 l = fs.f_bsize;
30066 l += fs.f_blocks;
30067 l += fs.f_bavail;
30068
30069 ;
30070 return 0;
30071 }
30072 _ACEOF
30073 rm -f conftest.$ac_objext
30074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30075 (eval $ac_compile) 2>conftest.er1
30076 ac_status=$?
30077 grep -v '^ *+' conftest.er1 >conftest.err
30078 rm -f conftest.er1
30079 cat conftest.err >&5
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); } &&
30082 { ac_try='test -z "$ac_c_werror_flag"
30083 || test ! -s conftest.err'
30084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30085 (eval $ac_try) 2>&5
30086 ac_status=$?
30087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30088 (exit $ac_status); }; } &&
30089 { ac_try='test -s conftest.$ac_objext'
30090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30091 (eval $ac_try) 2>&5
30092 ac_status=$?
30093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30094 (exit $ac_status); }; }; then
30095
30096 wx_cv_func_statfs=yes
30097
30098 else
30099 echo "$as_me: failed program was:" >&5
30100 sed 's/^/| /' conftest.$ac_ext >&5
30101
30102
30103 wx_cv_func_statfs=no
30104
30105
30106 fi
30107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30108
30109 fi
30110 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30111 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30112
30113 if test "$wx_cv_func_statfs" = "yes"; then
30114 wx_cv_type_statvfs_t="struct statfs"
30115 cat >>confdefs.h <<\_ACEOF
30116 #define HAVE_STATFS 1
30117 _ACEOF
30118
30119 else
30120 echo "$as_me:$LINENO: checking for statvfs" >&5
30121 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30122 if test "${wx_cv_func_statvfs+set}" = set; then
30123 echo $ECHO_N "(cached) $ECHO_C" >&6
30124 else
30125 cat >conftest.$ac_ext <<_ACEOF
30126 /* confdefs.h. */
30127 _ACEOF
30128 cat confdefs.h >>conftest.$ac_ext
30129 cat >>conftest.$ac_ext <<_ACEOF
30130 /* end confdefs.h. */
30131
30132 #include <stddef.h>
30133 #include <sys/statvfs.h>
30134
30135 int
30136 main ()
30137 {
30138
30139 statvfs("/", NULL);
30140
30141 ;
30142 return 0;
30143 }
30144 _ACEOF
30145 rm -f conftest.$ac_objext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30147 (eval $ac_compile) 2>conftest.er1
30148 ac_status=$?
30149 grep -v '^ *+' conftest.er1 >conftest.err
30150 rm -f conftest.er1
30151 cat conftest.err >&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try='test -z "$ac_c_werror_flag"
30155 || test ! -s conftest.err'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30158 ac_status=$?
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; } &&
30161 { ac_try='test -s conftest.$ac_objext'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30164 ac_status=$?
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; }; then
30167 wx_cv_func_statvfs=yes
30168 else
30169 echo "$as_me: failed program was:" >&5
30170 sed 's/^/| /' conftest.$ac_ext >&5
30171
30172 wx_cv_func_statvfs=no
30173
30174 fi
30175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30176
30177 fi
30178 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30179 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30180
30181 if test "$wx_cv_func_statvfs" = "yes"; then
30182
30183
30184 ac_ext=cc
30185 ac_cpp='$CXXCPP $CPPFLAGS'
30186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30189
30190
30191 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30192 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30193 if test "${wx_cv_type_statvfs_t+set}" = set; then
30194 echo $ECHO_N "(cached) $ECHO_C" >&6
30195 else
30196 cat >conftest.$ac_ext <<_ACEOF
30197 /* confdefs.h. */
30198 _ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30202
30203 #include <sys/statvfs.h>
30204
30205 int
30206 main ()
30207 {
30208
30209 long l;
30210 statvfs_t fs;
30211 statvfs("/", &fs);
30212 l = fs.f_bsize;
30213 l += fs.f_blocks;
30214 l += fs.f_bavail;
30215
30216 ;
30217 return 0;
30218 }
30219 _ACEOF
30220 rm -f conftest.$ac_objext
30221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30222 (eval $ac_compile) 2>conftest.er1
30223 ac_status=$?
30224 grep -v '^ *+' conftest.er1 >conftest.err
30225 rm -f conftest.er1
30226 cat conftest.err >&5
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); } &&
30229 { ac_try='test -z "$ac_cxx_werror_flag"
30230 || test ! -s conftest.err'
30231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232 (eval $ac_try) 2>&5
30233 ac_status=$?
30234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235 (exit $ac_status); }; } &&
30236 { ac_try='test -s conftest.$ac_objext'
30237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30238 (eval $ac_try) 2>&5
30239 ac_status=$?
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); }; }; then
30242 wx_cv_type_statvfs_t=statvfs_t
30243 else
30244 echo "$as_me: failed program was:" >&5
30245 sed 's/^/| /' conftest.$ac_ext >&5
30246
30247
30248 cat >conftest.$ac_ext <<_ACEOF
30249 /* confdefs.h. */
30250 _ACEOF
30251 cat confdefs.h >>conftest.$ac_ext
30252 cat >>conftest.$ac_ext <<_ACEOF
30253 /* end confdefs.h. */
30254
30255 #include <sys/statvfs.h>
30256
30257 int
30258 main ()
30259 {
30260
30261 long l;
30262 struct statvfs fs;
30263 statvfs("/", &fs);
30264 l = fs.f_bsize;
30265 l += fs.f_blocks;
30266 l += fs.f_bavail;
30267
30268 ;
30269 return 0;
30270 }
30271 _ACEOF
30272 rm -f conftest.$ac_objext
30273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30274 (eval $ac_compile) 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try='test -z "$ac_cxx_werror_flag"
30282 || test ! -s conftest.err'
30283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284 (eval $ac_try) 2>&5
30285 ac_status=$?
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; } &&
30288 { ac_try='test -s conftest.$ac_objext'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; }; then
30294 wx_cv_type_statvfs_t="struct statvfs"
30295 else
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.$ac_ext >&5
30298
30299 wx_cv_type_statvfs_t="unknown"
30300
30301 fi
30302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30303
30304
30305 fi
30306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30307
30308 fi
30309 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30310 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30311
30312 ac_ext=c
30313 ac_cpp='$CPP $CPPFLAGS'
30314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30317
30318
30319 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30320 cat >>confdefs.h <<\_ACEOF
30321 #define HAVE_STATVFS 1
30322 _ACEOF
30323
30324 fi
30325 else
30326 wx_cv_type_statvfs_t="unknown"
30327 fi
30328 fi
30329
30330 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30331 cat >>confdefs.h <<_ACEOF
30332 #define WX_STATFS_T $wx_cv_type_statvfs_t
30333 _ACEOF
30334
30335 else
30336 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30337 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30338 fi
30339
30340 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30341
30342
30343 for ac_func in fcntl flock
30344 do
30345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30346 echo "$as_me:$LINENO: checking for $ac_func" >&5
30347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30348 if eval "test \"\${$as_ac_var+set}\" = set"; then
30349 echo $ECHO_N "(cached) $ECHO_C" >&6
30350 else
30351 cat >conftest.$ac_ext <<_ACEOF
30352 /* confdefs.h. */
30353 _ACEOF
30354 cat confdefs.h >>conftest.$ac_ext
30355 cat >>conftest.$ac_ext <<_ACEOF
30356 /* end confdefs.h. */
30357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30359 #define $ac_func innocuous_$ac_func
30360
30361 /* System header to define __stub macros and hopefully few prototypes,
30362 which can conflict with char $ac_func (); below.
30363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30364 <limits.h> exists even on freestanding compilers. */
30365
30366 #ifdef __STDC__
30367 # include <limits.h>
30368 #else
30369 # include <assert.h>
30370 #endif
30371
30372 #undef $ac_func
30373
30374 /* Override any gcc2 internal prototype to avoid an error. */
30375 #ifdef __cplusplus
30376 extern "C"
30377 {
30378 #endif
30379 /* We use char because int might match the return type of a gcc2
30380 builtin and then its argument prototype would still apply. */
30381 char $ac_func ();
30382 /* The GNU C library defines this for functions which it implements
30383 to always fail with ENOSYS. Some functions are actually named
30384 something starting with __ and the normal name is an alias. */
30385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30386 choke me
30387 #else
30388 char (*f) () = $ac_func;
30389 #endif
30390 #ifdef __cplusplus
30391 }
30392 #endif
30393
30394 int
30395 main ()
30396 {
30397 return f != $ac_func;
30398 ;
30399 return 0;
30400 }
30401 _ACEOF
30402 rm -f conftest.$ac_objext conftest$ac_exeext
30403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30404 (eval $ac_link) 2>conftest.er1
30405 ac_status=$?
30406 grep -v '^ *+' conftest.er1 >conftest.err
30407 rm -f conftest.er1
30408 cat conftest.err >&5
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); } &&
30411 { ac_try='test -z "$ac_c_werror_flag"
30412 || test ! -s conftest.err'
30413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30414 (eval $ac_try) 2>&5
30415 ac_status=$?
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); }; } &&
30418 { ac_try='test -s conftest$ac_exeext'
30419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420 (eval $ac_try) 2>&5
30421 ac_status=$?
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); }; }; then
30424 eval "$as_ac_var=yes"
30425 else
30426 echo "$as_me: failed program was:" >&5
30427 sed 's/^/| /' conftest.$ac_ext >&5
30428
30429 eval "$as_ac_var=no"
30430 fi
30431 rm -f conftest.err conftest.$ac_objext \
30432 conftest$ac_exeext conftest.$ac_ext
30433 fi
30434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30436 if test `eval echo '${'$as_ac_var'}'` = yes; then
30437 cat >>confdefs.h <<_ACEOF
30438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30439 _ACEOF
30440 break
30441 fi
30442 done
30443
30444
30445 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30446 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30447 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30448 wxUSE_SNGLINST_CHECKER=no
30449 fi
30450 fi
30451
30452
30453 for ac_func in timegm
30454 do
30455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30456 echo "$as_me:$LINENO: checking for $ac_func" >&5
30457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30458 if eval "test \"\${$as_ac_var+set}\" = set"; then
30459 echo $ECHO_N "(cached) $ECHO_C" >&6
30460 else
30461 cat >conftest.$ac_ext <<_ACEOF
30462 /* confdefs.h. */
30463 _ACEOF
30464 cat confdefs.h >>conftest.$ac_ext
30465 cat >>conftest.$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30469 #define $ac_func innocuous_$ac_func
30470
30471 /* System header to define __stub macros and hopefully few prototypes,
30472 which can conflict with char $ac_func (); below.
30473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30474 <limits.h> exists even on freestanding compilers. */
30475
30476 #ifdef __STDC__
30477 # include <limits.h>
30478 #else
30479 # include <assert.h>
30480 #endif
30481
30482 #undef $ac_func
30483
30484 /* Override any gcc2 internal prototype to avoid an error. */
30485 #ifdef __cplusplus
30486 extern "C"
30487 {
30488 #endif
30489 /* We use char because int might match the return type of a gcc2
30490 builtin and then its argument prototype would still apply. */
30491 char $ac_func ();
30492 /* The GNU C library defines this for functions which it implements
30493 to always fail with ENOSYS. Some functions are actually named
30494 something starting with __ and the normal name is an alias. */
30495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30496 choke me
30497 #else
30498 char (*f) () = $ac_func;
30499 #endif
30500 #ifdef __cplusplus
30501 }
30502 #endif
30503
30504 int
30505 main ()
30506 {
30507 return f != $ac_func;
30508 ;
30509 return 0;
30510 }
30511 _ACEOF
30512 rm -f conftest.$ac_objext conftest$ac_exeext
30513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30514 (eval $ac_link) 2>conftest.er1
30515 ac_status=$?
30516 grep -v '^ *+' conftest.er1 >conftest.err
30517 rm -f conftest.er1
30518 cat conftest.err >&5
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); } &&
30521 { ac_try='test -z "$ac_c_werror_flag"
30522 || test ! -s conftest.err'
30523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30524 (eval $ac_try) 2>&5
30525 ac_status=$?
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); }; } &&
30528 { ac_try='test -s conftest$ac_exeext'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30531 ac_status=$?
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; }; then
30534 eval "$as_ac_var=yes"
30535 else
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30538
30539 eval "$as_ac_var=no"
30540 fi
30541 rm -f conftest.err conftest.$ac_objext \
30542 conftest$ac_exeext conftest.$ac_ext
30543 fi
30544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30546 if test `eval echo '${'$as_ac_var'}'` = yes; then
30547 cat >>confdefs.h <<_ACEOF
30548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30549 _ACEOF
30550
30551 fi
30552 done
30553
30554
30555
30556
30557 for ac_func in putenv setenv
30558 do
30559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30560 echo "$as_me:$LINENO: checking for $ac_func" >&5
30561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30562 if eval "test \"\${$as_ac_var+set}\" = set"; then
30563 echo $ECHO_N "(cached) $ECHO_C" >&6
30564 else
30565 cat >conftest.$ac_ext <<_ACEOF
30566 /* confdefs.h. */
30567 _ACEOF
30568 cat confdefs.h >>conftest.$ac_ext
30569 cat >>conftest.$ac_ext <<_ACEOF
30570 /* end confdefs.h. */
30571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30573 #define $ac_func innocuous_$ac_func
30574
30575 /* System header to define __stub macros and hopefully few prototypes,
30576 which can conflict with char $ac_func (); below.
30577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30578 <limits.h> exists even on freestanding compilers. */
30579
30580 #ifdef __STDC__
30581 # include <limits.h>
30582 #else
30583 # include <assert.h>
30584 #endif
30585
30586 #undef $ac_func
30587
30588 /* Override any gcc2 internal prototype to avoid an error. */
30589 #ifdef __cplusplus
30590 extern "C"
30591 {
30592 #endif
30593 /* We use char because int might match the return type of a gcc2
30594 builtin and then its argument prototype would still apply. */
30595 char $ac_func ();
30596 /* The GNU C library defines this for functions which it implements
30597 to always fail with ENOSYS. Some functions are actually named
30598 something starting with __ and the normal name is an alias. */
30599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30600 choke me
30601 #else
30602 char (*f) () = $ac_func;
30603 #endif
30604 #ifdef __cplusplus
30605 }
30606 #endif
30607
30608 int
30609 main ()
30610 {
30611 return f != $ac_func;
30612 ;
30613 return 0;
30614 }
30615 _ACEOF
30616 rm -f conftest.$ac_objext conftest$ac_exeext
30617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30618 (eval $ac_link) 2>conftest.er1
30619 ac_status=$?
30620 grep -v '^ *+' conftest.er1 >conftest.err
30621 rm -f conftest.er1
30622 cat conftest.err >&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } &&
30625 { ac_try='test -z "$ac_c_werror_flag"
30626 || test ! -s conftest.err'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30629 ac_status=$?
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; } &&
30632 { ac_try='test -s conftest$ac_exeext'
30633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634 (eval $ac_try) 2>&5
30635 ac_status=$?
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); }; }; then
30638 eval "$as_ac_var=yes"
30639 else
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.$ac_ext >&5
30642
30643 eval "$as_ac_var=no"
30644 fi
30645 rm -f conftest.err conftest.$ac_objext \
30646 conftest$ac_exeext conftest.$ac_ext
30647 fi
30648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30650 if test `eval echo '${'$as_ac_var'}'` = yes; then
30651 cat >>confdefs.h <<_ACEOF
30652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30653 _ACEOF
30654 break
30655 fi
30656 done
30657
30658
30659 HAVE_SOME_SLEEP_FUNC=0
30660 if test "$USE_BEOS" = 1; then
30661 cat >>confdefs.h <<\_ACEOF
30662 #define HAVE_SLEEP 1
30663 _ACEOF
30664
30665 HAVE_SOME_SLEEP_FUNC=1
30666 fi
30667
30668 if test "$USE_DARWIN" = 1; then
30669 cat >>confdefs.h <<\_ACEOF
30670 #define HAVE_USLEEP 1
30671 _ACEOF
30672
30673 HAVE_SOME_SLEEP_FUNC=1
30674 fi
30675
30676 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30677 POSIX4_LINK=
30678
30679 for ac_func in nanosleep
30680 do
30681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30682 echo "$as_me:$LINENO: checking for $ac_func" >&5
30683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30684 if eval "test \"\${$as_ac_var+set}\" = set"; then
30685 echo $ECHO_N "(cached) $ECHO_C" >&6
30686 else
30687 cat >conftest.$ac_ext <<_ACEOF
30688 /* confdefs.h. */
30689 _ACEOF
30690 cat confdefs.h >>conftest.$ac_ext
30691 cat >>conftest.$ac_ext <<_ACEOF
30692 /* end confdefs.h. */
30693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30695 #define $ac_func innocuous_$ac_func
30696
30697 /* System header to define __stub macros and hopefully few prototypes,
30698 which can conflict with char $ac_func (); below.
30699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30700 <limits.h> exists even on freestanding compilers. */
30701
30702 #ifdef __STDC__
30703 # include <limits.h>
30704 #else
30705 # include <assert.h>
30706 #endif
30707
30708 #undef $ac_func
30709
30710 /* Override any gcc2 internal prototype to avoid an error. */
30711 #ifdef __cplusplus
30712 extern "C"
30713 {
30714 #endif
30715 /* We use char because int might match the return type of a gcc2
30716 builtin and then its argument prototype would still apply. */
30717 char $ac_func ();
30718 /* The GNU C library defines this for functions which it implements
30719 to always fail with ENOSYS. Some functions are actually named
30720 something starting with __ and the normal name is an alias. */
30721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30722 choke me
30723 #else
30724 char (*f) () = $ac_func;
30725 #endif
30726 #ifdef __cplusplus
30727 }
30728 #endif
30729
30730 int
30731 main ()
30732 {
30733 return f != $ac_func;
30734 ;
30735 return 0;
30736 }
30737 _ACEOF
30738 rm -f conftest.$ac_objext conftest$ac_exeext
30739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30740 (eval $ac_link) 2>conftest.er1
30741 ac_status=$?
30742 grep -v '^ *+' conftest.er1 >conftest.err
30743 rm -f conftest.er1
30744 cat conftest.err >&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); } &&
30747 { ac_try='test -z "$ac_c_werror_flag"
30748 || test ! -s conftest.err'
30749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30750 (eval $ac_try) 2>&5
30751 ac_status=$?
30752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30753 (exit $ac_status); }; } &&
30754 { ac_try='test -s conftest$ac_exeext'
30755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30756 (eval $ac_try) 2>&5
30757 ac_status=$?
30758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30759 (exit $ac_status); }; }; then
30760 eval "$as_ac_var=yes"
30761 else
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.$ac_ext >&5
30764
30765 eval "$as_ac_var=no"
30766 fi
30767 rm -f conftest.err conftest.$ac_objext \
30768 conftest$ac_exeext conftest.$ac_ext
30769 fi
30770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30772 if test `eval echo '${'$as_ac_var'}'` = yes; then
30773 cat >>confdefs.h <<_ACEOF
30774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30775 _ACEOF
30776 cat >>confdefs.h <<\_ACEOF
30777 #define HAVE_NANOSLEEP 1
30778 _ACEOF
30779
30780 else
30781
30782 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30783 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30784 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30785 echo $ECHO_N "(cached) $ECHO_C" >&6
30786 else
30787 ac_check_lib_save_LIBS=$LIBS
30788 LIBS="-lposix4 $LIBS"
30789 cat >conftest.$ac_ext <<_ACEOF
30790 /* confdefs.h. */
30791 _ACEOF
30792 cat confdefs.h >>conftest.$ac_ext
30793 cat >>conftest.$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30795
30796 /* Override any gcc2 internal prototype to avoid an error. */
30797 #ifdef __cplusplus
30798 extern "C"
30799 #endif
30800 /* We use char because int might match the return type of a gcc2
30801 builtin and then its argument prototype would still apply. */
30802 char nanosleep ();
30803 int
30804 main ()
30805 {
30806 nanosleep ();
30807 ;
30808 return 0;
30809 }
30810 _ACEOF
30811 rm -f conftest.$ac_objext conftest$ac_exeext
30812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30813 (eval $ac_link) 2>conftest.er1
30814 ac_status=$?
30815 grep -v '^ *+' conftest.er1 >conftest.err
30816 rm -f conftest.er1
30817 cat conftest.err >&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); } &&
30820 { ac_try='test -z "$ac_c_werror_flag"
30821 || test ! -s conftest.err'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; } &&
30827 { ac_try='test -s conftest$ac_exeext'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30830 ac_status=$?
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; }; then
30833 ac_cv_lib_posix4_nanosleep=yes
30834 else
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.$ac_ext >&5
30837
30838 ac_cv_lib_posix4_nanosleep=no
30839 fi
30840 rm -f conftest.err conftest.$ac_objext \
30841 conftest$ac_exeext conftest.$ac_ext
30842 LIBS=$ac_check_lib_save_LIBS
30843 fi
30844 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30845 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30846 if test $ac_cv_lib_posix4_nanosleep = yes; then
30847
30848 cat >>confdefs.h <<\_ACEOF
30849 #define HAVE_NANOSLEEP 1
30850 _ACEOF
30851
30852 POSIX4_LINK=" -lposix4"
30853
30854 else
30855
30856
30857 for ac_func in usleep
30858 do
30859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30860 echo "$as_me:$LINENO: checking for $ac_func" >&5
30861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30862 if eval "test \"\${$as_ac_var+set}\" = set"; then
30863 echo $ECHO_N "(cached) $ECHO_C" >&6
30864 else
30865 cat >conftest.$ac_ext <<_ACEOF
30866 /* confdefs.h. */
30867 _ACEOF
30868 cat confdefs.h >>conftest.$ac_ext
30869 cat >>conftest.$ac_ext <<_ACEOF
30870 /* end confdefs.h. */
30871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30873 #define $ac_func innocuous_$ac_func
30874
30875 /* System header to define __stub macros and hopefully few prototypes,
30876 which can conflict with char $ac_func (); below.
30877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30878 <limits.h> exists even on freestanding compilers. */
30879
30880 #ifdef __STDC__
30881 # include <limits.h>
30882 #else
30883 # include <assert.h>
30884 #endif
30885
30886 #undef $ac_func
30887
30888 /* Override any gcc2 internal prototype to avoid an error. */
30889 #ifdef __cplusplus
30890 extern "C"
30891 {
30892 #endif
30893 /* We use char because int might match the return type of a gcc2
30894 builtin and then its argument prototype would still apply. */
30895 char $ac_func ();
30896 /* The GNU C library defines this for functions which it implements
30897 to always fail with ENOSYS. Some functions are actually named
30898 something starting with __ and the normal name is an alias. */
30899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30900 choke me
30901 #else
30902 char (*f) () = $ac_func;
30903 #endif
30904 #ifdef __cplusplus
30905 }
30906 #endif
30907
30908 int
30909 main ()
30910 {
30911 return f != $ac_func;
30912 ;
30913 return 0;
30914 }
30915 _ACEOF
30916 rm -f conftest.$ac_objext conftest$ac_exeext
30917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30918 (eval $ac_link) 2>conftest.er1
30919 ac_status=$?
30920 grep -v '^ *+' conftest.er1 >conftest.err
30921 rm -f conftest.er1
30922 cat conftest.err >&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); } &&
30925 { ac_try='test -z "$ac_c_werror_flag"
30926 || test ! -s conftest.err'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30929 ac_status=$?
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; } &&
30932 { ac_try='test -s conftest$ac_exeext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30935 ac_status=$?
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938 eval "$as_ac_var=yes"
30939 else
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.$ac_ext >&5
30942
30943 eval "$as_ac_var=no"
30944 fi
30945 rm -f conftest.err conftest.$ac_objext \
30946 conftest$ac_exeext conftest.$ac_ext
30947 fi
30948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30950 if test `eval echo '${'$as_ac_var'}'` = yes; then
30951 cat >>confdefs.h <<_ACEOF
30952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30953 _ACEOF
30954 cat >>confdefs.h <<\_ACEOF
30955 #define HAVE_USLEEP 1
30956 _ACEOF
30957
30958 else
30959 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30960 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30961
30962 fi
30963 done
30964
30965
30966
30967 fi
30968
30969
30970
30971 fi
30972 done
30973
30974 fi
30975
30976
30977
30978 for ac_func in uname gethostname
30979 do
30980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30981 echo "$as_me:$LINENO: checking for $ac_func" >&5
30982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30983 if eval "test \"\${$as_ac_var+set}\" = set"; then
30984 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 else
30986 cat >conftest.$ac_ext <<_ACEOF
30987 /* confdefs.h. */
30988 _ACEOF
30989 cat confdefs.h >>conftest.$ac_ext
30990 cat >>conftest.$ac_ext <<_ACEOF
30991 /* end confdefs.h. */
30992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30994 #define $ac_func innocuous_$ac_func
30995
30996 /* System header to define __stub macros and hopefully few prototypes,
30997 which can conflict with char $ac_func (); below.
30998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30999 <limits.h> exists even on freestanding compilers. */
31000
31001 #ifdef __STDC__
31002 # include <limits.h>
31003 #else
31004 # include <assert.h>
31005 #endif
31006
31007 #undef $ac_func
31008
31009 /* Override any gcc2 internal prototype to avoid an error. */
31010 #ifdef __cplusplus
31011 extern "C"
31012 {
31013 #endif
31014 /* We use char because int might match the return type of a gcc2
31015 builtin and then its argument prototype would still apply. */
31016 char $ac_func ();
31017 /* The GNU C library defines this for functions which it implements
31018 to always fail with ENOSYS. Some functions are actually named
31019 something starting with __ and the normal name is an alias. */
31020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31021 choke me
31022 #else
31023 char (*f) () = $ac_func;
31024 #endif
31025 #ifdef __cplusplus
31026 }
31027 #endif
31028
31029 int
31030 main ()
31031 {
31032 return f != $ac_func;
31033 ;
31034 return 0;
31035 }
31036 _ACEOF
31037 rm -f conftest.$ac_objext conftest$ac_exeext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31039 (eval $ac_link) 2>conftest.er1
31040 ac_status=$?
31041 grep -v '^ *+' conftest.er1 >conftest.err
31042 rm -f conftest.er1
31043 cat conftest.err >&5
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); } &&
31046 { ac_try='test -z "$ac_c_werror_flag"
31047 || test ! -s conftest.err'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31050 ac_status=$?
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; } &&
31053 { ac_try='test -s conftest$ac_exeext'
31054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055 (eval $ac_try) 2>&5
31056 ac_status=$?
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); }; }; then
31059 eval "$as_ac_var=yes"
31060 else
31061 echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31063
31064 eval "$as_ac_var=no"
31065 fi
31066 rm -f conftest.err conftest.$ac_objext \
31067 conftest$ac_exeext conftest.$ac_ext
31068 fi
31069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31071 if test `eval echo '${'$as_ac_var'}'` = yes; then
31072 cat >>confdefs.h <<_ACEOF
31073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31074 _ACEOF
31075 break
31076 fi
31077 done
31078
31079
31080
31081
31082 ac_ext=cc
31083 ac_cpp='$CXXCPP $CPPFLAGS'
31084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31087
31088
31089
31090 for ac_func in strtok_r
31091 do
31092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31093 echo "$as_me:$LINENO: checking for $ac_func" >&5
31094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31095 if eval "test \"\${$as_ac_var+set}\" = set"; then
31096 echo $ECHO_N "(cached) $ECHO_C" >&6
31097 else
31098 cat >conftest.$ac_ext <<_ACEOF
31099 /* confdefs.h. */
31100 _ACEOF
31101 cat confdefs.h >>conftest.$ac_ext
31102 cat >>conftest.$ac_ext <<_ACEOF
31103 /* end confdefs.h. */
31104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31106 #define $ac_func innocuous_$ac_func
31107
31108 /* System header to define __stub macros and hopefully few prototypes,
31109 which can conflict with char $ac_func (); below.
31110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31111 <limits.h> exists even on freestanding compilers. */
31112
31113 #ifdef __STDC__
31114 # include <limits.h>
31115 #else
31116 # include <assert.h>
31117 #endif
31118
31119 #undef $ac_func
31120
31121 /* Override any gcc2 internal prototype to avoid an error. */
31122 #ifdef __cplusplus
31123 extern "C"
31124 {
31125 #endif
31126 /* We use char because int might match the return type of a gcc2
31127 builtin and then its argument prototype would still apply. */
31128 char $ac_func ();
31129 /* The GNU C library defines this for functions which it implements
31130 to always fail with ENOSYS. Some functions are actually named
31131 something starting with __ and the normal name is an alias. */
31132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31133 choke me
31134 #else
31135 char (*f) () = $ac_func;
31136 #endif
31137 #ifdef __cplusplus
31138 }
31139 #endif
31140
31141 int
31142 main ()
31143 {
31144 return f != $ac_func;
31145 ;
31146 return 0;
31147 }
31148 _ACEOF
31149 rm -f conftest.$ac_objext conftest$ac_exeext
31150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31151 (eval $ac_link) 2>conftest.er1
31152 ac_status=$?
31153 grep -v '^ *+' conftest.er1 >conftest.err
31154 rm -f conftest.er1
31155 cat conftest.err >&5
31156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31157 (exit $ac_status); } &&
31158 { ac_try='test -z "$ac_cxx_werror_flag"
31159 || test ! -s conftest.err'
31160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161 (eval $ac_try) 2>&5
31162 ac_status=$?
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); }; } &&
31165 { ac_try='test -s conftest$ac_exeext'
31166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31167 (eval $ac_try) 2>&5
31168 ac_status=$?
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; }; then
31171 eval "$as_ac_var=yes"
31172 else
31173 echo "$as_me: failed program was:" >&5
31174 sed 's/^/| /' conftest.$ac_ext >&5
31175
31176 eval "$as_ac_var=no"
31177 fi
31178 rm -f conftest.err conftest.$ac_objext \
31179 conftest$ac_exeext conftest.$ac_ext
31180 fi
31181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31183 if test `eval echo '${'$as_ac_var'}'` = yes; then
31184 cat >>confdefs.h <<_ACEOF
31185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31186 _ACEOF
31187
31188 fi
31189 done
31190
31191
31192 ac_ext=c
31193 ac_cpp='$CPP $CPPFLAGS'
31194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31197
31198
31199 INET_LINK=
31200
31201 for ac_func in inet_addr
31202 do
31203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31204 echo "$as_me:$LINENO: checking for $ac_func" >&5
31205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31206 if eval "test \"\${$as_ac_var+set}\" = set"; then
31207 echo $ECHO_N "(cached) $ECHO_C" >&6
31208 else
31209 cat >conftest.$ac_ext <<_ACEOF
31210 /* confdefs.h. */
31211 _ACEOF
31212 cat confdefs.h >>conftest.$ac_ext
31213 cat >>conftest.$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31217 #define $ac_func innocuous_$ac_func
31218
31219 /* System header to define __stub macros and hopefully few prototypes,
31220 which can conflict with char $ac_func (); below.
31221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31222 <limits.h> exists even on freestanding compilers. */
31223
31224 #ifdef __STDC__
31225 # include <limits.h>
31226 #else
31227 # include <assert.h>
31228 #endif
31229
31230 #undef $ac_func
31231
31232 /* Override any gcc2 internal prototype to avoid an error. */
31233 #ifdef __cplusplus
31234 extern "C"
31235 {
31236 #endif
31237 /* We use char because int might match the return type of a gcc2
31238 builtin and then its argument prototype would still apply. */
31239 char $ac_func ();
31240 /* The GNU C library defines this for functions which it implements
31241 to always fail with ENOSYS. Some functions are actually named
31242 something starting with __ and the normal name is an alias. */
31243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31244 choke me
31245 #else
31246 char (*f) () = $ac_func;
31247 #endif
31248 #ifdef __cplusplus
31249 }
31250 #endif
31251
31252 int
31253 main ()
31254 {
31255 return f != $ac_func;
31256 ;
31257 return 0;
31258 }
31259 _ACEOF
31260 rm -f conftest.$ac_objext conftest$ac_exeext
31261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31262 (eval $ac_link) 2>conftest.er1
31263 ac_status=$?
31264 grep -v '^ *+' conftest.er1 >conftest.err
31265 rm -f conftest.er1
31266 cat conftest.err >&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try='test -z "$ac_c_werror_flag"
31270 || test ! -s conftest.err'
31271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31272 (eval $ac_try) 2>&5
31273 ac_status=$?
31274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31275 (exit $ac_status); }; } &&
31276 { ac_try='test -s conftest$ac_exeext'
31277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31278 (eval $ac_try) 2>&5
31279 ac_status=$?
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); }; }; then
31282 eval "$as_ac_var=yes"
31283 else
31284 echo "$as_me: failed program was:" >&5
31285 sed 's/^/| /' conftest.$ac_ext >&5
31286
31287 eval "$as_ac_var=no"
31288 fi
31289 rm -f conftest.err conftest.$ac_objext \
31290 conftest$ac_exeext conftest.$ac_ext
31291 fi
31292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31294 if test `eval echo '${'$as_ac_var'}'` = yes; then
31295 cat >>confdefs.h <<_ACEOF
31296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31297 _ACEOF
31298 cat >>confdefs.h <<\_ACEOF
31299 #define HAVE_INET_ADDR 1
31300 _ACEOF
31301
31302 else
31303
31304 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31305 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31306 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31307 echo $ECHO_N "(cached) $ECHO_C" >&6
31308 else
31309 ac_check_lib_save_LIBS=$LIBS
31310 LIBS="-lnsl $LIBS"
31311 cat >conftest.$ac_ext <<_ACEOF
31312 /* confdefs.h. */
31313 _ACEOF
31314 cat confdefs.h >>conftest.$ac_ext
31315 cat >>conftest.$ac_ext <<_ACEOF
31316 /* end confdefs.h. */
31317
31318 /* Override any gcc2 internal prototype to avoid an error. */
31319 #ifdef __cplusplus
31320 extern "C"
31321 #endif
31322 /* We use char because int might match the return type of a gcc2
31323 builtin and then its argument prototype would still apply. */
31324 char inet_addr ();
31325 int
31326 main ()
31327 {
31328 inet_addr ();
31329 ;
31330 return 0;
31331 }
31332 _ACEOF
31333 rm -f conftest.$ac_objext conftest$ac_exeext
31334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31335 (eval $ac_link) 2>conftest.er1
31336 ac_status=$?
31337 grep -v '^ *+' conftest.er1 >conftest.err
31338 rm -f conftest.er1
31339 cat conftest.err >&5
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); } &&
31342 { ac_try='test -z "$ac_c_werror_flag"
31343 || test ! -s conftest.err'
31344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31345 (eval $ac_try) 2>&5
31346 ac_status=$?
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); }; } &&
31349 { ac_try='test -s conftest$ac_exeext'
31350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31351 (eval $ac_try) 2>&5
31352 ac_status=$?
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); }; }; then
31355 ac_cv_lib_nsl_inet_addr=yes
31356 else
31357 echo "$as_me: failed program was:" >&5
31358 sed 's/^/| /' conftest.$ac_ext >&5
31359
31360 ac_cv_lib_nsl_inet_addr=no
31361 fi
31362 rm -f conftest.err conftest.$ac_objext \
31363 conftest$ac_exeext conftest.$ac_ext
31364 LIBS=$ac_check_lib_save_LIBS
31365 fi
31366 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31367 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31368 if test $ac_cv_lib_nsl_inet_addr = yes; then
31369 INET_LINK="nsl"
31370 else
31371
31372 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31373 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31374 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31375 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 else
31377 ac_check_lib_save_LIBS=$LIBS
31378 LIBS="-lresolv $LIBS"
31379 cat >conftest.$ac_ext <<_ACEOF
31380 /* confdefs.h. */
31381 _ACEOF
31382 cat confdefs.h >>conftest.$ac_ext
31383 cat >>conftest.$ac_ext <<_ACEOF
31384 /* end confdefs.h. */
31385
31386 /* Override any gcc2 internal prototype to avoid an error. */
31387 #ifdef __cplusplus
31388 extern "C"
31389 #endif
31390 /* We use char because int might match the return type of a gcc2
31391 builtin and then its argument prototype would still apply. */
31392 char inet_addr ();
31393 int
31394 main ()
31395 {
31396 inet_addr ();
31397 ;
31398 return 0;
31399 }
31400 _ACEOF
31401 rm -f conftest.$ac_objext conftest$ac_exeext
31402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31403 (eval $ac_link) 2>conftest.er1
31404 ac_status=$?
31405 grep -v '^ *+' conftest.er1 >conftest.err
31406 rm -f conftest.er1
31407 cat conftest.err >&5
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); } &&
31410 { ac_try='test -z "$ac_c_werror_flag"
31411 || test ! -s conftest.err'
31412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31413 (eval $ac_try) 2>&5
31414 ac_status=$?
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; } &&
31417 { ac_try='test -s conftest$ac_exeext'
31418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31419 (eval $ac_try) 2>&5
31420 ac_status=$?
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; }; then
31423 ac_cv_lib_resolv_inet_addr=yes
31424 else
31425 echo "$as_me: failed program was:" >&5
31426 sed 's/^/| /' conftest.$ac_ext >&5
31427
31428 ac_cv_lib_resolv_inet_addr=no
31429 fi
31430 rm -f conftest.err conftest.$ac_objext \
31431 conftest$ac_exeext conftest.$ac_ext
31432 LIBS=$ac_check_lib_save_LIBS
31433 fi
31434 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31435 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31436 if test $ac_cv_lib_resolv_inet_addr = yes; then
31437 INET_LINK="resolv"
31438 else
31439
31440 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31441 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31442 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31443 echo $ECHO_N "(cached) $ECHO_C" >&6
31444 else
31445 ac_check_lib_save_LIBS=$LIBS
31446 LIBS="-lsocket $LIBS"
31447 cat >conftest.$ac_ext <<_ACEOF
31448 /* confdefs.h. */
31449 _ACEOF
31450 cat confdefs.h >>conftest.$ac_ext
31451 cat >>conftest.$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31453
31454 /* Override any gcc2 internal prototype to avoid an error. */
31455 #ifdef __cplusplus
31456 extern "C"
31457 #endif
31458 /* We use char because int might match the return type of a gcc2
31459 builtin and then its argument prototype would still apply. */
31460 char inet_addr ();
31461 int
31462 main ()
31463 {
31464 inet_addr ();
31465 ;
31466 return 0;
31467 }
31468 _ACEOF
31469 rm -f conftest.$ac_objext conftest$ac_exeext
31470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31471 (eval $ac_link) 2>conftest.er1
31472 ac_status=$?
31473 grep -v '^ *+' conftest.er1 >conftest.err
31474 rm -f conftest.er1
31475 cat conftest.err >&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } &&
31478 { ac_try='test -z "$ac_c_werror_flag"
31479 || test ! -s conftest.err'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31482 ac_status=$?
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; } &&
31485 { ac_try='test -s conftest$ac_exeext'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31488 ac_status=$?
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; }; then
31491 ac_cv_lib_socket_inet_addr=yes
31492 else
31493 echo "$as_me: failed program was:" >&5
31494 sed 's/^/| /' conftest.$ac_ext >&5
31495
31496 ac_cv_lib_socket_inet_addr=no
31497 fi
31498 rm -f conftest.err conftest.$ac_objext \
31499 conftest$ac_exeext conftest.$ac_ext
31500 LIBS=$ac_check_lib_save_LIBS
31501 fi
31502 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31503 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31504 if test $ac_cv_lib_socket_inet_addr = yes; then
31505 INET_LINK="socket"
31506
31507 fi
31508
31509
31510
31511 fi
31512
31513
31514
31515 fi
31516
31517
31518
31519 fi
31520 done
31521
31522
31523
31524 for ac_func in inet_aton
31525 do
31526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31527 echo "$as_me:$LINENO: checking for $ac_func" >&5
31528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31529 if eval "test \"\${$as_ac_var+set}\" = set"; then
31530 echo $ECHO_N "(cached) $ECHO_C" >&6
31531 else
31532 cat >conftest.$ac_ext <<_ACEOF
31533 /* confdefs.h. */
31534 _ACEOF
31535 cat confdefs.h >>conftest.$ac_ext
31536 cat >>conftest.$ac_ext <<_ACEOF
31537 /* end confdefs.h. */
31538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31540 #define $ac_func innocuous_$ac_func
31541
31542 /* System header to define __stub macros and hopefully few prototypes,
31543 which can conflict with char $ac_func (); below.
31544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31545 <limits.h> exists even on freestanding compilers. */
31546
31547 #ifdef __STDC__
31548 # include <limits.h>
31549 #else
31550 # include <assert.h>
31551 #endif
31552
31553 #undef $ac_func
31554
31555 /* Override any gcc2 internal prototype to avoid an error. */
31556 #ifdef __cplusplus
31557 extern "C"
31558 {
31559 #endif
31560 /* We use char because int might match the return type of a gcc2
31561 builtin and then its argument prototype would still apply. */
31562 char $ac_func ();
31563 /* The GNU C library defines this for functions which it implements
31564 to always fail with ENOSYS. Some functions are actually named
31565 something starting with __ and the normal name is an alias. */
31566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31567 choke me
31568 #else
31569 char (*f) () = $ac_func;
31570 #endif
31571 #ifdef __cplusplus
31572 }
31573 #endif
31574
31575 int
31576 main ()
31577 {
31578 return f != $ac_func;
31579 ;
31580 return 0;
31581 }
31582 _ACEOF
31583 rm -f conftest.$ac_objext conftest$ac_exeext
31584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31585 (eval $ac_link) 2>conftest.er1
31586 ac_status=$?
31587 grep -v '^ *+' conftest.er1 >conftest.err
31588 rm -f conftest.er1
31589 cat conftest.err >&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); } &&
31592 { ac_try='test -z "$ac_c_werror_flag"
31593 || test ! -s conftest.err'
31594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31595 (eval $ac_try) 2>&5
31596 ac_status=$?
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); }; } &&
31599 { ac_try='test -s conftest$ac_exeext'
31600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31601 (eval $ac_try) 2>&5
31602 ac_status=$?
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); }; }; then
31605 eval "$as_ac_var=yes"
31606 else
31607 echo "$as_me: failed program was:" >&5
31608 sed 's/^/| /' conftest.$ac_ext >&5
31609
31610 eval "$as_ac_var=no"
31611 fi
31612 rm -f conftest.err conftest.$ac_objext \
31613 conftest$ac_exeext conftest.$ac_ext
31614 fi
31615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31617 if test `eval echo '${'$as_ac_var'}'` = yes; then
31618 cat >>confdefs.h <<_ACEOF
31619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31620 _ACEOF
31621 cat >>confdefs.h <<\_ACEOF
31622 #define HAVE_INET_ATON 1
31623 _ACEOF
31624
31625 else
31626
31627 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31628 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31629 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31630 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31631 echo $ECHO_N "(cached) $ECHO_C" >&6
31632 else
31633 ac_check_lib_save_LIBS=$LIBS
31634 LIBS="-l$INET_LINK $LIBS"
31635 cat >conftest.$ac_ext <<_ACEOF
31636 /* confdefs.h. */
31637 _ACEOF
31638 cat confdefs.h >>conftest.$ac_ext
31639 cat >>conftest.$ac_ext <<_ACEOF
31640 /* end confdefs.h. */
31641
31642 /* Override any gcc2 internal prototype to avoid an error. */
31643 #ifdef __cplusplus
31644 extern "C"
31645 #endif
31646 /* We use char because int might match the return type of a gcc2
31647 builtin and then its argument prototype would still apply. */
31648 char inet_aton ();
31649 int
31650 main ()
31651 {
31652 inet_aton ();
31653 ;
31654 return 0;
31655 }
31656 _ACEOF
31657 rm -f conftest.$ac_objext conftest$ac_exeext
31658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31659 (eval $ac_link) 2>conftest.er1
31660 ac_status=$?
31661 grep -v '^ *+' conftest.er1 >conftest.err
31662 rm -f conftest.er1
31663 cat conftest.err >&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); } &&
31666 { ac_try='test -z "$ac_c_werror_flag"
31667 || test ! -s conftest.err'
31668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31669 (eval $ac_try) 2>&5
31670 ac_status=$?
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); }; } &&
31673 { ac_try='test -s conftest$ac_exeext'
31674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31675 (eval $ac_try) 2>&5
31676 ac_status=$?
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); }; }; then
31679 eval "$as_ac_Lib=yes"
31680 else
31681 echo "$as_me: failed program was:" >&5
31682 sed 's/^/| /' conftest.$ac_ext >&5
31683
31684 eval "$as_ac_Lib=no"
31685 fi
31686 rm -f conftest.err conftest.$ac_objext \
31687 conftest$ac_exeext conftest.$ac_ext
31688 LIBS=$ac_check_lib_save_LIBS
31689 fi
31690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31691 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31692 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31693 cat >>confdefs.h <<\_ACEOF
31694 #define HAVE_INET_ATON 1
31695 _ACEOF
31696
31697 fi
31698
31699
31700 fi
31701 done
31702
31703
31704 if test "x$INET_LINK" != "x"; then
31705 cat >>confdefs.h <<\_ACEOF
31706 #define HAVE_INET_ADDR 1
31707 _ACEOF
31708
31709 INET_LINK=" -l$INET_LINK"
31710 fi
31711
31712 fi
31713
31714
31715
31716 EXTRALIBS_ESD=
31717 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31718 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31719 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31720 echo $ECHO_N "(cached) $ECHO_C" >&6
31721 else
31722 ac_check_lib_save_LIBS=$LIBS
31723 LIBS="-lesd $LIBS"
31724 cat >conftest.$ac_ext <<_ACEOF
31725 /* confdefs.h. */
31726 _ACEOF
31727 cat confdefs.h >>conftest.$ac_ext
31728 cat >>conftest.$ac_ext <<_ACEOF
31729 /* end confdefs.h. */
31730
31731 /* Override any gcc2 internal prototype to avoid an error. */
31732 #ifdef __cplusplus
31733 extern "C"
31734 #endif
31735 /* We use char because int might match the return type of a gcc2
31736 builtin and then its argument prototype would still apply. */
31737 char esd_close ();
31738 int
31739 main ()
31740 {
31741 esd_close ();
31742 ;
31743 return 0;
31744 }
31745 _ACEOF
31746 rm -f conftest.$ac_objext conftest$ac_exeext
31747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31748 (eval $ac_link) 2>conftest.er1
31749 ac_status=$?
31750 grep -v '^ *+' conftest.er1 >conftest.err
31751 rm -f conftest.er1
31752 cat conftest.err >&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); } &&
31755 { ac_try='test -z "$ac_c_werror_flag"
31756 || test ! -s conftest.err'
31757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31758 (eval $ac_try) 2>&5
31759 ac_status=$?
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); }; } &&
31762 { ac_try='test -s conftest$ac_exeext'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31765 ac_status=$?
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; }; then
31768 ac_cv_lib_esd_esd_close=yes
31769 else
31770 echo "$as_me: failed program was:" >&5
31771 sed 's/^/| /' conftest.$ac_ext >&5
31772
31773 ac_cv_lib_esd_esd_close=no
31774 fi
31775 rm -f conftest.err conftest.$ac_objext \
31776 conftest$ac_exeext conftest.$ac_ext
31777 LIBS=$ac_check_lib_save_LIBS
31778 fi
31779 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31780 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31781 if test $ac_cv_lib_esd_esd_close = yes; then
31782
31783
31784 for ac_header in esd.h
31785 do
31786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31788 echo "$as_me:$LINENO: checking for $ac_header" >&5
31789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31791 echo $ECHO_N "(cached) $ECHO_C" >&6
31792 fi
31793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31795 else
31796 # Is the header compilable?
31797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31799 cat >conftest.$ac_ext <<_ACEOF
31800 /* confdefs.h. */
31801 _ACEOF
31802 cat confdefs.h >>conftest.$ac_ext
31803 cat >>conftest.$ac_ext <<_ACEOF
31804 /* end confdefs.h. */
31805 $ac_includes_default
31806 #include <$ac_header>
31807 _ACEOF
31808 rm -f conftest.$ac_objext
31809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31810 (eval $ac_compile) 2>conftest.er1
31811 ac_status=$?
31812 grep -v '^ *+' conftest.er1 >conftest.err
31813 rm -f conftest.er1
31814 cat conftest.err >&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); } &&
31817 { ac_try='test -z "$ac_c_werror_flag"
31818 || test ! -s conftest.err'
31819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31820 (eval $ac_try) 2>&5
31821 ac_status=$?
31822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31823 (exit $ac_status); }; } &&
31824 { ac_try='test -s conftest.$ac_objext'
31825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31826 (eval $ac_try) 2>&5
31827 ac_status=$?
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); }; }; then
31830 ac_header_compiler=yes
31831 else
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.$ac_ext >&5
31834
31835 ac_header_compiler=no
31836 fi
31837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31839 echo "${ECHO_T}$ac_header_compiler" >&6
31840
31841 # Is the header present?
31842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31844 cat >conftest.$ac_ext <<_ACEOF
31845 /* confdefs.h. */
31846 _ACEOF
31847 cat confdefs.h >>conftest.$ac_ext
31848 cat >>conftest.$ac_ext <<_ACEOF
31849 /* end confdefs.h. */
31850 #include <$ac_header>
31851 _ACEOF
31852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31854 ac_status=$?
31855 grep -v '^ *+' conftest.er1 >conftest.err
31856 rm -f conftest.er1
31857 cat conftest.err >&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); } >/dev/null; then
31860 if test -s conftest.err; then
31861 ac_cpp_err=$ac_c_preproc_warn_flag
31862 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31863 else
31864 ac_cpp_err=
31865 fi
31866 else
31867 ac_cpp_err=yes
31868 fi
31869 if test -z "$ac_cpp_err"; then
31870 ac_header_preproc=yes
31871 else
31872 echo "$as_me: failed program was:" >&5
31873 sed 's/^/| /' conftest.$ac_ext >&5
31874
31875 ac_header_preproc=no
31876 fi
31877 rm -f conftest.err conftest.$ac_ext
31878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31879 echo "${ECHO_T}$ac_header_preproc" >&6
31880
31881 # So? What about this header?
31882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31883 yes:no: )
31884 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31886 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31887 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31888 ac_header_preproc=yes
31889 ;;
31890 no:yes:* )
31891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31895 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31896 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31897 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31898 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31901 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31902 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31903 (
31904 cat <<\_ASBOX
31905 ## ----------------------------------------- ##
31906 ## Report this to wx-dev@lists.wxwindows.org ##
31907 ## ----------------------------------------- ##
31908 _ASBOX
31909 ) |
31910 sed "s/^/$as_me: WARNING: /" >&2
31911 ;;
31912 esac
31913 echo "$as_me:$LINENO: checking for $ac_header" >&5
31914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31916 echo $ECHO_N "(cached) $ECHO_C" >&6
31917 else
31918 eval "$as_ac_Header=\$ac_header_preproc"
31919 fi
31920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31922
31923 fi
31924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31925 cat >>confdefs.h <<_ACEOF
31926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31927 _ACEOF
31928
31929 EXTRALIBS_ESD="-lesd"
31930
31931 fi
31932
31933 done
31934
31935
31936 fi
31937
31938
31939
31940 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31941 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31942 cat >conftest.$ac_ext <<_ACEOF
31943 /* confdefs.h. */
31944 _ACEOF
31945 cat confdefs.h >>conftest.$ac_ext
31946 cat >>conftest.$ac_ext <<_ACEOF
31947 /* end confdefs.h. */
31948 #ifdef __linux__
31949 #include <linux/cdrom.h>
31950 #else
31951 /* For Solaris */
31952 #include <sys/cdio.h>
31953 #endif
31954
31955 int
31956 main ()
31957 {
31958 struct cdrom_tocentry entry, old_entry;
31959 ;
31960 return 0;
31961 }
31962 _ACEOF
31963 rm -f conftest.$ac_objext
31964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31965 (eval $ac_compile) 2>conftest.er1
31966 ac_status=$?
31967 grep -v '^ *+' conftest.er1 >conftest.err
31968 rm -f conftest.er1
31969 cat conftest.err >&5
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); } &&
31972 { ac_try='test -z "$ac_c_werror_flag"
31973 || test ! -s conftest.err'
31974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31975 (eval $ac_try) 2>&5
31976 ac_status=$?
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 (exit $ac_status); }; } &&
31979 { ac_try='test -s conftest.$ac_objext'
31980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31981 (eval $ac_try) 2>&5
31982 ac_status=$?
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; }; then
31985 echo "$as_me:$LINENO: result: yes" >&5
31986 echo "${ECHO_T}yes" >&6
31987 cat >>confdefs.h <<\_ACEOF
31988 #define HAVE_KNOWN_CDROM_INTERFACE 1
31989 _ACEOF
31990
31991 else
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.$ac_ext >&5
31994
31995 echo "$as_me:$LINENO: result: no" >&5
31996 echo "${ECHO_T}no" >&6
31997 fi
31998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31999
32000
32001 cat >confcache <<\_ACEOF
32002 # This file is a shell script that caches the results of configure
32003 # tests run on this system so they can be shared between configure
32004 # scripts and configure runs, see configure's option --config-cache.
32005 # It is not useful on other systems. If it contains results you don't
32006 # want to keep, you may remove or edit it.
32007 #
32008 # config.status only pays attention to the cache file if you give it
32009 # the --recheck option to rerun configure.
32010 #
32011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32013 # following values.
32014
32015 _ACEOF
32016
32017 # The following way of writing the cache mishandles newlines in values,
32018 # but we know of no workaround that is simple, portable, and efficient.
32019 # So, don't put newlines in cache variables' values.
32020 # Ultrix sh set writes to stderr and can't be redirected directly,
32021 # and sets the high bit in the cache file unless we assign to the vars.
32022 {
32023 (set) 2>&1 |
32024 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32025 *ac_space=\ *)
32026 # `set' does not quote correctly, so add quotes (double-quote
32027 # substitution turns \\\\ into \\, and sed turns \\ into \).
32028 sed -n \
32029 "s/'/'\\\\''/g;
32030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32031 ;;
32032 *)
32033 # `set' quotes correctly as required by POSIX, so do not add quotes.
32034 sed -n \
32035 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32036 ;;
32037 esac;
32038 } |
32039 sed '
32040 t clear
32041 : clear
32042 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32043 t end
32044 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32045 : end' >>confcache
32046 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32047 if test -w $cache_file; then
32048 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32049 cat confcache >$cache_file
32050 else
32051 echo "not updating unwritable cache $cache_file"
32052 fi
32053 fi
32054 rm -f confcache
32055
32056
32057 CPP_MT_FLAG=
32058 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32059
32060
32061 THREADS_LINK=
32062 THREADS_CFLAGS=
32063
32064 if test "$wxUSE_THREADS" = "yes" ; then
32065 if test "$USE_BEOS" = 1; then
32066 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32067 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32068 wxUSE_THREADS="no"
32069 fi
32070 fi
32071
32072 if test "$wxUSE_THREADS" = "yes" ; then
32073
32074
32075 THREAD_OPTS="-pthread"
32076 case "${host}" in
32077 *-*-solaris2* | *-*-sunos4* )
32078 if test "x$GCC" = "xyes"; then
32079 THREAD_OPTS="-pthreads $THREAD_OPTS"
32080 else
32081 THREAD_OPTS="-mt $THREAD_OPTS"
32082 fi
32083 ;;
32084 *-*-freebsd*)
32085 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32086 ;;
32087 *-*-darwin* | *-*-cygwin* )
32088 THREAD_OPTS=""
32089 ;;
32090 *-*-aix*)
32091 THREAD_OPTS="pthreads"
32092 ;;
32093 *-hp-hpux* )
32094 if test "x$GCC" != "xyes"; then
32095 THREAD_OPTS=""
32096 fi
32097 ;;
32098
32099 *-*-irix* )
32100 if test "x$GCC" = "xyes"; then
32101 THREAD_OPTS=""
32102 fi
32103 ;;
32104
32105 *-*-*UnixWare*)
32106 if test "x$GCC" != "xyes"; then
32107 THREAD_OPTS="-Ethread"
32108 fi
32109 ;;
32110 esac
32111
32112 THREAD_OPTS="$THREAD_OPTS pthread none"
32113
32114 THREADS_OK=no
32115 for flag in $THREAD_OPTS; do
32116 case $flag in
32117 none)
32118 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32119 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32120 ;;
32121
32122 -*)
32123 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32124 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32125 THREADS_CFLAGS="$flag"
32126 ;;
32127
32128 *)
32129 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32130 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32131 THREADS_LINK="-l$flag"
32132 ;;
32133 esac
32134
32135 save_LIBS="$LIBS"
32136 save_CFLAGS="$CFLAGS"
32137 LIBS="$THREADS_LINK $LIBS"
32138 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32139
32140 cat >conftest.$ac_ext <<_ACEOF
32141 /* confdefs.h. */
32142 _ACEOF
32143 cat confdefs.h >>conftest.$ac_ext
32144 cat >>conftest.$ac_ext <<_ACEOF
32145 /* end confdefs.h. */
32146 #include <pthread.h>
32147 int
32148 main ()
32149 {
32150 pthread_create(0,0,0,0);
32151 ;
32152 return 0;
32153 }
32154 _ACEOF
32155 rm -f conftest.$ac_objext conftest$ac_exeext
32156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32157 (eval $ac_link) 2>conftest.er1
32158 ac_status=$?
32159 grep -v '^ *+' conftest.er1 >conftest.err
32160 rm -f conftest.er1
32161 cat conftest.err >&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); } &&
32164 { ac_try='test -z "$ac_c_werror_flag"
32165 || test ! -s conftest.err'
32166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32167 (eval $ac_try) 2>&5
32168 ac_status=$?
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); }; } &&
32171 { ac_try='test -s conftest$ac_exeext'
32172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32173 (eval $ac_try) 2>&5
32174 ac_status=$?
32175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32176 (exit $ac_status); }; }; then
32177 THREADS_OK=yes
32178 else
32179 echo "$as_me: failed program was:" >&5
32180 sed 's/^/| /' conftest.$ac_ext >&5
32181
32182 fi
32183 rm -f conftest.err conftest.$ac_objext \
32184 conftest$ac_exeext conftest.$ac_ext
32185
32186 LIBS="$save_LIBS"
32187 CFLAGS="$save_CFLAGS"
32188
32189 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32190 echo "${ECHO_T}$THREADS_OK" >&6
32191 if test "x$THREADS_OK" = "xyes"; then
32192 break;
32193 fi
32194
32195 THREADS_LINK=""
32196 THREADS_CFLAGS=""
32197 done
32198
32199 if test "x$THREADS_OK" != "xyes"; then
32200 wxUSE_THREADS=no
32201 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32202 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32203 else
32204 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32205 LIBS="$THREADS_LINK $LIBS"
32206
32207 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32208 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32209 flag=no
32210 case "${host}" in
32211 *-aix*)
32212 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32213 flag="-D_THREAD_SAFE"
32214 ;;
32215 *-freebsd*)
32216 flag="-D_THREAD_SAFE"
32217 ;;
32218 *-hp-hpux* )
32219 flag="-D_REENTRANT"
32220 if test "x$GCC" != "xyes"; then
32221 flag="$flag -D_RWSTD_MULTI_THREAD"
32222
32223 LIBS="$LIBS -lcma"
32224 fi
32225 ;;
32226 *solaris* | alpha*-osf*)
32227 flag="-D_REENTRANT"
32228 ;;
32229 esac
32230 echo "$as_me:$LINENO: result: ${flag}" >&5
32231 echo "${ECHO_T}${flag}" >&6
32232 if test "x$flag" != xno; then
32233 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32234 fi
32235
32236 if test "x$THREADS_CFLAGS" != "x"; then
32237 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32238 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32239 fi
32240 fi
32241 fi
32242
32243 if test "$wxUSE_THREADS" = "yes" ; then
32244
32245 for ac_func in thr_setconcurrency
32246 do
32247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32248 echo "$as_me:$LINENO: checking for $ac_func" >&5
32249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32250 if eval "test \"\${$as_ac_var+set}\" = set"; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 else
32253 cat >conftest.$ac_ext <<_ACEOF
32254 /* confdefs.h. */
32255 _ACEOF
32256 cat confdefs.h >>conftest.$ac_ext
32257 cat >>conftest.$ac_ext <<_ACEOF
32258 /* end confdefs.h. */
32259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32261 #define $ac_func innocuous_$ac_func
32262
32263 /* System header to define __stub macros and hopefully few prototypes,
32264 which can conflict with char $ac_func (); below.
32265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32266 <limits.h> exists even on freestanding compilers. */
32267
32268 #ifdef __STDC__
32269 # include <limits.h>
32270 #else
32271 # include <assert.h>
32272 #endif
32273
32274 #undef $ac_func
32275
32276 /* Override any gcc2 internal prototype to avoid an error. */
32277 #ifdef __cplusplus
32278 extern "C"
32279 {
32280 #endif
32281 /* We use char because int might match the return type of a gcc2
32282 builtin and then its argument prototype would still apply. */
32283 char $ac_func ();
32284 /* The GNU C library defines this for functions which it implements
32285 to always fail with ENOSYS. Some functions are actually named
32286 something starting with __ and the normal name is an alias. */
32287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32288 choke me
32289 #else
32290 char (*f) () = $ac_func;
32291 #endif
32292 #ifdef __cplusplus
32293 }
32294 #endif
32295
32296 int
32297 main ()
32298 {
32299 return f != $ac_func;
32300 ;
32301 return 0;
32302 }
32303 _ACEOF
32304 rm -f conftest.$ac_objext conftest$ac_exeext
32305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32306 (eval $ac_link) 2>conftest.er1
32307 ac_status=$?
32308 grep -v '^ *+' conftest.er1 >conftest.err
32309 rm -f conftest.er1
32310 cat conftest.err >&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); } &&
32313 { ac_try='test -z "$ac_c_werror_flag"
32314 || test ! -s conftest.err'
32315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 (eval $ac_try) 2>&5
32317 ac_status=$?
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; } &&
32320 { ac_try='test -s conftest$ac_exeext'
32321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32322 (eval $ac_try) 2>&5
32323 ac_status=$?
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); }; }; then
32326 eval "$as_ac_var=yes"
32327 else
32328 echo "$as_me: failed program was:" >&5
32329 sed 's/^/| /' conftest.$ac_ext >&5
32330
32331 eval "$as_ac_var=no"
32332 fi
32333 rm -f conftest.err conftest.$ac_objext \
32334 conftest$ac_exeext conftest.$ac_ext
32335 fi
32336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32338 if test `eval echo '${'$as_ac_var'}'` = yes; then
32339 cat >>confdefs.h <<_ACEOF
32340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32341 _ACEOF
32342
32343 fi
32344 done
32345
32346
32347
32348 for ac_header in sched.h
32349 do
32350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32352 echo "$as_me:$LINENO: checking for $ac_header" >&5
32353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32355 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 fi
32357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32359 else
32360 # Is the header compilable?
32361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32363 cat >conftest.$ac_ext <<_ACEOF
32364 /* confdefs.h. */
32365 _ACEOF
32366 cat confdefs.h >>conftest.$ac_ext
32367 cat >>conftest.$ac_ext <<_ACEOF
32368 /* end confdefs.h. */
32369 $ac_includes_default
32370 #include <$ac_header>
32371 _ACEOF
32372 rm -f conftest.$ac_objext
32373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32374 (eval $ac_compile) 2>conftest.er1
32375 ac_status=$?
32376 grep -v '^ *+' conftest.er1 >conftest.err
32377 rm -f conftest.er1
32378 cat conftest.err >&5
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); } &&
32381 { ac_try='test -z "$ac_c_werror_flag"
32382 || test ! -s conftest.err'
32383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32384 (eval $ac_try) 2>&5
32385 ac_status=$?
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); }; } &&
32388 { ac_try='test -s conftest.$ac_objext'
32389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32390 (eval $ac_try) 2>&5
32391 ac_status=$?
32392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32393 (exit $ac_status); }; }; then
32394 ac_header_compiler=yes
32395 else
32396 echo "$as_me: failed program was:" >&5
32397 sed 's/^/| /' conftest.$ac_ext >&5
32398
32399 ac_header_compiler=no
32400 fi
32401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32403 echo "${ECHO_T}$ac_header_compiler" >&6
32404
32405 # Is the header present?
32406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32408 cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h. */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32414 #include <$ac_header>
32415 _ACEOF
32416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32418 ac_status=$?
32419 grep -v '^ *+' conftest.er1 >conftest.err
32420 rm -f conftest.er1
32421 cat conftest.err >&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); } >/dev/null; then
32424 if test -s conftest.err; then
32425 ac_cpp_err=$ac_c_preproc_warn_flag
32426 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32427 else
32428 ac_cpp_err=
32429 fi
32430 else
32431 ac_cpp_err=yes
32432 fi
32433 if test -z "$ac_cpp_err"; then
32434 ac_header_preproc=yes
32435 else
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.$ac_ext >&5
32438
32439 ac_header_preproc=no
32440 fi
32441 rm -f conftest.err conftest.$ac_ext
32442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32443 echo "${ECHO_T}$ac_header_preproc" >&6
32444
32445 # So? What about this header?
32446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32447 yes:no: )
32448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32452 ac_header_preproc=yes
32453 ;;
32454 no:yes:* )
32455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32467 (
32468 cat <<\_ASBOX
32469 ## ----------------------------------------- ##
32470 ## Report this to wx-dev@lists.wxwindows.org ##
32471 ## ----------------------------------------- ##
32472 _ASBOX
32473 ) |
32474 sed "s/^/$as_me: WARNING: /" >&2
32475 ;;
32476 esac
32477 echo "$as_me:$LINENO: checking for $ac_header" >&5
32478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32480 echo $ECHO_N "(cached) $ECHO_C" >&6
32481 else
32482 eval "$as_ac_Header=\$ac_header_preproc"
32483 fi
32484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32486
32487 fi
32488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32489 cat >>confdefs.h <<_ACEOF
32490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32491 _ACEOF
32492
32493 fi
32494
32495 done
32496
32497 if test "$ac_cv_header_sched_h" = "yes"; then
32498 echo "$as_me:$LINENO: checking for sched_yield" >&5
32499 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32500 if test "${ac_cv_func_sched_yield+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32502 else
32503 cat >conftest.$ac_ext <<_ACEOF
32504 /* confdefs.h. */
32505 _ACEOF
32506 cat confdefs.h >>conftest.$ac_ext
32507 cat >>conftest.$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32509 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32511 #define sched_yield innocuous_sched_yield
32512
32513 /* System header to define __stub macros and hopefully few prototypes,
32514 which can conflict with char sched_yield (); below.
32515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32516 <limits.h> exists even on freestanding compilers. */
32517
32518 #ifdef __STDC__
32519 # include <limits.h>
32520 #else
32521 # include <assert.h>
32522 #endif
32523
32524 #undef sched_yield
32525
32526 /* Override any gcc2 internal prototype to avoid an error. */
32527 #ifdef __cplusplus
32528 extern "C"
32529 {
32530 #endif
32531 /* We use char because int might match the return type of a gcc2
32532 builtin and then its argument prototype would still apply. */
32533 char sched_yield ();
32534 /* The GNU C library defines this for functions which it implements
32535 to always fail with ENOSYS. Some functions are actually named
32536 something starting with __ and the normal name is an alias. */
32537 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32538 choke me
32539 #else
32540 char (*f) () = sched_yield;
32541 #endif
32542 #ifdef __cplusplus
32543 }
32544 #endif
32545
32546 int
32547 main ()
32548 {
32549 return f != sched_yield;
32550 ;
32551 return 0;
32552 }
32553 _ACEOF
32554 rm -f conftest.$ac_objext conftest$ac_exeext
32555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32556 (eval $ac_link) 2>conftest.er1
32557 ac_status=$?
32558 grep -v '^ *+' conftest.er1 >conftest.err
32559 rm -f conftest.er1
32560 cat conftest.err >&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try='test -z "$ac_c_werror_flag"
32564 || test ! -s conftest.err'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32567 ac_status=$?
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; } &&
32570 { ac_try='test -s conftest$ac_exeext'
32571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32572 (eval $ac_try) 2>&5
32573 ac_status=$?
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); }; }; then
32576 ac_cv_func_sched_yield=yes
32577 else
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.$ac_ext >&5
32580
32581 ac_cv_func_sched_yield=no
32582 fi
32583 rm -f conftest.err conftest.$ac_objext \
32584 conftest$ac_exeext conftest.$ac_ext
32585 fi
32586 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32587 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32588 if test $ac_cv_func_sched_yield = yes; then
32589 cat >>confdefs.h <<\_ACEOF
32590 #define HAVE_SCHED_YIELD 1
32591 _ACEOF
32592
32593 else
32594
32595 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32596 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32597 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32598 echo $ECHO_N "(cached) $ECHO_C" >&6
32599 else
32600 ac_check_lib_save_LIBS=$LIBS
32601 LIBS="-lposix4 $LIBS"
32602 cat >conftest.$ac_ext <<_ACEOF
32603 /* confdefs.h. */
32604 _ACEOF
32605 cat confdefs.h >>conftest.$ac_ext
32606 cat >>conftest.$ac_ext <<_ACEOF
32607 /* end confdefs.h. */
32608
32609 /* Override any gcc2 internal prototype to avoid an error. */
32610 #ifdef __cplusplus
32611 extern "C"
32612 #endif
32613 /* We use char because int might match the return type of a gcc2
32614 builtin and then its argument prototype would still apply. */
32615 char sched_yield ();
32616 int
32617 main ()
32618 {
32619 sched_yield ();
32620 ;
32621 return 0;
32622 }
32623 _ACEOF
32624 rm -f conftest.$ac_objext conftest$ac_exeext
32625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32626 (eval $ac_link) 2>conftest.er1
32627 ac_status=$?
32628 grep -v '^ *+' conftest.er1 >conftest.err
32629 rm -f conftest.er1
32630 cat conftest.err >&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } &&
32633 { ac_try='test -z "$ac_c_werror_flag"
32634 || test ! -s conftest.err'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; } &&
32640 { ac_try='test -s conftest$ac_exeext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 ac_cv_lib_posix4_sched_yield=yes
32647 else
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.$ac_ext >&5
32650
32651 ac_cv_lib_posix4_sched_yield=no
32652 fi
32653 rm -f conftest.err conftest.$ac_objext \
32654 conftest$ac_exeext conftest.$ac_ext
32655 LIBS=$ac_check_lib_save_LIBS
32656 fi
32657 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32658 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32659 if test $ac_cv_lib_posix4_sched_yield = yes; then
32660 cat >>confdefs.h <<\_ACEOF
32661 #define HAVE_SCHED_YIELD 1
32662 _ACEOF
32663 POSIX4_LINK=" -lposix4"
32664 else
32665 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32666 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32667
32668 fi
32669
32670
32671
32672 fi
32673
32674 fi
32675
32676 HAVE_PRIOR_FUNCS=0
32677 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32678 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32679 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32681 else
32682 cat >conftest.$ac_ext <<_ACEOF
32683 /* confdefs.h. */
32684 _ACEOF
32685 cat confdefs.h >>conftest.$ac_ext
32686 cat >>conftest.$ac_ext <<_ACEOF
32687 /* end confdefs.h. */
32688 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32690 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32691
32692 /* System header to define __stub macros and hopefully few prototypes,
32693 which can conflict with char pthread_attr_getschedpolicy (); below.
32694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32695 <limits.h> exists even on freestanding compilers. */
32696
32697 #ifdef __STDC__
32698 # include <limits.h>
32699 #else
32700 # include <assert.h>
32701 #endif
32702
32703 #undef pthread_attr_getschedpolicy
32704
32705 /* Override any gcc2 internal prototype to avoid an error. */
32706 #ifdef __cplusplus
32707 extern "C"
32708 {
32709 #endif
32710 /* We use char because int might match the return type of a gcc2
32711 builtin and then its argument prototype would still apply. */
32712 char pthread_attr_getschedpolicy ();
32713 /* The GNU C library defines this for functions which it implements
32714 to always fail with ENOSYS. Some functions are actually named
32715 something starting with __ and the normal name is an alias. */
32716 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32717 choke me
32718 #else
32719 char (*f) () = pthread_attr_getschedpolicy;
32720 #endif
32721 #ifdef __cplusplus
32722 }
32723 #endif
32724
32725 int
32726 main ()
32727 {
32728 return f != pthread_attr_getschedpolicy;
32729 ;
32730 return 0;
32731 }
32732 _ACEOF
32733 rm -f conftest.$ac_objext conftest$ac_exeext
32734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32735 (eval $ac_link) 2>conftest.er1
32736 ac_status=$?
32737 grep -v '^ *+' conftest.er1 >conftest.err
32738 rm -f conftest.er1
32739 cat conftest.err >&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } &&
32742 { ac_try='test -z "$ac_c_werror_flag"
32743 || test ! -s conftest.err'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32746 ac_status=$?
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; } &&
32749 { ac_try='test -s conftest$ac_exeext'
32750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32751 (eval $ac_try) 2>&5
32752 ac_status=$?
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); }; }; then
32755 ac_cv_func_pthread_attr_getschedpolicy=yes
32756 else
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32759
32760 ac_cv_func_pthread_attr_getschedpolicy=no
32761 fi
32762 rm -f conftest.err conftest.$ac_objext \
32763 conftest$ac_exeext conftest.$ac_ext
32764 fi
32765 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32766 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32767 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32768 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32769 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32770 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32772 else
32773 cat >conftest.$ac_ext <<_ACEOF
32774 /* confdefs.h. */
32775 _ACEOF
32776 cat confdefs.h >>conftest.$ac_ext
32777 cat >>conftest.$ac_ext <<_ACEOF
32778 /* end confdefs.h. */
32779 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32781 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32782
32783 /* System header to define __stub macros and hopefully few prototypes,
32784 which can conflict with char pthread_attr_setschedparam (); below.
32785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32786 <limits.h> exists even on freestanding compilers. */
32787
32788 #ifdef __STDC__
32789 # include <limits.h>
32790 #else
32791 # include <assert.h>
32792 #endif
32793
32794 #undef pthread_attr_setschedparam
32795
32796 /* Override any gcc2 internal prototype to avoid an error. */
32797 #ifdef __cplusplus
32798 extern "C"
32799 {
32800 #endif
32801 /* We use char because int might match the return type of a gcc2
32802 builtin and then its argument prototype would still apply. */
32803 char pthread_attr_setschedparam ();
32804 /* The GNU C library defines this for functions which it implements
32805 to always fail with ENOSYS. Some functions are actually named
32806 something starting with __ and the normal name is an alias. */
32807 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32808 choke me
32809 #else
32810 char (*f) () = pthread_attr_setschedparam;
32811 #endif
32812 #ifdef __cplusplus
32813 }
32814 #endif
32815
32816 int
32817 main ()
32818 {
32819 return f != pthread_attr_setschedparam;
32820 ;
32821 return 0;
32822 }
32823 _ACEOF
32824 rm -f conftest.$ac_objext conftest$ac_exeext
32825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32826 (eval $ac_link) 2>conftest.er1
32827 ac_status=$?
32828 grep -v '^ *+' conftest.er1 >conftest.err
32829 rm -f conftest.er1
32830 cat conftest.err >&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } &&
32833 { ac_try='test -z "$ac_c_werror_flag"
32834 || test ! -s conftest.err'
32835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32836 (eval $ac_try) 2>&5
32837 ac_status=$?
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; } &&
32840 { ac_try='test -s conftest$ac_exeext'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32843 ac_status=$?
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; }; then
32846 ac_cv_func_pthread_attr_setschedparam=yes
32847 else
32848 echo "$as_me: failed program was:" >&5
32849 sed 's/^/| /' conftest.$ac_ext >&5
32850
32851 ac_cv_func_pthread_attr_setschedparam=no
32852 fi
32853 rm -f conftest.err conftest.$ac_objext \
32854 conftest$ac_exeext conftest.$ac_ext
32855 fi
32856 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32857 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32858 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32859 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32860 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32861 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32863 else
32864 cat >conftest.$ac_ext <<_ACEOF
32865 /* confdefs.h. */
32866 _ACEOF
32867 cat confdefs.h >>conftest.$ac_ext
32868 cat >>conftest.$ac_ext <<_ACEOF
32869 /* end confdefs.h. */
32870 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32872 #define sched_get_priority_max innocuous_sched_get_priority_max
32873
32874 /* System header to define __stub macros and hopefully few prototypes,
32875 which can conflict with char sched_get_priority_max (); below.
32876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32877 <limits.h> exists even on freestanding compilers. */
32878
32879 #ifdef __STDC__
32880 # include <limits.h>
32881 #else
32882 # include <assert.h>
32883 #endif
32884
32885 #undef sched_get_priority_max
32886
32887 /* Override any gcc2 internal prototype to avoid an error. */
32888 #ifdef __cplusplus
32889 extern "C"
32890 {
32891 #endif
32892 /* We use char because int might match the return type of a gcc2
32893 builtin and then its argument prototype would still apply. */
32894 char sched_get_priority_max ();
32895 /* The GNU C library defines this for functions which it implements
32896 to always fail with ENOSYS. Some functions are actually named
32897 something starting with __ and the normal name is an alias. */
32898 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32899 choke me
32900 #else
32901 char (*f) () = sched_get_priority_max;
32902 #endif
32903 #ifdef __cplusplus
32904 }
32905 #endif
32906
32907 int
32908 main ()
32909 {
32910 return f != sched_get_priority_max;
32911 ;
32912 return 0;
32913 }
32914 _ACEOF
32915 rm -f conftest.$ac_objext conftest$ac_exeext
32916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32917 (eval $ac_link) 2>conftest.er1
32918 ac_status=$?
32919 grep -v '^ *+' conftest.er1 >conftest.err
32920 rm -f conftest.er1
32921 cat conftest.err >&5
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try='test -z "$ac_c_werror_flag"
32925 || test ! -s conftest.err'
32926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32927 (eval $ac_try) 2>&5
32928 ac_status=$?
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); }; } &&
32931 { ac_try='test -s conftest$ac_exeext'
32932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32933 (eval $ac_try) 2>&5
32934 ac_status=$?
32935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936 (exit $ac_status); }; }; then
32937 ac_cv_func_sched_get_priority_max=yes
32938 else
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32941
32942 ac_cv_func_sched_get_priority_max=no
32943 fi
32944 rm -f conftest.err conftest.$ac_objext \
32945 conftest$ac_exeext conftest.$ac_ext
32946 fi
32947 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32948 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32949 if test $ac_cv_func_sched_get_priority_max = yes; then
32950 HAVE_PRIOR_FUNCS=1
32951 else
32952 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32953 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32954 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32956 else
32957 ac_check_lib_save_LIBS=$LIBS
32958 LIBS="-lposix4 $LIBS"
32959 cat >conftest.$ac_ext <<_ACEOF
32960 /* confdefs.h. */
32961 _ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965
32966 /* Override any gcc2 internal prototype to avoid an error. */
32967 #ifdef __cplusplus
32968 extern "C"
32969 #endif
32970 /* We use char because int might match the return type of a gcc2
32971 builtin and then its argument prototype would still apply. */
32972 char sched_get_priority_max ();
32973 int
32974 main ()
32975 {
32976 sched_get_priority_max ();
32977 ;
32978 return 0;
32979 }
32980 _ACEOF
32981 rm -f conftest.$ac_objext conftest$ac_exeext
32982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32983 (eval $ac_link) 2>conftest.er1
32984 ac_status=$?
32985 grep -v '^ *+' conftest.er1 >conftest.err
32986 rm -f conftest.er1
32987 cat conftest.err >&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } &&
32990 { ac_try='test -z "$ac_c_werror_flag"
32991 || test ! -s conftest.err'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; } &&
32997 { ac_try='test -s conftest$ac_exeext'
32998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32999 (eval $ac_try) 2>&5
33000 ac_status=$?
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); }; }; then
33003 ac_cv_lib_posix4_sched_get_priority_max=yes
33004 else
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.$ac_ext >&5
33007
33008 ac_cv_lib_posix4_sched_get_priority_max=no
33009 fi
33010 rm -f conftest.err conftest.$ac_objext \
33011 conftest$ac_exeext conftest.$ac_ext
33012 LIBS=$ac_check_lib_save_LIBS
33013 fi
33014 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33015 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33016 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33017
33018 HAVE_PRIOR_FUNCS=1
33019 POSIX4_LINK=" -lposix4"
33020
33021 fi
33022
33023
33024 fi
33025
33026
33027 fi
33028
33029
33030 fi
33031
33032
33033 if test "$HAVE_PRIOR_FUNCS" = 1; then
33034 cat >>confdefs.h <<\_ACEOF
33035 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33036 _ACEOF
33037
33038 else
33039 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33040 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33041 fi
33042
33043 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33044 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33045 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33046 echo $ECHO_N "(cached) $ECHO_C" >&6
33047 else
33048 cat >conftest.$ac_ext <<_ACEOF
33049 /* confdefs.h. */
33050 _ACEOF
33051 cat confdefs.h >>conftest.$ac_ext
33052 cat >>conftest.$ac_ext <<_ACEOF
33053 /* end confdefs.h. */
33054 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33056 #define pthread_cancel innocuous_pthread_cancel
33057
33058 /* System header to define __stub macros and hopefully few prototypes,
33059 which can conflict with char pthread_cancel (); below.
33060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33061 <limits.h> exists even on freestanding compilers. */
33062
33063 #ifdef __STDC__
33064 # include <limits.h>
33065 #else
33066 # include <assert.h>
33067 #endif
33068
33069 #undef pthread_cancel
33070
33071 /* Override any gcc2 internal prototype to avoid an error. */
33072 #ifdef __cplusplus
33073 extern "C"
33074 {
33075 #endif
33076 /* We use char because int might match the return type of a gcc2
33077 builtin and then its argument prototype would still apply. */
33078 char pthread_cancel ();
33079 /* The GNU C library defines this for functions which it implements
33080 to always fail with ENOSYS. Some functions are actually named
33081 something starting with __ and the normal name is an alias. */
33082 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33083 choke me
33084 #else
33085 char (*f) () = pthread_cancel;
33086 #endif
33087 #ifdef __cplusplus
33088 }
33089 #endif
33090
33091 int
33092 main ()
33093 {
33094 return f != pthread_cancel;
33095 ;
33096 return 0;
33097 }
33098 _ACEOF
33099 rm -f conftest.$ac_objext conftest$ac_exeext
33100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33101 (eval $ac_link) 2>conftest.er1
33102 ac_status=$?
33103 grep -v '^ *+' conftest.er1 >conftest.err
33104 rm -f conftest.er1
33105 cat conftest.err >&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); } &&
33108 { ac_try='test -z "$ac_c_werror_flag"
33109 || test ! -s conftest.err'
33110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33111 (eval $ac_try) 2>&5
33112 ac_status=$?
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); }; } &&
33115 { ac_try='test -s conftest$ac_exeext'
33116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33117 (eval $ac_try) 2>&5
33118 ac_status=$?
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; }; then
33121 ac_cv_func_pthread_cancel=yes
33122 else
33123 echo "$as_me: failed program was:" >&5
33124 sed 's/^/| /' conftest.$ac_ext >&5
33125
33126 ac_cv_func_pthread_cancel=no
33127 fi
33128 rm -f conftest.err conftest.$ac_objext \
33129 conftest$ac_exeext conftest.$ac_ext
33130 fi
33131 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33132 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33133 if test $ac_cv_func_pthread_cancel = yes; then
33134 cat >>confdefs.h <<\_ACEOF
33135 #define HAVE_PTHREAD_CANCEL 1
33136 _ACEOF
33137
33138 else
33139 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33140 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33141 fi
33142
33143
33144
33145
33146 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33147 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33148 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 else
33151
33152 cat >conftest.$ac_ext <<_ACEOF
33153 /* confdefs.h. */
33154 _ACEOF
33155 cat confdefs.h >>conftest.$ac_ext
33156 cat >>conftest.$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33158 #include <pthread.h>
33159 int
33160 main ()
33161 {
33162
33163 pthread_mutexattr_t attr;
33164 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33165
33166 ;
33167 return 0;
33168 }
33169 _ACEOF
33170 rm -f conftest.$ac_objext
33171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33172 (eval $ac_compile) 2>conftest.er1
33173 ac_status=$?
33174 grep -v '^ *+' conftest.er1 >conftest.err
33175 rm -f conftest.er1
33176 cat conftest.err >&5
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); } &&
33179 { ac_try='test -z "$ac_c_werror_flag"
33180 || test ! -s conftest.err'
33181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33182 (eval $ac_try) 2>&5
33183 ac_status=$?
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); }; } &&
33186 { ac_try='test -s conftest.$ac_objext'
33187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33188 (eval $ac_try) 2>&5
33189 ac_status=$?
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); }; }; then
33192
33193 wx_cv_type_pthread_mutexattr_t=yes
33194
33195 else
33196 echo "$as_me: failed program was:" >&5
33197 sed 's/^/| /' conftest.$ac_ext >&5
33198
33199
33200 wx_cv_type_pthread_mutexattr_t=no
33201
33202
33203 fi
33204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33205
33206 fi
33207 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33208 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33209
33210 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33211 cat >>confdefs.h <<\_ACEOF
33212 #define HAVE_PTHREAD_MUTEXATTR_T 1
33213 _ACEOF
33214
33215 else
33216 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33217 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33218 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33219 echo $ECHO_N "(cached) $ECHO_C" >&6
33220 else
33221
33222 cat >conftest.$ac_ext <<_ACEOF
33223 /* confdefs.h. */
33224 _ACEOF
33225 cat confdefs.h >>conftest.$ac_ext
33226 cat >>conftest.$ac_ext <<_ACEOF
33227 /* end confdefs.h. */
33228 #include <pthread.h>
33229 int
33230 main ()
33231 {
33232
33233 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33234
33235 ;
33236 return 0;
33237 }
33238 _ACEOF
33239 rm -f conftest.$ac_objext
33240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33241 (eval $ac_compile) 2>conftest.er1
33242 ac_status=$?
33243 grep -v '^ *+' conftest.er1 >conftest.err
33244 rm -f conftest.er1
33245 cat conftest.err >&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); } &&
33248 { ac_try='test -z "$ac_c_werror_flag"
33249 || test ! -s conftest.err'
33250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33251 (eval $ac_try) 2>&5
33252 ac_status=$?
33253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33254 (exit $ac_status); }; } &&
33255 { ac_try='test -s conftest.$ac_objext'
33256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33257 (eval $ac_try) 2>&5
33258 ac_status=$?
33259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33260 (exit $ac_status); }; }; then
33261
33262 wx_cv_type_pthread_rec_mutex_init=yes
33263
33264 else
33265 echo "$as_me: failed program was:" >&5
33266 sed 's/^/| /' conftest.$ac_ext >&5
33267
33268
33269 wx_cv_type_pthread_rec_mutex_init=no
33270
33271
33272 fi
33273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33274
33275 fi
33276 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33277 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33278 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33279 cat >>confdefs.h <<\_ACEOF
33280 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33281 _ACEOF
33282
33283 else
33284 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33285 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33286 fi
33287 fi
33288 fi
33289
33290 else
33291 if test "$wxUSE_THREADS" = "yes" ; then
33292 case "${host}" in
33293 *-*-mingw32* )
33294 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33295 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33296 if test "${wx_cv_cflags_mthread+set}" = set; then
33297 echo $ECHO_N "(cached) $ECHO_C" >&6
33298 else
33299
33300 CFLAGS_OLD="$CFLAGS"
33301 CFLAGS="$CFLAGS -mthreads"
33302 cat >conftest.$ac_ext <<_ACEOF
33303 /* confdefs.h. */
33304 _ACEOF
33305 cat confdefs.h >>conftest.$ac_ext
33306 cat >>conftest.$ac_ext <<_ACEOF
33307 /* end confdefs.h. */
33308
33309 int
33310 main ()
33311 {
33312
33313 ;
33314 return 0;
33315 }
33316 _ACEOF
33317 rm -f conftest.$ac_objext
33318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33319 (eval $ac_compile) 2>conftest.er1
33320 ac_status=$?
33321 grep -v '^ *+' conftest.er1 >conftest.err
33322 rm -f conftest.er1
33323 cat conftest.err >&5
33324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33325 (exit $ac_status); } &&
33326 { ac_try='test -z "$ac_c_werror_flag"
33327 || test ! -s conftest.err'
33328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33329 (eval $ac_try) 2>&5
33330 ac_status=$?
33331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332 (exit $ac_status); }; } &&
33333 { ac_try='test -s conftest.$ac_objext'
33334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33335 (eval $ac_try) 2>&5
33336 ac_status=$?
33337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33338 (exit $ac_status); }; }; then
33339 wx_cv_cflags_mthread=yes
33340 else
33341 echo "$as_me: failed program was:" >&5
33342 sed 's/^/| /' conftest.$ac_ext >&5
33343
33344 wx_cv_cflags_mthread=no
33345
33346 fi
33347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33348
33349
33350 fi
33351 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33352 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33353
33354 if test "$wx_cv_cflags_mthread" = "yes"; then
33355 CXXFLAGS="$CXXFLAGS -mthreads"
33356 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33357 LDFLAGS="$LDFLAGS -mthreads"
33358 else
33359 CFLAGS="$CFLAGS_OLD"
33360 fi
33361 ;;
33362 *-pc-os2*emx )
33363 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33364 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33365 LDFLAGS="$LDFLAGS -Zmt"
33366 ;;
33367 esac
33368 fi
33369 fi
33370
33371 if test "$wxUSE_THREADS" = "yes"; then
33372 cat >>confdefs.h <<\_ACEOF
33373 #define wxUSE_THREADS 1
33374 _ACEOF
33375
33376
33377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33378 else
33379 if test "$ac_cv_func_strtok_r" = "yes"; then
33380 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33381 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33382 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33383 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33384 echo "$as_me:$LINENO: result: yes" >&5
33385 echo "${ECHO_T}yes" >&6
33386 else
33387 echo "$as_me:$LINENO: result: no" >&5
33388 echo "${ECHO_T}no" >&6
33389 fi
33390 fi
33391 fi
33392
33393 if test "$WXGTK20" = 1 ; then
33394 cat >>confdefs.h <<_ACEOF
33395 #define __WXGTK20__ $WXGTK20
33396 _ACEOF
33397
33398 WXGTK12=1
33399 fi
33400
33401 if test "$WXGTK12" = 1 ; then
33402 cat >>confdefs.h <<_ACEOF
33403 #define __WXGTK12__ $WXGTK12
33404 _ACEOF
33405
33406 fi
33407
33408 if test "$WXGTK127" = 1 ; then
33409 cat >>confdefs.h <<_ACEOF
33410 #define __WXGTK127__ $WXGTK127
33411 _ACEOF
33412
33413 fi
33414
33415 if test "$WXGPE" = 1 ; then
33416 cat >>confdefs.h <<_ACEOF
33417 #define __WXGPE__ $WXGPE
33418 _ACEOF
33419
33420 fi
33421
33422 WXDEBUG=
33423
33424 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33425 WXDEBUG="-g"
33426 wxUSE_OPTIMISE=no
33427 fi
33428
33429 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33430 wxUSE_DEBUG_INFO=yes
33431 WXDEBUG="-ggdb"
33432 fi
33433
33434 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33435 cat >>confdefs.h <<\_ACEOF
33436 #define WXDEBUG 1
33437 _ACEOF
33438
33439 WXDEBUG_DEFINE="-D__WXDEBUG__"
33440 else
33441 if test "$wxUSE_GTK" = 1 ; then
33442 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33443 fi
33444 fi
33445
33446 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33447 cat >>confdefs.h <<\_ACEOF
33448 #define wxUSE_MEMORY_TRACING 1
33449 _ACEOF
33450
33451 cat >>confdefs.h <<\_ACEOF
33452 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33453 _ACEOF
33454
33455 cat >>confdefs.h <<\_ACEOF
33456 #define wxUSE_DEBUG_NEW_ALWAYS 1
33457 _ACEOF
33458
33459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33460 fi
33461
33462 if test "$wxUSE_DMALLOC" = "yes" ; then
33463 DMALLOC_LIBS="-ldmalloc"
33464 fi
33465
33466 PROFILE=
33467 if test "$wxUSE_PROFILE" = "yes" ; then
33468 PROFILE=" -pg"
33469 fi
33470
33471 CODE_GEN_FLAGS=
33472 CODE_GEN_FLAGS_CXX=
33473 if test "$GCC" = "yes" ; then
33474 if test "$wxUSE_NO_RTTI" = "yes" ; then
33475 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33476 fi
33477 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33478 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33479 fi
33480 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33481 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33482 fi
33483
33484 case "${host}" in
33485 powerpc*-*-aix* )
33486 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33487 ;;
33488 *-hppa* )
33489 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33490 ;;
33491 esac
33492 fi
33493
33494 OPTIMISE=
33495 if test "$wxUSE_OPTIMISE" = "no" ; then
33496 if test "$GCC" = yes ; then
33497 OPTIMISE="-O0"
33498 fi
33499 else
33500 if test "$GCC" = yes ; then
33501 OPTIMISE="-O2"
33502
33503 case "${host}" in
33504 i586-*-*|i686-*-* )
33505 OPTIMISE="${OPTIMISE} "
33506 ;;
33507 esac
33508 else
33509 OPTIMISE="-O"
33510 fi
33511 fi
33512
33513
33514 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33515 cat >>confdefs.h <<\_ACEOF
33516 #define WXWIN_COMPATIBILITY_2_2 1
33517 _ACEOF
33518
33519
33520 WXWIN_COMPATIBILITY_2_4="yes"
33521 fi
33522
33523 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33524 cat >>confdefs.h <<\_ACEOF
33525 #define WXWIN_COMPATIBILITY_2_4 1
33526 _ACEOF
33527
33528 fi
33529
33530
33531 if test "$wxUSE_GUI" = "yes"; then
33532 cat >>confdefs.h <<\_ACEOF
33533 #define wxUSE_GUI 1
33534 _ACEOF
33535
33536
33537 else
33538 cat >>confdefs.h <<\_ACEOF
33539 #define wxUSE_NOGUI 1
33540 _ACEOF
33541
33542 fi
33543
33544
33545 if test "$wxUSE_UNIX" = "yes"; then
33546 cat >>confdefs.h <<\_ACEOF
33547 #define wxUSE_UNIX 1
33548 _ACEOF
33549
33550 fi
33551
33552
33553 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33554
33555 HAVE_DL_FUNCS=0
33556 HAVE_SHL_FUNCS=0
33557 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33558 if test "$USE_DARWIN" = 1; then
33559 HAVE_DL_FUNCS=1
33560 else
33561
33562 for ac_func in dlopen
33563 do
33564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33565 echo "$as_me:$LINENO: checking for $ac_func" >&5
33566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33567 if eval "test \"\${$as_ac_var+set}\" = set"; then
33568 echo $ECHO_N "(cached) $ECHO_C" >&6
33569 else
33570 cat >conftest.$ac_ext <<_ACEOF
33571 /* confdefs.h. */
33572 _ACEOF
33573 cat confdefs.h >>conftest.$ac_ext
33574 cat >>conftest.$ac_ext <<_ACEOF
33575 /* end confdefs.h. */
33576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33578 #define $ac_func innocuous_$ac_func
33579
33580 /* System header to define __stub macros and hopefully few prototypes,
33581 which can conflict with char $ac_func (); below.
33582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33583 <limits.h> exists even on freestanding compilers. */
33584
33585 #ifdef __STDC__
33586 # include <limits.h>
33587 #else
33588 # include <assert.h>
33589 #endif
33590
33591 #undef $ac_func
33592
33593 /* Override any gcc2 internal prototype to avoid an error. */
33594 #ifdef __cplusplus
33595 extern "C"
33596 {
33597 #endif
33598 /* We use char because int might match the return type of a gcc2
33599 builtin and then its argument prototype would still apply. */
33600 char $ac_func ();
33601 /* The GNU C library defines this for functions which it implements
33602 to always fail with ENOSYS. Some functions are actually named
33603 something starting with __ and the normal name is an alias. */
33604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33605 choke me
33606 #else
33607 char (*f) () = $ac_func;
33608 #endif
33609 #ifdef __cplusplus
33610 }
33611 #endif
33612
33613 int
33614 main ()
33615 {
33616 return f != $ac_func;
33617 ;
33618 return 0;
33619 }
33620 _ACEOF
33621 rm -f conftest.$ac_objext conftest$ac_exeext
33622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33623 (eval $ac_link) 2>conftest.er1
33624 ac_status=$?
33625 grep -v '^ *+' conftest.er1 >conftest.err
33626 rm -f conftest.er1
33627 cat conftest.err >&5
33628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33629 (exit $ac_status); } &&
33630 { ac_try='test -z "$ac_c_werror_flag"
33631 || test ! -s conftest.err'
33632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633 (eval $ac_try) 2>&5
33634 ac_status=$?
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); }; } &&
33637 { ac_try='test -s conftest$ac_exeext'
33638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33639 (eval $ac_try) 2>&5
33640 ac_status=$?
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); }; }; then
33643 eval "$as_ac_var=yes"
33644 else
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.$ac_ext >&5
33647
33648 eval "$as_ac_var=no"
33649 fi
33650 rm -f conftest.err conftest.$ac_objext \
33651 conftest$ac_exeext conftest.$ac_ext
33652 fi
33653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33655 if test `eval echo '${'$as_ac_var'}'` = yes; then
33656 cat >>confdefs.h <<_ACEOF
33657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33658 _ACEOF
33659
33660 cat >>confdefs.h <<\_ACEOF
33661 #define HAVE_DLOPEN 1
33662 _ACEOF
33663
33664 HAVE_DL_FUNCS=1
33665
33666 else
33667
33668 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33669 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33670 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33671 echo $ECHO_N "(cached) $ECHO_C" >&6
33672 else
33673 ac_check_lib_save_LIBS=$LIBS
33674 LIBS="-ldl $LIBS"
33675 cat >conftest.$ac_ext <<_ACEOF
33676 /* confdefs.h. */
33677 _ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33681
33682 /* Override any gcc2 internal prototype to avoid an error. */
33683 #ifdef __cplusplus
33684 extern "C"
33685 #endif
33686 /* We use char because int might match the return type of a gcc2
33687 builtin and then its argument prototype would still apply. */
33688 char dlopen ();
33689 int
33690 main ()
33691 {
33692 dlopen ();
33693 ;
33694 return 0;
33695 }
33696 _ACEOF
33697 rm -f conftest.$ac_objext conftest$ac_exeext
33698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33699 (eval $ac_link) 2>conftest.er1
33700 ac_status=$?
33701 grep -v '^ *+' conftest.er1 >conftest.err
33702 rm -f conftest.er1
33703 cat conftest.err >&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } &&
33706 { ac_try='test -z "$ac_c_werror_flag"
33707 || test ! -s conftest.err'
33708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33709 (eval $ac_try) 2>&5
33710 ac_status=$?
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); }; } &&
33713 { ac_try='test -s conftest$ac_exeext'
33714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33715 (eval $ac_try) 2>&5
33716 ac_status=$?
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); }; }; then
33719 ac_cv_lib_dl_dlopen=yes
33720 else
33721 echo "$as_me: failed program was:" >&5
33722 sed 's/^/| /' conftest.$ac_ext >&5
33723
33724 ac_cv_lib_dl_dlopen=no
33725 fi
33726 rm -f conftest.err conftest.$ac_objext \
33727 conftest$ac_exeext conftest.$ac_ext
33728 LIBS=$ac_check_lib_save_LIBS
33729 fi
33730 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33731 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33732 if test $ac_cv_lib_dl_dlopen = yes; then
33733
33734 cat >>confdefs.h <<\_ACEOF
33735 #define HAVE_DLOPEN 1
33736 _ACEOF
33737
33738 HAVE_DL_FUNCS=1
33739 DL_LINK=" -ldl$DL_LINK"
33740
33741 else
33742
33743
33744 for ac_func in shl_load
33745 do
33746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33747 echo "$as_me:$LINENO: checking for $ac_func" >&5
33748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33749 if eval "test \"\${$as_ac_var+set}\" = set"; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 else
33752 cat >conftest.$ac_ext <<_ACEOF
33753 /* confdefs.h. */
33754 _ACEOF
33755 cat confdefs.h >>conftest.$ac_ext
33756 cat >>conftest.$ac_ext <<_ACEOF
33757 /* end confdefs.h. */
33758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33760 #define $ac_func innocuous_$ac_func
33761
33762 /* System header to define __stub macros and hopefully few prototypes,
33763 which can conflict with char $ac_func (); below.
33764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33765 <limits.h> exists even on freestanding compilers. */
33766
33767 #ifdef __STDC__
33768 # include <limits.h>
33769 #else
33770 # include <assert.h>
33771 #endif
33772
33773 #undef $ac_func
33774
33775 /* Override any gcc2 internal prototype to avoid an error. */
33776 #ifdef __cplusplus
33777 extern "C"
33778 {
33779 #endif
33780 /* We use char because int might match the return type of a gcc2
33781 builtin and then its argument prototype would still apply. */
33782 char $ac_func ();
33783 /* The GNU C library defines this for functions which it implements
33784 to always fail with ENOSYS. Some functions are actually named
33785 something starting with __ and the normal name is an alias. */
33786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33787 choke me
33788 #else
33789 char (*f) () = $ac_func;
33790 #endif
33791 #ifdef __cplusplus
33792 }
33793 #endif
33794
33795 int
33796 main ()
33797 {
33798 return f != $ac_func;
33799 ;
33800 return 0;
33801 }
33802 _ACEOF
33803 rm -f conftest.$ac_objext conftest$ac_exeext
33804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33805 (eval $ac_link) 2>conftest.er1
33806 ac_status=$?
33807 grep -v '^ *+' conftest.er1 >conftest.err
33808 rm -f conftest.er1
33809 cat conftest.err >&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); } &&
33812 { ac_try='test -z "$ac_c_werror_flag"
33813 || test ! -s conftest.err'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33816 ac_status=$?
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; } &&
33819 { ac_try='test -s conftest$ac_exeext'
33820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33821 (eval $ac_try) 2>&5
33822 ac_status=$?
33823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 (exit $ac_status); }; }; then
33825 eval "$as_ac_var=yes"
33826 else
33827 echo "$as_me: failed program was:" >&5
33828 sed 's/^/| /' conftest.$ac_ext >&5
33829
33830 eval "$as_ac_var=no"
33831 fi
33832 rm -f conftest.err conftest.$ac_objext \
33833 conftest$ac_exeext conftest.$ac_ext
33834 fi
33835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33837 if test `eval echo '${'$as_ac_var'}'` = yes; then
33838 cat >>confdefs.h <<_ACEOF
33839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33840 _ACEOF
33841
33842 cat >>confdefs.h <<\_ACEOF
33843 #define HAVE_SHL_LOAD 1
33844 _ACEOF
33845
33846 HAVE_SHL_FUNCS=1
33847
33848 else
33849
33850 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33851 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33852 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33854 else
33855 ac_check_lib_save_LIBS=$LIBS
33856 LIBS="-lshl_load $LIBS"
33857 cat >conftest.$ac_ext <<_ACEOF
33858 /* confdefs.h. */
33859 _ACEOF
33860 cat confdefs.h >>conftest.$ac_ext
33861 cat >>conftest.$ac_ext <<_ACEOF
33862 /* end confdefs.h. */
33863
33864 /* Override any gcc2 internal prototype to avoid an error. */
33865 #ifdef __cplusplus
33866 extern "C"
33867 #endif
33868 /* We use char because int might match the return type of a gcc2
33869 builtin and then its argument prototype would still apply. */
33870 char dld ();
33871 int
33872 main ()
33873 {
33874 dld ();
33875 ;
33876 return 0;
33877 }
33878 _ACEOF
33879 rm -f conftest.$ac_objext conftest$ac_exeext
33880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33881 (eval $ac_link) 2>conftest.er1
33882 ac_status=$?
33883 grep -v '^ *+' conftest.er1 >conftest.err
33884 rm -f conftest.er1
33885 cat conftest.err >&5
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); } &&
33888 { ac_try='test -z "$ac_c_werror_flag"
33889 || test ! -s conftest.err'
33890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33891 (eval $ac_try) 2>&5
33892 ac_status=$?
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); }; } &&
33895 { ac_try='test -s conftest$ac_exeext'
33896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33897 (eval $ac_try) 2>&5
33898 ac_status=$?
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); }; }; then
33901 ac_cv_lib_shl_load_dld=yes
33902 else
33903 echo "$as_me: failed program was:" >&5
33904 sed 's/^/| /' conftest.$ac_ext >&5
33905
33906 ac_cv_lib_shl_load_dld=no
33907 fi
33908 rm -f conftest.err conftest.$ac_objext \
33909 conftest$ac_exeext conftest.$ac_ext
33910 LIBS=$ac_check_lib_save_LIBS
33911 fi
33912 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33913 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33914 if test $ac_cv_lib_shl_load_dld = yes; then
33915
33916 HAVE_SHL_FUNCS=1
33917 DL_LINK=" -ldld$DL_LINK"
33918
33919 fi
33920
33921
33922 fi
33923 done
33924
33925
33926 fi
33927
33928
33929 fi
33930 done
33931
33932
33933 if test "$HAVE_DL_FUNCS" = 1; then
33934
33935 for ac_func in dlerror
33936 do
33937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33938 echo "$as_me:$LINENO: checking for $ac_func" >&5
33939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33940 if eval "test \"\${$as_ac_var+set}\" = set"; then
33941 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 else
33943 cat >conftest.$ac_ext <<_ACEOF
33944 /* confdefs.h. */
33945 _ACEOF
33946 cat confdefs.h >>conftest.$ac_ext
33947 cat >>conftest.$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33951 #define $ac_func innocuous_$ac_func
33952
33953 /* System header to define __stub macros and hopefully few prototypes,
33954 which can conflict with char $ac_func (); below.
33955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33956 <limits.h> exists even on freestanding compilers. */
33957
33958 #ifdef __STDC__
33959 # include <limits.h>
33960 #else
33961 # include <assert.h>
33962 #endif
33963
33964 #undef $ac_func
33965
33966 /* Override any gcc2 internal prototype to avoid an error. */
33967 #ifdef __cplusplus
33968 extern "C"
33969 {
33970 #endif
33971 /* We use char because int might match the return type of a gcc2
33972 builtin and then its argument prototype would still apply. */
33973 char $ac_func ();
33974 /* The GNU C library defines this for functions which it implements
33975 to always fail with ENOSYS. Some functions are actually named
33976 something starting with __ and the normal name is an alias. */
33977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33978 choke me
33979 #else
33980 char (*f) () = $ac_func;
33981 #endif
33982 #ifdef __cplusplus
33983 }
33984 #endif
33985
33986 int
33987 main ()
33988 {
33989 return f != $ac_func;
33990 ;
33991 return 0;
33992 }
33993 _ACEOF
33994 rm -f conftest.$ac_objext conftest$ac_exeext
33995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33996 (eval $ac_link) 2>conftest.er1
33997 ac_status=$?
33998 grep -v '^ *+' conftest.er1 >conftest.err
33999 rm -f conftest.er1
34000 cat conftest.err >&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); } &&
34003 { ac_try='test -z "$ac_c_werror_flag"
34004 || test ! -s conftest.err'
34005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34006 (eval $ac_try) 2>&5
34007 ac_status=$?
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); }; } &&
34010 { ac_try='test -s conftest$ac_exeext'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34013 ac_status=$?
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; }; then
34016 eval "$as_ac_var=yes"
34017 else
34018 echo "$as_me: failed program was:" >&5
34019 sed 's/^/| /' conftest.$ac_ext >&5
34020
34021 eval "$as_ac_var=no"
34022 fi
34023 rm -f conftest.err conftest.$ac_objext \
34024 conftest$ac_exeext conftest.$ac_ext
34025 fi
34026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34028 if test `eval echo '${'$as_ac_var'}'` = yes; then
34029 cat >>confdefs.h <<_ACEOF
34030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34031 _ACEOF
34032 cat >>confdefs.h <<\_ACEOF
34033 #define HAVE_DLERROR 1
34034 _ACEOF
34035
34036 else
34037
34038 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34039 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34040 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34041 echo $ECHO_N "(cached) $ECHO_C" >&6
34042 else
34043 ac_check_lib_save_LIBS=$LIBS
34044 LIBS="-ldl $LIBS"
34045 cat >conftest.$ac_ext <<_ACEOF
34046 /* confdefs.h. */
34047 _ACEOF
34048 cat confdefs.h >>conftest.$ac_ext
34049 cat >>conftest.$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34051
34052 /* Override any gcc2 internal prototype to avoid an error. */
34053 #ifdef __cplusplus
34054 extern "C"
34055 #endif
34056 /* We use char because int might match the return type of a gcc2
34057 builtin and then its argument prototype would still apply. */
34058 char dlerror ();
34059 int
34060 main ()
34061 {
34062 dlerror ();
34063 ;
34064 return 0;
34065 }
34066 _ACEOF
34067 rm -f conftest.$ac_objext conftest$ac_exeext
34068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34069 (eval $ac_link) 2>conftest.er1
34070 ac_status=$?
34071 grep -v '^ *+' conftest.er1 >conftest.err
34072 rm -f conftest.er1
34073 cat conftest.err >&5
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); } &&
34076 { ac_try='test -z "$ac_c_werror_flag"
34077 || test ! -s conftest.err'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34080 ac_status=$?
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; } &&
34083 { ac_try='test -s conftest$ac_exeext'
34084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34085 (eval $ac_try) 2>&5
34086 ac_status=$?
34087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34088 (exit $ac_status); }; }; then
34089 ac_cv_lib_dl_dlerror=yes
34090 else
34091 echo "$as_me: failed program was:" >&5
34092 sed 's/^/| /' conftest.$ac_ext >&5
34093
34094 ac_cv_lib_dl_dlerror=no
34095 fi
34096 rm -f conftest.err conftest.$ac_objext \
34097 conftest$ac_exeext conftest.$ac_ext
34098 LIBS=$ac_check_lib_save_LIBS
34099 fi
34100 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34101 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34102 if test $ac_cv_lib_dl_dlerror = yes; then
34103 cat >>confdefs.h <<\_ACEOF
34104 #define HAVE_DLERROR 1
34105 _ACEOF
34106
34107 fi
34108
34109
34110
34111 fi
34112 done
34113
34114 fi
34115 fi
34116
34117 if test "$HAVE_DL_FUNCS" = 0; then
34118 if test "$HAVE_SHL_FUNCS" = 0; then
34119 if test "$USE_UNIX" = 1; then
34120 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34121 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34122 wxUSE_DYNAMIC_LOADER=no
34123 wxUSE_DYNLIB_CLASS=no
34124 else
34125 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34126 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34127 fi
34128 fi
34129 fi
34130 fi
34131 fi
34132
34133 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34134 cat >>confdefs.h <<\_ACEOF
34135 #define wxUSE_DYNAMIC_LOADER 1
34136 _ACEOF
34137
34138 fi
34139 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34140 cat >>confdefs.h <<\_ACEOF
34141 #define wxUSE_DYNLIB_CLASS 1
34142 _ACEOF
34143
34144 fi
34145
34146
34147
34148 if test "$wxUSE_PLUGINS" = "yes" ; then
34149 if test "$wxUSE_SHARED" = "no" ; then
34150 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34151 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34152 wxUSE_PLUGINS=no
34153 fi
34154 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34155 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34156 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34157 wxUSE_PLUGINS=no
34158 fi
34159 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34160 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34161 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34162 wxUSE_PLUGINS=no
34163 fi
34164 if test "$wxUSE_PLUGINS" = "yes" ; then
34165 cat >>confdefs.h <<\_ACEOF
34166 #define wxUSE_PLUGINS 1
34167 _ACEOF
34168
34169 fi
34170 fi
34171
34172
34173 if test "$wxUSE_STL" = "yes"; then
34174 cat >>confdefs.h <<\_ACEOF
34175 #define wxUSE_STL 1
34176 _ACEOF
34177
34178 fi
34179
34180 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34181 cat >>confdefs.h <<\_ACEOF
34182 #define wxUSE_APPLE_IEEE 1
34183 _ACEOF
34184
34185 fi
34186
34187 if test "$wxUSE_TIMER" = "yes"; then
34188 cat >>confdefs.h <<\_ACEOF
34189 #define wxUSE_TIMER 1
34190 _ACEOF
34191
34192 fi
34193
34194 WITH_PLUGIN_SDL=0
34195 if test "$wxUSE_SOUND" = "yes"; then
34196 if test "$USE_UNIX" = "1" ; then
34197
34198 for ac_header in sys/soundcard.h
34199 do
34200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34202 echo "$as_me:$LINENO: checking for $ac_header" >&5
34203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34205 echo $ECHO_N "(cached) $ECHO_C" >&6
34206 fi
34207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34209 else
34210 # Is the header compilable?
34211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34213 cat >conftest.$ac_ext <<_ACEOF
34214 /* confdefs.h. */
34215 _ACEOF
34216 cat confdefs.h >>conftest.$ac_ext
34217 cat >>conftest.$ac_ext <<_ACEOF
34218 /* end confdefs.h. */
34219 $ac_includes_default
34220 #include <$ac_header>
34221 _ACEOF
34222 rm -f conftest.$ac_objext
34223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34224 (eval $ac_compile) 2>conftest.er1
34225 ac_status=$?
34226 grep -v '^ *+' conftest.er1 >conftest.err
34227 rm -f conftest.er1
34228 cat conftest.err >&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } &&
34231 { ac_try='test -z "$ac_c_werror_flag"
34232 || test ! -s conftest.err'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; } &&
34238 { ac_try='test -s conftest.$ac_objext'
34239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34240 (eval $ac_try) 2>&5
34241 ac_status=$?
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); }; }; then
34244 ac_header_compiler=yes
34245 else
34246 echo "$as_me: failed program was:" >&5
34247 sed 's/^/| /' conftest.$ac_ext >&5
34248
34249 ac_header_compiler=no
34250 fi
34251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34252 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34253 echo "${ECHO_T}$ac_header_compiler" >&6
34254
34255 # Is the header present?
34256 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34257 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34258 cat >conftest.$ac_ext <<_ACEOF
34259 /* confdefs.h. */
34260 _ACEOF
34261 cat confdefs.h >>conftest.$ac_ext
34262 cat >>conftest.$ac_ext <<_ACEOF
34263 /* end confdefs.h. */
34264 #include <$ac_header>
34265 _ACEOF
34266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34268 ac_status=$?
34269 grep -v '^ *+' conftest.er1 >conftest.err
34270 rm -f conftest.er1
34271 cat conftest.err >&5
34272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34273 (exit $ac_status); } >/dev/null; then
34274 if test -s conftest.err; then
34275 ac_cpp_err=$ac_c_preproc_warn_flag
34276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34277 else
34278 ac_cpp_err=
34279 fi
34280 else
34281 ac_cpp_err=yes
34282 fi
34283 if test -z "$ac_cpp_err"; then
34284 ac_header_preproc=yes
34285 else
34286 echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.$ac_ext >&5
34288
34289 ac_header_preproc=no
34290 fi
34291 rm -f conftest.err conftest.$ac_ext
34292 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34293 echo "${ECHO_T}$ac_header_preproc" >&6
34294
34295 # So? What about this header?
34296 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34297 yes:no: )
34298 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34299 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34301 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34302 ac_header_preproc=yes
34303 ;;
34304 no:yes:* )
34305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34309 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34310 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34311 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34312 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34314 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34315 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34316 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34317 (
34318 cat <<\_ASBOX
34319 ## ----------------------------------------- ##
34320 ## Report this to wx-dev@lists.wxwindows.org ##
34321 ## ----------------------------------------- ##
34322 _ASBOX
34323 ) |
34324 sed "s/^/$as_me: WARNING: /" >&2
34325 ;;
34326 esac
34327 echo "$as_me:$LINENO: checking for $ac_header" >&5
34328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34330 echo $ECHO_N "(cached) $ECHO_C" >&6
34331 else
34332 eval "$as_ac_Header=\$ac_header_preproc"
34333 fi
34334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34336
34337 fi
34338 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34339 cat >>confdefs.h <<_ACEOF
34340 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34341 _ACEOF
34342
34343 fi
34344
34345 done
34346
34347
34348 if test "$wxUSE_LIBSDL" != "no"; then
34349
34350 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34351 if test "${with_sdl_prefix+set}" = set; then
34352 withval="$with_sdl_prefix"
34353 sdl_prefix="$withval"
34354 else
34355 sdl_prefix=""
34356 fi;
34357
34358 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34359 if test "${with_sdl_exec_prefix+set}" = set; then
34360 withval="$with_sdl_exec_prefix"
34361 sdl_exec_prefix="$withval"
34362 else
34363 sdl_exec_prefix=""
34364 fi;
34365 # Check whether --enable-sdltest or --disable-sdltest was given.
34366 if test "${enable_sdltest+set}" = set; then
34367 enableval="$enable_sdltest"
34368
34369 else
34370 enable_sdltest=yes
34371 fi;
34372
34373 if test x$sdl_exec_prefix != x ; then
34374 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34375 if test x${SDL_CONFIG+set} != xset ; then
34376 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34377 fi
34378 fi
34379 if test x$sdl_prefix != x ; then
34380 sdl_args="$sdl_args --prefix=$sdl_prefix"
34381 if test x${SDL_CONFIG+set} != xset ; then
34382 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34383 fi
34384 fi
34385
34386
34387 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34388 # Extract the first word of "sdl-config", so it can be a program name with args.
34389 set dummy sdl-config; ac_word=$2
34390 echo "$as_me:$LINENO: checking for $ac_word" >&5
34391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34392 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34393 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 else
34395 case $SDL_CONFIG in
34396 [\\/]* | ?:[\\/]*)
34397 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34398 ;;
34399 *)
34400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34401 for as_dir in $PATH
34402 do
34403 IFS=$as_save_IFS
34404 test -z "$as_dir" && as_dir=.
34405 for ac_exec_ext in '' $ac_executable_extensions; do
34406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34407 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34409 break 2
34410 fi
34411 done
34412 done
34413
34414 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34415 ;;
34416 esac
34417 fi
34418 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34419
34420 if test -n "$SDL_CONFIG"; then
34421 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34422 echo "${ECHO_T}$SDL_CONFIG" >&6
34423 else
34424 echo "$as_me:$LINENO: result: no" >&5
34425 echo "${ECHO_T}no" >&6
34426 fi
34427
34428 min_sdl_version=1.2.0
34429 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34430 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34431 no_sdl=""
34432 if test "$SDL_CONFIG" = "no" ; then
34433 no_sdl=yes
34434 else
34435 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34436 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34437
34438 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34440 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34442 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34444 if test "x$enable_sdltest" = "xyes" ; then
34445 ac_save_CFLAGS="$CFLAGS"
34446 ac_save_LIBS="$LIBS"
34447 CFLAGS="$CFLAGS $SDL_CFLAGS"
34448 LIBS="$LIBS $SDL_LIBS"
34449 rm -f conf.sdltest
34450 if test "$cross_compiling" = yes; then
34451 echo $ac_n "cross compiling; assumed OK... $ac_c"
34452 else
34453 cat >conftest.$ac_ext <<_ACEOF
34454 /* confdefs.h. */
34455 _ACEOF
34456 cat confdefs.h >>conftest.$ac_ext
34457 cat >>conftest.$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34459
34460 #include <stdio.h>
34461 #include <stdlib.h>
34462 #include <string.h>
34463 #include "SDL.h"
34464
34465 char*
34466 my_strdup (char *str)
34467 {
34468 char *new_str;
34469
34470 if (str)
34471 {
34472 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34473 strcpy (new_str, str);
34474 }
34475 else
34476 new_str = NULL;
34477
34478 return new_str;
34479 }
34480
34481 int main (int argc, char *argv[])
34482 {
34483 int major, minor, micro;
34484 char *tmp_version;
34485
34486 /* This hangs on some systems (?)
34487 system ("touch conf.sdltest");
34488 */
34489 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34490
34491 /* HP/UX 9 (%@#!) writes to sscanf strings */
34492 tmp_version = my_strdup("$min_sdl_version");
34493 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34494 printf("%s, bad version string\n", "$min_sdl_version");
34495 exit(1);
34496 }
34497
34498 if (($sdl_major_version > major) ||
34499 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34500 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34501 {
34502 return 0;
34503 }
34504 else
34505 {
34506 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34507 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34508 printf("*** best to upgrade to the required version.\n");
34509 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34510 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34511 printf("*** config.cache before re-running configure\n");
34512 return 1;
34513 }
34514 }
34515
34516
34517 _ACEOF
34518 rm -f conftest$ac_exeext
34519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34520 (eval $ac_link) 2>&5
34521 ac_status=$?
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34526 ac_status=$?
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; }; then
34529 :
34530 else
34531 echo "$as_me: program exited with status $ac_status" >&5
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34534
34535 ( exit $ac_status )
34536 no_sdl=yes
34537 fi
34538 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34539 fi
34540 CFLAGS="$ac_save_CFLAGS"
34541 LIBS="$ac_save_LIBS"
34542 fi
34543 fi
34544 if test "x$no_sdl" = x ; then
34545 echo "$as_me:$LINENO: result: yes" >&5
34546 echo "${ECHO_T}yes" >&6
34547
34548 EXTRALIBS_SDL="$SDL_LIBS"
34549 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34550 cat >>confdefs.h <<\_ACEOF
34551 #define wxUSE_LIBSDL 1
34552 _ACEOF
34553
34554
34555 else
34556 echo "$as_me:$LINENO: result: no" >&5
34557 echo "${ECHO_T}no" >&6
34558 if test "$SDL_CONFIG" = "no" ; then
34559 echo "*** The sdl-config script installed by SDL could not be found"
34560 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34561 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34562 echo "*** full path to sdl-config."
34563 else
34564 if test -f conf.sdltest ; then
34565 :
34566 else
34567 echo "*** Could not run SDL test program, checking why..."
34568 CFLAGS="$CFLAGS $SDL_CFLAGS"
34569 LIBS="$LIBS $SDL_LIBS"
34570 cat >conftest.$ac_ext <<_ACEOF
34571 /* confdefs.h. */
34572 _ACEOF
34573 cat confdefs.h >>conftest.$ac_ext
34574 cat >>conftest.$ac_ext <<_ACEOF
34575 /* end confdefs.h. */
34576
34577 #include <stdio.h>
34578 #include "SDL.h"
34579
34580 int main(int argc, char *argv[])
34581 { return 0; }
34582 #undef main
34583 #define main K_and_R_C_main
34584
34585 int
34586 main ()
34587 {
34588 return 0;
34589 ;
34590 return 0;
34591 }
34592 _ACEOF
34593 rm -f conftest.$ac_objext conftest$ac_exeext
34594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34595 (eval $ac_link) 2>conftest.er1
34596 ac_status=$?
34597 grep -v '^ *+' conftest.er1 >conftest.err
34598 rm -f conftest.er1
34599 cat conftest.err >&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); } &&
34602 { ac_try='test -z "$ac_c_werror_flag"
34603 || test ! -s conftest.err'
34604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34605 (eval $ac_try) 2>&5
34606 ac_status=$?
34607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34608 (exit $ac_status); }; } &&
34609 { ac_try='test -s conftest$ac_exeext'
34610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34611 (eval $ac_try) 2>&5
34612 ac_status=$?
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); }; }; then
34615 echo "*** The test program compiled, but did not run. This usually means"
34616 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34617 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34618 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34619 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34620 echo "*** is required on your system"
34621 echo "***"
34622 echo "*** If you have an old version installed, it is best to remove it, although"
34623 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34624 else
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.$ac_ext >&5
34627
34628 echo "*** The test program failed to compile or link. See the file config.log for the"
34629 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34630 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34631 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34632 fi
34633 rm -f conftest.err conftest.$ac_objext \
34634 conftest$ac_exeext conftest.$ac_ext
34635 CFLAGS="$ac_save_CFLAGS"
34636 LIBS="$ac_save_LIBS"
34637 fi
34638 fi
34639 SDL_CFLAGS=""
34640 SDL_LIBS=""
34641 wxUSE_LIBSDL="no"
34642 fi
34643
34644
34645 rm -f conf.sdltest
34646
34647 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34648 WITH_PLUGIN_SDL=1
34649 fi
34650 fi
34651 fi
34652
34653 cat >>confdefs.h <<\_ACEOF
34654 #define wxUSE_SOUND 1
34655 _ACEOF
34656
34657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34658 fi
34659
34660 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34661 cat >>confdefs.h <<\_ACEOF
34662 #define wxUSE_CMDLINE_PARSER 1
34663 _ACEOF
34664
34665 fi
34666
34667 if test "$wxUSE_STOPWATCH" = "yes"; then
34668 cat >>confdefs.h <<\_ACEOF
34669 #define wxUSE_STOPWATCH 1
34670 _ACEOF
34671
34672 fi
34673
34674 if test "$wxUSE_DATETIME" = "yes"; then
34675 cat >>confdefs.h <<\_ACEOF
34676 #define wxUSE_DATETIME 1
34677 _ACEOF
34678
34679 fi
34680
34681 if test "$wxUSE_FILE" = "yes"; then
34682 cat >>confdefs.h <<\_ACEOF
34683 #define wxUSE_FILE 1
34684 _ACEOF
34685
34686 fi
34687
34688 if test "$wxUSE_FFILE" = "yes"; then
34689 cat >>confdefs.h <<\_ACEOF
34690 #define wxUSE_FFILE 1
34691 _ACEOF
34692
34693 fi
34694
34695 if test "$wxUSE_FILESYSTEM" = "yes"; then
34696 cat >>confdefs.h <<\_ACEOF
34697 #define wxUSE_FILESYSTEM 1
34698 _ACEOF
34699
34700 fi
34701
34702 if test "$wxUSE_FS_ZIP" = "yes"; then
34703 cat >>confdefs.h <<\_ACEOF
34704 #define wxUSE_FS_ZIP 1
34705 _ACEOF
34706
34707 fi
34708
34709 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34710 cat >>confdefs.h <<\_ACEOF
34711 #define wxUSE_ZIPSTREAM 1
34712 _ACEOF
34713
34714 fi
34715
34716 if test "$wxUSE_GZSTREAM" = "yes"; then
34717 cat >>confdefs.h <<\_ACEOF
34718 #define wxUSE_GZSTREAM 1
34719 _ACEOF
34720
34721 fi
34722
34723 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34724 cat >>confdefs.h <<\_ACEOF
34725 #define wxUSE_ON_FATAL_EXCEPTION 1
34726 _ACEOF
34727
34728 fi
34729
34730 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34731 cat >>confdefs.h <<\_ACEOF
34732 #define wxUSE_SNGLINST_CHECKER 1
34733 _ACEOF
34734
34735 fi
34736
34737 if test "$wxUSE_BUSYINFO" = "yes"; then
34738 cat >>confdefs.h <<\_ACEOF
34739 #define wxUSE_BUSYINFO 1
34740 _ACEOF
34741
34742 fi
34743
34744 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34745 cat >>confdefs.h <<\_ACEOF
34746 #define wxUSE_STD_IOSTREAM 1
34747 _ACEOF
34748
34749 fi
34750
34751 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34752 cat >>confdefs.h <<\_ACEOF
34753 #define wxUSE_TEXTBUFFER 1
34754 _ACEOF
34755
34756 fi
34757
34758 if test "$wxUSE_TEXTFILE" = "yes"; then
34759 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34760 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34761 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34762 else
34763 cat >>confdefs.h <<\_ACEOF
34764 #define wxUSE_TEXTFILE 1
34765 _ACEOF
34766
34767 fi
34768 fi
34769
34770 if test "$wxUSE_CONFIG" = "yes" ; then
34771 if test "$wxUSE_TEXTFILE" != "yes"; then
34772 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34773 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34774 else
34775 cat >>confdefs.h <<\_ACEOF
34776 #define wxUSE_CONFIG 1
34777 _ACEOF
34778
34779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34780 fi
34781 fi
34782
34783 if test "$wxUSE_INTL" = "yes" ; then
34784 if test "$wxUSE_FILE" != "yes"; then
34785 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34786 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34787 else
34788 cat >>confdefs.h <<\_ACEOF
34789 #define wxUSE_INTL 1
34790 _ACEOF
34791
34792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34793 GUIDIST="$GUIDIST INTL_DIST"
34794 fi
34795 fi
34796
34797 if test "$wxUSE_LOG" = "yes"; then
34798 cat >>confdefs.h <<\_ACEOF
34799 #define wxUSE_LOG 1
34800 _ACEOF
34801
34802
34803 if test "$wxUSE_LOGGUI" = "yes"; then
34804 cat >>confdefs.h <<\_ACEOF
34805 #define wxUSE_LOGGUI 1
34806 _ACEOF
34807
34808 fi
34809
34810 if test "$wxUSE_LOGWINDOW" = "yes"; then
34811 cat >>confdefs.h <<\_ACEOF
34812 #define wxUSE_LOGWINDOW 1
34813 _ACEOF
34814
34815 fi
34816
34817 if test "$wxUSE_LOGDIALOG" = "yes"; then
34818 cat >>confdefs.h <<\_ACEOF
34819 #define wxUSE_LOG_DIALOG 1
34820 _ACEOF
34821
34822 fi
34823 fi
34824
34825 if test "$wxUSE_LONGLONG" = "yes"; then
34826 cat >>confdefs.h <<\_ACEOF
34827 #define wxUSE_LONGLONG 1
34828 _ACEOF
34829
34830 fi
34831
34832 if test "$wxUSE_GEOMETRY" = "yes"; then
34833 cat >>confdefs.h <<\_ACEOF
34834 #define wxUSE_GEOMETRY 1
34835 _ACEOF
34836
34837 fi
34838
34839 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34840 cat >>confdefs.h <<\_ACEOF
34841 #define wxUSE_DIALUP_MANAGER 1
34842 _ACEOF
34843
34844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34845 fi
34846
34847 if test "$wxUSE_STREAMS" = "yes" ; then
34848 cat >>confdefs.h <<\_ACEOF
34849 #define wxUSE_STREAMS 1
34850 _ACEOF
34851
34852 fi
34853
34854
34855 if test "$wxUSE_DATETIME" = "yes"; then
34856
34857 for ac_func in strptime
34858 do
34859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34860 echo "$as_me:$LINENO: checking for $ac_func" >&5
34861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34862 if eval "test \"\${$as_ac_var+set}\" = set"; then
34863 echo $ECHO_N "(cached) $ECHO_C" >&6
34864 else
34865 cat >conftest.$ac_ext <<_ACEOF
34866 /* confdefs.h. */
34867 _ACEOF
34868 cat confdefs.h >>conftest.$ac_ext
34869 cat >>conftest.$ac_ext <<_ACEOF
34870 /* end confdefs.h. */
34871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34873 #define $ac_func innocuous_$ac_func
34874
34875 /* System header to define __stub macros and hopefully few prototypes,
34876 which can conflict with char $ac_func (); below.
34877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34878 <limits.h> exists even on freestanding compilers. */
34879
34880 #ifdef __STDC__
34881 # include <limits.h>
34882 #else
34883 # include <assert.h>
34884 #endif
34885
34886 #undef $ac_func
34887
34888 /* Override any gcc2 internal prototype to avoid an error. */
34889 #ifdef __cplusplus
34890 extern "C"
34891 {
34892 #endif
34893 /* We use char because int might match the return type of a gcc2
34894 builtin and then its argument prototype would still apply. */
34895 char $ac_func ();
34896 /* The GNU C library defines this for functions which it implements
34897 to always fail with ENOSYS. Some functions are actually named
34898 something starting with __ and the normal name is an alias. */
34899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34900 choke me
34901 #else
34902 char (*f) () = $ac_func;
34903 #endif
34904 #ifdef __cplusplus
34905 }
34906 #endif
34907
34908 int
34909 main ()
34910 {
34911 return f != $ac_func;
34912 ;
34913 return 0;
34914 }
34915 _ACEOF
34916 rm -f conftest.$ac_objext conftest$ac_exeext
34917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34918 (eval $ac_link) 2>conftest.er1
34919 ac_status=$?
34920 grep -v '^ *+' conftest.er1 >conftest.err
34921 rm -f conftest.er1
34922 cat conftest.err >&5
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); } &&
34925 { ac_try='test -z "$ac_c_werror_flag"
34926 || test ! -s conftest.err'
34927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34928 (eval $ac_try) 2>&5
34929 ac_status=$?
34930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34931 (exit $ac_status); }; } &&
34932 { ac_try='test -s conftest$ac_exeext'
34933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34934 (eval $ac_try) 2>&5
34935 ac_status=$?
34936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 (exit $ac_status); }; }; then
34938 eval "$as_ac_var=yes"
34939 else
34940 echo "$as_me: failed program was:" >&5
34941 sed 's/^/| /' conftest.$ac_ext >&5
34942
34943 eval "$as_ac_var=no"
34944 fi
34945 rm -f conftest.err conftest.$ac_objext \
34946 conftest$ac_exeext conftest.$ac_ext
34947 fi
34948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34950 if test `eval echo '${'$as_ac_var'}'` = yes; then
34951 cat >>confdefs.h <<_ACEOF
34952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34953 _ACEOF
34954
34955 fi
34956 done
34957
34958
34959 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34960 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34961 if test "${wx_cv_var_timezone+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 else
34964
34965 cat >conftest.$ac_ext <<_ACEOF
34966 /* confdefs.h. */
34967 _ACEOF
34968 cat confdefs.h >>conftest.$ac_ext
34969 cat >>conftest.$ac_ext <<_ACEOF
34970 /* end confdefs.h. */
34971
34972 #include <time.h>
34973
34974 int
34975 main ()
34976 {
34977
34978 int tz;
34979 tz = timezone;
34980
34981 ;
34982 return 0;
34983 }
34984 _ACEOF
34985 rm -f conftest.$ac_objext
34986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34987 (eval $ac_compile) 2>conftest.er1
34988 ac_status=$?
34989 grep -v '^ *+' conftest.er1 >conftest.err
34990 rm -f conftest.er1
34991 cat conftest.err >&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); } &&
34994 { ac_try='test -z "$ac_c_werror_flag"
34995 || test ! -s conftest.err'
34996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34997 (eval $ac_try) 2>&5
34998 ac_status=$?
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); }; } &&
35001 { ac_try='test -s conftest.$ac_objext'
35002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35003 (eval $ac_try) 2>&5
35004 ac_status=$?
35005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35006 (exit $ac_status); }; }; then
35007
35008 wx_cv_var_timezone=timezone
35009
35010 else
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35013
35014
35015 cat >conftest.$ac_ext <<_ACEOF
35016 /* confdefs.h. */
35017 _ACEOF
35018 cat confdefs.h >>conftest.$ac_ext
35019 cat >>conftest.$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35021
35022 #include <time.h>
35023
35024 int
35025 main ()
35026 {
35027
35028 int tz;
35029 tz = _timezone;
35030
35031 ;
35032 return 0;
35033 }
35034 _ACEOF
35035 rm -f conftest.$ac_objext
35036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35037 (eval $ac_compile) 2>conftest.er1
35038 ac_status=$?
35039 grep -v '^ *+' conftest.er1 >conftest.err
35040 rm -f conftest.er1
35041 cat conftest.err >&5
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); } &&
35044 { ac_try='test -z "$ac_c_werror_flag"
35045 || test ! -s conftest.err'
35046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35047 (eval $ac_try) 2>&5
35048 ac_status=$?
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); }; } &&
35051 { ac_try='test -s conftest.$ac_objext'
35052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35053 (eval $ac_try) 2>&5
35054 ac_status=$?
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); }; }; then
35057
35058 wx_cv_var_timezone=_timezone
35059
35060 else
35061 echo "$as_me: failed program was:" >&5
35062 sed 's/^/| /' conftest.$ac_ext >&5
35063
35064
35065 cat >conftest.$ac_ext <<_ACEOF
35066 /* confdefs.h. */
35067 _ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35071
35072 #include <time.h>
35073
35074 int
35075 main ()
35076 {
35077
35078 int tz;
35079 tz = __timezone;
35080
35081 ;
35082 return 0;
35083 }
35084 _ACEOF
35085 rm -f conftest.$ac_objext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35087 (eval $ac_compile) 2>conftest.er1
35088 ac_status=$?
35089 grep -v '^ *+' conftest.er1 >conftest.err
35090 rm -f conftest.er1
35091 cat conftest.err >&5
35092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35093 (exit $ac_status); } &&
35094 { ac_try='test -z "$ac_c_werror_flag"
35095 || test ! -s conftest.err'
35096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35097 (eval $ac_try) 2>&5
35098 ac_status=$?
35099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35100 (exit $ac_status); }; } &&
35101 { ac_try='test -s conftest.$ac_objext'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; }; then
35107
35108 wx_cv_var_timezone=__timezone
35109
35110 else
35111 echo "$as_me: failed program was:" >&5
35112 sed 's/^/| /' conftest.$ac_ext >&5
35113
35114
35115 if test "$USE_DOS" = 0 ; then
35116 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35117 echo "$as_me: WARNING: no timezone variable" >&2;}
35118 fi
35119
35120
35121 fi
35122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35123
35124
35125 fi
35126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35127
35128
35129 fi
35130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35131
35132
35133 fi
35134 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35135 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35136
35137 if test "x$wx_cv_var_timezone" != x ; then
35138 cat >>confdefs.h <<_ACEOF
35139 #define WX_TIMEZONE $wx_cv_var_timezone
35140 _ACEOF
35141
35142 fi
35143
35144
35145 for ac_func in localtime
35146 do
35147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35148 echo "$as_me:$LINENO: checking for $ac_func" >&5
35149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35150 if eval "test \"\${$as_ac_var+set}\" = set"; then
35151 echo $ECHO_N "(cached) $ECHO_C" >&6
35152 else
35153 cat >conftest.$ac_ext <<_ACEOF
35154 /* confdefs.h. */
35155 _ACEOF
35156 cat confdefs.h >>conftest.$ac_ext
35157 cat >>conftest.$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35161 #define $ac_func innocuous_$ac_func
35162
35163 /* System header to define __stub macros and hopefully few prototypes,
35164 which can conflict with char $ac_func (); below.
35165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35166 <limits.h> exists even on freestanding compilers. */
35167
35168 #ifdef __STDC__
35169 # include <limits.h>
35170 #else
35171 # include <assert.h>
35172 #endif
35173
35174 #undef $ac_func
35175
35176 /* Override any gcc2 internal prototype to avoid an error. */
35177 #ifdef __cplusplus
35178 extern "C"
35179 {
35180 #endif
35181 /* We use char because int might match the return type of a gcc2
35182 builtin and then its argument prototype would still apply. */
35183 char $ac_func ();
35184 /* The GNU C library defines this for functions which it implements
35185 to always fail with ENOSYS. Some functions are actually named
35186 something starting with __ and the normal name is an alias. */
35187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35188 choke me
35189 #else
35190 char (*f) () = $ac_func;
35191 #endif
35192 #ifdef __cplusplus
35193 }
35194 #endif
35195
35196 int
35197 main ()
35198 {
35199 return f != $ac_func;
35200 ;
35201 return 0;
35202 }
35203 _ACEOF
35204 rm -f conftest.$ac_objext conftest$ac_exeext
35205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35206 (eval $ac_link) 2>conftest.er1
35207 ac_status=$?
35208 grep -v '^ *+' conftest.er1 >conftest.err
35209 rm -f conftest.er1
35210 cat conftest.err >&5
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); } &&
35213 { ac_try='test -z "$ac_c_werror_flag"
35214 || test ! -s conftest.err'
35215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35216 (eval $ac_try) 2>&5
35217 ac_status=$?
35218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35219 (exit $ac_status); }; } &&
35220 { ac_try='test -s conftest$ac_exeext'
35221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222 (eval $ac_try) 2>&5
35223 ac_status=$?
35224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225 (exit $ac_status); }; }; then
35226 eval "$as_ac_var=yes"
35227 else
35228 echo "$as_me: failed program was:" >&5
35229 sed 's/^/| /' conftest.$ac_ext >&5
35230
35231 eval "$as_ac_var=no"
35232 fi
35233 rm -f conftest.err conftest.$ac_objext \
35234 conftest$ac_exeext conftest.$ac_ext
35235 fi
35236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35238 if test `eval echo '${'$as_ac_var'}'` = yes; then
35239 cat >>confdefs.h <<_ACEOF
35240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35241 _ACEOF
35242
35243 fi
35244 done
35245
35246
35247 if test "$ac_cv_func_localtime" = "yes"; then
35248 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35249 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35250 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35251 echo $ECHO_N "(cached) $ECHO_C" >&6
35252 else
35253
35254 cat >conftest.$ac_ext <<_ACEOF
35255 /* confdefs.h. */
35256 _ACEOF
35257 cat confdefs.h >>conftest.$ac_ext
35258 cat >>conftest.$ac_ext <<_ACEOF
35259 /* end confdefs.h. */
35260
35261 #include <time.h>
35262
35263 int
35264 main ()
35265 {
35266
35267 struct tm tm;
35268 tm.tm_gmtoff++;
35269
35270 ;
35271 return 0;
35272 }
35273 _ACEOF
35274 rm -f conftest.$ac_objext
35275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35276 (eval $ac_compile) 2>conftest.er1
35277 ac_status=$?
35278 grep -v '^ *+' conftest.er1 >conftest.err
35279 rm -f conftest.er1
35280 cat conftest.err >&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); } &&
35283 { ac_try='test -z "$ac_c_werror_flag"
35284 || test ! -s conftest.err'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35287 ac_status=$?
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; } &&
35290 { ac_try='test -s conftest.$ac_objext'
35291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35292 (eval $ac_try) 2>&5
35293 ac_status=$?
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); }; }; then
35296
35297 wx_cv_struct_tm_has_gmtoff=yes
35298
35299 else
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.$ac_ext >&5
35302
35303 wx_cv_struct_tm_has_gmtoff=no
35304
35305 fi
35306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35307
35308 fi
35309 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35310 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35311 fi
35312
35313 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35314 cat >>confdefs.h <<\_ACEOF
35315 #define WX_GMTOFF_IN_TM 1
35316 _ACEOF
35317
35318 fi
35319
35320
35321
35322 for ac_func in gettimeofday ftime
35323 do
35324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35325 echo "$as_me:$LINENO: checking for $ac_func" >&5
35326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35327 if eval "test \"\${$as_ac_var+set}\" = set"; then
35328 echo $ECHO_N "(cached) $ECHO_C" >&6
35329 else
35330 cat >conftest.$ac_ext <<_ACEOF
35331 /* confdefs.h. */
35332 _ACEOF
35333 cat confdefs.h >>conftest.$ac_ext
35334 cat >>conftest.$ac_ext <<_ACEOF
35335 /* end confdefs.h. */
35336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35338 #define $ac_func innocuous_$ac_func
35339
35340 /* System header to define __stub macros and hopefully few prototypes,
35341 which can conflict with char $ac_func (); below.
35342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35343 <limits.h> exists even on freestanding compilers. */
35344
35345 #ifdef __STDC__
35346 # include <limits.h>
35347 #else
35348 # include <assert.h>
35349 #endif
35350
35351 #undef $ac_func
35352
35353 /* Override any gcc2 internal prototype to avoid an error. */
35354 #ifdef __cplusplus
35355 extern "C"
35356 {
35357 #endif
35358 /* We use char because int might match the return type of a gcc2
35359 builtin and then its argument prototype would still apply. */
35360 char $ac_func ();
35361 /* The GNU C library defines this for functions which it implements
35362 to always fail with ENOSYS. Some functions are actually named
35363 something starting with __ and the normal name is an alias. */
35364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35365 choke me
35366 #else
35367 char (*f) () = $ac_func;
35368 #endif
35369 #ifdef __cplusplus
35370 }
35371 #endif
35372
35373 int
35374 main ()
35375 {
35376 return f != $ac_func;
35377 ;
35378 return 0;
35379 }
35380 _ACEOF
35381 rm -f conftest.$ac_objext conftest$ac_exeext
35382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35383 (eval $ac_link) 2>conftest.er1
35384 ac_status=$?
35385 grep -v '^ *+' conftest.er1 >conftest.err
35386 rm -f conftest.er1
35387 cat conftest.err >&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); } &&
35390 { ac_try='test -z "$ac_c_werror_flag"
35391 || test ! -s conftest.err'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35394 ac_status=$?
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; } &&
35397 { ac_try='test -s conftest$ac_exeext'
35398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35399 (eval $ac_try) 2>&5
35400 ac_status=$?
35401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35402 (exit $ac_status); }; }; then
35403 eval "$as_ac_var=yes"
35404 else
35405 echo "$as_me: failed program was:" >&5
35406 sed 's/^/| /' conftest.$ac_ext >&5
35407
35408 eval "$as_ac_var=no"
35409 fi
35410 rm -f conftest.err conftest.$ac_objext \
35411 conftest$ac_exeext conftest.$ac_ext
35412 fi
35413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35415 if test `eval echo '${'$as_ac_var'}'` = yes; then
35416 cat >>confdefs.h <<_ACEOF
35417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35418 _ACEOF
35419 break
35420 fi
35421 done
35422
35423
35424 if test "$ac_cv_func_gettimeofday" = "yes"; then
35425 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35426 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35427 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35428 echo $ECHO_N "(cached) $ECHO_C" >&6
35429 else
35430
35431
35432
35433 ac_ext=cc
35434 ac_cpp='$CXXCPP $CPPFLAGS'
35435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35438
35439
35440 cat >conftest.$ac_ext <<_ACEOF
35441 /* confdefs.h. */
35442 _ACEOF
35443 cat confdefs.h >>conftest.$ac_ext
35444 cat >>conftest.$ac_ext <<_ACEOF
35445 /* end confdefs.h. */
35446
35447 #include <sys/time.h>
35448 #include <unistd.h>
35449
35450 int
35451 main ()
35452 {
35453
35454 struct timeval tv;
35455 gettimeofday(&tv, NULL);
35456
35457 ;
35458 return 0;
35459 }
35460 _ACEOF
35461 rm -f conftest.$ac_objext
35462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35463 (eval $ac_compile) 2>conftest.er1
35464 ac_status=$?
35465 grep -v '^ *+' conftest.er1 >conftest.err
35466 rm -f conftest.er1
35467 cat conftest.err >&5
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); } &&
35470 { ac_try='test -z "$ac_cxx_werror_flag"
35471 || test ! -s conftest.err'
35472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35473 (eval $ac_try) 2>&5
35474 ac_status=$?
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); }; } &&
35477 { ac_try='test -s conftest.$ac_objext'
35478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35479 (eval $ac_try) 2>&5
35480 ac_status=$?
35481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482 (exit $ac_status); }; }; then
35483 wx_cv_func_gettimeofday_has_2_args=yes
35484 else
35485 echo "$as_me: failed program was:" >&5
35486 sed 's/^/| /' conftest.$ac_ext >&5
35487
35488 cat >conftest.$ac_ext <<_ACEOF
35489 /* confdefs.h. */
35490 _ACEOF
35491 cat confdefs.h >>conftest.$ac_ext
35492 cat >>conftest.$ac_ext <<_ACEOF
35493 /* end confdefs.h. */
35494
35495 #include <sys/time.h>
35496 #include <unistd.h>
35497
35498 int
35499 main ()
35500 {
35501
35502 struct timeval tv;
35503 gettimeofday(&tv);
35504
35505 ;
35506 return 0;
35507 }
35508 _ACEOF
35509 rm -f conftest.$ac_objext
35510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35511 (eval $ac_compile) 2>conftest.er1
35512 ac_status=$?
35513 grep -v '^ *+' conftest.er1 >conftest.err
35514 rm -f conftest.er1
35515 cat conftest.err >&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); } &&
35518 { ac_try='test -z "$ac_cxx_werror_flag"
35519 || test ! -s conftest.err'
35520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35521 (eval $ac_try) 2>&5
35522 ac_status=$?
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); }; } &&
35525 { ac_try='test -s conftest.$ac_objext'
35526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35527 (eval $ac_try) 2>&5
35528 ac_status=$?
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); }; }; then
35531 wx_cv_func_gettimeofday_has_2_args=no
35532 else
35533 echo "$as_me: failed program was:" >&5
35534 sed 's/^/| /' conftest.$ac_ext >&5
35535
35536
35537 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35538 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35539 wx_cv_func_gettimeofday_has_2_args=unknown
35540
35541
35542 fi
35543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35544
35545 fi
35546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35547 ac_ext=c
35548 ac_cpp='$CPP $CPPFLAGS'
35549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35552
35553
35554 fi
35555 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35556 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35557
35558 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35559 cat >>confdefs.h <<\_ACEOF
35560 #define WX_GETTIMEOFDAY_NO_TZ 1
35561 _ACEOF
35562
35563 fi
35564 fi
35565
35566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35567 fi
35568
35569
35570 if test "$wxUSE_SOCKETS" = "yes"; then
35571 if test "$wxUSE_MGL" = "1"; then
35572 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35573 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35574 wxUSE_SOCKETS="no"
35575 fi
35576 fi
35577
35578 if test "$wxUSE_SOCKETS" = "yes"; then
35579 if test "$TOOLKIT" != "MSW"; then
35580 echo "$as_me:$LINENO: checking for socket" >&5
35581 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35582 if test "${ac_cv_func_socket+set}" = set; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585 cat >conftest.$ac_ext <<_ACEOF
35586 /* confdefs.h. */
35587 _ACEOF
35588 cat confdefs.h >>conftest.$ac_ext
35589 cat >>conftest.$ac_ext <<_ACEOF
35590 /* end confdefs.h. */
35591 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35593 #define socket innocuous_socket
35594
35595 /* System header to define __stub macros and hopefully few prototypes,
35596 which can conflict with char socket (); below.
35597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35598 <limits.h> exists even on freestanding compilers. */
35599
35600 #ifdef __STDC__
35601 # include <limits.h>
35602 #else
35603 # include <assert.h>
35604 #endif
35605
35606 #undef socket
35607
35608 /* Override any gcc2 internal prototype to avoid an error. */
35609 #ifdef __cplusplus
35610 extern "C"
35611 {
35612 #endif
35613 /* We use char because int might match the return type of a gcc2
35614 builtin and then its argument prototype would still apply. */
35615 char socket ();
35616 /* The GNU C library defines this for functions which it implements
35617 to always fail with ENOSYS. Some functions are actually named
35618 something starting with __ and the normal name is an alias. */
35619 #if defined (__stub_socket) || defined (__stub___socket)
35620 choke me
35621 #else
35622 char (*f) () = socket;
35623 #endif
35624 #ifdef __cplusplus
35625 }
35626 #endif
35627
35628 int
35629 main ()
35630 {
35631 return f != socket;
35632 ;
35633 return 0;
35634 }
35635 _ACEOF
35636 rm -f conftest.$ac_objext conftest$ac_exeext
35637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35638 (eval $ac_link) 2>conftest.er1
35639 ac_status=$?
35640 grep -v '^ *+' conftest.er1 >conftest.err
35641 rm -f conftest.er1
35642 cat conftest.err >&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); } &&
35645 { ac_try='test -z "$ac_c_werror_flag"
35646 || test ! -s conftest.err'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35649 ac_status=$?
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; } &&
35652 { ac_try='test -s conftest$ac_exeext'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35655 ac_status=$?
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; }; then
35658 ac_cv_func_socket=yes
35659 else
35660 echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.$ac_ext >&5
35662
35663 ac_cv_func_socket=no
35664 fi
35665 rm -f conftest.err conftest.$ac_objext \
35666 conftest$ac_exeext conftest.$ac_ext
35667 fi
35668 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
35669 echo "${ECHO_T}$ac_cv_func_socket" >&6
35670 if test $ac_cv_func_socket = yes; then
35671 :
35672 else
35673
35674 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35675 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35676 if test "${ac_cv_lib_socket_socket+set}" = set; then
35677 echo $ECHO_N "(cached) $ECHO_C" >&6
35678 else
35679 ac_check_lib_save_LIBS=$LIBS
35680 LIBS="-lsocket $LIBS"
35681 cat >conftest.$ac_ext <<_ACEOF
35682 /* confdefs.h. */
35683 _ACEOF
35684 cat confdefs.h >>conftest.$ac_ext
35685 cat >>conftest.$ac_ext <<_ACEOF
35686 /* end confdefs.h. */
35687
35688 /* Override any gcc2 internal prototype to avoid an error. */
35689 #ifdef __cplusplus
35690 extern "C"
35691 #endif
35692 /* We use char because int might match the return type of a gcc2
35693 builtin and then its argument prototype would still apply. */
35694 char socket ();
35695 int
35696 main ()
35697 {
35698 socket ();
35699 ;
35700 return 0;
35701 }
35702 _ACEOF
35703 rm -f conftest.$ac_objext conftest$ac_exeext
35704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35705 (eval $ac_link) 2>conftest.er1
35706 ac_status=$?
35707 grep -v '^ *+' conftest.er1 >conftest.err
35708 rm -f conftest.er1
35709 cat conftest.err >&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); } &&
35712 { ac_try='test -z "$ac_c_werror_flag"
35713 || test ! -s conftest.err'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; } &&
35719 { ac_try='test -s conftest$ac_exeext'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35722 ac_status=$?
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; }; then
35725 ac_cv_lib_socket_socket=yes
35726 else
35727 echo "$as_me: failed program was:" >&5
35728 sed 's/^/| /' conftest.$ac_ext >&5
35729
35730 ac_cv_lib_socket_socket=no
35731 fi
35732 rm -f conftest.err conftest.$ac_objext \
35733 conftest$ac_exeext conftest.$ac_ext
35734 LIBS=$ac_check_lib_save_LIBS
35735 fi
35736 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35737 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35738 if test $ac_cv_lib_socket_socket = yes; then
35739 if test "$INET_LINK" != " -lsocket"; then
35740 INET_LINK="$INET_LINK -lsocket"
35741 fi
35742 else
35743
35744 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35745 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35746 wxUSE_SOCKETS=no
35747
35748
35749 fi
35750
35751
35752
35753 fi
35754
35755 fi
35756 fi
35757
35758 if test "$wxUSE_SOCKETS" = "yes" ; then
35759 if test "$TOOLKIT" != "MSW"; then
35760 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35761 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35762 if test "${wx_cv_type_getsockname3+set}" = set; then
35763 echo $ECHO_N "(cached) $ECHO_C" >&6
35764 else
35765
35766 cat >conftest.$ac_ext <<_ACEOF
35767 /* confdefs.h. */
35768 _ACEOF
35769 cat confdefs.h >>conftest.$ac_ext
35770 cat >>conftest.$ac_ext <<_ACEOF
35771 /* end confdefs.h. */
35772
35773 #include <sys/types.h>
35774 #include <sys/socket.h>
35775
35776 int
35777 main ()
35778 {
35779
35780 socklen_t len;
35781 getsockname(0, 0, &len);
35782
35783 ;
35784 return 0;
35785 }
35786 _ACEOF
35787 rm -f conftest.$ac_objext
35788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35789 (eval $ac_compile) 2>conftest.er1
35790 ac_status=$?
35791 grep -v '^ *+' conftest.er1 >conftest.err
35792 rm -f conftest.er1
35793 cat conftest.err >&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); } &&
35796 { ac_try='test -z "$ac_c_werror_flag"
35797 || test ! -s conftest.err'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35800 ac_status=$?
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; } &&
35803 { ac_try='test -s conftest.$ac_objext'
35804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35805 (eval $ac_try) 2>&5
35806 ac_status=$?
35807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35808 (exit $ac_status); }; }; then
35809 wx_cv_type_getsockname3=socklen_t
35810 else
35811 echo "$as_me: failed program was:" >&5
35812 sed 's/^/| /' conftest.$ac_ext >&5
35813
35814
35815 CFLAGS_OLD="$CFLAGS"
35816 if test "$GCC" = yes ; then
35817 CFLAGS="$CFLAGS -Werror"
35818 fi
35819
35820 cat >conftest.$ac_ext <<_ACEOF
35821 /* confdefs.h. */
35822 _ACEOF
35823 cat confdefs.h >>conftest.$ac_ext
35824 cat >>conftest.$ac_ext <<_ACEOF
35825 /* end confdefs.h. */
35826
35827 #include <sys/types.h>
35828 #include <sys/socket.h>
35829
35830 int
35831 main ()
35832 {
35833
35834 size_t len;
35835 getsockname(0, 0, &len);
35836
35837 ;
35838 return 0;
35839 }
35840 _ACEOF
35841 rm -f conftest.$ac_objext
35842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35843 (eval $ac_compile) 2>conftest.er1
35844 ac_status=$?
35845 grep -v '^ *+' conftest.er1 >conftest.err
35846 rm -f conftest.er1
35847 cat conftest.err >&5
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); } &&
35850 { ac_try='test -z "$ac_c_werror_flag"
35851 || test ! -s conftest.err'
35852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35853 (eval $ac_try) 2>&5
35854 ac_status=$?
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); }; } &&
35857 { ac_try='test -s conftest.$ac_objext'
35858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35859 (eval $ac_try) 2>&5
35860 ac_status=$?
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); }; }; then
35863 wx_cv_type_getsockname3=size_t
35864 else
35865 echo "$as_me: failed program was:" >&5
35866 sed 's/^/| /' conftest.$ac_ext >&5
35867
35868 cat >conftest.$ac_ext <<_ACEOF
35869 /* confdefs.h. */
35870 _ACEOF
35871 cat confdefs.h >>conftest.$ac_ext
35872 cat >>conftest.$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35874
35875 #include <sys/types.h>
35876 #include <sys/socket.h>
35877
35878 int
35879 main ()
35880 {
35881
35882 int len;
35883 getsockname(0, 0, &len);
35884
35885 ;
35886 return 0;
35887 }
35888 _ACEOF
35889 rm -f conftest.$ac_objext
35890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35891 (eval $ac_compile) 2>conftest.er1
35892 ac_status=$?
35893 grep -v '^ *+' conftest.er1 >conftest.err
35894 rm -f conftest.er1
35895 cat conftest.err >&5
35896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35897 (exit $ac_status); } &&
35898 { ac_try='test -z "$ac_c_werror_flag"
35899 || test ! -s conftest.err'
35900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35901 (eval $ac_try) 2>&5
35902 ac_status=$?
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); }; } &&
35905 { ac_try='test -s conftest.$ac_objext'
35906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907 (eval $ac_try) 2>&5
35908 ac_status=$?
35909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910 (exit $ac_status); }; }; then
35911 wx_cv_type_getsockname3=int
35912 else
35913 echo "$as_me: failed program was:" >&5
35914 sed 's/^/| /' conftest.$ac_ext >&5
35915
35916 wx_cv_type_getsockname3=unknown
35917
35918 fi
35919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35920
35921 fi
35922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35923
35924 CFLAGS="$CFLAGS_OLD"
35925
35926
35927 fi
35928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35929
35930 fi
35931 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35932 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35933
35934 if test "$wx_cv_type_getsockname3" = "unknown"; then
35935 wxUSE_SOCKETS=no
35936 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35937 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35938 else
35939 cat >>confdefs.h <<_ACEOF
35940 #define SOCKLEN_T $wx_cv_type_getsockname3
35941 _ACEOF
35942
35943 fi
35944 fi
35945 fi
35946
35947 if test "$wxUSE_SOCKETS" = "yes" ; then
35948 cat >>confdefs.h <<\_ACEOF
35949 #define wxUSE_SOCKETS 1
35950 _ACEOF
35951
35952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35953 fi
35954
35955 if test "$wxUSE_PROTOCOL" = "yes"; then
35956 if test "$wxUSE_SOCKETS" != "yes"; then
35957 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35958 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35959 wxUSE_PROTOCOL=no
35960 fi
35961 fi
35962
35963 if test "$wxUSE_PROTOCOL" = "yes"; then
35964 cat >>confdefs.h <<\_ACEOF
35965 #define wxUSE_PROTOCOL 1
35966 _ACEOF
35967
35968
35969 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35970 cat >>confdefs.h <<\_ACEOF
35971 #define wxUSE_PROTOCOL_HTTP 1
35972 _ACEOF
35973
35974 fi
35975 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35976 cat >>confdefs.h <<\_ACEOF
35977 #define wxUSE_PROTOCOL_FTP 1
35978 _ACEOF
35979
35980 fi
35981 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35982 cat >>confdefs.h <<\_ACEOF
35983 #define wxUSE_PROTOCOL_FILE 1
35984 _ACEOF
35985
35986 fi
35987 else
35988 if test "$wxUSE_FS_INET" = "yes"; then
35989 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35990 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35991 wxUSE_FS_INET="no"
35992 fi
35993 fi
35994
35995 if test "$wxUSE_URL" = "yes"; then
35996 if test "$wxUSE_PROTOCOL" != "yes"; then
35997 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35998 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35999 wxUSE_URL=no
36000 fi
36001 if test "$wxUSE_URL" = "yes"; then
36002 cat >>confdefs.h <<\_ACEOF
36003 #define wxUSE_URL 1
36004 _ACEOF
36005
36006 fi
36007 fi
36008
36009 if test "$wxUSE_FS_INET" = "yes"; then
36010 cat >>confdefs.h <<\_ACEOF
36011 #define wxUSE_FS_INET 1
36012 _ACEOF
36013
36014 fi
36015
36016
36017 if test "$wxUSE_GUI" = "yes"; then
36018
36019 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36020 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36021 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36022 wxUSE_JOYSTICK=no
36023 fi
36024
36025 if test "$TOOLKIT" != "MSW"; then
36026 if test "$wxUSE_JOYSTICK" = "yes"; then
36027
36028 for ac_header in linux/joystick.h
36029 do
36030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36032 echo "$as_me:$LINENO: checking for $ac_header" >&5
36033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36035 echo $ECHO_N "(cached) $ECHO_C" >&6
36036 fi
36037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36039 else
36040 # Is the header compilable?
36041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36043 cat >conftest.$ac_ext <<_ACEOF
36044 /* confdefs.h. */
36045 _ACEOF
36046 cat confdefs.h >>conftest.$ac_ext
36047 cat >>conftest.$ac_ext <<_ACEOF
36048 /* end confdefs.h. */
36049 $ac_includes_default
36050 #include <$ac_header>
36051 _ACEOF
36052 rm -f conftest.$ac_objext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36054 (eval $ac_compile) 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try='test -z "$ac_c_werror_flag"
36062 || test ! -s conftest.err'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36065 ac_status=$?
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; } &&
36068 { ac_try='test -s conftest.$ac_objext'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36071 ac_status=$?
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; }; then
36074 ac_header_compiler=yes
36075 else
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.$ac_ext >&5
36078
36079 ac_header_compiler=no
36080 fi
36081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36082 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36083 echo "${ECHO_T}$ac_header_compiler" >&6
36084
36085 # Is the header present?
36086 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36088 cat >conftest.$ac_ext <<_ACEOF
36089 /* confdefs.h. */
36090 _ACEOF
36091 cat confdefs.h >>conftest.$ac_ext
36092 cat >>conftest.$ac_ext <<_ACEOF
36093 /* end confdefs.h. */
36094 #include <$ac_header>
36095 _ACEOF
36096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36098 ac_status=$?
36099 grep -v '^ *+' conftest.er1 >conftest.err
36100 rm -f conftest.er1
36101 cat conftest.err >&5
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); } >/dev/null; then
36104 if test -s conftest.err; then
36105 ac_cpp_err=$ac_c_preproc_warn_flag
36106 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36107 else
36108 ac_cpp_err=
36109 fi
36110 else
36111 ac_cpp_err=yes
36112 fi
36113 if test -z "$ac_cpp_err"; then
36114 ac_header_preproc=yes
36115 else
36116 echo "$as_me: failed program was:" >&5
36117 sed 's/^/| /' conftest.$ac_ext >&5
36118
36119 ac_header_preproc=no
36120 fi
36121 rm -f conftest.err conftest.$ac_ext
36122 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36123 echo "${ECHO_T}$ac_header_preproc" >&6
36124
36125 # So? What about this header?
36126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36127 yes:no: )
36128 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36129 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36131 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36132 ac_header_preproc=yes
36133 ;;
36134 no:yes:* )
36135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36139 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36140 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36141 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36142 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36144 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36145 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36146 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36147 (
36148 cat <<\_ASBOX
36149 ## ----------------------------------------- ##
36150 ## Report this to wx-dev@lists.wxwindows.org ##
36151 ## ----------------------------------------- ##
36152 _ASBOX
36153 ) |
36154 sed "s/^/$as_me: WARNING: /" >&2
36155 ;;
36156 esac
36157 echo "$as_me:$LINENO: checking for $ac_header" >&5
36158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36159 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36160 echo $ECHO_N "(cached) $ECHO_C" >&6
36161 else
36162 eval "$as_ac_Header=\$ac_header_preproc"
36163 fi
36164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36166
36167 fi
36168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36169 cat >>confdefs.h <<_ACEOF
36170 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36171 _ACEOF
36172
36173 fi
36174
36175 done
36176
36177 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36178 wxUSE_JOYSTICK=no
36179 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36180 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36181 fi
36182 fi
36183 fi
36184
36185 if test "$wxUSE_JOYSTICK" = "yes"; then
36186 cat >>confdefs.h <<\_ACEOF
36187 #define wxUSE_JOYSTICK 1
36188 _ACEOF
36189
36190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36191 fi
36192 fi
36193
36194
36195
36196 if test "$wxUSE_FONTMAP" = "yes" ; then
36197 cat >>confdefs.h <<\_ACEOF
36198 #define wxUSE_FONTMAP 1
36199 _ACEOF
36200
36201 fi
36202
36203 if test "$wxUSE_UNICODE" = "yes" ; then
36204 cat >>confdefs.h <<\_ACEOF
36205 #define wxUSE_UNICODE 1
36206 _ACEOF
36207
36208
36209 if test "$USE_WIN32" != 1; then
36210 wxUSE_UNICODE_MSLU=no
36211 fi
36212
36213 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36214 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36215 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36216 if test "${ac_cv_lib_unicows_main+set}" = set; then
36217 echo $ECHO_N "(cached) $ECHO_C" >&6
36218 else
36219 ac_check_lib_save_LIBS=$LIBS
36220 LIBS="-lunicows $LIBS"
36221 cat >conftest.$ac_ext <<_ACEOF
36222 /* confdefs.h. */
36223 _ACEOF
36224 cat confdefs.h >>conftest.$ac_ext
36225 cat >>conftest.$ac_ext <<_ACEOF
36226 /* end confdefs.h. */
36227
36228
36229 int
36230 main ()
36231 {
36232 main ();
36233 ;
36234 return 0;
36235 }
36236 _ACEOF
36237 rm -f conftest.$ac_objext conftest$ac_exeext
36238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36239 (eval $ac_link) 2>conftest.er1
36240 ac_status=$?
36241 grep -v '^ *+' conftest.er1 >conftest.err
36242 rm -f conftest.er1
36243 cat conftest.err >&5
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); } &&
36246 { ac_try='test -z "$ac_c_werror_flag"
36247 || test ! -s conftest.err'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36250 ac_status=$?
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; } &&
36253 { ac_try='test -s conftest$ac_exeext'
36254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36255 (eval $ac_try) 2>&5
36256 ac_status=$?
36257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 (exit $ac_status); }; }; then
36259 ac_cv_lib_unicows_main=yes
36260 else
36261 echo "$as_me: failed program was:" >&5
36262 sed 's/^/| /' conftest.$ac_ext >&5
36263
36264 ac_cv_lib_unicows_main=no
36265 fi
36266 rm -f conftest.err conftest.$ac_objext \
36267 conftest$ac_exeext conftest.$ac_ext
36268 LIBS=$ac_check_lib_save_LIBS
36269 fi
36270 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36271 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36272 if test $ac_cv_lib_unicows_main = yes; then
36273
36274 cat >>confdefs.h <<\_ACEOF
36275 #define wxUSE_UNICODE_MSLU 1
36276 _ACEOF
36277
36278
36279 else
36280
36281 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36282 Applications will only run on Windows NT/2000/XP!" >&5
36283 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36284 Applications will only run on Windows NT/2000/XP!" >&2;}
36285 wxUSE_UNICODE_MSLU=no
36286
36287 fi
36288
36289 fi
36290 fi
36291
36292 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36293 cat >>confdefs.h <<\_ACEOF
36294 #define wxUSE_EXPERIMENTAL_PRINTF 1
36295 _ACEOF
36296
36297 fi
36298
36299
36300 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36301 cat >>confdefs.h <<\_ACEOF
36302 #define wxUSE_POSTSCRIPT 1
36303 _ACEOF
36304
36305 fi
36306
36307 cat >>confdefs.h <<\_ACEOF
36308 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36309 _ACEOF
36310
36311
36312 cat >>confdefs.h <<\_ACEOF
36313 #define wxUSE_NORMALIZED_PS_FONTS 1
36314 _ACEOF
36315
36316
36317
36318 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36319 cat >>confdefs.h <<\_ACEOF
36320 #define wxUSE_CONSTRAINTS 1
36321 _ACEOF
36322
36323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36324 fi
36325
36326 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36327 cat >>confdefs.h <<\_ACEOF
36328 #define wxUSE_MDI_ARCHITECTURE 1
36329 _ACEOF
36330
36331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36332 fi
36333
36334 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36335 cat >>confdefs.h <<\_ACEOF
36336 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36337 _ACEOF
36338
36339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36340 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36342 fi
36343 fi
36344
36345 if test "$wxUSE_HELP" = "yes"; then
36346 cat >>confdefs.h <<\_ACEOF
36347 #define wxUSE_HELP 1
36348 _ACEOF
36349
36350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36351
36352 if test "$wxUSE_MSW" = 1; then
36353 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36354 cat >>confdefs.h <<\_ACEOF
36355 #define wxUSE_MS_HTML_HELP 1
36356 _ACEOF
36357
36358 fi
36359 fi
36360
36361 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36362 if test "$wxUSE_HTML" = "yes"; then
36363 cat >>confdefs.h <<\_ACEOF
36364 #define wxUSE_WXHTML_HELP 1
36365 _ACEOF
36366
36367 else
36368 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36369 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36370 wxUSE_WXHTML_HELP=no
36371 fi
36372 fi
36373 fi
36374
36375 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36376 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36377 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36378 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36379 else
36380 cat >>confdefs.h <<\_ACEOF
36381 #define wxUSE_PRINTING_ARCHITECTURE 1
36382 _ACEOF
36383
36384 fi
36385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36386 fi
36387
36388 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36389 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36390 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36391 { (exit 1); exit 1; }; }
36392 fi
36393
36394
36395 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36396 -o "$wxUSE_CLIPBOARD" = "yes" \
36397 -o "$wxUSE_OLE" = "yes" \
36398 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36399
36400 for ac_header in ole2.h
36401 do
36402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36404 echo "$as_me:$LINENO: checking for $ac_header" >&5
36405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36407 echo $ECHO_N "(cached) $ECHO_C" >&6
36408 fi
36409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36411 else
36412 # Is the header compilable?
36413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36415 cat >conftest.$ac_ext <<_ACEOF
36416 /* confdefs.h. */
36417 _ACEOF
36418 cat confdefs.h >>conftest.$ac_ext
36419 cat >>conftest.$ac_ext <<_ACEOF
36420 /* end confdefs.h. */
36421 $ac_includes_default
36422 #include <$ac_header>
36423 _ACEOF
36424 rm -f conftest.$ac_objext
36425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36426 (eval $ac_compile) 2>conftest.er1
36427 ac_status=$?
36428 grep -v '^ *+' conftest.er1 >conftest.err
36429 rm -f conftest.er1
36430 cat conftest.err >&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); } &&
36433 { ac_try='test -z "$ac_c_werror_flag"
36434 || test ! -s conftest.err'
36435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36436 (eval $ac_try) 2>&5
36437 ac_status=$?
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); }; } &&
36440 { ac_try='test -s conftest.$ac_objext'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36443 ac_status=$?
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; }; then
36446 ac_header_compiler=yes
36447 else
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.$ac_ext >&5
36450
36451 ac_header_compiler=no
36452 fi
36453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36455 echo "${ECHO_T}$ac_header_compiler" >&6
36456
36457 # Is the header present?
36458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36460 cat >conftest.$ac_ext <<_ACEOF
36461 /* confdefs.h. */
36462 _ACEOF
36463 cat confdefs.h >>conftest.$ac_ext
36464 cat >>conftest.$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466 #include <$ac_header>
36467 _ACEOF
36468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36470 ac_status=$?
36471 grep -v '^ *+' conftest.er1 >conftest.err
36472 rm -f conftest.er1
36473 cat conftest.err >&5
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); } >/dev/null; then
36476 if test -s conftest.err; then
36477 ac_cpp_err=$ac_c_preproc_warn_flag
36478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36479 else
36480 ac_cpp_err=
36481 fi
36482 else
36483 ac_cpp_err=yes
36484 fi
36485 if test -z "$ac_cpp_err"; then
36486 ac_header_preproc=yes
36487 else
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36490
36491 ac_header_preproc=no
36492 fi
36493 rm -f conftest.err conftest.$ac_ext
36494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36495 echo "${ECHO_T}$ac_header_preproc" >&6
36496
36497 # So? What about this header?
36498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36499 yes:no: )
36500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36504 ac_header_preproc=yes
36505 ;;
36506 no:yes:* )
36507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36519 (
36520 cat <<\_ASBOX
36521 ## ----------------------------------------- ##
36522 ## Report this to wx-dev@lists.wxwindows.org ##
36523 ## ----------------------------------------- ##
36524 _ASBOX
36525 ) |
36526 sed "s/^/$as_me: WARNING: /" >&2
36527 ;;
36528 esac
36529 echo "$as_me:$LINENO: checking for $ac_header" >&5
36530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 else
36534 eval "$as_ac_Header=\$ac_header_preproc"
36535 fi
36536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36538
36539 fi
36540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36541 cat >>confdefs.h <<_ACEOF
36542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36543 _ACEOF
36544
36545 fi
36546
36547 done
36548
36549
36550 if test "$ac_cv_header_ole2_h" = "yes" ; then
36551 if test "$GCC" = yes ; then
36552
36553
36554 ac_ext=cc
36555 ac_cpp='$CXXCPP $CPPFLAGS'
36556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36559
36560
36561 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36562 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 #include <windows.h>
36570 #include <ole2.h>
36571 int
36572 main ()
36573 {
36574
36575 ;
36576 return 0;
36577 }
36578 _ACEOF
36579 rm -f conftest.$ac_objext
36580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36581 (eval $ac_compile) 2>conftest.er1
36582 ac_status=$?
36583 grep -v '^ *+' conftest.er1 >conftest.err
36584 rm -f conftest.er1
36585 cat conftest.err >&5
36586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36587 (exit $ac_status); } &&
36588 { ac_try='test -z "$ac_cxx_werror_flag"
36589 || test ! -s conftest.err'
36590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591 (eval $ac_try) 2>&5
36592 ac_status=$?
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); }; } &&
36595 { ac_try='test -s conftest.$ac_objext'
36596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36597 (eval $ac_try) 2>&5
36598 ac_status=$?
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); }; }; then
36601 echo "$as_me:$LINENO: result: no" >&5
36602 echo "${ECHO_T}no" >&6
36603 else
36604 echo "$as_me: failed program was:" >&5
36605 sed 's/^/| /' conftest.$ac_ext >&5
36606
36607 echo "$as_me:$LINENO: result: yes" >&5
36608 echo "${ECHO_T}yes" >&6
36609 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36610 fi
36611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36612 ac_ext=c
36613 ac_cpp='$CPP $CPPFLAGS'
36614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36617
36618 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36619 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36620 if test "$wxUSE_OLE" = "yes" ; then
36621 cat >>confdefs.h <<\_ACEOF
36622 #define wxUSE_OLE 1
36623 _ACEOF
36624
36625 fi
36626 fi
36627
36628 if test "$wxUSE_DATAOBJ" = "yes" ; then
36629 cat >>confdefs.h <<\_ACEOF
36630 #define wxUSE_DATAOBJ 1
36631 _ACEOF
36632
36633 fi
36634 else
36635 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36636 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36637
36638 wxUSE_CLIPBOARD=no
36639 wxUSE_DRAG_AND_DROP=no
36640 wxUSE_DATAOBJ=no
36641 wxUSE_OLE=no
36642 fi
36643
36644 if test "$wxUSE_METAFILE" = "yes"; then
36645 cat >>confdefs.h <<\_ACEOF
36646 #define wxUSE_METAFILE 1
36647 _ACEOF
36648
36649
36650 cat >>confdefs.h <<\_ACEOF
36651 #define wxUSE_ENH_METAFILE 1
36652 _ACEOF
36653
36654 fi
36655 fi
36656
36657 if test "$wxUSE_IPC" = "yes"; then
36658 if test "$wxUSE_SOCKETS" != "yes"; then
36659 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36660 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36661 fi
36662
36663 cat >>confdefs.h <<\_ACEOF
36664 #define wxUSE_IPC 1
36665 _ACEOF
36666
36667 fi
36668
36669 if test "$wxUSE_CLIPBOARD" = "yes"; then
36670 if test "$wxUSE_MGL" = 1; then
36671 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36672 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36673 wxUSE_CLIPBOARD=no
36674 fi
36675
36676 if test "$wxUSE_CLIPBOARD" = "yes"; then
36677 cat >>confdefs.h <<\_ACEOF
36678 #define wxUSE_CLIPBOARD 1
36679 _ACEOF
36680
36681
36682 cat >>confdefs.h <<\_ACEOF
36683 #define wxUSE_DATAOBJ 1
36684 _ACEOF
36685
36686 fi
36687 fi
36688
36689 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36690 if test "$wxUSE_GTK" = 1; then
36691 if test "$WXGTK12" != 1; then
36692 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36693 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36694 wxUSE_DRAG_AND_DROP=no
36695 fi
36696 fi
36697
36698 if test "$wxUSE_MOTIF" = 1; then
36699 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36700 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36701 wxUSE_DRAG_AND_DROP=no
36702 fi
36703
36704 if test "$wxUSE_X11" = 1; then
36705 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36706 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36707 wxUSE_DRAG_AND_DROP=no
36708 fi
36709
36710 if test "$wxUSE_MGL" = 1; then
36711 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36712 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36713 wxUSE_DRAG_AND_DROP=no
36714 fi
36715
36716 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36717 cat >>confdefs.h <<\_ACEOF
36718 #define wxUSE_DRAG_AND_DROP 1
36719 _ACEOF
36720
36721 fi
36722
36723 fi
36724
36725 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36727 fi
36728
36729 if test "$wxUSE_SPLINES" = "yes" ; then
36730 cat >>confdefs.h <<\_ACEOF
36731 #define wxUSE_SPLINES 1
36732 _ACEOF
36733
36734 fi
36735
36736
36737 USES_CONTROLS=0
36738 if test "$wxUSE_CONTROLS" = "yes"; then
36739 USES_CONTROLS=1
36740 fi
36741
36742 if test "$wxUSE_ACCEL" = "yes"; then
36743 cat >>confdefs.h <<\_ACEOF
36744 #define wxUSE_ACCEL 1
36745 _ACEOF
36746
36747 USES_CONTROLS=1
36748 fi
36749
36750 if test "$wxUSE_BUTTON" = "yes"; then
36751 cat >>confdefs.h <<\_ACEOF
36752 #define wxUSE_BUTTON 1
36753 _ACEOF
36754
36755 USES_CONTROLS=1
36756 fi
36757
36758 if test "$wxUSE_BMPBUTTON" = "yes"; then
36759 cat >>confdefs.h <<\_ACEOF
36760 #define wxUSE_BMPBUTTON 1
36761 _ACEOF
36762
36763 USES_CONTROLS=1
36764 fi
36765
36766 if test "$wxUSE_CALCTRL" = "yes"; then
36767 cat >>confdefs.h <<\_ACEOF
36768 #define wxUSE_CALENDARCTRL 1
36769 _ACEOF
36770
36771 USES_CONTROLS=1
36772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36773 fi
36774
36775 if test "$wxUSE_CARET" = "yes"; then
36776 cat >>confdefs.h <<\_ACEOF
36777 #define wxUSE_CARET 1
36778 _ACEOF
36779
36780 USES_CONTROLS=1
36781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36782 fi
36783
36784 if test "$wxUSE_COMBOBOX" = "yes"; then
36785 cat >>confdefs.h <<\_ACEOF
36786 #define wxUSE_COMBOBOX 1
36787 _ACEOF
36788
36789 USES_CONTROLS=1
36790 fi
36791
36792 if test "$wxUSE_CHOICE" = "yes"; then
36793 cat >>confdefs.h <<\_ACEOF
36794 #define wxUSE_CHOICE 1
36795 _ACEOF
36796
36797 USES_CONTROLS=1
36798 fi
36799
36800 if test "$wxUSE_CHECKBOX" = "yes"; then
36801 cat >>confdefs.h <<\_ACEOF
36802 #define wxUSE_CHECKBOX 1
36803 _ACEOF
36804
36805 USES_CONTROLS=1
36806 fi
36807
36808 if test "$wxUSE_CHECKLST" = "yes"; then
36809 cat >>confdefs.h <<\_ACEOF
36810 #define wxUSE_CHECKLISTBOX 1
36811 _ACEOF
36812
36813 USES_CONTROLS=1
36814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36815 fi
36816
36817 if test "$wxUSE_DISPLAY" = "yes"; then
36818 cat >>confdefs.h <<\_ACEOF
36819 #define wxUSE_DISPLAY 1
36820 _ACEOF
36821
36822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36823 fi
36824
36825 if test "$wxUSE_GAUGE" = "yes"; then
36826 cat >>confdefs.h <<\_ACEOF
36827 #define wxUSE_GAUGE 1
36828 _ACEOF
36829
36830 USES_CONTROLS=1
36831 fi
36832
36833 if test "$wxUSE_GRID" = "yes"; then
36834 cat >>confdefs.h <<\_ACEOF
36835 #define wxUSE_GRID 1
36836 _ACEOF
36837
36838 USES_CONTROLS=1
36839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36840 fi
36841
36842 if test "$wxUSE_IMAGLIST" = "yes"; then
36843 cat >>confdefs.h <<\_ACEOF
36844 #define wxUSE_IMAGLIST 1
36845 _ACEOF
36846
36847 fi
36848
36849 if test "$wxUSE_LISTBOOK" = "yes"; then
36850 cat >>confdefs.h <<\_ACEOF
36851 #define wxUSE_LISTBOOK 1
36852 _ACEOF
36853
36854 USES_CONTROLS=1
36855 fi
36856
36857 if test "$wxUSE_LISTBOX" = "yes"; then
36858 cat >>confdefs.h <<\_ACEOF
36859 #define wxUSE_LISTBOX 1
36860 _ACEOF
36861
36862 USES_CONTROLS=1
36863 fi
36864
36865 if test "$wxUSE_LISTCTRL" = "yes"; then
36866 if test "$wxUSE_IMAGLIST" = "yes"; then
36867 cat >>confdefs.h <<\_ACEOF
36868 #define wxUSE_LISTCTRL 1
36869 _ACEOF
36870
36871 USES_CONTROLS=1
36872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36873 else
36874 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36875 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36876 fi
36877 fi
36878
36879 if test "$wxUSE_NOTEBOOK" = "yes"; then
36880 cat >>confdefs.h <<\_ACEOF
36881 #define wxUSE_NOTEBOOK 1
36882 _ACEOF
36883
36884 USES_CONTROLS=1
36885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36886 fi
36887
36888
36889 if test "$wxUSE_RADIOBOX" = "yes"; then
36890 cat >>confdefs.h <<\_ACEOF
36891 #define wxUSE_RADIOBOX 1
36892 _ACEOF
36893
36894 USES_CONTROLS=1
36895 fi
36896
36897 if test "$wxUSE_RADIOBTN" = "yes"; then
36898 cat >>confdefs.h <<\_ACEOF
36899 #define wxUSE_RADIOBTN 1
36900 _ACEOF
36901
36902 USES_CONTROLS=1
36903 fi
36904
36905 if test "$wxUSE_SASH" = "yes"; then
36906 cat >>confdefs.h <<\_ACEOF
36907 #define wxUSE_SASH 1
36908 _ACEOF
36909
36910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36911 fi
36912
36913 if test "$wxUSE_SCROLLBAR" = "yes"; then
36914 cat >>confdefs.h <<\_ACEOF
36915 #define wxUSE_SCROLLBAR 1
36916 _ACEOF
36917
36918 USES_CONTROLS=1
36919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36920 fi
36921
36922 if test "$wxUSE_SLIDER" = "yes"; then
36923 cat >>confdefs.h <<\_ACEOF
36924 #define wxUSE_SLIDER 1
36925 _ACEOF
36926
36927 USES_CONTROLS=1
36928 fi
36929
36930 if test "$wxUSE_SPINBTN" = "yes"; then
36931 cat >>confdefs.h <<\_ACEOF
36932 #define wxUSE_SPINBTN 1
36933 _ACEOF
36934
36935 USES_CONTROLS=1
36936 fi
36937
36938 if test "$wxUSE_SPINCTRL" = "yes"; then
36939 cat >>confdefs.h <<\_ACEOF
36940 #define wxUSE_SPINCTRL 1
36941 _ACEOF
36942
36943 USES_CONTROLS=1
36944 fi
36945
36946 if test "$wxUSE_SPLITTER" = "yes"; then
36947 cat >>confdefs.h <<\_ACEOF
36948 #define wxUSE_SPLITTER 1
36949 _ACEOF
36950
36951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36952 fi
36953
36954 if test "$wxUSE_STATBMP" = "yes"; then
36955 cat >>confdefs.h <<\_ACEOF
36956 #define wxUSE_STATBMP 1
36957 _ACEOF
36958
36959 USES_CONTROLS=1
36960 fi
36961
36962 if test "$wxUSE_STATBOX" = "yes"; then
36963 cat >>confdefs.h <<\_ACEOF
36964 #define wxUSE_STATBOX 1
36965 _ACEOF
36966
36967 USES_CONTROLS=1
36968 fi
36969
36970 if test "$wxUSE_STATTEXT" = "yes"; then
36971 cat >>confdefs.h <<\_ACEOF
36972 #define wxUSE_STATTEXT 1
36973 _ACEOF
36974
36975 USES_CONTROLS=1
36976 fi
36977
36978 if test "$wxUSE_STATLINE" = "yes"; then
36979 cat >>confdefs.h <<\_ACEOF
36980 #define wxUSE_STATLINE 1
36981 _ACEOF
36982
36983 USES_CONTROLS=1
36984 fi
36985
36986 if test "$wxUSE_STATUSBAR" = "yes"; then
36987 cat >>confdefs.h <<\_ACEOF
36988 #define wxUSE_STATUSBAR 1
36989 _ACEOF
36990
36991 USES_CONTROLS=1
36992
36993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36994 fi
36995
36996 if test "$wxUSE_TABDIALOG" = "yes"; then
36997 cat >>confdefs.h <<\_ACEOF
36998 #define wxUSE_TAB_DIALOG 1
36999 _ACEOF
37000
37001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
37002 fi
37003
37004 if test "$wxUSE_TEXTCTRL" = "yes"; then
37005 cat >>confdefs.h <<\_ACEOF
37006 #define wxUSE_TEXTCTRL 1
37007 _ACEOF
37008
37009 USES_CONTROLS=1
37010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37011 fi
37012
37013 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37014 if test "$wxUSE_COCOA" = 1 ; then
37015 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37016 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37017 wxUSE_TOGGLEBTN=no
37018 fi
37019 if test "$wxUSE_UNIVERSAL" = "yes"; then
37020 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37021 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37022 wxUSE_TOGGLEBTN=no
37023 fi
37024
37025 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37026 cat >>confdefs.h <<\_ACEOF
37027 #define wxUSE_TOGGLEBTN 1
37028 _ACEOF
37029
37030 USES_CONTROLS=1
37031 fi
37032 fi
37033
37034 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37035 cat >>confdefs.h <<\_ACEOF
37036 #define wxUSE_TOOLBAR_SIMPLE 1
37037 _ACEOF
37038
37039 wxUSE_TOOLBAR="yes"
37040 USES_CONTROLS=1
37041 fi
37042
37043 if test "$wxUSE_TOOLBAR" = "yes"; then
37044 cat >>confdefs.h <<\_ACEOF
37045 #define wxUSE_TOOLBAR 1
37046 _ACEOF
37047
37048 USES_CONTROLS=1
37049
37050 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37051 wxUSE_TOOLBAR_NATIVE="yes"
37052 fi
37053
37054 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37055 cat >>confdefs.h <<\_ACEOF
37056 #define wxUSE_TOOLBAR_NATIVE 1
37057 _ACEOF
37058
37059 USES_CONTROLS=1
37060 fi
37061
37062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37063 fi
37064
37065 if test "$wxUSE_TOOLTIPS" = "yes"; then
37066 if test "$wxUSE_MOTIF" = 1; then
37067 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37068 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37069 else
37070 if test "$wxUSE_UNIVERSAL" = "yes"; then
37071 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37072 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37073 else
37074 cat >>confdefs.h <<\_ACEOF
37075 #define wxUSE_TOOLTIPS 1
37076 _ACEOF
37077
37078 fi
37079 fi
37080 fi
37081
37082 if test "$wxUSE_TREECTRL" = "yes"; then
37083 if test "$wxUSE_IMAGLIST" = "yes"; then
37084 cat >>confdefs.h <<\_ACEOF
37085 #define wxUSE_TREECTRL 1
37086 _ACEOF
37087
37088 USES_CONTROLS=1
37089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37090 else
37091 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37092 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37093 fi
37094 fi
37095
37096 if test "$wxUSE_POPUPWIN" = "yes"; then
37097 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37098 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37099 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37100 else
37101 if test "$wxUSE_PM" = 1; then
37102 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37103 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37104 else
37105 cat >>confdefs.h <<\_ACEOF
37106 #define wxUSE_POPUPWIN 1
37107 _ACEOF
37108
37109
37110 USES_CONTROLS=1
37111 fi
37112 fi
37113 fi
37114
37115 if test "$wxUSE_TIPWINDOW" = "yes"; then
37116 if test "$wxUSE_PM" = 1; then
37117 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37118 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37119 else
37120 cat >>confdefs.h <<\_ACEOF
37121 #define wxUSE_TIPWINDOW 1
37122 _ACEOF
37123
37124 fi
37125 fi
37126
37127 if test "$USES_CONTROLS" = 1; then
37128 cat >>confdefs.h <<\_ACEOF
37129 #define wxUSE_CONTROLS 1
37130 _ACEOF
37131
37132 fi
37133
37134
37135 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37136 cat >>confdefs.h <<\_ACEOF
37137 #define wxUSE_ACCESSIBILITY 1
37138 _ACEOF
37139
37140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37141 fi
37142
37143 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37144 cat >>confdefs.h <<\_ACEOF
37145 #define wxUSE_DRAGIMAGE 1
37146 _ACEOF
37147
37148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37149 fi
37150
37151 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37152 cat >>confdefs.h <<\_ACEOF
37153 #define wxUSE_EXCEPTIONS 1
37154 _ACEOF
37155
37156 fi
37157
37158 USE_HTML=0
37159 if test "$wxUSE_HTML" = "yes"; then
37160 cat >>confdefs.h <<\_ACEOF
37161 #define wxUSE_HTML 1
37162 _ACEOF
37163
37164 USE_HTML=1
37165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37166 fi
37167
37168 if test "$wxUSE_MENUS" = "yes"; then
37169 cat >>confdefs.h <<\_ACEOF
37170 #define wxUSE_MENUS 1
37171 _ACEOF
37172
37173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37174 fi
37175
37176 if test "$wxUSE_METAFILE" = "yes"; then
37177 cat >>confdefs.h <<\_ACEOF
37178 #define wxUSE_METAFILE 1
37179 _ACEOF
37180
37181 fi
37182
37183 if test "$wxUSE_MIMETYPE" = "yes"; then
37184 cat >>confdefs.h <<\_ACEOF
37185 #define wxUSE_MIMETYPE 1
37186 _ACEOF
37187
37188 fi
37189
37190 if test "$wxUSE_MINIFRAME" = "yes"; then
37191 cat >>confdefs.h <<\_ACEOF
37192 #define wxUSE_MINIFRAME 1
37193 _ACEOF
37194
37195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37196 fi
37197
37198 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37199 cat >>confdefs.h <<\_ACEOF
37200 #define wxUSE_SYSTEM_OPTIONS 1
37201 _ACEOF
37202
37203 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37204 "$TOOLKIT" = "MOTIF"; then
37205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37206 fi
37207 fi
37208
37209
37210 if test "$wxUSE_VALIDATORS" = "yes"; then
37211 cat >>confdefs.h <<\_ACEOF
37212 #define wxUSE_VALIDATORS 1
37213 _ACEOF
37214
37215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37216 fi
37217
37218 if test "$wxUSE_PALETTE" = "yes" ; then
37219 cat >>confdefs.h <<\_ACEOF
37220 #define wxUSE_PALETTE 1
37221 _ACEOF
37222
37223 fi
37224
37225 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37226 LIBS=" -lunicows $LIBS"
37227 fi
37228
37229
37230 if test "$wxUSE_IMAGE" = "yes" ; then
37231 cat >>confdefs.h <<\_ACEOF
37232 #define wxUSE_IMAGE 1
37233 _ACEOF
37234
37235
37236 if test "$wxUSE_GIF" = "yes" ; then
37237 cat >>confdefs.h <<\_ACEOF
37238 #define wxUSE_GIF 1
37239 _ACEOF
37240
37241 fi
37242
37243 if test "$wxUSE_PCX" = "yes" ; then
37244 cat >>confdefs.h <<\_ACEOF
37245 #define wxUSE_PCX 1
37246 _ACEOF
37247
37248 fi
37249
37250 if test "$wxUSE_IFF" = "yes" ; then
37251 cat >>confdefs.h <<\_ACEOF
37252 #define wxUSE_IFF 1
37253 _ACEOF
37254
37255 fi
37256
37257 if test "$wxUSE_PNM" = "yes" ; then
37258 cat >>confdefs.h <<\_ACEOF
37259 #define wxUSE_PNM 1
37260 _ACEOF
37261
37262 fi
37263
37264 if test "$wxUSE_XPM" = "yes" ; then
37265 cat >>confdefs.h <<\_ACEOF
37266 #define wxUSE_XPM 1
37267 _ACEOF
37268
37269 fi
37270
37271 if test "$wxUSE_ICO_CUR" = "yes" ; then
37272 cat >>confdefs.h <<\_ACEOF
37273 #define wxUSE_ICO_CUR 1
37274 _ACEOF
37275
37276 fi
37277 fi
37278
37279
37280 if test "$wxUSE_CHOICEDLG" = "yes"; then
37281 cat >>confdefs.h <<\_ACEOF
37282 #define wxUSE_CHOICEDLG 1
37283 _ACEOF
37284
37285 fi
37286
37287 if test "$wxUSE_COLOURDLG" = "yes"; then
37288 cat >>confdefs.h <<\_ACEOF
37289 #define wxUSE_COLOURDLG 1
37290 _ACEOF
37291
37292 fi
37293
37294 if test "$wxUSE_FILEDLG" = "yes"; then
37295 cat >>confdefs.h <<\_ACEOF
37296 #define wxUSE_FILEDLG 1
37297 _ACEOF
37298
37299 fi
37300
37301 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37302 cat >>confdefs.h <<\_ACEOF
37303 #define wxUSE_FINDREPLDLG 1
37304 _ACEOF
37305
37306 fi
37307
37308 if test "$wxUSE_FONTDLG" = "yes"; then
37309 cat >>confdefs.h <<\_ACEOF
37310 #define wxUSE_FONTDLG 1
37311 _ACEOF
37312
37313 fi
37314
37315 if test "$wxUSE_DIRDLG" = "yes"; then
37316 if test "$wxUSE_TREECTRL" != "yes"; then
37317 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37318 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37319 else
37320 cat >>confdefs.h <<\_ACEOF
37321 #define wxUSE_DIRDLG 1
37322 _ACEOF
37323
37324 fi
37325 fi
37326
37327 if test "$wxUSE_MSGDLG" = "yes"; then
37328 cat >>confdefs.h <<\_ACEOF
37329 #define wxUSE_MSGDLG 1
37330 _ACEOF
37331
37332 fi
37333
37334 if test "$wxUSE_NUMBERDLG" = "yes"; then
37335 cat >>confdefs.h <<\_ACEOF
37336 #define wxUSE_NUMBERDLG 1
37337 _ACEOF
37338
37339 fi
37340
37341 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37342 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37343 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37344 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37345 else
37346 cat >>confdefs.h <<\_ACEOF
37347 #define wxUSE_PROGRESSDLG 1
37348 _ACEOF
37349
37350 fi
37351 fi
37352
37353 if test "$wxUSE_SPLASH" = "yes"; then
37354 cat >>confdefs.h <<\_ACEOF
37355 #define wxUSE_SPLASH 1
37356 _ACEOF
37357
37358 fi
37359
37360 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37361 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37362 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37363 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37364 else
37365 cat >>confdefs.h <<\_ACEOF
37366 #define wxUSE_STARTUP_TIPS 1
37367 _ACEOF
37368
37369 fi
37370 fi
37371
37372 if test "$wxUSE_TEXTDLG" = "yes"; then
37373 cat >>confdefs.h <<\_ACEOF
37374 #define wxUSE_TEXTDLG 1
37375 _ACEOF
37376
37377 fi
37378
37379 if test "$wxUSE_WIZARDDLG" = "yes"; then
37380 cat >>confdefs.h <<\_ACEOF
37381 #define wxUSE_WIZARDDLG 1
37382 _ACEOF
37383
37384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37385 fi
37386
37387
37388 if test "$cross_compiling" = "yes"; then
37389 OSINFO="\"$host\""
37390 else
37391 OSINFO=`uname -s -r -m`
37392 OSINFO="\"$OSINFO\""
37393 fi
37394
37395 cat >>confdefs.h <<_ACEOF
37396 #define WXWIN_OS_DESCRIPTION $OSINFO
37397 _ACEOF
37398
37399
37400
37401 if test "x$prefix" != "xNONE"; then
37402 wxPREFIX=$prefix
37403 else
37404 wxPREFIX=$ac_default_prefix
37405 fi
37406
37407 cat >>confdefs.h <<_ACEOF
37408 #define wxINSTALL_PREFIX "$wxPREFIX"
37409 _ACEOF
37410
37411
37412 top_builddir_wxconfig=`pwd`
37413
37414
37415
37416 CORE_BASE_LIBS="net base"
37417 CORE_GUI_LIBS="adv core"
37418
37419 if test "$wxUSE_XML" = "yes" ; then
37420 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37421 fi
37422 if test "$wxUSE_ODBC" != "no" ; then
37423 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37424 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37425 fi
37426 if test "$wxUSE_HTML" = "yes" ; then
37427 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37428 fi
37429
37430 if test "$wxUSE_GUI" != "yes"; then
37431 CORE_GUI_LIBS=""
37432 fi
37433
37434
37435
37436
37437
37438
37439
37440
37441 if test "$wxUSE_MAC" = 1 ; then
37442 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
37443 fi
37444 if test "$wxUSE_COCOA" = 1 ; then
37445 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37446 fi
37447
37448
37449 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37450
37451 have_cos=0
37452 have_floor=0
37453
37454 for ac_func in cos
37455 do
37456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37457 echo "$as_me:$LINENO: checking for $ac_func" >&5
37458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37459 if eval "test \"\${$as_ac_var+set}\" = set"; then
37460 echo $ECHO_N "(cached) $ECHO_C" >&6
37461 else
37462 cat >conftest.$ac_ext <<_ACEOF
37463 /* confdefs.h. */
37464 _ACEOF
37465 cat confdefs.h >>conftest.$ac_ext
37466 cat >>conftest.$ac_ext <<_ACEOF
37467 /* end confdefs.h. */
37468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37470 #define $ac_func innocuous_$ac_func
37471
37472 /* System header to define __stub macros and hopefully few prototypes,
37473 which can conflict with char $ac_func (); below.
37474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37475 <limits.h> exists even on freestanding compilers. */
37476
37477 #ifdef __STDC__
37478 # include <limits.h>
37479 #else
37480 # include <assert.h>
37481 #endif
37482
37483 #undef $ac_func
37484
37485 /* Override any gcc2 internal prototype to avoid an error. */
37486 #ifdef __cplusplus
37487 extern "C"
37488 {
37489 #endif
37490 /* We use char because int might match the return type of a gcc2
37491 builtin and then its argument prototype would still apply. */
37492 char $ac_func ();
37493 /* The GNU C library defines this for functions which it implements
37494 to always fail with ENOSYS. Some functions are actually named
37495 something starting with __ and the normal name is an alias. */
37496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37497 choke me
37498 #else
37499 char (*f) () = $ac_func;
37500 #endif
37501 #ifdef __cplusplus
37502 }
37503 #endif
37504
37505 int
37506 main ()
37507 {
37508 return f != $ac_func;
37509 ;
37510 return 0;
37511 }
37512 _ACEOF
37513 rm -f conftest.$ac_objext conftest$ac_exeext
37514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37515 (eval $ac_link) 2>conftest.er1
37516 ac_status=$?
37517 grep -v '^ *+' conftest.er1 >conftest.err
37518 rm -f conftest.er1
37519 cat conftest.err >&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } &&
37522 { ac_try='test -z "$ac_c_werror_flag"
37523 || test ! -s conftest.err'
37524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37525 (eval $ac_try) 2>&5
37526 ac_status=$?
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); }; } &&
37529 { ac_try='test -s conftest$ac_exeext'
37530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37531 (eval $ac_try) 2>&5
37532 ac_status=$?
37533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37534 (exit $ac_status); }; }; then
37535 eval "$as_ac_var=yes"
37536 else
37537 echo "$as_me: failed program was:" >&5
37538 sed 's/^/| /' conftest.$ac_ext >&5
37539
37540 eval "$as_ac_var=no"
37541 fi
37542 rm -f conftest.err conftest.$ac_objext \
37543 conftest$ac_exeext conftest.$ac_ext
37544 fi
37545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37547 if test `eval echo '${'$as_ac_var'}'` = yes; then
37548 cat >>confdefs.h <<_ACEOF
37549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37550 _ACEOF
37551 have_cos=1
37552 fi
37553 done
37554
37555
37556 for ac_func in floor
37557 do
37558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37559 echo "$as_me:$LINENO: checking for $ac_func" >&5
37560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37561 if eval "test \"\${$as_ac_var+set}\" = set"; then
37562 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 else
37564 cat >conftest.$ac_ext <<_ACEOF
37565 /* confdefs.h. */
37566 _ACEOF
37567 cat confdefs.h >>conftest.$ac_ext
37568 cat >>conftest.$ac_ext <<_ACEOF
37569 /* end confdefs.h. */
37570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37572 #define $ac_func innocuous_$ac_func
37573
37574 /* System header to define __stub macros and hopefully few prototypes,
37575 which can conflict with char $ac_func (); below.
37576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37577 <limits.h> exists even on freestanding compilers. */
37578
37579 #ifdef __STDC__
37580 # include <limits.h>
37581 #else
37582 # include <assert.h>
37583 #endif
37584
37585 #undef $ac_func
37586
37587 /* Override any gcc2 internal prototype to avoid an error. */
37588 #ifdef __cplusplus
37589 extern "C"
37590 {
37591 #endif
37592 /* We use char because int might match the return type of a gcc2
37593 builtin and then its argument prototype would still apply. */
37594 char $ac_func ();
37595 /* The GNU C library defines this for functions which it implements
37596 to always fail with ENOSYS. Some functions are actually named
37597 something starting with __ and the normal name is an alias. */
37598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37599 choke me
37600 #else
37601 char (*f) () = $ac_func;
37602 #endif
37603 #ifdef __cplusplus
37604 }
37605 #endif
37606
37607 int
37608 main ()
37609 {
37610 return f != $ac_func;
37611 ;
37612 return 0;
37613 }
37614 _ACEOF
37615 rm -f conftest.$ac_objext conftest$ac_exeext
37616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37617 (eval $ac_link) 2>conftest.er1
37618 ac_status=$?
37619 grep -v '^ *+' conftest.er1 >conftest.err
37620 rm -f conftest.er1
37621 cat conftest.err >&5
37622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37623 (exit $ac_status); } &&
37624 { ac_try='test -z "$ac_c_werror_flag"
37625 || test ! -s conftest.err'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37628 ac_status=$?
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; } &&
37631 { ac_try='test -s conftest$ac_exeext'
37632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37633 (eval $ac_try) 2>&5
37634 ac_status=$?
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); }; }; then
37637 eval "$as_ac_var=yes"
37638 else
37639 echo "$as_me: failed program was:" >&5
37640 sed 's/^/| /' conftest.$ac_ext >&5
37641
37642 eval "$as_ac_var=no"
37643 fi
37644 rm -f conftest.err conftest.$ac_objext \
37645 conftest$ac_exeext conftest.$ac_ext
37646 fi
37647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37649 if test `eval echo '${'$as_ac_var'}'` = yes; then
37650 cat >>confdefs.h <<_ACEOF
37651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37652 _ACEOF
37653 have_floor=1
37654 fi
37655 done
37656
37657 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37658 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37659 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37660 echo "$as_me:$LINENO: result: yes" >&5
37661 echo "${ECHO_T}yes" >&6
37662 else
37663 echo "$as_me:$LINENO: result: no" >&5
37664 echo "${ECHO_T}no" >&6
37665 LIBS="$LIBS -lm"
37666 # use different functions to avoid configure caching
37667 have_sin=0
37668 have_ceil=0
37669
37670 for ac_func in sin
37671 do
37672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37673 echo "$as_me:$LINENO: checking for $ac_func" >&5
37674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37675 if eval "test \"\${$as_ac_var+set}\" = set"; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 else
37678 cat >conftest.$ac_ext <<_ACEOF
37679 /* confdefs.h. */
37680 _ACEOF
37681 cat confdefs.h >>conftest.$ac_ext
37682 cat >>conftest.$ac_ext <<_ACEOF
37683 /* end confdefs.h. */
37684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37686 #define $ac_func innocuous_$ac_func
37687
37688 /* System header to define __stub macros and hopefully few prototypes,
37689 which can conflict with char $ac_func (); below.
37690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37691 <limits.h> exists even on freestanding compilers. */
37692
37693 #ifdef __STDC__
37694 # include <limits.h>
37695 #else
37696 # include <assert.h>
37697 #endif
37698
37699 #undef $ac_func
37700
37701 /* Override any gcc2 internal prototype to avoid an error. */
37702 #ifdef __cplusplus
37703 extern "C"
37704 {
37705 #endif
37706 /* We use char because int might match the return type of a gcc2
37707 builtin and then its argument prototype would still apply. */
37708 char $ac_func ();
37709 /* The GNU C library defines this for functions which it implements
37710 to always fail with ENOSYS. Some functions are actually named
37711 something starting with __ and the normal name is an alias. */
37712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37713 choke me
37714 #else
37715 char (*f) () = $ac_func;
37716 #endif
37717 #ifdef __cplusplus
37718 }
37719 #endif
37720
37721 int
37722 main ()
37723 {
37724 return f != $ac_func;
37725 ;
37726 return 0;
37727 }
37728 _ACEOF
37729 rm -f conftest.$ac_objext conftest$ac_exeext
37730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37731 (eval $ac_link) 2>conftest.er1
37732 ac_status=$?
37733 grep -v '^ *+' conftest.er1 >conftest.err
37734 rm -f conftest.er1
37735 cat conftest.err >&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); } &&
37738 { ac_try='test -z "$ac_c_werror_flag"
37739 || test ! -s conftest.err'
37740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37741 (eval $ac_try) 2>&5
37742 ac_status=$?
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); }; } &&
37745 { ac_try='test -s conftest$ac_exeext'
37746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747 (eval $ac_try) 2>&5
37748 ac_status=$?
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); }; }; then
37751 eval "$as_ac_var=yes"
37752 else
37753 echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.$ac_ext >&5
37755
37756 eval "$as_ac_var=no"
37757 fi
37758 rm -f conftest.err conftest.$ac_objext \
37759 conftest$ac_exeext conftest.$ac_ext
37760 fi
37761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37763 if test `eval echo '${'$as_ac_var'}'` = yes; then
37764 cat >>confdefs.h <<_ACEOF
37765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37766 _ACEOF
37767 have_sin=1
37768 fi
37769 done
37770
37771
37772 for ac_func in ceil
37773 do
37774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37775 echo "$as_me:$LINENO: checking for $ac_func" >&5
37776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37777 if eval "test \"\${$as_ac_var+set}\" = set"; then
37778 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 else
37780 cat >conftest.$ac_ext <<_ACEOF
37781 /* confdefs.h. */
37782 _ACEOF
37783 cat confdefs.h >>conftest.$ac_ext
37784 cat >>conftest.$ac_ext <<_ACEOF
37785 /* end confdefs.h. */
37786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37788 #define $ac_func innocuous_$ac_func
37789
37790 /* System header to define __stub macros and hopefully few prototypes,
37791 which can conflict with char $ac_func (); below.
37792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37793 <limits.h> exists even on freestanding compilers. */
37794
37795 #ifdef __STDC__
37796 # include <limits.h>
37797 #else
37798 # include <assert.h>
37799 #endif
37800
37801 #undef $ac_func
37802
37803 /* Override any gcc2 internal prototype to avoid an error. */
37804 #ifdef __cplusplus
37805 extern "C"
37806 {
37807 #endif
37808 /* We use char because int might match the return type of a gcc2
37809 builtin and then its argument prototype would still apply. */
37810 char $ac_func ();
37811 /* The GNU C library defines this for functions which it implements
37812 to always fail with ENOSYS. Some functions are actually named
37813 something starting with __ and the normal name is an alias. */
37814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37815 choke me
37816 #else
37817 char (*f) () = $ac_func;
37818 #endif
37819 #ifdef __cplusplus
37820 }
37821 #endif
37822
37823 int
37824 main ()
37825 {
37826 return f != $ac_func;
37827 ;
37828 return 0;
37829 }
37830 _ACEOF
37831 rm -f conftest.$ac_objext conftest$ac_exeext
37832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37833 (eval $ac_link) 2>conftest.er1
37834 ac_status=$?
37835 grep -v '^ *+' conftest.er1 >conftest.err
37836 rm -f conftest.er1
37837 cat conftest.err >&5
37838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37839 (exit $ac_status); } &&
37840 { ac_try='test -z "$ac_c_werror_flag"
37841 || test ! -s conftest.err'
37842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37843 (eval $ac_try) 2>&5
37844 ac_status=$?
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); }; } &&
37847 { ac_try='test -s conftest$ac_exeext'
37848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37849 (eval $ac_try) 2>&5
37850 ac_status=$?
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); }; }; then
37853 eval "$as_ac_var=yes"
37854 else
37855 echo "$as_me: failed program was:" >&5
37856 sed 's/^/| /' conftest.$ac_ext >&5
37857
37858 eval "$as_ac_var=no"
37859 fi
37860 rm -f conftest.err conftest.$ac_objext \
37861 conftest$ac_exeext conftest.$ac_ext
37862 fi
37863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37865 if test `eval echo '${'$as_ac_var'}'` = yes; then
37866 cat >>confdefs.h <<_ACEOF
37867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37868 _ACEOF
37869 have_ceil=1
37870 fi
37871 done
37872
37873 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37874 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37875 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37876 echo "$as_me:$LINENO: result: yes" >&5
37877 echo "${ECHO_T}yes" >&6
37878 else
37879 echo "$as_me:$LINENO: result: no" >&5
37880 echo "${ECHO_T}no" >&6
37881 # not sure we should warn the user, crash, etc.
37882 fi
37883 fi
37884
37885 if test "$wxUSE_GUI" = "yes"; then
37886
37887
37888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37889 drawing dynamic erase event exec font image \
37890 minimal propsize rotate shaped widgets render"
37891
37892 if test "$wxUSE_MONOLITHIC" != "yes"; then
37893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37894 fi
37895 else
37896 SAMPLES_SUBDIRS="console"
37897 fi
37898
37899
37900 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37901 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37902
37903 if test "$GXX" = yes ; then
37904 CXXWARNINGS="-Wall"
37905 fi
37906
37907 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37908
37909 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37910 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37911 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37912
37913
37914 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37915 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37916 EXTRALIBS_XML="$EXPAT_LINK"
37917 EXTRALIBS_HTML="$MSPACK_LINK"
37918 EXTRALIBS_ODBC="$ODBC_LINK"
37919 if test "$wxUSE_GUI" = "yes"; then
37920 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37921 fi
37922 if test "$wxUSE_OPENGL" = "yes"; then
37923 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37924 fi
37925
37926 LDFLAGS="$LDFLAGS $PROFILE"
37927
37928 if test "$wxUSE_GTK" = 1; then
37929 WXCONFIG_INCLUDE=
37930 else
37931 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37932 fi
37933
37934 WXCONFIG_EXTRALIBS="$LIBS"
37935
37936 if test "$wxUSE_REGEX" = "builtin" ; then
37937 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37938 fi
37939 if test "$wxUSE_EXPAT" = "builtin" ; then
37940 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37941 fi
37942 if test "$wxUSE_ODBC" = "builtin" ; then
37943 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37944 fi
37945 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37946 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37947 fi
37948 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37949 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37950 fi
37951 if test "$wxUSE_LIBPNG" = "builtin" ; then
37952 wxconfig_3rdparty="$wxconfig_3rdparty png"
37953 fi
37954 if test "$wxUSE_ZLIB" = "builtin" ; then
37955 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37956 fi
37957 if test "$wxUSE_ODBC" = "builtin" ; then
37958 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37959 fi
37960
37961 for i in $wxconfig_3rdparty ; do
37962 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37963 done
37964
37965
37966 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37967 WXUNIV=1
37968 else
37969 WXUNIV=0
37970 fi
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980 if test $wxUSE_MONOLITHIC = "yes" ; then
37981 MONOLITHIC=1
37982 else
37983 MONOLITHIC=0
37984 fi
37985
37986 if test $wxUSE_PLUGINS = "yes" ; then
37987 USE_PLUGINS=1
37988 else
37989 USE_PLUGINS=0
37990 fi
37991
37992 if test $wxUSE_ODBC != "no" ; then
37993 USE_ODBC=1
37994 else
37995 USE_ODBC=0
37996 fi
37997
37998 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37999 OFFICIAL_BUILD=1
38000 else
38001 OFFICIAL_BUILD=0
38002 fi
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034 if test "x$BAKEFILE_HOST" = "x"; then
38035 BAKEFILE_HOST="${host}"
38036 fi
38037
38038 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38039
38040 if test -n "$ac_tool_prefix"; then
38041 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38042 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38043 echo "$as_me:$LINENO: checking for $ac_word" >&5
38044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38045 if test "${ac_cv_prog_RANLIB+set}" = set; then
38046 echo $ECHO_N "(cached) $ECHO_C" >&6
38047 else
38048 if test -n "$RANLIB"; then
38049 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38050 else
38051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38052 for as_dir in $PATH
38053 do
38054 IFS=$as_save_IFS
38055 test -z "$as_dir" && as_dir=.
38056 for ac_exec_ext in '' $ac_executable_extensions; do
38057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38058 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38060 break 2
38061 fi
38062 done
38063 done
38064
38065 fi
38066 fi
38067 RANLIB=$ac_cv_prog_RANLIB
38068 if test -n "$RANLIB"; then
38069 echo "$as_me:$LINENO: result: $RANLIB" >&5
38070 echo "${ECHO_T}$RANLIB" >&6
38071 else
38072 echo "$as_me:$LINENO: result: no" >&5
38073 echo "${ECHO_T}no" >&6
38074 fi
38075
38076 fi
38077 if test -z "$ac_cv_prog_RANLIB"; then
38078 ac_ct_RANLIB=$RANLIB
38079 # Extract the first word of "ranlib", so it can be a program name with args.
38080 set dummy ranlib; ac_word=$2
38081 echo "$as_me:$LINENO: checking for $ac_word" >&5
38082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38083 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 else
38086 if test -n "$ac_ct_RANLIB"; then
38087 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38088 else
38089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38090 for as_dir in $PATH
38091 do
38092 IFS=$as_save_IFS
38093 test -z "$as_dir" && as_dir=.
38094 for ac_exec_ext in '' $ac_executable_extensions; do
38095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38096 ac_cv_prog_ac_ct_RANLIB="ranlib"
38097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38098 break 2
38099 fi
38100 done
38101 done
38102
38103 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38104 fi
38105 fi
38106 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38107 if test -n "$ac_ct_RANLIB"; then
38108 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38109 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38110 else
38111 echo "$as_me:$LINENO: result: no" >&5
38112 echo "${ECHO_T}no" >&6
38113 fi
38114
38115 RANLIB=$ac_ct_RANLIB
38116 else
38117 RANLIB="$ac_cv_prog_RANLIB"
38118 fi
38119
38120 # Find a good install program. We prefer a C program (faster),
38121 # so one script is as good as another. But avoid the broken or
38122 # incompatible versions:
38123 # SysV /etc/install, /usr/sbin/install
38124 # SunOS /usr/etc/install
38125 # IRIX /sbin/install
38126 # AIX /bin/install
38127 # AmigaOS /C/install, which installs bootblocks on floppy discs
38128 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38129 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38130 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38131 # OS/2's system install, which has a completely different semantic
38132 # ./install, which can be erroneously created by make from ./install.sh.
38133 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38134 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38135 if test -z "$INSTALL"; then
38136 if test "${ac_cv_path_install+set}" = set; then
38137 echo $ECHO_N "(cached) $ECHO_C" >&6
38138 else
38139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38140 for as_dir in $PATH
38141 do
38142 IFS=$as_save_IFS
38143 test -z "$as_dir" && as_dir=.
38144 # Account for people who put trailing slashes in PATH elements.
38145 case $as_dir/ in
38146 ./ | .// | /cC/* | \
38147 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38148 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38149 /usr/ucb/* ) ;;
38150 *)
38151 # OSF1 and SCO ODT 3.0 have their own names for install.
38152 # Don't use installbsd from OSF since it installs stuff as root
38153 # by default.
38154 for ac_prog in ginstall scoinst install; do
38155 for ac_exec_ext in '' $ac_executable_extensions; do
38156 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38157 if test $ac_prog = install &&
38158 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38159 # AIX install. It has an incompatible calling convention.
38160 :
38161 elif test $ac_prog = install &&
38162 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38163 # program-specific install script used by HP pwplus--don't use.
38164 :
38165 else
38166 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38167 break 3
38168 fi
38169 fi
38170 done
38171 done
38172 ;;
38173 esac
38174 done
38175
38176
38177 fi
38178 if test "${ac_cv_path_install+set}" = set; then
38179 INSTALL=$ac_cv_path_install
38180 else
38181 # As a last resort, use the slow shell script. We don't cache a
38182 # path for INSTALL within a source directory, because that will
38183 # break other packages using the cache if that directory is
38184 # removed, or if the path is relative.
38185 INSTALL=$ac_install_sh
38186 fi
38187 fi
38188 echo "$as_me:$LINENO: result: $INSTALL" >&5
38189 echo "${ECHO_T}$INSTALL" >&6
38190
38191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38192 # It thinks the first close brace ends the variable substitution.
38193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38194
38195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38196
38197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38198
38199 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38200 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38201 LN_S=$as_ln_s
38202 if test "$LN_S" = "ln -s"; then
38203 echo "$as_me:$LINENO: result: yes" >&5
38204 echo "${ECHO_T}yes" >&6
38205 else
38206 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38207 echo "${ECHO_T}no, using $LN_S" >&6
38208 fi
38209
38210
38211 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38212 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38213 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38214 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38215 echo $ECHO_N "(cached) $ECHO_C" >&6
38216 else
38217 cat >conftest.make <<\_ACEOF
38218 all:
38219 @echo 'ac_maketemp="$(MAKE)"'
38220 _ACEOF
38221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38222 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38223 if test -n "$ac_maketemp"; then
38224 eval ac_cv_prog_make_${ac_make}_set=yes
38225 else
38226 eval ac_cv_prog_make_${ac_make}_set=no
38227 fi
38228 rm -f conftest.make
38229 fi
38230 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38231 echo "$as_me:$LINENO: result: yes" >&5
38232 echo "${ECHO_T}yes" >&6
38233 SET_MAKE=
38234 else
38235 echo "$as_me:$LINENO: result: no" >&5
38236 echo "${ECHO_T}no" >&6
38237 SET_MAKE="MAKE=${MAKE-make}"
38238 fi
38239
38240
38241
38242 if test -n "$ac_tool_prefix"; then
38243 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38244 set dummy ${ac_tool_prefix}ar; ac_word=$2
38245 echo "$as_me:$LINENO: checking for $ac_word" >&5
38246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38247 if test "${ac_cv_prog_AR+set}" = set; then
38248 echo $ECHO_N "(cached) $ECHO_C" >&6
38249 else
38250 if test -n "$AR"; then
38251 ac_cv_prog_AR="$AR" # Let the user override the test.
38252 else
38253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38254 for as_dir in $PATH
38255 do
38256 IFS=$as_save_IFS
38257 test -z "$as_dir" && as_dir=.
38258 for ac_exec_ext in '' $ac_executable_extensions; do
38259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38260 ac_cv_prog_AR="${ac_tool_prefix}ar"
38261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38262 break 2
38263 fi
38264 done
38265 done
38266
38267 fi
38268 fi
38269 AR=$ac_cv_prog_AR
38270 if test -n "$AR"; then
38271 echo "$as_me:$LINENO: result: $AR" >&5
38272 echo "${ECHO_T}$AR" >&6
38273 else
38274 echo "$as_me:$LINENO: result: no" >&5
38275 echo "${ECHO_T}no" >&6
38276 fi
38277
38278 fi
38279 if test -z "$ac_cv_prog_AR"; then
38280 ac_ct_AR=$AR
38281 # Extract the first word of "ar", so it can be a program name with args.
38282 set dummy ar; ac_word=$2
38283 echo "$as_me:$LINENO: checking for $ac_word" >&5
38284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38285 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38286 echo $ECHO_N "(cached) $ECHO_C" >&6
38287 else
38288 if test -n "$ac_ct_AR"; then
38289 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38290 else
38291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38292 for as_dir in $PATH
38293 do
38294 IFS=$as_save_IFS
38295 test -z "$as_dir" && as_dir=.
38296 for ac_exec_ext in '' $ac_executable_extensions; do
38297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38298 ac_cv_prog_ac_ct_AR="ar"
38299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38300 break 2
38301 fi
38302 done
38303 done
38304
38305 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38306 fi
38307 fi
38308 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38309 if test -n "$ac_ct_AR"; then
38310 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38311 echo "${ECHO_T}$ac_ct_AR" >&6
38312 else
38313 echo "$as_me:$LINENO: result: no" >&5
38314 echo "${ECHO_T}no" >&6
38315 fi
38316
38317 AR=$ac_ct_AR
38318 else
38319 AR="$ac_cv_prog_AR"
38320 fi
38321
38322 if test -n "$ac_tool_prefix"; then
38323 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38324 set dummy ${ac_tool_prefix}strip; ac_word=$2
38325 echo "$as_me:$LINENO: checking for $ac_word" >&5
38326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38327 if test "${ac_cv_prog_STRIP+set}" = set; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38329 else
38330 if test -n "$STRIP"; then
38331 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38332 else
38333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38334 for as_dir in $PATH
38335 do
38336 IFS=$as_save_IFS
38337 test -z "$as_dir" && as_dir=.
38338 for ac_exec_ext in '' $ac_executable_extensions; do
38339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38340 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38342 break 2
38343 fi
38344 done
38345 done
38346
38347 fi
38348 fi
38349 STRIP=$ac_cv_prog_STRIP
38350 if test -n "$STRIP"; then
38351 echo "$as_me:$LINENO: result: $STRIP" >&5
38352 echo "${ECHO_T}$STRIP" >&6
38353 else
38354 echo "$as_me:$LINENO: result: no" >&5
38355 echo "${ECHO_T}no" >&6
38356 fi
38357
38358 fi
38359 if test -z "$ac_cv_prog_STRIP"; then
38360 ac_ct_STRIP=$STRIP
38361 # Extract the first word of "strip", so it can be a program name with args.
38362 set dummy strip; ac_word=$2
38363 echo "$as_me:$LINENO: checking for $ac_word" >&5
38364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38365 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38366 echo $ECHO_N "(cached) $ECHO_C" >&6
38367 else
38368 if test -n "$ac_ct_STRIP"; then
38369 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38370 else
38371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38372 for as_dir in $PATH
38373 do
38374 IFS=$as_save_IFS
38375 test -z "$as_dir" && as_dir=.
38376 for ac_exec_ext in '' $ac_executable_extensions; do
38377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38378 ac_cv_prog_ac_ct_STRIP="strip"
38379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38380 break 2
38381 fi
38382 done
38383 done
38384
38385 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38386 fi
38387 fi
38388 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38389 if test -n "$ac_ct_STRIP"; then
38390 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38391 echo "${ECHO_T}$ac_ct_STRIP" >&6
38392 else
38393 echo "$as_me:$LINENO: result: no" >&5
38394 echo "${ECHO_T}no" >&6
38395 fi
38396
38397 STRIP=$ac_ct_STRIP
38398 else
38399 STRIP="$ac_cv_prog_STRIP"
38400 fi
38401
38402 if test -n "$ac_tool_prefix"; then
38403 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38404 set dummy ${ac_tool_prefix}nm; ac_word=$2
38405 echo "$as_me:$LINENO: checking for $ac_word" >&5
38406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38407 if test "${ac_cv_prog_NM+set}" = set; then
38408 echo $ECHO_N "(cached) $ECHO_C" >&6
38409 else
38410 if test -n "$NM"; then
38411 ac_cv_prog_NM="$NM" # Let the user override the test.
38412 else
38413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38414 for as_dir in $PATH
38415 do
38416 IFS=$as_save_IFS
38417 test -z "$as_dir" && as_dir=.
38418 for ac_exec_ext in '' $ac_executable_extensions; do
38419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38420 ac_cv_prog_NM="${ac_tool_prefix}nm"
38421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38422 break 2
38423 fi
38424 done
38425 done
38426
38427 fi
38428 fi
38429 NM=$ac_cv_prog_NM
38430 if test -n "$NM"; then
38431 echo "$as_me:$LINENO: result: $NM" >&5
38432 echo "${ECHO_T}$NM" >&6
38433 else
38434 echo "$as_me:$LINENO: result: no" >&5
38435 echo "${ECHO_T}no" >&6
38436 fi
38437
38438 fi
38439 if test -z "$ac_cv_prog_NM"; then
38440 ac_ct_NM=$NM
38441 # Extract the first word of "nm", so it can be a program name with args.
38442 set dummy nm; ac_word=$2
38443 echo "$as_me:$LINENO: checking for $ac_word" >&5
38444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38445 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38448 if test -n "$ac_ct_NM"; then
38449 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38450 else
38451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38452 for as_dir in $PATH
38453 do
38454 IFS=$as_save_IFS
38455 test -z "$as_dir" && as_dir=.
38456 for ac_exec_ext in '' $ac_executable_extensions; do
38457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38458 ac_cv_prog_ac_ct_NM="nm"
38459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38460 break 2
38461 fi
38462 done
38463 done
38464
38465 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38466 fi
38467 fi
38468 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38469 if test -n "$ac_ct_NM"; then
38470 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38471 echo "${ECHO_T}$ac_ct_NM" >&6
38472 else
38473 echo "$as_me:$LINENO: result: no" >&5
38474 echo "${ECHO_T}no" >&6
38475 fi
38476
38477 NM=$ac_ct_NM
38478 else
38479 NM="$ac_cv_prog_NM"
38480 fi
38481
38482
38483 case ${BAKEFILE_HOST} in
38484 *-hp-hpux* )
38485 INSTALL_DIR="mkdir"
38486 ;;
38487 *) INSTALL_DIR="$INSTALL -d"
38488 ;;
38489 esac
38490
38491
38492 LDFLAGS_GUI=
38493 case ${BAKEFILE_HOST} in
38494 *-*-cygwin* | *-*-mingw32* )
38495 LDFLAGS_GUI="-mwindows"
38496 esac
38497
38498
38499 fi
38500
38501 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38502 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38503 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38504 echo $ECHO_N "(cached) $ECHO_C" >&6
38505 else
38506
38507 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38508 egrep -s GNU > /dev/null); then
38509 bakefile_cv_prog_makeisgnu="yes"
38510 else
38511 bakefile_cv_prog_makeisgnu="no"
38512 fi
38513
38514 fi
38515 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38516 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38517
38518 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38519 IF_GNU_MAKE=""
38520 else
38521 IF_GNU_MAKE="#"
38522 fi
38523
38524
38525
38526 PLATFORM_UNIX=0
38527 PLATFORM_WIN32=0
38528 PLATFORM_MSDOS=0
38529 PLATFORM_MAC=0
38530 PLATFORM_MACOSX=0
38531 PLATFORM_OS2=0
38532
38533 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38534 case "${BAKEFILE_HOST}" in
38535 *-*-cygwin* | *-*-mingw32* )
38536 PLATFORM_WIN32=1
38537 ;;
38538 *-pc-msdosdjgpp )
38539 PLATFORM_MSDOS=1
38540 ;;
38541 *-pc-os2_emx | *-pc-os2-emx )
38542 PLATFORM_OS2=1
38543 ;;
38544 powerpc-*-darwin* )
38545 PLATFORM_MAC=1
38546 PLATFORM_MACOSX=1
38547 ;;
38548 * )
38549 PLATFORM_UNIX=1
38550 ;;
38551 esac
38552 else
38553 case "$BAKEFILE_FORCE_PLATFORM" in
38554 win32 )
38555 PLATFORM_WIN32=1
38556 ;;
38557 msdos )
38558 PLATFORM_MSDOS=1
38559 ;;
38560 os2 )
38561 PLATFORM_OS2=1
38562 ;;
38563 darwin )
38564 PLATFORM_MAC=1
38565 PLATFORM_MACOSX=1
38566 ;;
38567 unix )
38568 PLATFORM_UNIX=1
38569 ;;
38570 * )
38571 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38572 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38573 { (exit 1); exit 1; }; }
38574 ;;
38575 esac
38576 fi
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586 # Check whether --enable-omf or --disable-omf was given.
38587 if test "${enable_omf+set}" = set; then
38588 enableval="$enable_omf"
38589 bk_os2_use_omf="$enableval"
38590 fi;
38591
38592 case "${BAKEFILE_HOST}" in
38593 *-*-darwin* )
38594 CFLAGS="$CFLAGS -fno-common"
38595 CXXFLAGS="$CXXFLAGS -fno-common"
38596 ;;
38597
38598 *-pc-os2_emx | *-pc-os2-emx )
38599 if test "x$bk_os2_use_omf" = "xyes" ; then
38600 AR=emxomfar
38601 RANLIB=:
38602 LDFLAGS="-Zomf $LDFLAGS"
38603 CFLAGS="-Zomf $CFLAGS"
38604 CXXFLAGS="-Zomf $CXXFLAGS"
38605 OS2_LIBEXT="lib"
38606 else
38607 OS2_LIBEXT="a"
38608 fi
38609 ;;
38610 esac
38611
38612
38613 SO_SUFFIX="so"
38614 SO_SUFFIX_MODULE="so"
38615 EXEEXT=""
38616 LIBPREFIX="lib"
38617 LIBEXT=".a"
38618 DLLPREFIX="lib"
38619 DLLPREFIX_MODULE=""
38620 DLLIMP_SUFFIX=""
38621
38622 case "${BAKEFILE_HOST}" in
38623 *-hp-hpux* )
38624 SO_SUFFIX="sl"
38625 SO_SUFFIX_MODULE="sl"
38626 ;;
38627 *-*-aix* )
38628 SO_SUFFIX="a"
38629 SO_SUFFIX_MODULE="a"
38630 ;;
38631 *-*-cygwin* | *-*-mingw32* )
38632 SO_SUFFIX="dll"
38633 SO_SUFFIX_MODULE="dll"
38634 DLLIMP_SUFFIX="dll.a"
38635 EXEEXT=".exe"
38636 DLLPREFIX=""
38637 ;;
38638 *-pc-msdosdjgpp )
38639 EXEEXT=".exe"
38640 DLLPREFIX=""
38641 ;;
38642 *-pc-os2_emx | *-pc-os2-emx )
38643 SO_SUFFIX="dll"
38644 SO_SUFFIX_MODULE="dll"
38645 DLLIMP_SUFFIX=$OS2_LIBEXT
38646 EXEEXT=".exe"
38647 DLLPREFIX=""
38648 LIBPREFIX=""
38649 LIBEXT=".$OS2_LIBEXT"
38650 ;;
38651 powerpc-*-darwin* )
38652 SO_SUFFIX="dylib"
38653 SO_SUFFIX_MODULE="bundle"
38654 ;;
38655 esac
38656
38657 if test "x$DLLIMP_SUFFIX" = "x" ; then
38658 DLLIMP_SUFFIX="$SO_SUFFIX"
38659 fi
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671 SHARED_LD_CC="\$(CC) -shared -o"
38672 SHARED_LD_CXX="\$(CXX) -shared -o"
38673
38674 if test "x$GCC" = "xyes"; then
38675 PIC_FLAG="-fPIC"
38676 fi
38677
38678 case "${BAKEFILE_HOST}" in
38679 *-hp-hpux* )
38680 if test "x$GCC" = "xyes"; then
38681 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38682 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38683 else
38684 LDFLAGS="$LDFLAGS -L/usr/lib"
38685
38686 SHARED_LD_CC="${CC} -b -o"
38687 SHARED_LD_CXX="${CXX} -b -o"
38688 PIC_FLAG="+Z"
38689 fi
38690 ;;
38691
38692 *-*-linux* )
38693 if test "x$GCC" != "xyes"; then
38694 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38695 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38696 if test "${bakefile_cv_prog_icc+set}" = set; then
38697 echo $ECHO_N "(cached) $ECHO_C" >&6
38698 else
38699
38700 cat >conftest.$ac_ext <<_ACEOF
38701 /* confdefs.h. */
38702 _ACEOF
38703 cat confdefs.h >>conftest.$ac_ext
38704 cat >>conftest.$ac_ext <<_ACEOF
38705 /* end confdefs.h. */
38706
38707 int
38708 main ()
38709 {
38710
38711 #ifndef __INTEL_COMPILER
38712 #error Not icc
38713 #endif
38714
38715 ;
38716 return 0;
38717 }
38718 _ACEOF
38719 rm -f conftest.$ac_objext
38720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38721 (eval $ac_compile) 2>conftest.er1
38722 ac_status=$?
38723 grep -v '^ *+' conftest.er1 >conftest.err
38724 rm -f conftest.er1
38725 cat conftest.err >&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); } &&
38728 { ac_try='test -z "$ac_c_werror_flag"
38729 || test ! -s conftest.err'
38730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38731 (eval $ac_try) 2>&5
38732 ac_status=$?
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); }; } &&
38735 { ac_try='test -s conftest.$ac_objext'
38736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737 (eval $ac_try) 2>&5
38738 ac_status=$?
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); }; }; then
38741 bakefile_cv_prog_icc=yes
38742 else
38743 echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38745
38746 bakefile_cv_prog_icc=no
38747
38748 fi
38749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38750
38751 fi
38752 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38753 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38754 if test "$bakefile_cv_prog_icc" = "yes"; then
38755 PIC_FLAG="-KPIC"
38756 fi
38757 fi
38758 ;;
38759
38760 *-*-solaris2* )
38761 if test "x$GCC" != xyes ; then
38762 SHARED_LD_CC="${CC} -G -o"
38763 SHARED_LD_CXX="${CXX} -G -o"
38764 PIC_FLAG="-KPIC"
38765 fi
38766 ;;
38767
38768 *-*-darwin* )
38769
38770 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38771 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38772 if test "${wx_cv_gcc31+set}" = set; then
38773 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 else
38775
38776 cat >conftest.$ac_ext <<_ACEOF
38777 /* confdefs.h. */
38778 _ACEOF
38779 cat confdefs.h >>conftest.$ac_ext
38780 cat >>conftest.$ac_ext <<_ACEOF
38781 /* end confdefs.h. */
38782
38783 int
38784 main ()
38785 {
38786
38787 #if (__GNUC__ < 3) || \
38788 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38789 #error old gcc
38790 #endif
38791
38792 ;
38793 return 0;
38794 }
38795 _ACEOF
38796 rm -f conftest.$ac_objext
38797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38798 (eval $ac_compile) 2>conftest.er1
38799 ac_status=$?
38800 grep -v '^ *+' conftest.er1 >conftest.err
38801 rm -f conftest.er1
38802 cat conftest.err >&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } &&
38805 { ac_try='test -z "$ac_c_werror_flag"
38806 || test ! -s conftest.err'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38809 ac_status=$?
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; } &&
38812 { ac_try='test -s conftest.$ac_objext'
38813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814 (eval $ac_try) 2>&5
38815 ac_status=$?
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); }; }; then
38818
38819 wx_cv_gcc31=yes
38820
38821 else
38822 echo "$as_me: failed program was:" >&5
38823 sed 's/^/| /' conftest.$ac_ext >&5
38824
38825
38826 wx_cv_gcc31=no
38827
38828
38829 fi
38830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38831
38832 fi
38833 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38834 echo "${ECHO_T}$wx_cv_gcc31" >&6
38835 if test "$wx_cv_gcc31" = "no"; then
38836
38837 D='$'
38838 cat <<EOF >shared-ld-sh
38839 #!/bin/sh
38840 #-----------------------------------------------------------------------------
38841 #-- Name: distrib/mac/shared-ld-sh
38842 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38843 #-- Author: Gilles Depeyrot
38844 #-- Copyright: (c) 2002 Gilles Depeyrot
38845 #-- Licence: any use permitted
38846 #-----------------------------------------------------------------------------
38847
38848 verbose=0
38849 args=""
38850 objects=""
38851 linking_flag="-dynamiclib"
38852
38853 while test ${D}# -gt 0; do
38854 case ${D}1 in
38855
38856 -v)
38857 verbose=1
38858 ;;
38859
38860 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38861 # collect these options and values
38862 args="${D}{args} ${D}1 ${D}2"
38863 shift
38864 ;;
38865
38866 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38867 # collect these options
38868 args="${D}{args} ${D}1"
38869 ;;
38870
38871 -dynamiclib|-bundle)
38872 linking_flag="${D}1"
38873 ;;
38874
38875 -*)
38876 echo "shared-ld: unhandled option '${D}1'"
38877 exit 1
38878 ;;
38879
38880 *.o | *.a | *.dylib)
38881 # collect object files
38882 objects="${D}{objects} ${D}1"
38883 ;;
38884
38885 *)
38886 echo "shared-ld: unhandled argument '${D}1'"
38887 exit 1
38888 ;;
38889
38890 esac
38891 shift
38892 done
38893
38894 #
38895 # Link one module containing all the others
38896 #
38897 if test ${D}{verbose} = 1; then
38898 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38899 fi
38900 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38901 status=${D}?
38902 if test ${D}{status} != 0; then
38903 exit ${D}{status}
38904 fi
38905
38906 #
38907 # Link the shared library from the single module created
38908 #
38909 if test ${D}{verbose} = 1; then
38910 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38911 fi
38912 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38913 status=${D}?
38914 if test ${D}{status} != 0; then
38915 exit ${D}{status}
38916 fi
38917
38918 #
38919 # Remove intermediate module
38920 #
38921 rm -f master.${D}${D}.o
38922
38923 exit 0
38924 EOF
38925
38926 chmod +x shared-ld-sh
38927
38928 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38929 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38930 SHARED_LD_CXX="$SHARED_LD_CC"
38931 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38932 else
38933 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38934 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38935 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38936 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38937 fi
38938
38939 PIC_FLAG="-dynamic -fPIC"
38940 ;;
38941
38942 *-*-aix* )
38943 if test "x$GCC" != "xyes"; then
38944 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38945 set dummy makeC++SharedLib; ac_word=$2
38946 echo "$as_me:$LINENO: checking for $ac_word" >&5
38947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38948 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38951 if test -n "$AIX_CXX_LD"; then
38952 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38953 else
38954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38955 for as_dir in $PATH
38956 do
38957 IFS=$as_save_IFS
38958 test -z "$as_dir" && as_dir=.
38959 for ac_exec_ext in '' $ac_executable_extensions; do
38960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38961 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38963 break 2
38964 fi
38965 done
38966 done
38967
38968 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38969 fi
38970 fi
38971 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38972 if test -n "$AIX_CXX_LD"; then
38973 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38974 echo "${ECHO_T}$AIX_CXX_LD" >&6
38975 else
38976 echo "$as_me:$LINENO: result: no" >&5
38977 echo "${ECHO_T}no" >&6
38978 fi
38979
38980 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38981 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38982 fi
38983 ;;
38984
38985 *-*-beos* )
38986 SHARED_LD_CC="${LD} -shared -o"
38987 SHARED_LD_CXX="${LD} -shared -o"
38988 ;;
38989
38990 *-*-irix* )
38991 if test "x$GCC" != "xyes"; then
38992 PIC_FLAG="-KPIC"
38993 fi
38994 ;;
38995
38996 *-*-cygwin* | *-*-mingw32* )
38997 PIC_FLAG=""
38998 ;;
38999
39000 *-pc-os2_emx | *-pc-os2-emx )
39001 SHARED_LD_CC="`pwd`/dllar.sh -o"
39002 SHARED_LD_CXX="`pwd`/dllar.sh -o"
39003 PIC_FLAG=""
39004
39005 D='$'
39006 cat <<EOF >dllar.sh
39007 #!/bin/sh
39008 #
39009 # dllar - a tool to build both a .dll and an .a file
39010 # from a set of object (.o) files for EMX/OS2.
39011 #
39012 # Written by Andrew Zabolotny, bit@freya.etu.ru
39013 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39014 #
39015 # This script will accept a set of files on the command line.
39016 # All the public symbols from the .o files will be exported into
39017 # a .DEF file, then linker will be run (through gcc) against them to
39018 # build a shared library consisting of all given .o files. All libraries
39019 # (.a) will be first decompressed into component .o files then act as
39020 # described above. You can optionally give a description (-d "description")
39021 # which will be put into .DLL. To see the list of accepted options (as well
39022 # as command-line format) simply run this program without options. The .DLL
39023 # is built to be imported by name (there is no guarantee that new versions
39024 # of the library you build will have same ordinals for same symbols).
39025 #
39026 # dllar is free software; you can redistribute it and/or modify
39027 # it under the terms of the GNU General Public License as published by
39028 # the Free Software Foundation; either version 2, or (at your option)
39029 # any later version.
39030 #
39031 # dllar is distributed in the hope that it will be useful,
39032 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39033 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39034 # GNU General Public License for more details.
39035 #
39036 # You should have received a copy of the GNU General Public License
39037 # along with dllar; see the file COPYING. If not, write to the Free
39038 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39039 # 02111-1307, USA.
39040
39041 # To successfuly run this program you will need:
39042 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39043 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39044 # - gcc
39045 # (used to build the .dll)
39046 # - emxexp
39047 # (used to create .def file from .o files)
39048 # - emximp
39049 # (used to create .a file from .def file)
39050 # - GNU text utilites (cat, sort, uniq)
39051 # used to process emxexp output
39052 # - GNU file utilities (mv, rm)
39053 # - GNU sed
39054 # - lxlite (optional, see flag below)
39055 # (used for general .dll cleanup)
39056 #
39057
39058 flag_USE_LXLITE=1;
39059
39060 #
39061 # helper functions
39062 # basnam, variant of basename, which does _not_ remove the path, _iff_
39063 # second argument (suffix to remove) is given
39064 basnam(){
39065 case ${D}# in
39066 1)
39067 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
39068 ;;
39069 2)
39070 echo ${D}1 | sed 's/'${D}2'${D}//'
39071 ;;
39072 *)
39073 echo "error in basnam ${D}*"
39074 exit 8
39075 ;;
39076 esac
39077 }
39078
39079 # Cleanup temporary files and output
39080 CleanUp() {
39081 cd ${D}curDir
39082 for i in ${D}inputFiles ; do
39083 case ${D}i in
39084 *!)
39085 rm -rf \`basnam ${D}i !\`
39086 ;;
39087 *)
39088 ;;
39089 esac
39090 done
39091
39092 # Kill result in case of failure as there is just to many stupid make/nmake
39093 # things out there which doesn't do this.
39094 if ${D}# -eq 0 ; then
39095 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39096 fi
39097 }
39098
39099 # Print usage and exit script with rc=1.
39100 PrintHelp() {
39101 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
39102 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
39103 echo ' -ord[inals] -exclude "symbol(s)"'
39104 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
39105 echo ' *.o *.a'
39106 echo '*> "output_file" should have no extension.'
39107 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39108 echo ' The import library name is derived from this and is set to "name".a,'
39109 echo ' unless overridden by -import'
39110 echo '*> "importlib_name" should have no extension.'
39111 echo ' If it has the .o, or .a extension, it is automatically removed.'
39112 echo ' This name is used as the import library name and may be longer and'
39113 echo ' more descriptive than the DLL name which has to follow the old '
39114 echo ' 8.3 convention of FAT.'
39115 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39116 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39117 echo ' These flags will be put at the start of GCC command line.'
39118 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
39119 echo '*> -exclude defines symbols which will not be exported. You can define'
39120 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39121 echo ' If the last character of a symbol is "*", all symbols beginning'
39122 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39123 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
39124 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39125 echo '*> -nocrtdll switch will disable linking the library against emx''s'
39126 echo ' C runtime DLLs.'
39127 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
39128 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39129 echo ' unchanged to GCC at the end of command line.'
39130 echo '*> If you create a DLL from a library and you do not specify -o,'
39131 echo ' the basename for DLL and import library will be set to library name,'
39132 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39133 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39134 echo ' library will be renamed into gcc_s.a.'
39135 echo '--------'
39136 echo 'Example:'
39137 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39138 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39139 CleanUp
39140 exit 1
39141 }
39142
39143 # Execute a command.
39144 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39145 # @Uses Whatever CleanUp() uses.
39146 doCommand() {
39147 echo "${D}*"
39148 eval ${D}*
39149 rcCmd=${D}?
39150
39151 if ${D}rcCmd -ne 0 ; then
39152 echo "command failed, exit code="${D}rcCmd
39153 CleanUp
39154 exit ${D}rcCmd
39155 fi
39156 }
39157
39158 # main routine
39159 # setup globals
39160 cmdLine=${D}*
39161 outFile=""
39162 outimpFile=""
39163 inputFiles=""
39164 description=""
39165 CC=gcc.exe
39166 CFLAGS="-s -Zcrtdll"
39167 EXTRA_CFLAGS=""
39168 EXPORT_BY_ORDINALS=0
39169 exclude_symbols=""
39170 library_flags=""
39171 curDir=\`pwd\`
39172 curDirS=curDir
39173 case ${D}curDirS in
39174 */)
39175 ;;
39176 *)
39177 curDirS=${D}{curDirS}"/"
39178 ;;
39179 esac
39180 # Parse commandline
39181 libsToLink=0
39182 while ${D}1 ; do
39183 case ${D}1 in
39184 -ord*)
39185 EXPORT_BY_ORDINALS=1;
39186 ;;
39187 -o*)
39188 shift
39189 outFile=${D}1
39190 ;;
39191 -i*)
39192 shift
39193 outimpFile=${D}1
39194 ;;
39195 -d*)
39196 shift
39197 description=${D}1
39198 ;;
39199 -f*)
39200 shift
39201 CFLAGS=${D}1
39202 ;;
39203 -c*)
39204 shift
39205 CC=${D}1
39206 ;;
39207 -h*)
39208 PrintHelp
39209 ;;
39210 -ex*)
39211 shift
39212 exclude_symbols=${D}{exclude_symbols}${D}1" "
39213 ;;
39214 -libf*)
39215 shift
39216 library_flags=${D}{library_flags}${D}1" "
39217 ;;
39218 -nocrt*)
39219 CFLAGS="-s"
39220 ;;
39221 -nolxl*)
39222 flag_USE_LXLITE=0
39223 ;;
39224 -* | /*)
39225 case ${D}1 in
39226 -L* | -l*)
39227 libsToLink=1
39228 ;;
39229 *)
39230 ;;
39231 esac
39232 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39233 ;;
39234 *)
39235 found=0;
39236 if ${D}libsToLink -ne 0 ; then
39237 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39238 else
39239 for file in ${D}1 ; do
39240 if -f ${D}file ; then
39241 inputFiles="${D}{inputFiles} ${D}file"
39242 found=1
39243 fi
39244 done
39245 if ${D}found -eq 0 ; then
39246 echo "ERROR: No file(s) found: "${D}1
39247 exit 8
39248 fi
39249 fi
39250 ;;
39251 esac
39252 shift
39253 done # iterate cmdline words
39254
39255 #
39256 if -z "${D}inputFiles" ; then
39257 echo "dllar: no input files"
39258 PrintHelp
39259 fi
39260
39261 # Now extract all .o files from .a files
39262 newInputFiles=""
39263 for file in ${D}inputFiles ; do
39264 case ${D}file in
39265 *.a | *.lib)
39266 case ${D}file in
39267 *.a)
39268 suffix=".a"
39269 AR="ar"
39270 ;;
39271 *.lib)
39272 suffix=".lib"
39273 AR="emxomfar"
39274 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39275 ;;
39276 *)
39277 ;;
39278 esac
39279 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39280 mkdir ${D}dirname
39281 if ${D}? -ne 0 ; then
39282 echo "Failed to create subdirectory ./${D}dirname"
39283 CleanUp
39284 exit 8;
39285 fi
39286 # Append '!' to indicate archive
39287 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39288 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39289 cd ${D}curDir
39290 found=0;
39291 for subfile in ${D}dirname/*.o* ; do
39292 if -f ${D}subfile ; then
39293 found=1
39294 if -s ${D}subfile ; then
39295 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39296 newInputFiles="${D}newInputFiles ${D}subfile"
39297 fi
39298 fi
39299 done
39300 if ${D}found -eq 0 ; then
39301 echo "WARNING: there are no files in archive \'${D}file\'"
39302 fi
39303 ;;
39304 *)
39305 newInputFiles="${D}{newInputFiles} ${D}file"
39306 ;;
39307 esac
39308 done
39309 inputFiles="${D}newInputFiles"
39310
39311 # Output filename(s).
39312 do_backup=0;
39313 if -z ${D}outFile ; then
39314 do_backup=1;
39315 set outFile ${D}inputFiles; outFile=${D}2
39316 fi
39317
39318 # If it is an archive, remove the '!' and the '_%' suffixes
39319 case ${D}outFile in
39320 *_%!)
39321 outFile=\`basnam ${D}outFile _%!\`
39322 ;;
39323 *)
39324 ;;
39325 esac
39326 case ${D}outFile in
39327 *.dll)
39328 outFile=\`basnam ${D}outFile .dll\`
39329 ;;
39330 *.DLL)
39331 outFile=\`basnam ${D}outFile .DLL\`
39332 ;;
39333 *.o)
39334 outFile=\`basnam ${D}outFile .o\`
39335 ;;
39336 *.obj)
39337 outFile=\`basnam ${D}outFile .obj\`
39338 ;;
39339 *.a)
39340 outFile=\`basnam ${D}outFile .a\`
39341 ;;
39342 *.lib)
39343 outFile=\`basnam ${D}outFile .lib\`
39344 ;;
39345 *)
39346 ;;
39347 esac
39348 case ${D}outimpFile in
39349 *.a)
39350 outimpFile=\`basnam ${D}outimpFile .a\`
39351 ;;
39352 *.lib)
39353 outimpFile=\`basnam ${D}outimpFile .lib\`
39354 ;;
39355 *)
39356 ;;
39357 esac
39358 if -z ${D}outimpFile ; then
39359 outimpFile=${D}outFile
39360 fi
39361 defFile="${D}{outFile}.def"
39362 arcFile="${D}{outimpFile}.a"
39363 arcFile2="${D}{outimpFile}.lib"
39364 dllFile="${D}outFile"
39365 # Add suffix to dllFile later, first we need a version to use as
39366 # name in .def file.
39367
39368 if ${D}do_backup -ne 0 ; then
39369 if -f ${D}arcFile ; then
39370 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39371 fi
39372 if -f ${D}arcFile2 ; then
39373 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39374 fi
39375 fi
39376
39377 # Extract public symbols from all the object files.
39378 tmpdefFile=${D}{defFile}_%
39379 rm -f ${D}tmpdefFile
39380 for file in ${D}inputFiles ; do
39381 case ${D}file in
39382 *!)
39383 ;;
39384 *)
39385 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39386 ;;
39387 esac
39388 done
39389
39390 # Create the def file.
39391 rm -f ${D}defFile
39392 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39393 dllFile="${D}dllFile.dll"
39394 if -n ${D}description ; then
39395 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39396 fi
39397 echo "EXPORTS" >> ${D}defFile
39398
39399 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39400 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39401
39402 # Checks if the export is ok or not.
39403 for word in ${D}exclude_symbols; do
39404 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39405 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39406 done
39407
39408
39409 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39410 sed "=" < ${D}tmpdefFile | \
39411 sed '
39412 N
39413 : loop
39414 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
39415 t loop
39416 ' > ${D}{tmpdefFile}%
39417 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39418 else
39419 rm -f ${D}{tmpdefFile}%
39420 fi
39421 cat ${D}tmpdefFile >> ${D}defFile
39422 rm -f ${D}tmpdefFile
39423
39424 # Do linking, create implib, and apply lxlite.
39425 gccCmdl="";
39426 for file in ${D}inputFiles ; do
39427 case ${D}file in
39428 *!)
39429 ;;
39430 *)
39431 gccCmdl="${D}gccCmdl ${D}file"
39432 ;;
39433 esac
39434 done
39435 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39436 touch "${D}{outFile}.dll"
39437
39438 doCommand "emximp -o ${D}arcFile ${D}defFile"
39439 if ${D}flag_USE_LXLITE -ne 0 ; then
39440 add_flags="";
39441 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39442 add_flags="-ynd"
39443 fi
39444 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39445 fi
39446 doCommand "emxomf -s -l ${D}arcFile"
39447
39448 # Successful exit.
39449 CleanUp 1
39450 exit 0
39451 EOF
39452
39453 chmod +x dllar.sh
39454 ;;
39455
39456 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39457 *-*-sunos4* | \
39458 *-*-osf* | \
39459 *-*-dgux5* | \
39460 *-*-sysv5* )
39461 ;;
39462
39463 *)
39464 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39465 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39466 { (exit 1); exit 1; }; }
39467 esac
39468
39469 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39470 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39471 fi
39472 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39473 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39474 fi
39475
39476
39477
39478
39479
39480
39481
39482
39483 USE_SOVERSION=0
39484 USE_SOVERLINUX=0
39485 USE_SOVERSOLARIS=0
39486 USE_SOSYMLINKS=0
39487 USE_MACVERSION=0
39488 SONAME_FLAG=
39489
39490 case "${BAKEFILE_HOST}" in
39491 *-*-linux* )
39492 SONAME_FLAG="-Wl,-soname,"
39493 USE_SOVERSION=1
39494 USE_SOVERLINUX=1
39495 USE_SOSYMLINKS=1
39496 ;;
39497
39498 *-*-solaris2* )
39499 SONAME_FLAG="-h "
39500 USE_SOVERSION=1
39501 USE_SOVERSOLARIS=1
39502 USE_SOSYMLINKS=1
39503 ;;
39504
39505 *-*-darwin* )
39506 USE_MACVERSION=1
39507 USE_SOVERSION=1
39508 USE_SOSYMLINKS=1
39509 ;;
39510 esac
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39521 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39522 DEPS_TRACKING=0
39523
39524 if test "x$GCC" = "xyes"; then
39525 DEPSMODE=gcc
39526 DEPS_TRACKING=1
39527 case "${BAKEFILE_HOST}" in
39528 powerpc-*-darwin* )
39529 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39530 ;;
39531 * )
39532 DEPSFLAG_GCC="-MMD"
39533 ;;
39534 esac
39535 echo "$as_me:$LINENO: result: gcc" >&5
39536 echo "${ECHO_T}gcc" >&6
39537 else
39538 echo "$as_me:$LINENO: result: none" >&5
39539 echo "${ECHO_T}none" >&6
39540 fi
39541
39542 if test $DEPS_TRACKING = 1 ; then
39543
39544 D='$'
39545 cat <<EOF >bk-deps
39546 #!/bin/sh
39547
39548 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39549 # script. It is used to track C/C++ files dependencies in portable way.
39550 #
39551 # Permission is given to use this file in any way.
39552
39553 DEPSMODE=${DEPSMODE}
39554 DEPSDIR=.deps
39555 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39556
39557 mkdir -p ${D}DEPSDIR
39558
39559 if test ${D}DEPSMODE = gcc ; then
39560 ${D}* ${D}{DEPSFLAG_GCC}
39561 status=${D}?
39562 if test ${D}{status} != 0 ; then
39563 exit ${D}{status}
39564 fi
39565 # move created file to the location we want it in:
39566 while test ${D}# -gt 0; do
39567 case "${D}1" in
39568 -o )
39569 shift
39570 objfile=${D}1
39571 ;;
39572 -* )
39573 ;;
39574 * )
39575 srcfile=${D}1
39576 ;;
39577 esac
39578 shift
39579 done
39580 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39581 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39582 if test -f ${D}depfile ; then
39583 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39584 rm -f ${D}depfile
39585 else
39586 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39587 if test -f ${D}depfile ; then
39588 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39589 rm -f ${D}depfile
39590 fi
39591 fi
39592 exit 0
39593 else
39594 ${D}*
39595 exit ${D}?
39596 fi
39597 EOF
39598
39599 chmod +x bk-deps
39600 fi
39601
39602
39603
39604
39605 RESCOMP=
39606 SETFILE=
39607
39608 case ${BAKEFILE_HOST} in
39609 *-*-cygwin* | *-*-mingw32* )
39610 if test "$build" != "$host" ; then
39611 RESCOMP=$host_alias-windres
39612 else
39613 # Extract the first word of "windres", so it can be a program name with args.
39614 set dummy windres; ac_word=$2
39615 echo "$as_me:$LINENO: checking for $ac_word" >&5
39616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39617 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39618 echo $ECHO_N "(cached) $ECHO_C" >&6
39619 else
39620 if test -n "$RESCOMP"; then
39621 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39622 else
39623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39624 for as_dir in $PATH
39625 do
39626 IFS=$as_save_IFS
39627 test -z "$as_dir" && as_dir=.
39628 for ac_exec_ext in '' $ac_executable_extensions; do
39629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39630 ac_cv_prog_RESCOMP="windres"
39631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39632 break 2
39633 fi
39634 done
39635 done
39636
39637 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39638 fi
39639 fi
39640 RESCOMP=$ac_cv_prog_RESCOMP
39641 if test -n "$RESCOMP"; then
39642 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39643 echo "${ECHO_T}$RESCOMP" >&6
39644 else
39645 echo "$as_me:$LINENO: result: no" >&5
39646 echo "${ECHO_T}no" >&6
39647 fi
39648
39649 fi
39650 ;;
39651
39652 *-*-darwin* )
39653 # Extract the first word of "Rez", so it can be a program name with args.
39654 set dummy Rez; ac_word=$2
39655 echo "$as_me:$LINENO: checking for $ac_word" >&5
39656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39657 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39658 echo $ECHO_N "(cached) $ECHO_C" >&6
39659 else
39660 if test -n "$RESCOMP"; then
39661 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39662 else
39663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39664 for as_dir in $PATH
39665 do
39666 IFS=$as_save_IFS
39667 test -z "$as_dir" && as_dir=.
39668 for ac_exec_ext in '' $ac_executable_extensions; do
39669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39670 ac_cv_prog_RESCOMP="Rez"
39671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39672 break 2
39673 fi
39674 done
39675 done
39676
39677 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39678 fi
39679 fi
39680 RESCOMP=$ac_cv_prog_RESCOMP
39681 if test -n "$RESCOMP"; then
39682 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39683 echo "${ECHO_T}$RESCOMP" >&6
39684 else
39685 echo "$as_me:$LINENO: result: no" >&5
39686 echo "${ECHO_T}no" >&6
39687 fi
39688
39689 # Extract the first word of "SetFile", so it can be a program name with args.
39690 set dummy SetFile; ac_word=$2
39691 echo "$as_me:$LINENO: checking for $ac_word" >&5
39692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39693 if test "${ac_cv_prog_SETFILE+set}" = set; then
39694 echo $ECHO_N "(cached) $ECHO_C" >&6
39695 else
39696 if test -n "$SETFILE"; then
39697 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39698 else
39699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39700 for as_dir in $PATH
39701 do
39702 IFS=$as_save_IFS
39703 test -z "$as_dir" && as_dir=.
39704 for ac_exec_ext in '' $ac_executable_extensions; do
39705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39706 ac_cv_prog_SETFILE="SetFile"
39707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39708 break 2
39709 fi
39710 done
39711 done
39712
39713 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39714 fi
39715 fi
39716 SETFILE=$ac_cv_prog_SETFILE
39717 if test -n "$SETFILE"; then
39718 echo "$as_me:$LINENO: result: $SETFILE" >&5
39719 echo "${ECHO_T}$SETFILE" >&6
39720 else
39721 echo "$as_me:$LINENO: result: no" >&5
39722 echo "${ECHO_T}no" >&6
39723 fi
39724
39725 ;;
39726 esac
39727
39728
39729
39730
39731
39732
39733
39734
39735 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39736 if test "${enable_precomp_headers+set}" = set; then
39737 enableval="$enable_precomp_headers"
39738 bk_use_pch="$enableval"
39739 fi;
39740
39741 GCC_PCH=0
39742
39743 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39744 if test "x$GCC" = "xyes"; then
39745 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39746 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39747 cat >conftest.$ac_ext <<_ACEOF
39748 /* confdefs.h. */
39749 _ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39753
39754 int
39755 main ()
39756 {
39757
39758 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39759 #error "no pch support"
39760 #endif
39761 #if (__GNUC__ < 3)
39762 #error "no pch support"
39763 #endif
39764 #if (__GNUC__ == 3) && \
39765 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39766 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39767 #error "no pch support"
39768 #endif
39769
39770 ;
39771 return 0;
39772 }
39773 _ACEOF
39774 rm -f conftest.$ac_objext
39775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39776 (eval $ac_compile) 2>conftest.er1
39777 ac_status=$?
39778 grep -v '^ *+' conftest.er1 >conftest.err
39779 rm -f conftest.er1
39780 cat conftest.err >&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); } &&
39783 { ac_try='test -z "$ac_c_werror_flag"
39784 || test ! -s conftest.err'
39785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39786 (eval $ac_try) 2>&5
39787 ac_status=$?
39788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39789 (exit $ac_status); }; } &&
39790 { ac_try='test -s conftest.$ac_objext'
39791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39792 (eval $ac_try) 2>&5
39793 ac_status=$?
39794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39795 (exit $ac_status); }; }; then
39796
39797 echo "$as_me:$LINENO: result: yes" >&5
39798 echo "${ECHO_T}yes" >&6
39799 CPPFLAGS="-fpch-deps $CPPFLAGS"
39800 GCC_PCH=1
39801
39802 else
39803 echo "$as_me: failed program was:" >&5
39804 sed 's/^/| /' conftest.$ac_ext >&5
39805
39806
39807 echo "$as_me:$LINENO: result: no" >&5
39808 echo "${ECHO_T}no" >&6
39809
39810 fi
39811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39812 if test $GCC_PCH = 1 ; then
39813 cat <<EOF >bk-make-pch
39814 #!/bin/sh
39815
39816 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39817 # script. It is used to generated precompiled headers.
39818 #
39819 # Permission is given to use this file in any way.
39820
39821 outfile="\${1}"
39822 header="\${2}"
39823 shift
39824 shift
39825
39826 compiler=
39827 headerfile=
39828 while test \${#} -gt 0; do
39829 case "\${1}" in
39830 -I* )
39831 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39832 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39833 headerfile="\${incdir}/\${header}"
39834 fi
39835 ;;
39836 esac
39837 compiler="\${compiler} \${1}"
39838 shift
39839 done
39840
39841 if test "x\${headerfile}" = "x" ; then
39842 echo "error: can't find header \${header} in include paths" >2
39843 else
39844 if test -f \${outfile} ; then
39845 rm -f \${outfile}
39846 else
39847 mkdir -p \`dirname \${outfile}\`
39848 fi
39849 depsfile=".deps/\`basename \${outfile}\`.d"
39850 mkdir -p .deps
39851 # can do this because gcc is >= 3.4:
39852 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39853 exit \${?}
39854 fi
39855 EOF
39856 chmod +x bk-make-pch
39857 fi
39858 fi
39859 fi
39860
39861
39862
39863
39864
39865 COND_BUILD_DEBUG="#"
39866 if test "x$BUILD" = "xdebug" ; then
39867 COND_BUILD_DEBUG=""
39868 fi
39869
39870 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39871 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39872 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39873 fi
39874
39875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39876 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39877 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39878 fi
39879
39880 COND_BUILD_DEBUG_UNICODE_0="#"
39881 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39882 COND_BUILD_DEBUG_UNICODE_0=""
39883 fi
39884
39885 COND_BUILD_DEBUG_UNICODE_1="#"
39886 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39887 COND_BUILD_DEBUG_UNICODE_1=""
39888 fi
39889
39890 COND_BUILD_RELEASE="#"
39891 if test "x$BUILD" = "xrelease" ; then
39892 COND_BUILD_RELEASE=""
39893 fi
39894
39895 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39896 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39897 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39898 fi
39899
39900 COND_BUILD_RELEASE_UNICODE_0="#"
39901 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39902 COND_BUILD_RELEASE_UNICODE_0=""
39903 fi
39904
39905 COND_BUILD_RELEASE_UNICODE_1="#"
39906 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39907 COND_BUILD_RELEASE_UNICODE_1=""
39908 fi
39909
39910 COND_DEBUG_FLAG_1="#"
39911 if test "x$DEBUG_FLAG" = "x1" ; then
39912 COND_DEBUG_FLAG_1=""
39913 fi
39914
39915 COND_DEBUG_INFO_0="#"
39916 if test "x$DEBUG_INFO" = "x0" ; then
39917 COND_DEBUG_INFO_0=""
39918 fi
39919
39920 COND_DEBUG_INFO_1="#"
39921 if test "x$DEBUG_INFO" = "x1" ; then
39922 COND_DEBUG_INFO_1=""
39923 fi
39924
39925 COND_DEPS_TRACKING_0="#"
39926 if test "x$DEPS_TRACKING" = "x0" ; then
39927 COND_DEPS_TRACKING_0=""
39928 fi
39929
39930 COND_DEPS_TRACKING_1="#"
39931 if test "x$DEPS_TRACKING" = "x1" ; then
39932 COND_DEPS_TRACKING_1=""
39933 fi
39934
39935 COND_GCC_PCH_1="#"
39936 if test "x$GCC_PCH" = "x1" ; then
39937 COND_GCC_PCH_1=""
39938 fi
39939
39940 COND_MONOLITHIC_0="#"
39941 if test "x$MONOLITHIC" = "x0" ; then
39942 COND_MONOLITHIC_0=""
39943 fi
39944
39945 COND_MONOLITHIC_0_SHARED_0="#"
39946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39947 COND_MONOLITHIC_0_SHARED_0=""
39948 fi
39949
39950 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39953 fi
39954
39955 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39957 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39958 fi
39959
39960 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39962 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39963 fi
39964
39965 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39967 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39968 fi
39969
39970 COND_MONOLITHIC_0_SHARED_1="#"
39971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39972 COND_MONOLITHIC_0_SHARED_1=""
39973 fi
39974
39975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39976 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39978 fi
39979
39980 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39981 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39982 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39983 fi
39984
39985 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39986 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39987 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39988 fi
39989
39990 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39991 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39992 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39993 fi
39994
39995 COND_MONOLITHIC_0_USE_ODBC_1="#"
39996 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39997 COND_MONOLITHIC_0_USE_ODBC_1=""
39998 fi
39999
40000 COND_MONOLITHIC_1="#"
40001 if test "x$MONOLITHIC" = "x1" ; then
40002 COND_MONOLITHIC_1=""
40003 fi
40004
40005 COND_MONOLITHIC_1_SHARED_0="#"
40006 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40007 COND_MONOLITHIC_1_SHARED_0=""
40008 fi
40009
40010 COND_MONOLITHIC_1_SHARED_1="#"
40011 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40012 COND_MONOLITHIC_1_SHARED_1=""
40013 fi
40014
40015 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40016 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40017 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40018 fi
40019
40020 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40021 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40022 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40023 fi
40024
40025 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40026 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40027 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40028 fi
40029
40030 COND_PLATFORM_MACOSX_1="#"
40031 if test "x$PLATFORM_MACOSX" = "x1" ; then
40032 COND_PLATFORM_MACOSX_1=""
40033 fi
40034
40035 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40037 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40038 fi
40039
40040 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40041 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40042 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40043 fi
40044
40045 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40046 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40047 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40048 fi
40049
40050 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40052 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40053 fi
40054
40055 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40057 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40058 fi
40059
40060 COND_PLATFORM_MAC_1="#"
40061 if test "x$PLATFORM_MAC" = "x1" ; then
40062 COND_PLATFORM_MAC_1=""
40063 fi
40064
40065 COND_PLATFORM_OS2_1="#"
40066 if test "x$PLATFORM_OS2" = "x1" ; then
40067 COND_PLATFORM_OS2_1=""
40068 fi
40069
40070 COND_PLATFORM_UNIX_0="#"
40071 if test "x$PLATFORM_UNIX" = "x0" ; then
40072 COND_PLATFORM_UNIX_0=""
40073 fi
40074
40075 COND_PLATFORM_UNIX_1="#"
40076 if test "x$PLATFORM_UNIX" = "x1" ; then
40077 COND_PLATFORM_UNIX_1=""
40078 fi
40079
40080 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40081 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40082 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40083 fi
40084
40085 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40086 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40087 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40088 fi
40089
40090 COND_PLATFORM_WIN32_0="#"
40091 if test "x$PLATFORM_WIN32" = "x0" ; then
40092 COND_PLATFORM_WIN32_0=""
40093 fi
40094
40095 COND_PLATFORM_WIN32_1="#"
40096 if test "x$PLATFORM_WIN32" = "x1" ; then
40097 COND_PLATFORM_WIN32_1=""
40098 fi
40099
40100 COND_SHARED_0="#"
40101 if test "x$SHARED" = "x0" ; then
40102 COND_SHARED_0=""
40103 fi
40104
40105 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40106 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40107 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40108 fi
40109
40110 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40111 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40112 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40113 fi
40114
40115 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40116 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40117 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40118 fi
40119
40120 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40121 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40122 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40123 fi
40124
40125 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40126 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40127 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40128 fi
40129
40130 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40131 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40132 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40133 fi
40134
40135 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40136 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40137 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40138 fi
40139
40140 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40141 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40142 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40143 fi
40144
40145 COND_SHARED_1="#"
40146 if test "x$SHARED" = "x1" ; then
40147 COND_SHARED_1=""
40148 fi
40149
40150 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40151 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40152 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40153 fi
40154
40155 COND_TOOLKIT_COCOA="#"
40156 if test "x$TOOLKIT" = "xCOCOA" ; then
40157 COND_TOOLKIT_COCOA=""
40158 fi
40159
40160 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40161 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40162 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40163 fi
40164
40165 COND_TOOLKIT_GTK="#"
40166 if test "x$TOOLKIT" = "xGTK" ; then
40167 COND_TOOLKIT_GTK=""
40168 fi
40169
40170 COND_TOOLKIT_GTK_USE_GUI_1="#"
40171 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40172 COND_TOOLKIT_GTK_USE_GUI_1=""
40173 fi
40174
40175 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40176 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40177 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40178 fi
40179
40180 COND_TOOLKIT_MAC="#"
40181 if test "x$TOOLKIT" = "xMAC" ; then
40182 COND_TOOLKIT_MAC=""
40183 fi
40184
40185 COND_TOOLKIT_MAC_USE_GUI_1="#"
40186 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40187 COND_TOOLKIT_MAC_USE_GUI_1=""
40188 fi
40189
40190 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40191 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40192 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40193 fi
40194
40195 COND_TOOLKIT_MGL="#"
40196 if test "x$TOOLKIT" = "xMGL" ; then
40197 COND_TOOLKIT_MGL=""
40198 fi
40199
40200 COND_TOOLKIT_MGL_USE_GUI_1="#"
40201 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40202 COND_TOOLKIT_MGL_USE_GUI_1=""
40203 fi
40204
40205 COND_TOOLKIT_MOTIF="#"
40206 if test "x$TOOLKIT" = "xMOTIF" ; then
40207 COND_TOOLKIT_MOTIF=""
40208 fi
40209
40210 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40211 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40212 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40213 fi
40214
40215 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40216 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40217 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40218 fi
40219
40220 COND_TOOLKIT_MSW="#"
40221 if test "x$TOOLKIT" = "xMSW" ; then
40222 COND_TOOLKIT_MSW=""
40223 fi
40224
40225 COND_TOOLKIT_MSW_USE_GUI_1="#"
40226 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40227 COND_TOOLKIT_MSW_USE_GUI_1=""
40228 fi
40229
40230 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40231 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40232 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40233 fi
40234
40235 COND_TOOLKIT_PM="#"
40236 if test "x$TOOLKIT" = "xPM" ; then
40237 COND_TOOLKIT_PM=""
40238 fi
40239
40240 COND_TOOLKIT_PM_USE_GUI_1="#"
40241 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40242 COND_TOOLKIT_PM_USE_GUI_1=""
40243 fi
40244
40245 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40246 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40247 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40248 fi
40249
40250 COND_TOOLKIT_WINCE="#"
40251 if test "x$TOOLKIT" = "xWINCE" ; then
40252 COND_TOOLKIT_WINCE=""
40253 fi
40254
40255 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40256 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40257 COND_TOOLKIT_WINCE_USE_GUI_1=""
40258 fi
40259
40260 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40261 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40262 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40263 fi
40264
40265 COND_TOOLKIT_X11="#"
40266 if test "x$TOOLKIT" = "xX11" ; then
40267 COND_TOOLKIT_X11=""
40268 fi
40269
40270 COND_TOOLKIT_X11_USE_GUI_1="#"
40271 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40272 COND_TOOLKIT_X11_USE_GUI_1=""
40273 fi
40274
40275 COND_UNICODE_1="#"
40276 if test "x$UNICODE" = "x1" ; then
40277 COND_UNICODE_1=""
40278 fi
40279
40280 COND_USE_EXCEPTIONS_0="#"
40281 if test "x$USE_EXCEPTIONS" = "x0" ; then
40282 COND_USE_EXCEPTIONS_0=""
40283 fi
40284
40285 COND_USE_EXCEPTIONS_1="#"
40286 if test "x$USE_EXCEPTIONS" = "x1" ; then
40287 COND_USE_EXCEPTIONS_1=""
40288 fi
40289
40290 COND_USE_GUI_0="#"
40291 if test "x$USE_GUI" = "x0" ; then
40292 COND_USE_GUI_0=""
40293 fi
40294
40295 COND_USE_GUI_1="#"
40296 if test "x$USE_GUI" = "x1" ; then
40297 COND_USE_GUI_1=""
40298 fi
40299
40300 COND_USE_GUI_1_WXUNIV_0="#"
40301 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40302 COND_USE_GUI_1_WXUNIV_0=""
40303 fi
40304
40305 COND_USE_GUI_1_WXUNIV_1="#"
40306 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40307 COND_USE_GUI_1_WXUNIV_1=""
40308 fi
40309
40310 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40311 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40312 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40313 fi
40314
40315 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40316 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40317 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40318 fi
40319
40320 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40321 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40322 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40323 fi
40324
40325 COND_USE_ODBC_1="#"
40326 if test "x$USE_ODBC" = "x1" ; then
40327 COND_USE_ODBC_1=""
40328 fi
40329
40330 COND_USE_PLUGINS_0="#"
40331 if test "x$USE_PLUGINS" = "x0" ; then
40332 COND_USE_PLUGINS_0=""
40333 fi
40334
40335 COND_USE_SOSYMLINKS_1="#"
40336 if test "x$USE_SOSYMLINKS" = "x1" ; then
40337 COND_USE_SOSYMLINKS_1=""
40338 fi
40339
40340 COND_USE_SOVERLINUX_1="#"
40341 if test "x$USE_SOVERLINUX" = "x1" ; then
40342 COND_USE_SOVERLINUX_1=""
40343 fi
40344
40345 COND_USE_SOVERSION_0="#"
40346 if test "x$USE_SOVERSION" = "x0" ; then
40347 COND_USE_SOVERSION_0=""
40348 fi
40349
40350 COND_USE_SOVERSOLARIS_1="#"
40351 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40352 COND_USE_SOVERSOLARIS_1=""
40353 fi
40354
40355 COND_WITH_PLUGIN_SDL_1="#"
40356 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40357 COND_WITH_PLUGIN_SDL_1=""
40358 fi
40359
40360 COND_WITH_SDL_1="#"
40361 if test "x$WITH_SDL" = "x1" ; then
40362 COND_WITH_SDL_1=""
40363 fi
40364
40365 COND_WXUNIV_1="#"
40366 if test "x$WXUNIV" = "x1" ; then
40367 COND_WXUNIV_1=""
40368 fi
40369
40370 COND_WXUSE_EXPAT_BUILTIN="#"
40371 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40372 COND_WXUSE_EXPAT_BUILTIN=""
40373 fi
40374
40375 COND_WXUSE_LIBJPEG_BUILTIN="#"
40376 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40377 COND_WXUSE_LIBJPEG_BUILTIN=""
40378 fi
40379
40380 COND_WXUSE_LIBPNG_BUILTIN="#"
40381 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40382 COND_WXUSE_LIBPNG_BUILTIN=""
40383 fi
40384
40385 COND_WXUSE_LIBTIFF_BUILTIN="#"
40386 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40387 COND_WXUSE_LIBTIFF_BUILTIN=""
40388 fi
40389
40390 COND_WXUSE_ODBC_BUILTIN="#"
40391 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40392 COND_WXUSE_ODBC_BUILTIN=""
40393 fi
40394
40395 COND_WXUSE_REGEX_BUILTIN="#"
40396 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40397 COND_WXUSE_REGEX_BUILTIN=""
40398 fi
40399
40400 COND_WXUSE_ZLIB_BUILTIN="#"
40401 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40402 COND_WXUSE_ZLIB_BUILTIN=""
40403 fi
40404
40405
40406
40407
40408
40409 if test $GCC_PCH = 1 ; then
40410 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
40411 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
40412 else
40413 case "${host}" in
40414 powerpc-*-darwin* )
40415 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
40416 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
40417 ;;
40418 esac
40419 fi
40420
40421
40422 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
40461
40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40524 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40525 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40526 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40527 echo $ECHO_N "(cached) $ECHO_C" >&6
40528 else
40529 cat >conftest.make <<\_ACEOF
40530 all:
40531 @echo 'ac_maketemp="$(MAKE)"'
40532 _ACEOF
40533 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40534 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40535 if test -n "$ac_maketemp"; then
40536 eval ac_cv_prog_make_${ac_make}_set=yes
40537 else
40538 eval ac_cv_prog_make_${ac_make}_set=no
40539 fi
40540 rm -f conftest.make
40541 fi
40542 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40543 echo "$as_me:$LINENO: result: yes" >&5
40544 echo "${ECHO_T}yes" >&6
40545 SET_MAKE=
40546 else
40547 echo "$as_me:$LINENO: result: no" >&5
40548 echo "${ECHO_T}no" >&6
40549 SET_MAKE="MAKE=${MAKE-make}"
40550 fi
40551
40552
40553 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
40554 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
40555 fi
40556
40557 ac_config_headers="$ac_config_headers setup.h"
40558
40559
40560 ac_config_files="$ac_config_files wx-config version-script Makefile"
40561
40562
40563 ac_config_commands="$ac_config_commands default"
40564
40565
40566
40567 if test "$wxUSE_GUI" = "yes"; then
40568 SUBDIRS="samples demos utils contrib"
40569 else SUBDIRS="samples utils"
40570 fi
40571
40572
40573
40574 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40575 if test "${with_cppunit_prefix+set}" = set; then
40576 withval="$with_cppunit_prefix"
40577 cppunit_config_prefix="$withval"
40578 else
40579 cppunit_config_prefix=""
40580 fi;
40581
40582 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40583 if test "${with_cppunit_exec_prefix+set}" = set; then
40584 withval="$with_cppunit_exec_prefix"
40585 cppunit_config_exec_prefix="$withval"
40586 else
40587 cppunit_config_exec_prefix=""
40588 fi;
40589
40590 if test x$cppunit_config_exec_prefix != x ; then
40591 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40592 if test x${CPPUNIT_CONFIG+set} != xset ; then
40593 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40594 fi
40595 fi
40596 if test x$cppunit_config_prefix != x ; then
40597 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40598 if test x${CPPUNIT_CONFIG+set} != xset ; then
40599 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40600 fi
40601 fi
40602
40603 # Extract the first word of "cppunit-config", so it can be a program name with args.
40604 set dummy cppunit-config; ac_word=$2
40605 echo "$as_me:$LINENO: checking for $ac_word" >&5
40606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40607 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40608 echo $ECHO_N "(cached) $ECHO_C" >&6
40609 else
40610 case $CPPUNIT_CONFIG in
40611 [\\/]* | ?:[\\/]*)
40612 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40613 ;;
40614 *)
40615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40616 for as_dir in $PATH
40617 do
40618 IFS=$as_save_IFS
40619 test -z "$as_dir" && as_dir=.
40620 for ac_exec_ext in '' $ac_executable_extensions; do
40621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40622 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40624 break 2
40625 fi
40626 done
40627 done
40628
40629 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40630 ;;
40631 esac
40632 fi
40633 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40634
40635 if test -n "$CPPUNIT_CONFIG"; then
40636 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40637 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40638 else
40639 echo "$as_me:$LINENO: result: no" >&5
40640 echo "${ECHO_T}no" >&6
40641 fi
40642
40643 cppunit_version_min=1.8.0
40644
40645 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40646 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40647 no_cppunit=""
40648 if test "$CPPUNIT_CONFIG" = "no" ; then
40649 no_cppunit=yes
40650 else
40651 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40652 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40653 cppunit_version=`$CPPUNIT_CONFIG --version`
40654
40655 cppunit_major_version=`echo $cppunit_version | \
40656 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40657 cppunit_minor_version=`echo $cppunit_version | \
40658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40659 cppunit_micro_version=`echo $cppunit_version | \
40660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40661
40662 cppunit_major_min=`echo $cppunit_version_min | \
40663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40664 cppunit_minor_min=`echo $cppunit_version_min | \
40665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40666 cppunit_micro_min=`echo $cppunit_version_min | \
40667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40668
40669 cppunit_version_proper=`expr \
40670 $cppunit_major_version \> $cppunit_major_min \| \
40671 $cppunit_major_version \= $cppunit_major_min \& \
40672 $cppunit_minor_version \> $cppunit_minor_min \| \
40673 $cppunit_major_version \= $cppunit_major_min \& \
40674 $cppunit_minor_version \= $cppunit_minor_min \& \
40675 $cppunit_micro_version \>= $cppunit_micro_min `
40676
40677 if test "$cppunit_version_proper" = "1" ; then
40678 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40679 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40680 else
40681 echo "$as_me:$LINENO: result: no" >&5
40682 echo "${ECHO_T}no" >&6
40683 no_cppunit=yes
40684 fi
40685 fi
40686
40687 if test "x$no_cppunit" = x ; then
40688 SUBDIRS="$SUBDIRS tests"
40689 else
40690 CPPUNIT_CFLAGS=""
40691 CPPUNIT_LIBS=""
40692 :
40693 fi
40694
40695
40696
40697
40698
40699 for subdir in `echo $SUBDIRS`; do
40700 if test -d ${srcdir}/${subdir} ; then
40701 if test "$wxUSE_GUI" = "yes"; then
40702 if test ${subdir} = "samples"; then
40703 makefiles="samples/Makefile.in $makefiles"
40704 for sample in `echo $SAMPLES_SUBDIRS`; do
40705 if test -d $srcdir/samples/$sample; then
40706 makefiles="samples/$sample/Makefile.in $makefiles"
40707 fi
40708 done
40709 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40710 fi
40711 else if test ${subdir} = "samples"; then
40712 makefiles="samples/Makefile.in samples/console/Makefile.in"
40713 elif test ${subdir} = "utils"; then
40714 makefiles="utils/HelpGen/Makefile.in \
40715 utils/HelpGen/src/Makefile.in \
40716 utils/tex2rtf/Makefile.in \
40717 utils/tex2rtf/src/Makefile.in"
40718 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40719 fi
40720 fi
40721
40722 for mkin in $makefiles ; do
40723 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40724 ac_config_files="$ac_config_files $mk"
40725
40726 done
40727 fi
40728 done
40729
40730
40731 cat >confcache <<\_ACEOF
40732 # This file is a shell script that caches the results of configure
40733 # tests run on this system so they can be shared between configure
40734 # scripts and configure runs, see configure's option --config-cache.
40735 # It is not useful on other systems. If it contains results you don't
40736 # want to keep, you may remove or edit it.
40737 #
40738 # config.status only pays attention to the cache file if you give it
40739 # the --recheck option to rerun configure.
40740 #
40741 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40742 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40743 # following values.
40744
40745 _ACEOF
40746
40747 # The following way of writing the cache mishandles newlines in values,
40748 # but we know of no workaround that is simple, portable, and efficient.
40749 # So, don't put newlines in cache variables' values.
40750 # Ultrix sh set writes to stderr and can't be redirected directly,
40751 # and sets the high bit in the cache file unless we assign to the vars.
40752 {
40753 (set) 2>&1 |
40754 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40755 *ac_space=\ *)
40756 # `set' does not quote correctly, so add quotes (double-quote
40757 # substitution turns \\\\ into \\, and sed turns \\ into \).
40758 sed -n \
40759 "s/'/'\\\\''/g;
40760 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40761 ;;
40762 *)
40763 # `set' quotes correctly as required by POSIX, so do not add quotes.
40764 sed -n \
40765 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40766 ;;
40767 esac;
40768 } |
40769 sed '
40770 t clear
40771 : clear
40772 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40773 t end
40774 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40775 : end' >>confcache
40776 if diff $cache_file confcache >/dev/null 2>&1; then :; else
40777 if test -w $cache_file; then
40778 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40779 cat confcache >$cache_file
40780 else
40781 echo "not updating unwritable cache $cache_file"
40782 fi
40783 fi
40784 rm -f confcache
40785
40786 test "x$prefix" = xNONE && prefix=$ac_default_prefix
40787 # Let make expand exec_prefix.
40788 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
40789
40790 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40791 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40792 # trailing colons and then remove the whole line if VPATH becomes empty
40793 # (actually we leave an empty line to preserve line numbers).
40794 if test "x$srcdir" = x.; then
40795 ac_vpsub='/^[ ]*VPATH[ ]*=/{
40796 s/:*\$(srcdir):*/:/;
40797 s/:*\${srcdir}:*/:/;
40798 s/:*@srcdir@:*/:/;
40799 s/^\([^=]*=[ ]*\):*/\1/;
40800 s/:*$//;
40801 s/^[^=]*=[ ]*$//;
40802 }'
40803 fi
40804
40805 DEFS=-DHAVE_CONFIG_H
40806
40807 ac_libobjs=
40808 ac_ltlibobjs=
40809 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40810 # 1. Remove the extension, and $U if already installed.
40811 ac_i=`echo "$ac_i" |
40812 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40813 # 2. Add them.
40814 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
40815 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
40816 done
40817 LIBOBJS=$ac_libobjs
40818
40819 LTLIBOBJS=$ac_ltlibobjs
40820
40821
40822
40823 : ${CONFIG_STATUS=./config.status}
40824 ac_clean_files_save=$ac_clean_files
40825 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
40826 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40827 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40828 cat >$CONFIG_STATUS <<_ACEOF
40829 #! $SHELL
40830 # Generated by $as_me.
40831 # Run this file to recreate the current configuration.
40832 # Compiler output produced by configure, useful for debugging
40833 # configure, is in config.log if it exists.
40834
40835 debug=false
40836 ac_cs_recheck=false
40837 ac_cs_silent=false
40838 SHELL=\${CONFIG_SHELL-$SHELL}
40839 _ACEOF
40840
40841 cat >>$CONFIG_STATUS <<\_ACEOF
40842 ## --------------------- ##
40843 ## M4sh Initialization. ##
40844 ## --------------------- ##
40845
40846 # Be Bourne compatible
40847 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40848 emulate sh
40849 NULLCMD=:
40850 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40851 # is contrary to our usage. Disable this feature.
40852 alias -g '${1+"$@"}'='"$@"'
40853 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40854 set -o posix
40855 fi
40856 DUALCASE=1; export DUALCASE # for MKS sh
40857
40858 # Support unset when possible.
40859 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40860 as_unset=unset
40861 else
40862 as_unset=false
40863 fi
40864
40865
40866 # Work around bugs in pre-3.0 UWIN ksh.
40867 $as_unset ENV MAIL MAILPATH
40868 PS1='$ '
40869 PS2='> '
40870 PS4='+ '
40871
40872 # NLS nuisances.
40873 for as_var in \
40874 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40875 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40876 LC_TELEPHONE LC_TIME
40877 do
40878 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40879 eval $as_var=C; export $as_var
40880 else
40881 $as_unset $as_var
40882 fi
40883 done
40884
40885 # Required to use basename.
40886 if expr a : '\(a\)' >/dev/null 2>&1; then
40887 as_expr=expr
40888 else
40889 as_expr=false
40890 fi
40891
40892 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40893 as_basename=basename
40894 else
40895 as_basename=false
40896 fi
40897
40898
40899 # Name of the executable.
40900 as_me=`$as_basename "$0" ||
40901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40902 X"$0" : 'X\(//\)$' \| \
40903 X"$0" : 'X\(/\)$' \| \
40904 . : '\(.\)' 2>/dev/null ||
40905 echo X/"$0" |
40906 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40907 /^X\/\(\/\/\)$/{ s//\1/; q; }
40908 /^X\/\(\/\).*/{ s//\1/; q; }
40909 s/.*/./; q'`
40910
40911
40912 # PATH needs CR, and LINENO needs CR and PATH.
40913 # Avoid depending upon Character Ranges.
40914 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40915 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40916 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40917 as_cr_digits='0123456789'
40918 as_cr_alnum=$as_cr_Letters$as_cr_digits
40919
40920 # The user is always right.
40921 if test "${PATH_SEPARATOR+set}" != set; then
40922 echo "#! /bin/sh" >conf$$.sh
40923 echo "exit 0" >>conf$$.sh
40924 chmod +x conf$$.sh
40925 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40926 PATH_SEPARATOR=';'
40927 else
40928 PATH_SEPARATOR=:
40929 fi
40930 rm -f conf$$.sh
40931 fi
40932
40933
40934 as_lineno_1=$LINENO
40935 as_lineno_2=$LINENO
40936 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40937 test "x$as_lineno_1" != "x$as_lineno_2" &&
40938 test "x$as_lineno_3" = "x$as_lineno_2" || {
40939 # Find who we are. Look in the path if we contain no path at all
40940 # relative or not.
40941 case $0 in
40942 *[\\/]* ) as_myself=$0 ;;
40943 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40944 for as_dir in $PATH
40945 do
40946 IFS=$as_save_IFS
40947 test -z "$as_dir" && as_dir=.
40948 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40949 done
40950
40951 ;;
40952 esac
40953 # We did not find ourselves, most probably we were run as `sh COMMAND'
40954 # in which case we are not to be found in the path.
40955 if test "x$as_myself" = x; then
40956 as_myself=$0
40957 fi
40958 if test ! -f "$as_myself"; then
40959 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40960 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40961 { (exit 1); exit 1; }; }
40962 fi
40963 case $CONFIG_SHELL in
40964 '')
40965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40966 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
40967 do
40968 IFS=$as_save_IFS
40969 test -z "$as_dir" && as_dir=.
40970 for as_base in sh bash ksh sh5; do
40971 case $as_dir in
40972 /*)
40973 if ("$as_dir/$as_base" -c '
40974 as_lineno_1=$LINENO
40975 as_lineno_2=$LINENO
40976 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40977 test "x$as_lineno_1" != "x$as_lineno_2" &&
40978 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
40979 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40980 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40981 CONFIG_SHELL=$as_dir/$as_base
40982 export CONFIG_SHELL
40983 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40984 fi;;
40985 esac
40986 done
40987 done
40988 ;;
40989 esac
40990
40991 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40992 # uniformly replaced by the line number. The first 'sed' inserts a
40993 # line-number line before each line; the second 'sed' does the real
40994 # work. The second script uses 'N' to pair each line-number line
40995 # with the numbered line, and appends trailing '-' during
40996 # substitution so that $LINENO is not a special case at line end.
40997 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40998 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40999 sed '=' <$as_myself |
41000 sed '
41001 N
41002 s,$,-,
41003 : loop
41004 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
41005 t loop
41006 s,-$,,
41007 s,^['$as_cr_digits']*\n,,
41008 ' >$as_me.lineno &&
41009 chmod +x $as_me.lineno ||
41010 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
41011 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
41012 { (exit 1); exit 1; }; }
41013
41014 # Don't try to exec as it changes $[0], causing all sort of problems
41015 # (the dirname of $[0] is not the place where we might find the
41016 # original and so on. Autoconf is especially sensible to this).
41017 . ./$as_me.lineno
41018 # Exit status is that of the last command.
41019 exit
41020 }
41021
41022
41023 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
41024 *c*,-n*) ECHO_N= ECHO_C='
41025 ' ECHO_T=' ' ;;
41026 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
41027 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
41028 esac
41029
41030 if expr a : '\(a\)' >/dev/null 2>&1; then
41031 as_expr=expr
41032 else
41033 as_expr=false
41034 fi
41035
41036 rm -f conf$$ conf$$.exe conf$$.file
41037 echo >conf$$.file
41038 if ln -s conf$$.file conf$$ 2>/dev/null; then
41039 # We could just check for DJGPP; but this test a) works b) is more generic
41040 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
41041 if test -f conf$$.exe; then
41042 # Don't use ln at all; we don't have any links
41043 as_ln_s='cp -p'
41044 else
41045 as_ln_s='ln -s'
41046 fi
41047 elif ln conf$$.file conf$$ 2>/dev/null; then
41048 as_ln_s=ln
41049 else
41050 as_ln_s='cp -p'
41051 fi
41052 rm -f conf$$ conf$$.exe conf$$.file
41053
41054 if mkdir -p . 2>/dev/null; then
41055 as_mkdir_p=:
41056 else
41057 test -d ./-p && rmdir ./-p
41058 as_mkdir_p=false
41059 fi
41060
41061 as_executable_p="test -f"
41062
41063 # Sed expression to map a string onto a valid CPP name.
41064 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41065
41066 # Sed expression to map a string onto a valid variable name.
41067 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41068
41069
41070 # IFS
41071 # We need space, tab and new line, in precisely that order.
41072 as_nl='
41073 '
41074 IFS=" $as_nl"
41075
41076 # CDPATH.
41077 $as_unset CDPATH
41078
41079 exec 6>&1
41080
41081 # Open the log real soon, to keep \$[0] and so on meaningful, and to
41082 # report actual input values of CONFIG_FILES etc. instead of their
41083 # values after options handling. Logging --version etc. is OK.
41084 exec 5>>config.log
41085 {
41086 echo
41087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41088 ## Running $as_me. ##
41089 _ASBOX
41090 } >&5
41091 cat >&5 <<_CSEOF
41092
41093 This file was extended by wxWindows $as_me 2.5.1, which was
41094 generated by GNU Autoconf 2.59. Invocation command line was
41095
41096 CONFIG_FILES = $CONFIG_FILES
41097 CONFIG_HEADERS = $CONFIG_HEADERS
41098 CONFIG_LINKS = $CONFIG_LINKS
41099 CONFIG_COMMANDS = $CONFIG_COMMANDS
41100 $ $0 $@
41101
41102 _CSEOF
41103 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41104 echo >&5
41105 _ACEOF
41106
41107 # Files that config.status was made for.
41108 if test -n "$ac_config_files"; then
41109 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41110 fi
41111
41112 if test -n "$ac_config_headers"; then
41113 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41114 fi
41115
41116 if test -n "$ac_config_links"; then
41117 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41118 fi
41119
41120 if test -n "$ac_config_commands"; then
41121 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41122 fi
41123
41124 cat >>$CONFIG_STATUS <<\_ACEOF
41125
41126 ac_cs_usage="\
41127 \`$as_me' instantiates files from templates according to the
41128 current configuration.
41129
41130 Usage: $0 [OPTIONS] [FILE]...
41131
41132 -h, --help print this help, then exit
41133 -V, --version print version number, then exit
41134 -q, --quiet do not print progress messages
41135 -d, --debug don't remove temporary files
41136 --recheck update $as_me by reconfiguring in the same conditions
41137 --file=FILE[:TEMPLATE]
41138 instantiate the configuration file FILE
41139 --header=FILE[:TEMPLATE]
41140 instantiate the configuration header FILE
41141
41142 Configuration files:
41143 $config_files
41144
41145 Configuration headers:
41146 $config_headers
41147
41148 Configuration commands:
41149 $config_commands
41150
41151 Report bugs to <bug-autoconf@gnu.org>."
41152 _ACEOF
41153
41154 cat >>$CONFIG_STATUS <<_ACEOF
41155 ac_cs_version="\\
41156 wxWindows config.status 2.5.1
41157 configured by $0, generated by GNU Autoconf 2.59,
41158 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41159
41160 Copyright (C) 2003 Free Software Foundation, Inc.
41161 This config.status script is free software; the Free Software Foundation
41162 gives unlimited permission to copy, distribute and modify it."
41163 srcdir=$srcdir
41164 INSTALL="$INSTALL"
41165 _ACEOF
41166
41167 cat >>$CONFIG_STATUS <<\_ACEOF
41168 # If no file are specified by the user, then we need to provide default
41169 # value. By we need to know if files were specified by the user.
41170 ac_need_defaults=:
41171 while test $# != 0
41172 do
41173 case $1 in
41174 --*=*)
41175 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41176 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41177 ac_shift=:
41178 ;;
41179 -*)
41180 ac_option=$1
41181 ac_optarg=$2
41182 ac_shift=shift
41183 ;;
41184 *) # This is not an option, so the user has probably given explicit
41185 # arguments.
41186 ac_option=$1
41187 ac_need_defaults=false;;
41188 esac
41189
41190 case $ac_option in
41191 # Handling of the options.
41192 _ACEOF
41193 cat >>$CONFIG_STATUS <<\_ACEOF
41194 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41195 ac_cs_recheck=: ;;
41196 --version | --vers* | -V )
41197 echo "$ac_cs_version"; exit 0 ;;
41198 --he | --h)
41199 # Conflict between --help and --header
41200 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41201 Try \`$0 --help' for more information." >&5
41202 echo "$as_me: error: ambiguous option: $1
41203 Try \`$0 --help' for more information." >&2;}
41204 { (exit 1); exit 1; }; };;
41205 --help | --hel | -h )
41206 echo "$ac_cs_usage"; exit 0 ;;
41207 --debug | --d* | -d )
41208 debug=: ;;
41209 --file | --fil | --fi | --f )
41210 $ac_shift
41211 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41212 ac_need_defaults=false;;
41213 --header | --heade | --head | --hea )
41214 $ac_shift
41215 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41216 ac_need_defaults=false;;
41217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41218 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41219 ac_cs_silent=: ;;
41220
41221 # This is an error.
41222 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41223 Try \`$0 --help' for more information." >&5
41224 echo "$as_me: error: unrecognized option: $1
41225 Try \`$0 --help' for more information." >&2;}
41226 { (exit 1); exit 1; }; } ;;
41227
41228 *) ac_config_targets="$ac_config_targets $1" ;;
41229
41230 esac
41231 shift
41232 done
41233
41234 ac_configure_extra_args=
41235
41236 if $ac_cs_silent; then
41237 exec 6>/dev/null
41238 ac_configure_extra_args="$ac_configure_extra_args --silent"
41239 fi
41240
41241 _ACEOF
41242 cat >>$CONFIG_STATUS <<_ACEOF
41243 if \$ac_cs_recheck; then
41244 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41245 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41246 fi
41247
41248 _ACEOF
41249
41250 cat >>$CONFIG_STATUS <<_ACEOF
41251 #
41252 # INIT-COMMANDS section.
41253 #
41254
41255
41256 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41257 LN_S="${LN_S}"
41258
41259
41260
41261 _ACEOF
41262
41263
41264
41265 cat >>$CONFIG_STATUS <<\_ACEOF
41266 for ac_config_target in $ac_config_targets
41267 do
41268 case "$ac_config_target" in
41269 # Handling of arguments.
41270 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
41271 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
41272 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41273 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
41274 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
41275 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
41276 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41277 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41278 { (exit 1); exit 1; }; };;
41279 esac
41280 done
41281
41282 # If the user did not use the arguments to specify the items to instantiate,
41283 # then the envvar interface is used. Set only those that are not.
41284 # We use the long form for the default assignment because of an extremely
41285 # bizarre bug on SunOS 4.1.3.
41286 if $ac_need_defaults; then
41287 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41288 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41289 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41290 fi
41291
41292 # Have a temporary directory for convenience. Make it in the build tree
41293 # simply because there is no reason to put it here, and in addition,
41294 # creating and moving files from /tmp can sometimes cause problems.
41295 # Create a temporary directory, and hook for its removal unless debugging.
41296 $debug ||
41297 {
41298 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41299 trap '{ (exit 1); exit 1; }' 1 2 13 15
41300 }
41301
41302 # Create a (secure) tmp directory for tmp files.
41303
41304 {
41305 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41306 test -n "$tmp" && test -d "$tmp"
41307 } ||
41308 {
41309 tmp=./confstat$$-$RANDOM
41310 (umask 077 && mkdir $tmp)
41311 } ||
41312 {
41313 echo "$me: cannot create a temporary directory in ." >&2
41314 { (exit 1); exit 1; }
41315 }
41316
41317 _ACEOF
41318
41319 cat >>$CONFIG_STATUS <<_ACEOF
41320
41321 #
41322 # CONFIG_FILES section.
41323 #
41324
41325 # No need to generate the scripts if there are no CONFIG_FILES.
41326 # This happens for instance when ./config.status config.h
41327 if test -n "\$CONFIG_FILES"; then
41328 # Protect against being on the right side of a sed subst in config.status.
41329 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41330 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41331 s,@SHELL@,$SHELL,;t t
41332 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41333 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41334 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41335 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41336 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41337 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41338 s,@exec_prefix@,$exec_prefix,;t t
41339 s,@prefix@,$prefix,;t t
41340 s,@program_transform_name@,$program_transform_name,;t t
41341 s,@bindir@,$bindir,;t t
41342 s,@sbindir@,$sbindir,;t t
41343 s,@libexecdir@,$libexecdir,;t t
41344 s,@datadir@,$datadir,;t t
41345 s,@sysconfdir@,$sysconfdir,;t t
41346 s,@sharedstatedir@,$sharedstatedir,;t t
41347 s,@localstatedir@,$localstatedir,;t t
41348 s,@libdir@,$libdir,;t t
41349 s,@includedir@,$includedir,;t t
41350 s,@oldincludedir@,$oldincludedir,;t t
41351 s,@infodir@,$infodir,;t t
41352 s,@mandir@,$mandir,;t t
41353 s,@build_alias@,$build_alias,;t t
41354 s,@host_alias@,$host_alias,;t t
41355 s,@target_alias@,$target_alias,;t t
41356 s,@DEFS@,$DEFS,;t t
41357 s,@ECHO_C@,$ECHO_C,;t t
41358 s,@ECHO_N@,$ECHO_N,;t t
41359 s,@ECHO_T@,$ECHO_T,;t t
41360 s,@LIBS@,$LIBS,;t t
41361 s,@build@,$build,;t t
41362 s,@build_cpu@,$build_cpu,;t t
41363 s,@build_vendor@,$build_vendor,;t t
41364 s,@build_os@,$build_os,;t t
41365 s,@host@,$host,;t t
41366 s,@host_cpu@,$host_cpu,;t t
41367 s,@host_vendor@,$host_vendor,;t t
41368 s,@host_os@,$host_os,;t t
41369 s,@target@,$target,;t t
41370 s,@target_cpu@,$target_cpu,;t t
41371 s,@target_vendor@,$target_vendor,;t t
41372 s,@target_os@,$target_os,;t t
41373 s,@CC@,$CC,;t t
41374 s,@CFLAGS@,$CFLAGS,;t t
41375 s,@LDFLAGS@,$LDFLAGS,;t t
41376 s,@CPPFLAGS@,$CPPFLAGS,;t t
41377 s,@ac_ct_CC@,$ac_ct_CC,;t t
41378 s,@EXEEXT@,$EXEEXT,;t t
41379 s,@OBJEXT@,$OBJEXT,;t t
41380 s,@CPP@,$CPP,;t t
41381 s,@EGREP@,$EGREP,;t t
41382 s,@CXX@,$CXX,;t t
41383 s,@CXXFLAGS@,$CXXFLAGS,;t t
41384 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41385 s,@RANLIB@,$RANLIB,;t t
41386 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41387 s,@AR@,$AR,;t t
41388 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41389 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41390 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41391 s,@STRIP@,$STRIP,;t t
41392 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41393 s,@LN_S@,$LN_S,;t t
41394 s,@CXXCPP@,$CXXCPP,;t t
41395 s,@subdirs@,$subdirs,;t t
41396 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41397 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41398 s,@GTK_LIBS@,$GTK_LIBS,;t t
41399 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41400 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41401 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41402 s,@X_CFLAGS@,$X_CFLAGS,;t t
41403 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41404 s,@X_LIBS@,$X_LIBS,;t t
41405 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41406 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41407 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41408 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41409 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41410 s,@RESCOMP@,$RESCOMP,;t t
41411 s,@DEREZ@,$DEREZ,;t t
41412 s,@SETFILE@,$SETFILE,;t t
41413 s,@LIBICONV@,$LIBICONV,;t t
41414 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41415 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41416 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41417 s,@SDL_LIBS@,$SDL_LIBS,;t t
41418 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41419 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41420 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41421 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41422 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41423 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41424 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41425 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41426 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41427 s,@VENDOR@,$VENDOR,;t t
41428 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41429 s,@WXUNIV@,$WXUNIV,;t t
41430 s,@MONOLITHIC@,$MONOLITHIC,;t t
41431 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41432 s,@EXTRALIBS@,$EXTRALIBS,;t t
41433 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41434 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41435 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41436 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41437 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41438 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41439 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41440 s,@UNICODE@,$UNICODE,;t t
41441 s,@BUILD@,$BUILD,;t t
41442 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41443 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41444 s,@SHARED@,$SHARED,;t t
41445 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41446 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41447 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41448 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41449 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41450 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41451 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41452 s,@SET_MAKE@,$SET_MAKE,;t t
41453 s,@MAKE_SET@,$MAKE_SET,;t t
41454 s,@ac_ct_AR@,$ac_ct_AR,;t t
41455 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41456 s,@NM@,$NM,;t t
41457 s,@ac_ct_NM@,$ac_ct_NM,;t t
41458 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41459 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41460 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41461 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41462 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41463 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41464 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41465 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41466 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41467 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41468 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41469 s,@LIBPREFIX@,$LIBPREFIX,;t t
41470 s,@LIBEXT@,$LIBEXT,;t t
41471 s,@DLLPREFIX@,$DLLPREFIX,;t t
41472 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41473 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41474 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41475 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41476 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41477 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41478 s,@PIC_FLAG@,$PIC_FLAG,;t t
41479 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41480 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41481 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41482 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41483 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41484 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41485 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41486 s,@GCC_PCH@,$GCC_PCH,;t t
41487 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41488 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41489 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41490 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41491 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41492 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41493 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41494 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41495 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41496 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41497 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41498 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41499 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41500 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41501 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41502 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41503 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41504 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41505 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
41506 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41507 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41508 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41509 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41510 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
41511 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41512 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41513 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41514 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41515 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41516 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41517 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41518 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41519 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41520 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41521 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41522 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41523 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41524 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41525 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41526 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41527 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41528 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41529 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41530 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41531 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41532 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41533 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41534 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41535 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41536 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41537 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41538 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41539 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41540 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41541 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41542 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41543 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41544 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41545 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41546 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41547 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41548 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41549 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41550 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41551 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41552 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41553 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41554 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41555 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41556 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41557 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41558 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41559 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41560 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41561 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41562 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41563 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41564 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
41565 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
41566 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
41567 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41568 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41569 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41570 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41571 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41572 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41573 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41574 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41575 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41576 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41577 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41578 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41579 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41580 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41581 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41582 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41583 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41584 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41585 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41586 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41587 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41588 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41589 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41590 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41591 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41592 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41593 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41594 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41595 s,@PATH_IFS@,$PATH_IFS,;t t
41596 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41597 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41598 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41599 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41600 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41601 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41602 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41603 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41604 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41605 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41606 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41607 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41608 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41609 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41610 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41611 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41612 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41613 s,@WX_ALL@,$WX_ALL,;t t
41614 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41615 s,@SHARED_LD@,$SHARED_LD,;t t
41616 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41617 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41618 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41619 s,@USE_GUI@,$USE_GUI,;t t
41620 s,@AFMINSTALL@,$AFMINSTALL,;t t
41621 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41622 s,@TOOLKIT@,$TOOLKIT,;t t
41623 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41624 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41625 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41626 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41627 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41628 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41629 s,@cross_compiling@,$cross_compiling,;t t
41630 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41631 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41632 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41633 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41634 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41635 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41636 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41637 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41638 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41639 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41640 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41641 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41642 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41643 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41644 s,@GUIDIST@,$GUIDIST,;t t
41645 s,@PORT_FILES@,$PORT_FILES,;t t
41646 s,@DISTDIR@,$DISTDIR,;t t
41647 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41648 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41649 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41650 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41651 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41652 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41653 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41654 s,@RESFLAGS@,$RESFLAGS,;t t
41655 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41656 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41657 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41658 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41659 s,@MACRESCOMP@,$MACRESCOMP,;t t
41660 s,@MACSETFILE@,$MACSETFILE,;t t
41661 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41662 s,@GCC@,$GCC,;t t
41663 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
41664 s,@DLLTOOL@,$DLLTOOL,;t t
41665 s,@AS@,$AS,;t t
41666 s,@LD@,$LD,;t t
41667 s,@MAKEINFO@,$MAKEINFO,;t t
41668 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41669 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41670 s,@LIBOBJS@,$LIBOBJS,;t t
41671 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41672 CEOF
41673
41674 _ACEOF
41675
41676 cat >>$CONFIG_STATUS <<\_ACEOF
41677 # Split the substitutions into bite-sized pieces for seds with
41678 # small command number limits, like on Digital OSF/1 and HP-UX.
41679 ac_max_sed_lines=48
41680 ac_sed_frag=1 # Number of current file.
41681 ac_beg=1 # First line for current file.
41682 ac_end=$ac_max_sed_lines # Line after last line for current file.
41683 ac_more_lines=:
41684 ac_sed_cmds=
41685 while $ac_more_lines; do
41686 if test $ac_beg -gt 1; then
41687 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
41688 else
41689 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
41690 fi
41691 if test ! -s $tmp/subs.frag; then
41692 ac_more_lines=false
41693 else
41694 # The purpose of the label and of the branching condition is to
41695 # speed up the sed processing (if there are no `@' at all, there
41696 # is no need to browse any of the substitutions).
41697 # These are the two extra sed commands mentioned above.
41698 (echo ':t
41699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
41700 if test -z "$ac_sed_cmds"; then
41701 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
41702 else
41703 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
41704 fi
41705 ac_sed_frag=`expr $ac_sed_frag + 1`
41706 ac_beg=$ac_end
41707 ac_end=`expr $ac_end + $ac_max_sed_lines`
41708 fi
41709 done
41710 if test -z "$ac_sed_cmds"; then
41711 ac_sed_cmds=cat
41712 fi
41713 fi # test -n "$CONFIG_FILES"
41714
41715 _ACEOF
41716 cat >>$CONFIG_STATUS <<\_ACEOF
41717 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
41718 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41719 case $ac_file in
41720 - | *:- | *:-:* ) # input from stdin
41721 cat >$tmp/stdin
41722 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41723 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41724 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41725 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41726 * ) ac_file_in=$ac_file.in ;;
41727 esac
41728
41729 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41730 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41731 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41732 X"$ac_file" : 'X\(//\)[^/]' \| \
41733 X"$ac_file" : 'X\(//\)$' \| \
41734 X"$ac_file" : 'X\(/\)' \| \
41735 . : '\(.\)' 2>/dev/null ||
41736 echo X"$ac_file" |
41737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41738 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41739 /^X\(\/\/\)$/{ s//\1/; q; }
41740 /^X\(\/\).*/{ s//\1/; q; }
41741 s/.*/./; q'`
41742 { if $as_mkdir_p; then
41743 mkdir -p "$ac_dir"
41744 else
41745 as_dir="$ac_dir"
41746 as_dirs=
41747 while test ! -d "$as_dir"; do
41748 as_dirs="$as_dir $as_dirs"
41749 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41751 X"$as_dir" : 'X\(//\)[^/]' \| \
41752 X"$as_dir" : 'X\(//\)$' \| \
41753 X"$as_dir" : 'X\(/\)' \| \
41754 . : '\(.\)' 2>/dev/null ||
41755 echo X"$as_dir" |
41756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41757 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41758 /^X\(\/\/\)$/{ s//\1/; q; }
41759 /^X\(\/\).*/{ s//\1/; q; }
41760 s/.*/./; q'`
41761 done
41762 test ! -n "$as_dirs" || mkdir $as_dirs
41763 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41764 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41765 { (exit 1); exit 1; }; }; }
41766
41767 ac_builddir=.
41768
41769 if test "$ac_dir" != .; then
41770 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41771 # A "../" for each directory in $ac_dir_suffix.
41772 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41773 else
41774 ac_dir_suffix= ac_top_builddir=
41775 fi
41776
41777 case $srcdir in
41778 .) # No --srcdir option. We are building in place.
41779 ac_srcdir=.
41780 if test -z "$ac_top_builddir"; then
41781 ac_top_srcdir=.
41782 else
41783 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41784 fi ;;
41785 [\\/]* | ?:[\\/]* ) # Absolute path.
41786 ac_srcdir=$srcdir$ac_dir_suffix;
41787 ac_top_srcdir=$srcdir ;;
41788 *) # Relative path.
41789 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41790 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41791 esac
41792
41793 # Do not use `cd foo && pwd` to compute absolute paths, because
41794 # the directories may not exist.
41795 case `pwd` in
41796 .) ac_abs_builddir="$ac_dir";;
41797 *)
41798 case "$ac_dir" in
41799 .) ac_abs_builddir=`pwd`;;
41800 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41801 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41802 esac;;
41803 esac
41804 case $ac_abs_builddir in
41805 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41806 *)
41807 case ${ac_top_builddir}. in
41808 .) ac_abs_top_builddir=$ac_abs_builddir;;
41809 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41810 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41811 esac;;
41812 esac
41813 case $ac_abs_builddir in
41814 .) ac_abs_srcdir=$ac_srcdir;;
41815 *)
41816 case $ac_srcdir in
41817 .) ac_abs_srcdir=$ac_abs_builddir;;
41818 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41819 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41820 esac;;
41821 esac
41822 case $ac_abs_builddir in
41823 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41824 *)
41825 case $ac_top_srcdir in
41826 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41827 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41828 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41829 esac;;
41830 esac
41831
41832
41833 case $INSTALL in
41834 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41835 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
41836 esac
41837
41838 if test x"$ac_file" != x-; then
41839 { echo "$as_me:$LINENO: creating $ac_file" >&5
41840 echo "$as_me: creating $ac_file" >&6;}
41841 rm -f "$ac_file"
41842 fi
41843 # Let's still pretend it is `configure' which instantiates (i.e., don't
41844 # use $as_me), people would be surprised to read:
41845 # /* config.h. Generated by config.status. */
41846 if test x"$ac_file" = x-; then
41847 configure_input=
41848 else
41849 configure_input="$ac_file. "
41850 fi
41851 configure_input=$configure_input"Generated from `echo $ac_file_in |
41852 sed 's,.*/,,'` by configure."
41853
41854 # First look for the input files in the build tree, otherwise in the
41855 # src tree.
41856 ac_file_inputs=`IFS=:
41857 for f in $ac_file_in; do
41858 case $f in
41859 -) echo $tmp/stdin ;;
41860 [\\/$]*)
41861 # Absolute (can't be DOS-style, as IFS=:)
41862 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41863 echo "$as_me: error: cannot find input file: $f" >&2;}
41864 { (exit 1); exit 1; }; }
41865 echo "$f";;
41866 *) # Relative
41867 if test -f "$f"; then
41868 # Build tree
41869 echo "$f"
41870 elif test -f "$srcdir/$f"; then
41871 # Source tree
41872 echo "$srcdir/$f"
41873 else
41874 # /dev/null tree
41875 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41876 echo "$as_me: error: cannot find input file: $f" >&2;}
41877 { (exit 1); exit 1; }; }
41878 fi;;
41879 esac
41880 done` || { (exit 1); exit 1; }
41881 _ACEOF
41882 cat >>$CONFIG_STATUS <<_ACEOF
41883 sed "$ac_vpsub
41884 $extrasub
41885 _ACEOF
41886 cat >>$CONFIG_STATUS <<\_ACEOF
41887 :t
41888 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41889 s,@configure_input@,$configure_input,;t t
41890 s,@srcdir@,$ac_srcdir,;t t
41891 s,@abs_srcdir@,$ac_abs_srcdir,;t t
41892 s,@top_srcdir@,$ac_top_srcdir,;t t
41893 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
41894 s,@builddir@,$ac_builddir,;t t
41895 s,@abs_builddir@,$ac_abs_builddir,;t t
41896 s,@top_builddir@,$ac_top_builddir,;t t
41897 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
41898 s,@INSTALL@,$ac_INSTALL,;t t
41899 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41900 rm -f $tmp/stdin
41901 if test x"$ac_file" != x-; then
41902 mv $tmp/out $ac_file
41903 else
41904 cat $tmp/out
41905 rm -f $tmp/out
41906 fi
41907
41908 done
41909 _ACEOF
41910 cat >>$CONFIG_STATUS <<\_ACEOF
41911
41912 #
41913 # CONFIG_HEADER section.
41914 #
41915
41916 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
41917 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41918 #
41919 # ac_d sets the value in "#define NAME VALUE" lines.
41920 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41921 ac_dB='[ ].*$,\1#\2'
41922 ac_dC=' '
41923 ac_dD=',;t'
41924 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41925 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41926 ac_uB='$,\1#\2define\3'
41927 ac_uC=' '
41928 ac_uD=',;t'
41929
41930 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
41931 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41932 case $ac_file in
41933 - | *:- | *:-:* ) # input from stdin
41934 cat >$tmp/stdin
41935 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41936 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41937 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41938 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41939 * ) ac_file_in=$ac_file.in ;;
41940 esac
41941
41942 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41943 echo "$as_me: creating $ac_file" >&6;}
41944
41945 # First look for the input files in the build tree, otherwise in the
41946 # src tree.
41947 ac_file_inputs=`IFS=:
41948 for f in $ac_file_in; do
41949 case $f in
41950 -) echo $tmp/stdin ;;
41951 [\\/$]*)
41952 # Absolute (can't be DOS-style, as IFS=:)
41953 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41954 echo "$as_me: error: cannot find input file: $f" >&2;}
41955 { (exit 1); exit 1; }; }
41956 # Do quote $f, to prevent DOS paths from being IFS'd.
41957 echo "$f";;
41958 *) # Relative
41959 if test -f "$f"; then
41960 # Build tree
41961 echo "$f"
41962 elif test -f "$srcdir/$f"; then
41963 # Source tree
41964 echo "$srcdir/$f"
41965 else
41966 # /dev/null tree
41967 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41968 echo "$as_me: error: cannot find input file: $f" >&2;}
41969 { (exit 1); exit 1; }; }
41970 fi;;
41971 esac
41972 done` || { (exit 1); exit 1; }
41973 # Remove the trailing spaces.
41974 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41975
41976 _ACEOF
41977
41978 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41979 # `conftest.undefs', that substitutes the proper values into
41980 # config.h.in to produce config.h. The first handles `#define'
41981 # templates, and the second `#undef' templates.
41982 # And first: Protect against being on the right side of a sed subst in
41983 # config.status. Protect against being in an unquoted here document
41984 # in config.status.
41985 rm -f conftest.defines conftest.undefs
41986 # Using a here document instead of a string reduces the quoting nightmare.
41987 # Putting comments in sed scripts is not portable.
41988 #
41989 # `end' is used to avoid that the second main sed command (meant for
41990 # 0-ary CPP macros) applies to n-ary macro definitions.
41991 # See the Autoconf documentation for `clear'.
41992 cat >confdef2sed.sed <<\_ACEOF
41993 s/[\\&,]/\\&/g
41994 s,[\\$`],\\&,g
41995 t clear
41996 : clear
41997 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41998 t end
41999 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
42000 : end
42001 _ACEOF
42002 # If some macros were called several times there might be several times
42003 # the same #defines, which is useless. Nevertheless, we may not want to
42004 # sort them, since we want the *last* AC-DEFINE to be honored.
42005 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
42006 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
42007 rm -f confdef2sed.sed
42008
42009 # This sed command replaces #undef with comments. This is necessary, for
42010 # example, in the case of _POSIX_SOURCE, which is predefined and required
42011 # on some systems where configure will not decide to define it.
42012 cat >>conftest.undefs <<\_ACEOF
42013 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
42014 _ACEOF
42015
42016 # Break up conftest.defines because some shells have a limit on the size
42017 # of here documents, and old seds have small limits too (100 cmds).
42018 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
42019 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
42020 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
42021 echo ' :' >>$CONFIG_STATUS
42022 rm -f conftest.tail
42023 while grep . conftest.defines >/dev/null
42024 do
42025 # Write a limited-size here document to $tmp/defines.sed.
42026 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
42027 # Speed up: don't consider the non `#define' lines.
42028 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
42029 # Work around the forget-to-reset-the-flag bug.
42030 echo 't clr' >>$CONFIG_STATUS
42031 echo ': clr' >>$CONFIG_STATUS
42032 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
42033 echo 'CEOF
42034 sed -f $tmp/defines.sed $tmp/in >$tmp/out
42035 rm -f $tmp/in
42036 mv $tmp/out $tmp/in
42037 ' >>$CONFIG_STATUS
42038 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
42039 rm -f conftest.defines
42040 mv conftest.tail conftest.defines
42041 done
42042 rm -f conftest.defines
42043 echo ' fi # grep' >>$CONFIG_STATUS
42044 echo >>$CONFIG_STATUS
42045
42046 # Break up conftest.undefs because some shells have a limit on the size
42047 # of here documents, and old seds have small limits too (100 cmds).
42048 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
42049 rm -f conftest.tail
42050 while grep . conftest.undefs >/dev/null
42051 do
42052 # Write a limited-size here document to $tmp/undefs.sed.
42053 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
42054 # Speed up: don't consider the non `#undef'
42055 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
42056 # Work around the forget-to-reset-the-flag bug.
42057 echo 't clr' >>$CONFIG_STATUS
42058 echo ': clr' >>$CONFIG_STATUS
42059 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
42060 echo 'CEOF
42061 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
42062 rm -f $tmp/in
42063 mv $tmp/out $tmp/in
42064 ' >>$CONFIG_STATUS
42065 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
42066 rm -f conftest.undefs
42067 mv conftest.tail conftest.undefs
42068 done
42069 rm -f conftest.undefs
42070
42071 cat >>$CONFIG_STATUS <<\_ACEOF
42072 # Let's still pretend it is `configure' which instantiates (i.e., don't
42073 # use $as_me), people would be surprised to read:
42074 # /* config.h. Generated by config.status. */
42075 if test x"$ac_file" = x-; then
42076 echo "/* Generated by configure. */" >$tmp/config.h
42077 else
42078 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
42079 fi
42080 cat $tmp/in >>$tmp/config.h
42081 rm -f $tmp/in
42082 if test x"$ac_file" != x-; then
42083 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
42084 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
42085 echo "$as_me: $ac_file is unchanged" >&6;}
42086 else
42087 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42089 X"$ac_file" : 'X\(//\)[^/]' \| \
42090 X"$ac_file" : 'X\(//\)$' \| \
42091 X"$ac_file" : 'X\(/\)' \| \
42092 . : '\(.\)' 2>/dev/null ||
42093 echo X"$ac_file" |
42094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42096 /^X\(\/\/\)$/{ s//\1/; q; }
42097 /^X\(\/\).*/{ s//\1/; q; }
42098 s/.*/./; q'`
42099 { if $as_mkdir_p; then
42100 mkdir -p "$ac_dir"
42101 else
42102 as_dir="$ac_dir"
42103 as_dirs=
42104 while test ! -d "$as_dir"; do
42105 as_dirs="$as_dir $as_dirs"
42106 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42108 X"$as_dir" : 'X\(//\)[^/]' \| \
42109 X"$as_dir" : 'X\(//\)$' \| \
42110 X"$as_dir" : 'X\(/\)' \| \
42111 . : '\(.\)' 2>/dev/null ||
42112 echo X"$as_dir" |
42113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42115 /^X\(\/\/\)$/{ s//\1/; q; }
42116 /^X\(\/\).*/{ s//\1/; q; }
42117 s/.*/./; q'`
42118 done
42119 test ! -n "$as_dirs" || mkdir $as_dirs
42120 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42121 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42122 { (exit 1); exit 1; }; }; }
42123
42124 rm -f $ac_file
42125 mv $tmp/config.h $ac_file
42126 fi
42127 else
42128 cat $tmp/config.h
42129 rm -f $tmp/config.h
42130 fi
42131 done
42132 _ACEOF
42133 cat >>$CONFIG_STATUS <<\_ACEOF
42134
42135 #
42136 # CONFIG_COMMANDS section.
42137 #
42138 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42139 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42140 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42141 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42142 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42143 X"$ac_dest" : 'X\(//\)[^/]' \| \
42144 X"$ac_dest" : 'X\(//\)$' \| \
42145 X"$ac_dest" : 'X\(/\)' \| \
42146 . : '\(.\)' 2>/dev/null ||
42147 echo X"$ac_dest" |
42148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42149 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42150 /^X\(\/\/\)$/{ s//\1/; q; }
42151 /^X\(\/\).*/{ s//\1/; q; }
42152 s/.*/./; q'`
42153 { if $as_mkdir_p; then
42154 mkdir -p "$ac_dir"
42155 else
42156 as_dir="$ac_dir"
42157 as_dirs=
42158 while test ! -d "$as_dir"; do
42159 as_dirs="$as_dir $as_dirs"
42160 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42162 X"$as_dir" : 'X\(//\)[^/]' \| \
42163 X"$as_dir" : 'X\(//\)$' \| \
42164 X"$as_dir" : 'X\(/\)' \| \
42165 . : '\(.\)' 2>/dev/null ||
42166 echo X"$as_dir" |
42167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42168 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42169 /^X\(\/\/\)$/{ s//\1/; q; }
42170 /^X\(\/\).*/{ s//\1/; q; }
42171 s/.*/./; q'`
42172 done
42173 test ! -n "$as_dirs" || mkdir $as_dirs
42174 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42175 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42176 { (exit 1); exit 1; }; }; }
42177
42178 ac_builddir=.
42179
42180 if test "$ac_dir" != .; then
42181 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42182 # A "../" for each directory in $ac_dir_suffix.
42183 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42184 else
42185 ac_dir_suffix= ac_top_builddir=
42186 fi
42187
42188 case $srcdir in
42189 .) # No --srcdir option. We are building in place.
42190 ac_srcdir=.
42191 if test -z "$ac_top_builddir"; then
42192 ac_top_srcdir=.
42193 else
42194 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42195 fi ;;
42196 [\\/]* | ?:[\\/]* ) # Absolute path.
42197 ac_srcdir=$srcdir$ac_dir_suffix;
42198 ac_top_srcdir=$srcdir ;;
42199 *) # Relative path.
42200 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42201 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42202 esac
42203
42204 # Do not use `cd foo && pwd` to compute absolute paths, because
42205 # the directories may not exist.
42206 case `pwd` in
42207 .) ac_abs_builddir="$ac_dir";;
42208 *)
42209 case "$ac_dir" in
42210 .) ac_abs_builddir=`pwd`;;
42211 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42212 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42213 esac;;
42214 esac
42215 case $ac_abs_builddir in
42216 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42217 *)
42218 case ${ac_top_builddir}. in
42219 .) ac_abs_top_builddir=$ac_abs_builddir;;
42220 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42221 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42222 esac;;
42223 esac
42224 case $ac_abs_builddir in
42225 .) ac_abs_srcdir=$ac_srcdir;;
42226 *)
42227 case $ac_srcdir in
42228 .) ac_abs_srcdir=$ac_abs_builddir;;
42229 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42230 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42231 esac;;
42232 esac
42233 case $ac_abs_builddir in
42234 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42235 *)
42236 case $ac_top_srcdir in
42237 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42238 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42239 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42240 esac;;
42241 esac
42242
42243
42244 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42245 echo "$as_me: executing $ac_dest commands" >&6;}
42246 case $ac_dest in
42247 default )
42248 if test ! -h wx-config; then
42249 chmod +x wx-config
42250 mv wx-config wx${TOOLCHAIN_NAME}-config
42251 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
42252 fi
42253
42254 if test ! -d lib; then
42255 mkdir lib
42256 fi
42257 if test ! -d lib/wx; then
42258 mkdir lib/wx
42259 fi
42260 if test ! -d lib/wx/include; then
42261 mkdir lib/wx/include
42262 fi
42263 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
42264 mkdir lib/wx/include/${TOOLCHAIN_NAME}
42265 fi
42266 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
42267 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
42268 fi
42269 if test -f setup.h; then
42270 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
42271 fi
42272 ;;
42273 esac
42274 done
42275 _ACEOF
42276
42277 cat >>$CONFIG_STATUS <<\_ACEOF
42278
42279 { (exit 0); exit 0; }
42280 _ACEOF
42281 chmod +x $CONFIG_STATUS
42282 ac_clean_files=$ac_clean_files_save
42283
42284
42285 # configure is writing to config.log, and then calls config.status.
42286 # config.status does its own redirection, appending to config.log.
42287 # Unfortunately, on DOS this fails, as config.log is still kept open
42288 # by configure, so config.status won't be able to write to it; its
42289 # output is simply discarded. So we exec the FD to /dev/null,
42290 # effectively closing config.log, so it can be properly (re)opened and
42291 # appended to by config.status. When coming back to configure, we
42292 # need to make the FD available again.
42293 if test "$no_create" != yes; then
42294 ac_cs_success=:
42295 ac_config_status_args=
42296 test "$silent" = yes &&
42297 ac_config_status_args="$ac_config_status_args --quiet"
42298 exec 5>/dev/null
42299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42300 exec 5>>config.log
42301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42302 # would make configure fail if this is the last instruction.
42303 $ac_cs_success || { (exit 1); exit 1; }
42304 fi
42305
42306 #
42307 # CONFIG_SUBDIRS section.
42308 #
42309 if test "$no_recursion" != yes; then
42310
42311 # Remove --cache-file and --srcdir arguments so they do not pile up.
42312 ac_sub_configure_args=
42313 ac_prev=
42314 for ac_arg in $ac_configure_args; do
42315 if test -n "$ac_prev"; then
42316 ac_prev=
42317 continue
42318 fi
42319 case $ac_arg in
42320 -cache-file | --cache-file | --cache-fil | --cache-fi \
42321 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42322 ac_prev=cache_file ;;
42323 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42324 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42325 | --c=*)
42326 ;;
42327 --config-cache | -C)
42328 ;;
42329 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42330 ac_prev=srcdir ;;
42331 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42332 ;;
42333 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42334 ac_prev=prefix ;;
42335 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42336 ;;
42337 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
42338 esac
42339 done
42340
42341 # Always prepend --prefix to ensure using the same prefix
42342 # in subdir configurations.
42343 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
42344
42345 ac_popdir=`pwd`
42346 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42347
42348 # Do not complain, so a configure script can configure whichever
42349 # parts of a large source tree are present.
42350 test -d $srcdir/$ac_dir || continue
42351
42352 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42353 echo "$as_me: configuring in $ac_dir" >&6;}
42354 { if $as_mkdir_p; then
42355 mkdir -p "$ac_dir"
42356 else
42357 as_dir="$ac_dir"
42358 as_dirs=
42359 while test ! -d "$as_dir"; do
42360 as_dirs="$as_dir $as_dirs"
42361 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42363 X"$as_dir" : 'X\(//\)[^/]' \| \
42364 X"$as_dir" : 'X\(//\)$' \| \
42365 X"$as_dir" : 'X\(/\)' \| \
42366 . : '\(.\)' 2>/dev/null ||
42367 echo X"$as_dir" |
42368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42370 /^X\(\/\/\)$/{ s//\1/; q; }
42371 /^X\(\/\).*/{ s//\1/; q; }
42372 s/.*/./; q'`
42373 done
42374 test ! -n "$as_dirs" || mkdir $as_dirs
42375 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42376 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42377 { (exit 1); exit 1; }; }; }
42378
42379 ac_builddir=.
42380
42381 if test "$ac_dir" != .; then
42382 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42383 # A "../" for each directory in $ac_dir_suffix.
42384 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42385 else
42386 ac_dir_suffix= ac_top_builddir=
42387 fi
42388
42389 case $srcdir in
42390 .) # No --srcdir option. We are building in place.
42391 ac_srcdir=.
42392 if test -z "$ac_top_builddir"; then
42393 ac_top_srcdir=.
42394 else
42395 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42396 fi ;;
42397 [\\/]* | ?:[\\/]* ) # Absolute path.
42398 ac_srcdir=$srcdir$ac_dir_suffix;
42399 ac_top_srcdir=$srcdir ;;
42400 *) # Relative path.
42401 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42402 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42403 esac
42404
42405 # Do not use `cd foo && pwd` to compute absolute paths, because
42406 # the directories may not exist.
42407 case `pwd` in
42408 .) ac_abs_builddir="$ac_dir";;
42409 *)
42410 case "$ac_dir" in
42411 .) ac_abs_builddir=`pwd`;;
42412 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42413 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42414 esac;;
42415 esac
42416 case $ac_abs_builddir in
42417 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42418 *)
42419 case ${ac_top_builddir}. in
42420 .) ac_abs_top_builddir=$ac_abs_builddir;;
42421 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42422 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42423 esac;;
42424 esac
42425 case $ac_abs_builddir in
42426 .) ac_abs_srcdir=$ac_srcdir;;
42427 *)
42428 case $ac_srcdir in
42429 .) ac_abs_srcdir=$ac_abs_builddir;;
42430 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42431 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42432 esac;;
42433 esac
42434 case $ac_abs_builddir in
42435 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42436 *)
42437 case $ac_top_srcdir in
42438 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42439 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42440 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42441 esac;;
42442 esac
42443
42444
42445 cd $ac_dir
42446
42447 # Check for guested configure; otherwise get Cygnus style configure.
42448 if test -f $ac_srcdir/configure.gnu; then
42449 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
42450 elif test -f $ac_srcdir/configure; then
42451 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
42452 elif test -f $ac_srcdir/configure.in; then
42453 ac_sub_configure=$ac_configure
42454 else
42455 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42456 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42457 ac_sub_configure=
42458 fi
42459
42460 # The recursion is here.
42461 if test -n "$ac_sub_configure"; then
42462 # Make the cache file name correct relative to the subdirectory.
42463 case $cache_file in
42464 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42465 *) # Relative path.
42466 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
42467 esac
42468
42469 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42470 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42471 # The eval makes quoting arguments work.
42472 eval $ac_sub_configure $ac_sub_configure_args \
42473 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42474 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42475 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
42476 { (exit 1); exit 1; }; }
42477 fi
42478
42479 cd $ac_popdir
42480 done
42481 fi
42482
42483
42484 echo
42485 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
42486 echo ""
42487 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
42488 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42489
42490 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42491 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
42492 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42493
42494 echo " What level of wxWindows compatibility should be enabled?"
42495 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42496 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42497
42498 echo " Which libraries should wxWindows use?"
42499 echo " jpeg ${wxUSE_LIBJPEG-none}"
42500 echo " png ${wxUSE_LIBPNG-none}"
42501 echo " regex ${wxUSE_REGEX}"
42502 echo " tiff ${wxUSE_LIBTIFF-none}"
42503 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42504 echo " xpm ${wxUSE_LIBXPM-none}"
42505 fi
42506 echo " zlib ${wxUSE_ZLIB}"
42507 echo " odbc ${wxUSE_ODBC}"
42508 echo " expat ${wxUSE_EXPAT}"
42509 echo " libmspack ${wxUSE_LIBMSPACK}"
42510 echo " sdl ${wxUSE_LIBSDL}"
42511
42512 echo ""
42513